/* Text must remain readable at narrow widths and with the Onest metrics. */
.switch-row{height:auto;min-height:54px;padding-block:12px;flex-wrap:wrap}
.switch-row>span{min-width:0;flex:1 1 150px;overflow-wrap:break-word}
.switch-row select{max-width:100%;width:auto;flex:0 1 auto;padding-right:24px;min-width:174px}
.menu-row{height:auto;min-height:60px;padding-block:12px}
.menu-row>span{min-width:0;overflow-wrap:break-word}
.menu-row .chev{flex:none}
.profile-identity{gap:16px;min-height:120px}
.profile-identity>div:first-child{min-width:0;overflow-wrap:anywhere}
.resource-row{gap:16px}.resource-row>span{min-width:0;overflow-wrap:break-word}.resource-row strong{flex:none}
dialog{box-sizing:border-box;max-width:min(540px,calc(100vw - 24px));margin:auto;padding:40px 20px 20px}
dialog .close{right:8px;top:4px;width:36px;height:36px;font-size:32px}
dialog h2,dialog h3,dialog p{overflow-wrap:break-word}
dialog .primary{margin:24px 0 0;width:100%;min-height:44px;height:auto;padding:10px 12px}
.gold-prize{width:140px;height:140px;max-width:100%;object-fit:contain}
#bottom button>span{white-space:normal;overflow:visible;text-overflow:clip;line-height:13px;font-size:11px;text-align:center}
#bottom button{justify-content:center;padding:4px 2px}
.tile{height:auto;min-height:120px}.tile>span{padding-bottom:12px}
@media(min-width:600px){.switch-row{min-height:68px}.menu-row{min-height:72px}.tile{min-height:154px}#bottom button>span{font-size:13px;line-height:16px}}
@media(min-width:1024px){.tile{min-height:164px}body[data-route=wheel] .content{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.wheel-tiers button{min-width:0}.wheel-tiers button b{font-size:clamp(12px,1.3vw,20px)}}
@media(max-width:380px){.switch-row{font-size:13px}.switch-row select{max-width:100%;font-size:13px}.survey-navigation{gap:12px}.prize-result h3{font-size:20px}.profile-tools{gap:8px}}
/* Rotating SVG bounds must never enlarge document scrollable overflow. */
html{scrollbar-gutter:stable}
.wheel-wrap{aspect-ratio:1;filter:drop-shadow(0 4px 3px #54236f33)}
.wheel-rotor-clip{width:100%;aspect-ratio:1;overflow:hidden;overflow:clip;border-radius:50%;contain:paint}
.wheel-rotor-clip .wheel-svg{filter:none;width:100%;height:100%}
.prize-card time{display:block}.prize-card [data-view-prize]{display:block;margin-top:8px;padding-left:0;text-align:left}
/* Daily gifts: persistent selection and an unambiguous earned amount. */
dialog.daily-dialog{padding:44px 16px 20px;max-width:620px;overflow-y:auto;max-height:calc(100dvh - 24px)}
dialog.daily-dialog .close{display:block}
.daily-instruction,.daily-next{text-align:center;color:var(--muted)}
.daily-gifts,.daily-gifts.is-revealed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch;margin:24px 0 0;min-height:0}
.daily-gift{display:flex;flex-direction:column;justify-content:flex-start;width:100%;height:auto;min-height:0;padding:10px 4px;border:2px solid transparent;border-radius:14px;gap:8px;color:var(--text);background:none}
.daily-gift:disabled{opacity:1}.daily-gift.is-selected{border-color:var(--pink);background:#a5218910;box-shadow:0 0 0 2px #a5218910}
.daily-gift-image{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;pointer-events:none}
.daily-gift .gift-value{position:static;white-space:normal;font:700 clamp(13px,2.5vw,20px)/1.3 YaDiler;color:var(--text)}
.daily-gift .gift-choice{font-size:clamp(10px,2vw,13px);line-height:1.4;color:var(--muted)}
.daily-gift.is-selected .gift-choice,.daily-gift.is-selected .gift-value{color:var(--pink);font-weight:750}
.daily-result{text-align:center;margin-top:20px}.daily-result strong{display:block;font-size:clamp(21px,4vw,28px);color:var(--ink)}.daily-result p{margin:8px 0 4px}.daily-result small{color:var(--muted)}
.daily-tile .club-action-box{position:relative;padding:4px}.daily-tile .daily-gift-image{width:100%;height:100%;max-height:160px;object-fit:contain}.daily-tile .daily-is-claimed{padding-bottom:30px}.daily-tile .daily-is-claimed b{position:absolute;bottom:0;left:0;right:0;font:700 13px/20px YaDiler;padding:4px 2px;background:var(--brand);color:white}.daily-tile:disabled .daily-gift-image{opacity:.6}
@media(max-width:359px){dialog.daily-dialog{padding-inline:10px}.daily-gifts{gap:4px}.daily-gift{padding-inline:2px}.daily-tile .daily-is-claimed b{font-size:11px}}
.altyn-unit{display:inline-flex;align-items:baseline;gap:.22em;white-space:nowrap;font:inherit;color:inherit}.altyn-unit>svg{width:.72em;height:.85em;align-self:center;flex:none;fill:currentColor;stroke:none}.task-reward{white-space:normal}.daily-tile .daily-is-claimed b{font-size:11px}.daily-gift .gift-value{font-size:clamp(11px,2.3vw,18px)}.progress>span{white-space:nowrap;min-width:max-content;padding-inline:6px}
.altyn-brand{gap:0;vertical-align:baseline}.altyn-brand>svg{width:.78em;height:1em}.altyn-amount>svg{width:.85em;height:1em}.quest-image{display:block;width:100%;height:100%;object-fit:contain;padding:6px 12px 28px}.club-action>strong:has(.altyn-brand){text-transform:none}.daily-gift .gift-value{white-space:nowrap}
body[data-route=tasks] .toolbar h1{text-transform:none}
.altyn-brand{gap:.22em}.altyn-brand-coin{display:inline-block;position:relative;width:1.25em;height:1.25em;align-self:center;flex:none}.altyn-brand-coin img{display:block;width:100%;height:100%;object-fit:contain}.altyn-brand-coin svg{position:absolute;width:55%;height:55%;left:22.5%;top:22.5%;color:#613900;fill:currentColor;stroke:none}
.altyn-unit>.altyn-currency{display:inline-block;width:1.25em;height:1.25em;min-width:1.25em;object-fit:contain;align-self:center;vertical-align:middle}.altyn-unit{vertical-align:middle}.progress .altyn-currency{width:1.1em;height:1.1em;min-width:1.1em}
.nav-reward-coin{object-fit:contain;display:block;flex:none}
