.online-lobby{position:fixed;inset:0;background:#071b27;color:#edf9ff;z-index:100;overflow:auto;display:grid;place-items:center;padding:24px;font-family:system-ui}.online-lobby section{width:min(100%,560px);display:grid;gap:14px}.online-lobby label{display:grid;gap:8px}.online-lobby input,.online-lobby button{min-height:48px;font:inherit;font-size:18px;padding:10px;border-radius:8px;border:1px solid #527281}.online-lobby button{background:#163f50;color:#fff;touch-action:manipulation}.online-lobby [hidden]{display:none}.online-status{position:fixed;left:8px;top:8px;z-index:80;background:#071b27e8;color:#fff;padding:8px;border-radius:8px;max-width:calc(100vw - 16px);font:14px system-ui}.online-status button{min-height:44px;margin-left:8px}.online-status p{margin:0}#game canvas{touch-action:none}html #game{height:calc(100% - var(--online-status-height, 0px));margin-top:var(--online-status-height, 0px)}.online-status{box-sizing:border-box}.online-portrait-hint{display:none}@media(orientation:portrait){.online-portrait-hint{display:block;color:#bbddea}}html .deck-editor{top:var(--online-status-height, 0px)}html,body,#game{width:100%;height:100%;margin:0;padding:0}body{overflow:hidden;background:radial-gradient(ellipse at center,#0b3645,#03131f 75%)}canvas{display:block;width:100%;height:100%}.title-screen{position:fixed;inset:0;z-index:1000;overflow:auto;display:flex;flex-direction:column;color:#eaf8ff;background:radial-gradient(ellipse at 74% 42%,#12526480,transparent 48%),linear-gradient(125deg,#03131f,#062d3d 65%,#031822);font-family:Yu Mincho,Hiragino Mincho ProN,Georgia,serif}.title-screen *,.title-screen *:before,.title-screen *:after{box-sizing:border-box}.title-screen__header{min-height:88px;margin:0 clamp(24px,5vw,80px);display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #8bd6e038}.title-screen__brand{display:flex;align-items:center;gap:13px;color:#eaf8ff;font:12px Georgia,serif;letter-spacing:.18em}.title-screen__brand>span{color:#f1c968;font-size:29px}.title-screen__edition{color:#9fc1d0;font:10px system-ui,sans-serif;letter-spacing:.22em}.title-screen__main{flex:1;width:min(1440px,100%);align-self:center;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:36px clamp(24px,6vw,90px);gap:30px}.title-screen p{margin:0}.title-screen__eyebrow{display:flex;align-items:center;gap:14px;color:#70e5dc;font:11px system-ui,sans-serif;letter-spacing:.18em}.title-screen__eyebrow>span{width:28px;height:1px;background:#70e5dc}.title-screen h1{margin:28px 0 24px;font:normal clamp(48px,5.8vw,88px)/1.02 Georgia,serif;letter-spacing:-.045em}.title-screen h1 em{color:#f1c968;font-weight:400}.title-screen h1>span{display:block;margin-top:19px;color:#9fc1d0;font:11px system-ui,sans-serif;letter-spacing:.3em}.title-screen__tagline{font-size:clamp(20px,2.15vw,30px);letter-spacing:.12em;line-height:1.75}.title-screen .title-screen__description{margin-top:18px;color:#9fc1d0;font:12px/2 system-ui,sans-serif}.title-screen__start{display:flex;align-items:center;justify-content:space-between;width:290px;max-width:100%;margin-top:30px;padding:16px 22px;border:1px solid #9af4e7;border-radius:3px;color:#06242c;background:linear-gradient(115deg,#96f2da,#5ecbd9);box-shadow:0 8px 36px #5ecbd919;cursor:pointer;text-align:left;font:700 17px Yu Mincho,Georgia,serif;touch-action:manipulation}.title-screen__start small{display:block;margin-bottom:5px;font:9px system-ui,sans-serif;letter-spacing:.16em}.title-screen__start>span:last-child{font:27px system-ui,sans-serif}.title-screen__start:hover{background:#adf9e8;box-shadow:0 8px 40px #70e5dc38}.title-screen :focus-visible{outline:3px solid #f1c968;outline-offset:5px}.title-screen .title-screen__start-note{margin:12px 0 0 20px;font:10px system-ui,sans-serif;color:#9fc1d0;letter-spacing:.08em}.title-screen__visual{position:relative;min-width:0;width:100%;aspect-ratio:1 / 1.1;max-height:620px}.title-screen__orbit{position:absolute;border:1px solid #b8d4ab33;border-radius:50%;width:92%;aspect-ratio:1;left:4%;top:3%}.title-screen__orbit:before{content:"";position:absolute;inset:12px;border:1px dashed #70e5dc24;border-radius:50%}.title-screen__orbit--inner{width:64%;left:18%;top:16%;border-color:#70e5dc26;transform:rotate(45deg);border-radius:12%}.title-screen__card{position:absolute;width:45%;height:62%;top:21%;overflow:hidden;padding:5px;border:1px solid #b2caa76e;background:#082633;box-shadow:0 26px 55px #0009;border-radius:7px}.title-screen__card img{height:100%;width:100%;object-fit:cover;border-radius:3px}.title-screen__card--left{left:1%;transform:rotate(-15deg);filter:brightness(.62) saturate(.75)}.title-screen__card--right{right:1%;transform:rotate(15deg);filter:brightness(.62) saturate(.75)}.title-screen__card--main{width:55%;height:75%;top:10%;left:22.5%;transform:rotate(-3deg);border-color:#f1c968ad;box-shadow:0 30px 75px #0009,0 0 50px #70e5dc12}.title-screen__card--main>div{position:absolute;inset:auto 5px 5px;padding:60px 8px 20px;display:grid;gap:10px;text-align:center;background:linear-gradient(transparent,#031822ee 40%,#031822)}.title-screen__card--main small{color:#f1c968;font:8px system-ui,sans-serif;letter-spacing:.16em}.title-screen__card--main strong{font-size:clamp(10px,1.12vw,17px);font-weight:400}.title-screen__card--main span{color:#9fc1d0;font:6px system-ui,sans-serif;letter-spacing:.12em}.title-screen__star{position:absolute;color:#f1c968;font-size:30px}.title-screen__star--one{top:3%;left:20%}.title-screen__star--two{bottom:12%;right:4%;font-size:20px}.title-screen__art-caption{position:absolute;bottom:2%;width:100%;text-align:center;color:#9fc1d080;font:8px system-ui,sans-serif;letter-spacing:.25em}.title-screen__footer{display:flex;align-items:center;gap:clamp(25px,5vw,80px);margin:0 clamp(24px,5vw,80px);padding:25px 0;border-top:1px solid #8bd6e038}.title-screen__footer>div{display:flex;align-items:center;gap:15px}.title-screen__footer>div>span{color:#f1c96890;font:italic 25px Georgia,serif}.title-screen__footer strong{display:block;font-size:14px;font-weight:400;letter-spacing:.12em}.title-screen__footer small{display:block;margin-top:5px;color:#9fc1d0;font:10px system-ui,sans-serif}.title-screen__footer-mark{margin-left:auto;color:#f1c968;font-size:24px}@media(min-width:761px)and (max-height:820px){.title-screen__header{min-height:68px}.title-screen__main{padding-block:22px}.title-screen h1{font-size:clamp(46px,5vw,67px);margin:20px 0}.title-screen h1>span{margin-top:13px}.title-screen__tagline{font-size:24px;line-height:1.6}.title-screen .title-screen__description{margin-top:12px}.title-screen__start{margin-top:20px;padding-block:13px}.title-screen__visual{max-height:calc(100dvh - 200px)}.title-screen__footer{padding-block:18px}}@media(max-width:760px){.title-screen__header{min-height:65px}.title-screen__edition{display:none}.title-screen__main{grid-template-columns:1fr;gap:0;padding-top:30px}.title-screen__intro{position:relative;z-index:1}.title-screen h1{font-size:clamp(52px,10vw,72px)}.title-screen__visual{width:min(440px,100%);margin:15px auto 0}.title-screen__card--main strong{font-size:13px}.title-screen__footer{gap:20px;align-items:start}.title-screen__footer>div{flex:1;flex-direction:column;align-items:start;gap:8px}.title-screen__footer small{line-height:1.6}.title-screen__footer-mark{display:none}}@media(prefers-reduced-motion:no-preference){.title-screen__card--main{animation:title-card-drift 7s ease-in-out infinite}.title-screen__start{transition:background .2s,box-shadow .2s}@keyframes title-card-drift{50%{transform:translateY(-8px) rotate(-1deg)}}}.battle-flow{position:fixed;z-index:30;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:calc(10px * var(--battle-scale, 1));padding:calc(9px * var(--battle-scale, 1)) calc(13px * var(--battle-scale, 1));border:1px solid #8bd6e038;border-top-color:#f1c96880;background:#062432f5;color:#eaf8ff;font-family:Yu Mincho,Hiragino Mincho ProN,Georgia,serif}.battle-flow[hidden],.battle-flow button[hidden]{display:none}.battle-flow__eyebrow{display:block;color:#70e5dc;font:calc(6px * var(--battle-scale, 1)) system-ui,sans-serif;letter-spacing:.15em}.battle-flow h2{margin:4px 0;font-size:calc(13px * var(--battle-scale, 1));font-weight:400;letter-spacing:.08em}.battle-flow p{margin:0;color:#9fc1d0;font:calc(7px * var(--battle-scale, 1))/1.6 system-ui,sans-serif}.battle-flow__actions{display:flex;gap:calc(6px * var(--battle-scale, 1));flex-shrink:0}.battle-flow button{min-height:max(44px,calc(28px * var(--battle-scale, 1)));padding:calc(6px * var(--battle-scale, 1)) calc(10px * var(--battle-scale, 1));border:1px solid #70e5dc50;border-radius:3px;color:#eaf8ff;background:#0b3544;font:calc(8px * var(--battle-scale, 1)) system-ui,sans-serif;cursor:pointer;touch-action:manipulation}.battle-flow button:hover{background:#155365;border-color:#70e5dc}.battle-flow button:focus-visible{outline:3px solid #f1c968;outline-offset:3px}.battle-flow button:first-child,.battle-flow button:nth-child(2){background:linear-gradient(120deg,#8aeedb,#5ecbd9);border-color:#8aeedb;color:#06242c;font-weight:700}.battle-flow button:first-child:hover,.battle-flow button:nth-child(2):hover{background:#adf9e8}.battle-flow--result{transform:translate(-50%,-50%);display:block;padding:32px 22px;text-align:center;background:radial-gradient(ellipse at top,#124654,#041d2bf5 75%);box-shadow:0 25px 90px #000b}.battle-flow--result:before{content:"◈";display:block;margin-bottom:15px;color:#f1c968;font:38px Georgia,serif}.battle-flow--result .battle-flow__eyebrow{color:#f1c968;font:11px system-ui,sans-serif;letter-spacing:.3em}.battle-flow--result h2{margin:15px 0;font-size:23px;line-height:1.6}.battle-flow--result p{font-size:11px;line-height:1.8}.battle-flow--result .battle-flow__actions{margin-top:23px;justify-content:center;gap:8px;flex-wrap:wrap}.battle-flow--result button{min-height:44px;padding:10px 16px;font-size:12px}.battle-flow[data-result=CpuWin] .battle-flow__eyebrow{color:#e99991}@media(max-width:650px),(max-height:450px){.battle-flow:not(.battle-flow--result) .battle-flow__copy{display:none}.battle-flow:not(.battle-flow--result){justify-content:center;padding:4px}.battle-flow:not(.battle-flow--result) button{font-size:10px;padding:5px 9px}.battle-flow--result{padding:16px}.battle-flow--result:before{margin-bottom:6px;font-size:23px}.battle-flow--result h2{font-size:18px;margin:8px 0}}.deck-editor{--ink: #eaf8ff;--muted: #9fc1d0;--panel: rgba(5, 31, 45, .9);--line: rgba(139, 214, 224, .22);--aqua: #70e5dc;--gold: #f1c968;position:fixed;inset:0;z-index:1000;box-sizing:border-box;overflow:hidden;display:flex;flex-direction:column;color:var(--ink);background:radial-gradient(circle at 82% 12%,rgba(32,152,166,.28),transparent 28rem),radial-gradient(circle at 12% 85%,rgba(9,87,115,.32),transparent 32rem),linear-gradient(145deg,#03131f,#062d3d 48%,#031822);font-family:Yu Mincho,Hiragino Mincho ProN,Georgia,serif;overscroll-behavior:contain}.deck-editor *,.deck-editor *:before,.deck-editor *:after{box-sizing:border-box}.deck-editor button,.deck-editor input,.deck-editor select{font:inherit}.deck-editor button{touch-action:manipulation}.deck-editor button:focus-visible,.deck-editor input:focus-visible,.deck-editor select:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.deck-editor__header{flex:0 0 auto;min-height:106px;padding:18px clamp(18px,3vw,42px);display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);background:#02121bc7;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.deck-editor__mobile-nav{display:none}.deck-editor h1,.deck-editor h2,.deck-editor p{margin:0}.deck-editor h1{font-size:clamp(1.55rem,3vw,2.5rem);letter-spacing:.08em}.deck-editor__kicker,.deck-editor__section-heading p,.deck-editor__eyebrow{color:var(--aqua);font:700 .7rem/1.3 system-ui,sans-serif;letter-spacing:.18em}.deck-editor__library-controls{display:flex;align-items:end;gap:8px;font-family:system-ui,sans-serif}.deck-editor__library-controls label{display:grid;gap:5px;color:var(--muted);font-size:.72rem}.deck-editor select,.deck-editor input{min-height:44px;color:var(--ink);border:1px solid var(--line);border-radius:4px;background:#092d3d;padding:0 12px}.deck-editor button{min-height:44px;color:var(--ink);border:1px solid rgba(112,229,220,.34);border-radius:4px;background:#0c404eb8;cursor:pointer}.deck-editor button:hover{border-color:var(--aqua);background:#145966d1}.deck-editor button:disabled{cursor:not-allowed;opacity:.48}.deck-editor__library-controls button{padding:0 16px}.deck-editor__quiet{color:var(--muted)!important}.deck-editor__notice{flex:0 0 auto;margin:10px clamp(18px,3vw,42px) 0;padding:8px 14px;border:1px solid var(--line);background:#072b39f5;font-family:system-ui,sans-serif}.deck-editor__notice strong,.deck-editor__notice span{display:block}.deck-editor__notice span{margin-top:3px;font-size:.8rem}.deck-editor__notice--error{color:#ffd7ce;border-color:#ff876e8c}.deck-editor__main{width:min(1600px,100%);min-height:0;flex:1 1 auto;margin:0 auto;padding:clamp(18px,2.5vw,36px);display:grid;grid-template-columns:minmax(420px,1.45fr) minmax(300px,.8fr) minmax(310px,.85fr);gap:clamp(14px,2vw,26px)}.deck-editor__catalog,.deck-editor__detail,.deck-editor__formation{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.deck-editor__detail,.deck-editor__formation{border:1px solid var(--line);background:var(--panel);box-shadow:0 24px 70px #00000040}.deck-editor__section-heading{min-height:55px;display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:16px;border-bottom:1px solid var(--line);padding-bottom:12px}.deck-editor__section-heading h2{margin-top:2px;font-size:1.35rem;letter-spacing:.08em}.deck-editor__section-heading>span{color:var(--muted);font-family:system-ui,sans-serif;font-size:.8rem}.deck-editor__section-heading>strong{color:var(--gold);font:600 2rem/1 system-ui,sans-serif}.deck-editor__section-heading>strong small,.deck-editor__cost small{color:var(--muted);font-size:.78rem}.deck-editor__card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.deck-editor__card{padding:0;min-height:112px;display:grid;grid-template-columns:82px minmax(0,1fr);text-align:left;overflow:hidden;background:#052533bf}.deck-editor__card.is-active{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}.deck-editor__card.is-included .deck-editor__card-art i{color:#06262f;background:var(--aqua)}.deck-editor__card-art{position:relative;height:100%;min-height:110px;overflow:hidden;background:#061a26}.deck-editor__card-art img{width:100%;height:100%;object-fit:cover;pointer-events:none}.deck-editor__card-art i{position:absolute;inset:auto 4px 4px;padding:3px 5px;color:#061a26;background:var(--gold);font:800 .66rem system-ui,sans-serif;font-style:normal;text-align:center}.deck-editor__card-copy{min-width:0;padding:12px 10px;display:flex;flex-direction:column;gap:6px}.deck-editor__card-copy small,.deck-editor__card-copy span{color:var(--muted);font:.68rem system-ui,sans-serif}.deck-editor__card-copy strong{font-size:.88rem;line-height:1.45}.deck-editor__detail{overflow-x:hidden;overflow-y:auto}.deck-editor__detail-art{position:relative;aspect-ratio:4 / 2.2;overflow:hidden;background:#061923}.deck-editor__detail-art:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 48%,#051f2df2)}.deck-editor__detail-art img{width:100%;height:100%;object-fit:cover;object-position:center top}.deck-editor__detail-copy{padding:0 20px 18px}.deck-editor__detail-copy h2{margin:5px 0 14px;font-size:clamp(1.25rem,2vw,1.7rem);line-height:1.35}.deck-editor__primary-stats{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line)}.deck-editor__primary-stats span{padding:11px 5px;display:grid;gap:4px;text-align:center;border-right:1px solid var(--line)}.deck-editor__primary-stats span:last-child{border:0}.deck-editor__primary-stats small{color:var(--muted);font:.64rem system-ui,sans-serif}.deck-editor__primary-stats strong{color:var(--gold);font:700 1rem system-ui,sans-serif}.deck-editor__reference-note{margin:8px 0 14px!important;color:var(--muted);font:.7rem/1.5 system-ui,sans-serif}.deck-editor__combat-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;margin:0 0 14px;background:var(--line)}.deck-editor__combat-stats div{padding:8px 10px;display:flex;justify-content:space-between;gap:8px;background:#082b3b;font:.75rem system-ui,sans-serif}.deck-editor__combat-stats dt{color:var(--muted)}.deck-editor__combat-stats dd{margin:0}.deck-editor__ability{padding:12px;border-left:2px solid var(--aqua);background:#093846bf}.deck-editor__ability span{color:var(--aqua);font:700 .67rem system-ui,sans-serif}.deck-editor__ability p{margin-top:6px;font:.78rem/1.65 system-ui,sans-serif}.deck-editor__add{width:calc(100% - 40px);margin:0 20px 18px;color:#06242c!important;border:0!important;background:var(--gold)!important;font-weight:700!important}.deck-editor__add-reason{margin:-10px 20px 18px!important;color:#ffd59b;font:.72rem/1.5 system-ui,sans-serif;text-align:center}.deck-editor__formation{position:relative;padding:20px}.deck-editor__name{display:grid;gap:6px;margin-bottom:14px;color:var(--muted);font:.72rem system-ui,sans-serif}.deck-editor__slots{display:grid;gap:7px;padding:0;margin:0;list-style:none}.deck-editor__slot{min-height:62px;display:grid;grid-template-columns:28px 46px minmax(0,1fr);align-items:stretch;border:1px solid var(--line);background:#072b39b8}.deck-editor__slot>span{display:grid;place-items:center;color:var(--muted);font:.7rem system-ui,sans-serif;border-right:1px solid var(--line)}.deck-editor__slot img{width:46px;height:60px;object-fit:cover}.deck-editor__slot button{min-width:0;height:100%;padding:8px 10px;display:flex;flex-direction:column;justify-content:center;align-items:start;gap:4px;border:0;background:transparent;text-align:left}.deck-editor__slot button small{color:var(--muted);font:.67rem system-ui,sans-serif}.deck-editor__slot--empty{grid-template-columns:28px 1fr;border-style:dashed;background:#02182261}.deck-editor__slot--empty p{align-self:center;padding-left:14px;color:#668d9d;font:.75rem system-ui,sans-serif}.deck-editor__slot--unknown{grid-template-columns:28px 1fr auto}.deck-editor__slot--unknown p{align-self:center;padding-left:10px;font:.76rem system-ui,sans-serif}.deck-editor__slot--unknown small{display:block;color:#ffaf9d}.deck-editor__cost{margin-top:14px;padding:13px 0;display:flex;align-items:center;justify-content:space-between;border-block:1px solid var(--line);font-family:system-ui,sans-serif}.deck-editor__cost span{color:var(--muted);font-size:.8rem}.deck-editor__cost strong{color:var(--gold);font-size:1.55rem}.deck-editor__validation{min-height:40px;padding:9px 0;color:#ffd59b;font:.72rem/1.5 system-ui,sans-serif}.deck-editor__actions{display:grid;grid-template-columns:.8fr 1.2fr;gap:8px}.deck-editor__save,.deck-editor__start{font:700 .82rem system-ui,sans-serif!important}.deck-editor__start{color:#06242c!important;border-color:var(--aqua)!important;background:linear-gradient(135deg,#7ef1df,#5ecbd9)!important}.deck-editor__confirm{margin-top:12px;padding:18px;border:1px solid rgba(255,157,134,.6);background:#092735;box-shadow:0 12px 36px #00000059;text-align:center}.deck-editor__confirm p{margin-bottom:14px;font:.86rem/1.6 system-ui,sans-serif}.deck-editor__confirm div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.deck-editor__danger{color:#fff!important;border-color:#e77665!important;background:#9f3d35!important}.deck-editor__summon-selection{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.deck-editor__summon-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:9px}.deck-editor__summon-heading h3{margin:0;font-size:1rem}.deck-editor__summon-heading span{color:var(--muted);font:.65rem system-ui,sans-serif}.deck-editor__summon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.deck-editor__summon{min-width:0;padding:5px;display:grid;gap:5px;text-align:left}.deck-editor__summon.is-active{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}.deck-editor__summon-art{position:relative;aspect-ratio:4 / 3;display:grid;place-items:center;overflow:hidden;background:#061a26}.deck-editor__summon-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}.deck-editor__summon-art>span{padding:5px;color:var(--muted);font:.6rem/1.35 system-ui,sans-serif;text-align:center}.deck-editor__summon-art:not(.has-image-error)>span{visibility:hidden}.deck-editor__summon strong{overflow:hidden;font:.66rem/1.35 system-ui,sans-serif;text-overflow:ellipsis;white-space:nowrap}.deck-editor__summon-detail{margin-top:8px;padding:9px 10px;display:grid;gap:3px;border-left:2px solid var(--gold);background:#093846bf}.deck-editor__summon-detail strong{color:var(--gold);font-size:.82rem}.deck-editor__summon-detail span,.deck-editor__summon-detail p{color:var(--muted);font:.65rem/1.5 system-ui,sans-serif}@media(max-width:1200px){.deck-editor{overflow-y:auto}.deck-editor__main{flex:0 0 auto;min-height:auto;grid-template-columns:minmax(390px,1.2fr) minmax(300px,.8fr);grid-template-rows:minmax(340px,1fr) auto;padding:16px 22px}.deck-editor__formation{grid-column:1 / -1;max-height:360px;padding:12px;display:grid;grid-template-columns:1fr minmax(220px,.8fr) 130px;grid-template-areas:"heading name cost" "slots slots slots" "summon summon summon" "validation actions actions";gap:8px 14px;overflow-y:auto}.deck-editor__formation .deck-editor__section-heading{grid-area:heading;min-height:42px;margin:0;padding:0 0 6px}.deck-editor__formation .deck-editor__name{grid-area:name;margin:0;align-self:center}.deck-editor__formation .deck-editor__name input{min-height:38px}.deck-editor__formation .deck-editor__cost{grid-area:cost;margin:0;padding:5px 0;align-self:center}.deck-editor__formation .deck-editor__validation{grid-area:validation;min-height:38px;padding:3px 0}.deck-editor__formation .deck-editor__actions{grid-area:actions;align-self:center}.deck-editor__formation .deck-editor__confirm{grid-column:1 / -1}.deck-editor__slots{grid-area:slots;grid-template-columns:repeat(5,minmax(0,1fr))}.deck-editor__summon-selection{grid-area:summon}.deck-editor__summon-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.deck-editor__slot{min-height:70px;grid-template-columns:22px 40px minmax(0,1fr);grid-template-rows:68px}.deck-editor__slot>span{grid-row:1 / -1}.deck-editor__slot img{width:40px;height:68px}.deck-editor__slot button{grid-column:auto;min-height:68px;padding:5px 7px}.deck-editor__slot button strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:.72rem;line-height:1.35}.deck-editor__slot button small{font-size:.6rem;line-height:1.3}.deck-editor__slot--empty{grid-template-columns:22px 1fr;grid-template-rows:68px}}@media(max-width:760px){.deck-editor__header{align-items:stretch;flex-direction:column}.deck-editor__library-controls{display:grid;grid-template-columns:1fr auto auto}.deck-editor__library-controls label{min-width:0}.deck-editor__mobile-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.deck-editor__mobile-nav button{min-height:38px}.deck-editor{overflow:auto}.deck-editor__main{display:flex;min-height:auto;flex:none;flex-direction:column;padding:14px}.deck-editor__catalog{order:2}.deck-editor__detail{order:1}.deck-editor__formation{order:3;display:block;max-height:none;overflow:visible;padding:20px}.deck-editor__catalog,.deck-editor__detail{overflow:visible}.deck-editor__formation .deck-editor__section-heading{margin-bottom:16px}.deck-editor__formation .deck-editor__name{margin-bottom:14px}.deck-editor__formation .deck-editor__cost{margin-top:14px;padding:13px 0}.deck-editor__formation .deck-editor__validation{min-height:40px;padding:9px 0}.deck-editor__card-grid{grid-template-columns:1fr}.deck-editor__card{min-height:94px;grid-template-columns:72px minmax(0,1fr)}.deck-editor__card-art{min-height:92px}.deck-editor__slots{grid-template-columns:1fr}.deck-editor__summon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.deck-editor__slot{min-height:60px;grid-template-columns:28px 46px minmax(0,1fr);grid-template-rows:60px}.deck-editor__slot>span{grid-row:auto}.deck-editor__slot img{width:46px;height:60px}.deck-editor__slot button{grid-column:auto;min-height:60px}.deck-editor__slot--empty{grid-template-columns:28px 1fr;grid-template-rows:60px}}@media(prefers-reduced-motion:no-preference){.deck-editor__card,.deck-editor button{transition:border-color .16s ease,background-color .16s ease,transform .16s ease}.deck-editor__card:hover{transform:translateY(-1px)}}
