.exp-sheet .go-bar:has(.exp-hand){display:block;padding:12px 10px 8px}
.exp-hand,.exp-shop-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:100%}
.exp-sheet .go-bar>.exp-hand{min-height:0}
.exp-sheet .exp-action-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:5px;min-width:0;min-height:176px;padding:8px 5px 10px;border:1px solid #afbece77;border-radius:14px;color:#f8f1de;background:linear-gradient(160deg,#354c67,#1b253f 70%);box-shadow:inset 0 0 0 3px #b3d6f417,0 3px 0 #111a2a;text-align:center;transition:transform .13s,box-shadow .13s}
.exp-sheet .exp-action-card.path1{border-color:#b5a070;background:linear-gradient(160deg,#63533e,#30243b 70%)}
.exp-sheet .exp-action-card.path2{border-color:#8dac91;background:linear-gradient(160deg,#416452,#1e2f3e 70%)}
.exp-sheet .exp-action-card.lv1{box-shadow:inset 0 0 0 2px #e8c57966,0 0 12px #e8c57922}
.exp-sheet .exp-action-card.lv2{border-color:#ffe1a1;box-shadow:inset 0 0 0 2px #ffeab1aa,0 0 18px #ffe1a133}
.exp-sheet .exp-action-card:focus-visible{outline:3px solid #f6cf7c;outline-offset:2px}
.exp-sheet .exp-action-card:active{transform:translateY(-4px) rotate(-1deg)}
.exp-sheet .exp-action-card b{font-size:13px;letter-spacing:.03em;font-weight:900}
.exp-action-card strong{font-size:10px;color:#ffe7ac;white-space:nowrap}
.exp-action-card small{font-size:9px;line-height:1.4;color:#dedbce;min-height:26px}
.exp-card-art{display:grid;place-items:center;position:relative;width:100%;height:52px;background:radial-gradient(ellipse,#fff0ac22,transparent 70%)}
.exp-card-symbol{font-size:33px;line-height:1}
.exp-card-weapon{display:block;width:54px;height:54px;transform:rotate(-15deg);filter:drop-shadow(0 0 7px #fff0ac44)}
.exp-card-weapon svg{width:100%;height:100%}
.exp-card-level{position:absolute;top:5px;left:7px;font-size:10px;color:#ffe5a5;z-index:1}
.exp-action-card em{font-size:14px;font-style:normal;font-weight:800;color:#ffe2aa}
.exp-fight-tools{display:flex;align-items:center;justify-content:space-around;gap:3px;margin-top:9px}
.exp-sheet .exp-fight-tools button{border:0;background:none;color:var(--muted);font-size:11px;min-height:30px;padding:3px 7px;min-width:0;flex:1}
.exp-sheet .exp-rpg .exp-scene{aspect-ratio:700/360}
.exp-sheet .exp-rpg .exp-enemy{right:7px;bottom:8px;width:130px;color:#f6eadb}
.exp-rpg .exp-enemy small{font-size:10px}
.exp-sheet .exp-rpg .exp-enemy b{font-size:11px!important}
.exp-sheet .exp-rpg .exp-enemy meter{width:120px}
.exp-intent{display:flex;justify-content:center;align-items:center;gap:8px;margin:8px 0;color:#d69d65;background:#a9833b13;border:1px solid #b49b672b;border-radius:12px;padding:7px 9px}
.exp-intent span{font-size:20px}.exp-intent b{font-size:12px}.exp-intent strong{font-size:17px}
.exp-intent.heavy{color:#f39585;border-color:#d4815a66;background:#b44f391a}
.exp-intent.ward{color:#7ba9cc}.exp-intent.mend{color:#7cae8b}.exp-intent small{font-size:10px}
.exp-round{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:11px;margin:9px 0}
.exp-round span{font-size:10px;opacity:.75}
.exp-ally-charge{display:flex;gap:10px;font-size:9px;justify-content:center}
.exp-ally-charge span{display:grid;gap:3px;flex:1;max-width:140px}
.exp-ally-charge meter{width:100%;height:6px}
.exp-shop-door{display:grid;width:100%;gap:8px;border:1px solid #aa8d5d66;border-radius:18px;padding:15px;margin:9px 0;background:linear-gradient(120deg,#ad6c2518,#ad914c30);color:inherit}
.exp-shop-door span{font-size:25px;font-weight:900;color:#d5a15c}.exp-shop-door b{font-size:15px}.exp-shop-door small{font-size:11px;opacity:.7}
.exp-embers{display:flex;align-items:center;justify-content:center;gap:8px;font-size:30px;margin:13px 0}.exp-embers small{font-size:11px;opacity:.65}
.exp-shop-tabs{display:flex;gap:5px;justify-content:center;margin:10px 0 15px}
.exp-shop-tabs button{padding:8px 10px;border:1px solid var(--hair);border-radius:12px;background:none;color:inherit;font-size:12px}
.exp-shop-upgrades{display:grid;gap:8px}
.exp-shop-row{position:relative;display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:5px 7px;text-align:left;padding:12px;border:1px solid #ad966955;border-radius:15px;background:#ad96690c;color:inherit}
.exp-shop-row>span{font-size:26px;grid-row:span 2}.exp-shop-row b{font-size:14px}.exp-shop-row small{font-size:10px;grid-column:2}.exp-shop-row strong{grid-column:3;grid-row:1/span 2;font-size:14px;white-space:nowrap;color:#d3a767}
.exp-deck-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.exp-sheet .exp-deck-grid .exp-action-card{min-height:170px}
.exp-sheet:has(.exp-hand) .exp-status:empty{display:none}
.exp-sheet:has(.exp-hand) .exp-content h2{font-size:22px}
.exp-sheet:has(.exp-hand) .exp-map{margin-bottom:8px}
@media(max-width:360px){.exp-sheet .exp-action-card{min-height:156px;padding:7px 4px}.exp-card-art{height:40px}.exp-card-symbol{font-size:27px}.exp-card-weapon{width:43px;height:43px}.exp-sheet .exp-action-card b{font-size:11px}.exp-action-card small{font-size:8px}.exp-action-card strong{font-size:9px}.exp-sheet .go-bar:has(.exp-hand){padding:9px 8px 5px}.exp-sheet:has(.exp-hand) .exp-content h2{font-size:18px}.exp-intent{margin:4px 0;padding:4px}.exp-intent b{font-size:10px}.exp-intent span{font-size:16px}.exp-intent strong{font-size:14px}.exp-round{margin:5px 0}.exp-ally-charge{font-size:8px}.exp-shop-tabs button{font-size:10px;padding:8px}.exp-shop-row{padding:9px}.exp-shop-row b{font-size:12px}}
@media(prefers-reduced-motion:reduce){.exp-action-card{transition:none!important;transform:none!important}}

.exp-sheet .exp-fight-tools button{min-height:40px}

@media(max-height:700px){
.exp-sheet:has(.exp-hand) .exp-lab-label{display:none}
.exp-sheet:has(.exp-hand) .exp-map li{display:flex;align-items:center;justify-content:center;gap:3px}
.exp-sheet:has(.exp-hand) .exp-map li>.af,.exp-sheet:has(.exp-hand) .exp-map li>img{display:none}
.exp-sheet:has(.exp-hand) .exp-rpg{max-width:280px;margin-inline:auto}
.exp-sheet:has(.exp-hand) .exp-intent{margin:4px 0;padding:4px 8px}
.exp-sheet:has(.exp-hand) .exp-round{margin:4px 0;font-size:10px}
.exp-sheet:has(.exp-hand) .exp-ally-charge{font-size:8px}
}
