:root{color-scheme:dark;--bg:#0d1120;--panel:#191e31;--panel2:#22283e;--line:#37405a;--text:#f7f1e7;--muted:#a4acc1;--gold:#e8bf79;--gold2:#ad8151;--cyan:#8dcedc;--danger:#e4928b;--radius:15px;font-family:Inter,system-ui,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 80% 1%,#212441 0%,transparent 34%),radial-gradient(ellipse at 12% 70%,#1c2637 0%,transparent 28%),var(--bg);color:var(--text);min-height:100vh}button,select,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}.shell{max-width:1460px;margin:auto;padding:0 28px;min-height:100vh;display:flex;flex-direction:column}.header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:86px;border-bottom:1px solid #30364d}.logo{display:flex;gap:11px;color:var(--text);align-items:center;font-weight:1000;letter-spacing:3px;font-size:23px;border:0;background:none;padding:0}.logo small{display:block;font-size:9px;color:var(--muted);letter-spacing:2px;font-weight:600}.emblem{display:grid;place-items:center;width:42px;height:42px;background:#2f2a31;color:var(--gold);border:1px solid var(--gold2);border-radius:11px;font-size:31px}.header-right{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:end}.meta{font-size:11px;font-weight:800;letter-spacing:1px;padding:9px 12px;color:var(--muted);border:1px solid var(--line);border-radius:7px;white-space:nowrap}.meta.life{color:#f0a7a5}.meta.gold{color:var(--gold)}main{flex:1;padding:38px 0 60px}.footer{font-size:10px;color:#798095;text-align:center;border-top:1px solid #262c40;padding:20px}.btn{border:1px solid #5c6275;background:#30384c;color:var(--text);border-radius:8px;min-height:40px;padding:9px 16px;font-weight:750;transition:.18s ease;white-space:normal;text-align:center}.btn:hover:not(:disabled){filter:brightness(1.15);transform:translateY(-1px)}.btn.primary{background:linear-gradient(120deg,#f1c991,#c28c5f);border-color:#e0b383;color:#211d24}.btn.secondary{background:#263048;border-color:#56647a}.btn.ghost{background:transparent;border-color:transparent;color:var(--muted)}.btn.large{padding:15px 23px;font-size:14px}.btn.block{display:block;width:100%;margin:8px 0}.btn.tiny{font-size:10px;padding:5px;min-height:30px}.btn.muted{opacity:.45}.btn.iconbtn{font-size:21px;min-height:38px;padding:3px 12px}.buttons{display:flex;gap:12px;flex-wrap:wrap;margin:30px 0 0}.overline{font-size:10px;letter-spacing:3px;font-weight:850;color:var(--gold);text-transform:uppercase}.section-head{text-align:center;max-width:790px;margin:12px auto 32px}.section-head h1{font-size:clamp(29px,4vw,52px);margin:13px 0;font-weight:920;letter-spacing:-1.4px}.section-head p{color:var(--muted);font-size:14px;line-height:1.65}.note{border-left:3px solid var(--gold2);background:#23243699;padding:14px 17px;border-radius:5px;font-size:12px;color:#d3d0db;line-height:1.6;margin:20px 0}.note strong{color:var(--gold)}h1,h2,h3,p{overflow-wrap:anywhere}h2{font-size:20px}.hero{min-height:555px;display:grid;grid-template-columns:1fr 1.15fr;gap:50px;align-items:center}.hero-art{min-height:420px;position:relative;overflow:hidden;border:1px solid #35324c;border-radius:20px;background:radial-gradient(circle at 50% 42%,#c48e6266,transparent 37%),radial-gradient(ellipse at 50% 110%,#4e4269,transparent 50%),linear-gradient(145deg,#26273e,#12162c)}.hero-moon{position:absolute;border:1px solid #a99a9f88;width:275px;height:275px;border-radius:50%;inset:50% auto auto 50%;transform:translate(-50%,-50%);box-shadow:0 0 0 22px #b5a99d09,0 0 0 60px #b5a99d08,0 0 70px #bd916053}.hero-rune{position:absolute;z-index:2;font-size:215px;left:50%;top:50%;transform:translate(-50%,-53%);color:#e9c591;text-shadow:0 0 55px #d6ad77}.hero-copy h1{font-size:clamp(43px,5.6vw,80px);line-height:1.1;letter-spacing:-4px;margin:19px 0}.hero-copy h1 em{font-family:Georgia,serif;color:var(--gold);font-weight:400}.hero-copy p{max-width:480px;color:var(--muted);line-height:1.7}.save-hint{font-size:11px}.quickstats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:28px 0}.quickstats>div{background:#171d2d;border:1px solid #30344c;padding:20px;border-radius:10px;display:flex;align-items:center;gap:16px}.quickstats b{font-size:26px;color:var(--gold)}.quickstats span{font-size:10px;font-weight:800;letter-spacing:1px;color:var(--muted)}.roster{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.character{border:1px solid #3b4359;background:#1c2235;color:var(--text);border-radius:12px;padding:0;overflow:hidden;text-align:left;transition:transform .2s,border-color .2s}.character:not(.locked):hover{transform:translateY(-5px);border-color:var(--character-color)}.portrait{aspect-ratio:4/4.1;position:relative;overflow:hidden;background:linear-gradient(155deg,var(--character-color,#302f44),#202639)}.portrait img{width:100%;height:100%;object-fit:cover;object-position:top}.starter-cards{position:relative;display:flex;flex:0 0 92px;justify-content:center;gap:3px;width:92px;height:58px;padding:3px;background:#090d18dc;border:1px solid #e8bf7980;border-radius:6px;box-shadow:0 2px 7px #0006}.starter-card{flex:1;min-width:0;height:100%;display:grid;place-items:center;overflow:hidden;border-radius:3px;background:#10131e}.starter-card-thumb{display:block;width:100%;height:100%;object-fit:contain}.char-number{position:absolute;top:8px;left:9px;background:#0a0d16c9;padding:4px 8px;border-radius:4px;color:var(--gold);font-size:11px;font-weight:700}.char-bottom{padding:5px 8px;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:6px}.char-text{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.char-text b,.char-text small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.char-bottom b{font-size:15px}.char-bottom small{color:var(--muted);font-size:10px;line-height:1.5}.character.locked{opacity:.7}.character.locked.featured-lock{opacity:1;border-color:#ead8ee;background:#f4eaf5;color:#342d3b}.character.locked.featured-lock .portrait img{filter:brightness(1.12) saturate(.82)}.character.locked.featured-lock .char-bottom small{color:#766b80;font-size:8px;line-height:1.25;overflow-wrap:anywhere}.starter-card{cursor:pointer}.lockedface{display:grid;place-items:center;color:#626b7c;font-size:75px;font-weight:900;background:linear-gradient(140deg,#272d3a,#151a2a)}.padlock{position:absolute;bottom:16px;right:12px;font-size:18px}.backbar,.center-actions{display:flex;gap:10px;justify-content:center;margin-top:30px;flex-wrap:wrap}.packcenter{display:grid;grid-template-columns:minmax(250px,360px) minmax(250px,450px);align-items:center;justify-content:center;gap:70px;margin:40px auto}.packvisual{min-height:450px;padding:40px 22px;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;text-align:center;background:radial-gradient(ellipse at 50% 38%,#9f5770aa,transparent 46%),linear-gradient(115deg,#8b5f6b,#2a273f 36%,#242c45 69%,#94646b);clip-path:polygon(3% 0,97% 0,100% 93%,92% 100%,8% 100%,0 93%);border:4px solid #c0a4a4;box-shadow:0 30px 50px #0006}.packglow{font-size:158px;color:#f1d9a1;margin:auto;text-shadow:0 0 40px #f2d8ae}.packseal{position:absolute;top:24px;left:0;right:0;font-weight:1000;letter-spacing:10px;font-size:22px}.packseal span{color:var(--gold)}.packtitle{font-size:36px;line-height:1;font-weight:1000;letter-spacing:2px;color:#fff0d8;text-shadow:0 4px 15px #000}.packedition{font-size:9px;letter-spacing:2px;margin:20px 0;color:#f1e4d6}.packinfo h2{font-size:55px;color:var(--gold);margin:8px 0}.packinfo .counter{font-size:77px}.packinfo p{color:var(--muted);line-height:1.7}.revealed{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;max-width:1100px;margin:auto}.cardtile{min-width:0;position:relative;background:#1b2335;border:1px solid #42485b;border-radius:9px;padding:9px;transition:.2s}.cardtile:hover{border-color:var(--gold);transform:translateY(-2px)}.cardart{position:relative;aspect-ratio:315/458}.cardart img{width:100%;height:100%;object-fit:contain;display:block;border-radius:4px}.card-count{position:absolute;right:4px;top:4px;background:#111a2eea;border:1px solid #7d775f;color:#f8d99b;border-radius:5px;padding:4px 6px;font-size:10px;font-weight:800}.cardname{font-size:11px;font-weight:800;margin:9px 1px 3px;min-height:28px}.cardstats{font-size:10px;color:var(--muted)}.tinybtn{width:100%;background:#353f54;border:1px solid #536078;border-radius:5px;color:var(--text);padding:6px 2px;font-size:11px;margin-top:8px}.deck-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(270px,.65fr);gap:20px;align-items:start}.inventory,.deckbox,.panel{background:#1a2031;border:1px solid #333d57;border-radius:12px;padding:22px}.deckbox{position:sticky;top:12px}.subhead{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px;gap:10px;border-bottom:1px solid #343f58;padding-bottom:12px}.subhead h2{font-size:19px;margin:0}.subhead h2 span{color:var(--gold);font-size:12px}.subhead small{color:var(--muted);font-size:11px}.cardgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.deckchips{display:flex;flex-wrap:wrap;gap:6px;min-height:55px}.deckchip{background:#28344a;color:#e0e5ef;border:1px solid #4b536c;border-radius:5px;padding:6px 10px;font-size:10px}.deckchip b{color:var(--gold)}.faint{color:var(--muted);font-size:12px}.extrasub{margin-top:26px}.deck-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.enemygrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}.enemycard{background:#181e30;border:1px solid #40455e;border-radius:12px;overflow:hidden}.enemy-illustration{height:230px;background:radial-gradient(ellipse at center,var(--enemy-color),#22253f 64%);position:relative;display:grid;place-items:center}.enemy-symbol{font-size:120px;color:#dfc6ab;text-shadow:0 0 40px #111;opacity:.85}.enemy-rank{position:absolute;top:10px;right:10px;background:#141629bd;padding:7px 10px;font-size:10px;letter-spacing:2px;color:var(--gold)}.enemycontent{padding:18px}.enemycontent h2{margin:0}.enemycontent p{font-size:12px;color:var(--muted)}.enemyreward{font-size:13px;color:var(--gold);margin:16px 0}.enemycontent .btn{width:100%}.shop-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:28px}.shop-packs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:26px}.shop-pack{display:flex;align-items:center;gap:13px;border:1px solid #46465a;background:#22263a;padding:11px;border-radius:10px}.mini-pack{width:70px;min-width:70px;height:95px;display:grid;place-items:center;text-align:center;line-height:1.3;letter-spacing:2px;font-size:12px;font-weight:900;color:#f0d6b6;background:linear-gradient(35deg,#804b60,#25304b);border:3px solid #a48c85}.mini-pack.variant{background:#32374f}.shop-pack b{font-size:13px}.shop-pack p{font-size:11px;color:var(--muted)}.shop-pack.disabled{opacity:.6}.relicgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.relic{padding:15px;border:1px solid #4e4a62;background:#211f35;border-radius:9px;display:flex;flex-direction:column;align-items:start;gap:8px}.relic i{font-size:28px;color:var(--gold);font-style:normal}.relic b{font-size:13px}.relic p{font-size:11px;color:var(--muted);line-height:1.5;flex:1;margin:0}.shop-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.shop-card{display:flex;flex-direction:column;gap:5px;align-items:stretch;min-width:0}.shop-art{width:100%;aspect-ratio:315/458;object-fit:contain}.shop-card b{font-size:9px;line-height:1.3;overflow-wrap:anywhere;min-height:24px}.price{color:var(--gold);font-size:11px}.extrahead{margin-top:28px}.shop-bottom{display:flex;gap:12px;align-items:center;justify-content:center;padding:32px}.relicchoice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:1100px;margin:auto}.relic-rare{padding:30px;border:1px solid #8d6580;border-radius:14px;min-height:320px;text-align:center;background:radial-gradient(ellipse at top,#6e466055,#25213c 60%);display:flex;flex-direction:column;align-items:center;justify-content:center}.relic-rare>span{font-size:85px;color:#e7c594}.relic-rare h2{font-size:21px}.relic-rare p{line-height:1.6;font-size:13px;color:#b7afc5;flex:1}.extra-box{max-width:650px;margin:auto;padding:60px;background:linear-gradient(140deg,#392647,#1c2439);border:1px solid #ab86aa;border-radius:15px;text-align:center}.extra-box span{font-size:105px;color:var(--gold)}.extra-box p{color:var(--muted);line-height:1.6}.run-report{max-width:920px;margin:auto;border:1px solid #3a455d;border-radius:14px;background:#1b2234;padding:25px;overflow:auto}.report-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:30px}.report-metrics>div{display:flex;flex-direction:column;background:#232b40;padding:20px;text-align:center;gap:8px}.report-metrics b{font-size:35px;color:var(--gold)}.report-metrics span{font-size:10px;color:var(--muted)}table{width:100%;border-collapse:collapse;font-size:12px;min-width:600px}td,th{text-align:left;padding:12px;border-bottom:1px solid #323b51}th{color:var(--gold)}.settingsgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.settingsgrid label{display:block;padding:9px 0;color:#d1d7e6;font-size:13px}.settingsgrid p{color:var(--muted);font-size:12px;line-height:1.7}.settingsgrid code{color:var(--gold);overflow-wrap:anywhere}.settingsgrid input[type=file]{max-width:100%}.status{color:var(--gold);margin-top:13px;font-size:12px}.modalwrap{position:fixed;inset:0;z-index:20;background:#030713d9;display:flex;align-items:center;justify-content:center;padding:15px}.modalcard{position:relative;background:#22273a;border:1px solid #716177;border-radius:15px;padding:24px;display:grid;grid-template-columns:minmax(150px,230px) minmax(220px,450px);gap:27px;max-width:800px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 25px 60px #0008}.modalcard h2{font-size:32px;margin:10px 0}.modalcard p{font-size:13px;line-height:1.7;color:var(--muted)}.modalclose{position:absolute;right:12px;top:8px;background:transparent;color:#eee;font-size:26px;border:0}.dialog-portrait{min-height:300px;background:#232b42;border-radius:10px;overflow:hidden}.dialog-portrait img{width:100%;height:100%;object-fit:cover}.field-label{display:block;font-size:11px;color:var(--gold);margin:20px 0 8px}.modalcard select{width:100%;background:#151d30;border:1px solid #5b6581;color:var(--text);padding:12px}.dialog-actions{margin-top:20px}.dialog-actions button{width:100%}.large-card img{width:100%;max-height:460px;object-fit:contain}.carddesc{white-space:pre-wrap;font-size:12px;color:#d9dce5;line-height:1.7;max-height:250px;overflow:auto}.fine{font-size:11px!important}.duel-screen main{padding:16px 0 30px}.duel-wrap{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:15px}.duel-bar{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #3b465d;padding:0 0 12px}.duel-bar h1{margin:5px 0 2px;font-size:20px}.duel-bar h1 small{color:var(--muted);font-size:11px}.engine-badge{font-size:9px;letter-spacing:1px;padding:10px;border:1px solid #a47c5b;color:#f2be84;border-radius:5px}.duel-arena{border:1px solid #47516a;border-radius:14px;background:radial-gradient(ellipse at 50% 44%,#2b3650,#171c30 74%);padding:12px;overflow:hidden}.lpbar{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#141b2ca1;border:1px solid #363f56;padding:9px 12px;border-radius:5px}.lpbar b{font-size:13px}.lpbar span{font-size:10px;color:var(--muted)}.lpbar strong{color:#f3aaa4;font-size:22px;white-space:nowrap}.board-block{padding:12px 0}.zonelabel{text-align:center;font-size:9px;color:#a3acc0;letter-spacing:1px;margin:8px}.zonerow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;max-width:640px;margin:auto}.zoneslot{height:128px;border:1px solid #576078;border-radius:6px;background:#2b344944;display:grid;place-items:center;position:relative;overflow:hidden;min-width:0;color:#67718d}.zoneslot i{font-size:30px;font-style:normal}.zoneslot.occupied{padding:3px;cursor:pointer}.zoneimg{width:100%;height:100%;object-fit:contain}.zoneslot span{position:absolute;bottom:1px;right:1px;font-size:10px;font-weight:700;background:#0a0c18e8;border-radius:3px;padding:3px;color:var(--gold)}.board-line{display:flex;align-items:center;justify-content:center;gap:20px;margin:15px auto;color:var(--gold);font-size:11px;letter-spacing:2px}.hand-wrapper{margin:14px auto 0}.hand-title{font-size:11px;color:var(--gold);font-weight:800;letter-spacing:1px;display:flex;justify-content:space-between;margin-bottom:8px}.hand-title span{color:var(--muted)}.hand{display:flex;align-items:start;gap:8px;overflow-x:auto;padding:3px 0 9px}.handcard{flex:0 0 94px;min-width:70px;border:0;background:transparent;color:var(--text);padding:0}.handcard img{width:100%;height:124px;object-fit:contain;transition:.2s}.handcard:hover img{transform:translateY(-6px)}.handname{display:block;font-size:9px;line-height:1.3;margin-top:3px}.actionbox,.duel-log{padding:16px;border:1px solid #424d64;border-radius:10px;background:#1b2234;margin-bottom:13px}.actionbox h3,.duel-log h3{margin:0 0 10px;font-size:15px;color:var(--gold)}.actionbox p,.duel-log p{font-size:11px;line-height:1.7;color:var(--muted)}.duel-log p{border-bottom:1px solid #313c50;padding-bottom:7px}.duel-log{max-height:300px;overflow:auto}.ocggrid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ocggrid code{font-size:11px;white-space:pre-wrap}.ocggrid .btn{white-space:normal}#toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,25px);background:#e2bb83;color:#212330;font-size:12px;font-weight:850;padding:14px 23px;border-radius:10px;z-index:50;box-shadow:0 15px 40px #0008;opacity:0;pointer-events:none;transition:.25s;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%)}@media(max-width:1050px){.shell{padding:0 15px}.shop-layout{grid-template-columns:1fr}.shop-cards{grid-template-columns:repeat(5,minmax(0,1fr))}.relicgrid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.header{min-height:70px}.logo{font-size:18px}.meta{padding:6px;font-size:9px}.header-right{gap:5px}.hero{grid-template-columns:1fr;gap:22px}.hero-art{min-height:230px;order:2}.hero-rune{font-size:150px}.hero-moon{width:180px;height:180px}.hero-copy h1{letter-spacing:-2px}.quickstats{grid-template-columns:1fr 1fr}.quickstats>div{padding:12px}.quickstats b{font-size:21px}.roster{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.char-bottom{padding:8px}.char-bottom b{font-size:13px}.char-bottom small{font-size:8px}.packcenter{grid-template-columns:1fr;gap:23px;text-align:center}.packvisual{min-height:340px;max-width:280px;width:100%;margin:auto}.packglow{font-size:120px}.packinfo{max-width:430px;margin:auto}.revealed{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.deck-layout{grid-template-columns:1fr}.deckbox{position:static}.cardgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.duel-wrap{grid-template-columns:1fr}.duel-bar{flex-wrap:wrap}.duel-aside{display:grid;grid-template-columns:1fr 1fr;gap:10px}.relicchoice{grid-template-columns:1fr}.relic-rare{min-height:250px}.settingsgrid,.ocggrid{grid-template-columns:1fr}.modalcard{grid-template-columns:1fr;max-width:420px;gap:12px}.dialog-portrait{max-height:240px;min-height:240px}.modalcard.card-dialog{grid-template-columns:120px minmax(0,1fr)}.modalcard.card-dialog h2{font-size:19px}.large-card img{max-height:220px}.zonerow{gap:4px}.zoneslot{height:96px}}@media(max-width:460px){.shell{padding:0 10px}main{padding:22px 0 38px}.header-right .meta:first-child{display:none}.header-right .meta{font-size:10px}.roster{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.portrait{aspect-ratio:4/4.2}.char-bottom{padding:6px}.char-bottom b{font-size:11px}.char-bottom small{font-size:8px}.section-head h1{font-size:30px}.revealed{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.cardtile{padding:5px}.cardname{font-size:10px}.cardstats{font-size:9px}.shop-packs{grid-template-columns:1fr}.relicgrid{grid-template-columns:1fr 1fr}.shop-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.shop-card b{font-size:8px}.shop-card .btn{font-size:9px;padding:3px}.enemygrid{grid-template-columns:1fr 1fr;gap:8px}.enemy-illustration{height:135px}.enemy-symbol{font-size:72px}.enemycontent{padding:10px}.enemycontent h2{font-size:16px}.enemycontent p{font-size:10px}.duel-aside{grid-template-columns:1fr}.zoneslot{height:77px}.handcard{flex-basis:73px}.handcard img{height:105px}.lpbar strong{font-size:16px}.lpbar span{display:none}.duel-bar h1{font-size:17px}.engine-badge{font-size:8px}.relic-rare{min-height:230px}.report-metrics{gap:4px}.report-metrics b{font-size:24px}.report-metrics span{font-size:8px}.run-report{padding:10px}.modalcard{padding:14px}.modalcard.card-dialog{grid-template-columns:1fr}.large-card img{height:220px}.card-dialog .large-card{display:flex;justify-content:center}}.field-active{padding:9px 12px;margin:8px auto;border:1px solid #ad8151;border-radius:9px;color:#e8bf79;text-align:center;font-size:12px;font-weight:800;letter-spacing:.04em;background:#171a29}.roster{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;max-width:1320px;margin-left:auto;margin-right:auto}.portrait{aspect-ratio:4/4.5}.char-bottom{min-height:78px;padding:8px 10px}.char-bottom b{font-size:16px}@media(max-width:1050px){.roster{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}}@media(max-width:760px){.roster{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.portrait{aspect-ratio:4/4.2}.char-bottom{min-height:58px;padding:4px 5px}.char-bottom b{font-size:10px}}.ocg-duel{grid-template-columns:minmax(0,1fr) 270px}.ocg-board{grid-column:1;display:flex;flex-direction:column;gap:12px}.ocg-player{border:1px solid #47516a;border-radius:12px;background:linear-gradient(145deg,#1d2840,#141a2b);padding:12px;min-width:0}.ocg-player-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.ocg-player-head strong{font-size:13px}.ocg-player-head b{color:#f3aaa4;font-size:18px}.ocg-zone-row{display:grid;gap:5px;margin:7px 0}.ocg-zone-row.monster{grid-template-columns:repeat(7,minmax(0,1fr))}.ocg-zone-row.spell{grid-template-columns:repeat(8,minmax(0,1fr))}.ocg-slot{height:clamp(56px,8vw,106px);min-width:0;border:1px solid #4c5870;border-radius:5px;background:#263149;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;text-align:center;color:#adb7ca}.ocg-slot small{font-size:clamp(7px,.72vw,10px);line-height:1.15;max-height:2.3em;overflow:hidden;padding:2px}.ocg-slot b{font-size:clamp(6px,.68vw,9px);color:var(--gold)}.ocg-slot.occupied{background:#121a2a}.ocg-art{height:70%;width:100%;display:grid;place-items:center;overflow:hidden}.ocg-art img{height:100%;max-width:100%;object-fit:contain}.ocg-cardback{height:90%;aspect-ratio:2/3;display:grid;place-items:center;border:2px solid #a68b62;border-radius:4px;background:repeating-linear-gradient(45deg,#372d46,#372d46 4px,#1e2942 4px 8px);color:#dabb81;font-weight:900}.ocg-slot.empty span{font-size:19px;color:#63708a}.ocg-piles{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.ocg-pile{display:flex;align-items:center;gap:6px;background:#111827;border:1px solid #36435a;border-radius:6px;padding:6px 9px;color:#bac4d8;font-size:9px}.ocg-pile b{color:var(--gold);font-size:12px}.ocg-pile span{color:#98a5bc;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ocg-player h3{font-size:10px;color:var(--gold);margin:10px 0 4px}.ocg-hand{display:flex;gap:5px;overflow-x:auto}.ocg-hand .ocg-slot{flex:0 0 72px;height:100px}.ocg-center{text-align:center;color:var(--gold);font-size:10px;letter-spacing:2px;padding:2px}.ocg-diagnostics{font-size:10px;color:var(--muted);margin:12px 0}.ocg-diagnostics code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto}.ocg-duel .duel-aside{grid-column:2;grid-row:2}.ocg-duel .duel-bar{grid-row:1}@media(max-width:760px){.ocg-duel{grid-template-columns:1fr}.ocg-board{grid-column:1;order:1}.ocg-duel .duel-aside{grid-column:1;grid-row:auto;order:2}.ocg-slot{height:72px}.ocg-zone-row{gap:2px}.ocg-zone-row.spell{grid-template-columns:repeat(4,minmax(0,1fr))}.ocg-zone-row.spell .ocg-slot{height:64px}.ocg-zone-row.monster{grid-template-columns:repeat(7,minmax(0,1fr))}.ocg-player{padding:7px}.ocg-piles{gap:3px}.ocg-pile{padding:5px;font-size:8px}}.ocg-graveyard{border-top:1px solid #36435a;margin-top:8px;padding-top:5px}.ocg-graveyard h3{margin:2px 0 5px}.ocg-gravecards{display:flex;gap:5px;overflow-x:auto;min-height:56px}.ocg-grave-card{flex:0 0 43px;width:43px;display:flex;flex-direction:column;align-items:center;gap:2px}.ocg-grave-card img{height:48px;width:33px;object-fit:cover;border-radius:3px}.ocg-grave-card span{font-size:6px;color:#b9c4d8;line-height:1.1;max-height:2.2em;overflow:hidden;text-align:center}@media(max-width:760px){.char-bottom{min-height:58px;padding:4px 5px;gap:3px}.starter-cards{flex-basis:68px;width:68px;height:47px;gap:2px;padding:2px}.char-text b{font-size:10px}.char-text small{font-size:7px}}.card-actions-dialog{grid-template-columns:minmax(160px,280px) minmax(220px,1fr);align-items:center;max-width:760px}.card-actions-art{display:grid;place-items:center;min-width:0}.card-actions-art img{display:block;width:100%;max-height:72vh;object-fit:contain;border-radius:7px}.card-actions-content{min-width:0;padding:8px}.card-actions-content h2{font-size:clamp(17px,2vw,24px);margin:10px 0 18px;overflow-wrap:anywhere}.card-actions-content .btn{white-space:normal}@media(max-width:620px){.card-actions-dialog{grid-template-columns:minmax(110px,38%) minmax(0,1fr);gap:14px;padding:18px}.card-actions-art img{max-height:58vh}.card-actions-content{padding:0}.card-actions-content h2{font-size:17px}}.card-actions-art .large-cardback{display:grid;place-items:center;width:min(100%,260px);height:min(65vh,390px);aspect-ratio:2/3;font-size:48px}.ocg-zone-row.monster{grid-template-columns:repeat(5,minmax(0,1fr));max-width:620px}.zone-selectable{border-color:#ffd66e!important;box-shadow:0 0 0 2px #f1c95280,0 0 18px #e9c15c88;background:#56482b!important;animation:zone-glow 1.1s ease-in-out infinite alternate;cursor:pointer}.zone-selectable:hover{transform:translateY(-3px);filter:brightness(1.25)}.zone-chosen{border-color:#9ef2c1!important;box-shadow:0 0 0 3px #67d99b99,0 0 24px #67d99bcc;background:#244b3e!important}.ocg-empty-mark{font-style:normal;font-size:19px;color:#8d9bb5}.ocg-emz-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:auto auto;gap:6px;max-width:620px;width:100%;margin:-4px auto}.ocg-emz-row>.link-zone:first-child{grid-column:2;grid-row:1}.ocg-emz-row>.link-zone:last-child{grid-column:4;grid-row:1}.ocg-emz-row>.ocg-center{grid-column:1/-1;grid-row:2}.ocg-emz-row .ocg-slot{height:clamp(56px,8vw,106px)}.ocg-player-top{border-bottom-color:#8b7182}.ocg-player-bottom{border-top-color:#8b7182}.ocg-player-top .ocg-zone-row.monster{margin-bottom:0}.ocg-player-bottom .ocg-zone-row.monster{margin-top:0}.shared-spell-row{max-width:820px}.zone-prompt-hint{padding:9px;background:#4c412a;border:1px solid #dfbd62;border-radius:6px;color:#ffe49c!important;text-align:center;font-weight:800}.ocg-duel .ocg-board{gap:8px}.ocg-duel .ocg-player{padding:9px}.ocg-duel .ocg-piles{margin:4px 0}.ocg-duel .ocg-player h3{margin:5px 0 3px}@keyframes zone-glow{0%{filter:brightness(.92)}to{filter:brightness(1.28)}}@media(max-width:760px){.ocg-zone-row.monster,.ocg-emz-row{max-width:100%}.ocg-emz-row{gap:4px}.shared-spell-row{gap:3px}.ocg-duel .ocg-slot{height:clamp(50px,12vw,82px)}.ocg-duel .ocg-slot small{font-size:7px}.ocg-duel .ocg-slot b{font-size:6px}}.ocg-cardback-img{width:100%;height:100%;object-fit:fill}.ocg-cardback-img.horizontal{width:auto;height:145%;max-width:none;max-height:none;transform:rotate(90deg)}.duel-screen .header{min-height:62px}.duel-screen main{padding:10px 0 18px}.duel-screen .footer{display:none}.ocg-duel{grid-template-columns:minmax(0,1fr) 208px;gap:10px;align-items:start}.ocg-duel .duel-bar{padding:2px 2px 8px;border-color:#3d4961}.duel-bar h1{font-size:18px}.duel-status{display:flex;align-items:center;gap:7px}.phase-pill{display:inline-flex;align-items:center;min-height:31px;padding:6px 10px;border:1px solid #9c7354;border-radius:6px;background:linear-gradient(135deg,#483125,#252a3b);color:#ffd69b;font-size:10px;font-weight:900;letter-spacing:1px;white-space:nowrap}.engine-badge{padding:7px;font-size:8px}.ocg-board{position:relative;min-height:0;padding:8px;border:1px solid #3b4963;border-radius:13px;background:radial-gradient(ellipse at 50% 50%,#263a58,#141d30 62%,#111827);box-shadow:inset 0 0 60px #0007}.ocg-duel .ocg-player{padding:7px;border-color:#52617d;background:linear-gradient(135deg,#1d2b45e8,#101828e8);box-shadow:inset 0 1px #73809a1c}.ocg-player-head{margin-bottom:4px}.ocg-player-head strong{font-size:12px;letter-spacing:.4px}.ocg-player-head b{font-size:16px}.ocg-piles{margin:2px 0 4px}.ocg-pile{padding:4px 6px;font-size:8px;background:#0d1525bd}.ocg-pile b{font-size:10px}.ocg-zone-row{margin:4px auto;gap:4px}.ocg-zone-row.monster{max-width:720px}.shared-spell-row{max-width:840px}.ocg-slot{height:clamp(48px,6.7vw,82px);border-color:#53647f;background:#1b2a42}.ocg-art{height:74%}.ocg-slot small{font-size:clamp(6px,.65vw,9px)}.ocg-slot b{font-size:clamp(6px,.6vw,8px)}.ocg-emz-row{max-width:720px;margin:0 auto}.ocg-emz-row .ocg-slot{height:clamp(48px,6.7vw,82px)}.ocg-center{font-size:8px;letter-spacing:1.5px;padding:0}.ocg-graveyard{display:none}.ocg-player h3{margin:4px 0 2px}.ocg-hand{gap:4px;padding-bottom:1px}.ocg-hand .ocg-slot{flex-basis:57px;height:79px}.ocg-duel .duel-aside{position:sticky;top:8px;max-height:calc(100vh - 82px);overflow-y:auto;scrollbar-width:thin}.ocg-duel .actionbox{margin:0;padding:10px;background:#151f33f2;border-color:#475875;box-shadow:0 10px 30px #0005}.actionbox h3{font-size:13px;margin-bottom:6px}.ocg-duel .btn.block{font-size:11px;line-height:1.2;min-height:34px;padding:7px 6px;margin:5px 0}.ocg-diagnostics{display:none}.ocg-duel .ghost.block{margin-top:8px}.zone-prompt-hint{font-size:10px;padding:7px;margin:5px 0}.attack-source{z-index:2;border-color:#ff665f!important;box-shadow:0 0 0 2px #ff6c6688,0 0 24px #ff4036!important;animation:attacker-pulse .45s ease-in-out 2!important}.attack-target{z-index:2;border-color:#ff5d58!important;box-shadow:0 0 0 3px #ff6a648f,0 0 30px #ff3f3b!important;animation:target-hit .42s ease-out 2!important}.attack-vfx{pointer-events:none;position:absolute;z-index:5;left:50%;top:50%;font-size:clamp(52px,9vw,110px);line-height:1;color:#ff4d47;text-shadow:0 0 8px #fff4,0 0 22px #ef1717,0 0 48px #c30000;transform:translate(-50%,-50%) rotate(-90deg);animation:attack-arrow .82s cubic-bezier(.2,.7,.2,1) both}.attack-vfx.direct{color:#ffb14b}@keyframes attack-arrow{0%{opacity:0;transform:translate(-50%,30%) rotate(-90deg) scale(.45)}30%{opacity:1}to{opacity:0;transform:translate(-50%,-150%) rotate(-90deg) scale(1.18)}}@keyframes attacker-pulse{50%{transform:scale(1.08);filter:brightness(1.45)}}@keyframes target-hit{50%{filter:brightness(2);transform:translate(4px)}}@media(max-width:760px){.duel-screen .header{min-height:55px}.ocg-duel{grid-template-columns:1fr}.duel-status{gap:4px}.phase-pill{font-size:8px;min-height:26px;padding:4px 6px}.engine-badge{display:none}.ocg-duel .duel-aside{position:static;max-height:none}.ocg-slot,.ocg-emz-row .ocg-slot{height:clamp(45px,11vw,72px)}.ocg-hand .ocg-slot{flex-basis:55px;height:76px}.ocg-board{padding:5px}.ocg-player-head b{font-size:14px}}.packvisual{background-image:linear-gradient(180deg,#1015221c,#10152255 52%,#111421dc),url(/assets/honda-inicios-pack-DvzSArLx.png);background-size:cover;background-position:center}.packvisual .packglow{display:none}.shop-packs .shop-pack:first-child .mini-pack{background-image:linear-gradient(#10152244,#101522ad),url(/assets/honda-inicios-pack-DvzSArLx.png);background-size:cover;background-position:center}.roster{grid-template-columns:repeat(2,minmax(0,1fr));max-width:940px;gap:28px}.roster .portrait{aspect-ratio:4/4.7}.roster .char-bottom{min-height:96px;padding:11px 14px}.roster .char-bottom b{font-size:20px}.roster .char-bottom small{font-size:12px}.enemygrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.enemy-illustration{height:260px}.enemycontent{padding:16px}.ocg-duel{grid-template-columns:minmax(0,1fr) 218px}.ocg-board{max-width:1120px;width:100%;margin:auto;padding:14px;gap:14px}.ocg-duel .ocg-player{padding:12px}.ocg-zone-row{margin:8px auto;gap:7px}.ocg-slot{height:clamp(90px,10vw,138px);border-radius:7px}.ocg-art{height:78%}.ocg-slot small{font-size:clamp(7px,.72vw,10px)}.ocg-slot b{font-size:clamp(7px,.68vw,9px)}.ocg-emz-row{max-width:720px;margin:4px auto}.ocg-emz-row .ocg-slot{height:clamp(74px,8vw,108px)}.ocg-hand .ocg-slot{flex-basis:78px;height:112px}.ocg-center{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;min-height:38px;padding:5px 8px;border-top:1px solid #6d7b9366;border-bottom:1px solid #6d7b9366}.table-phase-name{color:#ffe1a2;font-weight:900;font-size:10px;letter-spacing:1.5px}.table-chain{font-size:8px;color:#a8b5cc;letter-spacing:1px}.table-phase-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.table-phase-button{border:1px solid #b58a5e;background:#2b354b;color:#ffe1aa;border-radius:5px;padding:5px 8px;font-size:9px;font-weight:800;cursor:pointer}.table-phase-button:hover{filter:brightness(1.25)}.victory-summary{max-width:720px;margin:8px auto;background:linear-gradient(145deg,#202b44,#181d31);border:1px solid #c49b64;border-radius:16px;padding:28px}.victory-score{text-align:center;padding:18px;background:#111a2b;border:1px solid #735c47;border-radius:10px;display:flex;flex-direction:column;gap:5px}.victory-score span{font-size:10px;letter-spacing:2px;color:#bdc9dc}.victory-score b{font-size:54px;color:#f4c77c}.victory-score small{color:#eaa29f}.victory-breakdown{margin-top:24px}.victory-breakdown h2{font-size:17px}.victory-breakdown>div{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #53617a}.victory-breakdown span{color:#d7dcea}.victory-breakdown b{color:#f4c77c}.prompt-picker{display:block;max-width:1080px;max-height:88vh;padding:24px;overflow:auto}.prompt-picker h2{margin:8px 0;font-size:25px}.prompt-picker p{color:var(--muted);font-size:12px;margin:0 0 17px}.prompt-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(124px,1fr));gap:12px}.prompt-card{min-width:0;border:1px solid #53617b;border-radius:8px;background:#151d2d;color:var(--text);padding:7px;text-align:left;display:flex;flex-direction:column;gap:5px;cursor:pointer}.prompt-card:hover,.prompt-card.selected{border-color:#f1c46f;box-shadow:0 0 0 2px #e9be7166;background:#2e2b30}.prompt-card img{width:100%;aspect-ratio:315/458;object-fit:contain;background:#0b101d;border-radius:4px}.prompt-card b{font-size:10px;line-height:1.25}.prompt-card small{font-size:9px;color:#b8c6dc}.prompt-picker-actions{display:flex;justify-content:center;gap:10px;margin-top:22px}@media(max-width:1050px){.enemygrid{grid-template-columns:repeat(2,minmax(0,1fr))}.ocg-slot{height:clamp(74px,10vw,112px)}}@media(max-width:760px){.roster{grid-template-columns:1fr;max-width:460px;gap:16px}.roster .portrait{aspect-ratio:4/4.55}.roster .char-bottom{min-height:78px;padding:9px 11px}.roster .char-bottom b{font-size:17px}.enemygrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.enemy-illustration{height:150px}.ocg-duel .ocg-slot{height:clamp(54px,12vw,84px)}.ocg-duel .ocg-emz-row .ocg-slot{height:clamp(48px,10vw,70px)}.ocg-hand .ocg-slot{flex-basis:62px;height:88px}.ocg-zone-row{gap:3px;margin:5px auto}.ocg-board{padding:7px}.table-phase-name{font-size:8px}.table-phase-button{font-size:8px;padding:4px 6px}.prompt-picker{padding:18px 13px}.prompt-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.prompt-card{padding:4px}.prompt-card b{font-size:8px}.victory-summary{padding:18px}.victory-score b{font-size:44px}}.shell:has(.roster){max-width:1720px;padding-left:18px;padding-right:18px}.roster{grid-template-columns:repeat(5,minmax(0,1fr));max-width:none;gap:16px}.roster .portrait{aspect-ratio:4/4.45}.roster .char-bottom{min-height:76px;padding:8px 10px}.roster .char-bottom b{font-size:16px}.roster .char-bottom small{font-size:10px}@media(max-width:760px){.shell:has(.roster){padding-left:15px;padding-right:15px}.roster{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.roster .portrait{aspect-ratio:4/4.25}.roster .char-bottom{min-height:58px;padding:4px 5px}.roster .char-bottom b{font-size:10px}.roster .char-bottom small{font-size:7px}}.ocg-duel{grid-template-columns:minmax(0,1fr)}.ocg-duel .duel-aside{display:none}.ocg-center{flex-direction:column;gap:7px}.table-phase-track{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap}.table-phase-step{border:1px solid #52617b;background:#151e31;color:#9eabc1;border-radius:5px;padding:5px 8px;font-size:9px;font-weight:800}.table-phase-step.active{border-color:#f0c56f;background:#614326;color:#fff0c8;box-shadow:0 0 14px #eab55e77}.button.table-phase-step{cursor:pointer}.table-action-prompt{display:flex;flex-direction:column;align-items:center;gap:6px;color:#f5dfb0;font-size:10px}.table-action-list{display:flex;justify-content:center;gap:5px;flex-wrap:wrap}.table-action-button{border:1px solid #d8ac61;background:linear-gradient(135deg,#5d432a,#26334a);color:#fff1ca;border-radius:6px;padding:7px 10px;font-size:10px;font-weight:800;cursor:pointer}.table-action-button:hover{filter:brightness(1.2);transform:translateY(-1px)}@media(max-width:760px){.table-phase-track{gap:3px}.table-phase-step{padding:4px 5px;font-size:7px}.table-action-button{padding:5px 7px;font-size:8px}.table-action-prompt{font-size:8px}}.duel-screen .shell{max-width:none;width:100%;padding-inline:12px}.duel-screen main{padding:6px 0 10px}.duel-screen .header{min-height:48px}.ocg-board{max-width:none!important;padding:8px!important;gap:6px!important}.ocg-zone-row.monster{max-width:620px!important}.ocg-slot.defense-position{z-index:3;transform:scaleX(1.24);box-shadow:0 0 0 1px #efcb7d88}.ocg-art{position:relative;overflow:hidden}.ocg-art img.horizontal{position:absolute;left:50%;top:50%;width:145%;height:auto;max-width:none;max-height:none;transform:translate(-50%,-50%) rotate(90deg);object-fit:contain}.ocg-art img.ocg-cardback-img.horizontal{width:142%;height:auto;transform:translate(-50%,-50%) rotate(90deg)}.ocg-graveyard{display:flex;align-items:center;gap:7px;margin:3px 0;padding:4px 6px;background:#0c1422aa;border:1px solid #53617a66;border-radius:5px;min-height:35px}.ocg-graveyard h3{margin:0;white-space:nowrap;font-size:8px}.ocg-gravecards{display:flex;gap:3px;overflow:hidden;max-width:100%}.ocg-grave-card{position:relative;flex:0 0 23px;width:23px;height:32px}.ocg-grave-card img{width:100%;height:100%;object-fit:cover;border-radius:2px}.ocg-grave-card span{display:none}.enemy-hand{display:flex;justify-content:center;gap:3px;height:34px;overflow:hidden;margin:1px auto}.enemy-hand img{height:32px;width:22px;object-fit:cover;border:1px solid #d1b475;border-radius:3px}.duel-relic-strip{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}.duel-relic{display:flex;align-items:center;gap:5px;max-width:190px;padding:3px 6px;border:1px solid #876e49;border-radius:5px;background:#191d2b;color:#f4d49c;font-size:8px}.duel-relic img{width:22px;height:22px;object-fit:cover;border-radius:3px}.duel-relic b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chain-mode-button{border:1px solid #d3aa68;background:#2b3447;color:#ffe3ad;border-radius:5px;padding:5px 8px;font-size:9px;font-weight:900;cursor:pointer}.effect-confirm-card{display:flex;align-items:center;gap:10px;max-width:400px;padding:8px;border:1px solid #d9b46c;border-radius:8px;background:#1b2436;text-align:left}.effect-confirm-card img{width:58px;height:84px;object-fit:contain;border-radius:4px}.effect-confirm-card strong{color:#f6d69d;font-size:11px}.effect-confirm-card p{max-height:70px;overflow:auto;margin:4px 0 0;color:#c3cbd9;font-size:9px;line-height:1.4}.attack-path{pointer-events:none;position:absolute;inset:0;width:100%;height:100%;z-index:6;overflow:visible}.attack-path>path{stroke:#ff514b;stroke-width:5;stroke-linecap:round;filter:drop-shadow(0 0 7px #ff413c);stroke-dasharray:1;stroke-dashoffset:1;animation:attack-draw .72s ease-out forwards}@keyframes attack-draw{to{stroke-dashoffset:0}}.duel-phase-notice{position:absolute;z-index:15;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#070b16c9;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);pointer-events:auto;animation:phase-enter 1.5s ease both}.duel-phase-notice span{font-size:12px;letter-spacing:5px;color:#f1ca7d}.duel-phase-notice strong{font-size:clamp(32px,6vw,64px);letter-spacing:2px;color:#fff0c5;text-shadow:0 0 30px #e7b765}.duel-opponent-notice{position:absolute;z-index:14;pointer-events:auto;left:50%;top:50%;transform:translate(-50%,-50%);padding:15px 24px;border:1px solid #e5bf7b;border-radius:9px;background:#151b2bea;color:#ffe4ae;font-size:clamp(15px,2vw,24px);font-weight:900;animation:phase-enter 1s ease both}@keyframes phase-enter{0%{opacity:0}12%,80%{opacity:1}to{opacity:0}}.deck-pile{position:relative;padding-left:29px!important}.deck-pile:before{content:"";position:absolute;left:6px;top:50%;width:19px;height:28px;transform:translateY(-50%);background:url(/assets/card-back-DiPgKnS_.png) center/cover;border:1px solid #d9bf8c;border-radius:2px;box-shadow:1px 1px #060911,2px 2px #d9bf8c}@media(max-height:760px){.duel-screen .header{min-height:42px}.ocg-board{padding:5px!important}.ocg-duel .ocg-player{padding:4px!important}.ocg-slot{height:clamp(42px,6.2vw,72px)}.ocg-emz-row .ocg-slot{height:clamp(40px,5.8vw,68px)}.ocg-hand .ocg-slot{height:70px}.ocg-player-head b{font-size:13px}.ocg-piles{margin:1px 0 2px}.ocg-pile{padding:3px 5px}.ocg-graveyard{min-height:28px}.ocg-grave-card,.ocg-grave-card img{height:25px}}@media(max-width:760px){.duel-screen .shell{padding-inline:5px}.duel-relic-strip{gap:3px}.duel-relic{font-size:7px}.effect-confirm-card{max-width:92vw}.ocg-zone-row.monster{max-width:620px!important}.ocg-graveyard{min-height:24px}.ocg-gravecards{max-height:22px}.ocg-grave-card{height:22px;width:16px;flex-basis:16px}.ocg-grave-card img{height:22px}.enemy-hand{height:24px}.enemy-hand img{height:22px;width:15px}}.shell:has(.roster){max-width:none;width:100%;padding-inline:12px}.roster{gap:12px}@media(max-width:760px){.shell:has(.roster){padding-inline:5px}.roster{gap:7px}}.duel-opponent-notice{inset:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;transform:none;border:0;border-radius:0;background:#070b16aa}.shell:has(.roster){padding-inline:6px}.roster{gap:10px}.roster .portrait{aspect-ratio:4/4.75}.roster .char-bottom{min-height:92px;padding:10px 12px}.roster .char-bottom b{font-size:19px}.roster .char-bottom small{font-size:11px}.starter-cards{flex-basis:132px;width:132px;height:78px;gap:4px;padding:4px}.starter-card{border-radius:4px}.ocg-duel{grid-template-columns:156px minmax(0,1fr)!important;align-items:start}.ocg-duel .duel-bar{grid-column:1/-1}.ocg-duel .duel-aside{display:flex;position:sticky;top:8px;grid-column:1;grid-row:2;flex-direction:column;align-items:stretch;gap:8px;padding:8px 6px;border:1px solid #43516b;border-radius:10px;background:linear-gradient(160deg,#1b2940,#111827)}.ocg-board{grid-column:2;grid-row:2;min-width:0;background:radial-gradient(ellipse at 50% 45%,#1d5264,#102b3d 72%,#0b1a2b)!important;border-color:#48839a!important;box-shadow:inset 0 0 40px #2ea4c21c}.ocg-field-layout{display:grid;gap:5px}.ocg-field-monsters{display:grid;grid-template-columns:minmax(42px,.55fr) minmax(0,5fr) minmax(42px,.55fr);gap:4px;align-items:center}.ocg-field-marker .ocg-slot{width:100%;height:clamp(54px,7.4vw,100px)}.ocg-field-monsters .ocg-zone-row.monster{width:100%;max-width:none!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.ocg-field-monsters .ocg-slot{min-width:0;height:clamp(70px,8vw,112px)}.ocg-grave-marker .ocg-graveyard{display:flex;flex-direction:column;gap:3px;min-width:0;padding:4px;background:#101d2bc9}.ocg-grave-marker .ocg-graveyard h3{white-space:normal;font-size:8px}.ocg-grave-marker .ocg-gravecards{flex-direction:column;max-height:100px;max-width:100%;overflow:auto}.ocg-field-spells{display:grid;grid-template-columns:minmax(48px,.55fr) minmax(0,7fr) minmax(48px,.55fr);gap:4px;align-items:center}.ocg-field-spells .ocg-zone-row.spell{width:100%;max-width:none!important;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.ocg-field-spells .ocg-slot{min-width:0;height:clamp(58px,7vw,96px)}.ocg-pile.extra-deck-pile,.ocg-pile.deck-pile{min-width:0;min-height:58px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;color:#f0d598;background:linear-gradient(145deg,#233853,#111c2b);border:1px solid #66829b;border-radius:7px;font-size:9px}.ocg-pile.extra-deck-pile{background:linear-gradient(145deg,#31455e,#1a2534)}.ocg-pile:disabled{opacity:.55;cursor:default}.ocg-player-top .ocg-player-head{border-color:#408199}.ocg-player-bottom .ocg-player-head{border-color:#d3a965}.ocg-emz-row{width:min(61%,720px);max-width:none!important;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:3px auto}.ocg-emz-row>span{min-width:0}.ocg-emz-row>.ocg-slot:nth-child(2){grid-column:2}.ocg-emz-row>.ocg-slot:nth-child(4){grid-column:4}.ocg-emz-row .ocg-slot{height:clamp(48px,5vw,72px);border-color:#5fa3b0;background:linear-gradient(145deg,#234c5a,#15293c)}.duel-center-controls{display:flex;align-items:center;justify-content:center;gap:8px;margin:2px auto}.duel-center-controls .ocg-center{display:flex;min-height:34px;padding:3px;border:0}.table-chain{font-size:9px;color:#b4c6d9;white-space:nowrap}.duel-relic-strip{display:flex;flex-direction:column;align-items:stretch;gap:6px}.duel-relic{max-width:none;min-height:42px;padding:5px 7px}.duel-relic i{font-style:normal;font-size:22px;color:#f1cb7a}.duel-relic img{width:28px;height:28px;flex:0 0 28px}.duel-relic b{white-space:normal;font-size:9px}.duel-aside .chain-mode-button,.duel-aside .table-action-button{width:100%;min-height:36px}.duel-phase-notice{position:fixed;z-index:50;inset:auto auto 50% 50%;width:auto;height:auto;min-width:150px;padding:10px 20px;transform:translate(-50%,50%);border:1px solid #dfb96d;border-radius:9px;background:#091827df;box-shadow:0 8px 30px #0008;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);pointer-events:none;animation:phase-enter .95s ease both}.duel-phase-notice span{font-size:9px;letter-spacing:3px}.duel-phase-notice strong{font-size:clamp(22px,4vw,42px)}.duel-opponent-notice{position:fixed;z-index:49;inset:auto auto 50% 50%;width:auto;height:auto;padding:12px 20px;transform:translate(-50%,50%);border:1px solid #e5bf7b;border-radius:9px;background:#091827eb;box-shadow:0 8px 30px #0008;pointer-events:none;animation:phase-enter .7s ease both}.extra-review{display:block;max-width:min(1100px,95vw);overflow:auto}.extra-review h2{margin-bottom:6px}.extra-review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:10px;margin-top:14px}.extra-review-card{display:flex;flex-direction:column;gap:5px;align-items:stretch;border:1px solid #586782;border-radius:7px;background:#142036;color:#f1e8d5;padding:6px;text-align:left}.extra-review-card img{width:100%;aspect-ratio:315/458;object-fit:contain}.extra-review-card b{font-size:9px;line-height:1.3}@media(max-width:760px){.shell:has(.roster){padding-inline:5px}.roster{gap:7px}.roster .portrait{aspect-ratio:4/4.4}.roster .char-bottom{min-height:72px;padding:5px}.roster .char-bottom b{font-size:11px}.roster .char-bottom small{font-size:7px}.starter-cards{flex-basis:74px;width:74px;height:48px;gap:2px;padding:2px}.ocg-duel{grid-template-columns:minmax(0,1fr)!important}.ocg-duel .duel-aside{position:static;grid-column:1;grid-row:2;flex-direction:row;align-items:center;flex-wrap:wrap;padding:4px}.duel-relic-strip{flex-direction:row;flex:1}.duel-relic{width:auto;min-height:30px}.duel-aside .chain-mode-button,.duel-aside .table-action-button{width:auto}.ocg-board{grid-column:1;grid-row:3;padding:4px!important}.ocg-field-monsters{grid-template-columns:minmax(27px,.4fr) minmax(0,5fr) minmax(27px,.4fr);gap:2px}.ocg-field-monsters .ocg-zone-row.monster{gap:2px}.ocg-field-monsters .ocg-slot{height:clamp(48px,12vw,78px)}.ocg-field-marker .ocg-slot{height:clamp(44px,10vw,68px)}.ocg-grave-marker .ocg-graveyard{padding:2px}.ocg-grave-marker .ocg-gravecards{max-height:68px}.ocg-field-spells{grid-template-columns:minmax(32px,.4fr) minmax(0,7fr) minmax(32px,.4fr);gap:2px}.ocg-field-spells .ocg-zone-row.spell{gap:2px}.ocg-field-spells .ocg-slot{height:clamp(38px,9vw,58px)}.ocg-pile.extra-deck-pile,.ocg-pile.deck-pile{min-height:40px;padding:2px;font-size:7px}.ocg-emz-row{width:min(68%,620px);gap:3px}.ocg-emz-row .ocg-slot{height:clamp(36px,8vw,52px)}.duel-center-controls .ocg-center{flex-direction:column}.extra-review-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.shell:has(.roster){max-width:none!important;width:100%;padding-inline:6px}.shell:has(.roster) main{width:100%;padding-inline:0}.roster{width:100%;max-width:none!important;margin-left:0;margin-right:0}.ocg-field-monsters,.ocg-field-spells{grid-template-columns:minmax(0,1fr) minmax(0,5fr) minmax(0,1fr)}.ocg-field-spells .ocg-zone-row.spell{grid-template-columns:repeat(5,minmax(0,1fr))}.ocg-pile.card-stack-pile{position:relative;display:block;width:100%;min-width:0;height:clamp(58px,7vw,96px);min-height:0;padding:0!important;overflow:hidden;border-radius:7px;background:#102038;border:1px solid #7389a5}.ocg-pile.card-stack-pile:before{content:none!important}.ocg-pile.card-stack-pile img{display:block;width:100%;height:100%;object-fit:cover}.ocg-pile.card-stack-pile .stack-count{position:absolute;top:4px;right:5px;min-width:19px;padding:2px 4px;border:1px solid #f3d18b;border-radius:4px;background:#07101ddf;color:#ffe2a0;font-size:10px;font-weight:900;text-align:center;box-shadow:0 1px 4px #0008}.ocg-grave-marker .card-stack-pile{height:clamp(70px,8vw,112px)}.ocg-field-layout{grid-template-rows:auto auto auto}.ocg-banish-status{justify-self:end;font-size:8px;color:#aabbd0}.ocg-hand{justify-content:center!important;width:100%;flex-wrap:wrap}.ocg-player-bottom>h3{text-align:center}.ocg-shared-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,5fr) minmax(0,1fr);gap:5px;align-items:center;margin:3px 0}.ocg-emz-row{width:100%;margin:0;gap:5px}.duel-select-panel,.duel-phase-panel{min-width:0;min-height:100%;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:4px;border:1px solid #47617a66;border-radius:6px;background:#0b1725aa;color:#c7d4e4;font-size:8px;line-height:1.35}.duel-select-panel .effect-confirm-card{max-width:100%;padding:3px;gap:4px}.duel-select-panel .effect-confirm-card img{width:28px;height:42px}.duel-select-panel .effect-confirm-card p{max-height:38px;font-size:7px}.duel-select-panel .table-action-list{display:flex;flex-direction:column;gap:3px}.duel-select-panel .table-action-button{padding:4px 3px;font-size:7px;line-height:1.2}.duel-phase-panel .table-phase-track{display:flex;flex-direction:column;align-items:stretch;gap:3px}.duel-phase-panel .table-phase-step{padding:4px 3px;text-align:center;font-size:7px;line-height:1.2}.duel-phase-panel .table-phase-step.active{box-shadow:0 0 8px #eab55e55}.duel-phase-panel button.table-phase-step{cursor:pointer}.ocg-field-monsters .ocg-zone-row.monster{gap:5px}.ocg-field-monsters .ocg-slot{height:clamp(70px,8vw,112px)}.ocg-field-spells .ocg-slot{height:clamp(58px,7vw,96px)}.duel-phase-notice,.duel-opponent-notice{z-index:200;pointer-events:none}.ocg-player-top .ocg-field-spells,.ocg-player-top .ocg-field-monsters,.ocg-player-bottom .ocg-field-monsters,.ocg-player-bottom .ocg-field-spells{margin-bottom:2px}@media(max-width:760px){.ocg-duel{grid-template-columns:minmax(0,1fr)!important}.ocg-field-monsters,.ocg-field-spells{grid-template-columns:minmax(0,1fr) minmax(0,5fr) minmax(0,1fr)}.ocg-field-monsters .ocg-slot{height:clamp(48px,12vw,78px)}.ocg-field-spells .ocg-slot,.ocg-pile.card-stack-pile{height:clamp(38px,9vw,58px)}.ocg-grave-marker .card-stack-pile{height:clamp(48px,12vw,78px)}.ocg-shared-row{grid-template-columns:minmax(0,1fr) minmax(0,5fr) minmax(0,1fr);gap:2px}.ocg-emz-row{gap:2px}.duel-select-panel,.duel-phase-panel{padding:2px}.duel-select-panel .table-action-button,.duel-phase-panel .table-phase-step{font-size:6px;padding:3px 1px}}.ocg-pile.card-stack-pile img{object-fit:contain}.shell:has(.roster){max-width:none!important;width:100vw!important;margin:0!important;padding-inline:14px!important}.shell:has(.roster) main{width:100%!important;max-width:none!important}.roster{width:100%!important;max-width:none!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.character{min-width:0}.char-bottom{min-height:120px;flex-direction:column;justify-content:center;align-items:stretch;gap:7px;padding:8px}.char-text{width:100%;flex:none;align-items:center;text-align:center}.char-text b,.char-text small{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.starter-cards{width:100%;flex:0 0 68px;height:68px;gap:5px;padding:4px}@media(max-width:760px){.shell:has(.roster){padding-inline:8px!important}.roster{grid-template-columns:repeat(5,minmax(150px,1fr));gap:8px;overflow-x:auto;padding:0 0 8px}.char-bottom{min-height:96px;padding:6px}.char-bottom b{font-size:clamp(10px,2.6vw,15px)}.char-bottom small{font-size:clamp(8px,2vw,10px)}.starter-cards{height:52px;flex-basis:52px}.ocg-slot.facedown .ocg-art{height:100%}}.shell:has(.roster){width:100%!important;max-width:none!important;margin:auto!important;padding-inline:6px!important}.shell:has(.roster) main{width:100%!important}.shell:has(.roster) .section-head{max-width:80%;margin-bottom:24px}.roster{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.roster .char-bottom{min-height:64px;flex-direction:row;justify-content:center;padding:7px}.roster .char-text{width:auto;flex:1;align-items:center;text-align:center}.starter-preview{margin:16px 0 10px;padding:10px;border:1px solid #46516a;border-radius:9px;background:#141c2b}.starter-preview h3{margin:0 0 8px;color:var(--gold);font-size:12px}.starter-preview .starter-cards{width:100%;height:clamp(90px,14vw,150px);flex:0 0 auto;gap:8px}.starter-preview .starter-card{border:1px solid #53617b;background:#0a101c;padding:2px}.starter-preview .starter-card-thumb{object-fit:contain}.ocg-slot.facedown{padding:2px}.ocg-slot.facedown .ocg-art{width:100%;height:100%}.ocg-slot.facedown .ocg-cardback-img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain}.ocg-slot.facedown small{display:none}@media(max-width:760px){.shell:has(.roster){padding-inline:5px!important}.roster{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.roster .char-bottom{min-height:54px;padding:4px}.roster .char-bottom b{font-size:clamp(9px,2.3vw,14px)}.roster .char-bottom small{font-size:clamp(7px,1.8vw,9px)}.starter-preview .starter-cards{height:92px}}.ocg-slot.facedown .ocg-art{display:grid!important;place-items:center!important;overflow:hidden!important}.ocg-slot.facedown .ocg-art img.ocg-cardback-img{display:block!important;width:auto!important;height:100%!important;max-width:100%!important;max-height:100%!important;aspect-ratio:315/458;object-fit:contain!important;transform:none!important;position:static!important}.ocg-slot.facedown .ocg-art img.ocg-cardback-img.horizontal{width:100%!important;height:auto!important;max-width:100%!important;max-height:100%!important;aspect-ratio:458/315;transform:none!important}.duel-screen main{padding:12px 0 18px}body:has(.deck-layout) main{padding:14px 0 20px}body:has(.deck-layout) .section-head{margin:0 auto 14px}body:has(.deck-layout) .section-head h1{margin:6px 0;font-size:clamp(26px,3vw,38px)}body:has(.deck-layout) .deck-layout{height:calc(100dvh - 210px);min-height:360px}body:has(.deck-layout) .inventory,body:has(.deck-layout) .deckbox{min-height:0;max-height:100%;overflow:auto}@media(max-width:760px){body:has(.deck-layout) .deck-layout{height:auto;min-height:0;grid-template-columns:1fr}body:has(.deck-layout) .inventory,body:has(.deck-layout) .deckbox{max-height:52dvh}}main{padding:22px 0 28px}.section-head{margin:6px auto 20px}.section-head h1{margin:8px 0;font-size:clamp(28px,3.6vw,46px)}.section-head p{margin:7px 0;line-height:1.45}.note{margin:12px 0;padding:10px 14px;line-height:1.45}.buttons,.backbar,.center-actions{margin-top:18px}.duel-select-panel{display:none!important}.ocg-shared-row{grid-template-columns:minmax(0,5fr) minmax(92px,1fr)!important}.ocg-field-spells .ocg-slot .ocg-art{height:calc(100% - 14px)!important;display:grid!important;place-items:center!important;overflow:hidden!important}.ocg-field-spells .ocg-slot.facedown .ocg-art{height:100%!important}.ocg-field-spells .ocg-slot .ocg-art img:not(.horizontal){display:block;width:auto!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}.ocg-field-spells .ocg-slot.facedown .ocg-art img.ocg-cardback-img{width:auto!important;height:100%!important;aspect-ratio:315/458}.card-action-emblem{display:grid;place-items:center;width:100%;height:100%;border:1px solid #846c49;border-radius:8px;background:radial-gradient(circle,#705633,#151a28 70%);color:#f1d09a;font-size:clamp(40px,8vw,90px)}.card-actions-dialog .card-actions-content .btn{font-size:clamp(13px,1.5vw,17px);padding:11px 14px}.card-actions-description{max-height:25vh;overflow:auto;margin:0 0 10px;color:#c3cbd9;font-size:clamp(11px,1.15vw,13px);line-height:1.5;white-space:pre-line}.reveal-screen{position:relative;padding-inline:16px!important}.reveal-screen>.header{position:relative;top:auto;left:auto;right:auto;min-height:42px!important;justify-content:flex-end;border:0}.reveal-screen>.header .logo,.reveal-screen>.footer{display:none}.reveal-screen main{padding:8px 0}.reveal-screen .revealed{width:100%;max-width:980px;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.reveal-screen .cardtile{padding:5px}.reveal-screen .cardart{height:clamp(100px,20vh,150px);aspect-ratio:auto}.reveal-screen .cardname{min-height:18px;margin:5px 1px 2px;font-size:clamp(8px,.85vw,11px);line-height:1.2}.reveal-screen .cardstats{font-size:clamp(7px,.75vw,10px);line-height:1.2}.reveal-screen .center-actions{margin-top:9px}@media(max-height:680px){.reveal-screen .cardart{height:clamp(82px,17vh,116px)}.reveal-screen .center-actions{margin-top:6px}}@media(max-width:760px){.reveal-screen{padding-inline:6px!important}.reveal-screen .revealed{gap:4px}.reveal-screen .cardtile{padding:3px}.reveal-screen .center-actions{margin-top:6px}}.extra-review{width:min(850px,95vw);max-height:92vh}.extra-review-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.extra-review-card img{max-height:250px}@media(max-width:520px){.extra-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.ocg-opponent-hand{display:flex;justify-content:center;align-items:center;gap:4px;min-height:0;margin:2px auto 6px}.opponent-hand-card{display:grid;place-items:center;width:clamp(22px,2.7vw,36px);height:clamp(32px,4vw,52px);padding:2px;border:1px solid #8392a8;border-radius:4px;background:#0b1423;box-shadow:0 2px 5px #0005}.opponent-hand-card img{display:block;width:100%;height:100%;object-fit:contain}.ocg-pile.card-stack-pile img{object-fit:contain!important;padding:3px;background:#0b1423}.ocg-hand .ocg-slot{flex:0 0 70px!important;height:102px!important}.ocg-hand .ocg-slot .ocg-art{height:calc(100% - 14px)!important;flex:1;min-height:0}.ocg-hand .ocg-slot .ocg-art img:not(.horizontal){display:block;width:auto!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}.ocg-field-monsters .ocg-slot.occupied:not(.facedown) .ocg-art img:not(.horizontal){display:block;width:auto!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}@media(max-width:760px){.ocg-hand .ocg-slot{flex-basis:62px!important;height:90px!important}.ocg-opponent-hand{margin:1px auto 4px}.opponent-hand-card{width:clamp(18px,5vw,28px);height:clamp(27px,7vw,40px)}}body:has(.deck-screen) main{padding:10px 0 14px}body:has(.deck-screen) .section-head{margin:0 auto 10px}body:has(.deck-screen) .section-head h1{margin:4px 0;font-size:clamp(24px,2.7vw,34px)}body:has(.deck-screen) .section-head p{margin:5px 0;font-size:12px}body:has(.deck-screen) .deck-layout{height:calc(100dvh - 194px);min-height:390px;grid-template-columns:minmax(175px,210px) minmax(0,1fr);gap:14px;align-items:stretch}body:has(.deck-screen) .deck-filters,body:has(.deck-screen) .inventory,body:has(.deck-screen) .deckbox{min-width:0;min-height:0;max-height:100%;overflow:auto;background:#1a2031;border:1px solid #333d57;border-radius:10px;padding:14px}body:has(.deck-screen) .deck-filters{position:sticky;top:10px;align-self:start;max-height:calc(100dvh - 194px)}body:has(.deck-screen) .deck-filters .subhead{margin-bottom:14px;padding-bottom:9px}body:has(.deck-screen) .deck-filters .subhead h2{font-size:16px}body:has(.deck-screen) .filter-reset{border:0;background:transparent;color:var(--gold);font-size:11px;padding:4px;cursor:pointer}body:has(.deck-screen) .deck-filter-field{display:flex;flex-direction:column;gap:6px;margin:0 0 13px;color:#b9c1d3;font-size:11px;font-weight:750}body:has(.deck-screen) .deck-filter-field input,body:has(.deck-screen) .deck-filter-field select{width:100%;min-width:0;border:1px solid #414b65;border-radius:6px;background:#111829;color:var(--text);padding:9px 8px;font-size:12px}body:has(.deck-screen) .filter-hint{font-size:10px;color:var(--muted);margin:15px 0 0}body:has(.deck-screen) .deck-content{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px;min-width:0;min-height:0}body:has(.deck-screen) .inventory{padding:15px}body:has(.deck-screen) .inventory .subhead{margin-bottom:12px}body:has(.deck-screen) .cardgrid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}body:has(.deck-screen) .deckbox{position:static;padding:12px 15px}body:has(.deck-screen) .deckbox .subhead{margin-bottom:8px;padding-bottom:8px}body:has(.deck-screen) .deckbox .subhead h2{font-size:15px}body:has(.deck-screen) .deckbox .extrasub{margin-top:10px}body:has(.deck-screen) .deckbox .deckchips{min-height:0;max-height:55px;overflow:auto}body:has(.deck-screen) .deckbox .deck-actions{margin:10px 0 0}body:has(.deck-screen) .deckbox .note{margin:8px 0 0;padding:8px 10px;font-size:10px}body:has(.deck-screen) .deck-empty{grid-column:1/-1;padding:20px;text-align:center}@media(max-width:1000px){body:has(.deck-screen) .cardgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:760px){body:has(.deck-screen) main{padding:10px 0 20px}body:has(.deck-screen) .deck-layout{height:auto;min-height:0;grid-template-columns:1fr;gap:10px}body:has(.deck-screen) .deck-filters{position:static;max-height:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px;padding:10px}body:has(.deck-screen) .deck-filters .subhead{grid-column:1/-1;margin-bottom:7px}body:has(.deck-screen) .deck-filter-field{margin-bottom:8px}body:has(.deck-screen) .filter-hint{align-self:center}body:has(.deck-screen) .deck-content{grid-template-rows:minmax(360px,58dvh) auto}body:has(.deck-screen) .inventory{max-height:58dvh}body:has(.deck-screen) .deckbox{max-height:none}body:has(.deck-screen) .cardgrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}}@media(max-width:460px){body:has(.deck-screen) .deck-content{grid-template-rows:minmax(300px,55dvh) auto}body:has(.deck-screen) .cardgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}body:has(.deck-screen) .inventory{padding:8px}body:has(.deck-screen) .cardtile{padding:5px}}body:has(.deck-screen) .deck-layout{grid-template-columns:minmax(265px,320px) minmax(0,1fr);height:calc(100dvh - 190px);gap:12px}body:has(.deck-screen) .deck-rail{display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;min-width:0;min-height:0}body:has(.deck-screen) .deck-filters{position:static;max-height:none;padding:11px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px;align-content:start}body:has(.deck-screen) .deck-filters>.subhead,body:has(.deck-screen) .deck-filters>.deck-level-filter,body:has(.deck-screen) .deck-filters>.filter-hint{grid-column:1/-1}body:has(.deck-screen) .deck-filter-field{font-size:10px;margin-bottom:8px}body:has(.deck-screen) .deck-filter-field input,body:has(.deck-screen) .deck-filter-field select{padding:7px 6px;font-size:11px}body:has(.deck-screen) .deck-level-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:8px;color:#b9c1d3;font-size:10px;font-weight:750}body:has(.deck-screen) .deck-level-filter>span{grid-column:1/-1}body:has(.deck-screen) .deck-level-filter label{display:flex;align-items:center;gap:6px}body:has(.deck-screen) .deck-level-filter input{width:100%;min-width:0;padding:6px;border:1px solid #414b65;border-radius:6px;background:#111829;color:var(--text)}body:has(.deck-screen) .deck-rail>.inventory{padding:10px;overflow:auto}body:has(.deck-screen) .collection-list{display:flex;flex-direction:column;gap:6px}body:has(.deck-screen) .collection-row{display:grid;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:9px;padding:5px;border-radius:7px}body:has(.deck-screen) .collection-row .cardart{width:50px;height:72px;aspect-ratio:auto}body:has(.deck-screen) .collection-row .cardart>img{width:100%;height:100%;object-fit:cover;border-radius:3px}body:has(.deck-screen) .collection-card-name{font-size:11px;font-weight:750;line-height:1.3;overflow-wrap:anywhere;padding-right:28px}body:has(.deck-screen) .collection-add{position:absolute;z-index:2;top:3px;left:3px;width:23px;height:23px;padding:0;border:1px solid #f3ce8d;border-radius:5px;background:#172033ed;color:#ffe1aa;font-size:18px;font-weight:900;line-height:19px;box-shadow:0 1px 5px #0008}body:has(.deck-screen) .collection-add:hover{background:#f0c785;color:#1c1d28}body:has(.deck-screen) .deck-workspace{min-width:0;min-height:0;overflow:auto}body:has(.deck-screen) .deck-workspace>.deckbox{position:static;max-height:none;height:100%;padding:14px;overflow:auto}body:has(.deck-screen) .deck-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(58px,1fr));gap:6px;align-items:start}body:has(.deck-screen) .deck-image-card{display:block;min-width:0;padding:2px;border:1px solid #404b65;border-radius:4px;background:#101624;cursor:pointer;line-height:0}body:has(.deck-screen) .deck-image-card:hover{border-color:var(--gold);filter:brightness(1.12)}body:has(.deck-screen) .deck-image-card img{display:block;width:100%;aspect-ratio:315/458;object-fit:cover;border-radius:2px}body:has(.deck-screen) .deckbox .extrasub{margin-top:12px}body:has(.deck-screen) .extra-image-grid{grid-template-columns:repeat(auto-fill,minmax(58px,82px))}body:has(.deck-screen) .deckbox .deck-actions{margin:14px 0 0}@media(max-width:760px){body:has(.deck-screen) .deck-layout{height:auto;grid-template-columns:1fr}body:has(.deck-screen) .deck-rail{grid-template-rows:auto minmax(220px,38dvh)}body:has(.deck-screen) .deck-filters{max-height:none}body:has(.deck-screen) .deck-rail>.inventory{max-height:38dvh}body:has(.deck-screen) .deck-workspace{max-height:60dvh}body:has(.deck-screen) .deck-workspace>.deckbox{height:auto;max-height:60dvh}}body:has(.deck-screen) .deck-layout{grid-template-columns:minmax(0,1fr) minmax(245px,320px);grid-template-rows:auto minmax(0,1fr);grid-template-areas:"filters inventory" "workspace inventory";height:calc(100dvh - 190px);min-height:390px;gap:10px 12px}body:has(.deck-screen) .deck-rail{display:contents}body:has(.deck-screen) .deck-filters{grid-area:filters;align-self:start;max-height:none}body:has(.deck-screen) .deck-rail>.inventory{grid-area:inventory;max-height:100%;height:100%;padding:10px;overflow:auto}body:has(.deck-screen) .deck-workspace{grid-area:workspace;max-height:100%;height:100%}body:has(.deck-screen) .deck-workspace>.deckbox{height:100%;max-height:100%}@media(max-width:760px){body:has(.deck-screen) .deck-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(300px,52dvh) minmax(220px,36dvh);grid-template-areas:"filters" "workspace" "inventory";height:auto;min-height:0}body:has(.deck-screen) .deck-filters{max-height:none}body:has(.deck-screen) .deck-rail>.inventory{height:auto;max-height:36dvh}body:has(.deck-screen) .deck-workspace{height:auto;max-height:52dvh}body:has(.deck-screen) .deck-workspace>.deckbox{height:100%;max-height:52dvh}}body:has(.deck-screen) .deck-layout{height:calc(100dvh - 270px)}body:has(.deck-screen) .deck-controls{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:9px}body:has(.deck-screen) .deck-controls .note{flex:1 1 250px;margin:0;padding:8px 11px;font-size:10px}@media(max-width:760px){body:has(.deck-screen) .deck-layout{height:auto}body:has(.deck-screen) .deck-controls{justify-content:stretch}body:has(.deck-screen) .deck-controls>.btn{flex:1 1 180px}body:has(.deck-screen) .deck-controls .note{flex-basis:100%}}body:has(.deck-screen) .deck-layout{min-height:0;grid-template-rows:auto minmax(0,1fr)}body:has(.deck-screen) .deck-filters{position:relative;padding:7px 9px;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px 7px}body:has(.deck-screen) .deck-filters>.subhead{grid-column:1/-1;justify-content:flex-end;margin:0 0 2px;padding:0;border:0;min-height:0}body:has(.deck-screen) .deck-filters>.subhead h2{display:none}body:has(.deck-screen) .filter-reset{padding:2px 6px;border:1px solid #48536c;border-radius:4px;background:#20283a;font-size:9px;line-height:1.1}body:has(.deck-screen) .deck-filters>.deck-filter-field{gap:2px;margin:0 0 3px;font-size:9px;line-height:1.1}body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(2),body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(3){grid-column:span 3}body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(4),body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(5),body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(6){grid-column:span 2}body:has(.deck-screen) .deck-filter-field input,body:has(.deck-screen) .deck-filter-field select{height:27px;min-height:27px;padding:4px 6px;font-size:10px}body:has(.deck-screen) .deck-level-filter{grid-column:1/-1;grid-template-columns:minmax(75px,auto) minmax(0,1fr) minmax(0,1fr);align-items:center;gap:5px;margin:0 0 3px;font-size:9px}body:has(.deck-screen) .deck-level-filter>span{grid-column:1;white-space:nowrap}body:has(.deck-screen) .deck-level-filter label{gap:4px;font-size:9px;white-space:nowrap}body:has(.deck-screen) .deck-level-filter input{height:25px;padding:3px 5px;font-size:10px}body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(8){grid-column:span 2}body:has(.deck-screen) .deck-filters>.filter-hint{grid-column:span 4;align-self:center;margin:0;text-align:right;font-size:9px}body:has(.deck-screen) .deck-rail>.inventory>.subhead{display:none}body:has(.deck-screen) .collection-row{grid-template-columns:45px minmax(0,1fr);gap:7px;padding:4px}body:has(.deck-screen) .collection-row .cardart{width:45px;height:65px}body:has(.deck-screen) .collection-card-name{max-width:118px;justify-self:start;padding:0;text-align:left;font-size:9px;font-weight:650;line-height:1.25}body:has(.deck-screen) .deck-controls>.btn{min-height:34px;padding:6px 11px;font-size:12px}body:has(.deck-screen) .deck-controls .note{flex:0 1 280px;padding:6px 9px;font-size:9px}@media(max-width:760px){body:has(.deck-screen) .deck-layout{min-height:0}body:has(.deck-screen) .deck-filters{grid-template-columns:repeat(6,minmax(0,1fr))}}body:has(.deck-screen) .section-head{display:none}body:has(.deck-screen) .deck-layout{height:calc(100dvh - 175px)}body:has(.deck-screen) .collection-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;align-content:start}body:has(.deck-screen) .collection-row{display:block;min-width:0;padding:3px;text-align:center;cursor:pointer}body:has(.deck-screen) .collection-row .cardart{position:relative;width:100%;height:102px;display:flex;justify-content:center;overflow:visible}body:has(.deck-screen) .collection-row .cardart>img{position:absolute;top:0;left:50%;transform:translate(-50%);width:auto;height:82px;max-width:100%;object-fit:contain}body:has(.deck-screen) .collection-row .card-count{top:2px;right:2px;padding:2px 4px;font-size:9px}body:has(.deck-screen) .collection-row .collection-add{top:auto;bottom:1px;left:50%;transform:translate(-50%);width:25px;height:19px;border-radius:4px;font-size:15px;line-height:15px}body:has(.deck-screen) .collection-card-name{display:none}@media(max-width:760px){body:has(.deck-screen) .deck-layout{height:auto}}body:has(.deck-screen) .deck-filters{grid-template-columns:repeat(8,minmax(0,1fr));grid-auto-rows:min-content}body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(2){grid-column:1/span 4;grid-row:2}body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(3){grid-column:5/span 4;grid-row:2}body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(4){grid-column:1/span 2;grid-row:3}body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(5){grid-column:3/span 2;grid-row:3}body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(6){grid-column:5/span 2;grid-row:3}body:has(.deck-screen) .deck-filters>.deck-level-filter{grid-column:1/span 6;grid-row:4}body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(8){grid-column:7/span 2;grid-row:3;align-self:end}body:has(.deck-screen) .deck-filter-field select{width:max-content;max-width:100%;align-self:flex-start}body:has(.deck-screen) .deck-level-filter{grid-template-columns:minmax(75px,auto) minmax(0,1fr) minmax(0,1fr)}@media(max-width:760px){body:has(.deck-screen) .deck-filters{grid-template-columns:repeat(8,minmax(0,1fr))}}@media(max-width:460px){body:has(.deck-screen) .deck-filters{grid-template-columns:repeat(4,minmax(0,1fr))}body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(2){grid-column:1/span 2;grid-row:2}body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(3){grid-column:3/span 2;grid-row:2}body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(4){grid-column:1/span 2;grid-row:3}body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(5){grid-column:3/span 2;grid-row:3}body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(6){grid-column:1/span 2;grid-row:4}body:has(.deck-screen) .deck-filters>.deck-filter-field:nth-child(8){grid-column:3/span 2;grid-row:4}body:has(.deck-screen) .deck-filters>.deck-level-filter{grid-column:1/-1;grid-row:5}body:has(.deck-screen) .deck-filters>.filter-hint{grid-column:1/-1;grid-row:6}}body:has(.deck-screen) .deck-filters>.filter-search{grid-column:1/span 4;grid-row:2}body:has(.deck-screen) .deck-filters>.filter-zone{grid-column:5/span 4;grid-row:2}body:has(.deck-screen) .deck-filters>.filter-card-type{grid-column:1/span 4;grid-row:3}body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-card-type{grid-column:1/span 4;grid-row:3}body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-subtype{grid-column:5/span 4;grid-row:3}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-card-type{grid-column:1/span 2;grid-row:3}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-subtype{grid-column:3/span 3;grid-row:3}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-attribute{grid-column:6/span 3;grid-row:3}body:has(.deck-screen) .deck-filters>.deck-level-filter{grid-column:1/span 6;grid-row:4;grid-template-columns:max-content 36px 9px 36px;justify-content:start;gap:4px;align-items:center;width:max-content;max-width:100%}body:has(.deck-screen) .deck-filters>.deck-level-filter>span{grid-column:1}body:has(.deck-screen) .deck-filters>.deck-level-filter input{width:36px;min-width:36px;height:23px;padding:2px;text-align:center;font-size:10px;appearance:textfield}body:has(.deck-screen) .deck-filters>.deck-level-filter input::-webkit-inner-spin-button,body:has(.deck-screen) .deck-filters>.deck-level-filter input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}body:has(.deck-screen) .deck-filters>.deck-level-filter>i{font-style:normal;text-align:center}body:has(.deck-screen) .deck-filters>.filter-hint{grid-column:7/span 2;grid-row:4}@media(max-width:460px){body:has(.deck-screen) .deck-filters>.filter-search{grid-column:1/span 2;grid-row:2}body:has(.deck-screen) .deck-filters>.filter-zone{grid-column:3/span 2;grid-row:2}body:has(.deck-screen) .deck-filters>.filter-card-type{grid-column:1/span 2;grid-row:3}body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-subtype{grid-column:3/span 2;grid-row:3}body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-card-type{grid-column:1/span 2;grid-row:3}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-subtype{grid-column:1/span 2;grid-row:4}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-attribute{grid-column:3/span 2;grid-row:4}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-card-type{grid-column:1/span 2;grid-row:3}body:has(.deck-screen) .deck-filters>.deck-level-filter{grid-column:1/span 3;grid-row:5}body:has(.deck-screen) .deck-filters>.filter-hint{grid-column:4/span 1;grid-row:5;text-align:right}}body:has(.deck-screen) .deck-filters>.filter-search,body:has(.deck-screen) .deck-filters>.filter-zone{grid-row:2!important}body:has(.deck-screen) .deck-filters>.filter-search{grid-column:1/span 4!important}body:has(.deck-screen) .deck-filters>.filter-zone{grid-column:5/span 4!important}body:has(.deck-screen) .deck-filters:not(:has(.filter-subtype))>.filter-card-type,body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-card-type{grid-column:1/span 3!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-subtype{grid-column:4/span 3!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-card-type{grid-column:1/span 2!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-subtype{grid-column:3/span 3!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-attribute{grid-column:6/span 3!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.deck-level-filter{grid-column:1/span 6!important;grid-row:4!important;grid-template-columns:max-content 36px 9px 36px!important;gap:4px;width:max-content;max-width:100%;align-items:center}body:has(.deck-screen) .deck-level-filter input{width:36px;min-width:36px;height:23px;padding:2px;text-align:center;appearance:textfield}body:has(.deck-screen) .deck-level-filter input::-webkit-inner-spin-button,body:has(.deck-screen) .deck-level-filter input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}body:has(.deck-screen) .deck-level-filter>i{font-style:normal;text-align:center}@media(max-width:460px){body:has(.deck-screen) .deck-filters>.filter-search{grid-column:1/span 2!important;grid-row:2!important}body:has(.deck-screen) .deck-filters>.filter-zone{grid-column:3/span 2!important;grid-row:2!important}body:has(.deck-screen) .deck-filters:not(:has(.filter-subtype))>.filter-card-type,body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-card-type,body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-card-type{grid-column:1/span 2!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-subtype{grid-column:3/span 2!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-subtype{grid-column:1/span 2!important;grid-row:4!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-attribute{grid-column:3/span 2!important;grid-row:4!important}body:has(.deck-screen) .deck-filters:not(:has(.filter-attribute))>.filter-hint{grid-column:1/-1!important;grid-row:4!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.deck-level-filter{grid-column:1/span 3!important;grid-row:5!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-hint{grid-column:4/span 1!important;grid-row:5!important;text-align:right}}body:has(.deck-screen) .deck-filters>.filter-search{grid-column:1/span 4!important;grid-row:2!important}body:has(.deck-screen) .deck-filters>.filter-card-type{grid-column:5/span 4!important;grid-row:2!important}body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-subtype{grid-column:1/span 3!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-subtype{grid-column:1/span 3!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-attribute{grid-column:4/span 3!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:not(:has(.filter-attribute))>.filter-hint{grid-column:7/span 2!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.deck-level-filter{grid-column:1/span 3!important;grid-row:4!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-hint{grid-column:7/span 2!important;grid-row:4!important}@media(max-width:460px){body:has(.deck-screen) .deck-filters>.filter-search{grid-column:1/span 2!important;grid-row:2!important}body:has(.deck-screen) .deck-filters>.filter-card-type{grid-column:3/span 2!important;grid-row:2!important}body:has(.deck-screen) .deck-filters:not(:has(.filter-subtype))>.filter-card-type,body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-card-type,body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-card-type{grid-column:1/span 2!important;grid-row:3!important}}.ocg-slot.occupied:not(.facedown):not(.hand){padding:2px}.ocg-slot.occupied:not(.facedown):not(.hand)>.ocg-art{width:100%;height:100%!important;min-height:0;flex:1;overflow:hidden;display:grid;place-items:center}.ocg-slot.occupied:not(.facedown):not(.hand)>.ocg-art img:not(.horizontal){display:block;width:auto!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}.ocg-slot.occupied:not(.facedown):not(.hand)>.ocg-art img.horizontal{position:static!important;width:auto!important;height:100%!important;max-width:100%!important;max-height:100%!important;transform:none!important;object-fit:contain!important}.ocg-slot.occupied:not(.facedown):not(.hand)>small,.ocg-slot.occupied:not(.facedown):not(.hand)>b{display:none!important}.ocg-field-monsters .ocg-slot.occupied:not(.facedown)>.ocg-art{width:100%;height:calc(100% - 22px)!important;min-height:0;flex:0 1 auto;overflow:hidden;display:grid;place-items:center}.ocg-field-monsters .ocg-slot.occupied:not(.facedown)>.ocg-art img{position:static!important;display:block;width:auto!important;height:100%!important;max-width:100%!important;max-height:100%!important;transform:none!important;object-fit:contain!important}.ocg-field-monsters .ocg-slot.facedown>.ocg-art img.ocg-cardback-img{width:auto!important;height:100%!important;max-width:100%!important;object-fit:contain!important;transform:none!important}.ocg-field-monsters .ocg-slot.occupied>.ocg-art{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;min-height:0!important;flex:1 1 auto!important;overflow:hidden!important}.ocg-field-monsters .ocg-slot.occupied>.ocg-art>.ocg-card-frame{display:block!important;justify-self:center!important;align-self:center!important;width:auto!important;height:100%!important;max-width:100%!important;max-height:100%!important;aspect-ratio:315/458!important;flex:0 1 auto!important;overflow:hidden!important}.ocg-field-monsters .ocg-slot.facedown>.ocg-art>.ocg-card-frame{height:100%!important}.ocg-field-monsters .ocg-slot.occupied>.ocg-art>.ocg-card-frame>img{position:static!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;aspect-ratio:315/458!important;transform:none!important;object-fit:contain!important}.ocg-field-monsters .ocg-slot.occupied:not(.facedown)>small{display:block!important;flex:0 0 auto;max-height:1.2em;padding:0 2px;white-space:nowrap;text-overflow:ellipsis}.ocg-field-monsters .ocg-slot.occupied:not(.facedown)>b{display:block!important;flex:0 0 auto;line-height:1.1;white-space:nowrap}.ocg-field-monsters .ocg-slot.occupied>.ocg-art>.ocg-card-frame,.ocg-field-spells .ocg-slot.occupied>.ocg-art>.ocg-card-frame{display:block!important;position:relative!important;justify-self:center!important;align-self:center!important;width:auto!important;height:100%!important;max-width:100%!important;max-height:100%!important;aspect-ratio:315/458!important;flex:0 1 auto!important;overflow:hidden!important}.ocg-field-monsters .ocg-slot.occupied>.ocg-art>.ocg-card-frame.horizontal{aspect-ratio:458/315!important;container-type:size}.ocg-field-monsters .ocg-slot.occupied>.ocg-art>.ocg-card-frame>img,.ocg-field-spells .ocg-slot.occupied>.ocg-art>.ocg-card-frame>img{position:static!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;transform:none!important;object-fit:contain!important}.ocg-field-monsters .ocg-slot.occupied>.ocg-art>.ocg-card-frame.horizontal>img{position:absolute!important;left:50%!important;top:50%!important;width:100cqh!important;height:100cqw!important;max-width:none!important;max-height:none!important;transform:translate(-50%,-50%) rotate(90deg)!important;object-fit:contain!important}.packvisual{isolation:isolate}.packvisual .pack-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.packvisual:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#11131d55,#17152112 42%,#11121de6);z-index:-1;pointer-events:none}.packvisual{z-index:0}.pack-screen{height:100vh;height:100dvh;min-height:0;overflow:hidden}.pack-screen main{display:flex;flex-direction:column;min-height:0;padding:clamp(8px,1.7vh,18px) 0}.pack-screen .section-head{flex:none;margin:0 auto clamp(8px,1.8vh,18px)}.pack-screen .section-head h1{margin:7px 0;font-size:clamp(30px,4vw,48px)}.pack-screen .section-head p{margin:5px 0;line-height:1.4}.pack-screen .packcenter{flex:1;min-height:0;width:100%;max-width:900px;grid-template-columns:minmax(0,min(38vw,360px)) minmax(250px,400px);gap:clamp(24px,6vw,70px);margin:0 auto}.pack-screen .packvisual{height:min(100%,450px);min-height:0;padding:clamp(18px,4vh,40px) 18px}.pack-screen .packtitle{font-size:clamp(25px,3.4vw,36px);line-height:1.1;overflow-wrap:anywhere}.pack-screen .packinfo h2{font-size:clamp(42px,5vw,55px)}.pack-screen .packinfo .counter{font-size:clamp(58px,7vw,77px)}@media(max-width:760px){.pack-screen{padding-inline:10px}.pack-screen>.header{min-height:62px}.pack-screen main{padding:7px 0 10px}.pack-screen .section-head{margin-bottom:5px}.pack-screen .section-head h1{font-size:clamp(28px,7vw,38px);margin:4px 0}.pack-screen .section-head p{font-size:clamp(10px,2.8vw,13px);line-height:1.3}.pack-screen .packcenter{grid-template-columns:minmax(0,1fr);align-content:center;justify-items:center;gap:clamp(8px,1.7vh,14px)}.pack-screen .packvisual{width:min(100%,clamp(155px,34dvh,270px));height:min(38dvh,290px);min-height:155px;padding:16px 12px}.pack-screen .packseal{top:14px;font-size:16px}.pack-screen .packglow{font-size:clamp(76px,16vh,120px)}.pack-screen .packtitle{font-size:clamp(20px,5vw,28px)}.pack-screen .packinfo{max-width:480px;width:100%;text-align:center}.pack-screen .packinfo h2{margin:2px 0;font-size:38px}.pack-screen .packinfo .counter{font-size:54px}.pack-screen .packinfo p{margin:5px 0 10px;font-size:clamp(11px,2.9vw,13px);line-height:1.4}.pack-screen .packinfo .btn{padding:10px 18px}}@media(max-height:620px){.pack-screen>.header{min-height:52px}.pack-screen .section-head .overline{font-size:8px}.pack-screen .section-head p{font-size:11px}.pack-screen .packvisual{height:min(100%,350px)}}@media(max-width:760px)and (max-height:620px){.pack-screen .packvisual{height:min(29dvh,205px);min-height:125px}.pack-screen .packglow{font-size:72px}.pack-screen .packinfo .overline{font-size:8px}.pack-screen .packinfo h2{font-size:30px}.pack-screen .packinfo .counter{font-size:42px}.pack-screen .packinfo p{font-size:10px;margin:2px 0 5px}.pack-screen .packinfo .btn{min-height:36px;padding:7px 14px}}@media(max-width:760px)and (max-height:480px){.pack-screen>.header{min-height:44px}.pack-screen .section-head p{display:none}.pack-screen .packvisual{height:23dvh;min-height:90px}.pack-screen .packinfo p{font-size:9px;line-height:1.2}}body:has(.deck-screen) .deck-filters>.filter-search{grid-column:1/span 2!important;grid-row:2!important}body:has(.deck-screen) .deck-filters>.filter-search input{max-width:260px}body:has(.deck-screen) .deck-filters:not(:has(.filter-subtype))>.filter-card-type,body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-card-type,body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-card-type{grid-column:3/span 2!important;grid-row:2!important}body:has(.deck-screen) .deck-filters:not(:has(.filter-subtype))>.filter-hint{grid-column:6/span 3!important;grid-row:2!important}@media(max-width:460px){body:has(.deck-screen) .deck-filters>.filter-search{grid-column:1/span 2!important;grid-row:2!important}body:has(.deck-screen) .deck-filters:not(:has(.filter-subtype))>.filter-card-type,body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-card-type,body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-card-type{grid-column:3/span 2!important;grid-row:2!important}body:has(.deck-screen) .deck-filters:not(:has(.filter-subtype))>.filter-hint{grid-column:1/-1!important;grid-row:3!important}}body:has(.deck-screen) .deck-filters{grid-template-columns:repeat(12,minmax(0,1fr))!important;column-gap:5px}body:has(.deck-screen) .deck-filters>.filter-search{grid-column:1/span 3!important;grid-row:2!important}body:has(.deck-screen) .deck-filters:not(:has(.filter-subtype))>.filter-card-type,body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-card-type,body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-card-type{grid-column:4/span 2!important;grid-row:2!important}body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-subtype{grid-column:6/span 3!important;grid-row:2!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-subtype{grid-column:6/span 3!important;grid-row:2!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-attribute{grid-column:9/span 2!important;grid-row:2!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.deck-level-filter{grid-column:11/span 2!important;grid-row:2!important;grid-template-columns:max-content 32px 8px 32px!important;gap:2px;width:max-content;max-width:100%;align-items:center}body:has(.deck-screen) .deck-filters:not(:has(.filter-attribute))>.filter-hint{grid-column:9/span 4!important;grid-row:2!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-hint{grid-column:1/-1!important;grid-row:3!important}body:has(.deck-screen) .deck-level-filter input{width:32px;min-width:32px;height:23px;padding:2px;text-align:center;appearance:textfield}@media(min-width:461px)and (max-width:1120px){body:has(.deck-screen) .deck-filters{grid-template-columns:repeat(8,minmax(0,1fr))!important}body:has(.deck-screen) .deck-filters>.filter-search{grid-column:1/span 4!important;grid-row:2!important}body:has(.deck-screen) .deck-filters:not(:has(.filter-subtype))>.filter-card-type,body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-card-type,body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-card-type{grid-column:5/span 4!important;grid-row:2!important}body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-subtype{grid-column:1/span 4!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-subtype{grid-column:1/span 3!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-attribute{grid-column:4/span 2!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.deck-level-filter{grid-column:6/span 3!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:not(:has(.filter-attribute))>.filter-hint{grid-column:5/span 4!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-hint{grid-column:1/-1!important;grid-row:4!important}}@media(max-width:460px){body:has(.deck-screen) .deck-filters{grid-template-columns:repeat(4,minmax(0,1fr))!important}body:has(.deck-screen) .deck-filters>.filter-search{grid-column:1/span 2!important;grid-row:2!important}body:has(.deck-screen) .deck-filters:not(:has(.filter-subtype))>.filter-card-type,body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-card-type,body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-card-type{grid-column:3/span 2!important;grid-row:2!important}body:has(.deck-screen) .deck-filters:has(.filter-subtype):not(:has(.filter-attribute))>.filter-subtype{grid-column:1/span 3!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-subtype{grid-column:1/span 2!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-attribute{grid-column:3/span 2!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.deck-level-filter{grid-column:1/span 3!important;grid-row:4!important;grid-template-columns:max-content 32px 8px 32px!important}body:has(.deck-screen) .deck-filters:not(:has(.filter-attribute))>.filter-hint{grid-column:1/-1!important;grid-row:3!important}body:has(.deck-screen) .deck-filters:has(.filter-attribute)>.filter-hint{grid-column:4/span 1!important;grid-row:4!important}}body:has(.deck-screen) .collection-row[data-full=true]{filter:brightness(.48) saturate(.65);opacity:.72}body:has(.deck-screen) .collection-row[data-full=true] .collection-add{opacity:.5;cursor:not-allowed}.saved-runs-link{display:block;margin-top:10px;padding-inline:0;color:#e8cf9c}.save-run-panel{margin:28px 0 12px;padding:20px;border:1px solid #59627a;border-radius:12px;background:linear-gradient(145deg,#1a2639,#121a2a)}.save-run-panel h2{margin:6px 0}.save-run-panel>p{margin:5px 0 12px;color:#c4ccda}.save-run-panel>small{display:block;margin:8px 0;color:#b9d9c5}.save-run-form{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:8px 12px;align-items:end;max-width:620px;margin-top:14px}.save-run-form .field-label{grid-column:1/-1;margin:0}.save-run-form input{min-width:0;padding:10px 12px;border:1px solid #596782;border-radius:7px;background:#0d1422;color:#f4f0e6;font:inherit}.saved-runs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px}.saved-run-card{padding:17px;border:1px solid #4d5a72;border-radius:11px;background:linear-gradient(150deg,#1b2940,#111827);color:#f1eadb}.saved-run-card h2{margin:7px 0 12px;color:#f3d99e}.saved-run-stats{display:flex;flex-wrap:wrap;gap:7px}.saved-run-stats span{padding:5px 8px;border-radius:20px;background:#26364b;color:#dce3ee;font-size:12px}.saved-run-card p{line-height:1.5;color:#d0d7e2}.saved-run-card>small{color:#aebbd0}.saved-run-card details{margin-top:12px;padding-top:10px;border-top:1px solid #3a4960}.saved-run-card summary{cursor:pointer;color:#e8cf9c}.saved-run-card details p{overflow-wrap:anywhere;font-size:12px}.saved-runs-empty{max-width:620px;margin:0 auto;text-align:center}.saved-runs-screen .backbar{margin:20px 0}@media(max-width:560px){.save-run-form{grid-template-columns:1fr}.save-run-form .field-label{grid-column:1}.save-run-form .btn{width:100%}}.enemy-question{display:grid;place-items:center;width:100%;height:100%;font-size:clamp(72px,12vw,150px);font-weight:1000;color:#e8bf79;text-shadow:0 5px 28px #000;background:radial-gradient(circle at 50% 35%,#506c74,#1a2433 68%)}.enemy-illustration{height:clamp(160px,20vw,250px)!important;min-height:0;overflow:hidden}.enemy-illustration img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.enemycontent .enemy-rank{position:static;display:inline-flex;align-items:center;margin:0 0 8px;padding:5px 9px;border:1px solid #e8bf7966;border-radius:999px;background:#0d1422;color:#f2cf8e;font-size:9px;font-weight:850;letter-spacing:1.5px;line-height:1}.enemycontent h2{margin:0 0 8px;font-size:clamp(16px,1.5vw,20px);line-height:1.25;overflow-wrap:anywhere}@media(max-width:760px){.enemy-illustration{height:clamp(150px,34vw,210px)!important}}.ocg-shared-row{grid-template-columns:minmax(0,.55fr) minmax(0,5fr) minmax(0,.55fr)!important}.ocg-shared-row>.duel-select-panel{grid-column:1;grid-row:1;min-width:0}.ocg-shared-row>.ocg-emz-row{grid-column:2;grid-row:1;width:100%!important;min-width:0;margin:0;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-self:center}.ocg-emz-row>span{display:block;min-width:0}.ocg-emz-row>.ocg-slot{width:100%;min-width:0;height:clamp(70px,8vw,112px)}.duel-aside .duel-phase-panel{width:100%;min-height:0;flex:0 0 auto}.duel-aside .table-phase-track{display:flex;flex-direction:column;gap:4px}.duel-aside .table-phase-step{padding:5px 4px;text-align:center;font-size:9px;line-height:1.2}.duel-aside button.table-phase-step{cursor:pointer}.duel-aside .table-phase-step.active{box-shadow:0 0 8px #eab55e55}.duel-menu-button{margin-left:8px;white-space:nowrap}.duel-menu-dialog{max-width:min(420px,92vw)}.duel-menu-actions{display:grid;gap:8px;margin-top:20px}.ocg-grave-marker .grave-pile img{object-fit:contain!important;padding:3px;background:#0b1423}@media(max-width:760px){.ocg-shared-row{grid-template-columns:minmax(0,.4fr) minmax(0,5fr) minmax(0,.4fr)!important}.ocg-shared-row>.ocg-emz-row{grid-column:2;grid-row:1}.ocg-emz-row>.ocg-slot{height:clamp(48px,12vw,78px)}.ocg-duel .duel-aside .duel-phase-panel{flex:1 0 100%;width:100%}.ocg-duel .duel-aside .table-phase-track{flex-direction:row;flex-wrap:wrap}.ocg-duel .duel-aside .table-phase-step{flex:1 1 28%;font-size:8px}}.ocg-duel>.visible-phase-track{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;padding:5px 8px;border:1px solid #47617a66;border-radius:7px;background:#0b1725aa}.ocg-duel>.visible-phase-track .table-phase-step{padding:5px 9px;border:1px solid #43526a;border-radius:5px;background:#172235;color:#aabbd0;font-size:10px;font-weight:800;line-height:1.2;text-align:center}.ocg-duel>.visible-phase-track button.table-phase-step{cursor:pointer;color:#ffe3ad;border-color:#9c7948}.ocg-duel>.visible-phase-track .table-phase-step.active{border-color:#f0c875;background:#46371f;color:#fff0c5;box-shadow:0 0 10px #eab55e77}.shop-pack[data-do=pack-details]{cursor:pointer}.shop-pack[data-do=pack-details]:hover{border-color:#e7bd76;filter:brightness(1.08)}.rarity-label{display:inline-flex;align-self:center;padding:3px 6px;border-radius:999px;font-size:8px;font-weight:850;letter-spacing:.7px;text-transform:uppercase}.rarity-comun{color:#d8e0ec;background:#53617b}.rarity-rara{color:#bce8ff;background:#27617d}.rarity-super{color:#e2c2ff;background:#654585}.rarity-ultra{color:#ffe29c;background:#80632a}.rarity-secreta{color:#ffd6ee;background:#823d66}.shop-card .rarity-label{margin-top:4px}.pack-details{width:min(700px,94vw);max-height:88vh;overflow:auto}.pack-details h2{margin:8px 0 16px}.pack-detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 14px}.pack-detail-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 4px;border-bottom:1px solid #ffffff18;font-size:11px}.pack-detail-row>span{min-width:0}.pack-detail-row .rarity-label{flex:none}.modalcard.pack-details{display:block}.pack-detail-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:12px;margin:12px 0 20px}.pack-detail-card{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:8px;border:1px solid #ffffff20;border-radius:8px;background:#161d2e;text-align:center}.pack-detail-art{width:100%;aspect-ratio:315/458;background:#0b101d;border-radius:4px;overflow:hidden}.pack-detail-art img{width:100%;height:100%;object-fit:contain}.pack-detail-card>b{font-size:10px;line-height:1.3;min-height:26px;overflow-wrap:anywhere}.pack-detail-close{display:block;margin:0 0 0 auto;min-width:100px}.duel-select-panel.has-selection-cancel{display:flex!important;align-items:center;justify-content:center}.cancel-action-button{width:100%;white-space:normal;overflow-wrap:anywhere;border-color:#c6756c;background:linear-gradient(135deg,#643632,#332638);color:#ffe1d7}.pack-details-header{position:sticky;top:-24px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-24px -24px 0;padding:14px 24px 8px;background:#22273a}.pack-details-header .modalclose{position:static;flex:none;padding:0;line-height:1}.effect-card-reveal{z-index:500;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#050914e8}.effect-card-reveal-dialog{width:min(520px,94vw);max-height:92vh;overflow:auto;display:flex;flex-direction:column;align-items:center;gap:12px;padding:25px;text-align:center}.effect-card-reveal-dialog h2{margin:0;color:var(--gold);font-size:clamp(22px,4vw,32px)}.effect-card-reveal-dialog>p{max-width:410px;margin:0;color:#cbd3e0;line-height:1.6}.effect-card-reveal-art{width:min(210px,48vw);max-height:42vh;object-fit:contain;border-radius:7px;box-shadow:0 10px 35px #0009}.effect-card-source{display:flex;align-items:center;justify-content:center;gap:10px;max-width:100%;padding:9px 13px;border:1px solid #39445a;border-radius:8px;background:#111a2b;color:#cbd3e0;font-size:13px}.effect-card-source img{width:34px;height:48px;object-fit:cover;border-radius:3px;box-shadow:0 3px 10px #0008}.effect-card-source strong{color:#fff;text-align:left}.effect-card-reveal-description{flex:0 0 auto;width:100%;max-width:410px;max-height:min(160px,24vh);overflow:auto;padding:10px 12px;border:1px solid #39445a;border-radius:7px;background:#111a2b;color:#d7dbe4;font-size:12px;line-height:1.5;text-align:left}.effect-card-source,.effect-card-reveal-dialog .btn{flex-shrink:0}.effect-card-reveal-dialog .btn{min-width:190px}.duel-prompt-return{position:fixed;z-index:19;left:16px;top:calc(50% + 24px);transform:translateY(-50%);box-shadow:0 8px 28px #0009}@media(max-width:600px){.duel-prompt-return{left:8px;top:auto;bottom:8px;transform:none;min-height:44px;padding:9px 12px;font-size:12px}}.prompt-card-grid,.extra-review-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:1fr;align-items:stretch}.prompt-card,.extra-review-card{width:100%;min-width:0;height:100%;align-self:stretch}.ocg-field-monsters .ocg-slot.defense-position.occupied>.ocg-art>.ocg-card-frame.horizontal{height:69%!important}.enemy-relic-label{display:block;color:#ff9ca6;text-align:center;font-size:8px;letter-spacing:.12em}.enemy-relic-strip .duel-relic{border-color:#a83240;background:#2c1119;color:#ffc0c5}.reveal-relations{display:grid;gap:5px;margin-top:6px;padding:6px;border:1px solid #65543d;border-radius:6px;background:#111827}.reveal-relation{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}.reveal-relation>span{color:#e8bf79;font-size:8px;font-weight:800;line-height:1.2}.reveal-relation-cards{display:flex;justify-content:flex-end;gap:4px;min-width:0}.reveal-related-card{flex:0 1 28px;width:28px;min-width:0;padding:1px;border:1px solid #59627a;border-radius:3px;background:#0c1220;line-height:0}.reveal-related-card:hover,.reveal-related-card:focus-visible{border-color:#e8bf79;outline:1px solid #e8bf79}.reveal-related-card img{display:block;width:100%;height:40px;object-fit:contain;border-radius:2px}@media(max-width:460px){.reveal-relations{padding:4px;gap:4px}.reveal-relation{align-items:flex-start;flex-direction:column}.reveal-relation-cards{justify-content:flex-start}.reveal-related-card img{height:36px}}
