/* 原PNG、焦點與大命中區保留；去掉三庫底板與邊框。 */
.reference-layout-v17.resource-ui-v19 .bottom-bar .zones .pile-control{border:0;background:none;box-shadow:none;border-radius:0;grid-template-columns:54px 27px;grid-template-rows:57px 20px;padding:0 4px;height:84px}
.reference-layout-v17.resource-ui-v19 .bottom-bar .zones .pile-control:hover{border:0;background:none;box-shadow:none;filter:brightness(1.16)}
.reference-layout-v17.resource-ui-v19 .bottom-bar .zones .illustrated-pile-v18{width:52px;height:58px;filter:drop-shadow(0 0 4px #7ed7e34d)}
.resource-ui-v19 .pile-control:focus-visible{outline:2px solid #f1cb88;outline-offset:1px}.resource-ui-v19 .pile-name{text-shadow:0 1px 4px #000,0 0 5px #000}
.reference-layout-v17.resource-ui-v19 #end-turn.illustrated-turn-v18{left:calc(84.5svw - 84px);top:calc(81svh - 41px);width:168px;height:62px}
.reference-layout-v17.resource-ui-v19 #end-turn.illustrated-turn-v18 .turn-caption{font-size:16px;margin-right:28px}
.quiet-cards-v19 .hand-nav,.quiet-cards-v19~.compact-selection-controls,body:has(.quiet-cards-v19) .compact-selection-controls{display:none!important}
.resource-ui-v19{--v19-name:18px;--v19-stage:170px;--v19-meters:42px;--v19-effects:50px}
.reference-layout-v17.resource-ui-v19 .combatant,.reference-layout-v17.resource-ui-v19 .arena:has(.duel-intent) .combatant.enemy{height:calc(var(--v19-name) + var(--v19-stage) + var(--v19-meters) + var(--v19-effects));grid-template-rows:var(--v19-name) var(--v19-stage) var(--v19-meters) var(--v19-effects)}
.reference-layout-v17.resource-ui-v19 .actor-meters{height:var(--v19-meters);display:grid;grid-template-rows:18px 18px;gap:4px;padding:0;margin:0 auto;width:100%;max-width:220px;align-content:center}
.resource-ui-v19 .actor-meters .resource-track{position:relative;box-sizing:border-box;width:100%;height:18px;overflow:visible;border:1px solid #79919b;border-radius:7px;background:#091722;box-shadow:0 1px 2px #000a,inset 0 0 3px #000;isolation:isolate}
.resource-ui-v19 .actor-meters .resource-track>span:not(.resource-value){position:absolute;inset:1px auto 1px 1px;height:auto;border-radius:5px;max-width:calc(100% - 2px);z-index:-1}
.resource-ui-v19 .resource-hp-track>span:not(.resource-value){background:linear-gradient(#fd4a3f,#c31b26 48%,#851021);box-shadow:inset 0 1px 0 #ffbfb96b}
.resource-ui-v19 .resource-block-track>.resource-fill{background:linear-gradient(#7bdce8,#23859e 50%,#12485e);box-shadow:inset 0 1px 0 #e2ffff80}
.resource-ui-v19 .actor-meters .resource-value{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:2px;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:none;color:#fff;font:800 18px/1 system-ui;font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:-1px -1px 1px #13212b,1px -1px 1px #13212b,-1px 1px 1px #13212b,1px 1px 1px #13212b,0 2px 3px #000;box-shadow:none}
.resource-ui-v19 .resource-value strong,.resource-ui-v19 .resource-value .muted{font:inherit;color:inherit;opacity:1}.resource-ui-v19 .actor-meters .block-value{font-size:15px}
.resource-ui-v19 .resume-v19{font:12px system-ui;padding:6px;min-height:36px;background:#163749;color:#fff;border:1px solid #89a9ac;border-radius:6px}
.resource-ui-v19 .hand .card,.resource-ui-v19 .hand .card *{-webkit-user-drag:none}.resource-ui-v19 .hand .card{-webkit-touch-callout:none}
@media(max-width:999px) and (orientation:portrait){
 .resource-ui-v19{--v19-name:14px;--v19-stage:110px;--v19-meters:34px;--v19-effects:28px}
 .reference-layout-v17.resource-ui-v19 .actor-meters{grid-template-rows:14px 16px;gap:3px}.resource-ui-v19 .actor-meters .resource-track{height:100%;border-radius:5px}.resource-ui-v19 .actor-meters .resource-value{font-size:15px}.resource-ui-v19 .actor-meters .block-value{font-size:13px}
 .reference-layout-v17.resource-ui-v19 .actor-effects-dock,.resource-ui-v19 .compact-effect-dock{height:28px;max-height:28px;align-items:start}
 .reference-layout-v17.resource-ui-v19 .hand-meta{top:-17px;height:17px;padding:0;font-size:10px;right:0}
 .reference-layout-v17.resource-ui-v19 .bottom-bar{height:96px;grid-template-rows:48px 48px}
 .reference-layout-v17.resource-ui-v19 .bottom-bar .zones .pile-control{height:48px;grid-template-columns:32px minmax(0,auto);grid-template-rows:31px 16px;padding:0;column-gap:0}
 .reference-layout-v17.resource-ui-v19 .bottom-bar .zones .illustrated-pile-v18{width:31px;height:32px}.reference-layout-v17.resource-ui-v19 .bottom-bar .zones .pile-count{font-size:20px}.reference-layout-v17.resource-ui-v19 .bottom-bar .zones .pile-name{font-size:10px}
 .reference-layout-v17.resource-ui-v19 #end-turn.illustrated-turn-v18{position:relative;left:auto;top:auto;width:100%;height:48px}.reference-layout-v17.resource-ui-v19 #end-turn.illustrated-turn-v18 .turn-caption{font-size:14px;margin-right:22px}
 .reference-layout-v17.resource-ui-v19 .hand-zone{bottom:102px}
}
@media(max-width:999px) and (orientation:landscape){
 .reference-layout-v17.resource-ui-v19 .hand-meta{left:0;right:0;justify-content:center;text-align:center}
 .resource-ui-v19{--v19-name:14px;--v19-stage:110px;--v19-meters:34px;--v19-effects:30px}
 .reference-layout-v17.resource-ui-v19 .actor-meters{grid-template-rows:14px 16px;gap:3px}.resource-ui-v19 .actor-meters .resource-track{height:100%}.resource-ui-v19 .actor-meters .resource-value{font-size:15px}.resource-ui-v19 .actor-meters .block-value{font-size:13px}.reference-layout-v17.resource-ui-v19 .actor-effects-dock,.resource-ui-v19 .compact-effect-dock{height:30px;max-height:30px;align-items:start}
 .reference-layout-v17.resource-ui-v19 .bottom-bar .zones .pile-control{height:60px;grid-template-columns:34px 24px;grid-template-rows:35px 18px;padding:0}.reference-layout-v17.resource-ui-v19 .bottom-bar .zones .illustrated-pile-v18{width:32px;height:34px}
 .reference-layout-v17.resource-ui-v19 #end-turn.illustrated-turn-v18{left:calc(81.5svw - 76px);top:calc(78svh - 34px);width:152px;height:52px}.reference-layout-v17.resource-ui-v19 #end-turn.illustrated-turn-v18 .turn-caption{font-size:14px;margin-right:25px}
}
