/* v330 enhancement cards: make image/stat content fill the card down to the bottom border */
#v325EnhanceCompare .v315-enhance-hand-card.card{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  padding:0!important;margin:0!important;overflow:hidden!important;
}
#v325EnhanceCompare .v315-enhance-hand-card.card .cname{flex:0 0 auto!important;margin:0!important}
#v325EnhanceCompare .v315-enhance-hand-card.card .cimg{
  flex:1 1 0!important;height:auto!important;min-height:0!important;max-height:none!important;
  width:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;
}
#v325EnhanceCompare .v315-enhance-hand-card.card .cimg>img,
#v325EnhanceCompare .v315-enhance-hand-card.card .cimg .card-art,
#v325EnhanceCompare .v315-enhance-hand-card.card .cimg .card-visual{
  width:100%!important;height:100%!important;min-height:100%!important;object-fit:cover!important;display:block!important;
}
#v325EnhanceCompare .v315-enhance-hand-card.card .cstats{
  flex:0 0 25px!important;height:25px!important;min-height:25px!important;max-height:25px!important;
  margin:0!important;padding:0!important;align-self:stretch!important;
}
#v325EnhanceCompare .v315-enhance-hand-card.card .card-stat-grid{height:100%!important;margin:0!important;padding:0!important}

/* v330 nation tutorial */
#v330NationPanel{position:fixed;z-index:99991;padding:12px;border:1px solid #b99a55;border-radius:10px;background:#0c1115f5;color:#eee6d2;box-shadow:0 14px 42px #000c;font-size:12px;line-height:1.5}
#v330NationPanel[hidden]{display:none!important}.v330-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.v330-head b{font-size:14px;color:#ffe18a}.v330-head span{color:#9db4c4}.v330-order{display:flex;align-items:center;justify-content:center;gap:7px;margin:8px 0;padding:5px;border:1px solid #2d3a42;border-radius:7px}.v330-order span{padding:2px 7px;border-radius:999px}.v330-order span.active{background:#725417;color:#fff3be;box-shadow:0 0 10px #e7b84a55}.v330-order i{font-style:normal;color:#756a53}#v330Body{padding:9px;background:#11191e;border-radius:7px}#v330Check{min-height:28px;margin-top:7px;color:#9ee7b6}.v330-nav{display:flex;justify-content:flex-end;gap:6px;margin-top:8px}.v330-nav button{border:1px solid #9d8248;background:#1c1710;color:#f3ddb0;border-radius:6px;padding:6px 10px;font-weight:800}.v330-nav button:disabled{opacity:.35}.v330-tutorial-lane{box-shadow:inset 0 0 0 2px #e5b94f,0 0 18px #e5b94f44!important}.v330-tutorial-target{filter:brightness(1.35)!important;box-shadow:0 0 18px #ffcf55!important}
.v330-calc-modal{position:fixed;inset:0;z-index:100100;display:none;place-items:center;background:#000a}.v330-calc-modal.show{display:grid}.v330-calc-box{width:min(520px,calc(100vw - 26px));border:1px solid #cfaa58;border-radius:12px;background:#0b1115;color:#eee8d7;padding:16px;box-shadow:0 20px 60px #000}.v330-calc-box h3{margin:0 0 10px;color:#ffd96f}.v330-calc-body{display:grid;gap:10px}.v330-formula,.v330-calc-counter{padding:10px;border:1px solid #39454b;border-radius:8px;background:#111a20}.v330-formula strong{color:#7ff3a7;font-size:15px}.v330-formula em{color:#74cfff;font-style:normal}.v330-calc-counter b{color:#ff99df}.v330-calc-box button{margin-top:12px;float:right;border:1px solid #b99850;background:#211a0f;color:#ffe4a8;border-radius:6px;padding:7px 14px;font-weight:900}

/* mandatory onboarding gate */
.v330-gate{position:fixed;inset:0;z-index:100050;display:none;place-items:center;background:#03070bd9;backdrop-filter:blur(5px)}.v330-gate.show{display:grid}.v330-gate-box{width:min(560px,calc(100vw - 28px));padding:22px;border:1px solid #c4a45d;border-radius:14px;background:#0b1116;color:#eee6d2;box-shadow:0 25px 80px #000}.v330-gate-box h2{margin:0 0 8px;color:#ffe17f}.v330-gate-box p{color:#bbc4c9}.v330-gate-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}.v330-gate-steps button{display:flex;flex-direction:column;gap:6px;align-items:flex-start;border:1px solid #5c6570;border-radius:9px;background:#111920;color:#f3ead4;padding:12px;text-align:left}.v330-gate-steps button:not(:disabled){border-color:#c8a657;cursor:pointer}.v330-gate-steps button span{font-size:11px;color:#81e5a1}.v330-gate-steps button:disabled{opacity:.5}@media(max-width:640px){.v330-gate-steps{grid-template-columns:1fr}}

/* v341 */
.v341-gate-actions{display:flex;justify-content:flex-end;margin-top:12px}.v341-gate-actions button{min-width:140px;padding:9px 12px;border:1px solid #53606d;border-radius:8px;background:#15202a;color:#e9eef3;cursor:pointer}.v341-gate-actions button[hidden]{display:none!important}
