#selection{
 --card-width:min(325px,calc((100vw - 54px)/2),max(142px,calc((100dvh - 180px)*.74)));
 box-sizing:border-box;overflow:auto;padding:16px;
}
#selection,#loading{
 isolation:isolate;
 background:radial-gradient(ellipse at 50% 25%,#2b3224bd,#10150ff8),url(assets/portal-banner.png) center/cover no-repeat;
}
/* Keep the gold frame painted into the 1672 x 941 portal art outside the viewport. */
#welcome,#selection,#loading{
 background-size:100% 100%,max(108%,calc(108vh * 1672 / 941)) auto;
 background-size:100% 100%,max(108%,calc(108dvh * 1672 / 941)) auto;
}
#selection::before,#loading::before{
 content:"";position:absolute;inset:0 auto 0 0;width:51%;z-index:-1;pointer-events:none;
 background:url(assets/selection-woodland.webp) 22% center/cover no-repeat;
 opacity:.19;
 -webkit-mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.88) 36%,transparent 100%);
 mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.88) 36%,transparent 100%)
}
#selection h2{font-size:clamp(27px,4.5vw,35px);line-height:1.24;margin:0 0 clamp(12px,3vh,32.5px);text-shadow:0 2px 8px #10160c}
#selection .character-choices{gap:clamp(12px,2vw,30px);flex:none}
#selection .character-choice{box-sizing:border-box;width:325px;max-width:44vw}
@supports(width:1dvh){#selection .character-choice{width:var(--card-width)}}
#selection .choice-art{height:auto;aspect-ratio:260 / 285}
#selection .choice-caption{padding:clamp(9px,2vh,18.75px) 12px}
#selection .choice-caption h3{font-size:clamp(19px,3.2vw,25px);line-height:1.6}
#selection .selection-note{margin:clamp(10px,2vh,25px) 0 0;font-size:clamp(13px,2.2vw,15px);color:#e2e5d7;text-shadow:0 1px 4px #11190e}
#selection .text-button{font-size:clamp(12px,2vw,14px);padding:10px;color:#d3d5c7}
@media(max-height:480px){#selection{padding:8px;justify-content:flex-start}#selection h2{font-size:24px;margin:0 0 8px}#selection .choice-caption{padding:5px}#selection .choice-caption h3{font-size:18px}#selection .selection-note{margin-top:6px}#selection .text-button{padding:4px 12px}}
/* The artwork has its own alpha so the type stays sharp against the field. */
#entry-notice,#toast{
 box-sizing:border-box;position:absolute;left:50%;width:clamp(230px,65.8vw,339px);max-width:94vw;
 min-height:48px;padding:5px 22px;display:grid;place-items:center;text-align:center;
 isolation:isolate;pointer-events:none;border:0;border-radius:4px;
 background:rgba(19,24,20,.48);box-shadow:0 2px 6px rgba(8,12,9,.17);
 color:#eee9d9;text-shadow:0 1px 3px #141810;
 font:600 clamp(12px,1vw,13px)/1.45 "Malgun Gothic",sans-serif;
 word-break:keep-all;overflow-wrap:anywhere;text-wrap:balance
}
#entry-notice::before,#toast::before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;
 background:url(assets/forest-notice.webp) center/107% 126% no-repeat;
 opacity:.19;filter:saturate(.4)
}
#entry-notice{top:max(99px,env(safe-area-inset-top));transform:translateX(-50%);z-index:12;animation:forest-notice-in .24s ease-out}
#entry-notice[hidden]{display:none}
#toast{top:max(30%,176px)}
#toast.field-message{
 background:transparent;border:0;box-shadow:none;
 text-shadow:0 1px 2px #0e170e,0 0 4px #111a12
}
#toast.field-message::before{content:none}
@keyframes forest-notice-in{from{opacity:0}to{opacity:1}}
@media(max-height:430px){#entry-notice{top:76px;min-height:34px;padding-block:4px}#toast{top:145px;min-height:34px;padding-block:4px}}
@media(prefers-reduced-motion:reduce){#entry-notice{animation:none}#toast{transition:none}}

.transfer-balances{grid-template-columns:repeat(2,minmax(0,1fr))}
.transfer-balances>div{
 position:relative;isolation:isolate;overflow:hidden;min-width:0;
 display:flex;flex-direction:column;justify-content:center;min-height:82px;
 padding:13px clamp(12px,2vw,18px);border:1px solid rgba(194,202,183,.19);border-radius:4px;
 background:linear-gradient(110deg,rgba(39,43,38,.63),rgba(22,27,23,.46));
}
.transfer-balances>div::before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:url(assets/forest-vault.webp) center/108% 122% no-repeat;
 filter:grayscale(.85);opacity:.12
}
.transfer-balances small{color:#c2ccb7;font-size:11px;font-weight:500}
.transfer-balances b{
 display:flex;align-items:center;gap:7px;margin-top:6px;
 font:normal clamp(19px,2.3vw,25px)/1.2 Georgia,"Malgun Gothic",serif;
 font-variant-numeric:lining-nums tabular-nums;color:#e3ce98;overflow-wrap:anywhere
}
.transfer-balances b::before{
 content:"";flex:0 0 19px;height:19px;background:url(assets/goblin-coin-small.webp) center/contain no-repeat;
 filter:saturate(.72);opacity:.88
}
@media(max-width:620px){
 .transfer-balances{grid-template-columns:minmax(0,1fr);gap:6px}
 .transfer-balances>div{min-height:61px;padding:9px 15px}
}

#loading{
 background-color:#151b14;
 padding:16px;text-align:center;
}
.mist-loading-seal{
 width:clamp(58px,9vmin,76px);height:auto;display:block;
 animation:mist-seal-turn 4s linear infinite;
}
#loading p{
 margin:16px 0 0;color:#e8e4d8;font:500 clamp(15px,2.5vw,19px)/1.55 "Malgun Gothic",sans-serif;
 text-shadow:0 1px 4px #10170f;word-break:keep-all
}
#loading p span{display:block}
#loading p span+span{margin-top:3px;font-size:.85em;color:#c5cabe}
@keyframes mist-seal-turn{to{transform:rotate(1turn)}}
@media(prefers-reduced-motion:reduce){.mist-loading-seal{animation:none}}
#loading:not(:has(p span)) .mist-loading-seal{animation:none}

#home-login{
 width:min(376px,calc(100vw - 28px));max-height:calc(100dvh - 24px);
 overflow:auto;margin:auto;padding:0;box-sizing:border-box;border-radius:6px;
 background:#191e19;color:#eae8db;border:1px solid #b7a17852;box-shadow:0 12px 44px #070a07a6
}
#home-login::backdrop{background:rgba(12,16,13,.69)}
#home-login header{
 position:relative;display:flex;align-items:flex-end;min-height:108px;padding:16px 22px;
 background:linear-gradient(0deg,#191e19 0%,#151a1544 58%,transparent),url(assets/home-login-forest.webp) center/cover
}
#home-login h2{margin:0;color:#f1e6ca;text-shadow:0 2px 5px #0d100c;font:600 24px/1.4 Batang,serif}
#home-login-close{position:absolute;right:4px;top:4px;width:44px;height:44px;background:transparent;color:#faf2df;font:24px/1 sans-serif;text-shadow:0 1px 4px #060806}
.home-login-fields{display:grid;padding:6px 22px 22px}
.home-login-fields label{margin:8px 0 5px;color:#d4d8c8;font-size:13px}
.home-login-fields input{box-sizing:border-box;width:100%;min-height:44px;padding:9px 12px;border:1px solid #9aab993b;border-radius:3px;background:#121712;color:#f0efe4;font:16px/1.4 "Malgun Gothic",sans-serif}
.home-login-fields input:focus{outline:1px solid #c2b48a;outline-offset:1px}
#home-login-feedback{margin:9px 0 0;color:#e5c9ac;font:13px/1.45 "Malgun Gothic",sans-serif}
#home-login-feedback:empty{margin:0}
#home-login-submit{
 min-height:46px;margin-top:18px;border-radius:3px;border:1px solid #a18e6059;
 background:#524832 linear-gradient(0deg,#13170f55,#171b1250);
 background-image:linear-gradient(#1d221644,#141a104f),url(assets/home-login-button.webp);
 background-position:center;background-size:100% 100%;color:#fff2d4;
 font:600 16px/1.4 "Malgun Gothic",sans-serif;text-shadow:0 1px 4px #211d14
}
#home-login-submit:hover,#home-login-submit:focus-visible{filter:brightness(1.12)}
#home-login-submit:disabled{opacity:.65}
@media(max-height:480px){#home-login header{min-height:58px;padding-block:8px}.home-login-fields{padding-bottom:12px}#home-login-submit{margin-top:10px}}

#account-link-description{font-size:13px;line-height:1.6;word-break:keep-all}
#account-link-description strong{display:block;color:#e7c99e;font-weight:600}
#account-link-description p{margin:6px 0;color:#d9dfd1}
#account-link-description small{display:block;font-size:11px}

/* Profile and menus use separate grid cells, including on narrow phones. */
.top-hud{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:start}
.top-hud .quick-menu{position:static;grid-column:3;justify-self:end;width:auto}
.profile-link{
 align-self:start;justify-self:start;min-height:40px;margin:3px 0 0;padding:6px 10px 6px 40px;
 background-color:#202821;background-image:url(assets/return-to-home.webp),url(assets/guide/home-banner.webp);
 background-position:left center;background-size:100% 100%;background-repeat:no-repeat;
 color:#f4e8ca;border:1px solid rgba(198,181,139,.37);border-radius:4px;
 font:600 12px/1.35 "Malgun Gothic",sans-serif;text-shadow:0 1px 3px #11190f;
 transition:filter .16s ease,border-color .16s ease
}
.profile-link:hover,.profile-link:focus-visible{filter:brightness(1.14);border-color:#b9aa80}
.profile-link:active:not(:disabled){transform:none}
.panel-body button.wallet-logout{margin:14px 0 0;text-decoration:none}
#context-hint{
 width:auto;max-width:100%;padding:2px 10px;gap:5px;min-height:0;
 background:transparent;border:0;box-shadow:none;text-shadow:0 1px 3px #000
}
#context-hint,.chat-toggle{font:400 9px/1.45 "Noto Sans KR","Malgun Gothic",sans-serif;color:#c1c9b7}
#context-hint kbd,.chat-toggle kbd{
 background:transparent;border:0;box-shadow:none;padding:0;
 font:600 8px/1.45 "Noto Sans KR","Malgun Gothic",sans-serif;letter-spacing:.5px;color:#dedfc9
}
#context-hint kbd:not(:first-child){margin-left:5px}
#action-button{
 width:clamp(72px,10vmin,90px);height:clamp(72px,10vmin,90px);
 background:radial-gradient(ellipse at 36% 27%,#566052cc,#27362ee8 58%,#17241feb);
 color:#e2dfc9;border:1px solid #beb39279;outline:1px solid #9ea78d32;outline-offset:3px;
 box-shadow:inset 0 1px 2px #d5d3b22e,0 3px 12px #0a100d57;
}
#action-button svg{width:21px;height:21px;color:#d8d6b4}
#action-button strong{font-size:13px;font-weight:600}
#action-button small{font-size:8px;letter-spacing:.6px;color:#c1c7b5}
#action-button.bite-ready{border-color:#d1bd83;background:radial-gradient(ellipse at 36% 27%,#737450ec,#344133ed 62%,#1f2b22)}
#joystick{display:none}
@media(pointer:coarse){
 #joystick{display:block;width:92px;height:92px;background:radial-gradient(#24382d33,#16241c65);border:1px solid #c0b99a57;box-shadow:inset 0 0 16px #0e191550}
 #joystick .joy-ring{inset:11px;border-color:#b3b69d36}
 #joy-knob{width:36px;height:36px;left:calc(50% - 18px);top:calc(50% - 18px);background:radial-gradient(circle at 35% 25%,#737e68c7,#3b5043ba);border-color:#d0c6a273}
 #joystick b{top:calc(100% + 2px);color:#d0d5bc;text-shadow:0 1px 3px #0c160f}
}
@media(max-width:650px){
 .top-hud{grid-template-columns:minmax(0,auto) minmax(0,1fr);gap:4px 8px}
 .profile-link{margin:0;min-height:42px;padding-left:31px;font-size:11px}
 .top-hud .quick-menu{grid-column:1 / -1;grid-row:2;justify-self:end}
 #entry-notice{top:166px}#toast{top:max(30%,224px)}
}
@media(min-width:651px) and (max-width:800px){
 .top-hud{gap:5px}.top-hud .quick-menu{gap:0;--menu-width:53px;--menu-min-width:50px}
}
@media(prefers-reduced-motion:reduce){.profile-link{transition:none}}

.control-hints,.key-pair{display:contents}
#forest-admin{
 align-self:flex-start;min-height:34px;margin:5px 0 0;padding:4px 16px;
 color:#f0dfbc;background:linear-gradient(145deg,#32392cd9,#1b231bd9);
 border:1px solid #bbac805b;border-radius:4px;font:600 12px/1.4 "Malgun Gothic",sans-serif;
}
#forest-admin:hover,#forest-admin:focus-visible{border-color:#d0b885}
.roster-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;margin-bottom:12px}
.roster-summary strong{color:#e9d5a9}
.roster-scroll{max-width:100%;overflow-x:auto}
.roster-table{width:100%;border-collapse:collapse;color:#e1e4d7;font-variant-numeric:tabular-nums}
.roster-table th,.roster-table td{padding:8px 6px;border-bottom:1px solid #a99d7938;text-align:right;white-space:nowrap}
.roster-table thead th,.roster-table td small{color:#b9c3af;font-size:11px}
.roster-table td small{display:block}
.roster-table th:first-child,.roster-table td:nth-child(2){text-align:left}

@media(max-width:650px){
 .top-hud{
  top:max(6px,env(safe-area-inset-top));left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));
  grid-template-columns:minmax(0,42fr) minmax(0,58fr);grid-template-rows:auto auto;
  align-content:start;align-items:start;gap:5px 6px
 }
 .top-hud .profile-stack{grid-column:1;grid-row:1/span 2;width:100%;max-width:184px}
 .profile-stack .profile-panel{max-width:100%}
 .profile-link{min-height:40px}
 .top-hud .quick-menu{
  grid-column:2;grid-row:2;width:100%;max-width:196px;display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));gap:0;--menu-width:100%;--menu-height:55px
 }
 .quick-menu button .menu-mark{max-width:100%;height:37px}
 .quick-menu button>span:last-of-type{white-space:nowrap}
 #forest-admin{margin-top:3px;min-height:32px}
 #entry-notice{top:calc(max(6px,env(safe-area-inset-top)) + 137px)}
}
@media(max-width:650px),(pointer:coarse) and (max-height:600px){
 #hud{--control-edge:12px;--stick:clamp(76px,22vw,92px);--bottom-safe:env(safe-area-inset-bottom,0px)}
 .bottom-left{left:calc(var(--control-edge) + env(safe-area-inset-left,0px));bottom:calc(var(--bottom-safe) + 18px)}
 #joystick{width:var(--stick);height:var(--stick)}
 .action-area{right:calc(var(--control-edge) + env(safe-area-inset-right,0px));bottom:calc(var(--bottom-safe) + 16px)}
 .bottom-center{
  left:env(safe-area-inset-left,0px);right:env(safe-area-inset-right,0px);bottom:calc(var(--bottom-safe) + 3px);
  transform:none;max-width:none;width:auto;display:flex;align-items:center;flex-direction:column
 }
 .bottom-center .activity-ledger{max-width:96%;margin:0 auto 3px}
 .bottom-center .control-hints{
  box-sizing:border-box;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;
  width:calc(100% - 2 * (var(--stick) + var(--control-edge) + 7px));min-height:calc(var(--stick) + 17px);
  gap:0
 }
 #context-hint{width:100%;max-width:100%;margin:0;display:flex;justify-content:center;flex-wrap:wrap;gap:2px 7px;padding:0}
 #context-hint .key-pair{display:inline-flex;align-items:baseline;white-space:nowrap;gap:3px}
 #context-hint .key-pair kbd{margin:0}
 .control-hints .chat-toggle{margin:0;min-height:36px;padding:0 4px}
 .bottom-center .chat-compose{width:min(420px,94%);margin:0 auto 8px}
 .bottom-center .chat-compose input{font-size:16px}
 .bottom-left .loot-log{bottom:calc(var(--stick) + 92px)}
 .activity{bottom:calc(var(--bottom-safe) + var(--stick) + 108px)}
}
@media(pointer:coarse) and (max-height:600px) and (min-width:651px){
 .bottom-center .control-hints{min-height:0}
 .control-hints .chat-toggle{min-height:30px}
 .bottom-center .activity-ledger,.bottom-center .chat-compose{max-width:calc(100% - 2 * (var(--stick) + var(--control-edge) + 7px))}
 .activity{bottom:calc(var(--bottom-safe) + 118px)}
}

/* Keep the bag's single-line balance in the wallet's coin and panel style. */
.transfer-balances.bag-balance{grid-template-columns:minmax(0,1fr);margin-bottom:20px}
.bag-balance>div{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:12px 18px}
.bag-balance small{font-size:12px;white-space:nowrap}
.bag-balance b{min-width:0;margin:0;font-size:20px;text-align:right}
.profile-link:not([hidden]){display:inline-flex;align-items:center;text-decoration:none}

#modal.roster-open{padding:clamp(8px,2vw,24px)}
.roster-open .game-panel{width:min(1280px,100%);height:100%;max-height:100%;min-height:0;overflow:hidden}
.roster-open .game-panel>header{flex:none}
.roster-open .panel-body{display:flex;flex-direction:column;flex:1;min-height:0;gap:10px;overflow:auto}
.roster-open .roster-summary,.roster-open .panel-note{flex:none;margin:0}
.roster-open .roster-scroll{flex:1;min-height:3rem;overflow:auto;overscroll-behavior:contain}
.roster-table thead th{position:sticky;top:0;background:#252b22;z-index:1}
.roster-table td:first-child,.roster-table thead th:first-child{text-align:right}
.roster-table th:nth-child(2),.roster-table td:nth-child(3),.roster-table th:nth-child(3){text-align:left}
.roster-table th[aria-sort]{color:#e8d7a9}
.roster-open .roster-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.roster-open .wallet-refresh{margin:0}
.roster-pages{display:flex;align-items:center;gap:10px;margin-right:auto;font-variant-numeric:tabular-nums}
.roster-pages button{min-height:32px}
.roster-pages button:disabled{opacity:.45}
@media(max-width:620px){
 .transfer-balances.bag-balance{margin-bottom:14px}
 .bag-balance>div{gap:8px;min-height:46px;padding:10px 12px}
 .bag-balance small{font-size:11px}
 .bag-balance b{font-size:clamp(16px,4.8vw,20px)}
 .roster-open .panel-body{padding:10px;gap:8px}
 .roster-open .roster-table th,.roster-open .roster-table td{padding:6px 7px}
}

/* Share the home banner's artwork, typography and hit area. */
#profile-links{
 grid-column:2;grid-row:1;align-self:start;justify-self:start;margin-top:3px;
 display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:5px;max-width:100%
}
#profile-links .profile-link{margin:0;justify-self:stretch;align-self:stretch;white-space:nowrap;justify-content:center}
#modal.guide-open{padding:clamp(4px,1.2vmin,12px) clamp(6px,2.6vmin,22px)}
#modal.guide-open .game-panel{
 width:min(540px,100%);height:min(672px,100%);min-height:0;max-height:100%;overflow:hidden
}
#modal.guide-open .game-panel>header{flex:none;padding:12px 18px}
#modal.guide-open .panel-body{
 flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);
 grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;padding:0 16px 12px
}
.guide-tabs{grid-row:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px 0}
.guide-tabs [data-guide-tab]{
 position:relative;isolation:isolate;overflow:hidden;display:grid;align-items:center;justify-items:center;
 height:clamp(54px,9vh,76px);padding:0 3px 0 48%;margin:0;min-width:0;border:1px solid #626452;
 border-radius:3px;background:#202822;color:#d7d8c9;font:400 18px/1.3 "Chamisul Forest Lettering","Noto Serif KR",Batang,serif;
 white-space:nowrap;text-shadow:0 1px 3px #10150f
}
.guide-tabs [data-guide-tab="life"]{--guide-art:url(assets/guide/life-banner-v23.webp)}
.guide-tabs [data-guide-tab="combat"]{--guide-art:url(assets/guide/combat-banner-v23.webp)}
.guide-tabs [data-guide-tab]::before{
 content:"";position:absolute;z-index:-1;inset:0;background:
 linear-gradient(90deg,transparent 30%,#121a1520 54%,#11181183),var(--guide-art) center/cover no-repeat;
 opacity:.79
}
.guide-tabs [data-guide-tab]:hover::before,.guide-tabs [aria-selected="true"]::before{opacity:1}
.guide-tabs [aria-selected="true"]{border-color:#b49c6a;color:#f7e6bd;box-shadow:inset 0 -2px #ac935e}
.guide-tabs [data-guide-tab]:focus-visible{outline:2px solid #dcc99c;outline-offset:2px}
.guide-page{
 grid-row:2;grid-column:1;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;
 scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#736e55 #20251d;padding:0 6px 2px 0
}
.guide-page:focus-visible{outline:1px dashed #b5a778;outline-offset:-2px}
.guide-page article{
 display:grid;grid-template-columns:104px minmax(0,1fr);gap:15px;align-items:center;padding:12px 0;
 border-bottom:1px solid #a397692e
}
.guide-page article:last-child{border-bottom:0}
.guide-page article>img{
 width:104px;height:78px;object-fit:cover;object-position:center;border:1px solid #8e835e70;
 border-radius:3px;background:#1c211c
}
.guide-page h3,.guide-wallet h3{margin:0 0 4px;color:#e9d6a6;font:600 15px/1.45 "Malgun Gothic",sans-serif}
.guide-page p,.guide-wallet p{margin:0;color:#d7dccf;font:400 13px/1.6 "Malgun Gothic",sans-serif;word-break:keep-all;overflow-wrap:break-word}
.guide-reward{margin:8px 0;padding:9px 12px;border:1px solid #766c464f;border-left:2px solid #958157;border-radius:2px;background:#b4a2770a}
.guide-wallet{
 grid-row:3;display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center;
 padding:11px 13px;margin-top:8px;border:1px solid #8a795151;border-top-color:#9684549c;
 border-radius:3px;background:linear-gradient(100deg,#2b3023,#22281e)
}
.guide-wallet>img{width:44px;height:44px;object-fit:contain}
.guide-wallet h3{color:#edd39a;font-size:14px}
.guide-wallet p{color:#c7ccbc;font-size:12px}
.ability-summary.level-bonuses{margin-top:14px;padding-top:12px;border-top:1px solid #aa946357}
.level-bonuses small{margin-left:8px;color:#bac5ae;font-size:11px;font-weight:400;white-space:nowrap}
@media(max-width:900px) and (min-width:651px){
 .top-hud{grid-template-columns:minmax(0,1fr) auto;gap:5px 8px}
 .top-hud .profile-stack{grid-column:1;grid-row:1}
 .top-hud .quick-menu{grid-column:2;grid-row:1}
 #profile-links{grid-column:1;grid-row:2;margin:0}
}
@media(max-width:650px){
 #profile-links{margin:0;width:100%;max-width:252px;justify-self:end;gap:3px}
 #profile-links .profile-link{min-height:40px;padding:4px 4px 4px 20px;font-size:11px}
}
@media(max-width:520px){
 .top-hud .profile-stack{grid-row:1}
 .top-hud .quick-menu{grid-row:1;align-self:start}
 #profile-links{grid-row:2;grid-column:1 / -1;justify-self:start;width:min(254px,100%)}
 #profile-links .profile-link{padding-left:30px}
 #modal.guide-open .game-panel>header{padding:8px 10px}
 #modal.guide-open .panel-body{padding:0 9px 8px}
 .guide-tabs{gap:6px;padding:7px 0}
 .guide-tabs [data-guide-tab]{height:clamp(48px,15vw,65px);font-size:16px}
 .guide-page{padding-right:3px}
 .guide-page article{grid-template-columns:78px minmax(0,1fr);gap:10px;padding:10px 0}
 .guide-page article>img{width:78px;height:65px}
 .guide-page h3{font-size:14px}.guide-page p{font-size:12px}
 .guide-wallet{grid-template-columns:31px minmax(0,1fr);gap:8px;padding:8px;margin-top:5px}
 .guide-wallet>img{width:31px;height:31px}
 .guide-wallet h3{font-size:13px}.guide-wallet p{font-size:11px}
}
@media(max-height:460px){
 #modal.guide-open{padding:3px}
 #modal.guide-open .game-panel>header{padding:4px 10px}
 #modal.guide-open .game-panel>header small{display:none}
 #modal.guide-open .game-panel h2{font-size:17px;margin:0}
 #modal.guide-open .panel-body{padding-bottom:4px}
 .guide-tabs{padding:4px 0}.guide-tabs [data-guide-tab]{height:40px;font-size:15px}
 .guide-wallet{margin-top:3px;padding:5px 9px;grid-template-columns:28px minmax(0,1fr);gap:8px}
 .guide-wallet>img{width:28px;height:28px}.guide-wallet h3{margin-bottom:1px;font-size:12px}
 .guide-wallet p{font-size:11px;line-height:1.4}
}
