.site-header{position:sticky;top:0;z-index:30;min-height:86px;height:auto;padding-top:13px;padding-bottom:13px;gap:20px;box-shadow:0 3px 16px #1b243008}.site-header nav{gap:20px;flex-wrap:wrap}.site-header nav a{min-height:42px;padding:8px 0}.site-header .home-button{border:1px solid #d7dce1;border-radius:7px;padding:9px 13px;font-weight:700;color:#26313b;background:#f5f6f7;white-space:nowrap}#nav-opening{display:none!important}.quiet-hidden{display:none!important}#mode-note,#menu-subline,.gesture-help,#protection-note,.tray-help,.teaser-caption,.auto-sleeve-settings>span{display:none}#studio-hint{font-size:12px}.studio-bottom{min-height:54px}.opening-notices{position:fixed;right:22px;top:96px;z-index:25;width:min(310px,calc(100vw - 30px));max-height:35vh;overflow:auto;display:grid;gap:8px}.opening-notice{display:flex;align-items:stretch;background:#fff;border:1px solid #d9dfe5;border-radius:9px;box-shadow:0 6px 22px #1d263b17}.notice-resume{border:0;background:none;display:flex;align-items:center;gap:12px;min-width:0;flex:1;padding:12px;text-align:left;font-size:13px;font-weight:600}.notice-resume img{width:38px;height:48px;object-fit:contain}.notice-close{border:0;background:none;font-size:24px;padding:8px 12px;align-self:start;color:#77808a}.notice-resume:hover{background:#faf5eb}.again-dialog{width:min(420px,calc(100vw - 32px));padding:42px;text-align:center;border:1px solid #dfe3e8;border-radius:16px;box-shadow:0 25px 100px #16203035}.again-dialog::backdrop{background:#17213055;backdrop-filter:blur(5px)}.again-dialog>img{display:block;width:100%;height:230px;object-fit:contain;margin:4px auto 20px}.again-dialog h2{font-size:34px;margin:10px 0 24px}.again-dialog .button{width:100%}.again-dialog .dialog-close{min-width:44px;min-height:44px}.is-founder .identity-name{animation:none!important;background:none!important;color:inherit!important;-webkit-text-fill-color:currentColor!important}.founder-badge{order:-1;animation:none!important;box-shadow:none!important;width:22px;height:24px;padding:0!important;display:inline-grid;place-items:center;background:#101114!important;color:white!important;border:0!important;border-radius:3px!important;font:800 13px/1 Arial,sans-serif!important;letter-spacing:0!important}.player-identity{flex-wrap:nowrap}.deck-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}.deck-filters{display:flex;flex-wrap:wrap;gap:10px;padding:18px;background:white;border:1px solid #e0e4e9;border-radius:10px;margin-bottom:15px}.deck-filters>input{flex:1;min-width:200px}.deck-filters label{display:flex;align-items:center;font-size:13px;gap:6px}.deck-filters input,.deck-filters select,.deck-editor>input,.lobby-actions input,.lobby-members input,#chat-input{border:1px solid #d8dee5;border-radius:6px;padding:11px;background:#fff;color:#26313b;font:inherit;min-width:0}.deck-catalog{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:15px 0 24px}.deck-card{background:white;border:1px solid #e0e4e9;border-radius:9px;padding:10px;display:flex;flex-direction:column;gap:9px;min-width:0}.deck-card>img{width:100%;aspect-ratio:63/88;object-fit:contain;border-radius:7px;background:#edf0f3}.deck-card strong{font-size:13px;line-height:1.3}.deck-card small,.deck-card-count{font-size:11px;color:#6c7884;line-height:1.5}.deck-card .button{font-size:12px;padding:10px 5px;margin-top:auto;min-height:40px}.deck-card details{font-size:12px;line-height:1.5}.deck-card details p{white-space:pre-wrap}.deck-card.incompatible>img{opacity:.68}.deck-editor{position:sticky;top:108px;background:#fff;border:1px solid #dce2e8;border-radius:12px;padding:22px;max-height:calc(100vh - 128px);overflow:auto}.deck-editor>input{width:100%;font-weight:700;font-size:19px;margin-bottom:15px}.deck-editor>strong{display:block;font-size:18px}.deck-editor .button{width:100%;margin-top:18px}.deck-editor details{font-size:12px;line-height:1.6;margin-top:15px}.deck-valid{font-size:13px;color:#207657;padding:10px 0}.deck-invalid{font-size:12px;color:#965b31;line-height:1.6;max-height:130px;overflow:auto}#deck-missing{font-size:12px}.deck-row{display:flex;align-items:center;gap:7px;padding:9px 0;border-bottom:1px solid #edf0f3}.deck-row>img{width:33px;height:46px;object-fit:contain;border-radius:3px}.deck-row>div{flex:1;min-width:0}.deck-row strong{display:block;font-size:12px}.deck-row small{display:block;font-size:10px;color:#7c8792}.deck-row button{border:1px solid #dfe4e8;border-radius:4px;background:#f8f9fa;width:28px;height:32px;flex:none}.deck-row>b{font-size:12px}.saved-decks{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;color:#87919b;font-size:13px}.saved-deck{display:flex;border:1px solid #dce2e8;background:white;border-radius:6px;overflow:hidden}.saved-deck button{background:none;border:0;padding:10px 14px;text-align:left}.saved-deck button:last-child{border-left:1px solid #e8ebee}.muted,.empty-copy{font-size:13px;color:#77828e;line-height:1.6}.error{color:#aa493e}.lobby-actions{display:grid;grid-template-columns:1fr 1fr;gap:24px}.lobby-actions form{display:flex;flex-direction:column;gap:20px;padding:32px;border:1px solid #dce2e8;background:white;border-radius:12px}.lobby-actions h2{font-size:28px;margin:0}.my-lobbies{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}.lobby-room-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:15px}.lobby-room-heading h2{font-size:34px;margin:0}.lobby-columns{display:grid;grid-template-columns:300px minmax(0,1fr);gap:25px}.lobby-members{background:white;padding:25px;border:1px solid #dce2e8;border-radius:12px}.lobby-members h3{margin-top:0}.lobby-members label{display:grid;gap:10px;font-size:12px;margin:28px 0 12px}.lobby-members .button{width:100%}#lobby-members p{padding:12px;border-radius:6px;background:#f3f5f7;font-size:14px}.lobby-chat{background:white;border:1px solid #dce2e8;border-radius:12px;overflow:hidden}#chat-messages{height:440px;overflow:auto;padding:25px;overscroll-behavior:contain}.chat-message{padding:10px 0;border-bottom:1px solid #eef1f4;overflow-wrap:anywhere}.chat-message strong{font-size:13px}.chat-message time{font-size:11px;color:#8d96a0;margin-left:12px}.chat-message p{white-space:pre-wrap;margin:7px 0;font-size:14px;line-height:1.5}#chat-form{display:flex;padding:15px;gap:10px;border-top:1px solid #e3e7eb;background:#f8f9fa}#chat-input{flex:1}#lobby-feedback{min-height:24px}.missing-image{object-fit:contain;opacity:.4}@media(max-width:1250px){.site-header{flex-wrap:wrap}.site-header nav{gap:14px}.site-header .brand{font-size:30px}.deck-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.opening-notices{top:125px}.deck-editor{top:130px}}@media(max-width:900px){.site-header .brand-navigation{flex:1}.site-header nav{order:3;width:100%;justify-content:center;margin:0}.deck-layout{grid-template-columns:1fr}.deck-editor{position:static;max-height:none;grid-row:1}#deck-selected{max-height:280px;overflow:auto}.lobby-columns{grid-template-columns:1fr}.opening-notices{top:145px}.deck-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.opening-notices:empty{display:none}}@media(max-width:540px){.site-header{padding:10px 14px;gap:8px}.site-header nav{gap:12px;justify-content:flex-start}.site-header nav a{font-size:12px}.site-header .brand{font-size:27px}.site-header .world-switch{font-size:10px}.deck-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.lobby-actions{grid-template-columns:1fr}.lobby-actions form{padding:22px}.deck-editor{padding:18px}.opening-notices{right:10px;top:148px;width:245px}.again-dialog{padding:30px}#chat-messages{height:340px}.lobby-room-heading{align-items:flex-start;flex-direction:column}}

#deck-set{max-width:100%;min-width:220px;flex:1}#deck-catalog .deck-card>small{line-height:1.5}#deck-catalog .deck-card img{cursor:default}
/* Opening layout: one bounded studio, centered card, peripheral controls. */
.site-header nav{margin-left:auto}.site-header .founder-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center;width:24px;height:24px;line-height:24px!important;padding:0!important;letter-spacing:0!important}.opening-mode-toolbar{max-width:none;gap:14px}.opening-mode-toolbar .home-button{display:inline-flex;align-items:center;justify-content:center;padding:16px 24px;min-height:54px;background:#bc343d;color:#fff;font-weight:700;border-radius:8px;text-decoration:none}.opening-mode-toolbar .opening-mode-toggle button{font-size:17px;min-height:48px;padding:13px 26px}.sound-toggle{margin-left:auto;border:1px solid #c1c8d0;background:#fff;width:46px;height:46px;border-radius:8px;font-size:23px}.opening-heading{margin:0 0 12px}.opening-heading>span{display:none}.opening-layout{display:block}.studio,.studio.inspecting,.studio:has(.teaser-card:not([hidden])){display:block;height:74vh;min-height:640px;max-height:1100px;padding:0;isolation:isolate;overflow:hidden;container-type:size}.studio-space{position:absolute;inset:0;height:100%;min-height:0;padding:0;display:flex;align-items:center;justify-content:center}.studio .card-rotator,.studio .teaser-card{height:min(60cqh,calc((100cqw - 560px)*1.396));min-height:0;max-height:780px;max-width:none;width:auto;aspect-ratio:63/88}.studio .pack-object,.studio .rip-piece{height:62cqh;min-height:0;max-height:780px;width:38cqw;max-width:390px}.studio .pack-pulls{left:32px;top:28px;bottom:28px;height:auto;min-height:0;width:46px;gap:5px;overflow:visible}.studio .pull-mini{max-height:56px}.studio .slot-number{display:block;left:-22px;font-size:11px;font-weight:700}.studio-label,.studio-bottom,.rip-label{display:none!important}.studio .value-ledger{position:absolute;right:20px;top:20px;width:225px;max-height:36%;overflow:auto;padding:15px;display:block;background:#ffffffb8;backdrop-filter:blur(8px);z-index:5;border:1px solid #ffffffb0;box-shadow:none}.value-ledger>.eyebrow,.value-ledger>dl,.value-ledger>.small,.value-ledger>.price-date,.value-ledger>.price-coverage,#card-price-source{display:none}.ledger-current{padding:0;border:0}.ledger-current>span,.ledger-total>span:first-child{font-size:13px}.ledger-current strong{font-size:clamp(26px,2.8vw,44px);margin:4px 0 12px}.ledger-total{margin:0;padding:10px;background:#edf2f0}.ledger-total strong{font-size:clamp(24px,2.4vw,38px)}#value-gain{font-size:28px;right:8px;top:0;z-index:2;background:#edf6ef;border-radius:5px;padding:4px}.studio #price-details{font-size:11px;margin-top:8px}.studio .card-panel{position:absolute;right:20px;bottom:20px;width:225px;max-height:52%;margin:0;padding:15px;overflow:auto;display:block;z-index:5;background:#ffffffb8;backdrop-filter:blur(8px)}.studio .card-panel[hidden]{display:none}.studio .card-panel h2{font-size:24px;margin:8px 0}.card-panel .panel-divider,.card-panel>.eyebrow,.card-panel .finish-label,.card-panel .card-tags{display:none}.studio .card-panel .protection{font-size:12px;min-height:44px;padding:10px;margin-top:8px}.rotate-reset{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);z-index:7;border:1px solid #aab4c0;background:#ffffffa8;color:#253644;border-radius:50%;width:44px;height:44px;font-size:27px;line-height:1;display:grid;place-items:center}.studio:has(#card[hidden]) .rotate-reset{display:none}.floor-shadow{left:50%;transform:translateX(-50%);bottom:9%}.studio .god-banner{top:20px;left:50%;max-width:35%;white-space:normal;text-align:center}.opening-mode-toolbar.quiet-hidden{display:flex!important}.opening-mode-toolbar.quiet-hidden .opening-mode-toggle,.opening-mode-toolbar.quiet-hidden .sound-toggle{display:none}#collection-sync{font-size:13px;color:#677585}#collection-sync.sync-error{color:#ad343d}.studio:has(.ripping) .value-ledger{opacity:.5}
@media(max-width:1050px){.studio .value-ledger,.studio .card-panel{width:185px;right:14px}.studio .card-rotator,.studio .teaser-card{height:min(60cqh,calc((100cqw - 430px)*1.396))}.studio .card-panel h2{font-size:20px}.opening-mode-toolbar .opening-mode-toggle button{font-size:16px;padding:12px 18px}.site-header nav{gap:14px}}
@media(max-width:760px){.opening-mode-toolbar{flex-wrap:wrap;padding:0 12px;gap:8px}.opening-mode-toolbar .home-button{padding:12px 16px;min-height:48px}.opening-mode-toolbar .opening-mode-toggle button{font-size:14px;min-height:42px;padding:10px 12px}.sound-toggle{width:38px;height:38px}.studio,.studio.inspecting{height:84svh;min-height:680px}.studio-space{inset:0 0 180px;height:auto;padding-bottom:0}.studio .card-rotator,.studio .teaser-card{height:min(52cqh,calc((100cqw - 155px)*1.396));max-width:none}.studio .pack-object,.studio .rip-piece{height:50cqh;width:60cqw;max-width:none}.studio .pack-pulls{left:28px;top:24px;bottom:202px;width:28px;gap:4px}.studio .pull-mini{max-height:40px}.studio .slot-number{font-size:10px;left:-18px}.studio .value-ledger{left:12px;right:auto;top:auto;bottom:12px;width:40%;height:162px;max-height:162px;padding:12px}.studio .card-panel{right:12px;bottom:12px;width:51%;height:162px;max-height:162px;padding:10px}.studio .card-panel h2{font-size:17px;margin:2px 0}.studio .card-panel .rarity,.studio .card-panel .card-code{font-size:10px;margin:3px 0}.studio .card-panel .protection{font-size:11px;padding:6px;min-height:34px;margin:5px 0}.ledger-current strong{font-size:25px;margin:3px 0 7px}.ledger-total{padding:5px}.ledger-total strong{font-size:23px}.ledger-current>span,.ledger-total>span:first-child{font-size:11px}.studio #price-details{margin:4px 0 0;padding:0;font-size:10px}#value-gain{font-size:22px}.rotate-reset{bottom:188px;width:36px;height:36px;font-size:23px}.studio .god-banner{left:55%;top:10px;max-width:65%;font-size:10px}.site-header nav{gap:12px}.site-header nav a{font-size:12px}}

.studio .value-ledger>dl{display:block;margin:9px 0 0}.studio .value-ledger>dl>div{display:none}.studio .value-ledger>dl>div:first-child{display:flex;font-size:12px;padding:4px 0}.studio .value-ledger{max-height:42%}.studio .card-panel{max-height:48%}@media(max-width:760px){.studio .value-ledger{height:162px;max-height:162px}.studio .card-panel{max-height:162px}.studio .value-ledger>dl{margin:4px 0}.studio .value-ledger>dl>div:first-child{font-size:11px}}
.founder-badge{justify-content:center!important;align-items:center!important;text-align:center!important}.studio.inspecting .ledger-total,.studio.inspecting .value-ledger>dl{display:none}

.opening-mode-toolbar{position:relative;justify-content:center}.opening-controls{display:flex;align-items:center;justify-content:center;gap:14px;max-width:100%;margin:0 auto}.opening-mode-toolbar .sound-toggle{position:absolute;right:4vw;margin:0}.again-dialog{width:min(760px,calc(100vw - 32px));max-width:760px;max-height:90svh;overflow-y:auto;padding:32px}.again-dialog h2{font-size:32px;margin:10px 0 16px}.again-dialog #again-summary{margin-bottom:25px}.again-dialog #again-scope{font-size:14px;margin:0 0 12px}.again-value{display:grid;gap:4px;background:#edf3ef;border:1px solid #d4e2d8;border-radius:9px;padding:14px;color:#245741}.again-value>span{font-size:14px}.again-value>strong{font-size:38px;font-variant-numeric:tabular-nums}.again-dialog #again-coverage{font-size:12px;color:#95622c;margin:7px 0}.again-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.again-hit{min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px}.again-hit img{width:100%;height:200px;object-fit:contain;filter:drop-shadow(0 5px 7px #172a3920)}.again-hit>strong{font-size:14px;line-height:1.3}.again-hit small{font-size:12px;color:#6f7d89}.again-hit>span{font-size:18px;font-weight:700;color:#285e48}.again-dialog>img[hidden]{display:none}@media(max-width:760px){.opening-controls{gap:8px}.opening-mode-toolbar{padding-bottom:44px}.opening-mode-toolbar .sound-toggle{top:auto;bottom:0;right:calc(50% - 19px)}.opening-mode-toolbar.quiet-hidden{padding-bottom:0}.again-dialog{padding:28px 18px}.again-highlights{gap:10px}.again-hit img{height:auto;aspect-ratio:63/88}.again-hit>strong{font-size:12px}.again-hit small{font-size:10px}.again-hit>span{font-size:15px}.again-dialog h2{font-size:28px}.again-value>strong{font-size:32px}}@media(max-width:360px){.opening-controls{flex-wrap:wrap}.again-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}}

.card-protection{position:absolute;left:50%;bottom:80px;transform:translateX(-50%);width:180px;z-index:8}.card-protection .protection{margin:0;min-height:44px;width:100%;padding:11px 16px;background:#ffffffed;border:1px solid #899aa9;box-shadow:0 3px 12px #26394715;justify-content:space-between;letter-spacing:.06em;font-size:13px;font-weight:750}.card-protection .protection:disabled{opacity:.75}.studio:has(#card[hidden]) .card-protection{display:none}.studio .card-rotator{height:min(54cqh,calc((100cqw - 560px)*1.396))}.studio-space:has(#card:not([hidden])){transform:translateY(-26px)}.studio-audio{position:relative;display:flex;justify-content:center;align-items:center;margin:16px auto 0;min-height:46px;z-index:12}.studio-audio .sound-toggle{position:static;margin:0;width:46px;height:46px;display:grid;place-items:center;border:1px solid #c1c8d0;background:#fff;border-radius:50%;color:#334452;cursor:pointer}.studio-audio .sound-toggle.muted{color:#9ba3ac}.volume-panel{position:absolute;bottom:calc(100% + 12px);left:50%;transform:translateX(-50%);width:min(260px,calc(100vw - 48px));padding:16px 18px;background:#fff;border:1px solid #cdd5dc;border-radius:12px;box-shadow:0 10px 32px #172c4130}.volume-panel label{display:flex;justify-content:space-between;gap:16px;font-size:14px;color:#344656;font-weight:600}.volume-panel input{display:block;width:100%;margin:15px 0 3px;accent-color:#344656;cursor:pointer}.volume-panel output{font-variant-numeric:tabular-nums}.opening-mode-toolbar{padding-bottom:0!important}@media(max-width:1050px){.studio .card-rotator{height:min(54cqh,calc((100cqw - 430px)*1.396))}}@media(max-width:760px){.card-protection{bottom:236px;width:160px}.card-protection .protection{min-height:38px;padding:8px 12px;font-size:12px}.studio .card-rotator{height:min(43cqh,calc((100cqw - 155px)*1.396))}.studio-space:has(#card:not([hidden])){transform:translateY(-28px)}.studio-audio{margin-top:12px}}

.studio .card-panel,.studio .value-ledger{display:none!important}.card-protection .protection{justify-content:center;text-align:center}.card-protection .protection>span:last-child{display:none}.return-current{display:block;width:100%;min-height:38px;margin:0 0 9px;padding:9px 12px;border:1px solid #8395a4;border-radius:7px;background:#283c4c;color:white;font:600 12px/1.3 Arial,sans-serif;cursor:pointer}.card-protection{bottom:105px}.rotate-reset{bottom:52px}.card-serial{position:absolute;left:50%;bottom:15px;transform:translateX(-50%);z-index:7;min-width:128px;max-width:70%;padding:5px 16px;border:1px solid #aebbc7;border-radius:5px;background:#ffffffc9;color:#344653;text-align:center;font:600 14px/1.2 Arial,sans-serif;letter-spacing:.08em}.studio:has(#card[hidden]) .card-serial{display:none}.pull-value{position:absolute;left:calc(50% + 25cqh);right:20px;top:50%;transform:translateY(-50%);z-index:5;text-align:center;pointer-events:none;color:#20644d;font-variant-numeric:tabular-nums}.pull-value strong{display:block;font-size:clamp(32px,3.5vw,60px);font-weight:800;letter-spacing:-.045em;white-space:nowrap}.pull-value #value-gain{position:absolute;left:0;right:0;top:-50px;font-size:42px;font-weight:800;background:none;padding:0;white-space:nowrap;color:#288466}.pull-value small{display:block;font-size:12px;min-height:1.2em;color:#846142}.studio-space:has(#card:not([hidden])){transform:translateY(-40px)}.studio.inspecting .card-rotator{height:min(45cqh,calc((100cqw - 560px)*1.396))}.studio.inspecting .studio-space:has(#card:not([hidden])){transform:translateY(-60px)}@media(max-width:1050px){.pull-value{left:auto;right:16px;width:180px}.pull-value strong{font-size:34px}.pull-value #value-gain{font-size:32px}.studio.inspecting .card-rotator{height:min(45cqh,calc((100cqw - 430px)*1.396))}}@media(max-width:760px){.card-protection{bottom:105px;width:170px}.rotate-reset{bottom:53px}.card-serial{bottom:16px;font-size:13px}.studio .studio-space{inset:0 0 90px;height:auto}.studio-space:has(#card:not([hidden])){transform:translateY(-25px)}.studio .card-rotator,.studio.inspecting .card-rotator{height:min(43cqh,calc((100cqw - 205px)*1.396))}.studio.inspecting .studio-space:has(#card:not([hidden])){transform:translateY(-40px)}.pull-value{right:8px;width:96px;top:43%}.pull-value strong{font-size:clamp(18px,4.7vw,30px)}.pull-value #value-gain{font-size:clamp(18px,4.7vw,30px);top:-38px}.pull-value small{font-size:10px}.studio .pack-pulls{bottom:180px}.return-current{font-size:12px}}

.pull-value{container-type:inline-size}.pull-value strong{font-size:clamp(15px,14cqw,60px)}.pull-value #value-gain{font-size:clamp(16px,15cqw,48px)}@media(max-width:760px){.studio .card-rotator,.studio.inspecting .card-rotator{height:min(43cqh,calc((100cqw - 225px)*1.396))}}

.opening-heading{display:none}.studio-back-actions{position:absolute;top:18px;left:50%;transform:translateX(-50%);z-index:10;display:flex;justify-content:center;gap:10px;max-width:90%;width:max-content}.studio-back-actions button{width:auto;min-height:40px;margin:0;padding:10px 18px;background:#283c4c;color:#fff;border:1px solid #465d70;border-radius:7px;font:600 13px/1.3 Arial,sans-serif;text-align:center;cursor:pointer}.studio.inspecting .card-rotator{height:min(50cqh,calc((100cqw - 560px)*1.396))}.studio.inspecting .studio-space:has(#card:not([hidden])){transform:translateY(-40px)}.deck-layout{grid-template-columns:minmax(240px,300px) minmax(0,1fr) 310px;gap:22px}.deck-browser{min-width:0}.deck-preview{position:sticky;top:120px;max-height:calc(100svh - 140px);overflow:auto;border:1px solid #dce2e8;border-radius:12px;background:#fff;padding:16px;scrollbar-width:thin}.deck-preview>img{display:block;width:100%;height:auto;aspect-ratio:63/88;object-fit:contain;border-radius:9px}.deck-preview h2{font-size:24px;line-height:1.2;margin:16px 0 8px}.deck-preview .preview-meta{font-size:13px;color:#75818d;margin:0 0 12px}.deck-preview .preview-effect{font-size:16px;line-height:1.6;white-space:pre-wrap;margin:0;color:#263a49}.deck-layout .deck-editor{grid-row:auto;top:120px;max-height:calc(100svh - 140px);padding:18px}.deck-editor-title{font-size:25px;margin:0 0 14px}.deck-layout .deck-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.deck-layout .deck-row>img{width:48px;height:67px;flex:none;cursor:zoom-in}#deck-catalog .deck-card>img{cursor:zoom-in}.deck-card>img:focus-visible,.deck-row>img:focus-visible{outline:3px solid #d69a4c;outline-offset:3px}@media(min-width:1700px){.deck-layout{grid-template-columns:330px minmax(0,1fr) 350px}.deck-layout .deck-catalog{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1200px){.deck-layout{grid-template-columns:230px minmax(0,1fr) 270px;gap:15px}.deck-layout .deck-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.deck-layout .deck-editor{padding:13px}.deck-preview{padding:12px}}@media(max-width:1000px){.deck-layout{grid-template-columns:minmax(0,1fr) 280px}.deck-preview{grid-column:1/-1;position:static;display:grid;grid-template-columns:180px minmax(0,1fr);gap:0 22px;max-height:380px}.deck-preview>img{grid-row:1/4;max-height:330px}.deck-preview h2,.deck-preview p{grid-column:2}.deck-browser{grid-column:1}.deck-layout .deck-editor{grid-column:2;grid-row:auto;position:sticky}.studio.inspecting .card-rotator{height:min(50cqh,calc((100cqw - 430px)*1.396))}}@media(max-width:700px){.deck-layout{display:flex;flex-direction:column}.deck-preview,.deck-browser,.deck-layout .deck-editor{width:100%}.deck-preview{grid-template-columns:130px minmax(0,1fr);gap:0 14px;max-height:360px}.deck-preview h2{font-size:21px}.deck-preview .preview-effect{font-size:14px}.deck-layout .deck-editor{position:static;max-height:500px}.deck-layout .deck-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-back-actions{top:14px}.studio-back-actions button{font-size:12px;min-height:36px;padding:9px 13px}.studio.inspecting .card-rotator{height:min(43cqh,calc((100cqw - 225px)*1.396))}}

/* Keep enlarged artwork inside its own stage; controls remain available. */
.studio-space{pointer-events:none}
.studio-space:has(#card:not([hidden])){clip-path:inset(70px 0 125px)}
.studio-space #card,.studio-space #pack,.studio-space #teaser,.studio-space #studio-empty{pointer-events:auto}
.studio .card-rotator{will-change:transform;touch-action:none}
.studio-back-actions button:focus-visible,.rotate-reset:focus-visible,.protection:focus-visible{outline:3px solid #b88238;outline-offset:3px}
@media(max-width:760px){.studio.inspecting .card-rotator{height:min(43cqh,calc((100cqw - 225px)*1.396))}.studio-space:has(#card:not([hidden])){clip-path:inset(65px 0 40px)}}
@media(prefers-reduced-motion:reduce){.card-rotator,.pull-mini,.set-tile,.deck-card{transition:none!important}}

/* Reading-focused deck workspace. */
.deck-layout{grid-template-columns:minmax(360px,32vw) minmax(0,1fr) 290px;gap:24px}
.deck-preview{padding:20px}
.deck-preview .preview-effect{font-size:20px;line-height:1.65}
.deck-preview .preview-meta{font-size:15px}
.deck-preview h2{font-size:28px}
.deck-filters #deck-search{flex:1 0 100%;width:100%;min-height:58px;padding:16px 18px;font-size:19px;border:1px solid #a8b5c1;background:#f8fafc}
.deck-filters #deck-search:focus{outline:2px solid #b88238;outline-offset:2px;background:#fff}
.deck-layout .deck-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:1700px){.deck-layout{grid-template-columns:minmax(460px,32vw) minmax(0,1fr) 320px}.deck-layout .deck-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1001px) and (max-width:1250px){.deck-layout{grid-template-columns:350px minmax(0,1fr);gap:20px}.deck-preview{grid-column:1;grid-row:1/3}.deck-browser{grid-column:2;grid-row:1}.deck-layout .deck-editor{grid-column:2;grid-row:2;position:static;max-height:none}}
@media(max-width:1000px){.deck-layout{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.deck-preview{grid-column:1/-1;display:grid;grid-template-columns:minmax(260px,42%) minmax(0,1fr);max-height:none;overflow:visible}.deck-preview>img{max-height:none;align-self:start}.deck-preview .preview-effect{font-size:19px}.deck-preview h2{font-size:26px}}
@media(max-width:700px){.deck-layout{display:flex}.deck-preview{display:flex;flex-direction:column;padding:18px;max-height:none}.deck-preview>img{width:100%;max-width:440px;margin:0 auto}.deck-preview .preview-effect{font-size:18px}.deck-preview .preview-meta{margin-bottom:14px}.deck-filters #deck-search{font-size:17px;min-height:56px}.deck-layout .deck-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Wide desktop deck workspace: keep the original catalogue card scale. */
#decks-view{max-width:none;padding-left:20px;padding-right:20px}
@media(min-width:1400px){.deck-layout{grid-template-columns:minmax(340px,26vw) minmax(640px,1fr) 270px;gap:20px}.deck-layout .deck-catalog{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.deck-preview{padding:12px}.deck-layout .deck-editor{padding:14px}}
@media(min-width:1001px) and (max-width:1399px){.deck-layout{grid-template-columns:340px minmax(0,1fr);gap:20px}.deck-preview{grid-column:1;grid-row:1/3}.deck-browser{grid-column:2;grid-row:1}.deck-layout .deck-editor{grid-column:2;grid-row:2;position:static;max-height:none}.deck-layout .deck-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}}
.cardpathisch-brand{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.members-tab{color:#687483;text-decoration:none;font-size:11px;font-weight:750;letter-spacing:.1em}.members-tab:hover,.members-tab.active{color:#ad7330}.site-header .princess-switch{position:relative;padding:13px 18px 13px 57px;background:linear-gradient(130deg,#392640,#714358);border-color:#b68d50;color:#ffebbf;box-shadow:inset 0 0 0 2px #ffffff0a;min-height:48px}.site-header .princess-switch:hover{background:#73495e;border-color:#e4ba72}.princess-switch img{position:absolute;left:0;bottom:0;width:53px;height:57px;object-fit:cover;object-position:top;border-radius:5px}
.members-list{display:grid;gap:12px}.member-row{display:flex;align-items:center;justify-content:space-between;gap:22px;width:100%;padding:20px 28px;text-align:left;background:#fff;border:1px solid #dce2e8;border-radius:12px;color:#263a49;cursor:pointer}.member-row:hover{border-color:#b88b4f;background:#fffdf9}.member-row:focus-visible{outline:3px solid #b88238;outline-offset:3px}.member-name strong{font-size:22px}.member-name small{display:block;color:#7a8591;margin-top:6px}.member-hit{display:flex;align-items:center;gap:22px;text-align:right}.member-hit img{width:70px;height:98px;object-fit:contain;border-radius:5px}.member-hit strong{display:block;font-size:24px;color:#24634c;margin-top:8px}.member-hit small{color:#74808b}.member-founder{display:inline-grid;place-items:center;width:24px;height:24px;background:#111;color:#fff;font:bold 14px/1 Arial;border-radius:4px;vertical-align:middle}.member-profile{display:grid;grid-template-columns:1fr 1fr;gap:50px;max-width:1200px;margin:35px auto}.member-profile h1{font-size:clamp(30px,4vw,56px);overflow-wrap:anywhere}.member-stat{display:grid;gap:8px;padding:25px 0}.member-stat strong{font-size:52px}.member-stat span{font-size:18px;color:#667583}.member-best{text-align:center}.member-art{border:0;background:transparent;padding:0;cursor:grab;display:block;margin:0 auto 20px;max-width:100%}.member-art img{width:340px;max-width:100%;height:auto;filter:drop-shadow(0 16px 20px #25334130)}.member-best>strong{font-size:32px;color:#24634c}
@media(max-width:700px){#decks-view{padding-left:14px;padding-right:14px}.site-header .princess-switch{padding-left:42px;font-size:10px;min-height:42px}.princess-switch img{width:37px;height:46px}.member-row{padding:16px;gap:12px}.member-name strong{font-size:17px}.member-hit{gap:10px}.member-hit img{width:48px;height:67px}.member-hit strong{font-size:18px}.member-hit small{font-size:11px}.member-profile{grid-template-columns:1fr;gap:20px}.member-stat{padding:10px 0}.member-stat strong{font-size:38px}}

.site-header .princess-portrait{position:absolute;left:0;bottom:0;width:53px;height:57px;border-radius:6px;background:url('/assets/adventure-princess.png') 87% 3% / 180px 180px no-repeat}.members-tab{padding:4px 9px;border-radius:4px;background:#e9edf0}.members-tab.active{background:#f2e4d0}@media(max-width:700px){.site-header .princess-portrait{width:37px;height:46px;background-size:155px 155px}}

.lobby-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:28px}.lobby-entry,.public-lobbies{min-width:0;background:#fff;border:1px solid #dce2e8;border-radius:12px;padding:24px}.lobby-switch{display:flex;padding:5px;background:#e3e7eb;border:1px solid #c6cdd5;border-radius:9px;gap:5px}.lobby-switch button{flex:1;border:0;padding:17px 10px;background:transparent;color:#65717e;font-weight:750;border-radius:6px;cursor:pointer}.lobby-switch button[aria-pressed=true]{background:#fff;color:#243643;box-shadow:0 2px 5px #172a3915}.lobby-entry form{border:0;padding:26px 0 0}.lobby-entry form[hidden]{display:none}.invite-only{display:flex;align-items:center;gap:10px}.invite-only input{width:20px;height:20px;accent-color:#354e61}.public-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.public-heading h2{font-size:20px;line-height:1.4}.public-room{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 0;border-bottom:1px solid #e3e8ed}.public-room strong,.public-room small{display:block;overflow-wrap:anywhere}.public-room small{margin-top:7px;color:#71808d}.public-room>div{min-width:0}.public-room .button{flex:none}.set-skeleton{height:340px;border-radius:12px;background:linear-gradient(145deg,#e2e6eb,#f2f4f6);border:1px solid #dde2e8}
html.platform-pending body>header,html.platform-pending body>main{display:block!important}html.platform-pending body>header{display:flex!important}html.platform-pending main,html.platform-pending header{pointer-events:none}#platform-loading:empty{display:none}#platform-loading:not(:empty){position:fixed;inset:0;z-index:1000;background:#e9edf1;padding:30vh 20px;font-size:17px}#platform-loading button{margin:16px;padding:12px 20px}html.platform-pending #platform-account-button{visibility:hidden}
@media(max-width:800px){.lobby-actions{grid-template-columns:1fr}.lobby-entry,.public-lobbies{padding:18px}.lobby-switch button{font-size:12px}.public-heading{flex-wrap:wrap}.public-room .button{padding:10px 13px}}

/* Ownership applies to the exact printing, independently of leader compatibility. */
.deck-card.unowned>img,.deck-row.unowned>img{filter:grayscale(1);opacity:.48}
.cardpathisch-brand{align-items:center}
.members-dialog{position:fixed;inset:100px auto 16px 16px;margin:0;width:min(520px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 116px);border:1px solid #dce2e8;border-radius:14px;padding:20px;background:#f4f6f8;color:#263a49;box-shadow:0 18px 70px #16203040;overscroll-behavior:contain}
.members-dialog::backdrop{background:#17213035}.members-dialog .members-close{display:block;margin-left:auto;min-width:44px;min-height:44px;border:0;background:transparent;font-size:26px;cursor:pointer}
.members-dialog #members-view{padding:0}.members-dialog .section-heading{gap:12px;flex-wrap:wrap}.members-dialog h1{font-size:32px}.members-dialog .member-row{padding:13px;gap:12px}.members-dialog .member-name{min-width:0;overflow-wrap:anywhere}.members-dialog .member-name strong{font-size:17px}.members-dialog .member-hit{gap:9px;flex-shrink:0}.members-dialog .member-hit strong{font-size:19px}.members-dialog .member-hit img{width:45px;height:63px}.members-dialog .member-profile{grid-template-columns:1fr;gap:15px;margin-top:20px}.members-dialog .member-art img{max-height:340px;width:auto}.members-dialog .member-stat strong{font-size:34px}
@media(max-width:540px){.members-dialog{inset:12px auto 12px 12px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:14px}.members-dialog .member-hit small{font-size:10px}}

.deck-preview.unowned>img{filter:grayscale(1);opacity:.48}

#deck-set{width:174px;min-width:0;max-width:100%;flex:0 1 174px;text-overflow:ellipsis}
.deck-ownership-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;width:100%}.deck-ownership{display:flex;gap:6px}.deck-ownership button{border:1px solid #cdd5dc;border-radius:6px;padding:9px 11px;min-height:38px;background:#f5f7f9;color:#52616e;font:600 12px/1.3 Arial,sans-serif;cursor:pointer;white-space:nowrap}.deck-ownership button[aria-pressed=true]{background:#283c4c;border-color:#283c4c;color:#fff}.deck-ownership button:focus-visible{outline:3px solid #d69a4c;outline-offset:2px}.deck-filter-empty{grid-column:1/-1}.deck-ownership-row label{white-space:nowrap}
#deck-set{font-size:13px;padding:10px 8px}

.cardpathisch-brand-line{display:flex;align-items:baseline;gap:9px}.cardpathisch-beta{color:#000;font:700 13px/1 Arial,sans-serif;letter-spacing:.03em}

/* The selected card's quote stays visible independently of the animated pack total. */
/* Shared opening / collection inspection: unboxed values beside the card. */
.studio{--price-card-width:min(38.66cqh,calc(100cqw - 560px))}
.studio.inspecting .card-rotator{height:min(54cqh,calc((100cqw - 560px)*1.396))}
.studio.inspecting .studio-space:has(#card:not([hidden])){transform:translateY(-40px)}
.studio .pull-value,.studio .viewed-card-price{position:absolute;top:calc(50% - 40px);transform:translateY(-50%);width:auto;min-width:0;max-width:none;padding:0;border:0;border-radius:0;background:none;box-shadow:none;text-align:center;pointer-events:none;container-type:inline-size;color:#20644d;font-variant-numeric:tabular-nums;z-index:7}
.studio .pull-value{left:94px;right:calc(50% + var(--price-card-width)/2 + 20px)}
.studio .viewed-card-price{left:calc(50% + var(--price-card-width)/2 + 20px);right:24px}
.studio .viewed-card-price>span,.studio .viewed-card-price>small{display:none}
.studio .viewed-card-price strong,.studio .pull-value strong{display:block;margin:0;font-size:clamp(14px,15cqw,60px);line-height:1.25;font-weight:800;letter-spacing:-.045em;white-space:nowrap}
.studio .pull-value #value-gain{top:auto;bottom:calc(100% + 16px);font-size:clamp(14px,15cqw,48px)}
@media(max-width:1050px){.studio{--price-card-width:min(38.66cqh,calc(100cqw - 430px))}.studio.inspecting .card-rotator{height:min(54cqh,calc((100cqw - 430px)*1.396))}}
@media(max-width:760px){
 .studio{--price-card-width:min(30.78cqh,calc(100cqw - 225px))}
 .studio.inspecting .card-rotator{height:min(43cqh,calc((100cqw - 225px)*1.396))}
 .studio.inspecting .studio-space:has(#card:not([hidden])){transform:translateY(-25px)}
 .studio .pull-value,.studio .viewed-card-price{top:calc(50% - 70px)}
 .studio .pull-value{left:62px;right:calc(50% + var(--price-card-width)/2 + 8px)}
 .studio .viewed-card-price{left:calc(50% + var(--price-card-width)/2 + 8px);right:8px}
 .studio .viewed-card-price strong,.studio .pull-value strong{font-size:clamp(12px,15cqw,30px);white-space:normal;overflow-wrap:anywhere}
 .studio .pull-value #value-gain{font-size:clamp(12px,15cqw,28px);white-space:normal;overflow-wrap:anywhere}
}

.studio .pull-value>.price-caption,.studio .viewed-card-price>.price-caption{display:block;margin:8px 0 0;text-align:center;font-size:clamp(12px,5cqw,16px);line-height:1.3;font-weight:650;letter-spacing:.12em;color:inherit}

/* Normalize transparent pack margins to OP01 without changing its rip motion. */
.studio{--pack-art-size:max(min(38cqw,390px),min(62cqh,780px))}
.studio .pack-object img,.studio .rip-piece img{position:absolute;left:50%;top:50%;width:var(--pack-art-size);height:var(--pack-art-size);max-width:none;object-fit:fill;transform:translate(-50%,-50%) scale(var(--pack-art-scale-x,1),var(--pack-art-scale-y,1)) translate(var(--pack-art-offset-x,0%),var(--pack-art-offset-y,0%));transform-origin:center}
@media(max-width:760px){.studio{--pack-art-size:max(60cqw,50cqh)}}
