/* EOS colours and assets; compact reference-inspired hierarchy, no screen blur or extra render passes. */
body.refined-units #gameHud .player-frame{box-sizing:border-box;left:24px;top:22px;width:280px;padding:4px 8px 6px 55px;border:0;border-radius:0;background:linear-gradient(90deg,#0a111dbb,#0a111d70 68%,transparent);box-shadow:none;text-shadow:0 1px 3px #000}
body.refined-units .player-frame #playerName{font-size:12px;line-height:20px;font-weight:600;letter-spacing:.2px;padding:0 0 3px;color:#f4eddf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.unit-level-badge{position:absolute;left:2px;top:9px;width:41px;height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(145deg,#20323be6,#0b1722d9);border:1px solid #b9a170;border-radius:20px 20px 13px 13px;box-shadow:inset 0 0 0 3px #09131a,0 2px 8px #0005;color:#f0e1bd}
body.refined-units .unit-level-badge small{font:8px/12px system-ui;letter-spacing:1.8px;color:#c8b78e}
body.refined-units .unit-level-badge strong{font:600 21px/22px Georgia,serif}
body.refined-units .player-frame .unit-meter{height:17px;margin:2px 0 0;border:1px solid #05090d;border-radius:2px;box-shadow:0 0 0 1px #e4d3a320,inset 0 1px 0 #ffffff22;background:#0a111bd9}
body.refined-units .unit-meter progress{display:block;width:100%;height:100%;appearance:none;background:transparent}
body.refined-units .unit-meter progress::-webkit-progress-bar{background:#09101bcc}
body.refined-units .health-meter progress::-webkit-progress-value{background:linear-gradient(#d57873,#ae464a 48%,#963f46 52%,#bd5558)}
body.refined-units .resource-meter progress::-webkit-progress-value{background:linear-gradient(#6eb9d4,#368baa 50%,#347f9e)}
body.refined-units .health-meter progress::-moz-progress-bar{background:#b65459}
body.refined-units .resource-meter progress::-moz-progress-bar{background:#3a92af}
body.refined-units .player-frame .resource-meter{height:14px;margin-top:4px}
body.refined-units .unit-meter span,body.refined-units .unit-meter small{font:500 10px/1 system-ui;font-variant-numeric:tabular-nums;color:#fffaf3;text-shadow:0 1px 2px #000,0 0 3px #000}
body.refined-units .player-frame .unit-job{font-size:9px;line-height:16px;color:#c9c4b4;letter-spacing:.7px}
body.refined-units .player-frame.low-health .health-meter{box-shadow:0 0 0 1px #f0a296a0,0 0 8px #ad353a55}
body.refined-units .player-frame.dead .unit-level-badge{filter:grayscale(1);opacity:.7}
body.refined-units #gameHud .target-frame{box-sizing:border-box;top:24px;left:calc(50% - 145px);width:290px;right:auto;padding:3px 18px 8px;border:0;background:linear-gradient(90deg,transparent,#0b14238c 25% 75%,transparent);box-shadow:none;text-align:center}
body.refined-units #targetName{font-size:13px;font-weight:500;line-height:22px;color:#f4e7cf;text-shadow:0 1px 3px #000;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:0}
body.refined-units #targetHealth{display:block;width:100%;height:6px;margin:5px 0 3px;appearance:none;border:0;background:#080d16c9;border-radius:2px;overflow:hidden;box-shadow:0 0 0 1px #080e16}
body.refined-units #targetHealth::-webkit-progress-bar{background:#080d16c9}
body.refined-units #targetHealth::-webkit-progress-value{background:linear-gradient(#e09588,#b55751)}
body.refined-units #targetHealth::-moz-progress-bar{background:#be6860}
body.refined-units #targetHpText{font-size:10px;font-variant-numeric:tabular-nums;color:#e8d8cc}
body.refined-units #targetDistance{font-size:10px;line-height:16px;color:#c3c9c7;margin-top:3px}
body.refined-units #targetPanel[data-unit-kind="npc"] #targetName{color:#c2e1cd}
body.refined-units #targetPanel:is([data-unit-kind="npc"],[data-unit-kind="object"]) :is(#targetHealth,#targetHpText){display:none}
body.refined-units #entityLabels .entity-label{font:500 12px/18px system-ui,sans-serif!important;letter-spacing:.15px;max-width:230px;min-height:26px;padding:4px 8px 6px!important;border:0!important;border-radius:3px;background:transparent!important;box-shadow:none;color:#cce3ce!important;text-shadow:0 1px 2px #000,1px 0 2px #000,-1px 0 2px #000,0 0 5px #000;outline:0;white-space:nowrap;overflow:visible}
body.refined-units #entityLabels .entity-label::before{content:attr(data-caption);display:inline;margin-right:6px;font-size:9px;letter-spacing:.4px;font-weight:400;opacity:.85;color:#d0d1c3}
body.refined-units #entityLabels .entity-label[data-unit-kind="hostile"]{color:#edb8ab!important}
body.refined-units #entityLabels .entity-label[data-unit-kind="player"]{color:#cee3ef!important}
body.refined-units #entityLabels .entity-label.selected{color:#fff0ce!important;background:linear-gradient(90deg,transparent,#101b27a6 22% 78%,transparent)!important;z-index:2}
body.refined-units #entityLabels .entity-label.selected::before{color:#f3d58f;opacity:1}
body.refined-units #entityLabels .entity-label.selected[data-unit-kind="hostile"]::after{content:"";position:absolute;bottom:0;left:calc(50% - 36px);width:72px;height:3px;background:linear-gradient(90deg,#d37d70 var(--unit-hp),#111c27e6 var(--unit-hp));box-shadow:0 0 0 1px #080e16;border-radius:1px}
body.refined-units #entityLabels .entity-label:hover,body.refined-units #entityLabels .entity-label:focus-visible{color:#fff2cf!important;background:#101b2780!important}
body.refined-units #entityLabels .entity-label:focus-visible{outline:1px solid #ead7ab;outline-offset:2px}
body.refined-units #entityLabels .entity-label.nameplate-muted{opacity:0;pointer-events:none!important}
body.refined-units #entityLabels .entity-label{max-width:min(230px,60vw);overflow:hidden;text-overflow:ellipsis}
body.refined-units.touch-controls #entityLabels .entity-label{min-height:44px}
@media(max-width:1100px){body.refined-units #gameHud .player-frame{width:245px}}
@media(max-width:720px){
 body.refined-units #gameHud .player-frame{top:13px!important;left:10px!important;width:220px!important;padding-left:45px;padding-right:5px}
 body.refined-units .unit-level-badge{width:33px;height:43px;top:9px}
 body.refined-units .unit-level-badge strong{font-size:18px}
 body.refined-units .player-frame #playerName{font-size:11px}
 body.refined-units #gameHud .target-frame{top:127px;left:auto;right:10px;width:172px;padding:3px 7px 6px}
 body.refined-units #targetName{font-size:11px}
 body.refined-units #entityLabels .entity-label{font-size:11px!important;min-height:36px;padding:9px 8px!important}
 body.refined-units #entityLabels .entity-label::before{font-size:8px}
}
@media(max-height:560px) and (min-width:721px){body.refined-units #gameHud .player-frame{top:12px;width:240px}body.refined-units #gameHud .target-frame{top:13px;width:250px;left:calc(50% - 125px)}}
@media(max-width:380px){body.refined-units #gameHud .player-frame{width:190px!important}body.refined-units .unit-meter span,body.refined-units .unit-meter small{font-size:9px}}
