.deck-delete-dialog{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #608692;border-radius:18px;padding:24px;background:#102a38;color:#edf6f2;box-shadow:0 20px 60px #0008}.deck-delete-dialog::backdrop{background:#03131bcc}.deck-delete-dialog h2{margin:0 0 16px;font-size:24px;color:#fff1d3}.deck-delete-dialog p{font-size:16px;line-height:1.5;overflow-wrap:anywhere}.deck-delete-name{font-weight:700}.deck-delete-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}#owned-decks .saved-deck-actions .deck-delete-button,.deck-delete-dialog .deck-delete-button{min-height:44px;padding:10px 16px;border:1px solid #e59898;border-radius:10px;background:#3f2831;color:#ffd7d7;font-size:14px;font-weight:700}.deck-delete-dialog button:focus-visible,.saved-deck-actions .deck-delete-button:focus-visible{outline:3px solid #adffeb;outline-offset:3px}.automatic-decks,.saved-decks,.owned-deck-builder{max-width:1120px}.automatic-decks,.saved-decks{margin:0 0 26px}.deck-section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:9px}.deck-section-heading h2{margin:3px 0 0;font-size:clamp(1.45rem,3vw,2rem);color:#103b49}.deck-section-chip,.deck-cover-kicker{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;font-weight:800}.deck-section-chip{padding:7px 10px;border-radius:999px;background:#e6f2f0;color:#21636d}.deck-section-intro{margin:0 0 15px;color:#476878}.automatic-deck-list,.saved-deck-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:15px}.automatic-deck,.saved-deck-cover{position:relative;overflow:hidden;isolation:isolate;border-radius:18px;min-height:270px;border:1px solid #9dbcc0;background:#103e4a;color:#f7faf6;box-shadow:0 10px 22px #0d33411f}.automatic-deck{display:block;padding:0!important}.automatic-deck>img,.saved-deck-cover>img{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center 18%;border:0!important;border-radius:0!important;opacity:.86;filter:saturate(.78) contrast(1.08)}.automatic-deck:after,.saved-deck-cover:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(145deg,#08323ee8 0%,#0d4954c9 47%,#092d3ce8 100%)}.saved-deck-cover:before{content:"";position:absolute;inset:9px;border:1px solid #dfbb65a8;border-radius:12px;z-index:1;pointer-events:none}.saved-deck-cover.is-current{outline:3px solid #e6bd55;outline-offset:2px}.saved-deck-cover.is-playable,.automatic-deck.is-ready{box-shadow:0 11px 26px #0a68664a}.deck-cover-shade{position:absolute;inset:0;background:linear-gradient(180deg,#09283226 22%,#082c3bd9 76%);z-index:0}.deck-cover-body,.automatic-deck>div{position:relative;z-index:2;display:flex;min-height:270px;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:20px!important}.deck-cover-kicker{color:#f1ce78;text-shadow:0 1px 3px #001a20}.deck-cover-body h3,.automatic-deck h3{margin:5px 0 7px!important;color:#fff;font-family:Georgia,serif;font-size:clamp(1.25rem,2.6vw,1.65rem);line-height:1.08;text-shadow:0 2px 5px #001b20}.deck-cover-body small,.automatic-deck small{display:block;margin-top:9px;color:#d9ece8;line-height:1.35}.deck-state{display:inline-flex;align-items:center;min-height:25px;padding:3px 9px;border-radius:999px;font-size:.75rem;font-weight:800;line-height:1.1}.deck-state.is-playable{background:#d9f3ce;color:#174a3a}.deck-state.is-supported{background:#ffe3a4;color:#6d4513}.deck-state.is-incomplete{background:#f4ded1;color:#703b2e}.saved-deck-actions,.automatic-deck-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px!important}.saved-deck-actions button,.automatic-deck-actions button{min-height:39px!important;padding:7px 11px!important;font-size:.9rem!important}.playing .saved-deck-cover .primary,.playing .automatic-deck .primary{background:#e8bd57;color:#18323b}.playing .saved-deck-cover .secondary,.playing .automatic-deck .secondary{background:#f7faf4;color:#17414c}.automatic-deck p,.automatic-deck details{position:relative;z-index:2;margin:9px 0 0!important;color:#eef7f2;font-size:.85rem;line-height:1.4}.automatic-deck details{width:100%}.automatic-deck summary{cursor:pointer;color:#fff4ce}.deck-empty-saved{background:linear-gradient(135deg,#edf7f4,#fdf7e7);border-color:#bdcfbf;text-align:left}.deck-empty-saved strong{color:#1b5153}.deck-editor-controls{padding:14px;border:1px solid #c3d8d7;border-radius:15px;background:#f6fbf9}.deck-editor-controls>button{margin-bottom:0;min-height:46px}.deck-selection{margin:19px 0;padding:15px;border:1px solid #b6d0cd;border-radius:16px;background:linear-gradient(135deg,#f7fcfa,#edf6f4)}.deck-selection-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.deck-selection-heading h3{margin:2px 0 0;color:#174955}.deck-selection-heading>strong{font-size:1.65rem;color:#0f5d61}.deck-selection-heading>strong small{font-size:.85rem;color:#5c7a7c}.deck-selection-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:9px;max-height:280px;overflow:auto;padding:2px}.deck-selection-card{display:grid;grid-template-columns:37px minmax(0,1fr);gap:8px;align-items:center;padding:7px;border-radius:10px;background:#fff;border:1px solid #d4e3df}.deck-selection-card img{width:37px;height:52px;object-fit:contain;border-radius:4px}.deck-selection-card strong,.deck-selection-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deck-selection-card strong{font-size:.78rem;color:#173e4b}.deck-selection-card small,.deck-selection-count span{font-size:.68rem;color:#5b737a}.deck-selection-count{grid-column:2;display:flex;justify-content:space-between;gap:5px;align-items:center}.deck-selection-count b{font-size:.78rem;color:#a56d12}.deck-selection-empty{margin:0;color:#536f77}.owned-deck-builder .deck-heading{padding-top:7px;border-top:1px solid #c4d9d6}.owned-deck-builder .deck-gate{border-left:5px solid #d8a943}.owned-deck-builder .deck-gate.deck-ready{border-left-color:#268572}.owned-deck-builder .deck-inventory{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.owned-deck-builder .owned-deck-row{border-color:#c5dcd8;box-shadow:0 2px 8px #11434b0b}.owned-deck-builder .owned-deck-row:hover{border-color:#6fa6a0;box-shadow:0 7px 16px #11434b19}.owned-deck-builder .deck-quantity button{background:#e4f1ed;color:#14534f}.owned-deck-builder .deck-quantity button:last-child{background:#d4ae58;color:#173d45}.owned-deck-builder .deck-quantity button:disabled{background:#edf1f0;color:#78908d}.owned-deck-builder .deck-scope{border-top:1px solid #d4e4e0}.owned-deck-builder .deck-scope summary{color:#24545d}@container lesson (max-width:850px){.automatic-deck-list,.saved-deck-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.automatic-deck,.saved-deck-cover,.deck-cover-body,.automatic-deck>div{min-height:235px}.deck-cover-body,.automatic-deck>div{padding:14px!important}.deck-cover-body h3,.automatic-deck h3{font-size:1.18rem}.deck-section-heading{align-items:center}.deck-section-chip{display:none}.saved-deck-actions,.automatic-deck-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.saved-deck-actions button,.automatic-deck-actions button{min-width:0}.deck-editor-controls{padding:11px}.deck-selection{padding:12px}.deck-selection-cards{grid-template-columns:repeat(2,minmax(0,1fr));max-height:230px}.owned-deck-builder .deck-inventory{grid-template-columns:1fr}}@media(max-width:430px){.automatic-deck-list,.saved-deck-list{grid-template-columns:1fr}.automatic-deck,.saved-deck-cover,.deck-cover-body,.automatic-deck>div{min-height:220px}.deck-selection-cards{grid-template-columns:1fr 1fr}.deck-section-heading>.secondary{min-height:38px;font-size:.82rem}}.deck-empty-saved{background:linear-gradient(135deg,#113d4b,#155763);border-color:#b79248;color:#f7f5ed}.deck-empty-saved strong{color:#f0cc78}.deck-editor-controls{border-color:#a78b4c;background:#123d4b;box-shadow:inset 0 1px #5d9995}.deck-editor-controls label{color:#eff7f4}.deck-editor-controls input,.deck-editor-controls select{border-color:#81aaa9!important;background:#f9fbf8!important;color:#173c48!important}.deck-editor-controls>button{background:#e3bc63;color:#173d45}.deck-selection{border-color:#b48f43;background:linear-gradient(135deg,#0b3342,#145462);box-shadow:inset 0 1px #5fa39d}.deck-selection-heading .eyebrow{color:#ebca75}.deck-selection-heading h3{color:#fff}.deck-selection-heading>strong{color:#f2ce78}.deck-selection-heading>strong small{color:#d6ece8}.deck-selection-card{border-color:#bdd5d0;box-shadow:0 2px 6px #001c2740}.deck-selection-empty{color:#d9eeea}.deck-state.is-playable{background:#b9e1da;color:#124b50}.deck-state.is-supported{background:#f0d28a;color:#644611}.deck-state.is-incomplete{background:#e7c8ad;color:#663b27}.owned-deck-builder .deck-gate.deck-ready{border-color:#319c91;background:#e5f3ed;color:#174b49}#owned-decks{color:#d9e9eb}#owned-decks :is(.deck-section-heading h2,.deck-heading h2){color:#f4e6c6}#owned-decks :is(.deck-section-intro,.deck-heading p,.deck-scope p){color:#a4bdca}#owned-decks .deck-scope summary{color:#afdccc}#owned-decks .deck-section-chip{background:#153744;color:#a9e4d2}#owned-decks .automatic-deck-list,#owned-decks .saved-deck-list{grid-template-columns:repeat(auto-fill,minmax(215px,1fr))}#owned-decks .automatic-deck:after{z-index:1;background:linear-gradient(0deg,#051a28fa 0%,#061c28ce 42%,#061c2815 85%);pointer-events:none}#owned-decks :is(.automatic-deck,.saved-deck-cover){min-height:300px}#owned-decks :is(.automatic-deck>div,.deck-cover-body){min-height:300px}#owned-decks .deck-selection-cards{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));max-height:360px;gap:10px}#owned-decks .deck-selection-card{display:flex;flex-direction:column;align-items:stretch;background:#102a38;border-color:#527480;padding:8px;color:#e0efeb}#owned-decks .deck-selection-card img{width:100%;height:auto;aspect-ratio:600/838;max-height:162px;margin:0 auto;object-fit:contain}#owned-decks .deck-selection-card strong{color:#eaf4ed;margin-top:5px;font-size:11px}#owned-decks .deck-selection-card small,#owned-decks .deck-selection-count span{color:#aec2cd}#owned-decks .deck-selection-count{margin-top:5px}#owned-decks .deck-selection-count b{color:#f1d18d}#owned-decks .deck-inventory{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px}#owned-decks .owned-deck-row{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:10px;background:#0f2a38;border-color:#426170}#owned-decks .owned-deck-row img{width:100%;max-height:180px;object-fit:contain;margin:auto}#owned-decks .owned-deck-row strong{font-size:12px;color:#eef7ef}#owned-decks .owned-deck-row small{font-size:10px;color:#a5bdc9}#owned-decks .deck-quantity{display:flex;align-items:center;justify-content:space-between;gap:5px}#owned-decks .deck-quantity button{min-width:44px;min-height:44px}#owned-decks .deck-gate{background:#302c22;border-color:#74613f;color:#f3dfac;font-size:13px}#owned-decks .deck-gate.deck-ready{background:#103a37;border-color:#488d79;color:#c9f1da}@media(max-width:700px){#owned-decks .automatic-deck-list,#owned-decks .saved-deck-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#owned-decks :is(.automatic-deck,.saved-deck-cover,.automatic-deck>div,.deck-cover-body){min-height:250px}#owned-decks .deck-cover-body,#owned-decks .automatic-deck>div{padding:12px!important}#owned-decks :is(.automatic-deck h3,.saved-deck-cover h3){font-size:18px}#owned-decks :is(.automatic-deck-actions,.saved-deck-actions){display:flex;flex-direction:column;align-items:stretch;gap:5px}#owned-decks :is(.automatic-deck-actions,.saved-deck-actions) button{min-height:44px;font-size:11px;padding:6px}#owned-decks .deck-cover-kicker{font-size:8px}.deck-state{font-size:10px}#owned-decks .deck-selection-cards{grid-template-columns:repeat(3,minmax(0,1fr))}#owned-decks .deck-selection-count span{display:none}#owned-decks .deck-controls label{min-width:0;flex:1 1 100%}#owned-decks .deck-inventory{grid-template-columns:repeat(2,minmax(0,1fr))}#owned-decks .deck-heading{gap:12px}#owned-decks .deck-heading h2{font-size:23px}#owned-decks .deck-total{font-size:28px}#owned-decks .deck-total small{font-size:11px}}#owned-decks :is(.automatic-deck,.saved-deck-cover){background:linear-gradient(145deg,#11313f,#071c28);display:flex;flex-direction:column;min-height:0}#owned-decks :is(.automatic-deck,.saved-deck-cover):after,#owned-decks .saved-deck-cover:before{display:none}#owned-decks :is(.automatic-deck>div,.deck-cover-body){min-height:0;flex:1;justify-content:start;padding:16px!important}#owned-decks .deck-digital-cover{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;padding:18px 22px 12px;border:0;border-radius:0;background:radial-gradient(ellipse at top,#357b8070,transparent);color:#b4e9df;cursor:pointer;position:relative}#owned-decks .deck-digital-cover img{width:100%;max-width:220px;height:auto;aspect-ratio:5/7;object-fit:contain;border-radius:9px;box-shadow:0 8px 16px #0008;transition:transform .18s ease}#owned-decks .deck-digital-cover:hover img{transform:translateY(-4px)}#owned-decks .deck-digital-cover:focus-visible{outline:3px solid #f5d38c;outline-offset:-4px}#owned-decks .deck-digital-cover span{font-size:14px;font-weight:700}#owned-decks .deck-cover-kicker{font-size:12px}#owned-decks .deck-state{font-size:14px;line-height:1.3}#owned-decks :is(.automatic-deck-actions,.saved-deck-actions){margin-top:auto!important;padding-top:14px}#owned-decks :is(.automatic-deck,.saved-deck-cover) small{font-size:12px}.digital-deck-dialog{width:min(960px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #5c938e;border-radius:20px;background:#0b2331;color:#e5f2ed;box-shadow:0 20px 70px #000a}.digital-deck-dialog::backdrop{background:#000b;backdrop-filter:blur(6px)}.digital-deck-dialog header{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:12px;padding:18px;background:#0b2331;border-bottom:1px solid #3c5b65}.digital-deck-dialog h2{margin:3px 0;font-size:24px;color:#ffe2a3}.digital-deck-dialog header p{margin:6px 0 0;font-size:14px;color:#b2ccd4}.digital-deck-dialog :is(.secondary,.primary){min-height:44px;font-size:14px}.digital-deck-dialog header button{align-self:start}.digital-deck-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:18px;padding:22px}.digital-deck-card{display:flex;position:relative;flex-direction:column;gap:8px;padding:0;border:0;background:none;color:#f1f8f4;text-align:center;cursor:pointer}.digital-deck-card img{display:block;width:100%;height:auto;aspect-ratio:5/7;object-fit:contain;border-radius:8px}.digital-deck-card span{align-self:center;background:#163e4a;border:1px solid #74b2a7;border-radius:20px;padding:3px 12px;font-size:14px;font-weight:bold}.digital-deck-card strong{font-size:14px;line-height:1.35}.digital-deck-card:focus-visible{outline:3px solid #f3cd80;outline-offset:5px;border-radius:8px}.digital-deck-detail{padding:16px;text-align:center}.digital-deck-detail>div img{width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 230px);display:block;margin:16px auto 0;border-radius:12px}.digital-deck-dialog footer{position:sticky;bottom:0;padding:12px 20px;background:#0b2331;border-top:1px solid #3c5b65;text-align:right}.digital-deck-dialog [hidden]{display:none!important}@media(max-width:700px){#owned-decks .deck-digital-cover{padding:12px 10px 8px}#owned-decks :is(.automatic-deck-actions,.saved-deck-actions) button{font-size:14px!important}#owned-decks .deck-cover-kicker{font-size:12px}.digital-deck-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;padding:14px}.digital-deck-dialog header{padding:14px}.digital-deck-dialog h2{font-size:20px}}@media(prefers-reduced-motion:reduce){#owned-decks .deck-digital-cover img{transition:none}}#owned-decks .deck-library-toolbar{display:flex;align-items:flex-end;gap:18px 28px;flex-wrap:wrap;margin:0 0 22px}#owned-decks .deck-library-search{flex:1 1 320px;min-width:0;max-width:600px}#owned-decks .deck-library-search label{display:block;margin-bottom:8px;color:#c8e9e5;font-weight:700}#owned-decks .deck-library-search-field{display:flex;align-items:center;gap:10px;padding:0 10px 0 16px;border:1px solid #527d88;border-radius:14px;background:#0b202d;color:#8ee4d7}#owned-decks .deck-library-search-field:focus-within{outline:2px solid #8ee4d7;outline-offset:3px}#owned-decks .deck-library-search-field svg{flex-shrink:0}#owned-decks .deck-library-search-field input{flex:1;min-width:0;width:100%;min-height:50px;padding:10px 0;border:0;border-radius:0;background:transparent;color:#edf7f3;font-size:16px;box-shadow:none;outline:0}#owned-decks .deck-library-search-field input::placeholder{color:#a6c3cc;opacity:1}#owned-decks .deck-library-search-field button{flex-shrink:0;min-width:44px;min-height:44px;padding:4px;border:0;border-radius:10px;background:transparent;color:#c8e9e5;font-size:26px;cursor:pointer}#owned-decks .deck-library-search-field button:focus-visible{outline:2px solid #f4d594;outline-offset:1px}#owned-decks .deck-library-toolbar .deck-view-controls{margin:0 0 3px}#owned-decks .deck-library-results{margin:0 0 20px;color:#bde6e1}#owned-decks [hidden]{display:none!important}#owned-decks .deck-view-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 20px}#owned-decks .deck-view-controls button{min-height:44px}#owned-decks .deck-view-controls [aria-pressed=true]{outline:2px solid #8ee4d7;outline-offset:2px}#owned-decks[data-deck-view=carousel] :is(.automatic-deck-list,.saved-deck-list){display:flex;overflow-x:auto;gap:16px;scroll-snap-type:x proximity;padding:5px 4px 16px;max-width:100%}#owned-decks[data-deck-view=carousel] :is(.automatic-deck-list,.saved-deck-list)>*{flex:0 0 min(300px,86%);min-width:0;scroll-snap-align:start}#owned-decks .deck-create-cover{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;min-height:270px;width:100%;max-width:360px;padding:28px 22px;border:1px dashed #77a5ad;border-radius:18px;background:radial-gradient(ellipse at top,#224c59,#0b202d);color:#c8e9e5;white-space:normal;text-align:center}#owned-decks .deck-create-cover strong{font-size:23px;color:#f4d594}#owned-decks .deck-create-cover small{max-width:220px;line-height:1.5}#owned-decks .deck-create-silhouette{display:grid;place-items:center;width:85px;height:120px;border:2px solid #79a3aa;border-radius:10px;box-shadow:6px 6px 0 #173844,10px 10px 0 #50727c;font-size:38px;color:#b9e6dd}#owned-decks .legacy-decks{max-width:1120px}.practice-rival-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(84px,1fr));gap:10px;margin:12px 0}.practice-rival-cards button{display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 6px;border:1px solid #426677;border-radius:12px;background:#102c3a;color:#e7f5ee;cursor:pointer;min-width:0}.practice-rival-cards img{width:100%;max-width:116px;height:auto;aspect-ratio:5/7;object-fit:contain;border-radius:5px}.practice-rival-cards span{font-size:14px;line-height:1.25;font-weight:700}.practice-rival-cards button[aria-pressed=true]{border-color:#f4cd7f;outline:2px solid #f4cd7f;background:#214249}.practice-rival-cards button:focus-visible{outline:3px solid #a0f6e2;outline-offset:3px}@media(max-width:700px){.practice-rival-cards{display:flex;overflow-x:auto;padding:4px 3px 10px;scroll-snap-type:x proximity}.practice-rival-cards button{min-width:100px;max-width:100px;scroll-snap-align:start}}
