/* ScaryMU Social — v13. Shared graphite/light interface. */
@font-face{font-family:Parkinsans;src:url('../fonts/parkinsans-bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
:root,[data-theme=dark]{color-scheme:dark;--bg:#0c1014;--surface:#15191e;--surface-2:#1c2127;--border:#30363d;--text:#f3f4f5;--muted:#a6adb6;--accent:#f3f4f5;--control:#f3f4f5;--inverse:#11151a;--hover:#222830;--danger:#ff929b;--gold:#d9b879}
:root[data-theme=light]{color-scheme:light;--bg:#fafafa;--surface:#fff;--surface-2:#f0f1f3;--border:#d7dbe0;--text:#171b20;--muted:#5c6470;--accent:#171b20;--control:#171b20;--inverse:#fff;--hover:#e9ebee;--danger:#b52035;--gold:#856018}
html{scroll-behavior:smooth;scrollbar-color:var(--border) var(--bg);scroll-padding-top:28px}body.redesign-v13{background:var(--bg);color:var(--text);font:14px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:0}*{box-sizing:border-box}::selection{background:var(--text);color:var(--inverse)}input,textarea{caret-color:var(--text)}:focus-visible{outline:2px solid var(--text);outline-offset:4px}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:disabled{opacity:.48;cursor:not-allowed}.redesign-v13 a{color:inherit}.redesign-v13 a:hover{text-decoration:none}.redesign-v13 h1,.redesign-v13 h2{letter-spacing:-.025em;text-wrap:balance}.redesign-v13 h1{font-family:Parkinsans,'Segoe UI',sans-serif;font-weight:700}.redesign-v13 .muted,.redesign-v13 small{color:var(--muted)}.ui-icon{display:inline-block;flex:0 0 auto;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.skip-link{position:fixed;top:-90px;left:20px;z-index:2000;padding:12px 20px;background:var(--text);color:var(--inverse)!important;border-radius:8px}.skip-link:focus{top:12px}
.redesign-v13 .button,.redesign-v13 .primary-link{min-height:44px;padding:11px 20px;background:var(--control);color:var(--inverse);border:1px solid transparent;border-radius:10px;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;box-shadow:none;transition:background .18s,opacity .18s;transform:none}.redesign-v13 .button:hover{opacity:.86;transform:none}.redesign-v13 .button.secondary{background:var(--surface-2);color:var(--text);border-color:var(--border)}.redesign-v13 input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),.redesign-v13 textarea,.redesign-v13 select{background:var(--surface-2);color:var(--text);border:1px solid var(--border);border-radius:9px;font:inherit;padding:12px 14px;box-shadow:none}.redesign-v13 input::placeholder,.redesign-v13 textarea::placeholder{color:var(--muted);opacity:1}.redesign-v13 input:focus,.redesign-v13 textarea:focus,.redesign-v13 select:focus{border-color:var(--muted)}.redesign-v13 .avatar{background:var(--surface-2);border:1px solid var(--border);color:var(--text);font-weight:700;overflow:hidden}.redesign-v13 .avatar img{width:100%;height:100%;object-fit:cover}.redesign-v13 .eyebrow{display:none}.redesign-v13 .flash{max-width:760px;margin:20px auto;padding:14px 18px;border-radius:10px}.redesign-v13 .flash.error{background:#391f27;color:#ffd3d8;border-color:#723440}.redesign-v13 .flash.success{background:#18352d;color:#c1efdc;border-color:#376452}
/* Public entry: typography, not decoration. */
.guest.redesign-v13{min-height:100dvh;display:flex;flex-direction:column}.guest.redesign-v13:before{display:none}.guest.redesign-v13 .guest-header{width:100%;max-width:1280px;height:88px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;border-color:var(--border);margin:auto auto 0}.wordmark{font-size:20px;font-weight:750;letter-spacing:-.5px;white-space:nowrap}.wordmark span{font-weight:400;color:var(--muted)}.guest.redesign-v13 .guest-header nav{display:flex;align-items:center;gap:28px}.guest.redesign-v13 .guest-header nav>a:not(.button){font-size:14px;color:var(--muted)}.guest.redesign-v13 .guest-header nav>a:hover{color:var(--text)}.guest.redesign-v13 #main-content{flex:1;display:flex;flex-direction:column}.entry-page{width:100%;max-width:1280px;margin:auto;display:grid;grid-template-columns:1fr 460px;gap:100px;align-items:center;padding:80px 32px;min-height:690px}.entry-intro h1{font-size:clamp(42px,4.4vw,64px);line-height:1.14;letter-spacing:-.035em;margin:0 0 26px}.entry-intro>p{max-width:440px;color:var(--muted);font-size:17px;line-height:1.7;margin:0}.entry-actions{display:flex;align-items:center;flex-wrap:wrap;gap:26px;margin:32px 0 44px}.entry-actions .button{min-width:144px;display:inline-flex;justify-content:center}.entry-explore{font-weight:600;font-size:14px;display:flex;align-items:center;gap:8px}.entry-explore .ui-icon{width:18px}.entry-features{display:flex;gap:28px;color:var(--muted);font-size:13px}.entry-features span{display:flex;align-items:center;gap:8px}.entry-features .ui-icon{width:18px;height:18px}.entry-login{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:36px}.entry-login h2{font-size:26px;line-height:1.25;margin:0 0 12px;font-weight:650}.entry-login>p{font-size:14px;color:var(--muted);line-height:1.65;margin:0 0 30px}.entry-login form{display:flex;flex-direction:column}.entry-login label{font-size:13px;font-weight:600;margin-bottom:9px}.entry-login form>input{width:100%;height:48px;margin-bottom:22px}.redesign-v13 .password-field{height:48px;background:var(--surface-2);border-color:var(--border);border-radius:9px}.redesign-v13 .password-field input{width:100%;min-width:0;border:0!important;background:transparent!important;height:46px}.password-field button{min-width:44px;color:var(--muted)}.password-field button .ui-icon{width:18px;height:18px}.entry-login .wide{width:100%;margin-top:28px}.entry-login footer{margin-top:28px;padding-top:24px;border-top:1px solid var(--border);text-align:center;font-size:13px;color:var(--muted)}.entry-login footer a{color:var(--text);font-weight:650;margin-left:5px}.guest-theme{width:36px;height:36px;display:grid;place-items:center;border:0;background:transparent;color:var(--muted);padding:0}.guest-theme b{display:none}.guest-theme svg{width:20px;height:20px}.guest.redesign-v13 .guest-footer{width:100%;max-width:1280px;min-height:82px;align-items:center;gap:24px;padding:24px 32px;margin:0 auto;border-top:1px solid var(--border);font-size:12px;color:var(--muted)}.guest-footer .wordmark{font-size:16px}.guest-footer nav{gap:24px}
/* Signup, legal and account forms share the same neutral surfaces. */
.redesign-v13 .signup-v9{max-width:1160px;grid-template-columns:minmax(270px,.8fr) minmax(0,1.2fr);gap:72px;padding:64px 32px 80px}.redesign-v13 .signup-context h1{font-size:46px;line-height:1.13;letter-spacing:-.035em;margin:0 0 24px}.redesign-v13 .signup-context>p,.redesign-v13 .signup-context li small{color:var(--muted)}.redesign-v13 .signup-context li{font-size:14px;gap:12px}.redesign-v13 .signup-context ol{border-color:var(--border)}.redesign-v13 .signup-context li>b{display:none}.redesign-v13 .signup-context li>span{font-size:14px}.redesign-v13 .secure-signup{background:var(--surface);border-color:var(--border);box-shadow:none;padding:32px;gap:24px}.redesign-v13 .secure-signup>header,.redesign-v13 .secure-signup fieldset{border-color:var(--border)}.redesign-v13 .secure-signup h2{font-size:26px;margin:0}.redesign-v13 .secure-signup header p{color:var(--muted);font-size:12px}.redesign-v13 .secure-signup a{color:var(--text)}.redesign-v13 .secure-signup label>span{font-size:13px}.redesign-v13 .secure-signup label>small,.redesign-v13 .signup-security{color:var(--muted);font-size:12px;line-height:1.55}.redesign-v13 .secure-signup legend{font-size:14px;letter-spacing:0}.redesign-v13 .input-prefix{background:var(--surface-2);border-color:var(--border)}.redesign-v13 .input-prefix input{background:transparent!important;border:0!important;min-width:0}.redesign-v13 .strength i{background:var(--border)}.redesign-v13 .strength[data-score="4"] i{background:var(--text)}.redesign-v13 .terms-check input{accent-color:var(--text)}.redesign-v13 .legal-page{max-width:760px;line-height:1.8}.redesign-v13 .legal-page h1{font-size:42px;letter-spacing:-.03em}.redesign-v13 .legal-page p,.redesign-v13 .legal-page li{color:var(--muted)}
/* App shell */
.redesign-v13 .sidebar{width:228px;padding:32px 20px 22px;background:var(--bg);border-right:1px solid var(--border)}.redesign-v13 .brand{gap:12px;margin-bottom:52px}.redesign-v13 .brand-mark{width:36px;height:36px;border:0;border-radius:10px;background:var(--text);color:var(--inverse);box-shadow:none}.redesign-v13 .brand-copy{display:block;font-size:16px;line-height:1.2}.redesign-v13 .brand-copy b{color:var(--muted);display:block;font-weight:500}.redesign-v13 .brand-copy small{display:none}.redesign-v13 .sidebar nav{display:grid;gap:8px}.redesign-v13 .sidebar nav a{justify-content:flex-start;gap:14px;padding:13px 14px;border:0;border-radius:10px;min-height:48px;font-size:14px;color:var(--muted)}.redesign-v13 .sidebar nav a span{display:inline}.redesign-v13 .sidebar nav a svg{width:22px;height:22px}.redesign-v13 .sidebar nav a.active{color:var(--text);background:var(--surface-2);font-weight:650;box-shadow:none}.redesign-v13 .sidebar nav a.active:before{display:none}.redesign-v13 .sidebar nav a:hover{background:var(--surface-2);color:var(--text)}.redesign-v13 .sidebar nav a.primary-link{background:var(--text);color:var(--inverse);margin:14px 0}.redesign-v13 .sidebar-user{display:flex;gap:10px;align-items:center;border-color:var(--border)}.redesign-v13 .sidebar-user>span:last-child{display:grid}.redesign-v13 .sidebar-user small{font-size:11px}.redesign-v13 .sidebar-user b{font-size:13px}.redesign-v13 .logout{margin-top:10px}.redesign-v13 .logout button{font-size:12px;color:var(--muted)}.redesign-v13 .page{margin-left:228px;width:calc(100% - 228px);padding:58px 40px 60px;max-width:none}.redesign-v13 .theme-toggle{position:fixed;z-index:30;right:20px;top:14px;background:var(--surface);border-color:var(--border);color:var(--text);min-height:34px;padding:7px 10px;box-shadow:none;font-size:11px;gap:7px}.theme-toggle svg{width:16px;height:16px;vertical-align:middle}.redesign-v13 .mobile-nav{background:var(--bg);border-color:var(--border)}
/* Feed */
.redesign-v13 .modern-feed{display:grid;grid-template-columns:minmax(0,660px) minmax(230px,285px);gap:56px;max-width:1000px;margin:0 auto}.redesign-v13 .feed{width:100%;min-width:0}.redesign-v13 .feed-top{margin:0 0 24px;display:flex;align-items:center;justify-content:space-between;padding:0}.redesign-v13 .feed-top h1{font-size:26px;margin:0}.feed-top>p{font-size:13px;color:var(--muted);margin:0}.redesign-v13 .story-tray{display:flex;overflow:auto;gap:20px;border:0;background:transparent;padding:0 0 22px;margin:0 0 22px;scrollbar-width:thin}.redesign-v13 .story-item{width:68px;min-width:68px;gap:7px;color:var(--text)}.redesign-v13 .story-avatar{width:64px;height:64px;padding:3px;background:var(--bg);border:1.5px solid var(--gold);box-shadow:none;animation:none}.redesign-v13 .story-avatar:before,.redesign-v13 .story-avatar:after,.redesign-v13 .story-avatar>i{display:none}.redesign-v13 .story-avatar .avatar{width:100%;height:100%;border:0;background:var(--surface-2)}.redesign-v13 .story-create .story-avatar,.redesign-v13 .story-item.seen .story-avatar{border-color:var(--border)}.redesign-v13 .story-create .story-avatar b{background:var(--text);color:var(--inverse);border-color:var(--bg);width:21px;height:21px;font-size:16px}.redesign-v13 .story-item small{font-size:11px;color:var(--muted);max-width:68px;text-overflow:ellipsis;overflow:hidden}.redesign-v13 .story-item em{display:none}.redesign-v13 .social-post{background:transparent;border:0;border-bottom:1px solid var(--border);border-radius:0;padding:0 0 26px;margin:0 0 30px;box-shadow:none}.redesign-v13 .post-head{padding:0 0 14px;min-height:54px}.redesign-v13 .post-head .avatar{width:38px;height:38px}.redesign-v13 .user{gap:11px}.redesign-v13 .user b{font-size:13px;font-weight:650}.redesign-v13 .user small{font-size:11px;color:var(--muted)}.redesign-v13 .user i,.redesign-v13 .clean-title i{color:var(--text)}.redesign-v13 .post-image{background:#090b0d;border-radius:12px;overflow:hidden}.redesign-v13 .post-image img{display:block;width:100%;max-height:780px;object-fit:contain;border-radius:0}.redesign-v13 .post-actions{padding:12px 0 4px;gap:15px;align-items:center}.redesign-v13 .post-actions button{min-width:28px;min-height:36px;display:inline-grid;place-items:center;color:var(--text);font-size:22px;padding:0;background:transparent;border:0}.redesign-v13 .post-actions button.liked{color:#ff5b70}.redesign-v13 .post-actions button.liked .ui-icon{fill:currentColor}.redesign-v13 .post-actions .ui-icon{width:24px;height:24px}.redesign-v13 .post-actions .save{margin-left:auto}.redesign-v13 .post-meta{padding:0}.redesign-v13 .post-meta p{font-size:13px;margin:7px 0;line-height:1.65}.redesign-v13 .view-comments{font-size:13px;color:var(--muted)}.redesign-v13 .post-time{font-size:10px;color:var(--muted);letter-spacing:.03em}.redesign-v13 .comment-form{padding:9px 0 0;border-top:0;background:transparent;gap:10px}.redesign-v13 .comment-form input,.redesign-v13 .comment-form textarea{background:transparent;border:0;box-shadow:none;padding:8px 0;font-size:13px;min-width:0;resize:none}.redesign-v13 .comment-form>button{color:var(--text);font-size:13px;font-weight:600;min-height:40px;background:transparent;border:0}.redesign-v13 .comment-form>button[type=submit]{padding:8px}.redesign-v13 .social-rail{padding-top:58px;min-width:0}.redesign-v13 .signed-user{gap:12px}.redesign-v13 .signed-user .avatar{width:46px;height:46px}.redesign-v13 .signed-user b{font-size:14px}.redesign-v13 .signed-user small{font-size:11px}.redesign-v13 .signed-user>a{font-size:11px;color:var(--text);margin-left:auto}.redesign-v13 .rail-section{background:transparent;border:0;padding:0;margin-top:36px}.redesign-v13 .rail-section header{font-size:13px;margin-bottom:18px;color:var(--text)}.redesign-v13 .rail-section header>a{font-size:11px;color:var(--muted)}.redesign-v13 .suggestion{margin:18px 0}.redesign-v13 .suggestion .avatar{width:36px;height:36px}.redesign-v13 .suggestion button{color:var(--text);font-size:11px;font-weight:650}.redesign-v13 .tag-cloud a{background:var(--surface);border:1px solid var(--border);color:var(--muted);border-radius:7px}.redesign-v13 .rail-meta{font-size:11px;line-height:1.9;color:var(--muted);margin-top:36px}.redesign-v13 .social-empty{background:transparent;border:0;padding:60px 24px;text-align:center}.redesign-v13 .social-empty>span{color:var(--muted)}.redesign-v13 .social-empty h2{font-size:23px}.redesign-v13 .social-empty p{color:var(--muted)}
/* Player profile: identity first, progression in one quiet row. */
.redesign-v13 .profile-clean{max-width:980px;margin:auto}.redesign-v13 .clean-profile-head{padding:30px 20px 24px;gap:48px;grid-template-columns:140px minmax(0,1fr)}.redesign-v13 .clean-avatar-ring .avatar{width:132px;height:132px}.redesign-v13 .clean-avatar-ring>span{background:var(--text);color:var(--inverse);border-color:var(--bg);font-size:10px;padding:4px 9px}.redesign-v13 .clean-title h1{font-family:inherit;font-size:25px;letter-spacing:-.02em}.redesign-v13 .clean-title{gap:18px;flex-wrap:wrap}.redesign-v13 .profile-buttons .button{min-height:36px;padding:8px 14px;font-size:12px}.redesign-v13 .clean-stats{gap:26px;font-size:13px;margin:20px 0}.redesign-v13 .clean-stats b{font-variant-numeric:tabular-nums}.redesign-v13 .clean-bio{font-size:13px}.redesign-v13 .clean-bio p{line-height:1.6;margin:5px 0}.redesign-v13 .clean-game-line{color:var(--muted)}.redesign-v13 .compact-progression{display:flex;gap:20px;align-items:center;max-width:none;margin:6px 20px 28px;padding:18px 0;border:0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:transparent;border-radius:0}.redesign-v13 .compact-level{width:auto;min-width:56px;height:auto;border:0;background:transparent;color:var(--text);border-radius:0;gap:0}.redesign-v13 .compact-level b{font-size:22px}.redesign-v13 .compact-level span{font-size:9px;color:var(--muted);letter-spacing:.08em}.redesign-v13 .compact-track{max-width:540px;flex:1}.redesign-v13 .compact-track header{font-size:12px}.redesign-v13 .compact-track header span{color:var(--muted);font-size:11px}.compact-track progress{display:block;width:100%;height:5px;border:0;border-radius:4px;overflow:hidden;background:var(--border);margin-top:10px;accent-color:var(--text)}.compact-track progress::-webkit-progress-bar{background:var(--border)}.compact-track progress::-webkit-progress-value{background:var(--text);border-radius:4px}.compact-track progress::-moz-progress-bar{background:var(--text);border-radius:4px}.redesign-v13 .compact-next{border:0;padding-left:20px;margin-left:auto;color:var(--muted)}.redesign-v13 .compact-next i{color:var(--gold);background:transparent;border:0}.redesign-v13 .compact-next small{font-size:9px;letter-spacing:.04em}.redesign-v13 .compact-next b{font-size:12px}.redesign-v13 .achievement-highlights{padding:0 20px 26px;margin:0;border:0}.redesign-v13 .achievement-highlights header{margin-bottom:16px;font-size:13px}.redesign-v13 .achievement-highlights header span{font-size:11px;color:var(--muted)}.redesign-v13 .highlight-row{gap:22px;overflow:auto;padding:0 0 5px}.redesign-v13 .highlight-row article{min-width:65px;width:65px}.redesign-v13 .highlight-row article>span{width:48px;height:48px;margin:auto;border:1px solid var(--border);background:var(--surface);color:var(--gold);box-shadow:none}.redesign-v13 .highlight-row article small{font-size:10px}.redesign-v13 .locked-highlight{opacity:.58}.redesign-v13 .profile-tabs{border-color:var(--border);gap:52px;margin:0}.redesign-v13 .profile-tabs a{font-size:11px;letter-spacing:.08em;display:flex;align-items:center;gap:8px;min-height:56px;color:var(--muted)}.redesign-v13 .profile-tabs a.active{color:var(--text);border-color:var(--text)}.profile-tabs .ui-icon{width:16px;height:16px}.redesign-v13 .clean-gallery{gap:5px}.redesign-v13 .clean-gallery a{border-radius:3px}.redesign-v13 .clean-gallery img{aspect-ratio:1;object-fit:cover}.redesign-v13 .player-badge{background:var(--surface-2);border-color:var(--border);color:var(--muted);font-size:9px;letter-spacing:.02em;box-shadow:none}.redesign-v13 .player-badge.founder,.redesign-v13 .player-badge.admin,.redesign-v13 .badge-founder,.redesign-v13 .badge-admin{color:var(--gold);border-color:#79613b;background:#292319}
/* Settings, publish, explore and administration */
.redesign-v13 .settings-hero{padding-bottom:24px}.redesign-v13 .settings-hero h1{font-size:29px;margin:0 0 8px}.redesign-v13 .settings-hero p{font-size:14px}.redesign-v13 .settings-layout{gap:36px;grid-template-columns:145px minmax(0,1fr)}.redesign-v13 .settings-index a{border:0;border-radius:8px;font-size:13px}.redesign-v13 .settings-index a:hover{background:var(--surface-2)}.redesign-v13 .settings-section{border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;padding:4px 0 28px}.redesign-v13 .settings-section>header>span{display:none}.redesign-v13 .settings-section h2{font-size:17px}.redesign-v13 .settings-section header p{font-size:13px}.redesign-v13 .field small{font-size:12px}.redesign-v13 .settings-save{background:var(--surface);border:1px solid var(--border);box-shadow:none;backdrop-filter:none}.redesign-v13 .settings-save>span{font-size:12px}.redesign-v13 .visibility-options label{background:var(--surface);border-color:var(--border)}.redesign-v13 .visibility-options small{font-size:12px}.redesign-v13 .avatar-status{background:var(--text);color:var(--inverse)}.redesign-v13 .avatar-actions>small{font-size:12px}.redesign-v13 .avatar-actions .button{font-size:12px}.redesign-v13 .form-card,.redesign-v13 .panel,.redesign-v13 .stat,.redesign-v13 .notification{background:var(--surface);border-color:var(--border);box-shadow:none}.redesign-v13 .dropzone{background:var(--surface);border-color:var(--border);color:var(--muted)}.redesign-v13 .page-header h1{font-size:29px}.redesign-v13 .gallery{gap:6px}.redesign-v13 .search input{background:var(--surface-2)}.redesign-v13 .reaction-picker,.redesign-v13 .emoji-picker,.redesign-v13 .post-menu,.redesign-v13 .share-menu{background:var(--surface);border:1px solid var(--border);box-shadow:0 12px 30px #0003;color:var(--text)}[hidden]{display:none!important}.redesign-v13 #toast>div,.redesign-v13 #toast{border-color:var(--border);color:var(--text)}
/* Photo detail: stable media + independently scrolling conversation. */
.redesign-v13 .post-modal{padding:36px 60px;background:#000b;backdrop-filter:none}.redesign-v13 .post-modal-card,.redesign-v13 .post-detail-v8{width:min(1200px,100%);height:min(820px,calc(100dvh - 72px));min-height:0;margin:auto;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,1fr);background:var(--surface);border-radius:12px;overflow:hidden;box-shadow:none}.redesign-v13 .modal-media,.redesign-v13 .detail-image{display:flex;align-items:center;justify-content:center;min-width:0;height:100%;background:#090b0d}.redesign-v13 .modal-media img,.redesign-v13 .detail-image img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.redesign-v13 .detail-side,.redesign-v13 .modal-side{min-width:0;min-height:0;height:100%;background:var(--surface);color:var(--text)}.redesign-v13 .detail-author{padding:18px 20px;border-color:var(--border)}.redesign-v13 .detail-thread{padding:20px;overflow:auto;min-height:0;flex:1}.redesign-v13 .detail-comment{padding:0 0 24px;border:0;gap:12px;font-size:13px}.redesign-v13 .detail-comment small{font-size:11px}.redesign-v13 .detail-footer{border-color:var(--border);padding:12px 20px}.redesign-v13 .detail-footer .post-actions{padding-top:0}.redesign-v13 .detail-footer .comment-form{border-top:1px solid var(--border);margin-top:12px}.redesign-v13 .post-modal-close{background:var(--surface-2);color:var(--text);top:14px;right:14px;width:38px;height:38px}.redesign-v13 .avatar-crop-dialog,.redesign-v13 .connections-card{background:var(--surface);border-color:var(--border);color:var(--text)}.redesign-v13 .story-composer{background:var(--surface);border-color:var(--border)}.redesign-v13 .story-viewer{background:#090b0d}.redesign-v13 .story-scan{display:none}
@media(min-width:1600px){.redesign-v13 .modern-feed{max-width:1110px;grid-template-columns:minmax(0,700px) 290px;gap:80px}.entry-page{gap:140px;grid-template-columns:1fr 480px;min-height:760px}}
@media(max-width:1199px){.redesign-v13 .sidebar{width:82px;padding:28px 15px 20px}.redesign-v13 .brand{justify-content:center}.redesign-v13 .brand-copy,.redesign-v13 .sidebar nav a span,.redesign-v13 .sidebar-user>span:last-child{display:none}.redesign-v13 .sidebar nav a{justify-content:center;padding:13px}.redesign-v13 .sidebar-user{justify-content:center}.redesign-v13 .logout button{font-size:10px}.redesign-v13 .page{margin-left:82px;width:calc(100% - 82px);padding:58px 28px 50px}.redesign-v13 .modern-feed{gap:36px;grid-template-columns:minmax(0,620px) 240px}.entry-page{gap:48px;grid-template-columns:1fr 420px}.entry-intro h1{font-size:48px}.entry-login{padding:30px}.redesign-v13 .signup-v9{gap:40px}.redesign-v13 .signup-context h1{font-size:40px}}
@media(max-width:1000px){.redesign-v13 .modern-feed{display:block;max-width:640px}.redesign-v13 .social-rail{display:none}.entry-page{grid-template-columns:1fr 390px;gap:34px;min-height:640px}.entry-intro h1{font-size:40px}.entry-intro>p{font-size:15px}.entry-actions{gap:18px}.entry-features{gap:16px}.redesign-v13 .clean-profile-head{gap:24px;grid-template-columns:110px minmax(0,1fr);padding-inline:0}.redesign-v13 .clean-avatar-ring .avatar{width:104px;height:104px}.redesign-v13 .compact-progression{margin-inline:0}.redesign-v13 .achievement-highlights{padding-inline:0}.redesign-v13 .post-modal{padding:36px 24px}.redesign-v13 .post-modal-card,.redesign-v13 .post-detail-v8{grid-template-columns:minmax(0,1fr) 340px}}
@media(max-width:760px){.guest.redesign-v13 .guest-header{height:72px;padding:0 20px}.guest.redesign-v13 .guest-header nav{gap:16px}.guest.redesign-v13 .guest-header nav>a:not(.button){display:none}.guest.redesign-v13 .guest-header .button{min-height:36px;padding:8px 14px;font-size:12px}.wordmark{font-size:18px}.entry-page{display:flex;flex-direction:column;align-items:stretch;gap:38px;padding:42px 22px 46px;min-height:0;max-width:560px}.entry-intro h1{font-size:40px;line-height:1.13;margin-bottom:18px}.entry-intro>p{font-size:14px;max-width:370px}.entry-actions{margin:24px 0 22px;gap:20px}.entry-actions .button{min-width:120px}.entry-explore{font-size:12px}.entry-features{gap:22px;font-size:12px}.entry-login{padding:26px 22px;border-radius:14px}.entry-login h2{font-size:24px}.entry-login>p{font-size:13px;margin-bottom:24px}.guest.redesign-v13 .guest-footer{flex-wrap:wrap;padding:24px 22px;gap:18px}.guest-footer .wordmark{font-size:15px}.guest-footer>small{width:100%;font-size:11px}.redesign-v13 .signup-v9{display:block;max-width:600px;padding:36px 20px 50px}.redesign-v13 .signup-context{padding:0 0 24px;position:static}.redesign-v13 .signup-context h1{font-size:34px;max-width:390px}.redesign-v13 .signup-context ol{display:none}.redesign-v13 .secure-signup{padding:24px 20px}.redesign-v13 .signup-grid{grid-template-columns:1fr}.redesign-v13 .sidebar{display:none}.redesign-v13 .page{margin:0;width:100%;padding:68px 20px 90px}.redesign-v13 .theme-toggle{top:14px;right:18px}.redesign-v13 .feed-top h1{font-size:25px}.redesign-v13 .feed-top>p{display:none}.redesign-v13 .story-tray{gap:15px;margin-bottom:16px}.redesign-v13 .social-post{margin-bottom:26px}.redesign-v13 .post-image{border-radius:8px}.redesign-v13 .mobile-nav{display:flex;position:fixed;z-index:80;bottom:0;left:0;right:0;justify-content:space-around;padding:10px 8px max(9px,env(safe-area-inset-bottom));border-top:1px solid var(--border)}.redesign-v13 .mobile-nav a{color:var(--muted);min-width:44px;min-height:40px;display:grid;justify-items:center;gap:3px}.redesign-v13 .mobile-nav small{font-size:9px}.redesign-v13 .mobile-nav .publish{background:transparent;color:var(--text);border:0;box-shadow:none;transform:none}.redesign-v13 .mobile-nav svg{width:22px;height:22px}.redesign-v13 .clean-profile-head{display:grid;grid-template-columns:86px minmax(0,1fr);gap:20px;padding:8px 0 24px}.redesign-v13 .clean-avatar-ring .avatar{width:82px;height:82px}.redesign-v13 .clean-avatar-ring>span{font-size:8px;bottom:-5px}.redesign-v13 .clean-title{display:block}.redesign-v13 .clean-title h1{font-size:21px}.redesign-v13 .profile-name-row{gap:6px;flex-wrap:wrap}.redesign-v13 .profile-buttons{margin-top:15px;gap:8px;flex-wrap:wrap}.redesign-v13 .profile-buttons .button{padding:7px 10px;font-size:11px}.redesign-v13 .clean-stats{gap:12px;margin:18px 0;font-size:11px;flex-wrap:wrap}.redesign-v13 .clean-stats b{font-size:13px}.redesign-v13 .clean-bio{font-size:12px}.redesign-v13 .compact-progression{gap:12px;margin:0 0 24px;padding:16px 0}.redesign-v13 .compact-track header{display:grid;gap:4px}.redesign-v13 .compact-next{display:none}.redesign-v13 .highlight-row{gap:18px}.redesign-v13 .profile-tabs{gap:32px}.redesign-v13 .clean-gallery{margin-inline:-16px;gap:3px}.redesign-v13 .profile-settings-page{padding:0}.redesign-v13 .settings-hero h1{font-size:26px}.redesign-v13 .settings-layout{display:block}.redesign-v13 .settings-index{position:static;margin-bottom:24px}.redesign-v13 .settings-index a{padding:8px;font-size:12px}.redesign-v13 .settings-save{bottom:76px}.redesign-v13 .settings-save>span{display:none}.redesign-v13 .settings-save .button{width:100%}.redesign-v13 .field-grid{grid-template-columns:1fr}.redesign-v13 .avatar-editor.enhanced{gap:18px}.redesign-v13 .avatar-preview-wrap .avatar{width:72px;height:72px}.redesign-v13 .post-modal{display:block;overflow:auto;padding:48px 0 0}.redesign-v13 .post-modal-card,.redesign-v13 .post-detail-v8{display:flex;flex-direction:column;width:100%;height:auto;max-height:none;border-radius:0;overflow:visible}.redesign-v13 .modal-media,.redesign-v13 .detail-image{height:auto;max-height:55dvh;flex:none}.redesign-v13 .modal-media img,.redesign-v13 .detail-image img{height:auto;max-height:55dvh}.redesign-v13 .detail-side,.redesign-v13 .modal-side{height:auto;min-height:45dvh}.redesign-v13 .detail-thread{max-height:40dvh;min-height:140px}.redesign-v13 .detail-footer{padding-bottom:max(18px,env(safe-area-inset-bottom))}.redesign-v13 .post-modal-close{position:fixed;top:7px;right:12px}.redesign-v13 .legal-page h1{font-size:34px}}
/* Existing view contracts (feed cards and fetched post dialogs). */
.redesign-v13 .post-author{padding:0 0 14px;background:transparent}.redesign-v13 .post-body{padding:0}.redesign-v13 .caption-text{font-size:13px;line-height:1.6;margin:7px 0}.redesign-v13 .like-count{font-size:13px;margin:5px 0;color:var(--text)}.redesign-v13 .inline-comment{border-top:0;padding:8px 0 0;background:transparent;gap:10px}.redesign-v13 .inline-comment textarea{background:transparent;border:0;resize:none;min-height:40px;padding:10px 0;font-size:13px}.redesign-v13 .inline-comment>button{color:var(--text);font-size:13px;min-height:40px}.redesign-v13 .inline-comment .ui-icon{width:20px;height:20px}.redesign-v13 .post-actions .push{margin-left:auto}.redesign-v13 [data-action=like].active{color:#ff5b70}.redesign-v13 [data-action=like].active .ui-icon,.redesign-v13 [data-action=save].active .ui-icon{fill:currentColor}.redesign-v13 .player-badge.superadmin{color:var(--gold);background:var(--surface-2);border-color:var(--gold);box-shadow:none}.redesign-v13 .level-badge{color:var(--muted);border-color:var(--border);background:transparent;font-size:9px}.redesign-v13 .mini-comment{font-size:13px}.redesign-v13 .mini-comment p{margin:4px 0}.redesign-v13 .toast-item{background:var(--surface);border-color:var(--border);color:var(--text)}.redesign-v13 .post-modal{display:grid;grid-template-columns:minmax(0,700px) minmax(330px,440px);grid-template-rows:minmax(0,min(820px,calc(100dvh - 72px)));align-content:center;justify-content:center}.redesign-v13 .post-modal>.modal-social.detail-side{height:100%;display:flex;flex-direction:column;border-color:var(--border);background:var(--surface)}.redesign-v13 .thread-item{padding:14px 0;gap:12px}.redesign-v13 .thread-item p{font-size:13px;line-height:1.6}.redesign-v13 .thread-item p>small{font-size:11px}.redesign-v13 .detail-bottom{background:var(--surface)}.redesign-v13 .detail-bottom>b{font-size:13px}.redesign-v13 .detail-time{font-size:10px}.redesign-v13 .detail-bottom .detail-comment{margin:0;padding:0;border-radius:0}.redesign-v13 .detail-comment input{font-size:13px}.redesign-v13 .connections-modal>section{background:var(--surface);border-color:var(--border)}.redesign-v13 .reaction-summary{font-size:11px}.redesign-v13 .settings-section .prefix-input input{border:0!important;background:transparent!important}
@media(max-width:760px){.redesign-v13 .post-modal{display:block;padding:48px 0 0}.redesign-v13 .post-modal>.modal-media{min-height:0;height:auto}.redesign-v13 .post-modal>.modal-social.detail-side{height:auto;min-height:45dvh}.redesign-v13 .post-modal>.modal-media>img{height:auto;max-height:55dvh}.redesign-v13 .post-modal>.modal-close{top:6px;right:12px;background:var(--surface-2)}}
/* Compatibility cleanup and measured entry proportions. */
:root{--primary:var(--text);--primary2:var(--text);--surface2:var(--surface-2)}body.redesign-v13:before{display:none}.redesign-v13 .sidebar{box-shadow:none}.redesign-v13 .sidebar nav{margin-top:0}.redesign-v13 .sidebar nav a:hover{transform:none}.redesign-v13 .post-card .avatar{box-shadow:none}.redesign-v13 .post-image{border:0}.redesign-v13 .post-actions{margin-inline:0}.redesign-v13 .post-actions .icon:hover{background:var(--hover);transform:none}.redesign-v13 .post-actions .icon.active{color:var(--text)}.redesign-v13 .post-actions .like.active{color:#ff5b70}.redesign-v13 .mobile-nav{box-shadow:none;backdrop-filter:none}.redesign-v13 .more-button{color:var(--muted)}.redesign-v13 .filters a{border-radius:8px;font-size:13px;color:var(--muted)}.redesign-v13 .filters a.active{background:var(--surface-2);border-color:var(--border);color:var(--text)}.redesign-v13 .empty{background:transparent;border:0}.redesign-v13 .stat:after{display:none}.redesign-v13 .notification.unread{background:var(--surface-2);border-color:var(--border)}.redesign-v13 .error-page>b{color:var(--muted)}.redesign-v13 #toast:empty{display:none}.redesign-v13 .narrow{width:100%;min-width:0}.redesign-v13 .section-head h1{font-size:30px;line-height:1.2}.redesign-v13 .dropzone{position:relative}.redesign-v13 .dropzone input{width:1px!important;height:1px;left:0;top:0}.redesign-v13 .dropzone:focus-within,.redesign-v13 .avatar-actions label:focus-within{outline:2px solid var(--text);outline-offset:4px}.redesign-v13 .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.redesign-v13 .story-composer{background:transparent}.redesign-v13 .story-drop{background:var(--surface);border-color:var(--border);border-radius:14px}.redesign-v13 .story-fields{min-width:0}.redesign-v13 .story-tech{background:transparent;border:0;border-radius:0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.redesign-v13 .detail-bottom .post-actions{margin:0;padding:10px 16px 6px;gap:14px}.redesign-v13 .detail-bottom .detail-comment{width:100%;margin:0;gap:5px}.redesign-v13 .detail-author .detail-more{color:var(--muted)}.redesign-v13 .avatar{object-fit:cover}.redesign-v13 .settings-save{position:static;margin-top:4px}.redesign-v13 .story-create .story-avatar b{display:grid;place-items:center;line-height:1;right:-2px;bottom:-2px}.guest.redesign-v13 .entry-login footer{display:block;padding:24px 0 0;margin:28px 0 0;max-width:none}.guest.redesign-v13 .guest-footer{display:flex}.guest.redesign-v13 .guest-footer .wordmark span{display:inline}.guest.redesign-v13 .guest-footer nav{flex-wrap:wrap}
@media(min-width:1001px){.guest.redesign-v13 .guest-header{max-width:none;height:68px;padding:0 3.65vw;margin:0;border-color:var(--border)}.guest.redesign-v13 .guest-header .wordmark{font-size:24px}.guest.redesign-v13 .guest-header nav{gap:36px}.guest.redesign-v13 .guest-header nav>a:not(.button){font-size:16px}.guest.redesign-v13 .guest-header .button{min-width:132px;min-height:42px;font-size:15px}.guest-theme{position:absolute;right:8px;top:17px}.entry-page{grid-template-columns:minmax(0,1fr) minmax(420px,518px);gap:clamp(60px,9.7vw,150px);min-height:calc(100dvh - 150px);padding-block:56px}.entry-intro h1{font-size:61px;line-height:1.12}.entry-intro>p{font-size:22px;line-height:1.45;max-width:520px}.entry-actions{margin-top:38px;margin-bottom:66px;gap:30px}.entry-actions .button{min-width:186px;min-height:58px;font-size:16px}.entry-explore{font-size:16px;font-weight:500;gap:10px}.entry-features{font-size:16px;gap:28px}.entry-features .ui-icon{width:22px;height:22px}.entry-login{min-height:586px;padding:36px;border-radius:16px}.entry-login h2{font-size:34px;line-height:1.25}.entry-login>p{font-size:18px;line-height:1.45;margin-bottom:38px}.entry-login label{font-size:16px}.entry-login form>input{height:56px;font-size:16px;margin-bottom:24px}.entry-login .password-field{height:56px}.entry-login .password-field input{height:54px;font-size:16px}.entry-login .wide{height:58px;font-size:16px;margin-top:30px}.entry-login footer{font-size:14px}.guest.redesign-v13 .guest-footer{max-width:none;height:82px;padding-inline:3.65vw}.guest.redesign-v13 .guest-footer .wordmark{font-size:20px}}
@media(min-width:1001px) and (max-width:1300px){.entry-page{gap:55px}.entry-intro h1{font-size:50px}.entry-intro>p{font-size:18px}.entry-explore{font-size:14px}.entry-actions{gap:18px}.entry-actions .button{min-width:140px}.entry-login h2{font-size:28px}}
@media(max-width:760px){.redesign-v13 .form-grid{grid-template-columns:1fr}.redesign-v13 .section-head{padding:0;flex-wrap:wrap;gap:14px}.redesign-v13 .section-head h1{font-size:27px}.redesign-v13 .section-head .search{display:flex;width:100%;margin:0}.redesign-v13 .search input{min-width:0}.redesign-v13 .story-create-page{padding:0}.redesign-v13 .story-create-page>header>a{flex:0 0 36px}.guest.redesign-v13 .guest-footer{align-items:start}.guest.redesign-v13 .guest-footer nav{gap:14px;font-size:11px}.redesign-v13 .inline-comment>button{min-width:32px}.redesign-v13 .inline-comment textarea{display:block}.redesign-v13 .mobile-nav .publish svg{background:var(--text);color:var(--inverse)}.redesign-v13 .avatar-actions form{max-width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
/* Finish review: readable theme headings and consistent drawn icons. */
.redesign-v13 .rail-section header b{color:var(--text)}
.redesign-v13 .player-badge .ui-icon{width:12px;height:12px}
.redesign-v13 .clean-title i .ui-icon,.redesign-v13 .clean-game-line .ui-icon{width:18px;height:18px}
.redesign-v13 .highlight-row .ui-icon{width:23px;height:23px}
.redesign-v13 .compact-next .ui-icon{width:20px;height:20px}
@media(min-width:1001px){.guest.redesign-v13 .entry-login form>input,.guest.redesign-v13 .entry-login .password-field input{font-size:18px}.guest.redesign-v13 .entry-login footer{font-size:17px}.guest.redesign-v13 .entry-features{color:var(--text)}}

