.mtg-home-shell{background:linear-gradient(180deg, #0205054d, #010404f5), radial-gradient(circle at 50% 0%, #be743024, transparent 38%), var(--mtg-home-page-bg) center top / cover fixed, #020606;color:#f4dfbd;min-height:100dvh;font-family:var(--font-sans);position:relative;overflow-x:hidden}.mtg-home-shell:before{content:"";z-index:0;pointer-events:none;background:linear-gradient(90deg,#000000ad,#0000 28%,#00000094),linear-gradient(#0000 62%,#020606 100%);position:fixed;inset:0}.mtg-home-shell *,.mtg-home-shell :before,.mtg-home-shell :after{box-sizing:border-box}.mtg-home-shell button,.mtg-home-shell input{font:inherit}.mtg-home-page{z-index:1;width:min(100% - 24px,480px);padding:24px 16px calc(112px + env(safe-area-inset-bottom));gap:18px;margin:0 auto;display:grid;position:relative}.mtg-home-page>*{width:100%;min-width:0;max-width:100%}.mtg-home-topbar,.mtg-home-section-title,.mtg-home-hero-actions,.mtg-home-game-foot,.mtg-home-notice{align-items:center;display:flex}.mtg-home-topbar{justify-content:space-between;min-height:76px}.mtg-home-title{color:#f2c995;align-items:center;gap:10px;display:flex}.mtg-home-title svg{filter:drop-shadow(0 0 14px #e0a05359);width:52px;height:52px}.mtg-home-title span{gap:2px;display:grid}.mtg-home-title strong{text-shadow:0 5px 18px #000000b3;font-size:40px;font-weight:700;line-height:1}.mtg-home-title em{color:#d9b484;font-size:14px;font-style:normal;display:none}.mtg-home-top-actions{gap:10px;display:flex}.mtg-home-top-actions button:not(:first-child){display:none}.mtg-home-icon-button{box-shadow:inset 0 0 0 1px #ffecc117;color:#e8bd82!important;background:#12120f94!important;border:1px solid #e2ae6b9e!important;width:52px!important;height:52px!important}.mtg-home-hero{background:linear-gradient(180deg, #0000000d, #0003 38%, #000000bd), var(--mtg-home-hero-scene) center / cover, var(--mtg-home-page-bg) center / cover;align-content:end;min-height:214px;padding:68px 18px 18px;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 34px #0000006b}.mtg-home-hero:before{content:"";pointer-events:none;background:linear-gradient(90deg,#00000075,#0000 48%),linear-gradient(#0000 65%,#14090480);position:absolute;inset:0}.mtg-home-ribbon,.mtg-home-hero-tag{z-index:1;color:#f0c18b;position:absolute}.mtg-home-ribbon{display:none}.mtg-home-hero-tag{background:#0a08069e;border:1px solid #e2ae6b47;padding:4px 9px;font-size:12px;top:15px;right:18px}.mtg-home-hero-copy,.mtg-home-hero-actions,.mtg-home-dots{z-index:1;position:relative}.mtg-home-hero-copy h1{color:#fff0d2;text-shadow:0 6px 18px #000000d1;margin:0;font-size:32px;line-height:1.08}.mtg-home-hero-copy p{color:#d8b98a;max-width:38rem;margin:8px 0 0;font-size:13px;line-height:1.55}.mtg-home-hero-actions{flex-wrap:wrap;gap:8px;margin-top:14px}.mtg-home-metric{color:#dfbf91;background:#080807a8;align-items:center;gap:7px;min-height:34px;padding:0 10px;display:inline-flex}.mtg-home-metric svg{width:16px;height:16px}.mtg-home-metric strong,.mtg-home-metric span{font-size:14px;line-height:1}.mtg-home-play{min-width:132px;margin-left:auto}.mtg-home-dots{justify-content:center;gap:14px;margin:18px 0 -34px;display:flex}.mtg-home-dots span{background:#b2aea147;border-radius:999px;width:10px;height:10px}.mtg-home-dots span[data-active=true]{background:#f0c08d;box-shadow:0 0 16px #efae608c}.mtg-home-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px;display:grid}.mtg-home-quick-actions>button{color:#f0d0a2;text-align:left;background:linear-gradient(135deg,#231a12eb,#080908eb);grid-template-columns:22px minmax(0,1fr) 12px;align-items:center;min-height:70px;padding:0 6px;display:grid}.mtg-home-quick-actions>button span{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.mtg-home-quick-actions>button svg:first-child{width:22px;height:22px}.mtg-home-featured{display:none}.mtg-home-section{background:linear-gradient(#0f0f0dd1,#060808eb);gap:12px;display:grid}.mtg-home-section-title{justify-content:space-between;gap:12px}.mtg-home-section-title h2{color:#edc48d;margin:0;font-size:20px;font-weight:600;line-height:1.2}.mtg-home-section-title button{color:#d8ac78;background:0 0;border:0;align-items:center;gap:4px;font-size:14px;display:inline-flex}.mtg-home-room-list{gap:10px;width:100%;min-width:0;max-width:100%;display:grid}.mtg-home-room{width:100%;min-width:0;max-width:100%;min-height:80px;color:inherit;text-align:left;background:linear-gradient(90deg,#141310e6,#080b0aeb);grid-template-columns:74px minmax(0,1fr) 52px 56px;align-items:center;gap:8px;padding:8px;display:grid}.mtg-home-room img{object-fit:cover;width:74px;height:58px}.mtg-home-room-copy{gap:4px;min-width:0;display:grid}.mtg-home-room-copy strong,.mtg-home-game-copy strong,.mtg-home-lobby strong{color:#f5d7a5;text-overflow:ellipsis;white-space:nowrap;font-size:18px;font-weight:600;line-height:1.25;overflow:hidden}.mtg-home-room-copy small,.mtg-home-game-copy em,.mtg-home-lobby em,.mtg-home-create p{color:#c5a77c;font-size:13px;font-style:normal}.mtg-home-room .mtg-home-status{font-size:12px}.mtg-home-status{color:#69d17a;width:fit-content;font-size:14px;font-style:normal}.mtg-home-status[data-tone=waiting]{color:#6db6ee}.mtg-home-room-cta{color:#f5d4a1;border:1px solid #e1ab5e8f;justify-content:center;min-width:52px;padding:7px 8px;font-size:15px;display:inline-flex}.mtg-home-tags,.mtg-home-notice,.mtg-home-right-rail,.mtg-home-sidebar{display:none}.mtg-home-empty{background:#0a0b0ac2;align-items:center;min-height:98px;display:grid}.mtg-home-empty p{color:#c9ad83;margin:0}
.mtg-home-continue-label,.mtg-home-continue-image,.mtg-home-last-role,.mtg-home-hero-state,.mtg-home-avatar-stack,.mtg-home-play-mobile{display:none}@media (max-width:1099px){.mtg-home-shell{background:linear-gradient(180deg, #0000001f, #020606db 205px), var(--mtg-home-mobile-header) center top / auto 210px no-repeat, var(--mtg-home-page-bg) center top / cover fixed, #020606}.mtg-home-page{width:100%;padding-inline:12px}.mtg-home-hero{background:linear-gradient(90deg,#0405053d,#000000e0 58%),#080908e6;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);grid-template-areas:"label label""scene copy""scene actions";gap:12px 14px;min-height:292px;padding:24px 14px 16px}.mtg-home-continue-label{color:#f1cd98;grid-area:label;align-items:center;gap:10px;font-size:22px;font-weight:700;display:flex}.mtg-home-continue-label svg{color:#a98d6e;width:28px;height:28px}.mtg-home-continue-image{background:linear-gradient(180deg, transparent 62%, #00000057), var(--mtg-home-hero-scene) center / cover;grid-area:scene;align-self:stretch;min-height:186px;display:block}.mtg-home-hero-copy{grid-area:copy;align-self:end}.mtg-home-hero-copy h1{font-size:24px}.mtg-home-hero-copy>p:not(.mtg-home-last-role){display:none}.mtg-home-last-role{color:#9f8b75;margin:8px 0 0;font-size:15px;display:block}.mtg-home-last-role b{color:#e3a449;font-weight:600}.mtg-home-hero-state{color:#62c76f;background:0 0;align-items:center;gap:8px;margin-top:12px;padding:0;font-size:16px;display:flex;border:0!important}.mtg-home-hero-state:before{content:"";background:currentColor;border-radius:999px;width:9px;height:9px}.mtg-home-hero-state[data-tone=waiting]{color:#6db6ee}.mtg-home-avatar-stack{align-items:center;margin-top:12px;display:flex}.mtg-home-avatar-stack img,.mtg-home-avatar-stack em{background:#0b0a09eb;border:1px solid #daa05c7a;border-radius:999px;width:32px;height:32px;margin-left:-5px}.mtg-home-avatar-stack img:first-child{margin-left:0}.mtg-home-avatar-stack em{color:#d8b486;place-items:center;font-style:normal;display:grid}.mtg-home-hero-actions{grid-area:actions;align-self:end;margin-top:0}.mtg-home-hero-actions .mtg-home-metric{display:none}.mtg-home-play{width:100%;min-width:0;min-height:46px;margin-left:0;font-size:20px}.mtg-home-play-desktop{display:none}.mtg-home-play-mobile{display:inline}.mtg-home-mobile-invite-form{background:linear-gradient(135deg,#231a12eb,#080908eb);grid-template-columns:22px minmax(0,1fr) 40px;align-items:center;gap:8px;min-height:70px;padding:0 8px;display:grid}.mtg-home-mobile-invite-form>svg{color:#f0d0a2;width:22px;height:22px}.mtg-home-mobile-invite-input{min-width:0;height:42px;color:#f1d4a6!important;background:#060707cc!important;border-color:#dba65d5c!important;font-size:16px!important}.mtg-home-mobile-invite-submit{color:#ffe1ae!important;background:#4a2d17d1!important;border:1px solid #e2ae6b7a!important;width:40px!important;height:40px!important}.mtg-home-mobile-invite-submit svg{width:20px;height:20px}.mtg-home-room{grid-template-columns:96px minmax(0,1fr) 58px;grid-template-areas:"cover copy cta""cover status cta";gap:6px 10px;min-height:90px}.mtg-home-room img{grid-area:cover;width:96px;height:64px}.mtg-home-room-copy{grid-area:copy}.mtg-home-room-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mtg-home-room .mtg-home-status{grid-area:status}.mtg-home-room-cta{grid-area:cta;align-self:center}.mtg-home-dots,.mtg-home-hero-tag{display:none}}
.mtg-home-bottom-nav{right:16px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:4;background:linear-gradient(#181612f2,#090b0af5);border:1px solid #d3964e6b;grid-template-columns:repeat(4,minmax(0,1fr));max-width:448px;min-height:74px;margin:0 auto;display:grid;position:fixed;left:16px;box-shadow:0 -12px 28px #00000073}.mtg-home-bottom-nav button{color:#9f8564;background:0 0;border:0;border-left:1px solid #e5b16921;place-items:center;gap:4px;font-size:14px;display:grid}.mtg-home-bottom-nav button:first-child{border-left:0}.mtg-home-bottom-nav button[data-active=true]{color:#ffe5b8;background:radial-gradient(circle at 50% 8%,#e6ae5b3d,#0000 58%)}.mtg-home-bottom-nav svg{width:24px;height:24px}.mtg-home-bottom-nav span{white-space:nowrap}
@media (min-width:1100px){.mtg-home-shell{grid-template-columns:194px minmax(0,1fr) 378px;min-height:100vh;display:grid}.mtg-home-page{gap:24px;width:100%;max-width:none;padding:38px 38px 16px}.mtg-home-sidebar,.mtg-home-right-rail,.mtg-home-featured,.mtg-home-tags,.mtg-home-notice{z-index:1;display:grid;position:relative}.mtg-home-sidebar{background:linear-gradient(180deg, #14120fe0, #070808f0), var(--mtg-history-image) center / cover;border-right:1px solid #daa55e38;grid-template-rows:158px 1fr 100px}.mtg-home-sidebar-brand{color:#e6bd84;align-content:center;place-items:center;gap:6px;font-size:24px;display:grid}.mtg-home-sidebar-brand svg{opacity:.75;width:82px;height:82px}.mtg-home-sidebar nav{align-content:start;gap:9px;padding:18px 10px;display:grid}.mtg-home-sidebar nav button{color:#bda07a;text-align:left;background:0 0;border:1px solid #0000;align-items:center;gap:18px;min-height:54px;padding:0 22px;font-size:17px;display:flex}.mtg-home-sidebar nav button[data-active=true]{color:#ffdfad;background:linear-gradient(90deg,#8048236b,#0000);border-color:#e3a45b70;box-shadow:inset 4px 0 #ecaa69}.mtg-home-user{color:#d7b98f;align-items:center;gap:12px;padding:0 18px;display:flex}.mtg-home-user svg{border:1px solid #e0aa6261;border-radius:50%;width:42px;height:42px;padding:8px}.mtg-home-user span{display:grid}.mtg-home-user em{color:#e4b77b;font-style:normal}.mtg-home-topbar{min-height:86px}.mtg-home-title svg{display:none}.mtg-home-title strong{font-size:58px}.mtg-home-title em,.mtg-home-top-actions button:not(:first-child){display:inline-flex}.mtg-home-hero{min-height:304px;padding:102px 34px 28px}.mtg-home-ribbon{writing-mode:vertical-rl;background:linear-gradient(#743323,#3e1c16);padding:10px 6px;font-size:17px;display:block;top:24px;left:26px}.mtg-home-hero-copy h1{font-size:48px}.mtg-home-play{min-width:206px;min-height:50px;font-size:20px}.mtg-home-dots{margin-bottom:-54px}.mtg-home-quick-actions,.mtg-home-bottom-nav{display:none}.mtg-home-featured{gap:12px}.mtg-home-game-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.mtg-home-game{background:linear-gradient(180deg, #0000001f, #000000c7), var(--mtg-card-image) center / cover;min-height:228px;color:inherit;text-align:left;align-content:end;padding:78px 16px 14px;display:grid;position:relative;overflow:hidden}.mtg-home-heat{color:#edc18b;align-items:center;gap:4px;font-size:13px;display:inline-flex;position:absolute;top:15px;right:14px}.mtg-home-game-copy{gap:7px;display:grid}.mtg-home-game-copy em{background:#0000005c;border:1px solid #dba65d3d;width:fit-content;padding:3px 8px}.mtg-home-game-foot{justify-content:space-between;margin-top:14px}.mtg-home-game-foot span{color:#d9bb8c;align-items:center;gap:5px;font-size:13px;display:inline-flex}.mtg-home-section{display:none}.mtg-home-tags{gap:12px}.mtg-home-tags>div{grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;display:grid}.mtg-home-tags button{color:#d2ad7f;background:#1b1611d6;border:1px solid #dba65d47;justify-content:center;align-items:center;gap:8px;min-height:40px;display:inline-flex}.mtg-home-notice{color:#b99b72;border-top:1px solid #daa55e2e;grid-template-columns:1fr auto;justify-content:space-between;min-height:52px;font-size:13px}.mtg-home-right-rail{align-content:start;gap:16px;padding:108px 16px 0 0}.mtg-home-lobby,.mtg-home-join,.mtg-home-create{background:linear-gradient(#12110fdb,#070808eb);gap:12px;display:grid}.mtg-home-lobby-list{gap:8px;display:grid}.mtg-home-lobby-list button{min-height:62px;color:inherit;text-align:left;background:#161614c7;border:1px solid #dba65d38;grid-template-columns:42px minmax(0,1fr) 44px 58px;align-items:center;gap:10px;display:grid}.mtg-home-lobby-list button>svg{color:#b99362;width:34px;height:34px;margin-left:6px}.mtg-home-lobby-list span{gap:2px;display:grid}.mtg-home-lobby-list b{color:#e8c391;text-align:center;white-space:nowrap;border:1px solid #dba65d61;justify-self:end;min-width:46px;margin-right:8px;padding:6px 10px;font-weight:400}.mtg-home-join h2,.mtg-home-create h2{color:#eec890;margin:0;font-size:21px}.mtg-home-invite-input{height:44px;color:#f1d4a6!important;background:#060707c7!important;border-color:#dba65d52!important;font-size:15px!important}.mtg-home-create{background:linear-gradient(90deg, #110e0bf0, #120d08c2), var(--mtg-lobby-image) center / cover}}@media (min-width:1100px) and (max-width:1399px){.mtg-home-shell{display:block}.mtg-home-page{gap:18px;width:100%;max-width:1280px;margin:0 auto;padding:24px 14px 28px}.mtg-home-sidebar,.mtg-home-right-rail{display:none}.mtg-home-section{display:grid}}
.mtg-home-view{gap:16px;min-width:0;display:grid}.mtg-home-menu-panel{background:linear-gradient(#11100edb,#050808eb);gap:14px;display:grid}.mtg-home-panel-intro{grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.mtg-home-panel-intro>svg{color:#e8bc83;background:#0c0a0885;border:1px solid #e2ae6b52;border-radius:50%;width:38px;height:38px;padding:8px}.mtg-home-panel-intro span{gap:4px;min-width:0;display:grid}.mtg-home-panel-intro strong{color:#f2ce98;font-size:24px;line-height:1.2}.mtg-home-panel-intro em{color:#bea27a;font-size:14px;font-style:normal;line-height:1.5}.mtg-home-panel-intro button{color:#f0c995;background:#221911b8;border:1px solid #e2ae6b5c;min-height:36px;padding:0 14px}.mtg-home-panel-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.mtg-home-menu-room-list,.mtg-home-menu-game-grid,.mtg-home-setting-list{gap:10px;display:grid}.mtg-home-menu-room-list button,.mtg-home-menu-game-grid button{color:inherit;text-align:left;background:#0e0e0cbd;border:1px solid #dba65d3d}.mtg-home-menu-room-list button{grid-template-columns:112px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:82px;padding:8px;display:grid}.mtg-home-menu-room-list img{object-fit:cover;width:112px;height:66px}.mtg-home-menu-room-list span,.mtg-home-menu-game-grid span{gap:5px;min-width:0;display:grid}.mtg-home-menu-room-list strong,.mtg-home-menu-game-grid strong{color:#f3d39f;text-overflow:ellipsis;white-space:nowrap;font-size:19px;font-weight:600;overflow:hidden}.mtg-home-menu-room-list small,.mtg-home-menu-game-grid small{color:#c5a77c;font-size:13px}.mtg-home-menu-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mtg-home-menu-game-grid button{background:linear-gradient(180deg, #00000014, #000000c7), var(--mtg-card-image) center / cover;align-content:end;min-height:178px;padding:58px 14px 14px;display:grid;position:relative;overflow:hidden}.mtg-home-menu-game-grid .mtg-home-status{margin-top:12px}.mtg-home-setting-list{grid-template-columns:repeat(3,minmax(0,1fr))}.mtg-home-setting-list span{color:#d6b184;background:#0a0a097a;border:1px solid #dba65d38;justify-content:center;align-items:center;min-height:42px;display:inline-flex}@media (max-width:680px){.mtg-home-panel-intro{grid-template-columns:34px minmax(0,1fr)}.mtg-home-panel-intro button{grid-column:1/-1;justify-self:start}.mtg-home-menu-room-list button,.mtg-home-menu-game-grid,.mtg-home-setting-list{grid-template-columns:1fr}.mtg-home-menu-room-list button{grid-template-columns:92px minmax(0,1fr)}.mtg-home-menu-room-list img{width:92px;height:58px}}
.mtg-home-shell{--mtg-home-page-bg:var(--mtg-home-page-bg-pc);--mtg-home-mobile-header:var(--mtg-home-mobile-header-pc);--mtg-home-hero-scene:var(--mtg-home-hero-scene-pc)}.mtg-home-game,.mtg-home-menu-game-grid button{--mtg-card-image:var(--mtg-card-image-pc)}@media (max-width:1099px){.mtg-home-shell{--mtg-home-page-bg:var(--mtg-home-page-bg-mobile);--mtg-home-mobile-header:var(--mtg-home-mobile-header-mobile);--mtg-home-hero-scene:var(--mtg-home-hero-scene-mobile)}.mtg-home-game,.mtg-home-menu-game-grid button{--mtg-card-image:var(--mtg-card-image-mobile)}}.mtg-home-hero{--mtg-surface-ornament:var(--mtg-home-panel-image)}.mtg-home-hero-slide{z-index:1;will-change:opacity, transform;animation:.46s cubic-bezier(.22,1,.36,1) mtg-home-hero-slide-in;position:relative}@keyframes mtg-home-hero-slide-in{0%{opacity:0;transform:translate(22px)}to{opacity:1;transform:translate(0)}}.mtg-home-dots button{cursor:pointer;background:#b2aea147;border:0;border-radius:999px;width:10px;height:10px;padding:0}.mtg-home-dots button[data-active=true]{background:#f0c08d;box-shadow:0 0 16px #efae608c}.mtg-home-metric,.mtg-home-play,.mtg-home-join .mtg-theme-button,.mtg-home-create .mtg-theme-button{--mtg-surface-ornament:var(--mtg-home-button-image)}.mtg-home-quick-actions>button,.mtg-home-mobile-invite-form,.mtg-home-game{--mtg-surface-ornament:var(--mtg-home-card-image)}.mtg-home-room{--mtg-surface-ornament:var(--mtg-home-room-row-image)}.mtg-home-bottom-nav{--mtg-surface-ornament:var(--mtg-home-bottom-nav-image);border:1px solid #d8a45b75;border-radius:8px;box-shadow:inset 0 1px #ffefc01a,0 16px 34px #00000047}.mtg-home-lobby,.mtg-home-join,.mtg-home-create,.mtg-home-section{--mtg-surface-ornament:var(--mtg-home-panel-image)}@media (prefers-reduced-motion:reduce){.mtg-home-hero-slide{will-change:auto;animation:none}}
