/* Isolated v20 arena: no changes to Solo/Local CSS or 120 card artworks. */
#ttb-v200-battle-root{position:fixed;inset:0;z-index:100085;pointer-events:none;color:#ecf8ff;font-family:inherit}
#ttb-v200-battle-root .v200-backdrop{pointer-events:auto;position:absolute;inset:0;background:#020913ed;backdrop-filter:blur(6px)}
#ttb-v200-battle-root .v200-arena{pointer-events:auto;position:absolute;inset:0;overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(157deg,#14304a,#07101e 65%,#040b15);padding:calc(env(safe-area-inset-top) + 10px) 12px calc(env(safe-area-inset-bottom) + 16px);box-sizing:border-box;display:flex;flex-direction:column;gap:9px}
#ttb-v200-battle-root button{font:inherit;touch-action:manipulation;cursor:pointer;color:#e9faff}
#ttb-v200-battle-root button:disabled{opacity:.5;cursor:default}
#ttb-v200-battle-root .v200-header,.v200-match{display:flex;justify-content:space-between;align-items:center;gap:10px}
#ttb-v200-battle-root .v200-header span{font-size:10px;color:#5adce9;letter-spacing:.12em;font-weight:900}
#ttb-v200-battle-root .v200-header h2{margin:2px 0;font-size:22px;color:#fff}
#ttb-v200-battle-root .v200-header button{width:38px;height:38px;border-radius:10px;border:1px solid #416c83;background:#10283a;font-size:23px;font-weight:900}
#ttb-v200-battle-root .v200-match{padding:10px;border-radius:11px;border:1px solid #2f5467;background:#081b2a}
#ttb-v200-battle-root .v200-match>div{flex:1;min-width:0}
#ttb-v200-battle-root .v200-match>div:last-child{text-align:right}
#ttb-v200-battle-root .v200-match strong{font-size:13px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#ttb-v200-battle-root .v200-match small{font-size:9px;color:#93b0c0;display:block}
#ttb-v200-battle-root .v200-match>b{font-size:16px;color:#68dce9}
#ttb-v200-battle-root .v200-turnbar{padding:9px;text-align:center;font-size:11px;font-weight:900;letter-spacing:.06em;background:#22283b;border:1px solid #425065;border-radius:9px}
#ttb-v200-battle-root .v200-turnbar.my-turn{background:#082c36;border-color:#1ca7b5;color:#80ebee}
#ttb-v200-battle-root .v200-energy{display:flex;gap:8px;align-items:center;justify-content:space-between;min-height:37px}
#ttb-v200-battle-root .v200-energy small{font-size:10px;font-weight:800;color:#b9dbea;flex:1}
#ttb-v200-battle-root .v200-energy>div{display:flex;gap:3px;justify-content:flex-end;flex-wrap:wrap;max-width:70%}
#ttb-v200-battle-root .v200-energy img{width:23px;height:32px;border-radius:3px;object-fit:cover;border:1px solid #43778c}
#ttb-v200-battle-root .v200-energy img.used{opacity:.36;filter:grayscale(.8)}
#ttb-v200-battle-root .v200-energy.me{border-top:1px solid #254357;padding-top:6px}
#ttb-v200-battle-root .v200-board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
#ttb-v200-battle-root .v200-slot{position:relative;display:flex;flex-direction:column;gap:2px;align-items:center;min-width:0;height:clamp(115px,21vh,196px);padding:5px 3px;background:#0b2334;border:1px dashed #396078;border-radius:8px;overflow:hidden}
#ttb-v200-battle-root .v200-slot.mine{border:1px solid #3fe4bd;background:#102e33}
#ttb-v200-battle-root .v200-slot.enemy{border:1px solid #ff7891;background:#2d1a2c}
#ttb-v200-battle-root .v200-slot-head{font-size:9px;color:#98c2d5;font-weight:900}
#ttb-v200-battle-root .v200-slot>img{width:min(100%,94px);min-height:0;max-height:68%;object-fit:contain;border-radius:4px}
#ttb-v200-battle-root .v200-slot>b{font-size:9px;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#ttb-v200-battle-root .v200-slot>small{font-size:8px;color:#d0e8f0}
#ttb-v200-battle-root .v200-slot-plus{flex:1;display:grid;place-items:center;font-size:28px;color:#456b7d}
#ttb-v200-battle-root .v200-equipped{position:absolute;bottom:3px;right:3px;display:flex;gap:1px;z-index:2}
#ttb-v200-battle-root .v200-equipped img{width:17px;height:23px;object-fit:cover;border:1px solid #55d9e7;border-radius:2px}
#ttb-v200-battle-root .v200-challenge{position:absolute;bottom:0;left:0;right:0;background:#082e42eb;border:1px solid #52ddff;font-size:8px;font-weight:900;padding:3px;line-height:1.3}
#ttb-v200-battle-root .v200-event{font-size:11px;padding:8px;background:#081e2b;border-radius:8px;min-height:28px;border:1px solid #2c5269;box-sizing:border-box}
#ttb-v200-battle-root .v200-instruction{font-size:10px;color:#92dce3;font-weight:750;text-align:center}
#ttb-v200-battle-root .v200-hand{display:flex;gap:6px;overflow-x:auto;min-height:124px;padding:5px 0 9px;overscroll-behavior-x:contain}
#ttb-v200-battle-root .v200-card{flex:0 0 83px;min-width:83px;padding:4px;border-radius:9px;background:#10263c;border:1px solid #42677b;display:flex;flex-direction:column;gap:3px;text-align:left}
#ttb-v200-battle-root .v200-card.chosen{border:2px solid #4febea;transform:translateY(-3px)}
#ttb-v200-battle-root .v200-card.marked{border:2px solid #ffaa60}
#ttb-v200-battle-root .v200-card img{width:100%;height:98px;object-fit:cover;border-radius:4px}
#ttb-v200-battle-root .v200-card span{font-size:9px;font-weight:900;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#ttb-v200-battle-root .v200-card small{font-size:8px;color:#b5cede;line-height:1.3}
#ttb-v200-battle-root .v200-actions{display:flex;gap:7px;flex-wrap:wrap}
#ttb-v200-battle-root .v200-actions button{flex:1;min-height:42px;border:1px solid #436a80;border-radius:10px;background:#132b3c;font-size:11px;font-weight:900;padding:9px}
#ttb-v200-battle-root .v200-actions .v200-main{background:#2fd2e2;color:#061722;border-color:#2fd2e2}
#ttb-v200-battle-root .v200-actions .v200-quit{flex:0 0 auto;background:transparent;border-color:#98505f;color:#ffacbc}
#ttb-v200-battle-root .v200-result{font-weight:1000;color:#67efbd;flex:1;padding:10px}
#ttb-v200-battle-root .v200-caption{color:#56788c;font-size:9px}
#ttb-v200-battle-root .v200-starting{pointer-events:auto;position:absolute;top:42%;left:10%;right:10%;font-size:13px;text-align:center;color:#86e2f6;letter-spacing:.2em}
#ttb-v200-battle-root .v200-starting b{display:block;margin-top:13px;font-size:23px;color:#fff}
@media(min-width:720px){#ttb-v200-battle-root .v200-arena{max-width:850px;left:50%;transform:translateX(-50%);border-left:1px solid #32556d;border-right:1px solid #32556d}.v200-slot{max-height:200px}}

#ttb-v200-battle-root .v200-burn-wrap{pointer-events:auto;position:absolute;inset:0;z-index:10;display:grid;place-items:center;background:#02060cdd;padding:14px}
#ttb-v200-battle-root .v200-burn-panel{width:min(460px,100%);max-height:90dvh;overflow-y:auto;box-sizing:border-box;padding:16px;background:linear-gradient(150deg,#17354c,#07111e);border:1px solid #4aa5bc;border-radius:18px;box-shadow:0 12px 45px #000b}
#ttb-v200-battle-root .v200-burn-panel>span{font-size:10px;letter-spacing:.12em;font-weight:900;color:#74dce7}
#ttb-v200-battle-root .v200-burn-panel h3{margin:6px 0;font-size:18px;color:#fff}
#ttb-v200-battle-root .v200-burn-panel p{font-size:11px;line-height:1.5;color:#b1cbda}
#ttb-v200-battle-root .v200-burn-target{display:flex;align-items:center;gap:8px;width:100%;text-align:left;min-height:55px;margin-top:6px;background:#0c2637;border:1px solid #35596f;border-radius:10px;padding:5px}
#ttb-v200-battle-root .v200-burn-target.checked{border:2px solid #4ae7d8;background:#163b42}
#ttb-v200-battle-root .v200-burn-target img{width:34px;height:47px;object-fit:cover;border-radius:3px}
#ttb-v200-battle-root .v200-burn-target b{font-size:12px;flex:1}
#ttb-v200-battle-root .v200-burn-target span{font-size:10px;color:#a5c5d2}
#ttb-v200-battle-root .v200-burn-target strong{font-size:16px;color:#77eade;margin-right:5px}
#ttb-v200-battle-root .v200-burn-cost{margin:10px 0;padding:9px;background:#061b29;border-radius:9px;font-size:11px;color:#9edff1;font-weight:900}
#ttb-v200-battle-root .v200-burn-actions{display:flex;gap:9px}
#ttb-v200-battle-root .v200-burn-actions button{flex:1;min-height:40px;background:#193349;border:1px solid #3c667c;border-radius:10px;font-size:12px;font-weight:900}
#ttb-v200-battle-root .v200-burn-actions button:last-child{background:#36d9e9;color:#092231}

/* v20.1.1 – visual parity with the approved Solo/Local battle viewport.
   This stylesheet only touches the isolated online arena. */
#ttb-v200-battle-root .v200-arena{
 background:radial-gradient(circle at 50% 39%,rgba(48,217,255,.07),transparent 35%),linear-gradient(180deg,#05080d,#080c12 52%,#05070a);
 display:grid;grid-template-columns:minmax(0,1fr);
 grid-template-rows:23px 48px 39px 29px minmax(125px,1fr) 31px 30px 21px 110px 46px 12px;
 gap:4px;overflow:hidden;
 padding:max(5px,env(safe-area-inset-top)) 8px max(5px,env(safe-area-inset-bottom));
}
#ttb-v200-battle-root .v200-header{min-width:0}
#ttb-v200-battle-root .v200-header span{font-size:8px;letter-spacing:.1em}
#ttb-v200-battle-root .v200-header h2{display:none}
#ttb-v200-battle-root .v200-header button{width:26px;height:26px;border-radius:7px;font-size:17px}
#ttb-v200-battle-root .v200-match{padding:4px 5px;min-height:0;border-radius:10px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.10);gap:5px}
#ttb-v200-battle-root .v200-match>div{min-width:0;flex:1}
#ttb-v200-battle-root .v200-match .v200-player{display:flex;align-items:center;gap:6px}
#ttb-v200-battle-root .v200-match .v200-player.rival{flex-direction:row-reverse;text-align:right}
#ttb-v200-battle-root .v200-player-info{flex:1;min-width:0}
#ttb-v200-battle-root .v200-avatar{width:36px;height:36px;flex:0 0 36px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#16384b;border:1px solid #45cbde;color:#f2f8ff;font-size:16px;font-weight:900}
#ttb-v200-battle-root .v200-avatar img{width:100%;height:100%;object-fit:cover;display:block}
#ttb-v200-battle-root .v200-match strong{font-size:10px}
#ttb-v200-battle-root .v200-match small{font-size:7px;line-height:1.25;color:#98b4c5}
#ttb-v200-battle-root .v200-match>b{font-size:12px;color:#fff}
#ttb-v200-battle-root .v200-turnbar{display:flex;flex-direction:column;gap:3px;min-width:0;padding:3px 4px;font-size:8px;border-radius:8px;background:#09111b;border:1px solid rgba(255,255,255,.11)}
#ttb-v200-battle-root .v200-turnbar.my-turn{background:#09242b;border-color:#2bbeca}
#ttb-v200-battle-root .v200-turnbar strong{font-size:9px;line-height:1;color:#a4ebf0}
#ttb-v200-battle-root .v200-phases{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;min-width:0}
#ttb-v200-battle-root .v200-phases span{font-size:7px;padding:3px 0;text-align:center;border-radius:4px;background:#14202e;color:#7b9bab}
#ttb-v200-battle-root .v200-phases span.active{background:#2ed5e2;color:#081b21}
#ttb-v200-battle-root .v200-energy{min-height:0;gap:4px;overflow:hidden}
#ttb-v200-battle-root .v200-energy small{font-size:8px;white-space:nowrap;flex:0 1 auto;max-width:50%;overflow:hidden;text-overflow:ellipsis}
#ttb-v200-battle-root .v200-energy>div{gap:2px;max-width:55%;flex-wrap:nowrap;overflow:hidden}
#ttb-v200-battle-root .v200-energy img{width:18px;height:25px;flex:0 0 18px;border-radius:4px}
#ttb-v200-battle-root .v200-energy.me{border-top:1px solid #203545;padding-top:3px}
#ttb-v200-battle-root .v200-board{position:relative;min-height:0;gap:4px;padding:5px;background:radial-gradient(circle at center,rgba(48,217,255,.09),transparent 58%),#070b10;border:1px solid rgba(255,255,255,.11);border-radius:15px}
#ttb-v200-battle-root .v200-board:before{content:"";position:absolute;width:60%;aspect-ratio:1;border-radius:50%;border:1px solid rgba(48,217,255,.09);top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}
#ttb-v200-battle-root .v200-slot{height:100%;min-height:0;max-height:none;padding:3px 2px;border-radius:8px;background:rgba(9,20,29,.92);z-index:1;gap:2px}
#ttb-v200-battle-root .v200-slot-head{font-size:7px}
#ttb-v200-battle-root .v200-slot>img{width:100%;max-height:72%;object-fit:contain}
#ttb-v200-battle-root .v200-slot-plus{font-size:20px}
#ttb-v200-battle-root .v200-slot>b{font-size:7px}
#ttb-v200-battle-root .v200-slot>small{font-size:7px}
#ttb-v200-battle-root .v200-event{font-size:9px;min-height:0;padding:4px 7px;border-radius:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#ttb-v200-battle-root .v200-instruction{font-size:9px;align-self:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-height:0}
#ttb-v200-battle-root .v200-hand{min-height:0;max-height:110px;padding:4px;background:#080d13;border:1px solid rgba(255,255,255,.10);border-radius:12px;gap:4px;overflow-x:auto;overflow-y:hidden}
#ttb-v200-battle-root .v200-card{min-width:70px;flex:0 0 70px;max-height:102px;box-sizing:border-box;padding:2px;gap:1px;border-radius:7px;overflow:hidden}
#ttb-v200-battle-root .v200-card img{height:76px;object-fit:contain}
#ttb-v200-battle-root .v200-card span{font-size:7px}
#ttb-v200-battle-root .v200-card small{font-size:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ttb-v200-battle-root .v200-actions{min-height:0;flex-wrap:nowrap;gap:5px}
#ttb-v200-battle-root .v200-actions button{min-height:0;height:100%;padding:6px 4px;font-size:9px;border-radius:9px}
#ttb-v200-battle-root .v200-actions .v200-quit{flex:0 0 35%;font-size:8px}
#ttb-v200-battle-root .v200-caption{align-self:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:7px}
@media(max-height:680px){
 #ttb-v200-battle-root .v200-arena{grid-template-rows:22px 44px 36px 25px minmax(105px,1fr) 26px 28px 18px 92px 39px 10px;gap:3px}
 #ttb-v200-battle-root .v200-avatar{width:32px;height:32px;flex-basis:32px}
 #ttb-v200-battle-root .v200-card{min-width:66px;flex-basis:66px;max-height:85px}
 #ttb-v200-battle-root .v200-card img{height:62px}
}
@media(min-width:720px){#ttb-v200-battle-root .v200-arena{width:100%;max-width:850px;left:50%;transform:translateX(-50%)}}

/* v20.2: same approved Solo/Local layout and animations; battle state remains server-authoritative. */
#ttb-v200-battle-root .v200-arena{inset:0!important;display:block!important;padding:0!important;overflow:hidden!important;background:#05080d!important;max-width:none!important;transform:none!important;border:0!important}
#ttb-v200-battle-root .v200-solo-parity{position:absolute;inset:0;width:100%;height:100dvh;box-sizing:border-box;z-index:1;display:grid;grid-template-rows:42px 25px 26px minmax(165px,1fr) 27px 34px 126px 44px 33px;gap:5px;padding:max(7px,env(safe-area-inset-top)) 8px max(7px,env(safe-area-inset-bottom));overflow:hidden;background:radial-gradient(circle at 50% 36%,rgba(48,217,255,.07),transparent 32%),linear-gradient(180deg,#05080d,#080c12 52%,#05070a);}
#ttb-v200-battle-root .v200-solo-parity button{color:inherit;touch-action:manipulation}
#ttb-v200-battle-root .v200-solo-parity .primary{background:#fff;color:#07111b;font-weight:1000}
#ttb-v200-battle-root .v200-solo-parity .phase-pill{color:#607287}
#ttb-v200-battle-root .v200-solo-parity .phase-pill.active{background:#fff!important;color:#07111b!important;border-color:#fff!important}
#ttb-v200-battle-root .v200-solo-parity .phase-pill.done{color:#34d4e9}
#ttb-v200-battle-root .v200-solo-parity .field-card{min-width:0}
#ttb-v200-battle-root .v200-solo-parity .battle-hand-v11 .battle-hand{justify-content:center;overflow:visible}
#ttb-v200-battle-root .v200-solo-parity .hand-empty-v47{display:block;flex:0 0 clamp(55px,17vw,79px);width:clamp(55px,17vw,79px);height:102px;margin-left:calc(-1 * clamp(4px,2vw,12px));border-radius:7px;border:1px dashed rgba(255,255,255,.10)}
#ttb-v200-battle-root .v200-solo-parity .hand-empty-v47:first-child{margin-left:0}
#ttb-v200-battle-root .v200-top-profile{display:flex;align-items:center;gap:4px;min-width:0;height:100%}
#ttb-v200-battle-root .v200-top-profile.right{flex-direction:row-reverse;text-align:right}
#ttb-v200-battle-root .v200-top-profile>div:last-child{flex:1;min-width:0}
#ttb-v200-battle-root .v200-mini-avatar{height:25px;width:25px;flex:0 0 25px;border-radius:50%;overflow:hidden;border:1px solid #40cce4;display:grid;place-items:center;background:#173547;color:#fff;font-weight:bold;font-size:11px}
#ttb-v200-battle-root .v200-mini-avatar img{height:100%;width:100%;object-fit:cover;display:block}
#ttb-v200-battle-root .v200-top-profile span{font-size:6px;letter-spacing:-.03em}
#ttb-v200-battle-root .battle-footer-tools-v12{display:flex;align-items:center;justify-content:center;gap:6px;min-height:0}
#ttb-v200-battle-root .battle-footer-tools-v12 button{max-height:30px;height:29px;border-radius:20px;font-size:9px;margin:0;padding:5px 12px}
#ttb-v200-battle-root .battle-footer-tools-v12 .battle-reset-mini-v12{color:#ff93a7;border-color:#8b3449}
#ttb-v200-battle-root .v200-online-fx{z-index:22}
#ttb-v200-battle-root .v200-history-wrap{pointer-events:auto;position:absolute;inset:0;z-index:50;background:#03070bdf;display:grid;place-items:center;padding:18px}
#ttb-v200-battle-root .v200-history-panel{padding:18px;width:min(420px,100%);max-height:80dvh;display:flex;flex-direction:column;gap:10px;background:#0d1824;border:1px solid #355365;border-radius:20px;box-sizing:border-box}
#ttb-v200-battle-root .v200-history-panel h3{font-size:16px;margin:0}
#ttb-v200-battle-root .v200-history-panel p{font-size:11px;color:#a3bac9;margin:0}
#ttb-v200-battle-root .v200-history-panel>div{min-height:55px;overflow:auto}
#ttb-v200-battle-root .v200-history-event{font-size:12px;border-bottom:1px solid #22394c;padding:6px 0}
#ttb-v200-battle-root .v200-history-panel>button{background:#e9faff;color:#07111b;border-radius:12px;padding:12px}
#ttb-v200-battle-root .v200-online-fx .combat-v11-card img{width:100%;height:100%;object-fit:contain}
@media(max-height:700px){#ttb-v200-battle-root .v200-solo-parity{grid-template-rows:38px 21px 23px minmax(145px,1fr) 23px 30px 105px 40px 28px;gap:4px}#ttb-v200-battle-root .v200-solo-parity .hand-empty-v47{height:82px}}
@media(min-width:760px){#ttb-v200-battle-root .v200-solo-parity{padding-left:max(12px,calc((100vw - 760px)/2));padding-right:max(12px,calc((100vw - 760px)/2))}}

/* v20.2.1 - UNDO sincronizzato e artwork full-bleed, solo arena online */
#ttb-v200-battle-root .v200-solo-parity .battle-actions-v11 .v200-undo-action{
  flex:0 0 35%;min-width:0;white-space:nowrap;
  border:1px solid rgba(255,255,255,.28)!important;
  background:rgba(255,255,255,.09)!important;color:#fff!important;
  font-weight:900!important;font-size:clamp(7px,1.9vw,10px)!important;
  padding:5px 3px!important;
}
#ttb-v200-battle-root .v200-solo-parity .field-card>img,
#ttb-v200-battle-root .v200-solo-parity .hand-art>img,
#ttb-v200-battle-root .v200-online-fx .combat-v11-card>img{
  position:absolute!important;top:-2px!important;left:-2px!important;
  width:calc(100% + 4px)!important;height:calc(100% + 4px)!important;
  min-width:0!important;max-width:none!important;max-height:none!important;
  display:block!important;object-fit:cover!important;object-position:center center!important;
}

/* v21.2 — only connection status; original Cypher artwork and layout untouched. */
#ttb-v200-battle-root .v212-presence{margin:2px 12px 8px;padding:8px 10px;border-radius:10px;text-align:center;font:800 10px/1.4 system-ui,sans-serif;letter-spacing:.08em;color:#ffb9b9;border:1px solid rgba(255,126,140,.45);background:rgba(108,23,38,.28);}
#ttb-v200-battle-root .v212-presence[hidden],#ttb-v212-rejoin-bar[hidden]{display:none!important;}
#ttb-v212-rejoin-bar{position:fixed;z-index:2147483000;bottom:calc(76px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(430px,calc(100% - 24px));display:flex;align-items:center;gap:8px;padding:11px 10px;border:1px solid rgba(68,219,236,.6);border-radius:14px;background:#0c1925f7;box-shadow:0 12px 44px #000a;color:white;font-family:system-ui,-apple-system,sans-serif;}
#ttb-v212-rejoin-bar span{flex:1;min-width:0;font-size:11px;line-height:1.35;}
#ttb-v212-rejoin-bar b{display:block;color:#65e2f2;font-size:11px;}
#ttb-v212-rejoin-bar small{display:block;margin-top:3px;color:#b4c9d6;font-size:10px;}
#ttb-v212-rejoin-bar button{border:0;border-radius:8px;min-height:37px;padding:6px 10px;background:#4ed9ee;color:#06121b;font-size:11px;font-weight:900;}
#ttb-v212-rejoin-bar button[data-v212-rejoin=hide]{width:27px;min-height:30px;padding:0;color:#b9c9d7;background:#ffffff12;}


/* v21.3 — preserve original battle composition while adding timers/reconnect status. */
#ttb-v200-battle-root .v200-solo-parity{position:relative;grid-template-rows:42px 25px 34px 26px minmax(165px,1fr) 27px 34px 126px 44px 33px!important}
#ttb-v200-battle-root .v200-solo-parity .v211-turn-line{grid-row:auto;min-width:0;padding:0 2px}
#ttb-v200-battle-root .v200-solo-parity .v212-presence{position:absolute;left:12px;right:12px;top:calc(env(safe-area-inset-top,0px) + 100px);z-index:8;margin:0;padding:6px 10px;border-radius:999px;text-align:center;font-size:8.5px;line-height:1.2;letter-spacing:.08em}
#ttb-v200-battle-root .v200-solo-parity .v211-turn-label{font-size:8px}
#ttb-v200-battle-root .v200-solo-parity .v211-turnbar{height:24px}
#ttb-v200-battle-root .v200-solo-parity .v211-turnbar strong{font-size:13px}
@media(max-height:700px){#ttb-v200-battle-root .v200-solo-parity{grid-template-rows:38px 21px 30px 23px minmax(145px,1fr) 23px 30px 105px 40px 28px!important}#ttb-v200-battle-root .v200-solo-parity .v212-presence{top:calc(env(safe-area-inset-top,0px) + 90px)}}


/* v21.3 — LOCKED original 5-slot CYHPER composition (online random + friend challenges).
   Explicit grid placement protects original fields/cards from new status widgets. */
#ttb-v200-battle-root .v200-arena .v200-solo-parity{
  position:absolute!important; inset:0!important; width:100%!important; height:100dvh!important;
  display:grid!important; box-sizing:border-box!important; min-height:0!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:40px 24px 28px 24px minmax(0,1fr) 25px 34px 122px 44px 33px!important;
  grid-template-areas:"hud" "enemybeatz" "clock" "phases" "field" "yourbeatz" "message" "hand" "actions" "footer"!important;
  gap:5px!important; overflow:hidden!important;
  padding:max(7px,env(safe-area-inset-top)) 8px max(7px,env(safe-area-inset-bottom))!important;
}
#ttb-v200-battle-root .v200-solo-parity>.battle-top-v11{grid-area:hud!important;min-height:0!important}
#ttb-v200-battle-root .v200-solo-parity>.battle-energy-v11.cpu{grid-area:enemybeatz!important;min-height:0!important;padding-top:2px!important}
#ttb-v200-battle-root .v200-solo-parity>.v211-turn-line{grid-area:clock!important;min-height:0!important;min-width:0!important}
#ttb-v200-battle-root .v200-solo-parity>.phasebar{grid-area:phases!important;min-height:0!important;height:100%!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;align-items:stretch!important}
#ttb-v200-battle-root .v200-solo-parity>.phasebar>.phase-pill{display:grid!important;place-items:center!important;min-height:0!important;height:100%!important;max-height:100%!important;padding:1px 3px!important;align-self:stretch!important}
#ttb-v200-battle-root .v200-solo-parity>.battle-board-v11{grid-area:field!important;min-height:0!important;height:100%!important;max-height:100%!important;overflow:hidden!important}
#ttb-v200-battle-root .v200-solo-parity>.battle-energy-v11:not(.cpu){grid-area:yourbeatz!important;min-height:0!important}
#ttb-v200-battle-root .v200-solo-parity>.battle-message-v11{grid-area:message!important;min-height:0!important}
#ttb-v200-battle-root .v200-solo-parity>.battle-hand-v11{grid-area:hand!important;min-height:0!important}
#ttb-v200-battle-root .v200-solo-parity>.battle-actions-v11{grid-area:actions!important;min-height:0!important}
#ttb-v200-battle-root .v200-solo-parity>.battle-footer-tools-v12{grid-area:footer!important;min-height:0!important}
/* Status is deliberately outside layout flow: no extra implicit grid row. */
#ttb-v200-battle-root .v200-solo-parity>.v212-presence,
#ttb-v200-battle-root .v200-solo-parity>.v212-presence:not([hidden]){
  position:absolute!important;top:calc(max(7px,env(safe-area-inset-top)) + 104px)!important;
  left:12px!important;right:12px!important;z-index:10!important;
  width:auto!important;height:auto!important;max-height:28px!important;min-height:0!important;
  margin:0!important;padding:6px 9px!important;border-radius:999px!important;
  background:rgba(119,24,44,.94)!important;border:1px solid rgba(255,130,150,.55)!important;
  font-size:9px!important;line-height:13px!important;color:#fff!important;
  text-align:center!important;pointer-events:none!important;box-sizing:border-box!important;
}
#ttb-v200-battle-root .v200-solo-parity>.v212-presence[hidden]{display:none!important}
/* Entire-width draining timer, numbers centered, urgent 10s in flashing red. */
#ttb-v200-battle-root .v200-solo-parity .v211-turn-line{position:relative!important;display:block!important;height:30px!important;padding:0!important;margin:0!important}
#ttb-v200-battle-root .v200-solo-parity .v211-turnbar{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:30px!important;border-radius:10px!important;box-sizing:border-box!important;overflow:hidden!important}
#ttb-v200-battle-root .v200-solo-parity .v211-turnbar>i{position:absolute!important;left:0!important;top:0!important;bottom:0!important;height:100%!important}
#ttb-v200-battle-root .v200-solo-parity .v211-turnbar>strong{position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;font-size:16px!important;letter-spacing:.08em!important;line-height:1!important;font-variant-numeric:tabular-nums!important;text-shadow:0 1px 3px #000!important}
#ttb-v200-battle-root .v200-solo-parity .v211-turn-label{position:absolute!important;z-index:2!important;left:10px!important;top:50%!important;transform:translateY(-50%)!important;font-size:8px!important;line-height:1!important;letter-spacing:.04em!important;color:#fff!important;pointer-events:none!important;text-shadow:0 1px 2px #000!important}
@media(max-height:700px){
#ttb-v200-battle-root .v200-arena .v200-solo-parity{
  grid-template-rows:36px 20px 25px 22px minmax(0,1fr) 22px 28px 100px 40px 28px!important;gap:4px!important;
}
#ttb-v200-battle-root .v200-solo-parity .v211-turn-line,
#ttb-v200-battle-root .v200-solo-parity .v211-turnbar{height:27px!important}
#ttb-v200-battle-root .v200-solo-parity>.v212-presence:not([hidden]){top:calc(max(7px,env(safe-area-inset-top)) + 93px)!important}
}

/* v21.5.0 · expressive Cypher reactions, isolated from the authoritative board */
#ttb-v200-battle-root .v2150-reaction-wrap{position:relative;flex:0 0 auto;min-width:0;z-index:55}
#ttb-v200-battle-root .v2150-reaction-trigger{height:29px!important;padding:5px 10px!important;border-radius:20px!important;background:#0e3341!important;border:1px solid #29b6d1!important;color:#b2f5ff!important;font-weight:900;white-space:nowrap;font-size:9px!important}
#ttb-v200-battle-root .v2150-reaction-picker[hidden]{display:none!important}
#ttb-v200-battle-root .v2150-reaction-picker{position:absolute;bottom:calc(100% + 9px);left:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;width:min(355px,calc(100vw - 24px));padding:8px;border:1px solid #32c9df;border-radius:14px;background:linear-gradient(160deg,#0d2032,#07111a);box-shadow:0 16px 36px #000b;box-sizing:border-box;z-index:60}
#ttb-v200-battle-root .v2150-reaction-picker button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%;height:auto!important;max-height:none!important;padding:3px!important;border:1px solid #39516b;border-radius:9px!important;background:#0c1c2b!important;overflow:hidden}
#ttb-v200-battle-root .v2150-reaction-picker button:active{transform:translateY(1px);border-color:#34cfe8}
#ttb-v200-battle-root .v2150-reaction-picker img{width:100%;height:66px;max-width:58px;object-fit:cover;object-position:top center;border-radius:6px;display:block}
#ttb-v200-battle-root .v2150-reaction-picker small{font-weight:900;font-size:8px;letter-spacing:0;color:#e6f9ff}
.v2150-reaction-overlay{position:fixed;inset:0;z-index:99997;pointer-events:none;overflow:hidden;display:flex;align-items:center;justify-content:center}
.v2150-reaction-float{position:absolute;top:24%;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px;border-radius:18px;background:#07121df2;border:1px solid #35cee9;box-shadow:0 12px 36px #000c,0 0 26px #22d1ff35;color:#fff;width:min(150px,38vw);animation:v2150-pop 2.7s ease-out both;box-sizing:border-box}
.v2150-reaction-float.rival{left:52%;border-color:#ec8bc9;transform-origin:top left}
.v2150-reaction-float.mine{right:52%;transform-origin:top right}
.v2150-reaction-float img{width:100%;height:160px;max-height:24vh;object-fit:contain;border-radius:8px}
.v2150-reaction-from{font-size:10px;font-weight:900;color:#c5e5ef;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.v2150-reaction-float strong{font-size:14px;color:#fff;letter-spacing:.05em;text-shadow:0 2px 3px #000}
@keyframes v2150-pop{0%{opacity:0;scale:.55;translate:0 35px}11%{opacity:1;scale:1.12;translate:0 -8px}23%{scale:1;translate:0 0}80%{opacity:1;scale:1}100%{opacity:0;translate:0 -60px;scale:.92}}
@media(max-width:360px){#ttb-v200-battle-root .battle-footer-tools-v12{gap:3px!important}#ttb-v200-battle-root .battle-footer-tools-v12 button{padding-inline:6px!important;font-size:8px!important}}
@media(prefers-reduced-motion:reduce){.v2150-reaction-float{animation:none;opacity:1}}

/* v21.5.1 · Original card artwork remains unchanged. Native Android save/link popup is disabled on Battle cards only. */
#ttb-v200-battle-root .v188-fan-card,
#ttb-v200-battle-root .v188-fan-card *,
#ttb-v200-battle-root .cypher-slot .field-card,
#ttb-v200-battle-root .cypher-slot .field-card *,
#ttb-v200-battle-root .v186-gear-thumb,
#ttb-v200-battle-root .v186-gear-thumb *,
#ttb-v200-battle-root .v200-burn-target,
#ttb-v200-battle-root .v200-burn-target *,
#ttb-v200-battle-root .v2151-inspect-overlay *{
  -webkit-touch-callout:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-tap-highlight-color:transparent;
}
#ttb-v200-battle-root .v188-fan-card img,
#ttb-v200-battle-root .cypher-slot .field-card>img,
#ttb-v200-battle-root .v186-gear-thumb img,
#ttb-v200-battle-root .v200-burn-target img{
  pointer-events:none!important;
  -webkit-user-drag:none!important;
}
#ttb-v200-battle-root .v188-fan-card,
#ttb-v200-battle-root .cypher-slot .field-card {touch-action:manipulation!important}
#ttb-v200-battle-root .v2151-inspect-overlay{
  position:fixed;inset:0;z-index:500;pointer-events:auto;
  display:flex;align-items:center;justify-content:center;
  padding:calc(env(safe-area-inset-top) + 10px) 12px calc(env(safe-area-inset-bottom) + 10px);
  background:rgba(1,7,15,.94);box-sizing:border-box;overscroll-behavior:contain;
}
#ttb-v200-battle-root .v2151-inspect-panel{
  position:relative;box-sizing:border-box;width:min(95vw,430px);
  max-height:calc(100dvh - 20px);overflow-y:auto;overflow-x:hidden;
  display:flex;flex-direction:column;align-items:center;gap:7px;
  padding:16px 15px 13px;border:1px solid #36728c;border-radius:19px;
  background:linear-gradient(162deg,#10283b,#060e1a);box-shadow:0 20px 80px #000d;
}
#ttb-v200-battle-root .v2151-inspect-close{
  position:absolute;z-index:3;top:8px;right:8px;width:38px;height:38px;
  border-radius:12px;background:#19394a;border:1px solid #59819a;font-size:24px;
}
#ttb-v200-battle-root .v2151-inspect-art{
  display:block;width:auto;height:auto;max-width:100%;max-height:min(65dvh,535px);
  object-fit:contain;aspect-ratio:1102/1500;border-radius:8px;
  box-shadow:0 12px 32px #0008;
}
#ttb-v200-battle-root .v2151-inspect-panel strong{font-size:16px;font-weight:900;text-align:center}
#ttb-v200-battle-root .v2151-inspect-panel small{font-size:11px;color:#a5cee0;text-align:center}
#ttb-v200-battle-root .v2151-inspect-gears{display:flex;flex-wrap:wrap;gap:5px;justify-content:center}
#ttb-v200-battle-root .v2151-inspect-gears span{font-size:10px;color:#c6f3ff;padding:4px 7px;border:1px solid #367085;border-radius:8px}
@media(max-width:420px){#ttb-v200-battle-root .v2151-inspect-panel{padding:12px 10px 10px}#ttb-v200-battle-root .v2151-inspect-art{max-height:min(63dvh,520px)}}


/* v21.5.13 — Responsive reactions overlay, isolated from cards and battle footer. */
.v21513-reaction-sheet[hidden]{display:none!important}
.v21513-reaction-sheet{position:fixed;inset:0;z-index:100099;display:grid;place-items:center;pointer-events:auto;color:#eaf9ff;font-family:inherit;box-sizing:border-box}
.v21513-reaction-scrim{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(2,8,14,.8);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);cursor:pointer}
.v21513-reaction-panel{position:relative;width:min(360px,calc(100vw - 28px));max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;padding:15px 14px 17px;border:1px solid rgba(59,211,234,.67);border-radius:20px;background:linear-gradient(160deg,#102a3c,#07121e 80%);box-shadow:0 20px 70px rgba(0,0,0,.67)}
.v21513-reaction-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}
.v21513-reaction-head strong{color:#b7f4ff;font-size:12px;font-weight:950;letter-spacing:.13em}
.v21513-reaction-close{width:35px;height:35px;flex:0 0 35px;border-radius:11px;background:#112a3c;border:1px solid #3c8296;color:#eaffff;font-size:23px;line-height:1;cursor:pointer}
.v21513-reaction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-content:start}
.v21513-reaction-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:116px;gap:6px;padding:6px;border:1px solid #40657b;border-radius:13px;background:#0a1929;color:#e8fcff;cursor:pointer;touch-action:manipulation;transition:border-color .15s ease,transform .15s ease}
.v21513-reaction-grid button:focus-visible,.v21513-reaction-grid button:hover{outline:none;border-color:#55ddec;box-shadow:inset 0 0 0 1px #55ddec}
.v21513-reaction-grid button:active{transform:scale(.97)}
.v21513-reaction-grid img{width:100%;max-width:83px;height:84px;object-fit:contain;display:block;border-radius:8px}
.v21513-reaction-grid small{font-size:10px;color:#e5f8ff;font-weight:900;letter-spacing:.04em;white-space:nowrap}
@media(max-width:350px){.v21513-reaction-panel{padding:12px}.v21513-reaction-grid{gap:7px}.v21513-reaction-grid button{min-height:99px;padding:4px}.v21513-reaction-grid img{height:71px}}
@media(max-height:550px){.v21513-reaction-panel{max-height:calc(100dvh - 20px)}.v21513-reaction-grid img{height:55px}.v21513-reaction-grid button{min-height:78px}}
@media(prefers-reduced-motion:reduce){.v21513-reaction-grid button{transition:none}}

/* v21.5.14 · Live battle reaction speech bubbles near the two player islands.
   The selection sheet remains a separate centered modal; reactions never block cards. */
.v2150-reaction-overlay{display:block!important;pointer-events:none!important;z-index:100090!important}
.v2150-reaction-float,
.v2150-reaction-float.mine,
.v2150-reaction-float.rival{
  position:absolute;right:auto!important;left:0;top:0;
  width:108px;max-width:34vw;box-sizing:border-box;pointer-events:none;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  padding:7px 6px 6px;border-radius:14px;
  background:linear-gradient(160deg,rgba(17,44,62,.98),rgba(5,17,27,.97));
  border:1px solid #49d5e9;box-shadow:0 10px 25px rgba(0,0,0,.56),0 0 17px rgba(69,209,234,.22);
  animation:v21514-bubble-in 3.6s both;overflow:visible;
}
.v2150-reaction-float.mine{border-color:#39d8ea}
.v2150-reaction-float.rival{border-color:#ff92ae;background:linear-gradient(160deg,rgba(68,28,53,.98),rgba(19,13,27,.98))}
.v2150-reaction-float:before{content:"";position:absolute;top:-7px;left:18px;width:12px;height:12px;transform:rotate(45deg);background:#143346;border-top:1px solid #49d5e9;border-left:1px solid #49d5e9}
.v2150-reaction-float.rival:before{left:auto;right:18px;background:#402039;border-color:#ff92ae}
.v2150-reaction-float .v2150-reaction-from{display:block;color:#e8faff;font-size:9px;line-height:1.2;font-weight:950;max-width:100%;letter-spacing:.015em}
.v2150-reaction-float img{display:block;width:70px;height:71px;max-width:100%;max-height:none;object-fit:contain;border:0;background:transparent}
.v2150-reaction-float strong{color:#fff;font-weight:950;font-size:11px;line-height:1.1;text-align:center}
.v2150-reaction-float.is-pending{animation:v21514-bubble-pending .9s ease-in-out infinite alternate;opacity:.82}
.v2150-reaction-float.is-pending strong{font-size:9px;color:#b3dbe4}
@keyframes v21514-bubble-in{0%{opacity:0;transform:translateY(-10px) scale(.7)}10%{opacity:1;transform:translateY(6px) scale(1.08)}20%{transform:translateY(0) scale(1)}78%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-18px) scale(.94)}}
@keyframes v21514-bubble-pending{from{opacity:.65;transform:translateY(0)}to{opacity:1;transform:translateY(-4px)}}
@media(max-width:360px){.v2150-reaction-float,.v2150-reaction-float.mine,.v2150-reaction-float.rival{padding:5px 4px;gap:1px;border-radius:11px}.v2150-reaction-float img{width:55px;height:58px}.v2150-reaction-float .v2150-reaction-from{font-size:8px}.v2150-reaction-float strong{font-size:10px}}
@media(max-height:600px){.v2150-reaction-float img{width:48px;height:48px}.v2150-reaction-float,.v2150-reaction-float.mine,.v2150-reaction-float.rival{gap:0;padding:4px}}
@media(prefers-reduced-motion:reduce){.v2150-reaction-float,.v2150-reaction-float.mine,.v2150-reaction-float.rival{animation:none;opacity:1}.v2150-reaction-float.is-pending{animation:none;opacity:.82}}


/* v21.5.15 — confirmed display in front of all Battle layers, tappable reactions remain in their own dialog. */
#ttb-v21515-live-reactions{position:fixed!important;inset:0!important;z-index:2147483000!important;visibility:visible!important;pointer-events:none!important;overflow:hidden!important;isolation:isolate!important}
#ttb-v21515-live-reactions .v2150-reaction-float{z-index:1!important;opacity:1;will-change:transform,opacity}
#ttb-v21515-live-reactions .v2150-reaction-float.is-unconfirmed{border-style:dashed;box-shadow:0 8px 20px #0009,0 0 0 2px #fff2}
#ttb-v21515-live-reactions .v2150-reaction-float.is-failed{border-color:#ff6b87!important;background:linear-gradient(160deg,#492439,#1b0d1a)!important;animation:none!important;opacity:1!important}
.v21513-reaction-sheet{z-index:2147483001!important}
@media(prefers-reduced-motion:reduce){#ttb-v21515-live-reactions .v2150-reaction-float{animation:none!important;opacity:1!important}}


/* v21.5.18 — compact one-line mobile footer tools with icons */
#ttb-v200-battle-root .battle-footer-tools-v12{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  gap:6px!important;
  min-height:0!important;
}
#ttb-v200-battle-root .battle-footer-tools-v12 > *{min-width:0!important}
#ttb-v200-battle-root .v2150-reaction-wrap{display:block!important;width:100%!important;min-width:0!important}
#ttb-v200-battle-root .battle-footer-tools-v12 .v21518-tool-btn{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:36px!important;
  max-height:none!important;
  padding:6px 8px!important;
  border-radius:14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  border:1px solid rgba(74,196,221,.34)!important;
  background:rgba(7,22,34,.88)!important;
  color:#e8faff!important;
  box-sizing:border-box!important;
}
#ttb-v200-battle-root .battle-footer-tools-v12 .v21518-tool-btn .v21518-tool-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:15px!important;
  line-height:1!important;
  flex:0 0 auto!important;
}
#ttb-v200-battle-root .battle-footer-tools-v12 .v21518-tool-btn .v21518-tool-label{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:8px!important;
  line-height:1!important;
  letter-spacing:.08em!important;
  font-weight:900!important;
}
#ttb-v200-battle-root .battle-footer-tools-v12 .v2150-reaction-trigger.v21518-tool-btn{
  border-color:#2fb8d3!important;
  background:rgba(10,42,54,.92)!important;
  color:#bff7ff!important;
}
#ttb-v200-battle-root .battle-footer-tools-v12 .battle-utility-btn-v12.v21518-tool-btn{
  border-color:rgba(136,185,206,.34)!important;
  background:rgba(11,21,34,.92)!important;
}
#ttb-v200-battle-root .battle-footer-tools-v12 .v21518-tool-danger{
  border-color:rgba(214,88,110,.56)!important;
  background:rgba(64,14,24,.94)!important;
  color:#ffd7df!important;
}
@media(max-width:360px){
  #ttb-v200-battle-root .battle-footer-tools-v12{gap:4px!important}
  #ttb-v200-battle-root .battle-footer-tools-v12 .v21518-tool-btn{padding:5px 6px!important;height:34px!important}
  #ttb-v200-battle-root .battle-footer-tools-v12 .v21518-tool-btn .v21518-tool-icon{font-size:13px!important}
  #ttb-v200-battle-root .battle-footer-tools-v12 .v21518-tool-btn .v21518-tool-label{font-size:7px!important;letter-spacing:.04em!important}
}

/* v21.5.19 — Beatz artwork miniatures and readable history */
#ttb-v200-battle-root .v200-solo-parity .ttb21519-energy-art{
  display:block!important;position:relative!important;overflow:hidden!important;
  width:22px!important;height:28px!important;min-width:22px!important;flex:0 0 22px!important;
  padding:0!important;border-radius:5px!important;border:1px solid rgba(83,219,241,.48)!important;
  background:#061421!important;box-sizing:border-box!important;
  transition:transform .25s ease,opacity .25s ease!important;
}
#ttb-v200-battle-root .ttb21519-energy-art img{width:100%;height:100%;display:block;object-fit:cover;pointer-events:none}
#ttb-v200-battle-root .ttb21519-energy-art.used{transform:rotate(38deg)!important;opacity:.4!important}
#ttb-v200-battle-root .v200-history-event{display:flex;gap:10px;align-items:flex-start;white-space:normal!important;line-height:1.5!important}
#ttb-v200-battle-root .v200-history-event small{font-size:10px;color:#59cbdf;min-width:27px;padding-top:2px}
#ttb-v200-battle-root .v200-history-event span{flex:1;min-width:0;overflow-wrap:anywhere}

/* v21.5.20 · online opponent public profile and slightly taller Beatz icons */
#ttb-v200-battle-root .battle-top-v11 .ttb21520-rival-profile{
 display:block;min-width:0;min-height:0;padding:0 5px;margin:0;
 text-align:inherit;cursor:pointer;color:inherit;border:1px solid rgba(94,154,177,.3);border-radius:13px;
 background:rgba(35,19,34,.35);overflow:hidden;
}
#ttb-v200-battle-root .ttb21520-rival-profile:focus-visible{outline:2px solid #52dce8;outline-offset:2px}
#ttb-v200-battle-root .battle-energy-v11 .energy-chip.ttb21519-energy-art{
 width:20px!important;min-width:20px!important;flex:0 0 20px!important;height:23px!important;cursor:pointer
}
#ttb-v200-battle-root .battle-energy-v11 .energy-chip.ttb21519-energy-art.used{transform:rotate(38deg)!important}

/* v21.7.6: full Gear artwork shown beneath expanded Foundation */
.v2151-inspect-panel:has(.ttb-v2176-online-gears){max-height:calc(100dvh - 24px)!important;overflow-y:auto!important}
.v2151-inspect-panel:has(.ttb-v2176-online-gears)>.v2151-inspect-art{max-height:45dvh!important;object-fit:contain!important}
.ttb-v2176-online-gears{display:block!important;width:100%;margin-top:8px!important}
.ttb-v2176-online-gears h3{font-size:11px;color:#85dcff;margin:2px 0 8px;letter-spacing:.09em}
.ttb-v2176-gear-images{display:flex;gap:7px;overflow-x:auto;padding-bottom:6px}
.ttb-v2176-gear-images figure{flex:0 0 65px;margin:0;text-align:center}
.ttb-v2176-gear-images img{width:65px!important;height:88px!important;object-fit:contain!important;display:block;border-radius:5px}
.ttb-v2176-gear-images figcaption{font-size:9px;line-height:1.3;margin-top:3px;color:#d3eefa}

/* v21.8.7 — online hand tactile selection */
#ttb-v200-battle-root .battle-hand-v11 .v188-fan-card.selected,
#ttb-v200-battle-root .battle-hand-v11 .v188-fan-card.refresh-selected{
 transform:translateY(calc(var(--fan-offset,0px) - 31px)) rotate(var(--fan-rotate,0deg)) scale(1.055)!important;
 z-index:40!important;border-color:#a6faff!important;
 box-shadow:0 0 0 2px rgba(53,216,238,.52),0 19px 29px rgba(0,0,0,.86)!important;
}


/* v23.28 — online battle responsive field and compact vertical flow */
#ttb-v200-battle-root .v200-arena .v200-solo-parity,
#ttb-v200-battle-root .v200-solo-parity{height:100svh!important;min-height:100svh!important}
#ttb-v200-battle-root .v200-arena .v200-solo-parity{
  grid-template-rows:auto auto auto auto minmax(0,1fr) auto clamp(96px,18svh,126px) clamp(38px,7svh,44px) clamp(30px,6svh,36px)!important;
  grid-template-areas:"hud" "enemybeatz" "clock" "phases" "field" "yourbeatz" "hand" "actions" "footer"!important;
  align-content:stretch!important;
}
#ttb-v200-battle-root .v200-solo-parity>.battle-message-v11{display:none!important}
#ttb-v200-battle-root .v200-solo-parity>.battle-hand-v11{grid-area:hand!important;min-height:0!important;padding:4px 4px 2px!important;overflow:visible!important}
#ttb-v200-battle-root .v200-solo-parity>.battle-hand-v11 .zone-title{display:none!important}
#ttb-v200-battle-root .v200-solo-parity>.battle-hand-v11 .battle-hand{min-height:90px!important;height:auto!important;padding-top:6px!important;padding-bottom:1px!important}
#ttb-v200-battle-root .v200-solo-parity>.battle-board-v11{height:100%!important;min-height:0!important;align-self:stretch!important}
#ttb-v200-battle-root .v200-solo-parity>.battle-board-v11 .cypher-slots{height:100%!important;align-items:stretch!important}
#ttb-v200-battle-root .v200-solo-parity>.battle-board-v11 .cypher-slot{height:100%!important}
#ttb-v200-battle-root .v200-solo-parity>.battle-actions-v11{min-height:0!important}
#ttb-v200-battle-root .v200-solo-parity>.battle-footer-tools-v12{min-height:0!important}
@media(max-height:700px){
  #ttb-v200-battle-root .v200-arena .v200-solo-parity{
    grid-template-rows:auto auto auto auto minmax(0,1fr) auto clamp(82px,16svh,102px) clamp(34px,6svh,40px) clamp(28px,5.5svh,32px)!important;
    gap:4px!important;
  }
  #ttb-v200-battle-root .v200-solo-parity>.battle-hand-v11 .battle-hand{min-height:76px!important}
}
