/* HABJAN GAMES Community (no AdSense assets on community routes). */
.community-page{width:min(1200px,calc(100% - 36px));margin:0 auto 80px;padding-top:calc(var(--header-height, 86px) + 32px)}
.community-kicker{font-size:11px;font-weight:800;letter-spacing:.23em;text-transform:uppercase;color:#e7ba62}
.community-page h1{font-size:clamp(34px,5vw,56px);line-height:1.1;margin:13px 0 16px;color:#faf7f2}
.community-lead{max-width:790px;color:#aaa;line-height:1.85;font-size:15px;margin-bottom:26px}
.community-flags{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 25px}
.community-badge{font-size:11px;color:#dbc18f;border:1px solid #776038;border-radius:999px;padding:7px 12px;background:#19160f}
.community-grid{display:grid;grid-template-columns:minmax(230px,300px) minmax(0,1fr);gap:18px}
.community-panel{background:linear-gradient(145deg,#151515,#0b0c0e);border:1px solid rgba(209,163,78,.23);border-radius:15px;padding:23px;min-width:0}
.community-panel h2{font-size:18px;color:#fff;margin:0 0 15px}.community-panel p{line-height:1.65}
.community-hint{color:#a4a4a4;font-size:12px;line-height:1.65;margin-top:13px}
.community-field{display:block;font-size:12px;color:#eee;margin-top:15px}
.community-field input,.community-field select,.community-compose textarea,.community-report-text{display:block;width:100%;margin-top:8px;padding:12px 13px;background:#0a0a0a;border:1px solid #505050;color:#f7f7f7;border-radius:8px;font:inherit}
.community-field input:focus-visible,.community-field select:focus-visible,.community-compose textarea:focus-visible{outline:2px solid #d8ab50;outline-offset:2px}
.community-action{border:1px solid #d2a24d;border-radius:9px;background:linear-gradient(145deg,#d6aa5c,#a67b2f);color:#12110e;font-weight:800;font-size:12px;padding:11px 16px;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:42px}
.community-action:hover{filter:brightness(1.09)}.community-action:disabled{opacity:.55;cursor:not-allowed}
.community-action.secondary{background:#1a1916;color:#e7c992;border-color:#695430}
.community-roomlist{display:flex;flex-direction:column;gap:8px;margin:15px 0}
.community-roomlist button{display:flex;justify-content:space-between;text-align:left;align-items:center;background:#111;border:1px solid #35302a;color:#eee;border-radius:9px;padding:14px 12px;cursor:pointer;font-size:13px}
.community-roomlist button.active{background:#2a2111;border-color:#d2a24d;color:#f6d9a1}
.community-login{margin-top:18px;border-top:1px solid #313131;padding-top:19px}
.community-auth-state{font-size:12px;color:#dbb875;margin-top:12px;overflow-wrap:anywhere}
.community-room-title{display:flex;justify-content:space-between;gap:9px;align-items:center;border-bottom:1px solid #303030;padding-bottom:15px;margin-bottom:5px}
.community-room-title h2{margin:0}.community-status{font-size:11px;color:#adb9a6;white-space:nowrap}
.community-messages{min-height:370px;max-height:520px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:16px 5px 16px 0;scrollbar-color:#76603b #141414}
.community-entry{background:#191919;border:1px solid #313131;border-radius:11px;padding:12px 14px;overflow-wrap:anywhere}
.community-entry-top{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-bottom:7px}
.community-entry-nick{color:#e7bb69;font-size:12px;font-weight:800}.community-entry-date{color:#898989;font-size:10px}
.community-entry-content{white-space:pre-wrap;color:#ececec;font-size:14px;line-height:1.6;margin:0}
.community-report{border:0;background:none;color:#a5a5a5;cursor:pointer;font-size:11px;padding:5px 0 0;text-decoration:underline;text-underline-offset:2px}
.community-empty{margin:auto;text-align:center;color:#888;font-size:13px;padding:50px 10px}
.community-compose{border-top:1px solid #303030;padding-top:14px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}
.community-compose textarea{resize:vertical;min-height:52px;max-height:130px;margin:0;padding-top:17px;line-height:1.5}.community-bottom{font-size:11px;color:#888;margin-top:10px;line-height:1.6}
.community-alert{border:1px solid #a57945;background:#322413;color:#ffdb9c;border-radius:9px;padding:10px 12px;font-size:12px;line-height:1.5;margin:10px 0}
.community-hidden{display:none!important}
.community-home-activity{width:min(1180px,calc(100% - 40px));margin:22px auto 38px;padding:23px 28px;background:linear-gradient(110deg,rgba(208,159,65,.09),rgba(255,255,255,.015));border:1px solid #5a4728;border-radius:13px;display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.community-home-activity strong{color:#f2d08d;font-size:17px}.community-home-activity p{font-size:12px;color:#aaa;margin:7px 0 0}.community-online-count{display:inline-flex;align-items:center;gap:8px;color:#eee;font-size:14px}.community-online-dot{width:8px;height:8px;border-radius:50%;background:#81bf8b}
.community-home-activity a{border:1px solid #ab8344;border-radius:8px;color:#f3d299;padding:10px 15px;font-size:12px;font-weight:800;text-decoration:none}
.community-privacy-choice{position:fixed;left:14px;bottom:14px;z-index:10000;max-width:350px;background:#151515;border:1px solid #8f753f;box-shadow:0 10px 34px #000b;color:#fff;border-radius:11px;padding:17px;font:12px/1.6 Arial,sans-serif}
.community-privacy-choice strong{display:block;color:#e9c57f;font-size:14px;margin-bottom:4px}.community-privacy-choice p{margin:5px 0 12px;color:#d2d2d2}.community-privacy-choice button{border:1px solid #b58f4e;background:#2b2519;color:#f7dba5;border-radius:6px;padding:7px 13px;margin:0 6px 0 0;cursor:pointer}
@media(max-width:850px){.community-grid{grid-template-columns:1fr}.community-messages{min-height:330px}.community-page{padding-top:calc(var(--header-height, 72px) + 24px)}}
@media(max-width:480px){.community-page{width:calc(100% - 24px)}.community-panel{padding:17px}.community-compose{grid-template-columns:1fr}.community-compose button{width:100%}.community-home-activity{width:calc(100% - 24px);padding:18px}.community-privacy-choice{left:8px;right:8px;bottom:8px;max-width:none}}

@media(min-width:761px) and (max-width:1350px){.site-header .header-inner{gap:17px}.site-header .main-nav{gap:clamp(8px,1.4vw,19px)}.site-header .main-nav a{font-size:clamp(10px,0.86vw,12px);letter-spacing:.04em}}

/* Community rooms created by verified members. */
.community-custom{border-top:1px solid #35302a;margin-top:21px;padding-top:19px}
.community-custom h3{font-size:15px;color:#f2d08d;margin:0 0 10px}
.community-custom .community-roomlist{max-height:280px;overflow-y:auto}
.community-custom .community-roomlist button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;overflow-wrap:anywhere}
.community-custom .community-roomlist button strong{font-size:13px;color:#eee}
.community-custom .community-roomlist button span{font-size:11px;color:#aaa;font-weight:400}
.community-custom #community-room-refresh{width:100%;margin-bottom:9px}
.community-custom form{padding-top:15px;margin-top:15px;border-top:1px solid #35302a}
.community-custom form button{margin-top:14px;width:100%}
