:root{
  color-scheme:dark;
  --bg:#0b0b10;--panel:#141419;--panel-2:#1b1b23;--red:#fa3a50;--fg:#f4f4f7;--muted:#a5a3af;
  --line:#ffffff12;--line-bright:#ffffff21;--radius:14px;--font:Inter,"Noto Sans Thai",Tahoma,"Leelawadee UI",system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.65 var(--font);min-height:100vh;
  background-image:radial-gradient(ellipse at 85% 24%,#7e182118,transparent 38%),radial-gradient(ellipse at 0 70%,#6618270b,transparent 40%)}
body.modal-open{overflow:hidden}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button{color:inherit}
button:disabled{cursor:not-allowed;opacity:.42}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--red);outline-offset:5px}
input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--red);outline-offset:2px}
button:hover:not(:disabled),a:hover{transition:color .15s,background .15s,border-color .15s}
img{max-width:100%;display:block}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(1.85rem,3.2vw,2.6rem);font-weight:700;line-height:1.4;letter-spacing:-.035em}
h2{font-size:1.25rem;line-height:1.5}
h3{font-size:1rem}
.icon{display:inline-block;flex-shrink:0;vertical-align:middle}
.container{max-width:1440px;margin:0 auto;padding:0 42px}
.topbar{height:88px;position:sticky;top:0;z-index:30;background:#0b0b10ed;backdrop-filter:blur(18px);border-bottom:1px solid var(--line-bright)}
.header-inner{height:100%;max-width:1550px;margin:auto;padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:32px}
.brand{display:inline-flex;align-items:center;gap:10px;border:0;padding:0;background:transparent;font-size:1.75rem;font-weight:750;letter-spacing:-.055em;white-space:nowrap;line-height:1}
.brand em{font-style:normal;color:var(--red)}
.brand-mark{width:33px;height:39px;color:var(--red)}
.brand-mark svg{width:100%;height:100%}
nav{display:flex;align-items:center;gap:9px;height:100%}
.nav-btn{position:relative;height:100%;padding:0 17px;border:0;background:transparent;display:flex;align-items:center;gap:9px;font-size:.91rem;color:var(--muted);white-space:nowrap}
.nav-btn.active,.nav-btn:hover{color:var(--fg)}
.nav-btn.active:after{content:"";position:absolute;bottom:-1px;left:17px;right:17px;background:var(--red);height:2px;box-shadow:0 0 15px #fa3a5066}
.nav-btn.active .icon{color:var(--red)}
.login-btn,.account-btn{display:flex;align-items:center;gap:9px;justify-content:center;background:var(--red);border:1px solid var(--red);border-radius:8px;padding:10px 19px;font-size:.91rem;margin-left:12px;font-weight:600;white-space:nowrap;color:#fff}
.login-btn:hover{filter:brightness(1.13)}
.account-btn{background:var(--panel-2);border-color:var(--line-bright);min-width:100px}
.demo-strip{font-size:.8rem;color:#b8a8ac;display:flex;align-items:center;justify-content:center;gap:10px;padding:9px 22px;background:#2013168c;border-bottom:1px solid #b632461b;min-height:40px}
.demo-pill{color:#f8abb4;border:1px solid #f46c8230;border-radius:4px;padding:0 7px;white-space:nowrap;font-size:.75rem}
main{min-height:calc(100vh - 220px)}
.selection{padding-top:57px;padding-bottom:70px}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:35px;gap:20px}
.eyebrow{display:flex;align-items:center;gap:10px;text-transform:uppercase;font-size:.79rem;letter-spacing:.12em;color:#bf8992;font-weight:600;margin-bottom:8px}
.small-line{display:inline-block;width:22px;height:2px;background:var(--red)}
.section-heading p{color:var(--muted);font-size:.97rem;margin-top:8px}
.game-total{display:flex;align-items:center;gap:13px;color:var(--muted);padding-bottom:4px}
.game-total strong{font-size:2.8rem;line-height:1;color:#ffffffc2;font-weight:300}
.game-total span{font-size:.83rem;border-left:1px solid var(--line-bright);padding-left:13px}
.game-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.game-card{isolation:isolate;overflow:hidden;position:relative;min-height:430px;aspect-ratio:0.57;border:1px solid #ffffff22;border-radius:11px;background:#18181f;padding:0;text-align:left;transition:transform .25s,border-color .25s,box-shadow .25s}
.game-card:hover{transform:translateY(-7px);border-color:var(--game-accent);box-shadow:0 16px 40px #0006}
.game-card:focus-visible{outline-offset:5px}
.game-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--cover-pos,50% 42%);transform:scale(var(--cover-scale,1));transition:transform .65s,filter .4s;filter:saturate(.85)}
.game-card:hover .game-cover{transform:scale(calc(var(--cover-scale,1) * 1.055));filter:saturate(1)}
.game-shade{position:absolute;inset:0;background:linear-gradient(180deg,#0007 0%,transparent 23%,#09090e0d 32%,#09090ecc 68%,#09090efb 100%)}
.card-top{position:absolute;top:19px;left:18px;right:18px;display:flex;align-items:center;justify-content:space-between;font-size:.8rem;color:#fff9;gap:6px}
.game-postcount{background:#0b0b1060;backdrop-filter:blur(8px);border:1px solid #ffffff21;border-radius:50px;padding:3px 8px;font-size:.75rem;white-space:nowrap}
.card-bottom{position:absolute;bottom:21px;left:21px;right:21px}
.publisher{font-size:.75rem;font-weight:650;letter-spacing:.16em;color:var(--game-accent)}
.card-bottom h2{margin:10px 0 21px;font-size:clamp(1.13rem,1.65vw,1.5rem);font-weight:650;line-height:1.35;letter-spacing:-.02em;min-height:2.7em}
.game-enter{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #ffffff24;padding-top:18px}
.game-enter>span:first-child{font-size:.8rem;color:#d7d5dd}
.arrow-circle{display:flex;align-items:center;justify-content:center;width:31px;height:31px;min-width:31px;border-radius:50%;border:1px solid #ffffff42;transition:background .2s}
.arrow-circle .icon{width:16px;height:16px}
.game-card:hover .arrow-circle{background:var(--red);border-color:var(--red)}
.selection-note{display:flex;align-items:center;justify-content:space-between;margin-top:29px;color:#8f8b98;font-size:.8rem}
.selection-note span{display:flex;align-items:center;gap:9px}
.selection-note .icon{width:16px;height:16px}
footer{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1440px;margin:auto;padding:27px 42px 33px;border-top:1px solid var(--line);color:#918e9c;font-size:.8rem}
footer>span{display:flex;align-items:center;gap:7px}
footer .icon{width:16px;height:16px}
.footer-brand{font-size:1.15rem;color:#b9b6c2}
.footer-brand .brand-mark{width:21px;height:26px}
.footer-brand em{color:#b75261}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid var(--line-bright);border-radius:8px;background:var(--panel-2);padding:10px 16px;font-size:.88rem;font-weight:550;line-height:1.6;min-height:43px}
.btn:hover:not(:disabled){background:#282731;border-color:#ffffff36}
.btn.primary{background:var(--red);color:#fff;border-color:var(--red)}
.btn.primary:hover:not(:disabled){filter:brightness(1.1);background:var(--red)}
.btn.danger{color:#ffa7b4;border-color:#ff496e3d;background:#41172466}
.btn.danger-solid{background:#e83451;border-color:#e83451;color:#fff}
.button-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.text-btn{display:inline-flex;align-items:center;gap:7px;border:0;padding:4px 0;background:transparent;color:var(--muted);font-size:.88rem}
.text-btn:hover{color:var(--fg)}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:7px;width:38px;height:38px;padding:8px;color:var(--muted)}
.icon-btn:hover{color:var(--fg);background:#ffffff0a}
.feed-container{max-width:1350px;padding-top:30px;padding-bottom:50px}
.feed-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:23px}
.breadcrumb{font-size:.81rem;margin-bottom:9px}
.breadcrumb .icon{width:15px;height:15px}
.feed-heading h1{font-size:2.15rem}
.sort-label{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.84rem;white-space:nowrap}
.sort-label select{background:#18181f;border:1px solid var(--line-bright);border-radius:8px;padding:10px 29px 10px 13px;color:var(--fg);font-size:.88rem;min-width:135px}
.feed-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}
.feed-main{min-width:0}
.composer-trigger{display:flex;align-items:center;gap:15px;background:linear-gradient(105deg,#21181f,#16161d);border:1px solid #c7657933;border-radius:var(--radius);padding:21px 23px;margin-bottom:22px}
.avatar{--avatar:#777;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;background:linear-gradient(145deg,color-mix(in srgb,var(--avatar) 70%,#fff),var(--avatar));border:2px solid #ffffff2b;border-radius:50%;box-shadow:inset 0 0 20px #0002;font:650 1.05rem/1 var(--font);color:#fff}
.avatar.small{width:33px;height:33px;font-size:.82rem;border-width:1px}
.avatar.large{width:100px;height:100px;font-size:2.5rem;border:3px solid #ffffff33}
.compose-text{flex:1;text-align:left;min-width:0;border:0;padding:0;background:transparent;display:flex;flex-direction:column;gap:4px}
.compose-text strong{font-size:1rem;font-weight:500}
.compose-text span{font-size:.78rem;color:var(--muted)}
.composer-trigger .primary{white-space:nowrap}
.post-card{background:var(--panel);border:1px solid var(--line-bright);border-radius:var(--radius);margin-bottom:22px;overflow:visible}
.post-head{display:flex;align-items:center;justify-content:space-between;padding:20px 23px 0;gap:15px}
.author-button{display:flex;align-items:center;gap:11px;text-align:left;background:transparent;border:0;padding:0}
.author-button>span:last-child{display:flex;flex-direction:column;gap:1px}
.author-button strong{font-size:.95rem;font-weight:600}
.author-button time{font-size:.77rem;color:var(--muted)}
.post-menu{position:relative;align-self:flex-start}
.post-menu summary{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:7px;list-style:none;cursor:pointer;color:var(--muted)}
.post-menu summary::-webkit-details-marker{display:none}
.post-menu summary:hover{background:#ffffff0b}
.menu-items{position:absolute;z-index:15;top:39px;right:0;min-width:160px;border:1px solid var(--line-bright);border-radius:10px;background:#23212b;padding:5px;box-shadow:0 12px 30px #0008}
.menu-item{display:flex;align-items:center;gap:9px;width:100%;border:0;border-radius:6px;background:transparent;text-align:left;font-size:.86rem;padding:10px}
.menu-item:hover{background:#ffffff0b}
.menu-item .icon{width:17px;height:17px}
.menu-item.danger{color:#ffa2b3}
.post-caption{padding:15px 23px 17px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.97rem;line-height:1.75}
.post-image-wrap{position:relative;isolation:isolate;background:#09090d;margin:0 14px;border-radius:9px;overflow:hidden;border:1px solid #ffffff0a}
.post-image-button{display:block;width:100%;border:0;padding:0;background:transparent;cursor:zoom-in}
.post-image{width:100%;aspect-ratio:16/9;object-fit:contain;max-height:640px}
.sample-label{position:absolute;left:0;bottom:0;width:100%;background:linear-gradient(transparent,#000c);padding:20px 12px 8px;font-size:.75rem;color:#e4dce6;pointer-events:none}
.image-counter{position:absolute;top:13px;right:13px;border-radius:20px;background:#08080cba;backdrop-filter:blur(5px);border:1px solid #ffffff21;color:white;font-size:.79rem;padding:3px 10px;pointer-events:none}
.gallery-arrow{display:flex;align-items:center;justify-content:center;position:absolute;top:50%;transform:translateY(-50%);width:38px;height:44px;border:1px solid #ffffff33;background:#09090dbb;backdrop-filter:blur(7px);border-radius:8px;z-index:3;color:white}
.gallery-arrow:hover{background:var(--red)}
.gallery-arrow.prev{left:12px}
.gallery-arrow.next{right:12px}
.image-thumbs{display:flex;gap:7px;margin:11px 17px 0;overflow-x:auto;padding-bottom:3px}
.image-thumbs button{width:57px;height:43px;flex-shrink:0;border:2px solid transparent;background:#08080e;padding:0;border-radius:5px;overflow:hidden;opacity:.5}
.image-thumbs button.selected{border-color:var(--red);opacity:1}
.image-thumbs img{width:100%;height:100%;object-fit:cover}
.post-actions{display:grid;grid-template-columns:1fr 1fr 1.3fr .85fr;padding:8px 10px}
.reaction{display:flex;align-items:center;justify-content:center;gap:9px;background:transparent;border:0;border-radius:7px;min-height:48px;padding:9px 6px;color:#a8a4b2;font-size:.86rem}
.reaction b{font-size:.78rem;color:#898493;font-weight:500}
.reaction:hover{background:#ffffff05;color:var(--fg)}
.reaction.selected{color:var(--red)}
.reaction.selected b{color:var(--red)}
.reaction.selected .icon{fill:color-mix(in srgb,var(--red) 20%,transparent)}
.reaction.open{color:var(--fg)}
.reaction+.reaction{position:relative}
.reaction+.reaction:before{content:"";position:absolute;left:0;top:13px;bottom:13px;width:1px;background:var(--line)}
.feed-aside{position:sticky;top:111px;display:flex;flex-direction:column;gap:20px}
.character-panel{position:relative;height:465px;overflow:hidden;border-radius:var(--radius);border:1px solid #ae657838;background:radial-gradient(ellipse at 30% 30%,#723c564a,transparent 60%),linear-gradient(130deg,#201724,#11121c)}
.character-panel:before{content:"";position:absolute;width:300px;height:300px;border:1px solid #c38c9b1f;border-radius:50%;top:45px;left:-45px}
.character-panel:after{content:"";position:absolute;inset:12px;border:1px solid #ffffff0c;pointer-events:none;border-radius:5px}
.character-art{position:absolute;max-width:none;object-fit:contain;height:107%;width:177%;left:-38.5%;top:-25px;object-position:var(--char-pos,50% 50%)}
.sidebar-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.character-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,#11101850 58%,#111018fa 100%)}
.character-caption{position:absolute;bottom:27px;left:25px;right:25px}
.character-caption .eyebrow{font-size:.75rem;color:#dcb4c1;letter-spacing:.16em}
.character-caption h2{font-size:1.45rem;line-height:1.3;letter-spacing:-.02em;max-width:225px;margin:8px 0 12px}
.character-caption a{color:#a79aab;display:inline-flex;gap:7px;font-size:.75rem;align-items:center}
.character-caption a .icon{width:13px;height:13px}
.ranking{border:1px solid var(--line);border-radius:var(--radius);padding:20px;background:#131319}
.ranking h3{display:flex;gap:9px;align-items:center;font-size:.94rem;font-weight:550}
.ranking h3 .icon{color:#caa774;width:18px;height:18px}
.ranking>p{font-size:.75rem;color:#8c8796;margin:5px 0 16px}
.rank-user{background:transparent;border:0;padding:11px 0;display:flex;width:100%;align-items:center;gap:9px;text-align:left;border-top:1px solid var(--line)}
.rank-number{font-size:.76rem;color:#7d7786;font-weight:600;width:20px}
.rank-name{flex:1;font-size:.86rem;min-width:0;overflow-wrap:anywhere}
.rank-count{display:flex;align-items:center;gap:4px;font-size:.77rem;color:#cf8e9c}
.rank-count .icon{width:13px;height:13px}
.retention-note{display:flex;align-items:flex-start;gap:10px;padding:0 7px;color:#827c8c}
.retention-note>.icon{width:17px;height:17px;margin-top:4px}
.retention-note strong{font-size:.8rem;font-weight:500;color:#a49baa}
.retention-note p{font-size:.75rem;line-height:1.8;margin-top:4px}
.comments-panel{border-top:1px solid var(--line);padding:20px 22px;background:#111117;border-radius:0 0 var(--radius) var(--radius)}
.comment-row{display:flex;align-items:flex-start;gap:10px}
.comment-content{flex:1;min-width:0}
.comment-bubble{background:#1e1d25;border-radius:0 11px 11px;padding:10px 13px}
.comment-bubble>div{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.comment-bubble strong{font-size:.8rem}
.comment-bubble time{font-size:.75rem;color:#8f8799}
.comment-bubble p{font-size:.88rem;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin-top:3px}
.comment-tools{display:flex;gap:15px;margin:2px 0 10px 11px}
.comment-tools .text-btn{font-size:.75rem}
.comment-node.nested{margin-left:23px;border-left:1px solid #ffffff12;padding-left:12px}
.comment-node.nested .comment-node.nested{margin-left:10px;padding-left:8px}
.comment-node.nested .comment-node.nested .comment-node.nested{margin-left:0;padding-left:4px}
.comment-input-row{display:flex;align-items:center;gap:9px;margin-top:10px}
input,textarea{background:#111117;border:1px solid var(--line-bright);border-radius:8px;color:var(--fg);padding:11px 12px;min-width:0;font-size:.91rem}
textarea{width:100%;resize:vertical;line-height:1.8}
input::placeholder,textarea::placeholder{color:#85808e}
.comment-input-row input{flex:1;border-radius:30px;padding:10px 16px;font-size:.86rem;background:#1e1d25;width:0}
.send-btn{display:flex;align-items:center;justify-content:center;border:0;background:var(--red);width:37px;height:37px;border-radius:50%;flex-shrink:0;color:white}
.send-btn .icon{width:18px;height:18px}
.replying-label{display:flex;align-items:center;justify-content:space-between;font-size:.78rem;color:#cd98a4;margin-left:42px}
.empty-state{text-align:center;padding:70px 20px}
.empty-icon{width:59px;height:59px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line-bright);border-radius:18px;margin:0 auto 18px;background:var(--panel-2);color:#a49aa9}
.empty-icon .icon{width:25px;height:25px}
.empty-state h2{font-size:1.05rem;color:#c5bfce}
.empty-state p{font-size:.88rem;color:#8c8496;margin-top:7px}
.center{text-align:center}
.load-more{text-align:center;padding:12px}
.profile-page{max-width:1180px;padding-top:42px;padding-bottom:45px}
.profile-banner{display:flex;justify-content:space-between;align-items:center;gap:30px;border:1px solid #ffffff15;padding:40px;border-radius:17px;background:radial-gradient(ellipse at 75% 70%,#68233344,transparent 80%),#16151d}
.profile-identity{display:flex;align-items:center;gap:25px}
.profile-identity h1{font-size:2rem;margin-bottom:5px}
.profile-identity .eyebrow{font-size:.76rem}
.locked-label{display:inline-flex;align-items:center;gap:7px;color:#a99bae;font-size:.79rem}
.locked-label .icon{width:14px;height:14px}
.profile-stats{display:flex;gap:30px}
.profile-stats>div{display:flex;align-items:center;flex-direction:column;gap:5px}
.profile-stats strong{font-size:2rem;font-weight:550}
.profile-stats span{font-size:.78rem;color:var(--muted)}
.profile-meta{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 3px;margin-bottom:22px}
.profile-meta p{font-size:.79rem;color:var(--muted)}
.profile-posts{max-width:830px;margin:auto}
.profile-list-heading{display:flex;justify-content:space-between;align-items:center;margin:18px 0}
.profile-list-heading h2{font-size:1.2rem}
.admin-page{max-width:1180px;padding-top:42px;padding-bottom:55px}
.admin-tabs{display:flex;gap:24px;align-items:center;border-bottom:1px solid var(--line-bright);margin:25px 0}
.admin-tab{position:relative;background:transparent;border:0;padding:10px 0 15px;font-size:.9rem;color:var(--muted);min-height:48px}
.admin-tab.active{color:var(--fg)}
.admin-tab.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--red)}
.admin-tab b{font-size:.75rem;background:var(--red);color:#fff;border-radius:4px;margin-left:4px;padding:2px 5px}
.admin-report{background:var(--panel);border:1px solid var(--line-bright);padding:22px;border-radius:12px;margin-bottom:17px}
.report-preview{display:flex;gap:20px;margin-bottom:20px}
.report-preview>img{width:190px;height:115px;object-fit:cover;border-radius:6px;align-self:flex-start}
.report-preview h3{margin-top:5px}
.report-preview p,.report-preview small{font-size:.79rem;color:var(--muted);overflow-wrap:anywhere}
.status-pill{display:inline-block;background:#e9a34711;border:1px solid #e9a34733;color:#e8b271;border-radius:4px;font-size:.75rem;padding:1px 7px}
.admin-section-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.admin-section-top p{color:var(--muted);font-size:.9rem}
.admin-game,.admin-member{display:flex;align-items:center;gap:18px;padding:20px;border:1px solid var(--line-bright);border-radius:12px;margin-bottom:13px;background:var(--panel)}
.admin-game>img{width:90px;height:68px;object-fit:cover;border-radius:7px}
.admin-game>div:nth-child(2),.admin-member>div{flex:1}
.admin-game h3,.admin-member h3{font-size:.96rem}
.admin-game p,.admin-member p{font-size:.8rem;color:var(--muted)}
.settings-form{max-width:500px;background:var(--panel);padding:25px;border:1px solid var(--line-bright);border-radius:12px}
.settings-form label{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}
.settings-form input[type=color]{width:60px;height:40px;padding:4px}
.modal{padding:0;color:var(--fg);background:#16151d;border:1px solid #ffffff26;border-radius:17px;width:min(540px,calc(100vw - 30px));max-height:88vh;box-shadow:0 35px 120px #000a;overflow:auto}
.modal::backdrop{background:#000b;backdrop-filter:blur(8px)}
.modal-shell{padding:26px}
.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}
.modal-heading h2{font-size:1.2rem;font-weight:600}
.modal-description{font-size:.88rem;color:var(--muted);margin-bottom:24px}
.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:25px;flex-wrap:wrap}
.modal-footer>span{margin-right:auto;color:var(--muted);font-size:.82rem}
.demo-accounts{display:flex;flex-direction:column;gap:11px}
.demo-account{display:flex;align-items:center;gap:15px;border:1px solid var(--line-bright);border-radius:11px;background:#211f29;padding:15px;text-align:left}
.demo-account:hover:not(:disabled){border-color:var(--red);background:#3e212d77}
.demo-account>span:nth-child(2){flex:1;display:flex;flex-direction:column}
.demo-account strong{font-size:.95rem}
.demo-account small{font-size:.77rem;color:var(--muted)}
.demo-account>.icon{color:#b999a3}
.facebook-pending{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:12px;margin-top:25px;background:#24202e;border:1px solid var(--line-bright);border-radius:9px;font-size:.85rem}
.facebook-pending b{font:bold 24px Arial}
.account-summary{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:20px}
.account-summary p{color:var(--muted);font-size:.78rem;margin-top:3px}
.account-actions{display:flex;flex-direction:column;gap:10px}
.account-actions .btn{justify-content:flex-start}
.composer-modal{width:min(680px,calc(100vw - 30px))}
.composer-author{display:flex;align-items:center;gap:12px;margin:20px 0}
.composer-author>div{flex:1;display:flex;flex-direction:column}
.composer-author strong{font-size:.9rem}
.composer-author>div>span{font-size:.77rem;color:var(--muted)}
.small-badge{background:#25212a;color:#b4a3b6;border:1px solid var(--line-bright);padding:3px 8px;border-radius:5px;font-size:.75rem}
.post-form textarea{background:transparent;border:0;border-bottom:1px solid var(--line-bright);border-radius:0;margin-bottom:20px;padding:7px 0 13px;min-height:95px}
.upload-zone{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;min-height:160px;border:1px dashed #b79bac44;border-radius:12px;background:#1e192355;cursor:pointer;padding:22px;text-align:center}
.upload-zone:hover,.upload-zone.dragging{border-color:var(--red);background:#61253330}
.upload-zone>.icon{color:var(--red);width:30px;height:30px}
.upload-zone strong{font-size:.94rem;font-weight:500}
.upload-zone>span{font-size:.76rem;color:var(--muted)}
.upload-zone.full{display:none}
.upload-note{display:flex;align-items:flex-start;gap:7px;color:#9990a2;font-size:.76rem;margin-top:12px}
.upload-note .icon{width:13px;height:13px;margin-top:3px}
.upload-previews{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:15px}
.upload-preview{position:relative;aspect-ratio:1;border:1px solid var(--line-bright);border-radius:7px;background:#0a0a0f;overflow:hidden}
.upload-preview img{width:100%;height:100%;object-fit:cover}
.upload-preview>span{position:absolute;bottom:4px;left:6px;font-size:.75rem;text-shadow:0 1px 5px #000}
.remove-upload{position:absolute;top:4px;right:4px;width:25px;height:25px;border:0;display:flex;align-items:center;justify-content:center;background:#09090dcc;border-radius:50%;color:white;padding:4px}
.remove-upload .icon{width:15px;height:15px}
#upload-status{font-size:.79rem;color:#d68a9a;margin-top:7px}
.reason-selected{display:flex;align-items:center;gap:12px;border:1px solid #fa3a503b;background:#fa3a500b;border-radius:9px;padding:15px;margin-bottom:20px;font-size:.94rem}
.reason-selected .icon:first-child{color:var(--red)}
.reason-selected .icon:last-child{margin-left:auto;color:var(--red)}
.modal label{font-size:.84rem}
.modal textarea[name=detail]{margin-top:8px}
.share-modal{width:min(580px,calc(100vw - 30px))}
.share-preview{min-height:200px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid var(--line-bright);border-radius:10px;overflow:hidden;background:#09090e}
.share-preview>img{max-height:50vh;object-fit:contain}
.share-preview p{font-size:.85rem;color:var(--muted);padding:20px;text-align:center}
.loading-spinner{width:28px;height:28px;border:2px solid #ffffff15;border-top-color:var(--red);border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.gallery-modal{width:min(1180px,calc(100vw - 25px))}
.gallery-modal .modal-shell{padding:16px}
.gallery-modal .modal-heading{padding-left:7px;margin-bottom:10px}
.gallery-modal .modal-heading h2{font-size:.94rem}
.lightbox{position:relative;display:flex;justify-content:center;background:#08080d;border-radius:7px;overflow:hidden}
.lightbox>img{max-height:73vh;max-width:100%;object-fit:contain}
.game-form label{display:flex;flex-direction:column;gap:6px;margin:14px 0}
.game-form input[type=file]{font-size:.76rem}
.game-form input[type=file]::file-selector-button{background:#322736;border:0;color:#eee;border-radius:5px;padding:5px 10px;margin-right:10px;font:inherit}
.source-list>div{padding:16px 0;border-top:1px solid var(--line)}
.source-list h3{font-size:.97rem}
.source-list a{font-size:.8rem;color:#ce95a8;overflow-wrap:anywhere}
.source-list a .icon{width:13px;height:13px;margin-left:5px}
.source-list p{font-size:.75rem;margin-top:8px}
.source-list p a{font-size:.75rem;color:var(--muted)}
.muted{color:var(--muted)}
.modal p.muted{font-size:.77rem}
#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);max-width:min(90vw,580px);padding:13px 22px;color:#f3eef4;background:#312332;border:1px solid #b26a8045;border-radius:10px;box-shadow:0 10px 50px #0008;font-size:.88rem;opacity:0;pointer-events:none;z-index:999;transition:opacity .2s,transform .2s;text-align:center}
#toast.visible{opacity:1;transform:translate(-50%,0)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;left:15px;top:-80px;z-index:100;background:var(--red);color:white;border-radius:5px;padding:9px 14px}
.skip-link:focus{top:10px}
.startup-error{padding:12vh 8vw}
.startup-error h1{font-size:1.4rem;max-width:750px;margin-top:30px}
@media(min-width:1500px){
  .selection{padding-top:70px}
  .game-card{min-height:460px}
}
@media(max-width:1180px){
  .container{padding-left:26px;padding-right:26px}
  .header-inner{padding:0 26px}
  .nav-btn{padding-left:11px;padding-right:11px;font-size:.84rem}
  .game-grid{gap:12px}
  .game-card{min-height:360px}
  .card-bottom{left:15px;right:15px;bottom:16px}
  .card-top{left:14px;right:14px}
  .game-enter{padding-top:14px}
  .game-enter>span:first-child{font-size:.75rem}
  .feed-layout{grid-template-columns:minmax(0,1fr) 255px;gap:22px}
  .character-panel{height:430px}
  .composer-trigger{padding:16px;gap:11px}
  .composer-trigger .btn{padding-left:12px;padding-right:12px;font-size:.81rem}
  .reaction{gap:6px;font-size:.8rem}
}
@media(max-width:960px){
  .topbar{height:76px}
  .header-inner{gap:12px}
  .brand{font-size:1.45rem;gap:7px}
  .brand-mark{width:27px;height:33px}
  nav{gap:3px}
  .nav-btn{padding:0 10px;gap:7px}
  .nav-btn[data-action=profile]>span{display:none}
  .login-btn,.account-btn{padding:9px 13px;margin-left:5px}
  .game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
  .game-card{min-height:360px;aspect-ratio:.67}
  .card-bottom h2{font-size:1.35rem}
  .game-enter>span:first-child{font-size:.8rem}
  .feed-aside{display:none}
  .feed-layout{display:block;max-width:800px;margin:0 auto}
  .feed-heading{max-width:800px;margin-left:auto;margin-right:auto}
  .feed-heading h1{font-size:1.9rem}
  .profile-banner{padding:28px;gap:20px}
  .profile-identity{gap:19px}
  .profile-stats{gap:20px}
  .profile-meta{align-items:flex-start}
}
@media(max-width:640px){
  .container{padding-left:16px;padding-right:16px}
  .header-inner{padding:0 15px;gap:7px}
  .topbar{height:67px}
  .brand{font-size:1.15rem;gap:4px}
  .brand-mark{width:21px;height:29px}
  nav{gap:0}
  .nav-btn{padding:0 9px;min-width:36px}
  .nav-btn .icon{width:18px;height:18px}
  .nav-btn[data-action=home]>span,.nav-btn[data-action=profile]>span{display:none}
  .nav-btn[data-action=lang]{gap:0;padding:0 8px;font-size:.75rem}
  .nav-btn[data-action=lang] .icon{display:none}
  .nav-btn.active:after{left:9px;right:9px}
  .login-btn,.account-btn{font-size:.76rem;padding:7px 9px;margin-left:4px;min-width:0;gap:5px}
  .login-btn .icon{width:16px;height:16px}
  .demo-strip{padding:7px 15px;gap:7px;text-align:left;align-items:flex-start;font-size:.75rem;line-height:1.6}
  .demo-pill{font-size:.75rem;margin-top:1px}
  .selection{padding-top:32px;padding-bottom:38px}
  .section-heading{margin-bottom:25px;align-items:center}
  .section-heading h1{font-size:1.7rem}
  .section-heading p{font-size:.86rem;margin-top:5px}
  .eyebrow{font-size:.75rem}
  .game-total{display:none}
  .game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .game-card{min-height:310px;aspect-ratio:.6}
  .game-card:last-child{grid-column:auto}
  .card-top{top:13px;left:12px;right:12px;font-size:.75rem}
  .game-postcount{font-size:.75rem;padding:2px 6px}
  .card-bottom{left:14px;right:14px;bottom:16px}
  .publisher{font-size:.75rem;letter-spacing:.11em}
  .card-bottom h2{font-size:1.09rem;margin:9px 0 16px}
  .game-enter{padding-top:12px;gap:4px}
  .game-enter>span:first-child{font-size:.75rem}
  .arrow-circle{width:26px;height:26px;min-width:26px}
  .arrow-circle .icon{width:14px;height:14px}
  .selection-note{flex-direction:column;gap:9px;align-items:flex-start;font-size:.76rem;margin-top:22px}
  footer{padding:22px 16px 26px;font-size:.75rem;gap:12px;flex-wrap:wrap}
  .footer-brand{font-size:.95rem}
  footer .text-btn{font-size:.75rem}
  footer>span{font-size:.75rem}
  .footer-brand .brand-mark{width:18px;height:22px}
  .feed-container{padding-top:18px}
  .feed-heading{align-items:flex-end;gap:12px;margin-bottom:18px}
  .feed-heading h1{font-size:1.35rem;line-height:1.3}
  .breadcrumb{font-size:.75rem;margin-bottom:8px}
  .sort-label{font-size:.75rem;gap:6px}
  .sort-label>span{display:none}
  .sort-label select{font-size:.79rem;min-width:107px;padding:8px 20px 8px 9px}
  .composer-trigger{gap:10px;padding:14px 12px}
  .composer-trigger>.avatar{width:35px;height:35px;font-size:.88rem}
  .compose-text strong{font-size:.88rem}
  .compose-text span{font-size:.75rem}
  .composer-trigger>.btn{font-size:0;width:37px;height:37px;min-height:37px;padding:8px;border-radius:9px;gap:0}
  .composer-trigger>.btn .icon{width:20px;height:20px}
  .post-card{margin-bottom:17px;border-radius:12px}
  .post-head{padding:16px 14px 0}
  .post-head .avatar{width:37px;height:37px;font-size:.9rem}
  .author-button{gap:9px}
  .author-button strong{font-size:.88rem}
  .author-button time{font-size:.75rem}
  .post-caption{font-size:.9rem;padding:13px 14px 14px}
  .post-image-wrap{margin:0 8px;border-radius:6px}
  .post-actions{padding:5px 5px;grid-template-columns:1fr 1.28fr .8fr}
  .reaction{gap:5px;min-height:45px;font-size:.75rem;padding:8px 4px}
  .reaction .icon{width:17px;height:17px}
  .reaction b{font-size:.75rem}
  .sample-label{font-size:.75rem;padding:16px 9px 6px}
  .image-counter{font-size:.75rem;top:9px;right:9px}
  .gallery-arrow{width:31px;height:37px}
  .gallery-arrow.prev{left:7px}.gallery-arrow.next{right:7px}
  .comments-panel{padding:16px 12px}
  .comment-bubble{padding:9px 11px}
  .comment-bubble p{font-size:.81rem}
  .comment-bubble strong{font-size:.75rem}
  .comment-bubble time{font-size:.75rem}
  .comment-node.nested{margin-left:12px;padding-left:9px}
  .comment-row{gap:8px}
  .comment-row .avatar{width:29px;height:29px;font-size:.75rem}
  .comment-input-row input{font-size:.8rem;padding-left:12px;padding-right:10px}
  .profile-page,.admin-page{padding-top:25px}
  .profile-banner{flex-direction:column;align-items:flex-start;padding:24px;gap:24px}
  .profile-identity{gap:16px}
  .avatar.large{width:70px;height:70px;font-size:1.8rem}
  .profile-identity h1{font-size:1.5rem}
  .profile-identity .eyebrow{font-size:.75rem}
  .locked-label{font-size:.75rem}
  .profile-stats{width:100%;border-top:1px solid var(--line-bright);padding-top:15px;gap:40px}
  .profile-stats>div{flex:1;align-items:flex-start}
  .profile-stats strong{font-size:1.4rem}
  .profile-meta{flex-direction:column;gap:13px}
  .profile-meta p{font-size:.75rem}
  .profile-list-heading h2{font-size:1rem}
  .admin-tabs{gap:16px;overflow-x:auto;margin-top:15px}
  .admin-tab{font-size:.81rem;white-space:nowrap}
  .admin-game,.admin-member{padding:13px;gap:11px;flex-wrap:wrap}
  .admin-game>img{width:66px;height:54px}
  .admin-game .button-row{margin-left:auto}
  .admin-game h3,.admin-member h3{font-size:.85rem}
  .admin-game p,.admin-member p{font-size:.75rem}
  .admin-game .btn,.admin-member .btn{padding:7px 10px;font-size:.75rem;min-height:35px}
  .admin-report{padding:15px}
  .report-preview{flex-direction:column;gap:13px}
  .report-preview>img{width:100%;height:150px}
  .admin-report .btn{font-size:.75rem;padding:8px 11px}
  .modal-shell{padding:19px}
  .modal-heading h2{font-size:1.05rem}
  .modal-description{font-size:.8rem}
  .modal-footer .btn{font-size:.79rem;padding:9px 12px;gap:6px}
  .modal-footer .btn .icon{width:16px;height:16px}
  .demo-account{padding:12px}
  .upload-zone{min-height:130px;padding:19px 12px}
  .upload-zone strong{font-size:.82rem}
  .upload-zone>span{font-size:.75rem}
  .upload-note{font-size:.75rem}
  .upload-previews{grid-template-columns:repeat(4,minmax(0,1fr))}
  .small-badge{font-size:.75rem;padding:2px 5px}
  .share-modal .modal-footer{justify-content:center}
  .game-form input[type=file]{max-width:100%}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* Readable regular controls; metadata never falls below 12px. */
.post-caption,.comment-bubble p{font-size:1rem}
.nav-btn,.text-btn,.reaction,.sort-label,.sort-label select,.btn,.game-enter>span:first-child,.compose-text strong,.admin-tab,.menu-item{font-size:.875rem}
@media(max-width:640px){.nav-btn[data-action=lang],.login-btn,.account-btn{font-size:.8rem}.reaction{flex-wrap:wrap;column-gap:5px;row-gap:0}.reaction b{font-size:.75rem}.reaction>span{font-size:.8rem}.game-enter>span:first-child{font-size:.8rem}.composer-trigger>.btn{font-size:0}}
@media(max-width:380px){.header-inner{padding:0 10px;gap:4px}.brand{font-size:1rem}.brand-mark{width:18px}.nav-btn{padding:0 6px;min-width:30px}.login-btn,.account-btn{padding:6px;font-size:.75rem}.login-btn .icon{display:none}}

/* Combined feed, official character picker and share composer. */
.all-games-card{background:radial-gradient(ellipse at 50% 27%,#fa3a5028,transparent 62%),linear-gradient(155deg,#2c1720,#111118);--game-accent:var(--red)}
.all-games-card:before{content:"";position:absolute;width:210px;height:210px;border:1px solid #fa3a5020;border-radius:50%;left:50%;top:22%;transform:translateX(-50%)}
.all-games-symbol{position:absolute;top:24%;left:50%;transform:translateX(-50%);display:grid;justify-items:center;gap:15px;color:var(--red)}
.all-games-symbol>.icon{width:66px;height:66px;stroke-width:1.2}
.all-games-symbol>span{font-size:.75rem;font-weight:700;letter-spacing:.3em;padding-left:.3em;color:#db9da6}
.all-games-card .card-bottom p{font-size:.875rem;line-height:1.6;color:#b9a4ad;margin:0 0 16px}
.game-card .card-bottom{left:18px;right:18px}
.game-card h2{font-size:clamp(1.15rem,1.6vw,1.65rem);overflow-wrap:break-word}
.game-enter>span:first-child{font-size:.875rem}
.game-enter .arrow-circle{width:27px;height:27px;min-width:27px;flex-shrink:0}
.feed-heading h1>.icon{width:28px;height:28px;vertical-align:-2px;color:var(--red)}
.post-game-label{display:inline-flex;align-items:center;gap:7px;margin:0 24px 8px;padding:5px 9px;border-radius:5px;color:#d5bfc9;font-size:.875rem;background:#fa3a5010;border:1px solid #fa3a5024}
.post-game-label .icon{width:13px;height:13px}
.reaction.envy.selected{color:#e8c566;background:#e8c5660b}
.post-actions .reaction{min-width:0;gap:7px;flex-wrap:wrap}
.post-actions .reaction>span{font-size:.875rem}
.comment-tools .icon{width:12px;height:12px}
.character-widget{border:1px solid #ae657838;border-radius:var(--radius);background:#14121b;overflow:hidden}
.character-widget .character-panel{border:0;border-radius:0;height:365px}
.character-widget .character-art{width:100%;height:100%;left:0;top:0;object-fit:contain;object-position:center 20%;animation:character-in .35s ease-out}
.character-widget .character-caption{left:18px;right:18px;bottom:18px}
.character-widget .character-caption h2{font-size:1.35rem;margin:6px 0}
.character-widget .character-shade{background:linear-gradient(180deg,transparent 52%,#11101865 65%,#111018f5 100%)}
.character-controls{padding:12px 13px 14px}
.character-control-row{display:flex;align-items:center;gap:5px}
.character-control-row .icon-btn{width:28px;height:30px}
.character-position{font-size:.75rem;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.character-lock{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:1;padding:7px 5px;font-size:.875rem;border:1px solid #ffffff18;border-radius:6px;background:#ffffff05;white-space:nowrap}
.character-lock .icon{width:14px;height:14px}
.character-lock.selected{color:#ffc1cb;border-color:#fa3a5080;background:#fa3a5010}
.character-status{display:flex;align-items:center;justify-content:center;gap:5px;margin:9px 0 11px;color:#9b95a4;font-size:.875rem}
.character-status .icon{width:12px;height:12px}
.character-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;max-height:145px;overflow-y:auto;scrollbar-width:thin}
.character-thumb{padding:0;overflow:hidden;background:#24202d;border:1px solid #ffffff12;border-radius:6px;aspect-ratio:1;transition:border-color .2s,background .2s}
.character-thumb img{width:100%;height:100%;object-fit:cover;object-position:center 15%}
.character-thumb:hover{border-color:#c1a4ba}
.character-thumb.selected{border:2px solid var(--red);background:#5d293d;box-shadow:inset 0 0 0 1px #fa3a5044}
.post-game-picker{display:flex;flex-direction:column;gap:8px}
.post-game-choice{display:flex;align-items:center;text-align:left;gap:14px;padding:10px;border:1px solid var(--line-bright);border-radius:9px;background:#ffffff03}
.post-game-choice:hover{border-color:var(--red)}
.post-game-choice img{width:58px;height:50px;object-fit:cover;border-radius:5px}
.post-game-choice strong{flex:1}
.share-colors{padding:0;margin:6px 0 18px;border:0;min-width:0}
.share-colors legend{font-size:.85rem;font-weight:600;margin-bottom:10px}
.share-swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
.share-swatch{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 3px;border-radius:8px;border:1px solid transparent;font-size:.875rem;color:var(--muted)}
.share-swatch:hover{background:#ffffff05}
.share-swatch.selected{border-color:var(--tone);background:#ffffff05;color:#fff}
.tone-dot{display:grid;place-items:center;background:var(--tone);color:#101019;width:27px;height:27px;border-radius:50%}
.tone-dot .icon{width:17px;height:17px;stroke-width:2.5}
.share-quote-editor{margin-bottom:18px}
.share-quote-editor label{display:block;font-size:.875rem;font-weight:600;margin:12px 0 7px}
.share-quote-editor select,.share-quote-editor textarea{width:100%}
.share-quote-editor select{padding:10px;background:#17151f;border:1px solid var(--line-bright);color:#eee;border-radius:7px}
.share-hint{font-size:.75rem;line-height:1.7;color:var(--muted);margin:8px 0 14px}
.share-preview>img{width:100%;max-height:55vh;object-fit:contain}
@keyframes character-in{from{opacity:.25}to{opacity:1}}
@media(max-width:1180px) and (min-width:961px){.game-grid{gap:10px}.game-card .card-bottom{left:12px;right:12px}.game-enter{gap:5px}.game-enter>span:first-child{font-size:.875rem}.character-widget .character-panel{height:325px}.post-actions .reaction{gap:4px}.post-actions .reaction>span{font-size:.875rem}.post-actions .reaction .icon{width:17px;height:17px}}
@media(max-width:960px){.feed-aside{display:flex;position:static;margin-top:24px}.feed-aside .ranking,.feed-aside .retention-note{display:none}.character-widget{display:grid;grid-template-columns:1fr 1fr;max-width:620px;width:100%;margin:auto}.character-widget .character-panel{height:290px}.character-controls{align-self:center}.character-thumbs{max-height:174px}.game-card h2{font-size:1.6rem}}
@media(max-width:640px){.post-actions{grid-template-columns:1fr 1fr 1.15fr .72fr;padding:7px 3px}.post-actions .reaction{column-gap:4px;row-gap:2px;padding:7px 2px}.post-actions .reaction>span{font-size:.875rem}.post-actions .reaction .icon{width:17px;height:17px}.post-game-label{margin-left:16px}.game-card h2{font-size:1.3rem}.all-games-symbol{top:22%}.all-games-symbol>.icon{width:56px;height:56px}.character-widget .character-panel{height:250px}.character-controls{padding:8px}.character-thumbs{gap:4px;grid-template-columns:repeat(4,minmax(0,1fr));max-height:130px}.character-position{display:none}.character-lock{font-size:.875rem}.character-control-row{gap:2px}.character-control-row .icon-btn{width:23px}.character-status{font-size:.75rem}.character-widget .character-caption{left:12px;right:12px}.character-widget .character-caption h2{font-size:1.1rem}.share-swatches{gap:3px}.share-swatch{font-size:.875rem}}
@media(prefers-reduced-motion:reduce){.character-widget .character-art{animation:none}}
