/* Replace the former nested phone viewport with the platform's natural page flow. */
body[data-fate-theme="gwiin"] { display:block!important; height:auto!important; overflow:visible!important; background:var(--fate-bg)!important; }
body[data-fate-theme="gwiin"] #gwiin-main { --bg:#101010; --surface:#181818; --surface-2:#202020; --surface-3:#202020; --text:#f4f1ed; --muted:#aaa6a2; --accent:#ff5b23; --accent-strong:#ff9c74; --line:#303030; --line-soft:#272727; --font-body:Pretendard,system-ui,sans-serif; --font-display:Pretendard,system-ui,sans-serif; height:auto!important; max-height:none!important; min-height:calc(100svh - 100px)!important; width:100%!important; overflow:visible!important; background:var(--fate-bg)!important; isolation:auto!important; }
body[data-fate-theme="gwiin"] #gwiin-main:before { display:none!important; }
body[data-fate-theme="gwiin"] #gwiin-main .screen { display:none!important; position:relative!important; inset:auto!important; height:auto!important; min-height:0!important; opacity:1!important; visibility:visible!important; transform:none!important; transition:none!important; background:var(--fate-bg)!important; }
body[data-fate-theme="gwiin"] #gwiin-main .screen.active { display:block!important; }
body[data-fate-theme="gwiin"] #gwiin-main .screen>.topbar { display:none!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(.scroll,.home-shell) { height:auto!important; max-height:none!important; overflow:visible!important; padding:26px 20px 32px!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(h1,h2,h3,h4,p,span,small,label,button,input) { font-family:inherit!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(h1,h2,h3)[tabindex="-1"]:focus { outline:none!important; box-shadow:none!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(h1,h2) { font-size:27px!important; font-weight:750!important; line-height:1.45!important; letter-spacing:-.9px!important; color:var(--fate-text)!important; }
body[data-fate-theme="gwiin"] #gwiin-main h3 { font-size:18px!important; line-height:1.65!important; color:var(--fate-text)!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(.home-copy,.invite-hook) { text-align:left!important; margin-top:24px!important; }
body[data-fate-theme="gwiin"] #gwiin-main .home-copy .support { margin:14px 0 0!important; font-size:14px!important; max-width:none!important; }
body[data-fate-theme="gwiin"] #gwiin-main .dosa-stage { width:100%!important; max-width:none!important; height:auto!important; min-height:0!important; aspect-ratio:1.18!important; }
body[data-fate-theme="gwiin"] #gwiin-main .dosa-card { width:100%!important; height:100%!important; aspect-ratio:auto!important; border-radius:16px!important; border-color:#303030!important; box-shadow:none!important; }
body[data-fate-theme="gwiin"] #gwiin-main .home-actions { margin-top:24px!important; padding:0!important; }
body[data-fate-theme="gwiin"] #gwiin-main .home-actions .micro { margin-top:14px!important; text-align:left!important; color:#aaa6a2!important; }
body[data-fate-theme="gwiin"] #gwiin-main .intro { margin-bottom:26px!important; padding:0!important; }
body[data-fate-theme="gwiin"] #gwiin-main .intro p { margin-top:12px!important; font-size:14px!important; color:#aaa6a2!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(.form-card,.result-card,.map-card,.ranking-card,.gwiin-share-card,.share-dock,.owner-login-callout,.guest-relationship-card,.invite-map-preview,.relation-card,.resume-map-card,.saved-map-list button) { padding:18px 16px!important; border:1px solid #303030!important; border-radius:14px!important; background:var(--fate-panel)!important; box-shadow:none!important; color:var(--fate-text)!important; }
body[data-fate-theme="gwiin"] #gwiin-main .form-card { margin:0 0 18px!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(.field-label,.field-label label) { font-size:14px!important; color:var(--fate-text)!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(.field,.time-trigger) { border-radius:10px!important; font-size:16px!important; background:var(--fate-raised)!important; border:1px solid #393939!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(.mode-tabs,.calendar-tabs) { background:transparent!important; padding:0!important; border:0!important; gap:8px!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(.mode-tabs button,.calendar-tabs button) { min-height:44px!important; border-radius:10px!important; font-size:14px!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(.mode-tabs button,.calendar-tabs button)[aria-pressed=true] { background:#ff5b2314!important; color:var(--fate-accent)!important; border:1px solid var(--fate-action)!important; }
body[data-fate-theme="gwiin"] #gwiin-main .wheel-shell { background:var(--fate-raised)!important; border-radius:10px!important; }
body[data-fate-theme="gwiin"] #gwiin-main .wheel-shell:after { background:#ff5b2310!important; border-color:#ff5b2340!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(.unknown,.consent-row,.earthly-time-preview,.guest-relation-result,.guest-personal-elements,.reading-point,.owner-url-note) { background:var(--fate-raised)!important; color:var(--fate-text)!important; border-color:#303030!important; border-radius:10px!important; }
body[data-fate-theme="gwiin"] #gwiin-main .sticky-action { position:static!important; inset:auto!important; padding:0 20px 32px!important; background:none!important; }
body[data-fate-theme="gwiin"] #gwiin-main .loading-inner { min-height:65svh!important; height:auto!important; padding:42px 20px!important; }
body[data-fate-theme="gwiin"] #gwiin-main .loading-content { width:100%!important; }
body[data-fate-theme="gwiin"] #gwiin-main .loading-track { background:#303030!important; }
body[data-fate-theme="gwiin"] #gwiin-main .loading-track i { background:var(--fate-action)!important; }
body[data-fate-theme="gwiin"] #gwiin-main .result-heading { margin-bottom:24px!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(.map-card,.ranking-card,.gwiin-share-card,.owner-login-callout,.guest-relationship-card,.share-dock) { margin:20px 0!important; }
body[data-fate-theme="gwiin"] #gwiin-main .share-dock { position:static!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(.share-dock-actions,.share-actions) { grid-template-columns:1fr!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(.kakao-share-button,.fate-login-kakao) { border-radius:12px!important; min-height:52px!important; background:var(--fate-action)!important; color:#fff!important; box-shadow:none!important; }
body[data-fate-theme="gwiin"] #gwiin-main .kakao-mark { background:#fff!important; color:var(--fate-action)!important; }
body[data-fate-theme="gwiin"] #gwiin-main .kakao-mark:after { background:#fff!important; }
body[data-fate-theme="gwiin"] #gwiin-main .map-wheel { background:var(--fate-raised)!important; border-color:#393939!important; }
body[data-fate-theme="gwiin"] #gwiin-main .map-wheel:before,body[data-fate-theme="gwiin"] #gwiin-main .map-wheel:after { opacity:.25!important; }
body[data-fate-theme="gwiin"] #gwiin-main .me-node { background:var(--fate-panel)!important; color:var(--fate-text)!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(.map-expand-open,.map-refresh,.map-participant-total,.map-cluster-label,.rank-number,.ranking-foot) { background:var(--fate-raised)!important; color:var(--fate-text)!important; border-color:#393939!important; }
body[data-fate-theme="gwiin"] #gwiin-main .map-refresh { min-width:44px!important; min-height:44px!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(.modal-layer,.map-expand-layer) { position:fixed!important; inset:0 auto 0 50%!important; width:min(402px,100vw)!important; height:100dvh!important; max-width:402px!important; transform:translateX(-50%)!important; z-index:1400!important; padding:12px!important; align-items:center!important; background:#000b!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(.sheet,.relation-dialog,.product-dialog,.map-expand-dialog) { width:100%!important; height:auto!important; max-height:calc(100dvh - 32px)!important; overflow:auto!important; padding:20px 16px!important; border-radius:16px!important; background:var(--fate-panel)!important; color:var(--fate-text)!important; box-shadow:none!important; border:1px solid #393939!important; }
body[data-fate-theme="gwiin"] #gwiin-main .relation-dialog>.scroll { padding:16px 0!important; }
body[data-fate-theme="gwiin"] #gwiin-main .relation-modal-head { position:sticky!important; top:-20px!important; background:var(--fate-panel)!important; padding:8px 0!important; z-index:2!important; }
body[data-fate-theme="gwiin"] #gwiin-main .map-expand-head { padding:0 0 16px!important; color:var(--fate-text)!important; }
body[data-fate-theme="gwiin"] #gwiin-main .map-expand-head h2 { font-size:21px!important; }
body[data-fate-theme="gwiin"] #gwiin-main .map-expand-head p { color:#aaa6a2!important; }
body[data-fate-theme="gwiin"] #gwiin-main :is(.map-expand-close,.map-expand-empty) { background:var(--fate-raised)!important; color:var(--fate-text)!important; }
body[data-fate-theme="gwiin"] #gwiin-main .map-expand-close { min-width:64px!important; width:auto!important; white-space:nowrap!important; }
body[data-fate-theme="gwiin"] #gwiin-main .map-expand-stage { width:100%!important; min-width:0!important; height:auto!important; min-height:260px!important; max-height:62dvh!important; overflow:auto!important; }
body[data-fate-theme="gwiin"] #gwiin-main .time-sheet h3 { font-size:20px!important; }
body[data-fate-theme="gwiin"] #gwiin-main .toast { position:fixed!important; width:max-content!important; max-width:min(360px,calc(100vw - 32px))!important; background:var(--fate-raised)!important; color:var(--fate-text)!important; z-index:1600!important; }
