:root{color:#f2dfb7;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#160f0b;font-family:Georgia,Times New Roman,serif}*{box-sizing:border-box}body{margin:0;overflow:hidden}#card-art-warning{z-index:15;color:#ffefd0;background:#30271eee;border:1px solid #cfa95d;border-radius:8px;max-width:360px;margin:0;padding:10px 14px;font:13px/1.4 system-ui,sans-serif;position:fixed;bottom:12px;right:12px}#card-art-warning[hidden]{display:none}#game{width:100vw;height:100vh}canvas{touch-action:none;-webkit-user-select:none;user-select:none;display:block}#loading{z-index:20;background:#20160f;flex-direction:column;justify-content:center;align-items:center;font-size:20px;display:flex;position:fixed;inset:0}.loading-logo{aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 0 10px #ed9b4b66);width:min(192px,45vw,42vh);height:auto;animation:1.5s ease-in-out infinite breathe;display:block}@keyframes breathe{50%{opacity:.5;transform:translateY(-5px)}}#tools{z-index:10;gap:7px;display:flex;position:fixed;bottom:16px;left:17px}#tools button{color:#e8cf9e;cursor:pointer;background:#2e211add;border:1px solid #a58854;border-radius:50%;width:34px;height:34px;font:23px Georgia;box-shadow:inset 0 1px 3px #eac58144,0 2px 6px #0008}#tools button:hover{background:#684829}#tools button[hidden]{display:none}#tools #home{place-items:center;padding:0;display:grid}#tools #home svg{width:22px;height:22px;margin:0;display:block}#tools #settings{place-items:center;padding:0;line-height:1;display:grid}#tools #forfeit{padding:0;font:700 18px Georgia,serif;display:none}body.battle-locked #tools #forfeit{place-items:center;display:grid}#tools .tool-atelier{border-radius:10px;align-items:center;gap:7px;width:auto;padding:0 11px;display:flex}#tools .tool-atelier span:last-child{font:700 13px Georgia,serif}body.battle-locked #tools #atelier{display:none}#concede-dialog .concede-actions{justify-content:flex-end;gap:12px;display:flex}#concede-dialog button{color:#fff0cd;cursor:pointer;background:#69482c;border:1px solid #88643d;border-radius:8px;padding:10px 16px;font:700 14px Georgia,serif}#concede-dialog #confirm-concede{background:#963d20}#concede-dialog #concede-error{color:#842b18}dialog{color:#352517;background:#e9d4a7;border:5px double #856039;border-radius:13px;width:min(480px,90vw);padding:25px 30px;box-shadow:0 25px 100px #000c}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#130e0aba}dialog h2{margin:0 0 20px;font-size:25px;font-weight:400}dialog p{font:15px/1.6 system-ui,sans-serif}dialog label{align-items:center;gap:12px;padding:12px 0;font:15px system-ui,sans-serif;display:flex}dialog input[type=range]{accent-color:#377985;flex:1}dialog input[type=checkbox]{accent-color:#377985}.dialog-close{color:#f8e5bd;cursor:pointer;background:#59402a;border:1px solid #987641;border-radius:6px;margin:20px auto 0;padding:10px 20px;font:15px Georgia;display:block}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}button:focus-visible{outline-offset:3px;outline:3px solid #80c9d0}#prepare-dialog{width:min(680px,94vw);max-height:94vh;overflow:auto}.class-choices{grid-template-columns:1fr 1fr;gap:20px;display:grid}.class-choices label{padding:0 0 8px}.class-choices select{color:#352517;background:#f7e8c7;border:1px solid #947146;border-radius:5px;width:100%;padding:9px;font:15px Georgia}.class-preview{text-align:center;min-height:190px;margin-top:12px}.class-choices label:not(:first-child){margin-top:10px}#prepare-dialog .binder-footer button{color:#f8e5bd;cursor:pointer;background:#59402a;border:1px solid #987641;border-radius:6px;padding:9px 13px;font:14px Georgia}#prepare-dialog button:disabled{opacity:.5;cursor:default}#prepare-dialog:not(.collection-open) .binder-footer{font-size:12px}#prepare-dialog:not(.collection-open) #collection-status,#prepare-dialog:not(.collection-open) #export-decks,#prepare-dialog:not(.collection-open) .file-button{display:none}.class-preview img{object-fit:cover;border:3px solid #ac834a;border-radius:45px 45px 12px 12px;width:95px;height:105px}.class-preview strong{margin:8px 0;display:block}.class-preview p{margin:7px 0;font-size:13px;line-height:1.45}.class-preview .provisional{color:#755335;font-size:11px}.preview-duo{display:inline-block;position:relative}.preview-duo img:last-child{object-fit:contain;border:0;border-radius:0;width:48px;height:60px;position:absolute;bottom:4px;right:-15px}.prepare-note{text-align:center}#prepare-dialog .dialog-close{margin:10px 8px 0 0;display:inline-block}#prepare-dialog .secondary{color:#563d26;background:0 0}@media (width<=520px){.class-choices{gap:12px}.class-preview img{width:76px;height:85px}}@media (prefers-reduced-motion:reduce){.loading-logo{animation:none}}#tools #help{border-radius:10px;justify-content:center;align-items:center;gap:7px;width:auto;padding:0 11px;font:700 13px Georgia,serif;display:none}#tools #help svg{flex:none;width:21px;height:21px}body.menu-open:has(#main-menu:not([hidden])):not(.admin-open):not(:has(#prepare-dialog[open])) #tools #help{display:flex}.class-banner{isolation:isolate;background:#30291e;position:relative;overflow:hidden}.class-banner>.class-art{object-fit:cover;pointer-events:none;border:0;border-radius:0;width:100%;height:100%;position:absolute;inset:0}.class-banner>.class-banner-caption{z-index:1;color:#fff1ce;text-shadow:0 1px 3px #000,0 0 3px #000;background:linear-gradient(#0000,#100c09d9 78%);padding:10px 8px 6px;position:absolute;bottom:0;left:0;right:0}.class-banner:focus-visible{outline-offset:2px;outline:3px solid #8bd7cc}#tools button,.binder-footer button,.admin-actions button,.admin-tabs button,#confirm-concede,#cancel-concede,.dialog-close,#match-result-home,#palette-save,#palette-cancel{transition:filter .12s,box-shadow .12s,translate .12s,scale .12s}@media (hover:hover){#tools button:enabled:hover,.binder-footer button:enabled:hover,.admin-actions button:enabled:hover,.admin-tabs button:enabled:hover,#confirm-concede:enabled:hover,#cancel-concede:enabled:hover,.dialog-close:enabled:hover,#palette-save:enabled:hover,#palette-cancel:enabled:hover{filter:brightness(1.12);translate:0 -1px}}#tools button:enabled:active,.binder-footer button:enabled:active,.admin-actions button:enabled:active,.admin-tabs button:enabled:active,#confirm-concede:enabled:active,#cancel-concede:enabled:active,.dialog-close:enabled:active,#palette-save:enabled:active,#palette-cancel:enabled:active{filter:brightness(.96);translate:0 1px;scale:.975}#tools button:focus-visible,.binder-footer button:focus-visible,.admin-tabs button:focus-visible{outline-offset:3px;outline:2px solid #bceeff}#admin #game-feel-settings{border-color:#5d8d93;min-width:0;margin:0 0 24px;padding:20px}.game-feel-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 28px;display:grid}#admin .game-feel-controls>label{flex-direction:row;align-items:center;gap:10px;min-width:0;margin:0;display:flex}#admin .game-feel-controls>label.game-feel-slider{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;display:grid}.game-feel-slider>span{grid-area:1/1}.game-feel-slider>output{font-variant-numeric:tabular-nums;text-align:right;color:#c2eef0;grid-area:1/2;min-width:5ch}#admin .game-feel-controls input[type=range]{accent-color:#83c7cd;grid-area:2/1/auto/-1;width:100%;min-width:0;margin:0}#admin .game-feel-controls input[type=checkbox]{flex:0 0 18px;width:18px;margin:0}@media (width<=700px){.game-feel-controls{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){#tools button,.binder-footer button,.admin-actions button,.admin-tabs button,#confirm-concede,#cancel-concede,.dialog-close,#match-result-home{transition:none;translate:none;scale:1}}html.touch-layout{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}.touch-layout body{overscroll-behavior:none}.touch-layout #game{height:100dvh}.touch-layout button{touch-action:manipulation}.touch-layout .collection-card img,.touch-layout .deck-entry img,.touch-layout canvas{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.touch-layout #touch-orientation{text-align:center;color:#f9e7bc;background:linear-gradient(145deg,#352519,#181b25);border:2px solid #b58a4d;border-radius:18px;width:min(390px,92vw);max-height:94dvh;padding:24px;overflow:auto}.touch-layout #touch-orientation::backdrop{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0e141df5}.touch-layout #touch-orientation>img{margin:0 auto 16px;display:block}.touch-layout #touch-orientation>svg{color:#81dce8;width:78px;height:78px}.touch-layout #touch-orientation h2{margin:16px 0 10px;font:700 25px Georgia}.touch-layout #touch-orientation button,.touch-layout .touch-fullscreen{color:#fff1cb;background:#285b68;border:1px solid #88c7ca;border-radius:8px;min-height:42px;padding:11px 16px;font:700 15px Georgia}.touch-layout #touch-orientation-status{color:#d6c7b2;font-size:12px}.touch-layout dialog:not(#touch-orientation):not(#back-reward-dialog):not(#match-result-dialog){max-height:96dvh;overflow-y:auto}.touch-layout #settings-dialog{padding:14px 20px}.touch-layout #settings-dialog h2{margin-bottom:8px;font-size:22px}.touch-layout #settings-dialog label{padding:8px 0}.touch-layout input,.touch-layout textarea{font-size:16px}.touch-layout .menu-stage,.touch-layout .shop-stage{width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right));height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.touch-layout #tools{left:max(6px,env(safe-area-inset-left));bottom:max(6px,env(safe-area-inset-bottom));gap:6px}.touch-layout #tools button{width:40px;height:40px}.touch-layout #tools .tool-atelier span:last-child{display:none}.touch-layout #tools .tool-atelier{justify-content:center;padding:0}.touch-layout .menu-account{right:max(6px,env(safe-area-inset-right));bottom:max(6px,env(safe-area-inset-bottom));flex-wrap:nowrap;gap:7px;max-width:calc(100vw - 210px);padding:5px 8px;font-size:12px}.touch-layout .menu-account #menu-account-name{text-overflow:ellipsis;max-width:130px;overflow:hidden}.touch-layout .menu-account button{min-height:32px}.touch-layout .menu-account #objectives-toggle{width:34px;height:34px}.touch-layout .menu-account img{width:25px;height:25px}.touch-layout .menu-logo-text{width:26%;top:3%;left:37%}.touch-layout #menu-adventure,.touch-layout #menu-challenges,.touch-layout #menu-multiplayer,.touch-layout #menu-ranked,.touch-layout #menu-ranking,.touch-layout #menu-friends{width:32%;height:11%;min-height:40px;left:34%}.touch-layout #menu-adventure,.touch-layout #menu-ranked{top:28%}.touch-layout #menu-challenges,.touch-layout #menu-ranking{top:41%}.touch-layout #menu-multiplayer,.touch-layout #menu-friends{top:54%}.touch-layout #menu-shop,.touch-layout #menu-collection{width:24%;height:11%;min-height:40px;top:71%}.touch-layout #menu-shop{left:21%}.touch-layout #menu-collection{right:21%}.touch-layout .menu-button strong{font-size:clamp(16px,2.5vw,28px)}.touch-layout .menu-button span{font-size:clamp(10px,1.2vw,13px)}.touch-layout #adventure-menu{inset:12% 7% 18%}.touch-layout #adventure-decks{grid-auto-rows:minmax(62px,1fr);gap:7px}.touch-layout .adventure-heading h1{font-size:clamp(22px,3vw,32px)}.touch-layout .adventure-heading p{font-size:12px}.touch-layout .adventure-tile strong{font-size:14px}.touch-layout #adventure-back{min-height:36px;padding:6px 14px;top:calc(100% + 8px)}.touch-layout #adventure-deck-picker{gap:6px;max-height:94dvh;padding:12px}.touch-layout #adventure-deck-picker h2{font-size:22px}.touch-layout #adventure-player-decks{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.touch-layout .adventure-player-deck{height:95px}.touch-layout .multiplayer-panel{gap:8px;inset:12% 8% 18%}.touch-layout .multiplayer-panel footer p{font-size:12px}.touch-layout #ranked-decks .adventure-player-deck{height:90px}.touch-layout #multiplayer-dialog{padding:12px}.touch-layout #multiplayer-dialog h2{font-size:24px}.touch-layout .challenge-encounter{flex-basis:190px;min-width:160px}.touch-layout .challenge-portrait{height:clamp(90px,24dvh,170px)}.touch-layout .challenge-power{width:48px;height:48px;top:30px}.touch-layout .challenge-select strong{margin-top:5px;font-size:17px}.touch-layout #general-chat{left:max(6px,env(safe-area-inset-left));height:calc(100dvh - 66px);max-height:410px;bottom:52px}.touch-layout #card-inspection-dialog{max-height:96dvh;padding:14px 40px 10px 16px}.touch-layout #collection-inspection>img{object-fit:contain;width:auto;max-width:43vw;height:74dvh}.touch-layout #collection-inspection{gap:18px}.touch-layout #collection-inspection p{font-size:14px;line-height:1.4}.touch-layout #card-inspection-dialog .inspection-close{width:36px;height:36px}.touch-layout .shop-gallery{grid-template-rows:none;grid-auto-rows:140px;padding:4px;top:19%;bottom:16%;overflow:auto}.touch-layout .shop-extension-tile{min-height:140px}.touch-layout .extension-tile-booster{height:116px}.touch-layout .extension-tile-logo{height:25px}.touch-layout .extension-tile-actions button{min-height:30px;font-size:11px}.touch-layout .extension-publication,.touch-layout .extension-availability{font-size:10px}.touch-layout .shop-navigation{gap:8px;bottom:4%;left:max(160px,24%)}.touch-layout .shop-navigation button{width:clamp(145px,21vw,240px);min-height:36px;padding:6px 10px;font-size:15px}.touch-layout .shop-heading{height:10%;top:6%}.touch-layout .shop-heading h1{font-size:25px}.touch-layout .shop-zones{top:20%;bottom:16%}.touch-layout .shop-zones>section{padding:8px}.touch-layout .shop-primary{min-height:36px;padding:6px;font-size:14px}.touch-layout .shop-guarantees{padding:5px;font-size:11px}.touch-layout .shop-guarantees h3{font-size:16px}@media (height<=520px){.touch-layout #prepare-dialog.collection-open[open]{border-width:4px;width:calc(100vw - 8px);height:calc(100dvh - 8px);max-height:none;padding:4px}.touch-layout .binder{grid-template-columns:minmax(0,1fr) clamp(170px,24vw,230px);gap:5px}.touch-layout .binder-page{padding:0 2px}.touch-layout .collection-classes{touch-action:pan-x;gap:2px;height:34px;min-height:34px;padding:0}.touch-layout .binder .collection-classes button{min-width:36px;min-height:32px;padding:1px;font-size:10px}.touch-layout .collection-heading{min-height:23px}.touch-layout .collection-heading h3{font-size:18px}.touch-layout .collection-pagination{min-height:20px;font-size:12px}.touch-layout .collection-filters{flex-wrap:nowrap;gap:4px;min-height:28px;margin:2px 0 0}.touch-layout #collection-mana{gap:1px;width:auto}.touch-layout .binder #collection-mana button{width:21px;height:24px;font-size:11px}.touch-layout .binder #collection-mana button:first-child{width:29px}.touch-layout #collection-cards{gap:3px 5px}.touch-layout .binder .collection-filters input{min-width:45px;padding:3px;font-size:16px}.touch-layout .collection-card-page{grid-template-columns:22px minmax(0,1fr) 22px}.touch-layout .binder-footer{gap:5px;min-height:36px;margin-top:3px;padding-top:3px}.touch-layout #prepare-dialog.collection-open .binder-footer .collection-footer-button{width:125px;height:34px;padding:5px;font-size:12px}.touch-layout #prepare-dialog.collection-open .binder-footer #tools button{width:32px;height:32px}.touch-layout #prepare-dialog.collection-open .binder-footer #tools{gap:4px}.touch-layout .binder-library,.touch-layout .binder-deck{gap:3px;padding:5px}.touch-layout .library-heading{padding-bottom:3px}.touch-layout .library-heading h3{font-size:18px}.touch-layout .deck-partner{height:64px;min-height:64px}.touch-layout #mana-curve{height:35px}.touch-layout .deck-entry,.touch-layout .binder .deck-entry .deck-entry-inspect{min-height:28px}.touch-layout .binder #saved-decks .saved-deck-row{min-height:74px}.touch-layout .binder #saved-decks .saved-deck-row .saved-deck{min-height:68px}.touch-layout .binder #saved-decks .deck-action-button{width:26px;min-width:26px;height:26px}.touch-layout .binder #saved-decks .saved-deck-row:has(.saved-deck-actions) .deck-back-button{padding-top:30px}.touch-layout #pack-opening-dialog{width:98vw;max-height:98dvh}.touch-layout .opening-scene{min-height:calc(100dvh - 12px);padding:6px 10px}.touch-layout .opening-scene>header{min-height:44px}.touch-layout .opening-scene>header>img{height:26px}.touch-layout .opening-scene h2{font-size:16px}.touch-layout .opening-scene p{margin:3px 0;font-size:11px}.touch-layout .opening-stage{height:54dvh;min-height:165px;margin:3px 0}.touch-layout #opening-cards{gap:8px;max-width:min(100%,161dvh);padding:4px}.touch-layout #opening-tear{width:22dvh}.touch-layout .opening-actions{margin-top:4px;padding:3px}.touch-layout .opening-actions button{min-height:34px;padding:5px 12px}.touch-layout #opening-refund{font-size:13px}.touch-layout #opening-refund img{width:23px;height:23px}.touch-layout .opening-complete .opening-scene>header{display:none}.touch-layout #back-reward-next{gap:8px;padding:8px}.touch-layout .back-reward-art{height:52dvh}.touch-layout body.battle-locked #tools button{width:32px;height:32px}.touch-layout body.battle-locked #tools{gap:4px}}.touch-layout #menu-ranked,.touch-layout #menu-ranking,.touch-layout #menu-tournament,.touch-layout #menu-friends{width:32%;height:11%;min-height:36px;left:34%}.touch-layout #menu-ranked{top:29%}.touch-layout #menu-ranking{top:42%}.touch-layout #menu-tournament{top:55%}.touch-layout #menu-friends{top:68%}.touch-layout #multiplayer-back{margin:0;padding:6px 12px;font-size:14px;top:85%}.menu-account #objectives-toggle{color:#f1cf76;background:linear-gradient(#59412a,#2c231b);flex:none;place-items:center;width:40px;height:38px;padding:5px;display:grid}#objectives-toggle svg{width:28px;height:28px}#home-screen:has(#main-menu[hidden]) #objectives-toggle{display:none}#objectives-dialog{box-sizing:border-box;color:#f5e7c8;background:linear-gradient(140deg,#242b32,#171b21);border:2px solid #b99153;border-radius:16px;width:min(780px,100vw - 32px);max-height:85dvh;padding:22px;font:15px system-ui;box-shadow:0 20px 90px #000b}#objectives-dialog::backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#100d0aaa}#objectives-dialog header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}#objectives-title{margin:0 0 8px;font:700 30px Georgia,serif}#objectives-dialog header p{color:#ccc3af;margin:0;font-size:14px}#objectives-close{color:#f6e8ca;cursor:pointer;background:#40372e;border:1px solid #ae9166;border-radius:7px;flex:none;width:34px;height:34px;padding:0;font-size:26px}#objectives-status:empty{display:none}#objectives-status{color:#efc87f}#objectives-list{gap:9px;margin:20px 0 0;padding:0;list-style:none;display:grid}#objectives-list li{background:#10161a88;border:1px solid #6f747c77;border-radius:9px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:13px 14px;display:grid}.objective-trophy{color:#757d83;place-items:center;display:grid}.objective-trophy svg{width:35px;height:35px}#objectives-list li.objective-completed{background:linear-gradient(100deg,#6c4e162b,#10161a88);border-color:#b48b43aa}.objective-completed .objective-trophy{color:#f5c65b;filter:drop-shadow(0 0 5px #f4a92f55)}#objectives-list strong{font-size:15px;display:block}#objectives-list li div>span{color:#beb6a5;margin-top:4px;font-size:13px;display:block}#objectives-list small{color:#96b8c2;margin-top:6px;font-size:12px;display:block}.objective-completed small{color:#e7cb81!important}.objective-amount{color:#96e2f1;white-space:nowrap;align-items:center;gap:5px;font-weight:700;display:flex}.objective-amount img{object-fit:contain;width:25px;height:32px}.objectives-tabs{gap:8px;margin-top:18px;display:flex}.objectives-tabs button{color:#d5e3e3;cursor:pointer;background:#23323b;border:1px solid #697780;border-radius:8px;padding:10px 16px}.objectives-tabs [aria-pressed=true]{color:#fff0bf;background:#4c452c;border-color:#d7bd7d}#objectives-dialog [hidden]{display:none!important}#class-mastery-list{grid-template-columns:1fr;gap:14px;margin-top:20px;display:grid}.mastery-card{border:1px solid color-mix(in srgb,var(--mastery-color,#e1c579) 60%,transparent);background:linear-gradient(115deg,color-mix(in srgb,var(--mastery-color,#b59346) 9%,#111a22),#111a22);border-radius:12px;grid-template-columns:minmax(0,1fr) 110px;gap:18px;padding:18px;display:grid}.mastery-card header{justify-content:flex-start!important;align-items:center!important;gap:12px!important}.mastery-card header img{object-fit:cover;border:2px solid var(--mastery-color);border-radius:50%;width:48px;height:48px}.mastery-card h3{color:var(--mastery-color,#f1d88c);margin:0;font:700 21px Georgia}.mastery-card progress{width:100%;height:9px;accent-color:var(--mastery-color,#e0b45c);border:0}.mastery-win-count{color:#d9e7eb;margin:12px 0 6px;font-size:14px}.mastery-card ul{color:#9caeb7;padding:0;font-size:12px;line-height:1.6;list-style:none}.mastery-card li.mastery-earned{color:#f0d28a}.mastery-card small{color:#b7cbd2;font-size:12px}.mastery-back-preview{cursor:pointer;color:#f2d899;background:0 0;border:0;align-self:center;padding:0;position:relative}.mastery-back-preview img{filter:drop-shadow(0 5px 10px #0008);width:100%;height:auto;display:block}.mastery-back-preview span{margin-top:6px;font-size:12px;display:block}.mastery-ultimate{background:linear-gradient(135deg,#373426,#15232d);border:2px solid #bca05e}.mastery-class-seals{flex-wrap:wrap;gap:6px;margin-top:14px;display:flex}.mastery-class-seals span{color:#a0aab0;border:1px solid #66727b;border-radius:20px;padding:5px 8px;font-size:11px}.mastery-class-seals .acquired{color:#f2d994;background:#82704633;border-color:#baa361}.mastery-ultimate p{font-size:13px}.mastery-preview-dialog{text-align:center;color:#ffe6a9;background:#17252d;border:2px solid #c3a361;border-radius:14px;max-width:90vw;padding:22px}.mastery-preview-dialog img{max-width:60vw;max-height:60vh;margin:auto;display:block}.mastery-preview-dialog::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#08121cb0}@media (width<=550px){.mastery-card{grid-template-columns:minmax(0,1fr) 80px;gap:10px;padding:12px}.mastery-card h3{font-size:17px}.mastery-card header img{width:34px;height:34px}.mastery-card li{font-size:11px}.objectives-tabs button{padding:8px 10px;font-size:12px}}@media (width<=560px){#objectives-dialog{padding:15px}#objectives-list li{grid-template-columns:30px minmax(0,1fr) auto;gap:8px;padding:11px 8px}.objective-trophy svg{width:28px;height:28px}#objectives-list strong{font-size:14px}.objective-amount{font-size:13px}.objective-amount img{width:18px}}#extension-back-list,#complete-collection-list{gap:14px;margin-top:20px;display:grid}.extension-reward-status{color:#c2d1d5;font-size:13px;line-height:1.5}.objectives-tabs{flex-wrap:wrap}.extension-collection-card progress{margin-bottom:6px}[data-legendary=true]{--legend-main:#a76ae5;--legend-secondary:#f0d4ff;--legend-speed:5s;--legend-reflections:.65;--legend-glow:.6;--legend-sweep:1s;position:relative}.legendary-border{pointer-events:none;z-index:1;fill:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.legendary-border path{vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}.legendary-soft-rim{stroke:var(--legend-main);stroke-width:3px;opacity:calc(.12 * var(--legend-glow))}.legendary-rim{stroke:var(--legend-secondary);stroke-width:1px;opacity:calc(.65 * var(--legend-glow));animation:legendaryRim var(--legend-speed) ease-in-out infinite}.legendary-reflection{stroke:var(--legend-secondary);stroke-width:1.8px;stroke-dasharray:65 1000;stroke-dashoffset:65px;opacity:0}[data-legendary=true][data-legendary-hover=true]:is(:hover,:focus-visible,:focus-within)>.legendary-border .legendary-reflection{animation:legendarySweep var(--legend-sweep) ease-out 1}.legendary-diamond{stroke:var(--legend-secondary);stroke-width:.7px;opacity:calc(.12 * var(--legend-glow));animation:legendaryDiamond var(--legend-speed) ease-in-out infinite}.collection-card>.legendary-border{max-width:295px;height:calc(100% - 16px);inset:calc(50% - 8px) auto auto;transform:translateY(-50%)}.collection-card.at-limit>.legendary-border{display:none}.legendary-card-visual{place-self:center;width:100%;min-width:0;display:grid;position:relative}#collection-inspection>.legendary-card-visual{filter:drop-shadow(0 8px 7px #39250c66);flex-shrink:0;width:48%;max-width:300px}#collection-inspection .legendary-card-visual img{width:100%;height:auto;max-height:none;display:block}.deck-entry[data-legendary=true] .entry-quantity{color:var(--legend-secondary);text-shadow:0 0 3px var(--legend-main);font-size:16px}.deck-entry[data-legendary=true] .entry-name{color:#fff4d8}.legendary-fields{border:1px solid #78648d;border-radius:9px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:10px 0;padding:12px;display:grid}.legendary-fields legend{color:#f1cbff}.legendary-fields label{min-width:0}.legendary-fields input[type=color]{width:100%;height:38px}.legendary-fields .check{align-items:center;gap:8px;display:flex}.legendary-editor>details>summary{color:#dfbdff;padding:8px 0;font-weight:600}.legendary-editor .editor-actions{flex-wrap:wrap;gap:8px;margin:10px 0;display:flex}@keyframes legendaryRim{0%,to{opacity:calc(.55 * var(--legend-glow))}50%{opacity:calc(.7 * var(--legend-glow))}}@keyframes legendaryDiamond{0%,to{opacity:calc(.1 * var(--legend-glow))}50%{opacity:calc(.14 * var(--legend-glow))}}@keyframes legendarySweep{0%{stroke-dashoffset:65px;opacity:0}15%{opacity:calc(var(--legend-reflections) * var(--legend-glow))}85%{opacity:calc(var(--legend-reflections) * var(--legend-glow))}to{stroke-dashoffset:-1000px;opacity:0}}[data-legendary-still=true]>.legendary-border path,.reduced-effects .legendary-border path{animation:none!important}.reduced-effects .legendary-reflection,[data-legendary-still=true] .legendary-reflection{opacity:0!important}@media (prefers-reduced-motion:reduce){.legendary-border path{animation:none!important}.legendary-reflection{opacity:0!important}}@media (width<=700px){.legendary-fields{grid-template-columns:1fr}}@media (width<=480px){#collection-inspection>.legendary-card-visual{width:65%;max-width:230px}}.back-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.back-heading p,.back-help{color:#b5c6d3}.back-actions{flex-wrap:wrap;gap:6px;display:flex}.back-actions .file-button{margin:0!important}.back-editor-grid{grid-template-columns:230px minmax(260px,1fr) 330px;align-items:start;gap:18px;display:grid}.back-library,.back-settings,.back-preview{background:#1a232d;border:1px solid #3c4c5d;border-radius:9px;min-width:0;padding:16px}.back-editor-grid h3{margin:0 0 12px}.back-help{font-size:12px;line-height:1.5}#saved-backs{flex-direction:column;gap:8px;max-height:60vh;margin-top:12px;display:flex;overflow:auto}#admin #saved-backs button{text-align:left;align-items:center;gap:12px;display:flex}#saved-backs img{width:40px;height:auto}#saved-backs span{overflow-wrap:anywhere}#admin #saved-backs [aria-pressed=true]{background:#315569;border-color:#75d8d6}#back-preview-image{width:190px;max-width:100%;height:auto;margin:0 auto 20px;display:block}#back-status:not(:empty){background:#203635;border-left:3px solid #65c5b9;padding:8px}#back-storage-error,#back-validation{color:#ffbfb3}#back-storage-error:empty,#back-validation:empty,#back-status:empty{display:none}.back-small-preview{justify-content:center;align-items:flex-start;gap:26px;display:flex}.back-small-preview>div{flex-direction:column;align-items:center;gap:6px;display:flex}.back-small-preview span{color:#b5c6d3;font-size:11px}#back-hand-preview{width:72px;height:100px}#back-stack-preview{width:112px;height:175px;padding-top:150px;position:relative}#back-stack-preview img{top:calc(10px - var(--offset)*2);left:var(--offset);width:100px;height:139px;position:absolute;transform:rotate(3.4deg)}.back-picker{color:#f6e8ca;background:#1c2936;border:3px solid #b79457;border-radius:12px;width:min(760px,90vw);max-height:85vh;padding:24px;overflow:auto}.back-picker h2{overflow-wrap:anywhere;margin-top:0;font:22px Georgia}.back-picker button{cursor:pointer;color:#f6e8ca;background:#293e51;border:1px solid #728795;border-radius:8px;padding:8px 12px;font:14px Georgia}.back-picker button:disabled{opacity:.5;cursor:default}.back-picker-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px;display:grid}.back-picker-grid button{flex-direction:column;align-items:center;gap:8px;display:flex}.back-picker-grid img{width:85px;max-width:100%;height:auto;display:block}.back-picker-grid span{overflow-wrap:anywhere}.back-picker [aria-pressed=true]{background:#345d65;border:2px solid #82e5cb}.back-picker button:hover:not(:disabled){filter:brightness(1.2)}.back-acquisition{background:#14252c;border:1px solid #526d7a;border-radius:9px;margin:16px 0;padding:14px}.back-acquisition legend{color:#9fded8;padding:0 7px}.back-acquisition [hidden]{display:none!important}#saved-backs button>div{min-width:0}#saved-backs small{color:#a9c9d3;overflow-wrap:anywhere;margin-top:5px;font-size:11px;display:block}.mastery-settings{background:#17272f;border:1px solid #a48c54;border-radius:10px;margin:0 0 18px;padding:16px}.mastery-settings summary{color:#f0d18e;cursor:pointer;font-size:18px}.mastery-settings>p{color:#aebfc5;font-size:13px;line-height:1.6}.mastery-rule-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;display:grid}.mastery-rule-grid fieldset{border:1px solid #556c77;border-radius:8px;grid-template-columns:1fr 1fr;gap:8px;min-width:0;padding:14px;display:grid}.mastery-rule-grid label{font-size:12px!important}.mastery-rule-grid legend{color:#e8ce8a}.mastery-rule-grid input,.mastery-rule-grid select{width:100%;min-width:0}.mastery-settings>label{max-width:500px;margin:18px 0;display:block}.mastery-settings>button{margin-right:8px}.back-picker-grid .back-locked{opacity:.78;border-color:#62717b;position:relative}.back-picker-grid .back-locked img{filter:brightness(.66)}.back-picker-grid small{color:#c2d1d8;font:11px/1.4 system-ui}.back-lock-icon{font-size:24px;position:absolute;top:20%}.back-picker-large-preview{width:150px;height:auto;margin:16px auto;display:block}.back-picker-section{color:#edd49b;border-bottom:1px solid #6c664f;grid-column:1/-1;margin:14px 0 0;padding:0 0 8px;font:17px Georgia}.back-picker-section:first-child{margin-top:0}.saved-deck-row{align-items:stretch;gap:4px;min-width:0;display:flex}.binder #saved-decks .saved-deck-row .saved-deck{flex:1;grid-template-columns:32px minmax(0,1fr);gap:3px 6px;width:auto;min-width:0;display:grid}.saved-deck-row .saved-deck>span{display:contents}.saved-deck-row .saved-deck strong{grid-column:1/-1}.saved-deck-row .saved-deck>img{grid-area:2/1/4;width:30px;height:40px}.saved-deck-row .saved-deck small{grid-column:2;margin-top:0}.binder #saved-decks .deck-back-button{background:#203342;flex:0 0 36px;align-self:flex-start;width:36px;min-width:0;margin-top:7px;padding:3px}.deck-back-button img{object-fit:contain;width:28px;height:39px;display:block}.ai-back-choice{align-items:center;gap:12px;margin:8px 0;display:flex}.ai-back-choice img{width:38px;height:auto}.ai-back-choice span{font-size:12px}@media (width<=1100px){.back-editor-grid{grid-template-columns:190px minmax(230px,1fr) 260px;gap:12px}.back-library,.back-settings,.back-preview{padding:12px}}@media (width<=850px){.back-editor-grid{grid-template-columns:1fr 1fr}.back-library{grid-column:1/-1}#saved-backs{grid-template-columns:repeat(3,1fr);max-height:170px;display:grid}#back-preview-image{width:150px}}@media (width<=550px){.back-editor-grid{grid-template-columns:1fr}.back-library{grid-column:1}#saved-backs{grid-template-columns:1fr 1fr}.back-picker{padding:14px}.back-picker-grid{grid-template-columns:repeat(2,1fr)}}#prepare-dialog.collection-open[open]{background:linear-gradient(105deg,#b18b52,#ead7b3 25%,#f0dfbb 80%,#9f7543);border:8px double #795126;flex-direction:column;width:min(1840px,96vw);height:min(1050px,94vh);padding:16px 20px;display:flex;overflow:hidden;box-shadow:inset 0 0 35px #5a2f1470,0 30px 90px #000c}#prepare-dialog.collection-open h2{letter-spacing:.02em;margin:0;font-weight:700}.prepare-tabs{align-items:center;gap:8px;margin:6px 0 10px;display:flex}.prepare-tabs button,.binder button:not(.collection-card),.binder select,.binder input,.binder-footer button,.binder-footer .file-button,.inspection-actions button{color:#f3e1b8;cursor:pointer;background:linear-gradient(#76522e,#3b291c);border:1px solid #bfa16d;border-radius:5px;padding:7px 10px;font:14px Georgia;box-shadow:inset 0 1px #e4c89350,0 2px 3px #0003}.binder input,.binder select{color:#3d2c1d;background:#fff1cf;box-shadow:inset 0 2px 4px #754d2625}.binder button:disabled,.inspection-actions button:disabled{opacity:.5;cursor:default}.prepare-tabs button[aria-selected=true]{color:#fff0cc;background:#28565c}.binder{color:#392719;flex:1;grid-template-rows:auto minmax(0,1fr);grid-template-columns:230px minmax(200px,1fr) 340px;gap:12px 14px;min-height:0;display:grid}.binder[hidden],#setup-pane[hidden]{display:none}.collection-classes{scrollbar-width:thin;grid-column:1/-1;align-items:stretch;gap:5px;padding:2px 2px 6px;display:flex;overflow-x:auto}.binder .collection-classes button{white-space:nowrap;flex:1;justify-content:center;align-items:center;gap:6px;min-height:40px;padding:4px 6px;font-size:12px;display:flex}.collection-classes img{object-fit:cover;border:1px solid #c4ad7d;border-radius:14px 14px 4px 4px;width:27px;height:31px}.binder .collection-classes button[aria-pressed=true]{background:linear-gradient(#438780,#24504e);border-color:#93d2b8;box-shadow:inset 0 1px #c0ffce77,0 0 0 1px #2e695b}.binder-library,.binder-deck{background:linear-gradient(90deg,#d4b787,#f1dbb0);border:2px solid #977445;border-radius:9px;flex-direction:column;gap:7px;min-width:0;min-height:0;padding:10px;display:flex;box-shadow:3px 3px 10px #50301235,inset 0 0 18px #78542a25}.binder h3{overflow-wrap:anywhere;margin:0;font:18px Georgia}.library-heading{justify-content:space-between;align-items:center;gap:6px;display:flex}.library-heading>span{color:#725337;font-size:11px}.binder label{padding:2px 0;font:12px Georgia;display:block}.binder label input,.binder label select{width:100%;min-width:0;margin-top:4px;padding:6px;font-size:13px;display:block}.deck-controls{flex-wrap:wrap;flex-shrink:0;gap:4px;display:flex}#saved-decks{scrollbar-color:#9d794b #dfc799;flex:1;min-height:70px;padding:2px 3px 4px 0;overflow:auto}.binder #saved-decks .saved-deck{text-align:left;background:linear-gradient(100deg,#6a4b2a,#3d2e22);align-items:center;gap:8px;width:100%;min-height:69px;margin-bottom:6px;padding:5px;display:flex}.saved-deck img{object-fit:cover;border:1px solid #c5a673;border-radius:20px 20px 4px 4px;flex-shrink:0;width:37px;height:49px}.saved-deck>span{flex:1;min-width:0}.saved-deck strong{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:13px;line-height:1.25;display:-webkit-box;overflow:hidden}.saved-deck small{color:#ead8b5;margin-top:3px;font:11px/1.3 Georgia;display:block}.saved-deck .saved-deck-state{color:#d3be96;font-size:10px}.binder #saved-decks .saved-deck[aria-current=true]{background:linear-gradient(100deg,#366962,#203e3e);border-color:#5ea594;box-shadow:0 0 0 1px #35675b,inset 0 1px #bbffcb50}.library-editor{border-top:1px solid #aa8852;flex-shrink:0;padding-top:5px}.library-editor .deck-controls{margin-top:6px}.binder .deck-primary{color:#fff1cf;background:linear-gradient(#427d78,#224747)}.empty-decks,.empty-deck{color:#755336;padding:8px;font:13px/1.5 Georgia}.deck-partner{flex-shrink:0;align-items:center;gap:9px;display:flex}.deck-partner>div{min-width:0}.deck-partner img{object-fit:cover;border:2px solid #9f793f;border-radius:24px 24px 5px 5px;flex-shrink:0;width:48px;height:55px}.deck-partner span{margin-top:5px;font-size:12px;line-height:1.3;display:block}.deck-heading{flex-shrink:0;justify-content:space-between;align-items:center;display:flex}.deck-heading strong{font-size:22px}#deck-dirty{color:#725337;font-size:11px}#deck-problems{color:#952e25;flex-shrink:0;max-height:45px;font:11px/1.25 system-ui;overflow:auto}#deck-problems:empty{display:none}#deck-problems p{font:inherit;margin:3px 0}#deck-card-list{scrollbar-color:#9d794b #dfc799;border-top:1px solid #ae8b55;flex:1;min-height:80px;padding:5px 3px 3px 0;overflow:auto}.deck-entry{background:linear-gradient(#f3dfb7,#d9bd89);border:1px solid #a78750;border-radius:5px;align-items:center;gap:5px;min-height:44px;margin-bottom:4px;display:flex;overflow:hidden;box-shadow:0 2px 3px #69482225}.binder .deck-entry .deck-entry-inspect{min-width:0;box-shadow:none;color:#352517;text-align:left;cursor:grab;background:0 0;border:0;border-radius:0;flex:1;align-items:center;gap:6px;padding:0;display:flex}.deck-entry-inspect img{object-fit:cover;object-position:50% 35%;border-left:1px solid #b49260;border-right:1px solid #b49260;flex-shrink:0;width:50px;height:42px}.entry-mana{text-align:center;color:#246676;text-shadow:0 1px #fff7;flex-shrink:0;width:24px;font:700 17px Georgia}.entry-name{overflow-wrap:anywhere;min-width:0;padding:4px 0;font:700 12px/1.2 Georgia}.entry-quantity{white-space:nowrap;color:#72501e;flex-shrink:0;font:700 12px Georgia}.binder .deck-entry .entry-remove{flex-shrink:0;width:21px;height:26px;margin-right:4px;padding:0;font-size:20px}.binder #use-deck{flex-shrink:0}#mana-curve{border-bottom:1px solid #956c37;flex-shrink:0;align-items:flex-end;gap:3px;height:51px;padding:3px 0;display:flex}#mana-curve div{flex-direction:column;flex:1;align-items:center;gap:3px;display:flex}#mana-curve i{background:linear-gradient(#93e2eb,#397c90);border:1px solid #477886;width:100%;display:block;box-shadow:inset 0 1px #d7ffff}#mana-curve span{font:11px Georgia}.binder-page{border:2px solid #0000;border-radius:9px;flex-direction:column;min-width:0;min-height:0;padding:2px;display:flex;position:relative}.collection-filters{flex-wrap:wrap;gap:6px;margin-bottom:6px;display:flex}.collection-filters input{flex:1;width:120px;min-width:110px}.collection-filters select{max-width:130px;padding:6px;font-size:12px}.collection-heading{flex-wrap:wrap;justify-content:space-between;gap:5px;margin:3px 2px 2px;font-size:11px;display:flex}.collection-pool-note{color:#785b39;margin:0 2px 7px;font:11px Georgia}#collection-cards{scrollbar-color:#927042 #dfc89f;background-color:#0000;background-image:linear-gradient(90deg,#97724315 1px,#0000 1px),linear-gradient(#97724315 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:25px 25px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;border:1px solid #b7996740;border-radius:8px;flex:1;grid-template-columns:repeat(auto-fill,minmax(138px,1fr));align-content:start;gap:12px 9px;min-height:0;padding:6px 5px 16px;display:grid;overflow:auto}.collection-card{cursor:grab;background:linear-gradient(#9c773720,#78512610);border:1px solid #d7c098;border-radius:8px;min-width:0;padding:0 0 5px;transition:transform .12s,box-shadow .12s;position:relative;box-shadow:0 3px 7px #60432645,inset 0 0 5px #fff5}.collection-card img{filter:drop-shadow(0 3px 3px #3d230b45);width:100%;height:auto;display:block}.collection-card span{color:#523d26;padding:4px 3px;font:11px/1.25 Georgia;display:block}.collection-card:hover,.collection-card:focus-visible{transform:translateY(-3px);box-shadow:0 0 10px #45a48c77,0 5px 8px #4b2e1650}.collection-card.at-limit{border-color:#af9667}.collection-card.at-limit span{color:#79563b}.drop-hint{text-align:center;color:#745534;flex-shrink:0;margin:0;font:11px/1.35 Georgia}.binder .drop-active{border-color:#338977;box-shadow:inset 0 0 0 2px #73c6a1,0 0 15px #43a69070}.dragging-collection .binder-deck>.drop-hint,.dragging-deck .binder-page>.drop-hint{color:#f7efcc;background:#285c50;border-radius:5px;padding:6px;font-weight:700}.drag-origin{opacity:.5}.binder-footer{border-top:1px solid #a58350;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;margin-top:8px;padding-top:8px;display:flex}.binder-footer p{flex:1;min-width:150px;margin:0;font:12px/1.25 Georgia}.binder-footer .file-button input{display:none}.binder-footer .file-button{cursor:pointer;font:14px Georgia;display:inline-block}#library-error,.error{color:#982b23}.collection-open .prepare-note{display:none}.collection-open #launch-match{margin-left:auto}.collection-open #library-error,.collection-open #launch-error{flex-shrink:0;margin:4px 0;font:12px/1.3 Georgia}.collection-open #library-error:empty,.collection-open #launch-error:empty{display:none}.collection-open .binder-footer .dialog-close{margin:0}#deck-import-changes{max-height:40vh;overflow:auto}.prepare-error{color:#9d3228;font-size:13px}#card-inspection-dialog{background:linear-gradient(110deg,#c9a779,#f4e2bd 60%,#d6b989);width:min(720px,94vw);max-height:94vh;padding:26px 25px 15px;overflow:auto}#card-inspection-dialog .inspection-close{width:29px;height:29px;margin:0;padding:0;font-size:23px;line-height:1;position:absolute;top:7px;right:8px}#collection-inspection{color:#352517;align-items:center;gap:22px;display:flex}#collection-inspection>img{filter:drop-shadow(0 8px 7px #39250c66);flex-shrink:0;width:48%;max-width:300px;height:auto}#collection-inspection>div{min-width:0}#collection-inspection h2{overflow-wrap:anywhere;margin-bottom:12px;font-size:23px}#collection-inspection p{white-space:pre-line;margin:10px 0;font:14px/1.6 Georgia}#collection-inspection .inspection-flavor{color:#795c39;font-size:12px;font-style:italic}.inspection-actions{justify-content:center;gap:8px;display:flex}.inspection-actions button:first-child{background:linear-gradient(#427d78,#224747)}#inspection-count{text-align:center;margin:12px 0;font:12px Georgia}#inspection-status{text-align:center;min-height:18px;margin:8px 0 0;font:12px/1.4 Georgia}@media (width<=1450px){.binder{grid-template-columns:205px minmax(200px,1fr) 305px;gap:10px 12px}.binder .collection-classes button{gap:4px;padding:4px;font-size:11px}.collection-filters select{max-width:112px}.entry-name{font-size:12px}}@media (width<=1100px){#prepare-dialog.collection-open{padding:12px}.binder{grid-template-columns:175px minmax(165px,1fr) 265px;gap:8px}.collection-classes img{display:none}.binder .collection-classes button{min-height:30px}.deck-entry-inspect img{width:42px}.entry-name{font-size:11px}.binder .deck-controls button{padding:5px;font-size:11px}.binder-footer{gap:4px}.binder-footer button,.binder-footer .file-button{font-size:12px}.saved-deck img{width:30px;height:40px}#collection-cards{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}@media (width<=800px){#prepare-dialog.collection-open[open]{height:94vh;padding:10px;overflow:auto}.binder{flex:none;grid-template-rows:auto 210px minmax(360px,60vh);grid-template-columns:minmax(0,1fr) minmax(230px,1fr)}.collection-classes{grid-column:1/-1}.binder-library{grid-column:1/-1;grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:1fr 1fr;gap:4px 12px;display:grid}.library-heading,.binder-library>.deck-controls{grid-column:1}.binder-library #saved-decks{grid-area:3/1}.library-editor{border:0;grid-area:1/2/4;padding:0}.binder-page{grid-area:3/1}.binder-deck{grid-area:3/2}.collection-heading{font-size:10px}.deck-partner img{width:36px;height:44px}.deck-partner h3{font-size:15px}.deck-partner span{font-size:10px}#collection-cards{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:6px}.binder-footer{padding-bottom:6px}}@media (width<=480px){.binder{grid-template-rows:auto 230px 380px 430px;grid-template-columns:1fr}.binder-page{grid-row:3}.binder-deck{grid-area:4/1}.binder-library{grid-template-columns:1fr 1fr}.library-editor input,.library-editor select{font-size:11px}#collection-inspection{flex-direction:column;gap:8px}#collection-inspection>img{width:65%;max-width:230px}#collection-inspection h2{margin:3px 0;font-size:18px}#collection-inspection p{margin:4px 0;font-size:12px}.inspection-actions button{font-size:12px}}@media (prefers-reduced-motion:reduce){.collection-card{transition:none}}.collection-card.not-owned img{filter:grayscale(.85);opacity:.6}.collection-card.not-owned span{color:#cbbd9c}#collection-inspection .collection-sprite-settings{background:#fff4d845;border:1px solid #9b7847;border-radius:8px;margin:16px 0;padding:12px}#collection-inspection .collection-sprite-settings legend{color:#51381d;padding:0 5px;font:700 14px Georgia}#collection-inspection .collection-sprite-settings select{color:#392719;cursor:pointer;background:#f7e8cc;border:1px solid #987141;border-radius:5px;width:100%;min-height:36px;padding:6px 8px;font:14px Georgia}#collection-inspection .collection-sprite-settings p{color:#725537;margin:8px 0 0;font-size:12px}#prepare-dialog.collection-open[open]{border-width:6px;width:min(1900px,97vw);height:96vh;padding:8px 12px}.collection-open>h2,.collection-open>.prepare-tabs,.collection-open #launch-match,.collection-open #launch-error{display:none}.binder{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 300px;gap:14px}.binder [hidden],.inspection-actions[hidden]{display:none!important}.binder-page{grid-area:1/1;padding:0 5px}.collection-card-page{flex:1;grid-template-columns:24px minmax(0,1fr) 24px;gap:3px;min-width:0;min-height:0;display:grid}#prepare-dialog .collection-page-edge{color:#876338;width:24px;min-width:0;min-height:0;box-shadow:none;cursor:pointer;touch-action:manipulation;background:0 0;border:0;border-radius:8px;padding:0;font:36px Georgia}#prepare-dialog .collection-page-edge:hover:not(:disabled),#prepare-dialog .collection-page-edge:focus-visible{color:#563619;outline-offset:-2px;background:#8f68321a;outline:2px solid #997448}#prepare-dialog .collection-page-edge:disabled{opacity:.18;cursor:default}@media (width<=800px){.collection-card-page{grid-template-columns:18px minmax(0,1fr) 18px;gap:1px}#prepare-dialog .collection-page-edge{width:18px;font-size:28px}}.binder-library,.binder-deck{color:#f3e1b8;background:linear-gradient(90deg,#5c3d25,#30271f);border:4px double #a7834c;grid-area:1/2;gap:6px;padding:9px}.collection-classes{flex-shrink:0;grid-column:auto;gap:4px;min-height:56px;padding:0 0 3px}.binder .collection-classes button{border-bottom:4px solid #bfa16d;min-width:42px;max-width:96px;min-height:54px;padding:3px;font-size:12px;position:relative;overflow:hidden}.collection-classes img.class-art{object-fit:cover;pointer-events:none;border-radius:0;width:100%;height:100%;position:absolute;inset:0}.collection-classes button:has(img) span{display:none}.editing-deck .collection-classes button{flex:0 auto;max-width:220px;padding:3px 12px}.editing-deck .collection-classes button:has(img){flex-basis:155px}.editing-deck .collection-classes button:has(img) span{color:#fff1ce;text-shadow:0 1px 3px #000;background:linear-gradient(#0000,#100c09cc);padding:4px;display:block;position:absolute;bottom:0;left:0;right:0}.collection-heading{flex-wrap:nowrap;flex-shrink:0;justify-content:center;align-items:center;min-height:30px;margin:2px 0 0;position:relative}.collection-heading>span{color:#795b37;font:11px Georgia;position:absolute;right:3px}.collection-heading h3{font:700 23px Georgia}#collection-cards{background:0 0;border:0;grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 10px;padding:3px 1px;overflow:hidden}.collection-art-loading{box-sizing:border-box;text-align:center;color:#6c4c2c;flex-direction:column;grid-area:1/1/-1/-1;justify-content:center;align-items:center;gap:16px;width:100%;min-height:100px;padding:18px;font:16px/1.4 Georgia;display:flex}.collection-art-loading>i{border:3px solid #a97936;border-color:#a97936 #d9ad60 #9d774733 #9d774733;border-radius:50%;width:34px;height:34px;animation:1s linear infinite collection-art-spin;display:block}#deck-card-list .collection-art-loading{color:#f0dbb3;gap:10px;font-size:13px}#collection-inspection.collection-art-pending{min-height:320px}.collection-art-error{font-size:14px}@keyframes collection-art-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.collection-art-loading>i{border-color:#a97936 #d9ad60;animation:none}}.collection-card{cursor:pointer;min-width:0;min-height:0;box-shadow:none;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;padding:0;display:flex}.collection-card[draggable=true]{cursor:grab}.collection-card img{object-fit:contain;width:100%;max-width:295px;height:auto;max-height:calc(100% - 16px)}.collection-card span{color:#735731;text-align:center;background:#cbb28688;border-radius:0 0 8px 8px;flex-shrink:0;min-width:35px;padding:0;font:700 13px/16px Georgia}.collection-card:hover,.collection-card:focus-visible{box-shadow:none;transform:translateY(-2px)}.collection-card:focus-visible img{filter:drop-shadow(0 0 5px #24947c)}.collection-card.at-limit img{filter:grayscale()brightness(.78)drop-shadow(0 3px 3px #3d230b45);opacity:.8}.collection-card.at-limit[data-legendary=true]:after{display:none}.collection-card.at-limit .collection-limit-lock{z-index:2;color:#f2eee4;pointer-events:none;background:#272b2ef2;border:1px solid #e7e1d1;border-radius:50%;place-items:center;width:44px;min-width:0;height:44px;padding:0;display:grid;position:absolute;top:calc(50% - 8px);left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 9px #0007}.collection-limit-lock svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:23px;height:28px;display:block}.collection-pagination{flex-shrink:0;justify-content:center;align-items:center;gap:14px;min-height:24px;font:14px Georgia;display:flex}.binder .collection-pagination button{color:#67492c;box-shadow:none;background:0 0;border:0;padding:1px 8px;font-size:17px}.collection-filters{flex-wrap:nowrap;flex-shrink:0;align-items:center;gap:8px;min-height:32px;margin:4px 0 0}.binder .collection-filters input{flex:1;width:100px;min-width:80px;padding:5px;font-size:13px}#collection-mana{gap:3px;display:flex}.binder #collection-mana button{box-sizing:border-box;clip-path:none;color:#fff;text-shadow:0 1px 3px #123;background:linear-gradient(#91d0ed,#285e91);border:0;border-radius:50%;flex-shrink:0;place-items:center;width:29px;height:29px;padding:0;font:700 14px Georgia;display:grid}.binder #collection-mana button:first-child{clip-path:none;border-radius:4px;width:39px;font-size:11px}.binder #collection-mana button[aria-pressed=true]{color:#392719;background:linear-gradient(#ffdc78,#b58130)}.collection-more{flex-shrink:0;font:12px Georgia;position:relative}.collection-more>summary,.deck-options>summary{cursor:pointer;border:1px solid #aa8852;border-radius:4px;padding:5px 7px;list-style:none}.collection-more>div{z-index:2;background:#ead2a6;border:2px solid #997347;flex-direction:column;gap:7px;min-width:175px;padding:12px;display:flex;position:absolute;bottom:calc(100% + 7px);right:0;box-shadow:0 6px 18px #34231666}.binder-footer .collection-more>div{left:0;right:auto}.library-heading{border-bottom:1px solid #8e6f47;flex-shrink:0;justify-content:center;padding-bottom:6px}.library-heading h3{font-size:23px}.library-heading>span{color:#dac399}#saved-decks{scrollbar-color:#9d794b #35271d;padding:2px 1px 4px}.binder #saved-decks .saved-deck-row{background:#292017;border:3px double #b7985d;border-radius:5px;gap:0;min-height:103px;margin-bottom:8px;display:flex;position:relative;overflow:hidden}.binder #saved-decks .saved-deck-row .saved-deck{width:100%;min-height:98px;box-shadow:none;background:#30291e;border:0;border-radius:0;flex:1;margin:0;padding:0;display:block;position:relative;overflow:hidden}.binder #saved-decks .saved-deck-row .saved-deck>img{object-fit:cover;opacity:1;border:0;border-radius:0;width:100%;height:100%;position:absolute;inset:0;-webkit-mask-image:none;mask-image:none}.binder #saved-decks .saved-deck-row .saved-deck>span{background:linear-gradient(#0000,#100c09d9 78%);padding:10px 7px 5px;display:block;position:absolute;bottom:0;left:0;right:0}.binder #saved-decks .saved-deck-row .saved-deck strong{text-overflow:ellipsis;white-space:nowrap;text-shadow:0 2px 3px #000;font:700 16px/1.15 Georgia;display:block;overflow:hidden}.binder #saved-decks .saved-deck-row .saved-deck small{color:#f0dbb3;margin-top:3px;font:11px/1.25 Georgia}.binder #saved-decks .saved-deck-row .saved-deck-state{display:none}.binder #saved-decks .saved-deck-row:has(.saved-deck[aria-current=true]){border-color:#65bdad}.binder #saved-decks .saved-deck-row .deck-back-button{background:#34271b;border:0;border-left:1px solid #987542;flex:0 0 41px;align-self:stretch;width:41px;padding:3px}.binder #saved-decks .deck-back-button img{object-fit:contain;width:100%;height:58px}.binder #saved-decks .saved-deck-row:has(.saved-deck-actions) .deck-back-button{justify-content:center;align-items:center;padding:26px 3px 3px;display:flex}.binder #saved-decks .saved-deck-actions{z-index:3;opacity:0;visibility:hidden;pointer-events:none;gap:2px;transition:opacity .12s;display:flex;position:absolute;top:2px;right:0}.binder #saved-decks .deck-action-button{color:#f76;background:#471c19f2;border:1px solid #b44b45;border-radius:3px;place-items:center;width:20px;min-width:20px;height:20px;margin:0;padding:0;font:700 12px/1 system-ui;display:grid;box-shadow:0 1px 3px #0007}.binder #saved-decks .deck-delete-button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;width:14px;height:14px;display:block}.binder #saved-decks .deck-rename-button{color:#f1f3f4;background:linear-gradient(#636b72,#3a4248);border-color:#8c969d}.binder #saved-decks .deck-appearance-button{color:#e5f3fa;background:linear-gradient(#466776,#263e4c);border-color:#7a9ba7}.binder #saved-decks .deck-appearance-button:hover:not(:disabled){background:#456e80}.binder #saved-decks .deck-rename-button:hover:not(:disabled){color:#fff;background:linear-gradient(#7c8790,#535f69)}.binder #saved-decks .saved-deck-row:is(:hover,:focus-within) .saved-deck-actions{opacity:1;visibility:visible;pointer-events:auto}.binder #saved-decks .deck-delete-button:hover:not(:disabled){color:#ff877b;background:#501712}.binder #saved-decks .deck-action-button:focus-visible{outline-offset:-2px;outline:2px solid #d7eff8}@media (hover:none){.binder #saved-decks .saved-deck-actions{opacity:1;visibility:visible;pointer-events:auto}}#deck-rename-dialog{width:min(460px,92vw)}#deck-rename-dialog label{color:#513b25;flex-direction:column;align-items:stretch;gap:8px;padding:0}#rename-deck-name{color:#352517;background:#fff1d0;border:1px solid #987844;border-radius:5px;width:100%;padding:10px;font:16px Georgia,serif}#rename-deck-name:focus{outline-offset:1px;outline:2px solid #438d83}#deck-rename-error{color:#982b23;font-size:13px}#deck-rename-error:empty{display:none}.deck-rename-actions{justify-content:flex-end;gap:9px;margin-top:20px;display:flex}#deck-rename-dialog button{color:#f8e5bd;cursor:pointer;background:linear-gradient(#76522e,#3b291c);border:1px solid #987641;border-radius:6px;padding:9px 14px;font:14px Georgia,serif}#deck-rename-dialog #confirm-deck-rename{background:linear-gradient(#537b71,#2f5049);border-color:#63958a}#deck-rename-dialog button:disabled{opacity:.6;cursor:default}.binder .deck-primary{background:linear-gradient(#b99354,#755029);border:2px solid #d4b577;font-weight:700}.deck-partner{border:2px solid #a7834c;border-radius:5px;align-items:flex-end;gap:0;height:104px;min-height:104px}.deck-partner>div{min-width:0;right:44px}.deck-partner>img.class-art{object-fit:cover;border:0;border-radius:0;width:100%;height:100%;position:absolute;inset:0}.binder #deck-name{color:#fff1cc;width:100%;box-shadow:none;background:0 0;border:0;padding:4px 2px;font:700 16px Georgia}.binder #deck-name:focus{color:#352517;background:#fff1cf}.deck-partner span{color:#e5cea6;margin-top:0;font-size:11px}.binder #edit-deck-back{z-index:2;background:#34271be8;border:0;border-left:1px solid #987542;border-radius:0;flex-shrink:0;width:42px;height:100%;margin-left:auto;padding:3px;position:relative}.binder #edit-deck-back img{object-fit:contain;border:0;border-radius:0;width:100%;height:100%}#mana-curve{height:46px;padding:2px 0}#mana-curve div{gap:2px}#mana-curve span{color:#dfc699;font:10px Georgia}#deck-problems{color:#ffaea0;max-height:38px}#deck-card-list{scrollbar-color:#9d794b #35271d;padding:3px 1px}.deck-entry{background:#302d29;border-radius:3px;gap:3px;min-height:31px;margin-bottom:3px;position:relative}.deck-entry.invalid-card{border-color:#e66b61}.binder .deck-entry .deck-entry-inspect{color:#fff4dc;gap:5px;min-height:31px;position:relative}.deck-entry-inspect img{object-fit:cover;object-position:center 35%;opacity:.8;pointer-events:none;border:0;width:75%;height:100%;position:absolute;top:0;right:0;-webkit-mask-image:linear-gradient(90deg,#0000,#0008 35%,#000);mask-image:linear-gradient(90deg,#0000,#0008 35%,#000)}.entry-mana{z-index:1;box-sizing:border-box;color:#effaff;background:linear-gradient(#589ccd,#25405f);border-radius:50%;flex-shrink:0;justify-content:center;align-self:center;align-items:center;width:26px;height:26px;font:700 18px Georgia;display:flex;position:relative}.entry-name{z-index:1;white-space:nowrap;text-overflow:ellipsis;text-shadow:0 1px 3px #000,0 0 4px #000;font:700 12px/1.2 Georgia;position:relative;overflow:hidden}.entry-quantity{color:#f4d17c}.binder .deck-entry .entry-remove{width:20px;margin-right:2px}.deck-options{flex-shrink:0;font:12px Georgia}.deck-options summary{justify-content:space-between;display:flex}#deck-dirty{color:#dec399;font:10px Georgia}.deck-options label{margin:5px 0}.deck-options select{width:100%;margin-top:3px}.binder .deck-controls button{padding:4px;font-size:11px}.binder #use-deck{width:100%;margin-top:5px;font-size:12px}.binder #back-to-decks{box-shadow:none;color:#cfb98e;background:0 0;border:0;padding:3px;font-size:11px}.empty-decks,.empty-deck{color:#dac399}.drop-hint{display:none}.dragging-deck .binder-page>.drop-hint{display:block}.binder-footer{flex-wrap:nowrap;gap:10px;margin-top:5px;padding-top:5px}.binder-footer p{min-width:0;font:11px/1.25 Georgia}.binder-footer button,.binder-footer .file-button{font-size:12px}#prepare-dialog.collection-open .binder-footer>#tools{flex-shrink:0;align-self:center;position:static}#prepare-dialog.collection-open .binder-footer #tools button{box-sizing:border-box;color:#e8cf9e;background:#2e211add;border:1px solid #a58854;border-radius:50%;width:34px;height:34px;padding:0;font:23px Georgia;box-shadow:inset 0 1px 3px #eac58144,0 2px 6px #0008}#prepare-dialog.collection-open .binder-footer #tools .tool-atelier{border-radius:10px;width:auto;padding:0 11px}#prepare-dialog.collection-open .binder-footer #tools button:hover{background:#684829}#prepare-dialog.collection-open .binder-footer .collection-footer-button{box-sizing:border-box;white-space:nowrap;color:#f8e5bd;cursor:pointer;background:linear-gradient(#76522e,#3b291c);border:1px solid #987641;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:170px;height:38px;margin:0;padding:9px 13px;font:14px/18px Georgia,serif;display:inline-flex;box-shadow:inset 0 1px #e4c89350,0 2px 3px #0003}#prepare-dialog.collection-open .binder-footer .collection-footer-options{color:#f1f2f3;background:linear-gradient(#686c72,#40444a);border-color:#969a9f;list-style:none;box-shadow:inset 0 1px #ffffff30,0 2px 3px #0003}#prepare-dialog.collection-open .binder-footer .collection-footer-options::-webkit-details-marker{display:none}#prepare-dialog.collection-open .binder-footer .collection-footer-button:hover{filter:brightness(1.12)}#prepare-dialog.collection-open .binder-footer .collection-footer-button:focus-visible{outline-offset:3px;outline:3px solid #80c9d0}#new-deck-class-dialog{color:#352517;background:linear-gradient(110deg,#c9a779,#f4e2bd);width:min(730px,94vw);max-height:94vh;overflow:auto}#new-deck-classes{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}#new-deck-classes button{color:#fff1cf;cursor:pointer;background:#4d3927;border:3px double #a78651;min-height:106px;padding:0;font:14px Georgia;position:relative;overflow:hidden}#new-deck-classes img.class-art{object-fit:cover;border-radius:0;width:100%;height:100%;position:absolute;inset:0}@media (width<=1100px){.binder{grid-template-columns:minmax(0,1fr) 265px;gap:8px}#prepare-dialog.collection-open[open]{padding:6px}.collection-classes{gap:2px}.binder .collection-classes button{min-width:34px;font-size:11px}.collection-classes img.class-art{width:100%;height:100%;display:block}.collection-filters{gap:5px}.binder #collection-mana button{width:24px;height:24px;font-size:12px}#collection-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.collection-heading h3{font-size:20px}.entry-name{font-size:11px}}@media (width<=800px){.binder{flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 225px}.binder-library{grid-area:1/2;display:flex}.binder-page,.binder-deck{grid-row:1}.collection-classes{overflow-x:auto}.binder .collection-classes button{flex-shrink:0}.collection-filters{flex-wrap:wrap}#collection-mana{width:100%}#collection-cards{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(4,minmax(0,1fr))}.collection-heading>span{display:none}.binder #deck-name{font-size:13px}}@media (width<=540px){#prepare-dialog.collection-open[open]{overflow:auto}.binder{flex:none;grid-template-rows:430px 400px;grid-template-columns:minmax(0,1fr)}.binder-library,.binder-deck{grid-area:2/1}.binder-page{grid-area:1/1}#collection-cards{grid-template-rows:repeat(4,minmax(145px,1fr));grid-template-columns:repeat(2,minmax(0,1fr));overflow-y:auto}.binder-footer{flex-wrap:wrap}#new-deck-classes{gap:6px}#new-deck-classes img.class-art{width:100%;height:100%}#new-deck-classes button{font-size:12px}}#collection-primary-back{gap:9px}#collection-primary-back img{object-fit:contain;filter:drop-shadow(0 1px 2px #0006);border-radius:2px;width:20px;height:28px}.back-picker-description{text-align:center;color:#cddae1;max-width:620px;margin:0 auto 18px;line-height:1.5}body.menu-open #game,#home-screen[hidden],#home-screen [hidden],body.admin-open #home-screen{display:none}#home-screen{z-index:5;color:#fce7bc;background:#160f0b;font-family:Georgia,serif;position:fixed;inset:0}.menu-stage{background:url(/assets/fond-menu-motismadeck-base.png) 50%/100% 100% no-repeat;width:min(100vw,177.778vh);height:min(100vh,56.25vw);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);container-type:size}#main-menu,#multiplayer-menu{z-index:1;position:absolute;inset:0}.menu-logo-text{filter:drop-shadow(0 5px 5px #291508a8);width:28%;height:auto;position:absolute;top:10%;left:36%}.menu-button{box-sizing:border-box;color:#ffe3a4;cursor:pointer;text-align:center;text-shadow:0 2px 2px #170b02;font:inherit;background:linear-gradient(#81552a,#5e3619 48%,#48240f);border:3px solid #795122;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:0 10px;transition:filter .15s,transform .15s;display:flex;position:absolute;box-shadow:0 5px #43250f,0 8px 15px #43220b65,inset 0 0 0 2px #e3b96c,inset 0 6px 10px #f1c47126}.menu-button strong{letter-spacing:.5px;text-align:center;flex-shrink:0;width:100%;font-size:clamp(18px,2.35cqw,40px);line-height:1.05;display:block}.menu-button span{color:#e9ce9f;text-align:center;flex-shrink:0;width:100%;margin:0;font:clamp(10px,.92cqw,16px)/1.2 system-ui,sans-serif;display:block}.menu-button:hover:not(:disabled){filter:brightness(1.2);transform:translateY(-2px)}.menu-button:focus-visible,.menu-resume:focus-visible,.adventure-tile:focus-visible{outline-offset:4px;outline:3px solid #a8f1ff}.menu-button:disabled{cursor:default;color:#d9c7a9;background:linear-gradient(#695038,#4d3726)}.menu-button:disabled span{color:#ffd27b;font-weight:650}#menu-adventure,#menu-challenges,#menu-multiplayer{width:28%;height:8%;left:36%}#menu-adventure{top:31%}#menu-challenges{top:41%}#menu-multiplayer{top:51%}#menu-ranked,#menu-ranking,#menu-friends{width:28%;height:8%;left:36%}#multiplayer-back{white-space:nowrap;position:absolute;top:66%;left:50%;transform:translate(-50%)}.multiplayer-panel{z-index:1;color:#4c2b16;flex-direction:column;gap:2cqh;display:flex;position:absolute;inset:18% 16% 22%}.multiplayer-panel footer{text-align:center;flex-wrap:wrap;flex:none;justify-content:center;gap:1cqh 1cqw;display:flex}.multiplayer-panel footer p{flex-basis:100%;margin:0;font:clamp(12px,1cqw,17px)/1.4 Georgia,serif}.multiplayer-panel button:disabled{cursor:default;opacity:.65}#ranked-decks{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4cqh 1cqw;min-height:0;padding:5px;display:grid;overflow:auto}#ranked-decks .adventure-player-deck{height:clamp(90px,14cqh,135px)}#ranked-decks [aria-pressed=true]{border-color:#9df0de;box-shadow:0 0 0 2px #337a71,0 0 16px #37b4a455}.ranking-empty{text-align:center;flex:1;place-items:center;font:clamp(15px,1.35cqw,22px)/1.5 Georgia,serif;display:grid}.ranking-scroll{flex:1;min-height:0;padding:0 8px;overflow:auto}.ranking-table{border-collapse:separate;border-spacing:0 5px;width:100%;font:clamp(13px,1.2cqw,21px) Georgia,serif}.ranking-table th{text-align:left;background:#e0c69b;padding:10px;position:sticky;top:0}.ranking-table td{background:#a97e3930;border-block:1px solid #8e643d44;padding:10px}.ranking-table td:first-child{text-align:center;border-radius:7px 0 0 7px;width:14%}.ranking-table td:last-child{text-align:right;border-radius:0 7px 7px 0;width:20%;font-weight:700}.ranking-self td{background:#77c4ca4a;border-color:#467c82}.ranking-kind{color:#614927;border:1px solid #927e56;border-radius:4px;margin-left:12px;padding:2px 5px;font:10px system-ui}.ranking-self .ranking-kind{color:#285967}#ranked-error:empty,#ranking-status:empty{display:none}#ranked-error{color:#922d20}#ranking-status{text-align:center;margin:0}@media (width<=700px){.multiplayer-panel{inset:16% 12% 13%}#ranked-decks{grid-template-columns:repeat(2,minmax(0,1fr))}.multiplayer-panel .menu-resume{padding:5px 8px}.multiplayer-panel footer p{font-size:11px}#ranked-decks .adventure-player-deck strong{font-size:13px}}#menu-shop,#menu-collection{width:21%;height:10%;top:64%}#menu-shop{left:17%}#menu-collection{right:17%}.menu-resume{color:#ffe2a8;cursor:pointer;background:#422913ed;border:2px solid #ae8147;border-radius:8px;padding:9px 18px;font:clamp(12px,1.15cqw,18px)/1.3 Georgia,serif;box-shadow:0 3px 7px #160c0866}#resume-match{position:absolute;top:78%;left:50%;transform:translate(-50%)}#adventure-menu{z-index:1;flex-direction:column;gap:1.4cqh;display:flex;position:absolute;inset:18% 12.5% 24%}.adventure-heading{text-align:center;color:#4c2b16;flex:none;justify-content:center;align-items:center;display:flex}.adventure-heading h1{text-shadow:0 1px #f9dfad;margin:0;font-size:clamp(20px,2.6cqw,40px)}.adventure-heading p{margin:2px 0 0;font:clamp(10px,.92cqw,15px) system-ui,sans-serif}#adventure-workshop{box-sizing:border-box;color:#f8e5bd;cursor:pointer;white-space:nowrap;background:linear-gradient(#76522e,#3b291c);border:1px solid #a58854;border-radius:8px;justify-content:center;align-items:center;height:34px;padding:0 14px;font:14px Georgia,serif;display:flex;position:absolute;bottom:16px;left:50%;transform:translate(-50%);box-shadow:inset 0 1px #e4c89350,0 2px 3px #0003}#adventure-workshop:hover{filter:brightness(1.15)}#adventure-error:empty{display:none}#adventure-error{color:#83251b;background:#ffe1bc;max-height:12%;margin:0;padding:5px 8px;font:clamp(11px,.9cqw,14px) system-ui,sans-serif;overflow:auto}#adventure-decks{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(10cqh,1fr);gap:1.3cqh 1.1cqw;min-height:0;padding:4px;display:grid;overflow:auto}.adventure-tile{box-sizing:border-box;border:2px solid #866039;border-left:5px solid var(--class-color);color:#ffe9bf;cursor:pointer;text-align:left;background:linear-gradient(115deg,#402916ed,#6c4729ed);border-radius:9px;align-items:center;gap:8px;min-width:0;min-height:0;padding:5px 10px;display:flex;box-shadow:0 3px 6px #59391944}.adventure-tile:hover:not(:disabled){background:linear-gradient(115deg,#654621,#926a39);border-color:#f1cc77}.adventure-tile img.class-art{object-fit:cover;filter:none;width:100%;height:100%;max-height:none;position:absolute;inset:0}.adventure-tile div{min-width:0}.adventure-tile strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:clamp(12px,1.23cqw,20px);line-height:1.25;display:-webkit-box;overflow:hidden}.adventure-tile span,.adventure-tile small{margin-top:4px;font:clamp(10px,.86cqw,14px)/1.35 system-ui,sans-serif;display:block}.adventure-tile span{color:#eac689}.adventure-tile small{color:#bce3c2}.adventure-tile:disabled{opacity:.65;cursor:default}.adventure-tile:disabled small{color:#ffbc98}.adventure-empty{color:#573719;text-align:center;grid-column:1/-1;align-self:center}.adventure-tile .challenge-lore{-webkit-line-clamp:2;color:#e5dac4;-webkit-box-orient:vertical;font-size:clamp(9px,.75cqw,12px);display:-webkit-box;overflow:hidden}#adventure-back{white-space:nowrap;position:absolute;top:calc(100% + 5cqh);left:50%;transform:translate(-50%)}#adventure-deck-picker{box-sizing:border-box;color:#392719;background:linear-gradient(115deg,#c5a471,#f0dfbb 55%,#cfb084);border:6px double #795126;border-radius:14px;width:min(900px,94vw);max-height:90vh;padding:22px;box-shadow:inset 0 0 20px #79512630,0 25px 90px #000b}#adventure-deck-picker[open]{flex-direction:column;gap:12px;display:flex;overflow:hidden}#adventure-deck-picker::backdrop{-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#130e0a99}#adventure-deck-picker h2{text-align:center;margin:0;font:700 clamp(21px,2.3vw,30px) Georgia,serif}#adventure-deck-picker-opponent{text-align:center;overflow-wrap:anywhere;margin:0;font:14px/1.4 Georgia,serif}#adventure-player-decks{scrollbar-color:#9d794b #dfc799;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-height:0;padding:4px;display:grid;overflow-y:auto}.adventure-player-deck{border:3px double #a7834c;border-left:5px solid var(--class-color);color:#fff1ce;cursor:pointer;text-align:left;border-radius:8px;flex-shrink:0;min-width:0;height:clamp(100px,18vh,135px);padding:0;box-shadow:0 3px 6px #59391944}.adventure-player-deck strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font:700 17px/1.2 Georgia,serif;display:-webkit-box;overflow:hidden}.adventure-player-deck span{margin-top:4px;font:12px/1.35 Georgia,serif;display:block}.adventure-player-deck:disabled{opacity:.55;cursor:default}.adventure-player-deck:hover:not(:disabled){filter:brightness(1.08);border-color:#65bdad}#adventure-deck-picker-error:empty{display:none}#adventure-deck-picker-error{text-align:center;color:#842b18;max-height:60px;margin:0;font:13px/1.4 system-ui,sans-serif;overflow:auto}#adventure-deck-picker-cancel{color:#f8e5bd;cursor:pointer;background:linear-gradient(#76522e,#3b291c);border:1px solid #987641;border-radius:7px;flex-shrink:0;align-self:center;min-height:36px;padding:7px 16px;font:14px Georgia,serif}#adventure-deck-picker-cancel:disabled{opacity:.55;cursor:default}.adventure-player-decks-empty{text-align:center;grid-column:1/-1;font:14px/1.5 Georgia,serif}@media (width<=700px){#adventure-deck-picker{padding:14px}#adventure-player-decks{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.adventure-player-deck{height:125px}.adventure-player-deck strong{font-size:15px}.adventure-player-deck span{font-size:11px}}@media (width<=420px){#adventure-player-decks{grid-template-columns:minmax(0,1fr)}}body.admin-open #tools{display:flex}#tools{z-index:12}@media (width<=700px){.menu-button{border-width:2px;padding:3px}.menu-button strong{font-size:16px}.menu-button span{font-size:9px}.adventure-tile{gap:3px;padding:3px}.adventure-tile strong{font-size:10px}.adventure-tile span,.adventure-tile small{margin-top:2px;font-size:8px}}#adventure-menu:has(.challenge-list){gap:1.2cqh;inset:13% 8% 14%}#adventure-decks.challenge-list{overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#a77b42 #68431c30;touch-action:pan-y;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;align-items:start;gap:2cqh 1.2cqw;padding:8px 10px 12px;scroll-padding-block:8px;display:grid;overflow:hidden auto}.challenge-encounter{box-sizing:border-box;min-width:0;padding:0 4px;position:relative}.challenge-select{color:#4c2b16;cursor:pointer;width:100%;font:inherit;background:0 0;border:0;border-radius:14px;flex-direction:column;align-items:center;padding:6px 26px 10px;transition:filter .15s;display:flex}.challenge-select:hover:not(:disabled){filter:brightness(1.12)}.challenge-portrait{object-fit:contain;filter:drop-shadow(0 5px 5px #52301155);visibility:hidden;width:auto;max-width:100%;height:clamp(88px,19cqh,180px);display:block}.challenge-portrait.ready,.challenge-power img.ready{visibility:visible}.challenge-select strong{text-align:center;text-shadow:0 1px #fff1c7;overflow-wrap:anywhere;margin-top:7px;font:700 clamp(14px,1.5cqw,23px)/1.2 Georgia,serif;display:block}.challenge-select:disabled{opacity:.55;cursor:default}.challenge-select:focus-visible,.challenge-power:focus-visible{outline-offset:3px;outline:3px solid #267e98}.challenge-power{cursor:help;filter:drop-shadow(0 4px 3px #35200e55);background:0 0;border:0;border-radius:50%;width:clamp(36px,4.2cqw,66px);height:clamp(36px,4.2cqw,66px);padding:0;transition:filter .15s,transform .15s;position:absolute;top:clamp(25px,5cqh,56px);right:2px}.challenge-power:hover,.challenge-power:focus-visible{filter:drop-shadow(0 0 6px #fff2b9);transform:scale(1.05)}.challenge-power img{object-fit:contain;visibility:hidden;width:100%;height:100%;display:block}.challenge-power-tooltip{z-index:40;box-sizing:border-box;color:#382514;text-align:center;pointer-events:none;background:linear-gradient(115deg,#d7be8f,#f2e3c1);border:4px double #876333;border-radius:10px;width:min(330px,100vw - 24px);padding:15px 18px;font:16px/1.4 Georgia,serif;position:fixed;box-shadow:0 8px 24px #170e0870}.challenge-power-tooltip[hidden]{display:none}.challenge-power-tooltip>strong{font-size:20px;display:block}.challenge-power-tooltip p{white-space:pre-line;margin:7px 0 0}.challenge-power-tooltip p strong{font-size:inherit;display:inline}.ranking-table th:first-child{text-align:center}.ranking-table th:last-child{text-align:right}.ranking-self td{box-shadow:inset 0 1px #73b8c544,inset 0 -1px #73b8c544}#challenge-victory-reward{box-sizing:border-box;color:#f6dfb4;text-align:center;text-shadow:0 1px 1px #271307;background:linear-gradient(105deg,#4c2e18ed,#6e4728f2 50%,#4c2e18ed);border:3px double #b78b50;border-radius:7px;flex:none;margin:0;padding:7px 18px;font:clamp(10px,.85cqw,13px)/1.35 Georgia,serif;box-shadow:inset 0 1px #e4bc7340,0 3px 8px #40230d40}#challenge-victory-reward[hidden]{display:none}#challenge-victory-reward p{margin:0 0 2px}#challenge-victory-reward small{color:#e1c69c;font-size:.9em;display:block}#adventure-menu:has(.challenge-list) #adventure-back{top:calc(100% + 1.5cqh)}.touch-layout #adventure-menu:has(.challenge-list){gap:5px;inset:9% 6% 24%}.touch-layout #adventure-decks.challenge-list{grid-auto-rows:max-content;gap:8px 6px;padding:4px 6px 8px}.touch-layout .challenge-list .challenge-encounter{min-width:0}.touch-layout .challenge-list .challenge-select{padding:2px 19px 5px}.touch-layout .challenge-list .challenge-portrait{height:clamp(64px,23dvh,140px)}.touch-layout .challenge-list .challenge-select strong{margin-top:4px;font-size:clamp(12px,1.9vw,17px)}.touch-layout .challenge-list .challenge-power{width:clamp(32px,5vw,48px);height:clamp(32px,5vw,48px);top:20px;right:0}.touch-layout #challenge-victory-reward{padding:4px 9px;font-size:10px;line-height:1.25}.touch-layout #adventure-menu:has(.challenge-list) #adventure-back{min-height:32px;padding:4px 12px;top:calc(100% + 6px)}@media (height<=550px){#adventure-decks.challenge-list{gap:8px;padding:4px 6px 8px}.challenge-list .challenge-select{padding:2px 20px 5px}.challenge-list .challenge-select strong{margin-top:3px;font-size:14px}#challenge-victory-reward{padding:4px 10px;font-size:10px;line-height:1.25}}#menu-ranked,#menu-ranking,#menu-tournament,#menu-friends{width:28%;height:8%;left:36%}#menu-ranked{top:35%}#menu-ranking{top:45%}#menu-tournament{filter:saturate(.25);opacity:.72;top:55%}#menu-friends{top:65%}#multiplayer-back{top:79%}#back-reward-dialog{color:#fff1cd;background:0 0;border:0;border-radius:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;position:fixed;inset:0;overflow:auto}.back-reward-collection.back-reward-mastery .back-reward-halo{background:radial-gradient(at 30% 40%,#a265df99,#0000 65%),radial-gradient(at 65% 65%,#e3bd6a77,#0000 65%)}.back-reward-collection.back-reward-ready .back-reward-card{animation:1.9s cubic-bezier(.17,.74,.24,1) both collectionSealArrival,5s ease-in-out 1.9s infinite backRewardFloat}.back-reward-collection.back-reward-mastery .back-reward-sparks i:nth-child(2n){background:#f4d692;box-shadow:0 0 12px #dfb65d}.back-reward-collection .back-reward-rays i{background:linear-gradient(#e8c892aa,#0000 85%)}@keyframes collectionSealArrival{0%{opacity:0;transform:translateY(35px)rotateY(-55deg)scale(.48)}55%{opacity:1;transform:translateY(-6px)rotateY(8deg)scale(1.04)}to{opacity:1;transform:none}}#back-reward-dialog::backdrop{-webkit-backdrop-filter:blur(9px)brightness(.68);background:#0c182955}#back-reward-next{box-sizing:border-box;width:100%;min-height:100%;box-shadow:none;color:inherit;font:inherit;text-align:center;cursor:pointer;background:0 0;border:0;border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:clamp(12px,2.5vh,28px);padding:28px 22px;display:flex;overflow:hidden}#back-reward-next:focus-visible{outline-offset:-7px;outline:2px solid #aceaff}.back-reward-count{letter-spacing:3px;color:#d5e4e9;text-shadow:0 2px 8px #000;min-height:18px;font:600 15px system-ui,sans-serif}.back-reward-art{aspect-ratio:150/208;isolation:isolate;perspective:900px;height:clamp(210px,44vh,440px);display:block;position:relative}.back-reward-card{opacity:0;filter:drop-shadow(0 18px 24px #0008);border-radius:4%;display:block;position:absolute;inset:0;overflow:hidden;transform:translateY(70px)rotateY(-32deg)rotate(-7deg)scale(.62)}#back-reward-image{object-fit:contain;width:100%;height:100%;display:block}.back-reward-currency .back-reward-art{aspect-ratio:1;height:clamp(180px,36vh,360px)}.back-reward-currency .back-reward-card{border-radius:0;overflow:visible}.back-reward-currency .back-reward-reflection{display:none}.back-reward-front .back-reward-art{aspect-ratio:220/310}.back-reward-ready .back-reward-card{animation:.85s cubic-bezier(.17,.74,.24,1) both backRewardArrival,4s ease-in-out .85s infinite backRewardFloat}.back-reward-halo{z-index:-1;opacity:0;filter:blur(24px);background:radial-gradient(at 35% 42%,#30d9ff70,#0000 58%),radial-gradient(at 65% 65%,#ffa43b65,#0000 60%);border-radius:50%;position:absolute;inset:-35%}.back-reward-ready .back-reward-halo{animation:.85s ease-out both backRewardGlow}.back-reward-rays{z-index:-1;opacity:0;position:absolute;inset:0}.back-reward-ready .back-reward-rays{animation:1s ease-out both backRewardGlow}.back-reward-rays i{transform-origin:50% 0;width:2px;height:100%;transform:rotate(calc(var(--ray)*30deg)) translateY(20px);opacity:.36;background:linear-gradient(#adefff99,#0000 85%);position:absolute;top:50%;left:50%}.back-reward-reflection{pointer-events:none;background:linear-gradient(115deg,#0000 40%,#c8faff99 49%,#fff7dcaa 51%,#0000 60%);position:absolute;inset:-35%;transform:translate(-100%)rotate(-8deg)}.back-reward-ready .back-reward-reflection{animation:1.1s ease-out .3s both backRewardReflection}.back-reward-sparks{pointer-events:none;position:absolute;inset:-22%}.back-reward-sparks i{opacity:0;--angle:calc(var(--spark)*20deg);--distance:clamp(110px,18vh,200px);background:#89eaff;border-radius:50%;width:5px;height:8px;position:absolute;top:50%;left:50%;box-shadow:0 0 10px #36d8ff}.back-reward-sparks i:nth-child(2n){background:#ffc477;box-shadow:0 0 12px #ff9a30}.back-reward-ready .back-reward-sparks i{animation:backRewardSpark 1.25s calc(50ms + var(--spark)*18ms) ease-out both}#back-reward-message{text-wrap:balance;text-shadow:0 3px 10px #000b;max-width:850px;font:600 clamp(19px,2.1vw,32px)/1.4 Georgia,serif;animation:.5s ease-out both backRewardText;display:block}#back-reward-name{color:#c0f3ff;margin-top:5px;font-size:1.18em;font-weight:700;display:block}.back-reward-hint{color:#dbe6ed;text-shadow:0 2px 8px #000;letter-spacing:.4px;font:15px system-ui,sans-serif}@keyframes backRewardArrival{0%{opacity:0;transform:translateY(70px)rotateY(-32deg)rotate(-7deg)scale(.62)}65%{opacity:1;transform:translateY(-8px)rotateY(6deg)rotate(1deg)scale(1.04)}to{opacity:1;transform:none}}@keyframes backRewardFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes backRewardGlow{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}@keyframes backRewardReflection{0%{transform:translate(-100%)rotate(-8deg)}to{transform:translate(100%)rotate(-8deg)}}@keyframes backRewardSpark{0%{opacity:0;transform:rotate(var(--angle)) translateY(25px) scale(.4)}25%{opacity:.85}to{opacity:0;transform:rotate(var(--angle)) translateY(calc(-1*var(--distance))) scale(.25)}}@keyframes backRewardText{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media (height<=600px){#back-reward-next{gap:10px;padding:16px}.back-reward-art{height:44dvh;min-height:150px}.back-reward-count{min-height:0}.back-reward-hint{font-size:13px}#back-reward-message{font-size:20px}}.back-reward-reduced *{animation:none!important}.back-reward-reduced.back-reward-ready .back-reward-card{opacity:1;transform:none}.back-reward-reduced.back-reward-ready .back-reward-halo{opacity:.8;transform:none}.back-reward-reduced .back-reward-rays,.back-reward-reduced .back-reward-sparks,.back-reward-reduced .back-reward-reflection{display:none}@media (prefers-reduced-motion:reduce){#back-reward-dialog *{animation:none!important}.back-reward-ready .back-reward-card{opacity:1;transform:none}.back-reward-ready .back-reward-halo{opacity:.8}.back-reward-rays,.back-reward-sparks,.back-reward-reflection{display:none}}.back-reward-mastery .back-reward-halo{background:radial-gradient(ellipse,color-mix(in srgb,var(--mastery-color) 55%,transparent),transparent 65%)}.back-reward-mastery #back-reward-name{color:var(--mastery-color)}.back-reward-mastery .back-reward-sparks i{background:var(--mastery-color);box-shadow:0 0 9px var(--mastery-color)}.back-reward-actions{z-index:5;justify-content:center;gap:12px;display:flex;position:fixed;bottom:22px;left:0;right:0}.back-reward-actions button{color:#ffe7a3;cursor:pointer;background:#213745;border:1px solid #d7ba75;border-radius:9px;padding:12px 22px;font:600 16px system-ui}.back-reward-actions button:hover{background:#385566}.back-reward-mastery #back-reward-next{padding-bottom:90px}.mastery-reward-seals{pointer-events:none;position:absolute;inset:0}.mastery-reward-seals img{object-fit:cover;border:1px solid var(--seal-color);width:32px;height:32px;box-shadow:0 0 12px var(--seal-color);opacity:0;border-radius:50%;position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.back-reward-ready .mastery-reward-seals img{animation:1.7s ease-in-out both masterySeals}.back-reward-ultimate.back-reward-ready .back-reward-card{animation:2.3s ease-out both masteryCeremony,5s ease-in-out 2.3s infinite backRewardFloat}.back-reward-ultimate .back-reward-rays{opacity:.25}.back-reward-ultimate .back-reward-sparks i{width:3px;height:4px}.back-reward-ultimate .back-reward-halo{background:radial-gradient(#ddc47955,#0000 60%),radial-gradient(at 50% 65%,#45e8ef33,#0000 65%)}@keyframes masterySeals{0%{opacity:0;transform:rotate(calc(var(--seal)*40deg)) translateY(-230px) rotate(calc(var(--seal)*-40deg)) scale(.6)}25%{opacity:1}65%{opacity:1;transform:rotate(calc(var(--seal)*40deg)) translateY(-110px) rotate(calc(var(--seal)*-40deg)) scale(1)}to{opacity:0;transform:rotate(calc(var(--seal)*40deg)) translateY(-50px) rotate(calc(var(--seal)*-40deg)) scale(.1)}}@keyframes masteryCeremony{0%,40%{opacity:0;transform:translateY(15px)scale(.92)}to{opacity:1;transform:none}}.back-reward-reduced .mastery-reward-seals{display:none}@media (prefers-reduced-motion:reduce){.mastery-reward-seals{display:none}}.extension-reward-seals img{object-fit:contain;border-radius:4px;width:34px;height:47px;top:calc(50% - 23px)}.back-reward-extension-ultimate.back-reward-ready .back-reward-card{animation:3.1s ease-out both extensionCeremony,6s ease-in-out 3.1s infinite backRewardFloat}.back-reward-extension-ultimate.back-reward-ready .extension-reward-seals img{animation-duration:2.5s}.back-reward-extension-ultimate .back-reward-halo{background:radial-gradient(#f8df9d77,#0000 65%),radial-gradient(at 50% 65%,#b39bea33,#0000 65%)}@keyframes extensionCeremony{0%,50%{opacity:0;transform:translateY(14px)scale(.88)}to{opacity:1;transform:none}}.back-reward-pack .back-reward-card{box-shadow:none;background:0 0;border:0}.back-reward-pack .back-reward-card img{object-fit:contain;filter:drop-shadow(0 0 18px #62d3e64d)}.challenge-card-reward-detail{color:#cfeddf;margin-top:10px;font:clamp(13px,1.5vw,19px)/1.4 system-ui,sans-serif;display:block}#back-reward-dialog.back-reward-launch{--launch-main:#44ddeb;--launch-accent:#ffe3a0}.back-reward-launch #back-reward-next{text-align:center;gap:clamp(8px,1.5dvh,18px);padding:20px}.extension-launch-heading{color:#fff1cd;letter-spacing:.035em;text-shadow:0 2px 12px #000;font:700 clamp(17px,2.5vw,27px) system-ui,sans-serif}.back-reward-launch .back-reward-art{aspect-ratio:2/3;height:clamp(150px,42dvh,380px)}.back-reward-launch .back-reward-card{filter:drop-shadow(0 16px 23px #0009) drop-shadow(0 0 16px color-mix(in srgb,var(--launch-main) 45%,transparent));border-radius:0;overflow:visible}.back-reward-launch.back-reward-ready .back-reward-card{animation:1.3s cubic-bezier(.16,.78,.25,1) both extensionLaunchArrival,5s ease-in-out 1.3s infinite backRewardFloat}.back-reward-launch .back-reward-halo{background:radial-gradient(ellipse at 35% 40%,color-mix(in srgb,var(--launch-main) 55%,transparent),transparent 63%),radial-gradient(ellipse at 70% 65%,color-mix(in srgb,var(--launch-accent) 35%,transparent),transparent 63%);inset:-35% -70%}.back-reward-launch .back-reward-rays i{background:linear-gradient(var(--launch-accent),transparent 80%)}.back-reward-launch .back-reward-sparks i{background:var(--launch-main);box-shadow:0 0 10px var(--launch-main)}.back-reward-launch .back-reward-sparks i:nth-child(2n){background:var(--launch-accent);box-shadow:0 0 10px var(--launch-accent)}.back-reward-launch .back-reward-reflection{display:none}.back-reward-launch #back-reward-message{max-width:92vw;margin:0;font-size:clamp(23px,3vw,36px)}.extension-launch-summary{color:#dce5ee;margin-top:8px;font:400 clamp(13px,1.6vw,17px) system-ui,sans-serif;display:block}.extension-launch-bonus{border:1px solid color-mix(in srgb,var(--launch-accent) 55%,transparent);color:#c7f6ff;box-shadow:0 0 22px color-mix(in srgb,var(--launch-main) 14%,transparent);background:#102331b8;border-radius:30px;justify-content:center;align-items:center;gap:10px;padding:9px 18px;font:700 clamp(16px,2vw,23px) system-ui,sans-serif;display:flex}.extension-launch-bonus img{object-fit:contain;width:26px;height:34px}@keyframes extensionLaunchArrival{0%{opacity:0;transform:translateY(55px)rotateY(-28deg)rotate(-6deg)scale(.72)}65%{opacity:1;transform:translateY(-7px)rotateY(5deg)rotate(1deg)scale(1.025)}to{opacity:1;transform:none}}@media (height<=600px){.back-reward-launch #back-reward-next{gap:7px;padding:12px}.back-reward-launch .back-reward-art{height:34dvh;min-height:110px}.extension-launch-heading{font-size:16px}.back-reward-launch #back-reward-message{font-size:22px}.extension-launch-summary{margin-top:4px;font-size:12px}.extension-launch-bonus{padding:5px 12px;font-size:16px}.extension-launch-bonus img{width:19px;height:24px}.back-reward-launch .back-reward-hint{font-size:12px}}body.account-pending #tools,body.account-pending #game{visibility:hidden}#account-screen{z-index:10000;color:#fbe9c5;background:linear-gradient(#120d08aa,#120d08cc),url(/assets/fond-menu-motismadeck-base.png) 50%/cover;place-items:center;padding:24px;font-family:Georgia,serif;display:grid;position:fixed;inset:0;overflow:auto}.account-card{text-align:center;background:#261b13ee;border:2px solid #b18d53;border-radius:18px;width:min(460px,100%);max-height:calc(100dvh - 48px);padding:28px;overflow:auto;box-shadow:0 12px 50px #0009}.account-logo{object-fit:contain;width:100%;height:130px}.account-card h1{margin:16px 0 10px;font-size:27px}.account-card p{line-height:1.45}.account-card nav{gap:8px;margin:20px 0;display:flex}.account-card nav button{flex:1}.account-card button{color:#fff0ce;cursor:pointer;font:inherit;background:#594025;border:1px solid #b18d53;border-radius:7px;padding:10px}.account-card button[aria-pressed=true]{background:#8b693c}.account-card button:disabled{opacity:.5;cursor:wait}.account-card label{text-align:left;gap:7px;margin:14px 0;display:grid}.account-card input{color:#302218;background:#fff3d8;border:1px solid #ad8a53;border-radius:6px;width:100%;padding:12px;font:17px system-ui}.account-card input:focus{outline:3px solid #7bccda}.account-card [hidden]{display:none}.account-card #account-error{color:#ffc0a8;min-height:1.5em}.account-card #account-submit{background:#866233;width:100%;font-size:18px;font-weight:700}.menu-account{z-index:3;color:#f7e3bc;text-shadow:0 1px 3px #000;background:#2d201ad9;border:1px solid #ba9257;border-radius:9px;align-items:center;gap:12px;padding:7px 14px;font:14px system-ui;display:flex;position:absolute;bottom:16px;right:17px}.menu-account .currency{align-items:center;gap:5px;display:flex}.menu-account img{object-fit:contain;width:30px;height:30px}.menu-account strong{white-space:nowrap}.menu-account button{font:inherit;color:#f7e3bc;cursor:pointer;background:#553e28;border:1px solid #aa864d;border-radius:5px;padding:5px 8px}.account-details{border-top:1px solid #b18d5355;margin-top:16px;padding-top:12px}.account-details p{margin:8px 0}#account-save-status{color:#efad7b;font-size:12px}.account-card .account-legal-links{margin-top:16px;font:12px/1.55 system-ui,sans-serif}.account-legal-links a{color:#a9e7ed}.account-legal-links a:focus-visible{outline-offset:3px;outline:2px solid #a9e7ed}#legal-open{color:#fff0ce;cursor:pointer;background:#5d452d;border:1px solid #886c40;border-radius:7px;margin:16px auto 0;padding:10px 16px;font:15px Georgia,serif;display:block}#settings-dialog{max-height:94dvh;overflow-y:auto}@media (width<=700px){.menu-account{flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:calc(100vw - 110px);padding:5px 7px;font-size:11px}.menu-account img{width:24px;height:24px}.menu-account button{font-size:11px}.account-card{padding:20px}.account-logo{height:100px}}@media (width<=600px){.menu-account{max-width:calc(100vw - 34px);bottom:62px}}#admin-link-row[hidden],#collection-admin[hidden],#open-admin[hidden],#adventure-workshop[hidden]{display:none}.class-locked img{filter:grayscale(.8)}.class-locked{opacity:.55;cursor:not-allowed}@media (height<=750px){.account-card{padding:20px}.account-logo{height:82px}.account-card h1{margin:10px 0;font-size:24px}.account-card p{margin:8px 0}.account-card nav{margin:10px 0}.account-card nav button{padding:8px}.account-card label{gap:5px;margin:8px 0}.account-card input{padding:10px}.account-card #account-error{min-height:1.2em}}#pack-opening-dialog{color:#ffe3b0;background:radial-gradient(at 50% 38%,#1c3451,#10151e 72%);border:2px solid #95744b;border-radius:22px;width:min(96vw,1560px);max-width:96vw;max-height:96vh;margin:auto;padding:0;overflow:auto;box-shadow:0 0 0 3px #2b211a,0 0 60px #14a6bd25}#pack-opening-dialog::backdrop{background:#080d17ed}.opening-scene{text-align:center;flex-direction:column;justify-content:space-between;min-height:min(760px,88vh);padding:20px 24px;display:flex;position:relative;overflow:clip}.opening-scene>header{z-index:2;min-height:108px;transition:opacity .25s;position:relative}.opening-scene>header>img{object-fit:contain;width:min(45vw,420px);height:64px;margin:auto;display:block}.opening-scene h2{color:#fff0cb;margin:2px 0;font:700 clamp(18px,2vw,27px) Georgia,serif}.opening-scene p{font:clamp(11px,.95vw,16px)/1.35 system-ui,sans-serif}.opening-stage{perspective:1200px;isolation:isolate;flex-shrink:0;justify-content:center;align-items:center;height:clamp(280px,43vh,420px);margin:8px 0 12px;display:flex;position:relative}.opening-pedestal{opacity:.8;pointer-events:none;background:radial-gradient(#40c6e523,#38afcb0a 45%,#0000 72%);border-radius:50%;width:300px;height:70px;transition:opacity .3s;position:absolute;bottom:2%}.opening-stage:has(#opening-tear[hidden]) .opening-pedestal{opacity:0}#opening-tear{aspect-ratio:2/3;cursor:grab;z-index:3;touch-action:none;transform-origin:50%;outline-offset:8px;background:0 0;border:0;width:min(228px,24vw);padding:0;display:block;position:relative}#opening-tear[hidden]{display:none}#opening-tear.opening-arriving{will-change:transform,opacity}.opening-pack-aura{opacity:.5;pointer-events:none;background:radial-gradient(#6aeeff38,#0000 67%);transition:opacity .2s;position:absolute;inset:5% -18%}.opening-pack-visual{transform-origin:50%;animation:3.6s ease-in-out infinite packFloat;display:block;position:absolute;inset:0}.opening-pack-visual>span{display:block;position:absolute;inset:0}#opening-tear img{object-fit:contain;-webkit-user-select:none;user-select:none;pointer-events:none;width:100%;height:100%}.opening-pack-cap,.opening-pack-body{opacity:0}.opening-pack-cap{clip-path:polygon(0 0,100% 0,100% 13%,90% 12%,75% 14%,60% 12%,45% 14%,30% 12%,15% 14%,0 13%)}.opening-pack-body{clip-path:polygon(0 13%,15% 14%,30% 12%,45% 14%,60% 12%,75% 14%,90% 12%,100% 13%,100% 100%,0 100%)}.opening-pack-visual>.opening-pack-seam{opacity:0;pointer-events:none;background:linear-gradient(90deg,#0000,#d3ffff 35%,#fff 55%,#0000);height:3px;inset:12% 7% auto;transform:scaleX(.2)}#opening-tear:is(.opening-arriving,.opening-grabbed,.tearing) .opening-pack-visual{animation:none}#opening-tear.charging .opening-pack-visual{animation:.7s ease-in-out infinite packCharge}#opening-tear.charging .opening-pack-aura{opacity:1;animation:.8s ease-in-out infinite packChargeGlow}.charging .opening-pack-seam{opacity:.8;animation:.7s ease-in-out infinite packSeamCharge}.tearing .opening-pack-full{opacity:0}.tearing .opening-pack-cap{opacity:1;will-change:transform,opacity;animation:.74s cubic-bezier(.25,.65,.35,1) forwards packTearCap}.tearing .opening-pack-body{opacity:1;will-change:transform,opacity;animation:.74s ease-out forwards packTearBody}.tearing .opening-pack-seam{animation:.45s ease-out forwards packSeamRelease}.tearing .opening-pack-aura{animation:.7s ease-out forwards packAuraRelease}.opening-flash{background:radial-gradient(ellipse,color-mix(in srgb,var(--opening-accent) 55%,transparent),color-mix(in srgb,var(--opening-main) 22%,transparent) 26%,transparent 70%);opacity:0;pointer-events:none;z-index:2;position:absolute;inset:8% 10%}.opening-burst .opening-flash{animation:.8s ease-out forwards packFlash}#opening-particles{z-index:6;pointer-events:none;width:min(100%,1280px);height:calc(100% + 112px);position:absolute;top:-56px;left:50%;transform:translate(-50%)}#opening-particles canvas{pointer-events:none;width:100%;height:100%;display:block}#opening-cards{width:100%;max-width:min(var(--opening-cards-width,1160px),100%);grid-template-columns:repeat(var(--opening-card-count),minmax(0,1fr));align-items:center;gap:clamp(8px,1.7vw,28px);margin:auto;padding:10px 6px;display:grid}#opening-cards[hidden]{display:none}.opening-stage:has(.many-cards:not([hidden])){height:auto;min-height:280px}.pack-card{perspective:1000px;cursor:pointer;isolation:isolate;background:0 0;border:0;min-width:0;padding:0 0 26px;transition:transform .18s;position:relative}.pack-card:disabled{opacity:1}.pack-card:not(:is(.is-revealing,.is-dealing)):hover{z-index:4;transform:translateY(-7px)scale(1.035)}.pack-card:focus-visible{outline:2px solid var(--pack-hover-accent,#82f6fd);outline-offset:7px;border-radius:12px}.pack-card-aura{border:2px solid var(--pack-hover-color,#a7adb4);box-shadow:0 0 10px var(--pack-hover-accent),0 0 32px 3px color-mix(in srgb,var(--pack-hover-color) 78%,transparent),0 0 54px 7px color-mix(in srgb,var(--pack-hover-color) 30%,transparent),inset 0 0 12px var(--pack-hover-color);opacity:0;pointer-events:none;z-index:2;border-radius:12px;transition:opacity .16s,transform .2s;position:absolute;inset:0 1% 26px}.pack-card:not(.is-revealed) .pack-card-aura{border-width:3px;border-color:color-mix(in srgb,var(--pack-hover-color) 58%,var(--pack-hover-accent));box-shadow:0 0 9px var(--pack-hover-accent),0 0 22px 4px var(--pack-hover-color),0 0 54px 12px color-mix(in srgb,var(--pack-hover-color) 68%,transparent),0 0 84px 17px color-mix(in srgb,var(--pack-hover-color) 32%,transparent),inset 0 0 18px var(--pack-hover-accent)}.pack-card:is(:hover,:focus-visible,.is-revealing) .pack-card-aura{opacity:1}.pack-card.is-revealed .pack-card-aura{opacity:.52}.pack-card.is-revealed:is(:hover,:focus-visible,.is-revealing) .pack-card-aura{opacity:1}.pack-card.is-reveal-primed .pack-card-aura{animation:.48s ease-in-out infinite rarityAnticipation}.pack-card.is-impacting .pack-card-aura{animation:.58s ease-out rarityImpact}.pack-card.is-impacting[data-rarity=epic] .pack-card-aura{animation:.88s ease-out epicCardPulse}.turn-card-inner{aspect-ratio:180/250;width:100%;transform-style:preserve-3d;transition:transform .5s cubic-bezier(.2,.7,.25,1);display:block;position:relative;filter:none!important}.is-revealing .turn-card-inner{will-change:transform}.is-revealed .turn-card-inner{transform:rotateY(180deg)}.turn-card-back,.turn-card-front{backface-visibility:hidden;display:block;position:absolute;inset:0}.turn-card-front{transform:rotateY(180deg)}.turn-card-inner img{object-fit:contain;pointer-events:none;width:100%;height:100%}.pack-card-label{color:#ded6c5;font:700 clamp(10px,1vw,17px) Georgia,serif;transition:opacity .2s;position:absolute;bottom:0;left:0;right:0}.pack-card.is-revealed .pack-card-label{color:var(--pack-hover-accent)}.pack-card.is-impacting[data-rarity=legendary]{animation:.68s cubic-bezier(.2,.7,.3,1) legendaryAscend}.opening-scene footer{z-index:7;position:relative}.opening-actions{justify-content:center;gap:12px;margin-top:12px;padding:5px 0;display:flex}.opening-actions button{color:#e7fcff;cursor:pointer;background:linear-gradient(#2b697a,#173746);border:2px solid #60909a;border-radius:9px;padding:10px 22px;font:700 clamp(11px,1vw,17px) Georgia,serif;box-shadow:inset 0 1px #c4ecdf66,0 3px #091a23}.opening-actions button[hidden]{display:none}.opening-actions button:disabled{opacity:.5}.opening-actions button:hover:not(:disabled){background:linear-gradient(#378092,#20505e)}#opening-error{color:#ffb68c;margin:7px 0}#opening-error:empty{display:none}#opening-summary{max-width:1000px;margin:8px auto 0}#opening-summary[hidden]{display:none}#opening-refund{color:#87edfc;justify-content:center;align-items:center;gap:9px;margin:6px 0;font-size:clamp(13px,1.15vw,19px);display:flex}#opening-refund img{object-fit:contain;width:34px;height:34px}.opening-complete .opening-scene>header,.opening-complete .pack-card-label{visibility:hidden;opacity:0}.opening-complete .opening-actions{margin-top:9px}#opening-summary:not([hidden]){animation:.35s ease-out packRewardIn}#opening-summary:not([hidden]) #opening-refund img{animation:.5s ease-out packCurrencyPop}.opening-fast-mode .opening-pack-visual,.opening-fast-mode .opening-pack-aura,.opening-fast-mode .pack-card,.opening-fast-mode .pack-card-aura,.opening-fast-mode #opening-summary,.opening-fast-mode #opening-refund img{animation:none!important}.opening-fast-mode .turn-card-inner{transition-duration:70ms}.opening-fast-mode .tearing .opening-pack-cap,.opening-fast-mode .tearing .opening-pack-body,.opening-fast-mode .opening-flash{animation-duration:.1s}@keyframes packFloat{50%{transform:translateY(-6px)rotate(.55deg)}}@keyframes packCharge{50%{transform:scale(.985,1.015)translateY(-2px)}}@keyframes packChargeGlow{50%{opacity:.58;transform:scale(1.08)}}@keyframes packSeamCharge{50%{opacity:1;transform:scaleX(.94)}}@keyframes packSeamRelease{0%{opacity:1;transform:scaleX(.3)}40%{opacity:1;transform:scaleX(1.15)}to{opacity:0;transform:scaleX(1.6)}}@keyframes packTearCap{0%{opacity:1;transform:translate(0,0)rotate(0)}35%{opacity:1;transform:translate(14px,-16px)rotate(-7deg)}to{opacity:0;transform:translate(120px,-130px)rotate(28deg)}}@keyframes packTearBody{0%{opacity:1;transform:scale(.985,1.015)}30%{opacity:1;transform:scale(1.025,.985)}to{opacity:0;transform:translateY(42px)scale(.84)}}@keyframes packAuraRelease{30%{opacity:1;transform:scale(1.15)}to{opacity:0;transform:scale(1.65)}}@keyframes packFlash{0%{opacity:0;transform:scale(.55)}24%{opacity:.9;transform:scale(.95)}to{opacity:0;transform:scale(1.4)}}@keyframes rarityAnticipation{50%{opacity:.72;transform:scale(1.045)}}@keyframes rarityImpact{0%{opacity:1;transform:scale(.985)}35%{opacity:1;transform:scale(1.06)}to{opacity:.78;transform:scale(1)}}@keyframes epicCardPulse{0%,to{opacity:.52;transform:scale(1)}22%,65%{opacity:1;transform:scale(1.026)}45%{opacity:.65;transform:scale(1)}}@keyframes legendaryAscend{25%{transform:translateY(-14px)scale(1.055)}to{transform:translateY(0)scale(1)}}@keyframes packRewardIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes packCurrencyPop{0%{opacity:0;transform:scale(.8)}65%{opacity:1;transform:scale(1.12)}to{opacity:1;transform:none}}@media (height<=700px){.opening-scene{min-height:86vh;padding:10px 18px}.opening-scene>header{min-height:85px}.opening-scene>header>img{height:42px}.opening-scene h2{font-size:19px}.opening-stage{height:clamp(235px,40vh,285px);margin:4px 0}#opening-tear{width:min(180px,23vw)}#opening-cards{max-width:min(var(--opening-cards-width),900px,100%)}.opening-actions button{padding:7px 16px}#opening-refund img{width:28px;height:28px}}@media (width<=750px){#opening-cards{gap:5px}.opening-scene{padding:10px}.opening-scene>header>img{width:65vw}.pack-card{padding-bottom:20px}.pack-card-aura{bottom:20px}.opening-actions{gap:7px}.opening-actions button{padding:7px 9px}.opening-scene p{font-size:11px}#opening-refund{font-size:12px}}@media (prefers-reduced-motion:reduce){#pack-opening-dialog *{transition-duration:10ms!important;animation:none!important}}.opening-autumn{background:radial-gradient(at 50% 38%,#44272c,#151117 72%)!important}.opening-pack-aura{background:radial-gradient(ellipse,var(--opening-haze,#6aeeff38),transparent 67%)}.opening-autumn .opening-pedestal{background:radial-gradient(ellipse,var(--opening-haze),transparent 72%)}.opening-autumn .opening-flash{background:radial-gradient(ellipse,var(--opening-haze),transparent 66%)}#pack-opening-dialog:not(.opening-fast-mode) .tearing .opening-pack-cap,#pack-opening-dialog:not(.opening-fast-mode) .tearing .opening-pack-body{animation-duration:calc(.74s * var(--opening-time-scale,1))}#pack-opening-dialog:not(.opening-fast-mode) .tearing .opening-pack-seam{animation-duration:calc(.45s * var(--opening-time-scale,1));background:linear-gradient(90deg,transparent,var(--opening-accent,#d3ffff) 35%,#fff 55%,transparent)}#pack-opening-dialog:not(.opening-fast-mode) .tearing .opening-pack-aura{animation-duration:calc(.7s * var(--opening-time-scale,1))}#pack-opening-dialog:not(.opening-fast-mode) .opening-burst .opening-flash{animation-duration:calc(.8s * var(--opening-time-scale,1))}.opening-preview:before{content:"APERÇU TECHNIQUE · AUCUNE TRANSACTION";text-align:center;color:#cdeaf0;letter-spacing:.08em;background:#243d46;padding:8px 14px;font:700 12px system-ui,sans-serif;display:block}.preview-effect-face{border:3px solid var(--pack-hover-color);color:var(--pack-hover-accent);box-shadow:inset 0 0 24px var(--pack-hover-color);box-sizing:border-box;background:radial-gradient(#253949,#0e171f);border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:10px;display:flex!important}.preview-effect-face>span{font:64px Georgia,serif}.preview-effect-face strong{font:700 clamp(13px,2vw,24px) Georgia,serif}.preview-effect-face small{font:11px system-ui,sans-serif}.opening-no-hover .pack-card:hover{transform:none}.opening-no-hover .pack-card:not(.is-revealed):hover .pack-card-aura{opacity:0}.opening-no-sheen .opening-pack-seam{display:none}.opening-no-hover #opening-tear:hover .opening-pack-aura{opacity:.5}.opening-pack-visual{animation-duration:calc(3.6s / var(--opening-speed,1))}.opening-pack-aura,.opening-flash{filter:opacity(var(--opening-opacity,1))}.pack-card-aura{filter:opacity(var(--rarity-opacity,1)) brightness(calc(var(--rarity-intensity,1) * 1.1))}.pack-card[data-effect-enabled=false] .pack-card-aura{display:none}.pack-card[data-effect-enabled=false]{animation:none!important}.pack-card.is-impacting .pack-card-aura{animation-duration:var(--rarity-duration,.58s)}#shop-screen[hidden]{display:none}#shop-screen{z-index:8;color:#ffe5b0;background:#160f0b;font-family:Georgia,serif;position:fixed;inset:0}body.shop-open #game,body.shop-open #home-screen{display:none}.shop-stage{background:url(/assets/fond-menu-motismadeck-base.png) 50%/100% 100% no-repeat;width:min(100vw,177.778vh);height:min(100vh,56.25vw);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);container-type:size}.shop-heading{color:#4b2b14;justify-content:space-between;align-items:center;height:7%;display:flex;position:absolute;top:11%;left:12%;right:12%}.shop-heading h1{text-shadow:0 1px #ffe0a1;margin:0;font-size:clamp(16px,2.8cqw,44px);line-height:1.05}.shop-heading>div:first-child>span{font:clamp(8px,.9cqw,15px)/1.15 system-ui,sans-serif;display:block}.shop-wallet{grid-template-rows:1fr 1fr;grid-template-columns:4cqw auto;align-items:center;column-gap:8px;display:grid}.shop-wallet img{object-fit:contain;filter:drop-shadow(0 2px 1px #311b16);grid-row:1/3;width:4cqw;height:5cqh}.shop-wallet strong{font:700 clamp(14px,1.8cqw,30px)/1.1 system-ui,sans-serif}.shop-wallet span{font:clamp(8px,.8cqw,13px)/1.2 system-ui,sans-serif}.shop-zones{grid-template-columns:1fr 1fr;gap:2cqw;display:grid;position:absolute;inset:19% 12% 16%}.shop-zones>section{background:linear-gradient(145deg,#603923f2,#24170ff5);border:3px solid #996739;border-radius:15px;padding:1.2cqh 1.8cqw;position:relative;overflow:auto;box-shadow:inset 0 0 0 2px #dab579,inset 0 3px 8px #f9d6a22b,0 8px 12px #44231272}.shop-zones h2{text-align:center;color:#ffe6af;text-shadow:0 2px #150b04;margin:0 0 1cqh;font-size:clamp(17px,1.7cqw,28px)}.pack-art-pending{color:#d1b695;text-align:center;background:#211b184d;border:1px dashed #ad927d;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;width:13cqw;max-width:210px;height:24cqh;max-height:225px;margin:0 auto;display:flex}.pack-art-pending span{font:700 clamp(12px,1.3cqw,21px)/1.2 Georgia,serif}.pack-art-pending small{opacity:.8;margin-top:12px;font:clamp(8px,.65cqw,11px) system-ui,sans-serif}.shop-price,.shop-total{text-align:center;margin:1cqh 0;font:clamp(11px,.95cqw,16px) system-ui,sans-serif}.shop-price strong{color:#b9f4fd}.shop-total strong{color:#b9f4fd;margin-left:12px}.shop-quantity{justify-content:center;align-items:flex-end;gap:8px;display:flex}.shop-quantity label{text-align:center;font:clamp(10px,.8cqw,13px) system-ui,sans-serif}.shop-quantity input{text-align:center;color:#362417;background:#fff0ce;border:2px solid #b38955;border-radius:5px;width:7cqw;margin-top:3px;padding:.45cqh 0;font:700 clamp(14px,1.2cqw,20px) system-ui,sans-serif;display:block}.shop-screen button,.shop-stage button{cursor:pointer;font-family:Georgia,serif}.shop-quantity button,.shop-shortcuts button{color:#fee2ac;background:linear-gradient(#76502b,#392316);border:1px solid #b38c55;border-radius:5px;padding:.6cqh 1cqw;font-size:clamp(12px,1cqw,17px);box-shadow:inset 0 1px #eacc9866,0 2px 2px #110d09}.shop-shortcuts{justify-content:center;gap:5px;margin:.8cqh 0;display:flex}.shop-primary{color:#e1fbff;text-shadow:0 1px #061e25;background:linear-gradient(#2a737d,#14404e);border:2px solid #49abb8;border-radius:8px;margin:1cqh auto 0;padding:1cqh 1.7cqw;font:700 clamp(13px,1.15cqw,19px) Georgia,serif;display:block;box-shadow:inset 0 0 0 1px #bbeff3,inset 0 4px 6px #dfffff24,0 4px #152e34,0 5px 10px #0009}.shop-stage button:disabled{opacity:.45;cursor:default}.shop-stage button:hover:not(:disabled){filter:brightness(1.18)}.shop-stage button:focus-visible,.shop-stage input:focus-visible{outline-offset:3px;outline:3px solid #91ecf4}#shop-status{text-align:center;color:#c2edc3;min-height:2em;margin:1.5cqh 0 0;font:clamp(10px,.85cqw,14px)/1.25 system-ui,sans-serif}#shop-status.error{color:#ffc299}.inventory-extension{border-bottom:1px solid #ac81514d;align-items:center;gap:1.6cqw;padding:2cqh 0;display:flex}.pack-mini{flex-shrink:0;width:10cqw;height:25cqh;margin:0}.inventory-pack-info{text-align:center;flex:1;min-width:0}.inventory-extension h3{margin:0 0 2cqh;font-size:clamp(14px,1.35cqw,23px)}.inventory-extension p{font:clamp(11px,.95cqw,16px) system-ui,sans-serif}.inventory-extension p strong{color:#b4f1fb;font-size:clamp(22px,2.3cqw,40px);display:block}.inventory-extension small{text-align:center;color:#d9bc91;margin-top:1.5cqh;font:clamp(9px,.7cqw,12px) system-ui,sans-serif;display:block}.shop-inventory-note{text-align:center;color:#dcc19e;margin:2cqh 0;font:clamp(10px,.8cqw,14px) system-ui,sans-serif}.shop-singles[hidden]{display:none}.shop-singles{text-align:center;border:1px solid #a479485e;border-radius:9px;padding:2cqh 1cqw;box-shadow:inset 0 0 20px #100c0840}.shop-singles>span{color:#c3aa82;font-size:2cqw}.shop-singles h3{margin:.7cqh 0;font-size:clamp(15px,1.3cqw,22px)}.shop-singles p{color:#d2b995;margin:.7cqh 0;font:clamp(10px,.8cqw,14px) system-ui,sans-serif}@media (width<=700px){.shop-zones{gap:8px;left:8%;right:8%}.shop-zones>section{border-width:2px;padding:6px}.shop-heading{left:8%;right:8%}.inventory-extension{gap:6px}.shop-primary{padding:6px;font-size:11px}.shop-singles{padding:4px}.shop-shortcuts button{padding:3px 5px}.pack-art-pending small{font-size:7px}.shop-quantity input{width:60px}}.shop-extension-name{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.shop-extension-logo{object-fit:contain;width:95%;height:9cqh;margin:-1cqh auto 0;display:block}.shop-product-row{grid-template-columns:1fr 1fr;align-items:center;gap:1cqw;min-height:32cqh;display:grid}.shop-pack-display{perspective:900px;position:relative}.shop-pack-display img{z-index:1;object-fit:contain;filter:drop-shadow(0 8px 8px #08090fc0);width:100%;height:32cqh;transition:transform .22s,filter .22s;animation:4s ease-in-out infinite shopBoosterFloat;display:block;position:relative}.shop-pack-display:hover img{filter:drop-shadow(0 0 17px #25c7d56b);animation:none;transform:rotateY(-10deg)rotate(-3deg)scale(1.04)}.shop-pack-shadow{filter:blur(7px);background:#070a0ba3;border-radius:50%;height:12px;position:absolute;bottom:-2px;left:12%;right:12%}.shop-buy-controls{padding-right:.3cqw}.shop-buy-controls .shop-quantity{gap:4px}.shop-buy-controls .shop-shortcuts{flex-wrap:wrap}.shop-card-count{text-align:center;color:#d5c8b4;margin:1.7cqh 0;font:clamp(9px,.78cqw,13px)/1.35 system-ui,sans-serif}.inventory-booster{flex-shrink:0;width:11cqw}.inventory-booster img{object-fit:contain;filter:drop-shadow(0 8px 8px #0709089c);width:100%;height:25cqh;display:block}.shop-guarantees{text-align:center;color:#d9e7da;border:1px solid #8f794a7a;border-radius:7px;margin:1.4cqh 0;padding:1.4cqh .8cqw;font:clamp(11px,.9cqw,15px)/1.5 system-ui,sans-serif}.shop-guarantees h3{color:#ffe6af;margin:0 0 1.4cqh;font:700 clamp(15px,1.2cqw,21px) Georgia,serif}.shop-guarantees p{margin:8px 0}.shop-purchased .inventory-booster{animation:.7s ease-out shopInventoryGift}.shop-purchased .shop-wallet{animation:.65s ease-out shopWallet}.shop-wallet img{object-fit:contain}.shop-singles{padding:1.1cqh 1cqw}.shop-zones>section{background:radial-gradient(at 30% 0,#73522d55,#0000 55%),linear-gradient(145deg,#603923f2,#24170ff5)}@keyframes shopBoosterFloat{50%{transform:translateY(-4px)rotate(.8deg)}}@keyframes shopInventoryGift{20%{filter:drop-shadow(0 0 15px #3cdce6);transform:translateY(-5px)scale(1.06)}to{transform:none}}@keyframes shopWallet{40%{filter:drop-shadow(0 0 8px #ffb138)}}@media (prefers-reduced-motion:reduce){.shop-pack-display img,.shop-purchased .inventory-booster,.shop-purchased .shop-wallet{animation:none!important}}.shop-opening-settings{text-align:center;color:#ebd9b6;cursor:pointer;justify-content:center;align-items:center;gap:8px;margin:1.5cqh 0 .5cqh;font:clamp(11px,1cqw,15px) system-ui,sans-serif;display:flex}.shop-opening-settings input{accent-color:#58c2cf;flex-shrink:0;width:15px;height:15px;margin:0}.shop-pack-picker[hidden]{display:none}.shop-pack-picker{text-align:center;flex-direction:column;gap:3px;max-width:35%;font:clamp(9px,.9cqw,14px) system-ui,sans-serif;display:flex}.shop-pack-picker select{font:inherit;color:#4b2b14;background:#fff0cf;border:1px solid #a47a41;border-radius:6px;max-width:100%;padding:.5cqh .6cqw}.shop-zones[hidden],.shop-gallery[hidden],#shop-catalog-back[hidden]{display:none}.shop-gallery{grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));gap:1cqh 1cqw;display:grid;position:absolute;inset:20% 10% 15%}.shop-extension-tile{border:2px solid color-mix(in srgb,var(--extension-accent),#9d7948 50%);background:radial-gradient(ellipse at 15% 40%,color-mix(in srgb,var(--extension-background),transparent 35%),#1b1714 95%);border-radius:10px;grid-template-columns:35% 1fr;align-items:center;gap:.3cqw;min-width:0;padding:.6cqh .6cqw;display:grid;overflow:hidden;box-shadow:inset 0 0 0 1px #e8cda333,0 3px 8px #1c100b77}.shop-extension-tile>div{text-align:center;min-width:0}.extension-tile-booster{object-fit:contain;filter:drop-shadow(0 3px 3px #0009);width:100%;height:17cqh;transition:transform .2s;display:block}.shop-extension-tile:hover .extension-tile-booster{transform:translateY(-3px)rotate(-2deg)}.extension-tile-logo{object-fit:contain;width:100%;height:4cqh;display:block}.shop-extension-tile h2{color:#fff2dc;margin:.2cqh 0;font:700 clamp(9px,.85cqw,14px) Georgia,serif}.extension-publication{text-transform:uppercase;color:var(--extension-accent);margin:.4cqh 0;font:700 clamp(8px,.7cqw,12px) system-ui,sans-serif}.extension-availability{color:#d8c6ab;margin:.4cqh 0;font:clamp(8px,.65cqw,11px) system-ui,sans-serif}.extension-tile-actions{flex-wrap:wrap;justify-content:center;gap:3px;display:flex}.extension-tile-actions button{color:#f6e5c2;background:#293b40;border:1px solid #927d5e;border-radius:4px;min-height:19px;padding:.45cqh .45cqw;font:clamp(8px,.7cqw,12px) system-ui,sans-serif}.extension-purchase-locked{flex-basis:100%;background:0 0!important;border:0!important;min-height:12px!important;padding:0!important;font-size:clamp(8px,.65cqw,11px)!important}@media (width<=750px){.shop-browsing-extensions .shop-stage{background-size:100% 100%;width:100vw;height:100dvh}.shop-gallery{grid-template-rows:none;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:165px;padding:4px;inset:17% 6% 13%;overflow:auto}.extension-tile-booster{height:145px}.extension-tile-logo{height:30px}.shop-extension-tile h2{font-size:11px}.extension-publication,.extension-availability{font-size:10px}.extension-tile-actions button{padding:5px;font-size:10px}.extension-purchase-locked{font-size:9px!important}.shop-extension-tile:hover .extension-tile-booster{transform:none}}@media (width<=450px){.shop-gallery{grid-template-columns:1fr;grid-auto-rows:160px}.extension-tile-booster{height:140px}}@media (prefers-reduced-motion:reduce){.extension-tile-booster{transition:none}.shop-extension-tile:hover .extension-tile-booster{transform:none}}.extension-publication{color:color-mix(in srgb,var(--extension-accent) 55%,#fff4dc)}#shop-unavailable{text-align:center;color:#fce8c4;background:#1a242bec;border:1px solid #b09360;border-radius:12px;padding:30px;position:absolute;top:35%;left:15%;right:15%}#shop-unavailable[hidden],#shop-resume-unpublished[hidden]{display:none}#shop-resume-unpublished{color:#ffedbf;background:#27424b;border:1px solid #cbb777;border-radius:8px;padding:12px 22px;position:absolute;bottom:16%;left:50%;transform:translate(-50%)}.shop-browsing-extensions .shop-pack-picker{display:none}.shop-public-gallery .extension-tile-booster{height:clamp(80px,calc(42cqh / var(--shop-public-rows,1)),320px)}.shop-public-gallery .extension-tile-logo{height:clamp(25px,calc(10cqh / var(--shop-public-rows,1)),75px)}.shop-public-gallery .shop-extension-tile h2{font-size:clamp(12px,calc(1.7cqw / var(--shop-public-rows,1)),22px)}.shop-public-gallery .extension-publication,.shop-public-gallery .extension-availability{font-size:clamp(10px,calc(1.1cqw / var(--shop-public-rows,1)),15px);margin:8px 0}.shop-public-gallery .extension-tile-actions button{font-size:clamp(11px,calc(1.2cqw / var(--shop-public-rows,1)),16px);padding:8px 15px}.shop-spaces{z-index:3;justify-content:center;gap:12px;height:6%;display:flex;position:absolute;top:19%;left:12%;right:12%}.shop-spaces button{color:#f5e2bb;background:linear-gradient(#5c432c,#302519);border:2px solid #977445;border-radius:9px;min-width:150px;padding:.6cqh 2cqw;font:700 clamp(13px,1.2cqw,20px) Georgia,serif;box-shadow:inset 0 0 0 1px #d2b17655}.shop-spaces button[aria-pressed=true]{color:#eff;background:linear-gradient(#35656c,#1c414c);border-color:#65c4ce;box-shadow:inset 0 0 0 1px #ace7df,0 0 12px #43c3d52b}#shop-owned-total{color:#bef8f4;background:#122e36;border-radius:20px;min-width:1.4em;margin-left:.4em;padding:0 .35em;font:700 .8em system-ui,sans-serif;display:inline-block}.shop-gallery{top:28%}.shop-zones{grid-template-columns:minmax(0,1fr);top:28%}.shop-zones>section[hidden]{display:none}.shop-zones .shop-product-row{grid-template-columns:minmax(160px,.8fr) minmax(200px,1fr);max-width:850px;min-height:25cqh;margin:auto}.shop-zones .shop-pack-display img{height:25cqh}.shop-zones .shop-extension-logo{height:7cqh}.shop-zones .inventory-extension{justify-content:center;max-width:700px;margin:auto;padding:1cqh 0}.shop-zones .shop-inventory .shop-guarantees{max-width:800px;margin:1cqh auto}.shop-zones .shop-inventory .inventory-pack-info{flex:0 360px}@media (width<=750px){.shop-spaces{gap:8px;left:8%;right:8%}.shop-spaces button{min-width:110px;min-height:28px;padding:3px 15px;font-size:12px}.shop-gallery{grid-auto-rows:165px;top:28%}.shop-zones .shop-product-row{grid-template-columns:1fr 1fr}.shop-zones .shop-inventory .inventory-extension{padding:4px 0}.shop-zones .shop-inventory .shop-guarantees{margin:8px auto;padding:6px}.shop-zones .shop-guarantees h3{margin:3px;font-size:14px}.shop-zones .shop-guarantees p{margin:5px 0}}.shop-navigation{z-index:3;gap:12px;display:flex;position:absolute;bottom:8%;left:12%}.shop-navigation button{box-sizing:border-box;color:#ffe3a4;text-align:center;background:linear-gradient(#81552a,#48240f);border:2px solid #91683b;border-radius:8px;justify-content:center;align-items:center;width:clamp(150px,18cqw,310px);min-height:clamp(38px,5cqh,54px);padding:8px 12px;font:clamp(12px,1.2cqw,20px)/1.2 Georgia,serif;display:flex;box-shadow:inset 0 0 0 1px #e3b96c,0 4px #43250f}.shop-zones .shop-guarantees{margin:5px auto;padding:5px 12px;font-size:clamp(10px,.78cqw,13px);line-height:1.25}.shop-zones .shop-guarantees h3{margin:0 0 4px;font-size:clamp(14px,1.05cqw,18px)}.shop-zones .shop-guarantees p{margin:3px 0}.shop-zones .shop-opening-settings{margin:5px 0 0;font-size:clamp(10px,.8cqw,13px)}.shop-zones .inventory-extension h3{margin:0 0 5px}.shop-zones .inventory-extension p{margin:5px 0}.shop-zones .shop-buy .shop-product-row{min-height:21cqh}.shop-zones .shop-buy .shop-pack-display img{height:21cqh}.shop-zones .shop-buy .shop-extension-logo{height:5cqh}.shop-zones .shop-buy .shop-total{margin:4px 0}.shop-zones #shop-status:empty{display:none}@container (height<=620px){.shop-zones .shop-buy .shop-extension-logo{height:3cqh}.shop-zones .shop-buy .shop-card-count,.shop-zones .shop-buy .shop-price,.shop-zones .shop-buy .shop-shortcuts{margin:3px 0}.shop-zones .shop-buy .shop-primary{margin-top:4px;padding:4px 12px;font-size:14px}.shop-zones .shop-guarantees{margin:4px auto;padding:4px 8px;font-size:10px;line-height:1.2}.shop-zones .shop-guarantees h3{margin-bottom:2px;font-size:14px}.shop-zones .shop-guarantees p{margin:2px 0}}@container (height<=480px){.shop-zones .shop-buy .shop-extension-logo{height:2.2cqh}.shop-zones>section{padding-block:4px}.shop-zones .shop-guarantees{margin-block:2px;padding-block:3px}.shop-zones .shop-opening-settings{margin-top:0}}.shop-navigation button{white-space:nowrap}@container (height<=480px){.shop-zones .shop-inventory .inventory-extension{padding-block:3px}.shop-zones .shop-inventory .shop-guarantees{margin:2px auto;padding:3px 8px}}@media (height<=550px){.shop-zones .inventory-booster img{height:22cqh}.shop-zones .inventory-extension{padding:3px 0}.shop-zones .shop-inventory .shop-guarantees{margin:4px auto;padding:4px 8px;font-size:10px}.shop-zones .shop-guarantees h3{margin-bottom:3px;font-size:14px}.shop-zones .shop-guarantees p{margin:2px 0}.shop-zones .inventory-extension h3{font-size:14px}.shop-zones .inventory-extension p strong{font-size:23px}.shop-zones .shop-opening-settings{margin-top:3px;font-size:10px}.touch-layout .shop-zones{top:26%;bottom:14%}.touch-layout .shop-zones>section{padding:2px 8px}.touch-layout .shop-zones .shop-buy .shop-total{vertical-align:middle;width:43%;margin:2px 0;display:inline-block}.touch-layout #shop-buy{width:55%;min-height:30px;margin:2px 0;padding:4px 8px;display:inline-block}.touch-layout .shop-zones .shop-inventory .shop-guarantees{margin:3px auto;padding:3px 8px}.touch-layout .shop-zones .shop-opening-settings{margin-top:0}.touch-layout .shop-zones .shop-buy .shop-guarantees p{margin:1px 0}.touch-layout .shop-zones .shop-inventory>h2{margin-bottom:2px}.touch-layout .shop-zones .shop-inventory .inventory-extension{padding-block:1px}.touch-layout .shop-zones .shop-inventory .inventory-extension p{margin:2px 0}.touch-layout .shop-zones .shop-inventory .shop-guarantees h3{margin-bottom:1px}.touch-layout .shop-zones .shop-inventory .shop-guarantees p{margin:0}}.reward-notice{z-index:40;color:#ffe7b4;background:linear-gradient(135deg,#3e2d1eef,#17232bf5);border:2px solid #8f7041;border-radius:16px;align-items:center;gap:15px;padding:15px 25px;animation:.55s ease-out rewardAppear;display:flex;position:fixed;top:13%;left:50%;transform:translate(-50%);box-shadow:inset 0 0 0 1px #ccb06e,0 6px 30px #000a}.reward-notice>img{object-fit:contain;filter:drop-shadow(0 0 11px #ff9d363d);width:68px;height:68px}.reward-notice strong{font:700 25px Georgia,serif;display:block}.reward-notice span{color:#a0eff8;margin-top:5px;font:700 21px system-ui,sans-serif;display:block}.reward-notice button{color:#e7d6b4;cursor:pointer;background:0 0;border:0;margin-left:10px;font-size:26px}.reward-victory{box-shadow:inset 0 0 0 1px #ccb06e,0 0 30px #ff9a264d}.reward-loss{border-color:#738895}.reward-loss>img{width:55px;height:55px}.reward-loss strong{font-size:20px}@keyframes rewardAppear{0%{opacity:0;transform:translate(-50%,-15px)scale(.92)}to{opacity:1;transform:translate(-50%)scale(1)}}@media (prefers-reduced-motion:reduce){.reward-notice{animation:none}}@media (width<=700px){.reward-notice{gap:8px;min-width:280px;padding:10px 15px}.reward-notice strong{font-size:19px}.reward-notice span{font-size:16px}.reward-notice>img{width:45px;height:45px}}#match-result-dialog{box-sizing:border-box;color:#effaff;--result-main:#18bce9;--result-accent:#78ecff;--result-light:#f2feff;--result-dark:#066094;background:radial-gradient(at 50% 44%,#113755f0,#070f20fa 70%);border:0;border-radius:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;position:fixed;inset:0;overflow:hidden}#match-result-dialog[data-outcome=loss]{--result-main:#ff8b20;--result-accent:#ffd26c;--result-light:#fff6d4;--result-dark:#b6320a;background:radial-gradient(at 50% 44%,#472310f0,#140d19fa 70%)}#match-result-dialog::backdrop{background:#060b15a8}.match-result{box-sizing:border-box;isolation:isolate;flex-direction:column;justify-content:center;align-items:center;gap:clamp(12px,2vh,24px);height:100%;padding:30px 20px;display:flex;position:relative}.result-game-logo{object-fit:contain;opacity:.88;width:min(35vw,360px);height:auto;position:absolute;top:7%}#match-result-title{z-index:1;width:min(88vw,1100px);margin:0;animation:.65s cubic-bezier(.18,.7,.25,1) resultTitleIn}#match-result-title svg{filter:drop-shadow(0 10px 5px #0007);width:100%;display:block;overflow:visible}#match-result-subtitle{color:#d6e5ee;z-index:1;margin:0;font:clamp(13px,1.4vw,21px) system-ui,sans-serif}.result-reward{color:#9aeaff;z-index:1;align-items:center;gap:9px;margin:0;font:700 clamp(15px,1.5vw,22px) system-ui,sans-serif;display:flex}.result-reward[hidden]{display:none}.result-reward img{object-fit:contain;width:38px;height:38px}#match-result-home{border:2px solid var(--result-accent);color:#fff5dd;cursor:pointer;z-index:1;background:linear-gradient(#263d51,#142330);border-radius:10px;margin-top:clamp(10px,3vh,30px);padding:12px 24px;font:700 clamp(14px,1.3vw,20px) Georgia,serif;box-shadow:0 3px #020710}#match-result-home:hover{background:#35516a}#match-result-home:focus-visible{outline-offset:5px;outline:3px solid #fff6d6}.result-energy{pointer-events:none;z-index:-1;position:absolute;inset:0;overflow:hidden}.result-energy i{background:linear-gradient(transparent,var(--result-main),transparent);transform-origin:50% 0;opacity:0;width:2px;height:min(25vw,320px);transform:rotate(calc(var(--ray)*30deg)) translateY(70px);animation:.8s ease-out forwards resultRay;position:absolute;top:43%;left:50%}.result-reduced *,body.reduced-effects #match-result-dialog *{animation:none!important}@keyframes resultTitleIn{0%{opacity:0;transform:scale(.72)translateY(20px)}70%{opacity:1;transform:scale(1.035)}to{opacity:1;transform:none}}@keyframes resultRay{15%{opacity:.6}to{opacity:0;transform:rotate(calc(var(--ray)*30deg)) translateY(320px) scaleY(.3)}}@media (height<=500px){.result-game-logo{width:160px;top:3%}#match-result-title{width:min(68vw,700px)}.match-result{gap:8px;padding:10px}#match-result-home{margin-top:5px;padding:8px 16px}.result-reward img{width:25px;height:25px}}@media (prefers-reduced-motion:reduce){#match-result-dialog *{animation:none!important}}#match-result-elo{color:#d9f5fc;white-space:pre-line;text-align:center;max-width:800px;margin:12px auto;font:clamp(14px,1.5vw,21px)/1.7 Georgia,serif}#match-result-ranking{border:1px solid var(--result-accent);color:#ecf7ff;cursor:pointer;z-index:1;background:linear-gradient(#263d51,#142330);border-radius:9px;padding:10px 22px;font:700 clamp(14px,1.2vw,19px) Georgia,serif}#match-result-ranking:hover{background:#35516a}#match-result-ranking:focus-visible{outline-offset:4px;outline:3px solid #fff6d6}.match-result-actions{z-index:1;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;max-width:min(94vw,1100px);display:flex}.match-result-actions #match-result-home{margin-top:0}#match-result-replay{border:2px solid var(--result-accent);color:#fff5dd;cursor:pointer;background:linear-gradient(#32637b,#183348);border-radius:10px;padding:12px 26px;font:700 clamp(14px,1.3vw,20px) Georgia,serif;box-shadow:0 3px #020710}#match-result-replay:hover{background:linear-gradient(#3d7890,#244c63)}#match-result-replay:focus-visible{outline-offset:4px;outline:3px solid #fff6d6}#match-result-replay:disabled{opacity:.6;cursor:wait}#match-result-error{text-align:center;color:#ffd1a5;z-index:1;max-width:760px;margin:0;font:15px/1.4 system-ui,sans-serif}@media (height<=500px){.match-result-actions{gap:8px}#match-result-replay{padding:8px 16px}#match-result-elo{margin:0;font-size:14px;line-height:1.35}.match-result-actions #match-result-ranking{padding:8px 16px}}#multiplayer-dialog [hidden],#multiplayer-notice[hidden],#multiplayer-connection[hidden]{display:none!important}#multiplayer-dialog{color:#382715;text-align:center;background:linear-gradient(135deg,#f1dfba,#dac199);border:3px double #a7834c;border-radius:16px;width:min(900px,92vw);max-height:88dvh;padding:24px;overflow:auto;box-shadow:0 12px 70px #000a}#multiplayer-dialog::backdrop{-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#07121ac0}#multiplayer-dialog h2{margin:0 0 10px;font:700 30px Georgia,serif}#multiplayer-dialog h3{font:700 20px Georgia,serif}#multiplayer-dialog label{flex-direction:column;gap:8px;display:flex}#multiplayer-invite-form{gap:14px;max-width:340px;margin:22px auto;display:grid}#multiplayer-dialog input{color:#382715;background:#fff8e7;border:1px solid #866b43;border-radius:7px;padding:12px;font:17px system-ui}#multiplayer-dialog>button,#multiplayer-dialog form button,#multiplayer-waiting button,#multiplayer-ready{color:#fff1ce;cursor:pointer;background:linear-gradient(#73502e,#382715);border:2px solid #a38652;border-radius:8px;padding:10px 20px;font:700 17px Georgia,serif}#multiplayer-dialog button:disabled{opacity:.5;cursor:default}#multiplayer-ready{background:linear-gradient(#47797c,#22474f);min-width:170px}#multiplayer-readiness{color:#514129;margin:20px auto;font:14px system-ui}#multiplayer-decks{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-height:42vh;padding:5px;display:grid;overflow:auto}#multiplayer-decks .selected{border-color:#3baba3;box-shadow:0 0 0 3px #42b6a166}#multiplayer-status.error{color:#8b281c}#multiplayer-status:empty{display:none}#multiplayer-close{margin-top:18px}#multiplayer-notice{z-index:100;color:#fff0ca;background:#18323af2;border:2px solid #af9965;border-radius:10px;max-width:min(420px,90vw);padding:16px;font:16px Georgia,serif;position:fixed;top:24px;right:24px;box-shadow:0 5px 35px #0008}#multiplayer-notice span{margin-bottom:12px;display:block}#multiplayer-notice button{color:#fff4d7;cursor:pointer;background:#356c71;border:1px solid #839e9f;border-radius:6px;margin-right:8px;padding:8px 14px;font:15px Georgia,serif}#multiplayer-connection{z-index:100;color:#ffebd0;background:#653626ed;border:1px solid #da9c59;border-radius:7px;padding:10px 18px;font:14px system-ui;position:fixed;top:12px;left:50%;transform:translate(-50%)}@media (width<=700px){#multiplayer-dialog{padding:16px}#multiplayer-decks{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=420px){#multiplayer-decks{grid-template-columns:1fr}}#ranked-search-dialog{text-align:center;color:#ffedc4;background:linear-gradient(145deg,#21353c,#142028);border:2px solid #b59a61;border-radius:18px;width:min(440px,88vw);padding:30px;box-shadow:0 12px 70px #000a}#ranked-search-dialog::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#071018a8}#ranked-search-dialog h2{margin:16px 0 10px;font-size:1.5rem}#ranked-search-status{color:#a8e6ed;min-height:1.4em}#ranked-search-cancel{color:#f4e9d5;font:inherit;cursor:pointer;background:#34464e;border:1px solid #889aa1;border-radius:8px;margin-top:12px;padding:10px 22px}.ranked-search-orb{color:#72e5f0;border:2px solid #c3a967;border-radius:50%;place-items:center;width:64px;height:64px;margin:auto;font-size:36px;animation:1.8s ease-in-out infinite ranked-search-pulse;display:grid;box-shadow:0 0 24px #49bcc54d}@keyframes ranked-search-pulse{50%{transform:scale(1.06);box-shadow:0 0 34px #49bcc580}}@media (prefers-reduced-motion:reduce){.ranked-search-orb{animation:none}}#tools #chat-toggle{place-items:center;padding:0;display:grid}#chat-toggle svg{width:20px;height:20px}#tools #chat-toggle[aria-expanded=true]{color:#effcff;background:#47747c;border-color:#9edbe3}#tools #chat-toggle.has-unread,#prepare-dialog.collection-open .binder-footer #tools #chat-toggle.has-unread{color:#9af6ff;background:#124658;border-color:#65e8ff;box-shadow:inset 0 0 7px #69dfff55,0 0 12px #35dcffa6}#general-chat[hidden]{display:none}#general-chat{z-index:20;color:#f8e8c9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(145deg,#252e32f5,#161d23fa);border:1px solid #b38c53;border-radius:14px;flex-direction:column;width:min(360px,100vw - 34px);height:min(430px,100dvh - 100px);padding:14px;font:14px/1.45 system-ui,sans-serif;display:flex;position:fixed;bottom:64px;left:17px;box-shadow:0 12px 45px #0009}#general-chat header{border-bottom:1px solid #b38c5350;justify-content:space-between;align-items:center;gap:12px;padding-bottom:9px;display:flex}#general-chat h2{color:#fff0d0;margin:0;font:700 20px Georgia,serif}#tools #general-chat button{color:#eefbff;width:auto;height:auto;min-height:30px;box-shadow:none;background:#426c75;border:1px solid #85b6bf;border-radius:7px;padding:5px 10px;font:600 13px system-ui,sans-serif;display:block}#tools #general-chat #general-chat-close{color:#e3cb9d;background:0 0;border:0;padding:1px 7px;font-size:22px;line-height:1}#tools #general-chat button:disabled{opacity:.5;cursor:wait}#general-chat-messages{scrollbar-width:thin;color:#c8d6dc;overscroll-behavior:contain;flex:1;min-height:0;padding:10px 2px;font-size:13px;overflow:auto}#general-chat article{background:#ffffff08;border:1px solid #ffffff09;border-radius:8px;margin-bottom:8px;padding:8px 10px}#general-chat article.own{background:#4ca7b218;border-color:#71c6cd30}#general-chat article>div{justify-content:space-between;gap:12px;display:flex}#general-chat strong{color:#b9e8ed;font-size:12px}#general-chat time{color:#a7b2ba;font-size:11px}#general-chat article p{white-space:pre-wrap;overflow-wrap:anywhere;color:#f2e8d4;margin:3px 0 0}#general-chat-status{color:#edbd8f;min-height:17px;margin:2px 0 7px;font-size:11px}#general-chat form{align-items:flex-end;gap:8px;display:flex}#general-chat textarea{resize:none;color:#f2e8d4;background:#10191e;border:1px solid #79949c80;border-radius:7px;flex:1;min-width:0;padding:8px;font:13px/1.4 system-ui,sans-serif}#general-chat textarea:focus{outline:1px solid #9cd9e1}#general-chat :focus-visible{outline-offset:2px;outline:2px solid #9cd9e1}@media (height<=550px){#general-chat{height:calc(100dvh - 86px);bottom:58px}}#general-chat article.legendary-pack{background:linear-gradient(110deg,#ec8a201c,#d4710e0a);border-color:#ef9b454f #ef9b454f #ef9b454f #f6a341;border-left-style:solid;border-left-width:2px}#general-chat article.legendary-pack strong,#general-chat article.legendary-pack p{color:#ffad52}#general-chat article.legendary-pack time{color:#d5a56f}#tools #chat-toggle[hidden]{display:none!important}
