/* KeepTalkingUK 1.1 — welcoming, website-first community design. */
.community-html { color-scheme: light; --kt-ink:#263b3c; --kt-muted:#748485; --kt-deep:#14796f; --kt-main:#168d80; --kt-light:#e4f5ef; --kt-stroke:#e6e9e3; --kt-bg:#faf9f5; --kt-white:#fff; --kt-peach:#fff0e5; }
.community-html, .community-html body, .community-html #root { background:var(--kt-bg); color:var(--kt-ink); height:100%; min-height:100%; }
.community-html .community-app { font-family:'Segoe UI',Inter,Arial,sans-serif; min-height:100vh; background:radial-gradient(circle at 8% 14%,#e8f5ef 0, transparent 28%),var(--kt-bg); color:var(--kt-ink); }
.community-html .community-app h1,.community-html .community-app h2,.community-html .community-app h3,.community-html .community-app h4 { color:#203c3a; letter-spacing:-.035em; }
.community-html .community-app p { color:#758481; line-height:1.6; }
.community-html .community-app a { color:var(--kt-deep); }
.community-html .community-app button { transition:background .15s ease,transform .15s ease,color .15s ease; }
.community-html .community-app button:hover:not(:disabled) { transform:translateY(-1px); }
.community-html .community-app input,.community-html .community-app textarea { display:block; background:#fff; color:var(--kt-ink); border:1px solid #dfe7df; padding:12px 14px; border-radius:12px; font-size:14px; width:100%; }
.community-html .community-app input::placeholder,.community-html .community-app textarea::placeholder { color:#acb8b3; }
.community-html .community-app input:focus,.community-html .community-app textarea:focus { outline:2px solid #9bdad0; border-color:var(--kt-main); }
.community-html .community-app label { display:block; font-size:13px; font-weight:700; letter-spacing:0; color:#445956; margin-bottom:15px; }
.community-html .community-app label input,.community-html .community-app label textarea { margin-top:7px; font-weight:400; }
.kt-container { width:min(1340px,calc(100% - 48px)); margin:0 auto; }
.kt-topbar { background:#fffdfb; border-bottom:1px solid #e8ebe6; position:relative; z-index:9; }
.kt-topbar-inner { display:flex; align-items:center; min-height:80px; gap:36px; }
.kt-brand { display:inline-flex; gap:11px; align-items:center; font-size:21px; color:#1a5e58!important; font-weight:750; letter-spacing:-.045em; white-space:nowrap; }
.kt-brand:hover { text-decoration:none; }
.kt-brand-mark { display:flex; justify-content:center; align-items:center; width:43px; height:43px; border-radius:15px 15px 15px 4px; color:white; background:#1a9a8a; font-size:28px; font-weight:850; box-shadow:0 6px 19px #1a9a8a35; }
.kt-brand b { color:#eaa26e; font-weight:800; }
.kt-top-nav { display:flex; align-items:center; gap:8px; flex:1; }
.kt-nav-link { color:#627672!important; background:none; border:0; border-radius:12px; padding:11px 17px; font-size:13px; font-weight:650; white-space:nowrap; }
.kt-nav-link.active { color:#178478!important; background:#eaf8f2; }
.kt-nav-link:hover { text-decoration:none; background:#f0f7f3; }
.kt-top-account { display:flex; align-items:center; gap:10px; }
.kt-account-name { background:none; border:0; color:#254844; font-weight:750; font-size:13px; max-width:120px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.kt-sign-out { border:1px solid #e0e7e0; background:#fff; color:#637a76; padding:9px 12px; border-radius:11px; font-size:12px; font-weight:700; }
.kt-header-join { background:#1b9585; color:white; border:0; border-radius:13px; padding:13px 17px; font-size:13px; font-weight:700; white-space:nowrap; }
.kt-card { background:#fff; border:1px solid #e9ede7; border-radius:20px; box-shadow:0 8px 35px #284b3b0a; }
.kt-button { background:#178f82; border:none; color:#fff; font-weight:700; padding:12px 19px; border-radius:12px; font-size:13px; display:inline-flex; align-items:center; justify-content:center; white-space:nowrap; }
.kt-button:hover:not(:disabled) { background:#087a6e; }
.kt-secondary { display:inline-flex; align-items:center; justify-content:center; border:1px solid #dce8e0; border-radius:12px; padding:11px 16px; color:#286b64; background:#f6fbf7; font-size:13px; font-weight:700; }
.kt-link { background:none; border:0; color:#208476; font-size:13px; font-weight:700; padding:0; }
.kt-wide { width:100%; padding:15px; }
.kt-eyebrow,.kt-kicker { color:#168e7e; font-size:11px; letter-spacing:.17em; font-weight:800; }
.kt-muted { color:#7b8b86!important; font-size:13px; }
.kt-avatar { display:flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:15px; background:#d9f3e9; color:#196f66; font-weight:800; font-size:14px; flex-shrink:0; }
.kt-avatar.small { width:36px; height:36px; border-radius:13px; font-size:12px; }
.kt-avatar.mini { width:31px; height:31px; border-radius:11px; font-size:11px; }
.kt-avatar.large { width:86px; height:86px; border-radius:25px; font-size:28px; box-shadow:0 9px 25px #275a481b; border:4px solid #fff; }
.kt-avatar.coral,.kt-colour.coral { background:#ffe5d5; color:#ae5b3e; }
.kt-avatar.blue,.kt-colour.blue { background:#dfedfa; color:#386d9d; }
.kt-avatar.plum,.kt-colour.plum { background:#efdef5; color:#874f9a; }
.kt-avatar.gold,.kt-colour.gold { background:#f9eccc; color:#986925; }
.kt-avatar.sage,.kt-colour.sage { background:#e7efd9; color:#63824a; }
.kt-avatar-button { border:0; padding:0; background:none; border-radius:14px; }
/* Public landing */
.kt-public-hero { min-height:calc(100vh - 142px); display:grid; grid-template-columns:minmax(0,1.16fr) minmax(350px,.84fr); gap:8%; align-items:center; padding-top:64px; padding-bottom:64px; }
.kt-landing-copy { padding:12px 0; }
.kt-landing-copy h1 { font-size:clamp(48px,5.1vw,76px); font-weight:850; line-height:1.06; margin:20px 0 23px; max-width:650px; }
.kt-landing-copy h1 span { color:#159d8c; display:block; }
.kt-landing-copy>p { font-size:17px; max-width:590px; margin-bottom:23px; }
.kt-hero-chips { display:flex; gap:11px; flex-wrap:wrap; }
.kt-hero-chips span { border:1px solid #dbeae2; background:#fff; color:#57756e; border-radius:30px; padding:9px 14px; font-size:12px; font-weight:700; }
.kt-illustration { height:230px; position:relative; margin-top:33px; max-width:550px; background:radial-gradient(ellipse at 50% 80%,#d2efe5 0,transparent 67%); }
.kt-bubble { position:absolute; padding:18px 22px; background:#fff; color:#365c57; box-shadow:0 16px 38px #255c4116; border:1px solid #e7ede5; border-radius:21px 21px 21px 5px; font-size:16px; font-weight:750; }
.kt-bubble.one { top:23px; left:6%; transform:rotate(-5deg); }
.kt-bubble.two { top:102px; right:4%; background:#d9f5e7; border-color:#d4eee2; border-radius:21px 21px 5px 21px; transform:rotate(3deg); }
.kt-bubble.three { top:153px; left:12%; font-size:13px; transform:rotate(-2deg); }
.kt-auth-card { padding:36px; max-width:470px; width:100%; justify-self:end; box-shadow:0 23px 65px #31513c17; }
.kt-form-header h2 { font-size:30px; margin:9px 0; }
.kt-form-header p { margin:0 0 24px; font-size:13px; }
.kt-auth-tabs { display:grid; grid-template-columns:1fr 1fr; background:#f3f6f2; border-radius:12px; padding:4px; margin-bottom:25px; gap:4px; }
.kt-auth-tab { border:0; background:transparent; border-radius:9px; padding:11px; color:#6c817b; font-size:13px; font-weight:700; }
.kt-auth-tab.active { background:#fff; color:#167e72; box-shadow:0 3px 8px #102d1910; }
.kt-auth-card .kt-terms { font-size:11px; text-align:center; margin:17px 0 0; }
.kt-error { background:#fff0ee; color:#a2403b; border:1px solid #f2cfcb; padding:12px 14px; border-radius:10px; margin:10px 0; font-size:12px; }
.kt-public-footer { color:#91a099; font-size:12px; padding:20px 0 25px; border-top:1px solid #e9ebe5; }
/* Signed-in community */
.kt-dashboard { padding-top:31px; padding-bottom:44px; }
.kt-welcome-banner { display:flex; justify-content:space-between; align-items:center; border-radius:22px; padding:29px 37px; margin-bottom:27px; background:linear-gradient(105deg,#d7f2e6,#e9f7e9 62%,#fff2df); overflow:hidden; min-height:145px; }
.kt-welcome-banner h1 { font-size:30px; margin:7px 0 6px; }
.kt-welcome-banner em { font-style:normal; color:#0c8d7e; }
.kt-welcome-banner p { margin:0; font-size:13px; color:#698478; }
.kt-banner-doodle { color:#a8dac2; font-size:116px; line-height:.4; transform:rotate(18deg); }
.kt-chat-grid { display:grid; grid-template-columns:245px minmax(360px,1fr) 258px; gap:19px; min-height:650px; align-items:stretch; }
.kt-rooms { padding:20px 14px 16px; display:flex; flex-direction:column; }
.kt-section-heading { display:flex; align-items:center; justify-content:space-between; padding:0 8px; }
.kt-section-heading h3,.kt-people h3 { font-size:16px; margin:0; }
.kt-round { display:inline-flex; align-items:center; justify-content:center; width:29px; height:29px; border-radius:10px; border:0; background:#e5f6ed; color:#168b7c; font-size:22px; }
.kt-aside-intro { font-size:12px; padding:0 8px; margin:11px 0 20px; }
.kt-room { padding:10px 12px; width:100%; border:0; border-radius:12px; color:#61756f; background:transparent; display:flex; gap:10px; align-items:center; font-size:13px; font-weight:650; text-align:left; min-height:42px; }
.kt-room span:nth-child(2) { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.kt-room:hover { background:#f6faf6; }
.kt-room.selected { color:#0d7569; background:#eaf8ef; font-weight:800; }
.kt-room-icon { font-size:18px; color:#87a69a; width:20px; text-align:center; }
.kt-room.selected .kt-room-icon { color:#209485; }
.kt-room-count { font-size:11px; color:#8caca1; }
.kt-small-heading { font-size:10px; text-transform:uppercase; letter-spacing:.11em; font-weight:850; color:#91a39d!important; margin:23px 10px 10px; }
.kt-room-help { margin-top:auto; border-top:1px solid #e9eee7; padding:18px 10px 2px; color:#9baa9f; font-size:11px; }
.kt-room-help button { font-size:11px; }
.kt-conversation { display:flex; flex-direction:column; min-width:0; max-height:730px; overflow:hidden; }
.kt-convo-header { border-bottom:1px solid #edf0eb; padding:21px 23px; display:flex; align-items:center; gap:13px; flex-shrink:0; }
.kt-convo-icon { background:#e4f5eb; color:#187f70; border-radius:14px; width:43px; height:43px; display:flex; justify-content:center; align-items:center; font-size:24px; font-weight:700; flex-shrink:0; }
.kt-grow { flex:1; min-width:0; }
.kt-convo-header h2 { font-size:17px; margin:0 0 5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.kt-convo-header p { font-size:11px; margin:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.kt-mobile-rooms { display:none; border:1px solid #d7e8df; background:#f7fbf8; color:#21796e; border-radius:9px; padding:8px 10px; font-size:12px; font-weight:700; }
.kt-message-scroll { flex:1; min-height:250px; overflow:auto; padding:21px 24px 26px; overscroll-behavior:contain; }
.kt-convo-intro { text-align:center; border-bottom:1px solid #f0f1ed; padding:21px 8px 29px; margin-bottom:22px; }
.kt-intro-symbol { margin:0 auto 11px; background:#f4fbf5; color:#44af96; border-radius:50%; height:54px; width:54px; display:flex; justify-content:center; align-items:center; font-size:29px; }
.kt-convo-intro h3 { font-size:17px; margin:0 0 6px; }
.kt-convo-intro p { font-size:12px; margin:0; }
.kt-message { display:flex; gap:10px; margin:14px 0; align-items:start; }
.kt-msg-body { flex:1; min-width:0; }
.kt-msg-by { display:flex; align-items:baseline; gap:9px; margin-bottom:4px; }
.kt-msg-author { background:none; border:0; color:#22766f; padding:0; font-size:12px; font-weight:800; }
.kt-msg-author:hover { text-decoration:underline; }
.kt-msg-by time { color:#a0aca4; font-size:10px; }
.kt-msg-text { color:#3a504c; font-size:13px; line-height:1.55; overflow-wrap:anywhere; white-space:pre-wrap; }
.kt-msg-text.action { color:#218777; font-style:italic; }
.kt-compose { padding:15px 17px 11px; border-top:1px solid #edf0eb; display:grid; grid-template-columns:1fr auto; gap:10px; flex-shrink:0; }
.kt-compose textarea { resize:none; min-height:57px; }
.kt-compose .kt-button { align-self:start; padding:16px 18px; }
.kt-compose small { grid-column:1/-1; font-size:10px; color:#a2aea5; }
.kt-people { display:flex; flex-direction:column; gap:18px; }
.kt-welcome-note { padding:26px 21px; background:#fff6eb; border-color:#f6eadb; }
.kt-welcome-note h3 { font-size:17px; }
.kt-welcome-note p { font-size:12px; margin:11px 0 20px; color:#967f70!important; }
.kt-note-decoration { font-size:35px; color:#e9a477; margin-bottom:12px; line-height:1; }
.kt-online-pill { display:inline-flex; border-radius:20px; font-size:11px; padding:8px 12px; font-weight:800; background:#fff; color:#258d77; }
.kt-people-list { padding:21px 17px; }
.kt-people-list h3 { margin-bottom:18px; }
.kt-person { display:flex; align-items:center; gap:9px; margin:14px 0; min-width:0; }
.kt-person-details { min-width:0; flex:1; }
.kt-person-name { display:block; border:0; background:transparent; font-size:12px; font-weight:800; color:#3d645c; padding:0; max-width:100%; text-overflow:ellipsis; overflow:hidden; white-space:nowrap; }
.kt-person-details small { display:block; color:#9baaa4; font-size:10px; margin-top:4px; text-overflow:ellipsis; overflow:hidden; white-space:nowrap; }
.kt-person-message { border:1px solid #d9eee5; background:#f5fcf8; color:#398e7b; border-radius:10px; padding:7px; font-size:10px; font-weight:800; }
/* Profiles and settings */
.kt-profile-page { padding-top:38px; padding-bottom:70px; }
.kt-page-heading { max-width:850px; margin:0 auto 20px; }
.kt-page-heading h2 { font-size:27px; margin:14px 0; }
.kt-profile-stack { max-width:850px; margin:0 auto; display:grid; gap:22px; }
.kt-profile-card { overflow:hidden; }
.kt-profile-cover { background:linear-gradient(115deg,#c9f1e4,#e3f7e5 52%,#fff1d9); height:134px; position:relative; }
.kt-spark { position:absolute; right:35px; top:10px; font-size:95px; color:#acd9c4; }
.kt-profile-head { margin:-47px 35px 12px; display:flex; align-items:end; gap:18px; position:relative; }
.kt-profile-head h1 { margin:4px 0 0; font-size:30px; }
.kt-handle { color:#748982; margin-top:4px; font-size:13px; }
.kt-profile-meta { display:flex; gap:24px; flex-wrap:wrap; margin:20px 35px; font-size:12px; color:#7b9489; }
.kt-about { margin:20px 35px 29px; border-top:1px solid #e8eee8; padding-top:22px; }
.kt-about h3 { font-size:16px; }
.kt-about p { margin:9px 0; font-size:13px; white-space:pre-wrap; overflow-wrap:anywhere; }
.kt-profile-actions { display:flex; flex-wrap:wrap; gap:10px; padding:0 35px 30px; }
.kt-editor { padding:30px 35px; }
.kt-editor h2 { margin:0 0 7px; font-size:23px; }
.kt-editor h3 { font-size:18px; }
.kt-editor form { max-width:600px; margin-top:24px; }
.kt-editor label { margin-bottom:17px!important; }
.kt-editor textarea { resize:vertical; }
.kt-colour-options { display:flex; flex-wrap:wrap; gap:9px; margin:10px 0 22px; }
.kt-colour { border:3px solid transparent; border-radius:12px; font-size:0; height:35px; width:35px; }
.kt-colour.teal { background:#aee3d1; }
.kt-colour.active { outline:2px solid #138a7d; outline-offset:2px; }
.kt-separator { height:1px; background:#edf0eb; margin:30px 0; }
/* Dialog and notification */
.kt-toast { position:fixed; bottom:25px; right:26px; border-radius:13px; padding:14px 18px; background:#235f57; color:#fff; font-size:13px; box-shadow:0 15px 30px #214c3d2c; z-index:40; max-width:min(400px,calc(100vw - 30px)); }
.kt-overlay { position:fixed; inset:0; background:#213f3b88; z-index:30; display:flex; align-items:center; justify-content:center; padding:16px; backdrop-filter:blur(3px); }
.kt-dialog { width:min(460px,100%); padding:32px; max-height:90vh; overflow:auto; }
.kt-dialog h2 { font-size:23px; margin-bottom:7px; }
.kt-dialog p { font-size:13px; }
.kt-dialog-actions { display:flex; justify-content:flex-end; gap:10px; }
.kt-command { border-bottom:1px solid #ecf0eb; padding-bottom:9px; margin-bottom:9px; }
.kt-loading { display:flex; align-items:center; justify-content:center; color:#377e70; }
@media(max-width:1180px){.kt-chat-grid{grid-template-columns:225px minmax(350px,1fr)}.kt-people{display:none}.kt-public-hero{gap:4%}}
@media(max-width:800px){.kt-topbar-inner{gap:13px;min-height:68px}.kt-brand{font-size:17px}.kt-brand-mark{width:38px;height:38px}.kt-top-nav{gap:0}.kt-nav-link{font-size:12px;padding:9px}.kt-account-name{display:none}.kt-public-hero{grid-template-columns:1fr;padding-top:45px;gap:35px}.kt-auth-card{justify-self:center;max-width:520px}.kt-landing-copy h1{font-size:51px}.kt-illustration{display:none}.kt-chat-grid{grid-template-columns:210px minmax(0,1fr);gap:13px}.kt-welcome-banner{padding:24px}.kt-welcome-banner h1{font-size:25px}.kt-container{width:min(100% - 28px,1340px)} }
@media(max-width:620px){.kt-topbar-inner{flex-wrap:wrap;justify-content:space-between;padding:12px 0}.kt-top-nav{order:3;width:100%;justify-content:space-around}.kt-top-account{margin-left:auto}.kt-header-join{font-size:11px;padding:9px}.kt-brand{font-size:18px}.kt-brand-mark{width:34px;height:34px;border-radius:11px}.kt-landing-copy h1{font-size:42px}.kt-landing-copy>p{font-size:14px}.kt-auth-card{padding:24px}.kt-chat-grid{display:block;position:relative}.kt-rooms{display:none;position:absolute;z-index:5;left:0;top:0;width:min(280px,85%);box-shadow:0 18px 50px #203a342e;min-height:420px}.kt-rooms.show{display:flex}.kt-conversation{height:calc(100vh - 268px);min-height:450px}.kt-mobile-rooms{display:block}.kt-welcome-banner{min-height:110px;padding:20px 18px;margin-bottom:15px}.kt-banner-doodle{font-size:66px}.kt-welcome-banner h1{font-size:21px}.kt-welcome-banner p{font-size:11px}.kt-message-scroll{padding:14px}.kt-convo-header{padding:14px}.kt-compose{padding:10px}.kt-profile-head{margin:-35px 20px 12px}.kt-profile-head h1{font-size:23px}.kt-profile-meta,.kt-about{margin-left:20px;margin-right:20px}.kt-editor{padding:23px}.kt-page-heading h2{font-size:23px}}

.kt-staff-label { display:inline-block; padding:3px 6px; margin-top:3px; background:#e3f6ef; color:#1d7667; border-radius:6px; text-transform:uppercase; font-size:9px; font-weight:800; }
/* KeepTalkingUK v1.2 — blue community design inspired by a classic social newsfeed.
   All content remains real: chat updates are sourced from rooms the member has joined. */
.community-html{--kt-ink:#263457;--kt-muted:#7f8eac;--kt-deep:#2c5ae1;--kt-main:#2c5ae1;--kt-bg:#eef3fa;--kt-stroke:#e4eaf5;--kt-white:#fff; color-scheme:light}
.community-html,.community-html body,.community-html #root{background:#eef3fa;color:#263457}
.community-html .community-app.kt-blue-app{background:#eef3fa;font-family:Inter,"Segoe UI",Arial,sans-serif;color:#263457;min-height:100vh}
.community-html .community-app h1,.community-html .community-app h2,.community-html .community-app h3,.community-html .community-app h4{color:#283556;letter-spacing:-.025em}
.community-html .community-app p{color:#8491aa;line-height:1.6}
.community-html .community-app button:focus-visible,.community-html .community-app a:focus-visible{outline:3px solid #83bdff;outline-offset:2px}
.community-html .community-app button:hover:not(:disabled){transform:none}
.community-html .community-app input:focus,.community-html .community-app textarea:focus{outline:2px solid #b0c4fc;border-color:#5078ec}
.community-html .community-app input,.community-html .community-app textarea{border:1px solid #dfe6f4;border-radius:7px;color:#283554;background:white}
.kt-blue-header{background:#142e61;height:62px;display:flex;align-items:center;padding:0 30px 0 0;gap:24px;color:white;box-shadow:0 2px 6px #173eac14;position:sticky;top:0;z-index:30}
.kt-header-menu{height:62px;width:60px;display:flex;align-items:center;justify-content:center;background:#102650;flex-shrink:0}
.kt-menu-button,.kt-blue-logout{background:transparent;border:0;color:#fff;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px}
.kt-menu-button:hover,.kt-blue-logout:hover{background:#ffffff19}
.kt-site-logo{display:flex;align-items:center;gap:9px;white-space:nowrap;color:#fff!important;font-size:24px;font-weight:760;letter-spacing:-.07em;text-decoration:none!important}
.kt-site-logo strong{font-weight:800;color:#fff}
.kt-site-logo-mark{border:2px solid white;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;transform:rotate(-12deg);border-radius:7px}
.kt-site-logo-mark svg{transform:rotate(12deg)}
.kt-blue-links{display:flex;align-items:center;gap:5px;margin-left:12px}
.kt-blue-link{background:transparent;border:0;color:#e6edff!important;padding:12px 11px;border-radius:6px;font-weight:700;font-size:12px;white-space:nowrap;text-decoration:none!important}
.kt-blue-link.current,.kt-blue-link:hover{background:#ffffff1b;color:#fff!important}
.kt-header-spacer{flex:1}
.kt-header-search{margin-left:auto;width:min(290px,25vw);height:36px;background:#102650;border-radius:50px;display:flex;align-items:center;overflow:hidden;border:1px solid #ffffff0d}
.community-html .kt-header-search input{flex:1;min-width:0;height:100%;border:0;background:transparent;color:white;font-size:12px;padding:0 11px 0 16px;outline:0}
.community-html .kt-header-search input::placeholder{color:#c3d3ff}
.kt-header-search button{color:white;border:0;background:#28549d;width:34px;height:30px;border-radius:30px;margin-right:3px;display:flex;align-items:center;justify-content:center}
.kt-blue-account{display:flex;align-items:center;gap:9px;max-width:240px}
.kt-blue-account .kt-avatar{background:#ffca6a;color:#573b11;border:2px solid #fff8}
.kt-blue-username{background:transparent;border:0;color:white;font-weight:700;font-size:12px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kt-login-top{border:0;background:white;color:#2f55c3;padding:9px 20px;border-radius:5px;font-weight:800;font-size:12px;margin-left:auto}
.kt-side-rail{position:fixed;z-index:18;top:62px;bottom:0;left:0;width:60px;background:white;border-right:1px solid #e2e8f4;display:flex;flex-direction:column;align-items:center;gap:9px;padding:19px 7px 15px;box-shadow:1px 0 4px #28487f05}
.kt-rail-link{width:42px;height:42px;color:#9eabc2;border:0;background:transparent;border-radius:10px;display:flex;justify-content:center;align-items:center;text-decoration:none}
.kt-rail-link:hover{background:#eef3ff;color:#2a5bdc}
.kt-rail-link.selected{color:#2a5de3;background:#e9efff}
.kt-rail-spacer{flex:1}
.kt-app-canvas{margin-left:60px;padding:0 32px}
/* Guests do not have a side rail or hamburger; fill the available viewport. */
.community-html .community-app.kt-guest-mode .kt-app-canvas{margin-left:0}
.community-html .community-app.kt-guest-mode .kt-blue-header{padding-left:24px}
@media(max-width:720px){.community-html .community-app.kt-guest-mode .kt-blue-header{padding-left:14px}}
.kt-social-layout{display:grid;grid-template-columns:minmax(0,750px) 245px;gap:20px;max-width:1060px;margin:0 auto;padding:46px 0 35px;align-items:start}
.kt-social-column{min-width:0}
.kt-yellow-banner{background:linear-gradient(104deg,#ff9d00 0%,#ffbb00 43%,#ffe000 72%,#ffe900 100%);border-radius:7px;height:166px;position:relative;overflow:hidden;display:flex;align-items:center;padding:26px 24px;gap:16px;color:white;isolation:isolate}
.kt-yellow-banner:after{content:"";position:absolute;right:40px;top:-90px;width:260px;height:260px;transform:rotate(45deg);border:46px solid #fff8;opacity:.16;z-index:-1}
.kt-banner-speaker{display:flex;align-items:center;justify-content:center;border-right:1px solid #ffffff90;padding-right:16px;color:white;flex-shrink:0}
.kt-banner-copy{position:relative;z-index:2;max-width:58%}
.community-html .kt-yellow-banner h1{color:white;font-size:24px;margin:0 0 8px;font-weight:850;letter-spacing:-.03em}
.community-html .kt-yellow-banner p{color:#fff;font-size:12px;line-height:1.4;margin:0;font-weight:650}
.kt-banner-illustration{position:absolute;right:-10px;bottom:0;object-fit:contain;width:52%;height:160px;object-position:center bottom;pointer-events:none;z-index:1}
.kt-feed-tabs{height:56px;background:#fff;border-radius:7px 7px 0 0;margin-top:18px;margin-bottom:0;padding:0 14px;display:flex;align-items:stretch;gap:0;border-bottom:1px solid #e7ebf4}
.kt-feed-tab,.kt-feed-viewchat{background:transparent;border:0;color:#8894af;padding:0 14px;font-size:12px;font-weight:750;white-space:nowrap;position:relative}
.kt-feed-tab.active{color:#275bdd}
.kt-feed-tab.active:after{content:"";position:absolute;bottom:-1px;left:13px;right:13px;height:3px;background:#3270f1;border-radius:2px}
.kt-tabs-fill{flex:1}
.kt-feed-viewchat{color:#315ed0}
.kt-feed-viewchat:hover{color:#2142a4}
.kt-postbox{background:white;padding:18px 22px;margin:0 0 13px;border-radius:0 0 7px 7px;box-shadow:0 5px 16px #243a6407;border:1px solid #eaf0f8;border-top:0}
.kt-postbox-row{display:flex;gap:10px;align-items:center;margin-bottom:10px}
.kt-postbox-row strong{color:#28375d;font-size:13px;font-weight:800}
.community-html .kt-postbox-row p{font-size:11px;margin:3px 0 0}
.community-html .kt-postbox textarea{resize:vertical;width:100%;min-height:68px;font-size:13px;padding:12px;background:#f7faff;border-color:#e5ebf7}
.kt-postbox-bottom{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:10px}
.community-html .kt-postbox-bottom label{font-size:11px;color:#667493;font-weight:650;display:flex;gap:8px;align-items:center;margin:0}
.community-html .kt-postbox-bottom select{color:#3656a0;max-width:180px;border:1px solid #e2e8f4;padding:8px;border-radius:6px;background:white}
.kt-post-button{display:inline-flex;justify-content:center;align-items:center;gap:9px;border:0;border-radius:6px;padding:11px 16px;background:#2769ef;color:white;font-size:12px;font-weight:750;white-space:nowrap}
.kt-post-button:hover:not(:disabled){background:#1856d0}
.kt-post-button:disabled{opacity:.55;cursor:not-allowed}
.kt-feed-list{display:flex;flex-direction:column;gap:12px}
.kt-feed-post{background:white;padding:19px 22px 15px;border:1px solid #eaf0f8;border-radius:7px;box-shadow:0 5px 16px #243a6407}
.kt-post-head{display:flex;align-items:center;gap:10px}
.kt-post-head-info{display:flex;flex-direction:column;gap:4px;flex:1}
.kt-post-author{border:0;background:transparent;color:#293854;font-size:12px;font-weight:850;padding:0;text-align:left;align-self:flex-start}
.kt-post-head-info span{font-size:10px;color:#9da8bb}
.kt-post-room-icon{color:#a8b3ca}
.community-html .kt-post-content{font-size:14px;color:#526077;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin:16px 0 17px}
.kt-post-footer{border-top:1px solid #edf1f7;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.kt-post-footer>span{display:flex;gap:6px;align-items:center;color:#abb7cb;font-size:11px}
.kt-post-footer>span svg{color:#f38f9c}
.kt-post-reply{background:transparent;border:0;color:#3265da;font-size:11px;font-weight:750;padding:5px}
.kt-feed-empty{background:white;border:1px solid #eaf0f8;border-radius:7px;text-align:center;padding:42px 25px}
.kt-empty-illustration{display:flex;justify-content:center;align-items:center;width:67px;height:67px;background:#e9efff;color:#3f6de6;border-radius:18px;margin:0 auto 17px}
.kt-feed-empty h3{font-size:21px}
.kt-feed-empty p{font-size:13px;max-width:440px;margin:12px auto 20px}
.kt-feed-foot{text-align:center;color:#9ba7bc;font-size:10px;padding:18px}
.kt-feed-right{display:flex;flex-direction:column;gap:18px}
.kt-widget{background:white;border:1px solid #edf0f8;border-radius:7px;padding:17px 15px;box-shadow:0 5px 12px #25396506}
.kt-widget-heading{display:flex;align-items:center;justify-content:space-between}
.kt-widget h3{font-size:15px;margin:0;color:#273552;font-weight:850}
.kt-widget-view{background:none;border:0;color:#2d65eb;font-size:10px;font-weight:750;padding:0}
.kt-widget-tabs{display:flex;gap:6px;border-bottom:1px solid #eff2f8;padding:13px 0 12px}
.kt-widget-tabs span{border:1px solid #e4ebf7;color:#8b98b2;border-radius:4px;padding:6px 8px;font-size:10px}
.kt-widget-tabs span.active{color:#fff;background:#219be9;border-color:#219be9}
.kt-online-member{width:100%;background:none;border:0;border-bottom:1px solid #eef2f8;display:flex;align-items:center;text-align:left;gap:10px;padding:13px 0}
.kt-online-member:last-of-type{border:0}
.kt-online-detail{min-width:0;display:flex;flex-direction:column;gap:4px}
.kt-online-detail strong{font-size:11px;color:#39465f;font-weight:750;overflow:hidden;text-overflow:ellipsis}
.kt-online-detail small{color:#90a1b4;font-size:10px}
.kt-widget-footer{display:flex;align-items:center;gap:6px;margin-top:10px;padding-top:12px;border-top:1px solid #f0f3f7;color:#8d9cb6;font-size:10px}
.kt-widget-empty{font-size:12px;padding:7px 0}
.kt-feature-card{min-height:220px;background:linear-gradient(135deg,#ffb800,#ffcf19 58%,#ffbf00);border:3px solid #ffcd32;box-shadow:inset 0 0 0 2px #ffffff6b;border-radius:7px;text-align:center;padding:30px 15px 27px;color:white;position:relative;overflow:hidden}
.kt-feature-stars{position:absolute;inset:7px 7px auto;letter-spacing:100px;color:#ffed94;opacity:.7;font-size:21px;white-space:nowrap;pointer-events:none}
.community-html .kt-feature-card h3{font-size:21px;color:white;margin:15px 0 7px;font-weight:850}
.community-html .kt-feature-card p{font-size:12px;color:#fff;max-width:180px;margin:0 auto 19px;font-weight:650}
.kt-feature-button{border:0;background:white;border-radius:30px;color:#3054c8;font-size:11px;font-weight:800;box-shadow:0 3px 0 #d89009;padding:11px 18px}
.kt-guidelines h3{margin:0 0 8px}
.kt-guidelines p{font-size:12px;margin:0 0 12px}
.kt-site-footer{max-width:1060px;margin:0 auto;border-top:1px solid #e1e8f4;color:#a4afc1;font-size:11px;padding:18px 0 25px}
.kt-avatar{border-radius:50%;background:#eef1ff;color:#4a66b0}
.kt-avatar.small,.kt-avatar.mini,.kt-avatar.large{border-radius:50%}
.kt-card{border:1px solid #e6ecf7;border-radius:8px;box-shadow:0 5px 15px #293d6808}
.kt-link{color:#3167df}
.kt-button{background:#2c68e8;border-radius:6px}
.kt-button:hover:not(:disabled){background:#1c55d4}
.kt-secondary{background:#f4f7ff;border-color:#dce5fa;color:#355fbd;border-radius:6px}
.kt-toast{background:#263e7a}
.kt-overlay{background:#182b57a8}
.kt-dialog{border-radius:9px}
.kt-live-layout{max-width:1200px;margin:auto;padding:42px 0 45px}
.kt-chat-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.kt-chat-top h1{font-size:27px;margin:6px 0}
.kt-chat-top p{font-size:12px;margin:0}
.kt-chat-label{color:#3d6be2;letter-spacing:.13em;font-weight:850;font-size:10px}
.kt-soft-button{background:white;border:1px solid #e0e8f7;border-radius:6px;color:#3865c9;font-size:12px;padding:11px 14px;font-weight:750}
.kt-chat-grid{grid-template-columns:232px minmax(360px,1fr) 230px;gap:16px;min-height:640px}
.kt-rooms{padding:18px 13px;border-radius:8px}
.kt-section-heading h3,.kt-people h3{color:#2d3c64}
.kt-room.selected{background:#eaf0ff;color:#265de1}
.kt-room.selected .kt-room-icon{color:#386bea}
.kt-round{background:#eaf0ff;color:#376bdf}
.kt-room{color:#6c7fa1;border-radius:7px}
.kt-conversation{max-height:700px;border-radius:8px}
.kt-convo-icon,.kt-intro-symbol{background:#ebf1ff;color:#3766df}
.kt-people .kt-welcome-note{background:#fff6e3}
.kt-people .kt-welcome-note h3{color:#825d1e}
.kt-people .kt-welcome-note .kt-online-pill{color:#2d68d7}
.kt-people .kt-people-list{border-radius:8px}
.kt-msg-author,.kt-person-name{color:#315fc8}
.kt-profile-page{max-width:890px;margin:20px auto;padding:10px 0 35px}
.kt-community-profile{max-width:1060px;padding:46px 0 35px;margin:0 auto}
.kt-profile-page .kt-link{display:block;margin-bottom:15px}
.kt-profile-stack{max-width:890px;gap:18px}
.kt-profile-cover{background:linear-gradient(105deg,#416de5,#7599f2 45%,#ffce49)}
.kt-profile-head{align-items:center}
.kt-profile-meta,.kt-about p{color:#6b7891}
.kt-colour.active{outline-color:#3b6ce6}
.kt-directory-head{padding:23px 4px 10px}
.kt-directory-head h2{font-size:20px;margin:0 0 5px}
.kt-directory-head p{font-size:12px;margin:0}
.kt-directory-search{display:flex;align-items:center;gap:10px;background:white;padding:9px 10px 9px 15px;border:1px solid #e8eef7;border-radius:7px;margin:10px 0 18px;color:#8da1c5}
.community-html .kt-directory-search input{border:0;outline:0;flex:1;min-width:0}
.kt-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.kt-directory-card{background:white;border-radius:8px;border:1px solid #e6edf8;overflow:hidden;text-align:center;padding-bottom:15px}
.kt-directory-cover{height:72px;background:linear-gradient(120deg,#6e92f8,#a9bbfd 60%,#ffdf6d)}
.kt-directory-card>.kt-avatar{margin:-32px auto 7px;position:relative;width:64px;height:64px;font-size:20px}
.kt-directory-card h3{font-size:16px;margin:5px 10px}
.kt-directory-card .kt-handle{font-size:11px;margin:0}
.kt-directory-bio{font-size:12px;margin:12px 16px;min-height:40px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.kt-directory-bottom{border-top:1px solid #edf1f7;margin:0 15px;display:flex;align-items:center;justify-content:space-between;padding-top:13px;color:#87a0c0;font-size:10px}
.kt-directory-open{border:0;background:#eef3ff;border-radius:5px;color:#2e60da;padding:9px 10px;font-size:11px;font-weight:700}
.kt-directory-empty{grid-column:1/-1;background:white;padding:35px;border-radius:7px;text-align:center}
.kt-guest-layout{grid-template-columns:minmax(0,750px) 300px}
.kt-guest-welcome{padding:35px 34px;background:white;margin:18px 0;border:1px solid #e5ecf7;border-radius:7px}
.kt-guest-kicker{color:#3169e9;font-size:11px;letter-spacing:.16em;font-weight:850}
.kt-guest-welcome h2{font-size:35px;margin:10px 0 9px}
.kt-guest-welcome p{font-size:15px;max-width:550px}
.kt-guest-benefits{display:flex;flex-wrap:wrap;gap:12px;margin-top:23px}
.kt-guest-benefits span{display:flex;align-items:center;gap:7px;background:#eef4ff;border-radius:25px;padding:10px 12px;color:#3663ba;font-size:11px;font-weight:800}
.kt-guest-cards{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.kt-guest-cards section{background:white;border-radius:7px;border:1px solid #e8ecf7;padding:27px}
.kt-guest-cards h3{font-size:17px;margin:17px 0 7px}
.kt-guest-cards p{font-size:12px;margin:0}
.kt-guest-icon{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:11px}
.kt-blue-icon{background:#e9f0ff;color:#3667e5}
.kt-orange-icon{background:#fff2da;color:#f29a07}
.kt-white-auth{background:#fff;border:1px solid #e8edf7;border-radius:7px;padding:23px;box-shadow:0 5px 16px #243a6407}
.kt-white-auth h2{font-size:23px;margin:7px 0}
.kt-white-auth p{font-size:12px;margin:0 0 17px}
.kt-auth-flag{color:#3465dd;font-size:10px;letter-spacing:.12em;font-weight:850}
.kt-white-auth .kt-auth-tabs{margin-bottom:17px}
.kt-white-auth .kt-auth-tab.active{color:#2c60db}
.kt-white-auth .kt-auth-tab{border-radius:5px}
.community-html .kt-white-auth label{font-size:11px;margin-bottom:11px}
.community-html .kt-white-auth input{border-radius:6px;padding:11px}
.kt-register-button{width:100%;margin-top:10px;font-size:13px}
.kt-white-auth .kt-auth-note{font-size:10px;text-align:center;margin:15px 0 0}
.kt-signup-aside .kt-feature-card{min-height:175px}
@media(max-width:1240px){.kt-social-layout{grid-template-columns:minmax(0,1fr) 240px}.kt-live-layout{max-width:1110px}.kt-chat-grid{grid-template-columns:225px minmax(340px,1fr)}.kt-people{display:none}}
@media(max-width:950px){.kt-blue-header{gap:14px;padding-right:15px}.kt-site-logo{font-size:20px}.kt-blue-links{gap:0;margin-left:0}.kt-blue-link{padding:10px 6px}.kt-social-layout{grid-template-columns:minmax(0,1fr)}.kt-feed-right{display:grid;grid-template-columns:1fr 1fr;align-items:start}.kt-guidelines{display:none}.kt-social-layout.kt-guest-layout{grid-template-columns:minmax(0,1fr) 300px}.kt-guest-layout .kt-feed-right{display:flex}}
@media(max-width:720px){.kt-blue-header{height:56px}.kt-header-menu{width:54px;height:56px}.kt-side-rail{top:56px;width:54px}.kt-app-canvas{margin-left:54px;padding:0 14px}.kt-site-logo{font-size:18px}.kt-blue-links{display:none}.kt-header-search{width:min(220px,30vw)}.kt-blue-username{display:none}.kt-social-layout,.kt-community-profile{padding-top:22px}.kt-yellow-banner{height:140px;padding:22px 17px}.kt-yellow-banner h1{font-size:20px!important}.kt-yellow-banner p{font-size:11px!important}.kt-banner-speaker{display:none}.kt-banner-copy{max-width:56%}.kt-banner-illustration{width:52%;height:135px}.kt-chat-grid{grid-template-columns:200px minmax(0,1fr);gap:12px}.kt-chat-top{margin-bottom:12px}.kt-chat-top h1{font-size:22px}.kt-social-layout.kt-guest-layout{grid-template-columns:1fr}.kt-guest-layout .kt-feed-right{display:flex}.kt-white-auth{max-width:560px;width:100%}.kt-guest-welcome h2{font-size:27px}}
@media(max-width:560px){.kt-blue-header{gap:8px}.kt-site-logo{font-size:16px}.kt-site-logo-mark{height:26px;width:26px}.kt-site-logo-mark svg{width:19px}.kt-header-search{display:none}.kt-blue-account{margin-left:auto}.kt-side-rail{width:54px}.kt-app-canvas{padding:0 10px}.kt-yellow-banner{height:126px}.kt-yellow-banner h1{font-size:17px!important}.kt-yellow-banner p{font-size:10px!important}.kt-banner-copy{max-width:58%}.kt-banner-illustration{width:55%;height:118px;right:-28px}.kt-feed-tabs{padding:0 5px;overflow:auto}.kt-feed-tab,.kt-feed-viewchat{font-size:10px;padding:0 8px}.kt-postbox{padding:15px}.kt-postbox-bottom{flex-wrap:wrap}.kt-post-footer{flex-wrap:wrap}.kt-feed-right{display:flex}.kt-widget{display:none}.kt-feature-card{min-height:160px;padding:18px 15px}.kt-feature-card h3{margin:7px 0!important}.kt-feature-card p{margin:7px auto!important}.kt-social-layout{gap:14px}.kt-chat-grid{display:block;position:relative}.kt-rooms{display:none;position:absolute;left:0;top:0;z-index:5;width:min(290px,88%);min-height:400px;box-shadow:0 16px 45px #203a6a25}.kt-rooms.show{display:flex}.kt-conversation{height:calc(100vh - 240px);min-height:440px}.kt-mobile-rooms{display:block}.kt-guest-welcome{padding:25px}.kt-guest-cards{grid-template-columns:1fr}.kt-directory-grid{grid-template-columns:1fr}.kt-chat-top{align-items:flex-start}.kt-soft-button{font-size:10px}.kt-profile-page{padding:0}.kt-community-profile{padding-bottom:10px}}

.kt-postbox-bottom label{white-space:nowrap}
.kt-postbox-bottom select{min-width:100px}

/* V1.3: bottom tabs mirror the left navigation rail (blue active state, white surface). */
.community-html .community-app.kt-has-tabs .kt-app-canvas {padding-bottom:86px}
.kt-bottom-tabs{position:fixed;z-index:42;left:60px;right:0;bottom:0;min-height:58px;background:#fff;border-top:1px solid #e2e8f4;box-shadow:0 -4px 14px #172a5610;display:flex;align-items:center;gap:6px;padding:8px 18px;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
.kt-bottom-tab{border:0;border-radius:10px;min-width:74px;max-width:175px;height:42px;flex:0 0 auto;padding:0 13px;background:transparent;color:#8191ae;font-size:12px;font-weight:750;cursor:pointer;transition:background .15s,color .15s}
.kt-bottom-tab>span{display:inline-flex;gap:8px;align-items:center;max-width:100%}
.kt-bottom-tab>span>span{overflow:hidden;text-overflow:ellipsis}
.kt-bottom-tab:hover{background:#eef3ff;color:#2a5bdc}
.kt-bottom-tab.active{background:#e9efff;color:#2a5de3}
.kt-bottom-tab.kt-add-tab{min-width:42px;width:42px;padding:0;display:flex;align-items:center;justify-content:center}
.kt-brand-image{display:block;width:auto;max-width:220px;max-height:42px;object-fit:contain}
.kt-feed-help{font-size:11px;color:#7889a7;font-weight:650}
.kt-feed-delete{border:0;background:transparent;color:#b64554;cursor:pointer;font-size:11px;font-weight:800;align-self:flex-start}
.kt-feed-error{padding:13px 16px;border:1px solid #f0b3b3;background:#fff4f4;color:#912f37;font-size:12px;border-radius:7px;margin:12px 0}
.kt-feed-empty{padding:35px 28px;background:white;border:1px solid #e4ebf6;border-radius:7px;margin-top:12px;text-align:center}
.kt-feed-empty h3{font-size:17px;margin:0 0 7px}
.kt-admin-user-search{display:flex;gap:10px;margin:15px 0 22px;align-items:center}
.kt-admin-user-search input{flex:1;min-width:0}
@media(max-width:720px){.kt-bottom-tabs{left:54px;padding:7px 9px}.kt-brand-image{max-width:175px;max-height:36px}}
@media(max-width:560px){.kt-brand-image{max-width:130px;max-height:30px}.kt-bottom-tab{min-width:62px;padding:0 10px;font-size:11px}.community-html .community-app.kt-has-tabs .kt-app-canvas{padding-bottom:76px}}


/* V1.3 UI FIX: real supplied KeepTalking artwork, no SVG fallback needed. */
.kt-blue-header .kt-site-logo{flex:0 0 auto;min-width:0;line-height:0}
.kt-blue-header .kt-brand-image{width:170px;height:56px;max-width:170px;max-height:56px;object-fit:contain;object-position:left center}

/* Toast always clears the persistent room-tab footer, including iOS safe areas. */
.community-html .community-app .kt-toast{z-index:100;pointer-events:none}
.community-html .community-app.kt-has-tabs .kt-toast{
  bottom:calc(76px + env(safe-area-inset-bottom, 0px));
  right:22px;
  max-width:min(400px, calc(100vw - 96px));
}
@media(max-width:950px){
  .kt-blue-header .kt-brand-image{width:150px;height:50px;max-width:150px;max-height:50px}
}
@media(max-width:720px){
  .kt-blue-header .kt-brand-image{width:133px;height:48px;max-width:133px;max-height:48px}
}
@media(max-width:560px){
  .kt-blue-header .kt-brand-image{width:114px;height:42px;max-width:114px;max-height:42px}
  .community-html .community-app.kt-has-tabs .kt-toast{
    bottom:calc(78px + env(safe-area-inset-bottom, 0px));
    right:12px;
    max-width:calc(100vw - 78px);
    font-size:12px;
  }
}


/* KeepTalkingUK V1.3.2 — immersive chat. No second website navbar:
   the global blue header, icon sidebar and persistent room footer remain untouched. */
.community-html .kt-chat-canvas{padding:0!important;min-width:0}
.community-html .kt-workspace-shell{max-width:none;width:100%;margin:0;padding:12px 14px 0}
.community-html .kt-chat-workspace{
  display:grid;grid-template-columns:228px minmax(0,1fr) 293px;gap:0;
  height:calc(100dvh - 62px - 58px - 24px);min-height:530px;
  background:#fff;border:1px solid #e0e7f4;border-radius:12px;
  box-shadow:0 8px 34px rgba(28,51,109,.06);overflow:hidden;position:relative;
}
.community-html .kt-chat-sidebar{
  display:flex;flex-direction:column;min-height:0;min-width:0;
  border:0;border-radius:0;border-right:1px solid #e6ebf5;
  background:#f8faff;padding:0;overflow:hidden;box-shadow:none;
}
.kt-chat-sidebar-head{padding:25px 19px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.kt-chat-overline{display:block;font-size:10px;font-weight:800;letter-spacing:.14em;color:#889abd;margin-bottom:5px}
.community-html .kt-chat-sidebar-head h3{font-size:18px;line-height:1.2;font-weight:800;margin:0;color:#283a69}
.kt-chat-round{width:33px;height:33px;border:1px solid #e2e9fa;border-radius:9px;background:#fff;color:#3868db;display:flex;align-items:center;justify-content:center;cursor:pointer}
.kt-chat-round:hover{background:#edf3ff}
.kt-chat-connection{display:flex;align-items:center;gap:8px;font-size:10px;color:#788aaa;padding:0 19px 16px;border-bottom:1px solid #e6ecf7}
.kt-chat-status-dot{height:7px;width:7px;display:inline-block;flex-shrink:0;border-radius:50%;background:#b0b8c9}
.kt-chat-status-dot.online{background:#35b48b;box-shadow:0 0 0 3px #35b48b18}
.kt-chat-room-scroll{overflow-y:auto;overflow-x:hidden;min-height:0;flex:1;padding:13px 10px;scrollbar-width:thin}
.kt-chat-sidebar-label{margin:12px 11px 9px;display:flex;justify-content:space-between;color:#96a3be;font-size:10px;letter-spacing:.09em;font-weight:800}
.kt-chat-list-spacer{margin-top:26px}
.kt-chat-room{display:flex;width:100%;align-items:center;gap:10px;min-height:43px;padding:8px 12px;background:transparent;border:0;border-radius:9px;color:#556b95;font-size:12px;text-align:left;font-weight:670;cursor:pointer}
.kt-chat-room:hover{background:#edf3ff;color:#2757ca}
.kt-chat-room.selected{background:#e6edff;color:#2c5cde;font-weight:800}
.kt-chat-room-symbol{display:flex;align-items:center;justify-content:center;color:#8a9bbd;width:23px;flex:0 0 23px}
.kt-chat-room.selected .kt-chat-room-symbol{color:#3269e5}
.kt-chat-room-title{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kt-chat-room-count{font-size:10px;color:#95a4bd}
.kt-chat-no-rooms{font-size:11px!important;padding:4px 13px 8px;margin:0;color:#94a2b7!important;line-height:1.5}
.kt-chat-sidebar-foot{flex-shrink:0;border-top:1px solid #e6ecf7;padding:12px 14px 15px}
.kt-chat-help{display:flex;align-items:center;gap:7px;background:none;border:0;padding:9px;color:#6680b6;font-size:11px;font-weight:700;cursor:pointer}
.kt-chat-help:hover{color:#285cda}
.community-html .kt-chat-conversation{border:0;border-radius:0;min-height:0;max-height:none;height:100%;background:#fff;box-shadow:none;display:flex;flex-direction:column;overflow:hidden;min-width:0}
.community-html .kt-chat-pane-header{min-height:85px;padding:14px 23px;flex:0 0 auto;gap:13px;border-bottom:1px solid #e9edf6;background:#fff}
.kt-chat-room-emblem{display:flex;align-items:center;justify-content:center;height:43px;width:43px;flex-shrink:0;border-radius:12px;background:#eaf0ff;color:#3063df}
.community-html .kt-chat-pane-header h2{font-size:17px;line-height:1.2;color:#27365b;margin:0 0 5px}
.community-html .kt-chat-pane-header p{font-size:11px;line-height:1.3;margin:0;color:#8493ad;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kt-chat-pane-header .kt-chat-overline{font-size:9px;margin:0 0 2px}
.kt-chat-occupancy{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:20px;background:#f0f7f6;color:#588c79;font-size:11px;font-weight:800;white-space:nowrap}
.community-html .kt-chat-message-list{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:26px 26px 18px;min-height:0;background:linear-gradient(#fff,#fbfcff)}
.kt-chat-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;text-align:center;padding:40px 15px;gap:8px}
.kt-chat-empty-icon{display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:20px;background:#eaf0ff;color:#4773e6;margin-bottom:5px}
.community-html .kt-chat-empty h3{margin:4px 0 2px;font-size:18px}
.community-html .kt-chat-empty p{margin:0;max-width:340px;font-size:12px;color:#8190aa}
.kt-chat-explore{background:#2c5bdb;color:#fff;border:0;border-radius:8px;padding:11px 16px;margin-top:14px;font-size:12px;font-weight:750;cursor:pointer}
.community-html .kt-chat-message{display:flex;gap:11px;margin:0 0 18px;align-items:flex-start}
.kt-chat-message>.kt-avatar{flex:0 0 auto}
.community-html .kt-chat-message-content{flex:0 1 auto;min-width:0;max-width:min(75%,640px)}
.kt-chat-message .kt-msg-by{display:flex;align-items:center;gap:10px;margin:0 0 6px}
.kt-chat-message .kt-msg-author{font-size:11px;color:#3e5db4;cursor:pointer}
.kt-chat-message .kt-msg-by time{font-size:10px;color:#9aa7bd}
.community-html .kt-chat-bubble{background:#f0f3fa;color:#394965;padding:12px 15px;border-radius:14px 14px 14px 4px;font-size:13px;line-height:1.55;box-shadow:0 1px 2px #203a7308;overflow-wrap:anywhere;white-space:pre-wrap}
.community-html .kt-chat-message.mine{flex-direction:row-reverse}
.kt-chat-message.mine .kt-msg-by{justify-content:flex-end}
.community-html .kt-chat-message.mine .kt-chat-bubble{background:#e6eeff;color:#2b4d95;border-radius:14px 14px 4px 14px}
.community-html .kt-chat-bubble.action{font-style:italic;background:#f1f7ff}
.community-html .kt-chat-compose{display:flex;flex-direction:column;padding:13px 21px 12px;background:white;border-top:1px solid #e9edf6;gap:7px}
.kt-chat-compose-shell{border:1px solid #dce5f6;border-radius:11px;padding:10px 12px 8px;display:flex;flex-direction:column;gap:3px;background:#fcfdff;box-shadow:0 1px 3px #294e9405}
.kt-chat-compose-shell:focus-within{border-color:#7698ed;box-shadow:0 0 0 3px #4e7ce81c}
.community-html .kt-chat-compose-shell textarea{min-height:39px;max-height:130px;width:100%;background:transparent;border:0!important;outline:0!important;resize:none;font-size:13px;line-height:1.4;box-shadow:none;padding:3px 4px}
.kt-chat-compose-shell textarea:disabled{background:transparent}
.kt-chat-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}
.kt-chat-compose-actions span{font-size:10px;color:#9ba9c1}
.kt-chat-send{height:35px;width:42px;background:#2b5de2;color:white;border:0;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.kt-chat-send:disabled{opacity:.45;cursor:not-allowed}
.kt-chat-send:not(:disabled):hover{background:#214bbc}
.community-html .kt-chat-retention{display:flex;align-items:center;gap:6px;font-size:10px;line-height:1.2;margin:0 4px;color:#99a7bd}
.community-html .kt-chat-people{display:flex;flex-direction:column;background:#fff;border-left:1px solid #e7edf7;border-radius:0;min-height:0;overflow:hidden;gap:0}
.kt-chat-people-head{padding:27px 19px 10px;display:flex;align-items:center;justify-content:space-between}
.community-html .kt-chat-people-head h3{font-size:14px;margin:0}
.kt-chat-people-head span{padding:3px 8px;border-radius:12px;background:#edf3ff;color:#547cda;font-size:10px;font-weight:800}
.community-html .kt-chat-people-note{margin:0;padding:0 19px 16px;font-size:11px;line-height:1.5;color:#95a2b7}
.kt-chat-people-scroll{flex:1;min-height:0;overflow:auto;padding:1px 12px 14px}
.kt-chat-person{display:flex;gap:8px;align-items:center;padding:9px 6px;border-radius:8px}
.kt-chat-person:hover{background:#f7f9fe}
.kt-chat-person-detail{flex:1;min-width:0}
.kt-chat-person-name{max-width:100%;border:0;background:none;color:#33456e;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;padding:0}
.kt-chat-person-detail small{display:block;color:#9eabc2;font-size:10px;margin-top:4px;overflow:hidden;text-overflow:ellipsis}
.kt-chat-person .kt-staff-label{display:inline-block;margin-top:4px}
.kt-chat-person-dm{width:30px;height:30px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:#f0f4ff;color:#6285d3;cursor:pointer}
.kt-chat-person-dm:hover{background:#e2ebff;color:#2856ca}
.community-html .kt-chat-no-members{font-size:11px;padding:5px 8px;color:#9baac2}
.kt-chat-online-footer{border-top:1px solid #ecf0f7;display:flex;align-items:center;gap:8px;padding:18px 19px;font-size:11px;color:#8194af;flex-shrink:0}
@media(max-width:1180px){.community-html .kt-chat-workspace{grid-template-columns:205px minmax(0,1fr)}.community-html .kt-chat-people{display:none}}
@media(max-width:720px){
 .community-html .kt-workspace-shell{padding:8px 9px 0}
 .community-html .kt-chat-workspace{height:calc(100dvh - 56px - 58px - 16px);min-height:400px;grid-template-columns:minmax(0,1fr);border-radius:9px}
 .community-html .kt-chat-workspace .kt-chat-sidebar{display:none;position:absolute;z-index:8;top:0;bottom:0;left:0;width:min(265px,82vw);box-shadow:5px 0 24px #243a6c3d}
 .community-html .kt-chat-workspace .kt-chat-sidebar.show{display:flex}
 .community-html .kt-chat-pane-header{min-height:72px;padding:12px 13px}
 .community-html .kt-chat-pane-header .kt-mobile-rooms{display:flex;background:#eef3ff;border:0;color:#3b63c6;align-items:center;justify-content:center;padding:9px}
 .community-html .kt-chat-occupancy{display:none}
 .community-html .kt-chat-message-list{padding:19px 13px 10px}
 .community-html .kt-chat-compose{padding:10px 11px 8px}
 .community-html .kt-chat-message-content{max-width:83%}
}
@media(max-width:560px){
 .community-html .kt-workspace-shell{padding:6px 5px 0}
 .community-html .kt-chat-workspace{height:calc(100dvh - 56px - 58px - 12px)}
 .community-html .kt-chat-pane-header h2{font-size:15px}
 .community-html .kt-chat-pane-header p{font-size:10px}
 .kt-chat-room-emblem{width:36px;height:36px}
 .community-html .kt-chat-compose-shell textarea{min-height:35px}
 .community-html .kt-chat-message-content{max-width:85%}
 .kt-chat-compose-actions span{font-size:9px}
}

/* V1.4: quiet IRC-style join/leave notices inside the active room, not in a toast. */
.community-html .kt-room-system-notice {
  display:flex; align-items:center; justify-content:center; gap:7px;
  width:fit-content; max-width:95%; margin:9px auto;
  color:#66738d; font-size:12px; line-height:1.45;
  padding:5px 12px; background:#f0f4fa; border-radius:99px;
  text-align:center;
}
.community-html .kt-room-system-notice svg {flex-shrink:0; opacity:.7}

/* V1.4.2: branded, keyboard-accessible newsfeed deletion confirmation. */
.community-html .kt-delete-dialog-overlay{position:fixed;inset:0;z-index:220;display:flex;align-items:center;justify-content:center;background:rgba(15,29,63,.65);padding:20px;backdrop-filter:blur(4px)}
.community-html .kt-delete-dialog{position:relative;box-sizing:border-box;width:min(430px,100%);max-height:calc(100dvh - 40px);overflow-y:auto;border:1px solid #e4eafa;border-radius:18px;background:#fff;color:#27395c;padding:32px 30px 28px;box-shadow:0 30px 90px rgba(5,23,60,.28);text-align:left}
.community-html .kt-delete-dialog-symbol{display:flex;width:52px;height:52px;align-items:center;justify-content:center;background:#fff0f1;color:#be4456;border-radius:15px;margin-bottom:19px}
.community-html .kt-delete-dialog h2{font-size:22px;line-height:1.25;color:#223768;margin:0 36px 10px 0;font-weight:800}
.community-html .kt-delete-dialog p{font-size:13px;line-height:1.7;color:#697a98;margin:0 0 24px}
.community-html .kt-delete-dialog-close{position:absolute;right:17px;top:17px;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px;background:#f5f7fc;border:0;color:#7a89a6;cursor:pointer}
.community-html .kt-delete-dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.community-html .kt-delete-dialog-actions button{border-radius:9px;min-height:41px;padding:10px 18px;font-size:12px;font-weight:800;cursor:pointer}
.community-html .kt-delete-cancel{background:#f1f5fd;border:1px solid #dde6f6;color:#385687}
.community-html .kt-delete-confirm{background:#c43e55;border:1px solid #c43e55;color:#fff}
.community-html .kt-delete-confirm:hover:not(:disabled){background:#a92a41}
.community-html .kt-delete-dialog button:focus-visible{outline:3px solid #7a9eff;outline-offset:2px}
.community-html .kt-delete-dialog button:disabled{cursor:wait;opacity:.65}
.community-html .kt-delete-dialog-error{border:1px solid #f1b4bc;background:#fff2f4;color:#a72c43;border-radius:9px;margin:0 0 18px;padding:11px 13px;font-size:12px;line-height:1.5}
@media(max-width:480px){.community-html .kt-delete-dialog{padding:26px 22px 22px}.community-html .kt-delete-dialog-actions{display:grid;grid-template-columns:1fr 1fr}.community-html .kt-delete-dialog-actions button{padding:10px 8px}}


/* V1.4.3: all chat messages and room lifecycle notices align left. */
.community-html .kt-chat-message,
.community-html .kt-chat-message.mine { flex-direction:row; justify-content:flex-start; margin-left:0; margin-right:0; text-align:left; }
.community-html .kt-chat-message .kt-msg-by,
.community-html .kt-chat-message.mine .kt-msg-by { justify-content:flex-start; text-align:left; }
.community-html .kt-chat-message.mine .kt-chat-bubble { border-radius:14px 14px 14px 4px; }
.community-html .kt-chat-message-content { margin-left:0; margin-right:0; }
.community-html .kt-room-system-notice { justify-content:flex-start; margin:9px 0; text-align:left; border-radius:8px; }
/* No floating notifications: informational/error feedback sits in the page flow. */
.community-html .kt-inline-feedback { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 15px; margin:10px 0; color:#274375; border-left:3px solid #4376dc; background:#edf3ff; border-radius:5px; font-size:12px; line-height:1.4; }
.community-html .kt-inline-feedback-close { flex-shrink:0; display:flex; align-items:center; justify-content:center; height:28px; width:28px; border:0; border-radius:6px; background:transparent; color:#4463a0; cursor:pointer; }
.community-html .kt-inline-feedback-close:hover { background:#dce7ff; }
.community-html .kt-leave-room { border:1px solid #e2e8f6; color:#4867a4; background:#f4f7fe; border-radius:8px; padding:9px 12px; font-size:11px; font-weight:750; cursor:pointer; white-space:nowrap; }
.community-html .kt-leave-room:hover { background:#e6efff; }
.kt-room-tab-group { display:inline-flex; align-items:center; border-radius:10px; flex:0 0 auto; background:#f7f9fe; }
.kt-room-tab-group .kt-bottom-tab { min-width:0; padding-right:6px; }
.kt-room-tab-close { border:0; background:transparent; color:#7890b9; width:26px; height:35px; padding:0; border-radius:7px; display:flex; justify-content:center; align-items:center; cursor:pointer; margin-right:4px; }
.kt-room-tab-close:hover { background:#e5ebf8; color:#c04052; }
@media(max-width:560px){ .community-html .kt-leave-room { padding:7px 8px; font-size:10px; } .kt-room-tab-close {width:23px;} }

/* V1.4.5: clear session-replacement notice over the public sign-in page. */
.community-html .kt-session-modal-backdrop{position:fixed;inset:0;z-index:450;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(11,28,65,.65);backdrop-filter:blur(5px)}
.community-html .kt-session-modal{box-sizing:border-box;max-width:430px;width:100%;background:#fff;border:1px solid #d8e6fa;border-radius:18px;padding:34px;box-shadow:0 22px 70px rgba(8,25,56,.3);color:#24416c;text-align:center}
.community-html .kt-session-modal-icon{margin:0 auto 16px;width:56px;height:56px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:#eaf2ff;color:#2c58bc}
.community-html .kt-session-modal h2{font-size:23px;font-weight:800;margin:0 0 12px;color:#193866}
.community-html .kt-session-modal p{font-size:14px;line-height:1.65;color:#4e6383;margin:0 0 24px}
.community-html .kt-session-modal .kt-button{min-height:43px;padding:11px 22px}
.community-html .kt-session-modal button:focus-visible{outline:3px solid #78a3ff;outline-offset:3px}


/* Chat message author layout remains simple, without group imagery. */
.kt-chat-message .kt-msg-by{gap:6px;align-items:center;min-height:26px;flex-wrap:wrap}
.kt-chat-message .kt-msg-author{flex:0 1 auto;overflow-wrap:anywhere}
.kt-chat-message .kt-msg-by time{margin-left:5px}
.kt-chat-person-identity{display:flex;align-items:center;gap:5px;min-width:0}
.kt-chat-person-identity .kt-chat-person-name{min-width:0;flex:0 1 auto;max-width:100%}
@media(max-width:620px){.kt-chat-message .kt-msg-by{gap:4px}}

/* V1.4.7: uncluttered message headers; single username with group-coloured text in room roster.
   Colours are tuned for legibility on the white member-list background. */
.community-html .kt-chat-message .kt-msg-by { min-height:0; gap:10px; align-items:baseline; }
.community-html .kt-chat-message .kt-msg-by time { margin-left:0; }
.community-html .kt-chat-person-detail { display:flex; align-items:center; min-width:0; }
.community-html .kt-chat-person-identity { gap:6px; min-width:0; width:100%; }
.community-html .kt-chat-person-name { font-size:12px; line-height:1.35; }
.community-html .kt-chat-person-name.kt-group-member { color:#1265ad; }
.community-html .kt-chat-person-name.kt-group-premium { color:#926100; }
.community-html .kt-chat-person-name.kt-group-server_moderator { color:#7d309d; }
.community-html .kt-chat-person-name.kt-group-server_administrator { color:#b82b35; }
.community-html .kt-chat-person-name:hover { text-decoration:underline; }
.community-html .kt-chat-person-name:focus-visible { outline:2px solid currentColor; outline-offset:3px; border-radius:3px; }


/* V1.4.8 — profile group artwork is displayed on profiles, not in room userlists. */
/* Existing profile header stays clean; badge takes a separate section below the join info. */
.community-html .kt-profile-badge-panel{
  margin:18px 32px 24px;padding:18px 22px;border:1px solid #d9e6fa;
  border-radius:15px;box-shadow:0 7px 20px rgba(30,66,133,.05);
  background:linear-gradient(115deg,#f3f8ff 0%,#ffffff 85%);
  display:flex;align-items:center;gap:18px;min-width:0;
}
.community-html .kt-profile-badge-copy{display:flex;flex-direction:column;gap:7px;flex:0 0 190px;min-width:0}
.community-html .kt-profile-badge-eyebrow{
  font-size:10px;letter-spacing:.14em;font-weight:850;color:#476db2;line-height:1.3;
}
.community-html .kt-profile-badge-subtitle{
  font-size:12px;line-height:1.5;color:#6a7a94;max-width:190px;
}
.community-html .kt-profile-badge-art{
  display:block;object-fit:contain;object-position:left center;
  max-width:100%;max-height:77px;width:auto;height:auto;min-width:0;flex:0 1 auto;
  filter:drop-shadow(0 4px 5px rgba(17,34,71,.08));
}
.community-html .kt-profile-badge-premium{
  border-color:#f1e1b2;background:linear-gradient(115deg,#fff9e9,#fff 88%);
}
.community-html .kt-profile-badge-premium .kt-profile-badge-eyebrow{color:#936200}
.community-html .kt-profile-badge-server_moderator{
  border-color:#eadcfb;background:linear-gradient(115deg,#faf3ff,#fff 88%);
}
.community-html .kt-profile-badge-server_moderator .kt-profile-badge-eyebrow{color:#7d309d}
.community-html .kt-profile-badge-server_administrator{
  border-color:#f6d9de;background:linear-gradient(115deg,#fff3f4,#fff 88%);
}
.community-html .kt-profile-badge-server_administrator .kt-profile-badge-eyebrow{color:#aa2f3f}
@media(max-width:780px){
  .community-html .kt-profile-badge-panel{flex-direction:column;align-items:flex-start;gap:10px;
    margin:16px 20px 22px;padding:18px}
  .community-html .kt-profile-badge-copy{flex:0 0 auto;max-width:100%;gap:3px}
  .community-html .kt-profile-badge-subtitle{max-width:none}
  .community-html .kt-profile-badge-art{max-width:100%;max-height:70px}
}
@media(max-width:420px){.community-html .kt-profile-badge-panel{margin:14px 14px 20px;padding:13px}.community-html .kt-profile-badge-art{max-height:58px}}


/* KeepTalkingUK V1.4.9 — classic community profile layout, refreshed. */
.community-html .kt-community-profile{max-width:1300px;padding:22px 20px 56px;}
.community-html .kt-profile-page{max-width:none;margin:0 auto;padding:0;}
.community-html .kt-retro-profile{max-width:1200px;margin:0 auto;gap:10px;}
.community-html .kt-retro-profile-header{background:#fff;border:1px solid #dde6f5;border-radius:14px;padding:17px 22px 0;box-shadow:0 8px 24px rgba(31,67,121,.045);display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;}
.community-html .kt-retro-profile-identity{display:flex;gap:17px;align-items:center;flex:1 1 340px;min-width:0;}
.community-html .kt-retro-profile-identity>.kt-avatar.large{width:84px;height:84px;border-radius:13px;box-shadow:none;border:2px solid #dfe8f5;font-size:27px;}
.community-html .kt-retro-profile-title{min-width:0;}
.community-html .kt-retro-profile-title h1{font-size:25px;font-weight:850;margin:0 0 3px;overflow-wrap:anywhere;line-height:1.2;color:#20345e;}
.community-html .kt-retro-profile-username{font-size:12px;color:#7487a8;display:block;margin:0 0 7px;}
.community-html .kt-retro-profile-subtitle{display:flex;gap:9px;align-items:center;flex-wrap:wrap;color:#71819b;font-size:12px;}
.community-html .kt-retro-profile-presence.is-online{color:#147f64;font-weight:750;}
.community-html .kt-retro-profile-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center;justify-content:flex-end;max-width:420px;}
.community-html .kt-retro-action{background:#ecf3ff;border:1px solid #d4e3ff;color:#2356b7;padding:9px 13px;border-radius:7px;font-weight:750;font-size:12px;white-space:nowrap;}
.community-html .kt-retro-action:hover,.community-html .kt-retro-action.selected{background:#dceaff;}
.community-html .kt-retro-action-muted{background:#f6f8fc;color:#7182a0;border-color:#e6ebf4;}
.community-html .kt-retro-profile-tabs{display:flex;gap:20px;flex:0 0 100%;align-items:center;margin:9px 0 0;border-top:1px solid #edf1f8;min-height:45px;}
.community-html .kt-retro-tab{background:transparent;border:0;border-bottom:3px solid transparent;font-weight:750;font-size:13px;color:#7890b5;height:45px;padding:0 5px;white-space:nowrap;}
.community-html .kt-retro-tab.active{border-color:#2b67e6;color:#2454b5;}
.community-html .kt-retro-profile-layout{display:grid;grid-template-columns:216px minmax(0,1fr);gap:12px;align-items:start;}
.community-html .kt-retro-profile-rail,.community-html .kt-retro-personal-card{background:#fff;border-radius:12px;border:1px solid #dde6f5;box-shadow:0 6px 24px rgba(30,67,120,.045);}
.community-html .kt-retro-profile-rail{padding:18px 12px 20px;min-width:0;}
.community-html .kt-retro-rail-caption{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;letter-spacing:.13em;font-weight:850;color:#5775af;margin:2px 2px 15px;}
.community-html .kt-retro-rail-badge{background:linear-gradient(140deg,#f3f7ff,#fff);border:1px solid #dde8fa;border-radius:10px;padding:10px 7px;min-width:0;}
.community-html .kt-retro-rail-premium{background:#fffaf0;border-color:#f2e4bd;}
.community-html .kt-retro-rail-server_moderator{background:#fcf7ff;border-color:#eadbf7;}
.community-html .kt-retro-rail-server_administrator{background:#fff6f7;border-color:#efd3d8;}
/* Reuse the original supplied badge artwork with its group name already in the image. */
.community-html .kt-retro-profile-rail .kt-profile-badge-panel{margin:0;padding:0;border:0;background:transparent;box-shadow:none;display:block;width:100%;min-width:0;}
.community-html .kt-retro-profile-rail .kt-profile-badge-copy{display:none;}
.community-html .kt-retro-profile-rail .kt-profile-badge-art{display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;}
.community-html .kt-retro-rail-foot{font-size:11px;line-height:1.55;color:#8492ac;text-align:center;margin:14px 3px 0;}
.community-html .kt-retro-profile-content{min-width:0;}
.community-html .kt-retro-personal-card{padding:27px 32px;min-height:295px;}
.community-html .kt-retro-panel-heading{border-bottom:1px solid #e8edf5;padding:0 0 17px;margin:0 0 22px;}
.community-html .kt-retro-panel-heading h2{font-size:18px;letter-spacing:-.025em;margin:0 0 4px;}
.community-html .kt-retro-panel-heading p{font-size:12px;margin:0!important;color:#8a98b0;}
.community-html .kt-retro-profile-facts{display:grid;gap:0;margin:0;}
.community-html .kt-retro-profile-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:baseline;padding:9px 0;border-bottom:1px solid #f1f3f8;}
.community-html .kt-retro-profile-row:last-child{border:0;}
.community-html .kt-retro-profile-row dt{text-align:right;color:#4f6080;font-size:12px;font-weight:800;}
.community-html .kt-retro-profile-row dd{margin:0;font-size:13px;line-height:1.6;color:#273c60;overflow-wrap:anywhere;}
.community-html .kt-retro-profile-bio{white-space:pre-wrap;overflow-wrap:anywhere;}
.community-html .kt-retro-status-online{color:#16785d;font-weight:750;}
.community-html .kt-retro-status-offline{color:#7e8ba0;}
.community-html .kt-retro-profile-edit-link{background:none;border:none;color:#2b63cb;font-size:12px;font-weight:750;margin:17px 0 0 168px;padding:3px 0;}
.community-html .kt-retro-edit-panel .kt-editor{padding:0;border:0;box-shadow:none;background:transparent;}
.community-html .kt-retro-edit-panel .kt-editor h2{font-size:17px;}
.community-html .kt-retro-edit-panel .kt-editor form{max-width:670px;}
@media(max-width:780px){
 .community-html .kt-community-profile{padding:14px 12px 58px;}
 .community-html .kt-retro-profile-header{padding:17px 18px 0;}
 .community-html .kt-retro-profile-actions{justify-content:flex-start;}
 .community-html .kt-retro-profile-layout{grid-template-columns:170px minmax(0,1fr);gap:10px;}
 .community-html .kt-retro-personal-card{padding:22px 20px;}
 .community-html .kt-retro-profile-row{grid-template-columns:118px minmax(0,1fr);gap:11px;}
 .community-html .kt-retro-profile-edit-link{margin-left:128px;}
}
@media(max-width:560px){
 .community-html .kt-retro-profile-header{padding:15px 15px 0;}
 .community-html .kt-retro-profile-identity{flex-basis:100%;gap:11px;}
 .community-html .kt-retro-profile-identity>.kt-avatar.large{width:66px;height:66px;font-size:21px;}
 .community-html .kt-retro-profile-title h1{font-size:19px;}
 .community-html .kt-retro-profile-tabs{gap:14px;}
 .community-html .kt-retro-profile-layout{grid-template-columns:1fr;}
 .community-html .kt-retro-profile-rail{display:flex;align-items:center;gap:12px;padding:12px;}
 .community-html .kt-retro-rail-caption{margin:0;flex:0 0 auto;}
 .community-html .kt-retro-rail-badge{width:160px;max-width:55%;margin:0;}
 .community-html .kt-retro-rail-foot{flex:1;text-align:left;margin:0;}
 .community-html .kt-retro-personal-card{padding:20px 15px;}
 .community-html .kt-retro-profile-row{grid-template-columns:100px minmax(0,1fr);gap:9px;}
 .community-html .kt-retro-profile-row dt{font-size:11px;}
 .community-html .kt-retro-profile-edit-link{margin-left:109px;}
}
@media(max-width:370px){.community-html .kt-retro-profile-rail{flex-wrap:wrap;}.community-html .kt-retro-rail-badge{max-width:100%;}.community-html .kt-retro-profile-row{grid-template-columns:88px minmax(0,1fr);}}

/* V1.5.0 — Member mail, friends and nickname-only profiles */
.community-html .kt-feature-layout{padding:24px 24px 96px;min-height:calc(100vh - 140px);background:#f1f5fc;}
.community-html .kt-feature-page{max-width:950px;margin:0 auto;display:grid;gap:16px;}
.community-html .kt-feature-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:20px 24px;background:linear-gradient(100deg,#fff,#f1f5ff);border:1px solid #dce6f7;border-radius:15px;flex-wrap:wrap;}
.community-html .kt-feature-head h1{display:flex;align-items:center;gap:10px;margin:0 0 5px;font-size:25px;color:#1d3562;}
.community-html .kt-feature-head p,.community-html .kt-feature-muted{font-size:13px;line-height:1.6;margin:0;color:#7486a1;}
.community-html .kt-feature-card-main{min-width:0;background:white;padding:23px 26px;border-radius:14px;border:1px solid #dce6f4;box-shadow:0 5px 20px rgba(35,67,120,.035);}
.community-html .kt-feature-card-main h2{font-size:17px;color:#1a2e53;margin:0 0 17px;}
.community-html .kt-feature-form{display:grid;gap:14px;}.community-html .kt-feature-form label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#334c74;}
.community-html .kt-feature-form input,.community-html .kt-feature-form textarea,.community-html .kt-feature-inline input{width:100%;box-sizing:border-box;padding:11px 13px;border:1px solid #cfdbee;border-radius:9px;background:#fff;color:#263c61;font:inherit;}
.community-html .kt-feature-form textarea{resize:vertical;line-height:1.55;}.community-html .kt-feature-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.community-html .kt-feature-inline{display:flex;gap:10px;align-items:center;}.community-html .kt-feature-inline input{flex:1;min-width:80px;}
.community-html .kt-feature-tabs{display:flex;gap:10px;border-bottom:1px solid #e4ebf6;margin:-4px 0 12px;}
.community-html .kt-feature-tab{border:0;background:none;padding:12px 17px;color:#61799f;font-weight:700;border-bottom:3px solid transparent;cursor:pointer;}
.community-html .kt-feature-tab.active{color:#2c5bd7;border-bottom-color:#2d65e8;}
.community-html .kt-mail-list,.community-html .kt-friend-list{display:grid;}.community-html .kt-mail-row{display:grid;grid-template-columns:165px minmax(0,1fr) 115px;gap:16px;text-align:left;padding:16px 12px;background:#fff;border:0;border-bottom:1px solid #ecf0f7;color:#44587a;cursor:pointer;align-items:center;}
.community-html .kt-mail-row:hover,.community-html .kt-mail-row:focus-visible{background:#f4f8ff;}.community-html .kt-mail-row.unread{background:#eef5ff;}.community-html .kt-mail-row.unread strong{color:#1e51b8;}.community-html .kt-mail-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.community-html .kt-mail-row time,.community-html .kt-mail-meta{font-size:12px;color:#8a9bb0;}
.community-html .kt-mail-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;color:#263b5c;background:#f7f9fd;padding:20px;border-radius:10px;margin-top:20px;}
.community-html .kt-feature-empty{padding:28px 8px;text-align:center;color:#7486a0;font-size:13px;}
.community-html .kt-friend-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 4px;border-bottom:1px solid #edf1f7;}.community-html .kt-friend-row:last-child{border-bottom:0;}.community-html .kt-friend-name{font-weight:800;color:#2a5ec7;border:0;background:transparent;cursor:pointer;padding:8px 0;}
.community-html .kt-feature-error{background:#fff0f1;border:1px solid #efc4ca;border-radius:10px;color:#a12d41;padding:14px;font-size:13px;}
.community-html .kt-profile-social-buttons{display:flex;gap:7px;flex-wrap:wrap;}.community-html .kt-profile-social-buttons .kt-retro-action{white-space:nowrap;}
@media(max-width:600px){.community-html .kt-feature-layout{padding:12px 11px 90px;}.community-html .kt-feature-card-main{padding:17px 15px;}.community-html .kt-feature-head{padding:17px 16px;}.community-html .kt-mail-row{grid-template-columns:85px minmax(0,1fr);gap:8px;}.community-html .kt-mail-row time{grid-column:2;}.community-html .kt-feature-inline{flex-wrap:wrap;}.community-html .kt-feature-inline input{flex-basis:100%;}.community-html .kt-friend-row{align-items:flex-start;flex-wrap:wrap;}}


/* V1.5.1 — real-time mail and friend-request notifications; no floating toasts. */
.kt-notification-control{position:relative;flex:0 0 auto;z-index:42}
.kt-notification-bell{height:40px;min-width:40px;border:0;border-radius:10px;display:flex;align-items:center;justify-content:center;position:relative;background:transparent;color:#fff;cursor:pointer}
.kt-notification-bell:hover,.kt-notification-bell.active{background:#ffffff24}
.kt-notification-bell.has-unread{color:#fff}
.kt-notification-count{position:absolute;top:-3px;right:-6px;padding:2px 5px;min-width:19px;height:19px;border-radius:11px;background:#ffbf37;color:#19356b;border:2px solid #2a57d9;font-size:10px;font-weight:900;display:flex;align-items:center;justify-content:center}
.kt-notification-panel{position:absolute;right:-26px;top:calc(100% + 10px);background:white;color:#263457;box-shadow:0 22px 55px #102b6880;border:1px solid #dce6f5;border-radius:14px;width:min(365px,calc(100vw - 24px));max-height:min(520px,75vh);overflow:hidden;display:flex;flex-direction:column;z-index:100}
.kt-notification-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 18px;border-bottom:1px solid #e6edf7}
.kt-notification-head strong{font-size:16px}
.kt-notification-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.kt-notification-readall,.kt-notification-clearall{border:0;background:transparent;color:#2957d9;font-size:12px;font-weight:750;cursor:pointer;padding:4px 0}
.kt-notification-clearall{color:#a53549}
.kt-notification-actions button:disabled,.kt-notification-delete:disabled{opacity:.5;cursor:default}
.kt-notification-list{overflow-y:auto;overscroll-behavior:contain}
.kt-notification-row{display:flex;align-items:center;background:#fff;border-bottom:1px solid #edf1f8}
.kt-notification-row.unread{background:#eef4ff}
.kt-notification-row:hover{background:#e6efff}
.kt-notification-item{display:flex;align-items:flex-start;flex:1;min-width:0;gap:12px;padding:14px 10px 14px 15px;background:transparent;border:0;text-align:left;color:#253755;cursor:pointer}
.kt-notification-item:disabled{cursor:default}
.kt-notification-delete{flex:0 0 32px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:0;border-radius:8px;margin:0 10px 0 2px;background:transparent;color:#7283a0;cursor:pointer}
.kt-notification-delete:hover,.kt-notification-delete:focus-visible{background:#ffe5e8;color:#ab3046}
.kt-notification-delete:focus-visible,.kt-notification-item:focus-visible,.kt-notification-actions button:focus-visible{outline:2px solid #2957d9;outline-offset:2px}
.kt-notification-kind{flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#dce9ff;color:#2653cc;display:flex;align-items:center;justify-content:center}
.kt-notification-item-text{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.kt-notification-item-text strong{font-size:12.5px;line-height:1.45;overflow-wrap:anywhere;color:#16376d;font-weight:700}
.kt-notification-item-text small{font-size:11px;color:#7b8ba6}
.kt-notification-dot{flex:0 0 8px;width:8px;height:8px;background:#2c64eb;border-radius:50%;margin-top:10px}
.kt-notification-empty{padding:28px;text-align:center;color:#8090a9;font-size:13px}
.kt-notification-error{margin:0;padding:9px 16px;background:#fff0ef;color:#b53947;font-size:12px}
@media(max-width:720px){.kt-notification-panel{position:fixed;top:62px;right:9px;width:min(365px,calc(100vw - 18px))}}
@media(max-width:560px){.kt-notification-panel{top:57px}.kt-notification-control{margin-left:auto}.kt-notification-bell{min-width:36px;width:36px}.kt-notification-count{right:-5px}}


/* V1.5.5 — IRC-inspired, modern compact room list.
   Each member has one name, a discreet online indicator and their 13px group badge.
   The server supplies roomRole; room/server authority is never guessed from the nickname. */
.community-html .kt-chat-people-scroll{padding:2px 12px 16px}
.community-html .kt-chat-person{
  min-height:38px;display:flex;align-items:center;gap:10px;padding:6px 9px;
  margin:1px 0;border:1px solid transparent;border-radius:9px;
  transition:background-color .14s ease,border-color .14s ease;
}
.community-html .kt-chat-person:hover,
.community-html .kt-chat-person:focus-within{background:#f1f5fc;border-color:#e3ebf9}
.community-html .kt-chat-person-detail{flex:1;min-width:0;display:flex;align-items:center}
.community-html .kt-chat-person-identity{display:flex;align-items:center;gap:5px;min-width:0;width:100%}
.community-html .kt-chat-person-identity .kt-chat-person-name{
  display:block;min-width:0;max-width:100%;flex:0 1 auto;
  font-size:12.5px;line-height:1.35;font-weight:650;letter-spacing:0;color:#253954;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.community-html .kt-chat-person-identity .kt-chat-person-name.kt-role-elevated{
  color:#d02020;font-weight:760;
}
.community-html .kt-chat-person-dm{
  flex:0 0 25px;width:25px;height:25px;border-radius:7px;
  opacity:.18;background:transparent;color:#5275b4;transition:opacity .12s,background .12s;
}
.community-html .kt-chat-person:hover .kt-chat-person-dm,
.community-html .kt-chat-person:focus-within .kt-chat-person-dm{opacity:1;background:#e3ebfa}
.community-html .kt-chat-person-dm:focus-visible{opacity:1;outline:2px solid #3866db;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.community-html .kt-chat-person,.community-html .kt-chat-person-dm{transition:none}}

/* V1.5.6 — gender icons replace dots; usergroup images remain on profile pages only. */
.community-html .kt-chat-person-gender{display:block;flex:0 0 16px;width:16px;height:16px;object-fit:contain;vertical-align:middle}
.community-html .kt-profile-gender-field{display:flex;flex-direction:column;gap:7px;margin:12px 0;color:#273a60;font-size:13px;font-weight:650}
.community-html .kt-profile-gender-select{width:100%;max-width:320px;padding:10px 12px;border:1px solid #cfdaf0;border-radius:9px;background:#fff;color:#253954;font:inherit}
.community-html .kt-profile-gender-select:focus-visible{outline:2px solid #4269e5;outline-offset:2px}
.community-html .kt-profile-gender-field small{font-weight:400;color:#687b99;font-size:11px;line-height:1.5}


/* V1.5.6.5 — subtly stronger room nickname weight (500 instead of 400).
   Retains the 14.5px nickname/gender icon sizes and fixed alignment column. */
.community-html .kt-chat-person {
  min-height:34px;
  gap:8px;
  padding-top:5px;
  padding-bottom:5px;
}
.community-html .kt-chat-person-gender-slot {
  width:15px;
  height:15px;
  flex:0 0 15px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.community-html .kt-chat-person-gender-slot .kt-chat-person-gender {
  width:14.5px;
  height:14.5px;
  flex:0 0 14.5px;
  object-fit:contain;
}
.community-html .kt-chat-person-identity .kt-chat-person-name,
.community-html .kt-chat-person-identity .kt-chat-person-name.kt-role-elevated {
  font-size:14.5px;
  line-height:20px;
  font-weight:500;
}
/* Elevated roles keep the existing red (#d02020) colour. */


/* V1.5.6.6 — non-operator room nicknames are pure black.
   Staff, room owners and appointed operators retain #d02020. No changes to
   icon size, type size, weight, spacing or alignment. */
.community-html .kt-chat-person-identity .kt-chat-person-name:not(.kt-role-elevated) {
  color:#000000;
}
.community-html .kt-chat-person-identity .kt-chat-person-name.kt-role-elevated {
  color:#d02020;
}

/* V1.5.7 larger tabbed member room management */
.kt-rm-dialog{width:min(96vw,950px)!important;max-height:min(92vh,850px)!important;padding:0!important;overflow:hidden!important;display:flex;flex-direction:column;box-sizing:border-box}
.kt-rm-header{padding:26px 30px 20px!important;margin:0!important;flex-shrink:0}
.kt-rm-header h2{font-size:26px!important}.kt-rm-header p{margin:8px 0 0;color:#657690;font-size:13px}
.kt-rm-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #dfe5ef;padding:13px 26px 0;flex-shrink:0;background:#f8faff}
.kt-rm-tab{appearance:none;display:inline-flex;align-items:center;gap:8px;border:1px solid transparent;border-bottom:3px solid transparent;border-radius:9px 9px 0 0;background:transparent;color:#677893;font-size:13px;font-weight:650;padding:13px 18px;cursor:pointer}
.kt-rm-tab:hover{background:#eef3ff;color:#2452b2}.kt-rm-tab.active,.kt-rm-tab[aria-selected=true]{background:#fff;color:#2259d6;border-color:#e0e8f8;border-bottom-color:#3266ea}
.kt-rm-tab:focus-visible{outline:3px solid #9cb8ff;outline-offset:1px}
.kt-rm-content{padding:28px 32px;min-height:260px;overflow-y:auto;flex:1}
.kt-rm-section h3{font-size:18px;color:#152b50;margin:0 0 16px}.kt-rm-section label{display:block;font-size:12px;font-weight:700;color:#526789}
.kt-rm-section textarea,.kt-rm-section input{display:block;box-sizing:border-box;width:100%;margin:8px 0 14px;padding:12px 14px;font:inherit;font-size:14px;color:#223657;background:#fff;border:1px solid #ccd7e9;border-radius:10px;min-width:0}
.kt-rm-section textarea:focus,.kt-rm-section input:focus{outline:2px solid #8cadff;border-color:#3266ea}.kt-rm-section textarea{resize:vertical}
.kt-rm-hint{font-size:13px;line-height:1.5;color:#697d9c;margin:0 0 19px}
.kt-rm-inline-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.kt-rm-inline-actions small{color:#8695ab}.kt-rm-inline-actions button{margin-left:auto}
.kt-rm-dialog .kt-room-assigned-list{margin:0 0 18px}.kt-rm-dialog .kt-room-assigned-item{padding:12px 15px}.kt-rm-dialog .kt-room-assigned-item span{color:#283e65;font-weight:600}
.kt-rm-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;margin-top:12px}.kt-rm-results button{text-align:left;padding:11px 13px}
.kt-rm-details{display:grid;grid-template-columns:180px 1fr;gap:14px 20px;font-size:14px}.kt-rm-details dt{font-weight:650;color:#637592}.kt-rm-details dd{margin:0;color:#203456}
.kt-rm-footer{border-top:1px solid #e7edf6;padding:17px 30px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.kt-rm-footer span{color:#8190a5;font-size:12px}
.kt-joined-room-row{display:flex;align-items:center;gap:3px;min-width:0}.kt-joined-room-row>.kt-chat-room{min-width:0;flex:1}
.kt-joined-room-manage{display:flex;align-items:center;justify-content:center;flex:0 0 auto;background:#eaf1ff;border:0;color:#3565bd;border-radius:9px;cursor:pointer;width:29px;height:32px}.kt-joined-room-manage:hover{background:#d8e7ff;color:#174baf}
@media(max-width:650px){.kt-rm-dialog{max-height:95dvh!important}.kt-rm-header{padding:19px 19px 14px!important}.kt-rm-tabs{padding:8px 12px 0;gap:3px}.kt-rm-tab{padding:10px 9px;font-size:11px;gap:4px}.kt-rm-tab svg{width:14px}.kt-rm-content{padding:20px 18px;min-height:170px}.kt-rm-footer{padding:14px 18px}.kt-rm-footer span{display:none}.kt-rm-details{grid-template-columns:1fr;gap:4px}.kt-rm-details dd{margin-bottom:9px}}

/* Profile swipe animation: panel slides in from the roster and slides out
   before React removes it. Animations never block underlying chat state. */
@keyframes ktMiniProfileSwipeIn{
  from{transform:translate3d(100%,0,0);opacity:.94}
  to{transform:translate3d(0,0,0);opacity:1}
}
@keyframes ktMiniProfileSwipeOut{
  from{transform:translate3d(0,0,0);opacity:1}
  to{transform:translate3d(100%,0,0);opacity:.94}
}
@keyframes ktMiniProfileBackdropIn{from{opacity:0}to{opacity:1}}
@keyframes ktMiniProfileBackdropOut{from{opacity:1}to{opacity:0}}
.community-html .kt-chat-workspace .kt-mini-profile-overlay{
  animation:ktMiniProfileBackdropIn 280ms ease-out both;
}
.community-html .kt-mini-profile-panel{
  animation:ktMiniProfileSwipeIn 280ms cubic-bezier(.22,1,.36,1) both;
  will-change:transform;
}
.community-html .kt-chat-workspace .kt-mini-profile-overlay.is-closing{
  pointer-events:none;
  animation:ktMiniProfileBackdropOut 240ms ease-in both;
}
.community-html .kt-mini-profile-overlay.is-closing .kt-mini-profile-panel{
  animation:ktMiniProfileSwipeOut 240ms cubic-bezier(.4,0,1,1) both;
}
@media(prefers-reduced-motion:reduce){
  .community-html .kt-chat-workspace .kt-mini-profile-overlay,
  .community-html .kt-mini-profile-panel,
  .community-html .kt-chat-workspace .kt-mini-profile-overlay.is-closing,
  .community-html .kt-mini-profile-overlay.is-closing .kt-mini-profile-panel{
    animation:none!important;
    will-change:auto;
  }
}

/* V1.5.7: member mini profile, opened from a chat nickname.
   On wide screens it expands immediately to the left of the members roster,
   as a pop-out panel rather than navigating away from the conversation. */
.community-html .kt-chat-workspace .kt-mini-profile-overlay{
  position:absolute;inset:0;z-index:16;display:flex;justify-content:flex-end;
  align-items:stretch;padding-right:244px;background:rgba(26,42,75,.12);
}
.community-html .kt-mini-profile-panel{
  width:min(478px,100%);height:100%;min-width:0;overflow-y:auto;overscroll-behavior:contain;
  background:#fff;box-shadow:-12px 0 38px rgba(25,47,82,.24),6px 0 18px rgba(25,47,82,.09);
  border-left:1px solid #d4e2f5;border-right:1px solid #d4e2f5;
  display:flex;flex-direction:column;isolation:isolate;
}
.community-html .kt-mini-profile-top{
  position:relative;display:flex;align-items:flex-end;padding:27px 16px 15px;
  min-height:175px;flex:0 0 auto;
  background:repeating-linear-gradient(45deg,transparent 0 8px,rgba(255,255,255,.11) 8px 13px),
    linear-gradient(118deg,#125596 0%,#238ad7 55%,#1266ad 100%);
}
.community-html .kt-mini-profile-close{
  position:absolute;z-index:2;top:6px;left:6px;display:flex;align-items:center;justify-content:center;
  padding:0;width:36px;height:36px;border-radius:50%;border:3px solid white;
  background:#101a28;color:white;box-shadow:0 2px 8px #1232535a;cursor:pointer;
}
.community-html .kt-mini-profile-close:hover{background:#243650}
.community-html .kt-mini-profile-ident{
  display:flex;align-items:stretch;gap:0;width:100%;min-width:0;
  background:rgba(255,255,255,.96);border-radius:8px;overflow:hidden;
  box-shadow:0 4px 20px #09375a28;
}
.community-html .kt-mini-profile-ident .kt-avatar.large{
  width:124px;height:125px;flex:0 0 124px;display:flex;align-items:center;justify-content:center;
  border-radius:0;box-shadow:none;border:0;font-size:34px;
  background:linear-gradient(145deg,#9cdaff,#2987c9);color:#fff;
}
.community-html .kt-mini-profile-identity-text{min-width:0;display:flex;flex-direction:column;justify-content:center;padding:11px 13px;gap:7px}
.community-html .kt-mini-profile-identity-text h2{
  margin:0;color:#254266!important;font-size:20px;font-weight:800;
  line-height:1.2;overflow-wrap:anywhere;
}
.community-html .kt-mini-profile-subline{display:flex;flex-wrap:wrap;gap:5px 10px;align-items:center;color:#4b6b8a;font-size:12px;line-height:1.4}
.community-html .kt-mini-profile-presence{color:#8b97a8}
.community-html .kt-mini-profile-presence.online{color:#1d9770;font-weight:750}
.community-html .kt-mini-profile-joined{color:#637d9c;font-size:11px;line-height:1.35}
.community-html .kt-mini-profile-loading,.community-html .kt-mini-profile-error{padding:24px 23px;font-size:13px;color:#657590}
.community-html .kt-mini-profile-error{color:#b62637;background:#fff3f5;line-height:1.55}
.community-html .kt-mini-profile-retry{display:block;margin-top:12px;padding:7px 12px;background:#fff;border:1px solid #e4aeba;border-radius:6px;color:#a52738;cursor:pointer}
.community-html .kt-mini-profile-content{min-height:0;display:flex;flex-direction:column;gap:0;flex:1}
.community-html .kt-mini-profile-actions{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;
  background:#fff;border-bottom:1px solid #d6dce6;padding:17px 10px 15px;
}
.community-html .kt-mini-profile-action{
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;
  background:transparent;border:0;cursor:pointer;color:#353c48;
  font:inherit;font-size:12px;font-weight:650;min-height:68px;padding:6px 5px;
  line-height:1.3;text-align:center;border-radius:7px;
}
.community-html .kt-mini-profile-action svg{color:#7b828b}
.community-html .kt-mini-profile-action:not(:disabled):hover{background:#edf4ff;color:#235bb9}
.community-html .kt-mini-profile-action:not(:disabled):hover svg{color:#2875cf}
.community-html .kt-mini-profile-action:disabled{cursor:not-allowed;opacity:.42}
.community-html .kt-mini-profile-about{padding:20px 24px 21px;border-bottom:1px solid #e1e6ed}
.community-html .kt-mini-profile-about h3,.community-html .kt-mini-profile-badges h3{margin:0 0 10px;color:#2d4160;font-size:14px;font-weight:750;letter-spacing:0}
.community-html .kt-mini-profile-about p{margin:0;color:#465a74;font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.community-html .kt-mini-profile-gender{margin-top:12px;font-size:12px;color:#607593}
.community-html .kt-mini-profile-badges{padding:21px 20px 30px}
.community-html .kt-mini-profile-badges h3{display:flex;align-items:center;gap:8px}
.community-html .kt-mini-profile-badge-tile{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
  width:min(100%,310px);margin:14px auto 3px;border:1px solid #dbe3ef;
  border-radius:13px;background:linear-gradient(#fff,#f5f8ff);padding:20px 18px 15px;
  box-shadow:0 4px 14px #33527c12;
}
.community-html .kt-mini-profile-badge-tile img{display:block;object-fit:contain;width:100%;height:auto;max-height:95px}
.community-html .kt-mini-profile-badge-tile span{color:#2c415f;font-size:13px;font-weight:750}
.community-html .kt-mini-profile-footer{padding:14px 20px 22px;margin-top:auto;border-top:1px solid #e6ebf3;text-align:center;background:#fbfcff}
.community-html .kt-mini-profile-full{border:1px solid #c7d6ef;border-radius:7px;padding:12px 19px;background:white;color:#285bc0;font:inherit;font-size:12px;font-weight:750;cursor:pointer}
.community-html .kt-mini-profile-full:hover{background:#edf4ff;border-color:#96b7ee}
.community-html .kt-mini-profile-header-trigger{border:0;background:none;color:inherit;font:inherit;font-size:inherit;font-weight:inherit;padding:0;cursor:pointer}
.community-html .kt-mini-profile-header-trigger:hover{text-decoration:underline}
@media(max-width:1180px){
  .community-html .kt-chat-workspace .kt-mini-profile-overlay{padding:14px;align-items:center;justify-content:center;background:rgba(17,34,67,.52)}
  .community-html .kt-mini-profile-panel{max-width:480px;width:100%;height:auto;max-height:100%;border-radius:12px;border:1px solid #d1ddec;box-shadow:0 16px 48px #15294666}
}
@media(max-width:550px){
  .community-html .kt-chat-workspace .kt-mini-profile-overlay{padding:6px}
  .community-html .kt-mini-profile-panel{max-height:100%;border-radius:9px}
  .community-html .kt-mini-profile-top{padding:30px 11px 10px;min-height:143px}
  .community-html .kt-mini-profile-ident .kt-avatar.large{width:90px;height:95px;flex-basis:90px;font-size:26px}
  .community-html .kt-mini-profile-identity-text{padding:8px 10px;gap:4px}
  .community-html .kt-mini-profile-identity-text h2{font-size:17px}
  .community-html .kt-mini-profile-actions{padding:9px 5px}
  .community-html .kt-mini-profile-action{min-height:62px;gap:6px;font-size:11px}
  .community-html .kt-mini-profile-about{padding:16px 16px}
  .community-html .kt-mini-profile-badges{padding:18px 14px}
}

/* V1.5.7: persistent Main workspace and independent room/private footer tabs. */
.kt-bottom-tabs{overflow:visible;display:flex;gap:7px;align-items:center;white-space:nowrap}
.kt-bottom-tabs .kt-main-fixed,.kt-bottom-tabs .kt-add-tab{flex:0 0 auto}
.kt-conversation-tabs{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:5px;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain;padding:2px 0}
.kt-bottom-tabs .kt-room-tab-group{min-width:0;max-width:188px}
.kt-bottom-tabs .kt-room-tab-group .kt-bottom-tab{min-width:0;max-width:150px;padding:0 8px}
.kt-bottom-tabs .kt-room-tab-close{flex:0 0 auto}
.kt-tab-unread{display:inline-flex;align-items:center;justify-content:center;margin-left:2px;border-radius:999px;background:#d33d59;color:#fff;font-size:10px;font-weight:800;min-width:18px;height:18px;padding:0 5px;font-variant-numeric:tabular-nums}
.kt-bottom-tab.active .kt-tab-unread{background:#8a2b50}
.kt-more-tabs{position:relative;flex:0 0 auto}
.kt-more-button{min-width:65px!important}
.kt-more-menu{position:absolute;right:0;bottom:calc(100% + 12px);min-width:210px;max-height:320px;overflow:auto;border-radius:12px;background:#fff;border:1px solid #dae3f4;box-shadow:0 16px 38px #11284e35;z-index:80;padding:8px}
.kt-more-entry{display:flex;align-items:center;gap:6px;border-radius:7px}
.kt-more-entry:hover{background:#eef2fd}
.kt-more-entry-open{display:flex;flex:1;min-width:0;align-items:center;justify-content:space-between;gap:7px;padding:9px 7px;border:0;background:transparent;text-align:left;color:#25436c;cursor:pointer}
.kt-more-entry-open>span{display:inline-flex;align-items:center;gap:5px;overflow:hidden;text-overflow:ellipsis}
.kt-more-entry .kt-room-tab-close{margin:0}
.kt-room-picker-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:7px;max-height:210px;overflow:auto;padding:5px 2px;margin:12px 0}
.kt-room-picker-item{display:flex;align-items:center;justify-content:flex-start;padding:10px 12px;border:1px solid #dce5f5;background:#f8faff;color:#23497d;border-radius:8px;cursor:pointer}
.kt-room-picker-item:hover{background:#eaf0ff}
.kt-banner-chatrooms{background:#fff;color:#2859c8;border:0;border-radius:8px;padding:8px 12px;font-size:11px;font-weight:800;cursor:pointer;margin-top:9px}
.kt-dm-sound-preference{display:flex;align-items:center;gap:9px;margin-top:12px}
.kt-dm-sound-preference input{width:16px;height:16px;flex:0 0 auto}
.kt-chat-preserved-pane,.kt-main-preserved-pane{min-width:0}
@media(max-width:640px){.kt-bottom-tabs{padding:7px 6px;gap:4px}.kt-conversation-tabs{gap:3px}.kt-bottom-tabs .kt-room-tab-group{max-width:120px}.kt-bottom-tabs .kt-room-tab-group .kt-bottom-tab{max-width:96px;font-size:10px}.kt-bottom-tabs .kt-main-fixed{min-width:60px;padding:0 7px}.kt-more-button{min-width:56px!important}}


/* Compact two-column chat room directory, inspired by the provided reference. */
.kt-channel-directory-page{width:min(1240px,100%);margin:0 auto;padding:18px 4px 96px;color:#2f3a48}
.kt-channel-directory-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.kt-channel-directory-header h1{font-size:25px;line-height:1.2;margin:0 0 3px;color:#2c3947;font-weight:800}
.kt-channel-directory-header p{font-size:13px;margin:0;color:#637184}
.kt-channel-directory-counter{display:flex;align-items:center;gap:5px;white-space:nowrap;color:#627289;font-size:12px}
.kt-channel-directory-counter strong{font-size:14px;color:#255eac}
.kt-channel-directory-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:13px}
.kt-channel-directory-search{display:flex;align-items:center;gap:9px;flex:1;min-width:0;max-width:470px;height:41px;padding:0 11px;border:1px solid #d6dce7;border-radius:8px;background:white;color:#74849b}
.kt-channel-directory-search input{background:transparent;border:0;outline:0;box-shadow:none;min-width:0;width:100%;height:100%;padding:0;color:#293c58;font-size:13px}
.kt-channel-directory-search:focus-within{outline:2px solid #5b9bf0;outline-offset:1px}
.kt-channel-directory-create-toggle{padding:10px 13px;border:1px solid #2a6ab8;border-radius:8px;background:#2676c2;color:white;font-size:12px;font-weight:750;cursor:pointer;white-space:nowrap}
.kt-channel-directory-create-toggle>span{display:flex;align-items:center;gap:5px}
.kt-channel-directory-create-toggle:hover,.kt-channel-directory-create-toggle.active{background:#125995}
.kt-channel-directory-create-inline{display:flex;flex-wrap:wrap;align-items:center;gap:9px 15px;padding:12px 14px;margin:2px 0 14px;border:1px solid #cfdeef;background:#f5f9ff;border-radius:8px}
.kt-channel-directory-create-inline>label{font-size:12px;font-weight:750;color:#31577f}
.kt-channel-directory-create-controls{display:flex;flex:1;min-width:180px;gap:8px}
.kt-channel-directory-create-controls input{flex:1;min-width:0;border:1px solid #bbcde1;border-radius:6px;background:white;padding:8px 10px;font-size:13px}
.kt-channel-directory-create-controls button{white-space:nowrap}
.kt-channel-directory-create-inline small{flex-basis:100%;font-size:11px;color:#647a93}
.kt-channel-directory-categories{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:4px 0 16px}
.kt-channel-directory-category{border:1px solid #8bb8e5;background:#2983cf;border-radius:999px;padding:7px 14px;box-shadow:0 2px 3px #263a5e25;color:#fff;font-size:13px;font-weight:750;cursor:pointer;line-height:1.2}
.kt-channel-directory-category:hover{background:#1674bc}
.kt-channel-directory-category.active{background:#0d5d9c;border-color:#0b548d;box-shadow:0 2px 5px #122d4a44}
.kt-channel-directory-category:focus-visible,.kt-channel-directory-card-main:focus-visible,.kt-channel-directory-create-toggle:focus-visible{outline:3px solid #6da8ec;outline-offset:2px}
.kt-channel-directory-results{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#647589;font-size:11px;margin-bottom:9px}
.kt-channel-directory-connected{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.kt-channel-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px 16px}
.kt-channel-directory-card{min-width:0;overflow:hidden;background:#fff;border:1px solid #c0c3cb;border-radius:6px;box-shadow:0 2px 3px #1422362c;transition:border-color .15s,box-shadow .15s}
.kt-channel-directory-card:hover{border-color:#87b6df;box-shadow:0 3px 9px #14223630}
.kt-channel-directory-card.is-joined{border-color:#82b6dc}
.kt-channel-directory-card-main{display:flex;align-items:flex-start;gap:12px;width:100%;min-width:0;min-height:78px;padding:7px 9px 8px 6px;border:0;border-radius:0;background:#fff;color:#303c4a;text-align:left;font-family:inherit;cursor:pointer}
.kt-channel-directory-card-main:hover{background:#f8fbff}
.kt-channel-directory-art{flex:0 0 57px;width:57px;height:57px;border-radius:4px;display:grid;place-items:center;font-family:system-ui,sans-serif;font-size:29px;line-height:1;background:linear-gradient(145deg,#1c87d1,#97d4ff);box-shadow:inset 0 0 0 1px #ffffff50}
.kt-channel-directory-art.theme-chat{background:linear-gradient(145deg,#6ec2ff,#2775d4)}
.kt-channel-directory-art.theme-staff{background:linear-gradient(145deg,#15375b,#70aac9)}
.kt-channel-directory-art.theme-politics{background:linear-gradient(145deg,#d6bf99,#637b8d)}
.kt-channel-directory-art.theme-uk{background:linear-gradient(145deg,#3358ab,#cde7fc)}
.kt-channel-directory-art.theme-america{background:linear-gradient(145deg,#1762a3,#94c1ed)}
.kt-channel-directory-art.theme-europe,.kt-channel-directory-art.theme-asia{background:linear-gradient(145deg,#c3e5a8,#3f94a7)}
.kt-channel-directory-art.theme-pride{background:linear-gradient(135deg,#ff769d,#ffcf66,#7fcdb4,#7795ef)}
.kt-channel-directory-art.theme-music{background:linear-gradient(145deg,#121c43,#7b4bc1)}
.kt-channel-directory-art.theme-regions{background:linear-gradient(145deg,#4d80dd,#63d5ad)}
.kt-channel-directory-art.theme-games{background:linear-gradient(145deg,#106cd3,#56cfd3)}
.kt-channel-directory-art.theme-dating{background:linear-gradient(145deg,#ff6e9a,#f7b1ce)}
.kt-channel-directory-art.theme-premium{background:linear-gradient(145deg,#f8d975,#c79a30)}
.kt-channel-directory-card-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px;padding-top:1px}
.kt-channel-directory-card-name{font-size:16px;line-height:1.25;font-weight:800;color:#313f4e;overflow-wrap:anywhere}
.kt-channel-directory-topic{font-size:13px;line-height:1.34;color:#3b495a;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.kt-channel-directory-population{flex:0 0 65px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:1px 0 0;color:#364453;line-height:1}
.kt-channel-directory-population>strong{font-size:23px;font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums}
.kt-channel-directory-population small{display:flex;flex-direction:column;gap:2px;font-size:10px;font-weight:400;line-height:1.05}
.kt-channel-directory-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:28px;padding:5px 8px;border-top:1px solid #d7d9df;background:#f0f1f5;color:#707b8d;font-size:11px}
.kt-channel-directory-card-meta>span{display:inline-flex;align-items:center;gap:3px}
.kt-channel-directory-joined{font-size:11px;font-weight:700;color:#217e5d}
.kt-channel-directory-empty,.kt-channel-directory-limit{padding:16px;margin:12px 0;border-radius:8px;color:#526a84;font-size:13px;background:#eef4fc}
.kt-channel-directory-limit{background:#fff2e4;color:#80561e}
@media(max-width:900px){.kt-channel-directory-grid{gap:10px}.kt-channel-directory-art{flex-basis:49px;width:49px;height:49px;font-size:26px}.kt-channel-directory-card-main{gap:8px;min-height:72px}.kt-channel-directory-card-name{font-size:14px}.kt-channel-directory-topic{font-size:12px}.kt-channel-directory-population{flex-basis:47px}.kt-channel-directory-population>strong{font-size:19px}}
@media(max-width:660px){.kt-channel-directory-page{padding:14px 0 95px}.kt-channel-directory-grid{grid-template-columns:1fr;gap:9px}.kt-channel-directory-header h1{font-size:21px}.kt-channel-directory-header p{font-size:12px}.kt-channel-directory-card-main{min-height:73px}.kt-channel-directory-category{padding:7px 11px;font-size:12px}.kt-channel-directory-art{flex:0 0 52px;width:52px;height:52px}.kt-channel-directory-toolbar{gap:7px}}
@media(max-width:395px){.kt-channel-directory-create-toggle{padding:10px 8px;font-size:11px}.kt-channel-directory-header p{max-width:235px}.kt-channel-directory-population{flex-basis:45px}.kt-channel-directory-card-main{gap:7px}.kt-channel-directory-card-name{font-size:13px}}
/* Override generic forms used by older community styles. */
.community-html label.kt-channel-directory-search{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:400;letter-spacing:normal}
.community-html label.kt-channel-directory-search input{display:block;flex:1;width:auto;min-width:0;height:100%;margin:0;border:0;box-shadow:none;outline:0;background:transparent;font-size:13px;font-weight:400;letter-spacing:normal}

/* 1.5.7 staff media and reporting update */
.kt-channel-directory-art.kt-room-custom-image{object-fit:cover;object-position:center;display:block;border-radius:7px}
.kt-channel-directory-card .kt-room-custom-image{width:60px;height:60px;min-width:60px;background:#e8eef5}
.kt-avatar{overflow:hidden;position:relative}
.kt-avatar .kt-avatar-uploaded{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit;position:absolute;inset:0}
.kt-avatar-edit-preview{width:84px;height:84px;object-fit:cover;border-radius:50%;display:block;margin:9px 0}
.kt-avatar-awaiting{font-size:13px;color:#456a96;background:#e8f0fb;padding:9px 12px;border-radius:8px}
.kt-room-image-settings{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.kt-room-image-settings label{flex:1;min-width:220px}
.kt-room-image-settings input{display:block;margin-top:6px;max-width:100%}
.kt-room-image-preview{width:90px;height:90px;object-fit:cover;border-radius:10px}
.kt-feed-post-actions{display:flex;gap:9px;align-items:center}
.kt-feed-report{color:#63778d;font-weight:600;border:1px solid #dbe4ee;background:white;border-radius:7px;padding:5px 9px;cursor:pointer;font-size:12px}
.kt-feed-report:hover,.kt-feed-report:focus-visible{color:#a12b36;border-color:#efb2ba}
.kt-staff-top-alert{display:inline-flex;align-items:center;gap:6px;color:white;background:#1450a6;border:1px solid rgba(255,255,255,.3);border-radius:10px;padding:7px 11px;cursor:pointer;font-weight:700}
.kt-staff-top-alert>span{display:flex;align-items:center;gap:5px}
.kt-staff-count{min-width:20px;min-height:20px;display:inline-flex;align-items:center;justify-content:center;background:#ed5b57;color:white;border-radius:12px;font-size:12px;padding:0 5px}
.kt-staff-queue{max-width:1100px;margin:0 auto;padding:22px 18px 105px;display:grid;gap:18px}
.kt-staff-queue-head{display:flex;justify-content:space-between;gap:14px;align-items:center}
.kt-staff-queue-head h1{margin:0 0 6px;font-size:26px}
.kt-staff-queue-head p{margin:0;color:#65758b}
.kt-staff-queue .kt-feature-card-main{padding:20px;background:#fff;border:1px solid #dce3f0;border-radius:12px}
.kt-staff-queue .kt-feature-card-main h2{margin:0 0 16px}
.kt-staff-review-row,.kt-staff-report-row{border-top:1px solid #e2e8f0;padding:15px 0;display:flex;align-items:center;justify-content:space-between;gap:16px}
.kt-staff-review-row p,.kt-staff-report-row p{margin:4px 0 7px;white-space:pre-wrap}
.kt-staff-report-row>div:first-child{min-width:0;flex:1;overflow-wrap:anywhere}
.kt-staff-pending-avatar{width:76px;height:76px;object-fit:cover;border-radius:12px;border:1px solid #e3eaf5;flex-shrink:0}
.kt-staff-report-reason{font-weight:600;color:#8c3844}
.kt-staff-review-row .kt-feature-actions,.kt-staff-report-row .kt-feature-actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:640px){.kt-staff-review-row,.kt-staff-report-row{flex-wrap:wrap}.kt-staff-queue{padding:12px 10px 95px}.kt-staff-top-alert{font-size:12px;padding:6px}}


/* KeepTalking welcome banner: original photographic asset with real, responsive text. */
.kt-yellow-banner.kt-welcome-photo-banner{
  background:#ffad00 url('/welcome-banner.webp?v=1.5.7-border-fix-1') center center / 100% 100% no-repeat;
  min-height:166px;height:auto;aspect-ratio:2048 / 454;
  border-radius:9px;padding:18px 23px;gap:14px;
}
.kt-welcome-photo-banner::after{display:none}
.kt-welcome-photo-banner::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(137,61,0,.25),rgba(171,74,0,.12) 34%,transparent 65%);
}
.kt-welcome-photo-banner .kt-banner-speaker{position:relative;z-index:1;padding-right:12px;border-color:#fff9}
.kt-welcome-photo-banner .kt-banner-copy{z-index:1;width:44%;max-width:340px;min-width:0}
.community-html .kt-welcome-photo-banner h1{font-size:clamp(19px,2vw,25px);line-height:1.16;margin:0 0 7px;
  color:#fff;overflow-wrap:normal;text-wrap:balance;text-shadow:0 1px 2px #874a0033}
.community-html .kt-welcome-photo-banner p{font-size:12px;line-height:1.35;color:#fff;font-weight:650;
  text-shadow:0 1px 2px #874a0030}
.kt-welcome-photo-banner .kt-banner-chatrooms{display:inline-flex;align-items:center;justify-content:center;
  min-height:31px;margin-top:9px;padding:7px 13px;background:#fff;color:#2456cd;
  border-radius:8px;font-size:11px;font-weight:800;box-shadow:0 1px 3px #0001}
@media(max-width:720px){
  .kt-yellow-banner.kt-welcome-photo-banner{min-height:175px;height:auto;aspect-ratio:auto;
    padding:18px 19px;background-size:auto 100%;background-position:37% center}
  .kt-welcome-photo-banner .kt-banner-speaker{display:none}
  .kt-welcome-photo-banner .kt-banner-copy{width:70%;max-width:390px}
  .community-html .kt-welcome-photo-banner h1{font-size:clamp(20px,4vw,24px);line-height:1.13}
  .community-html .kt-welcome-photo-banner p{font-size:11px;line-height:1.35}
  .kt-welcome-photo-banner::before{background:linear-gradient(90deg,rgba(147,66,0,.35),rgba(165,71,0,.22) 49%,transparent 95%)}
}
@media(max-width:420px){
  .kt-yellow-banner.kt-welcome-photo-banner{min-height:190px;padding:16px 17px;background-position:35% center}
  .kt-welcome-photo-banner .kt-banner-copy{width:74%;max-width:285px}
  .community-html .kt-welcome-photo-banner h1{font-size:20px}
  .kt-welcome-photo-banner .kt-banner-chatrooms{font-size:11px;padding:7px 11px}
}

/* V1.5.7: private, non-expiring command/system feedback within the issuing chat tab. */
.community-html .kt-room-system-notice.kt-private-system-notice {
  display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;
  width:fit-content;max-width:100%;margin:10px 0;padding:9px 12px;
  color:#ae2335;background:#fff0f2;border:1px solid #f2c5ce;border-left:3px solid #cc3047;
  border-radius:8px;font-size:12px;font-weight:650;line-height:1.5;
  overflow-wrap:anywhere;text-align:left;
}

/* Roster right-click / keyboard-accessible actions */
.community-html .kt-chat-person-actions { flex:0 0 26px;width:26px;height:28px;border:0;border-radius:7px;
  background:transparent;color:#415577;font-size:22px;line-height:1;cursor:pointer; }
.community-html .kt-chat-person-actions:hover,.community-html .kt-chat-person-actions:focus-visible {background:#e5ecfb;outline:2px solid #7998e3;outline-offset:1px;}
.community-html .kt-roster-blocked .kt-chat-person-name {text-decoration:line-through;opacity:.55;}
.community-html .kt-roster-context-menu {position:fixed;z-index:99999;width:214px;max-height:min(380px,85vh);overflow:auto;
  padding:6px;background:#fff;border:1px solid #d7dfef;border-radius:12px;
  box-shadow:0 14px 40px rgba(16,30,66,.22);color:#152348;}
.community-html .kt-roster-menu-heading {font-weight:700;font-size:13px;color:#213a69;padding:9px 11px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-bottom:1px solid #e6ecf5;}
.community-html .kt-roster-menu-action {display:block;width:100%;text-align:left;padding:10px 11px;border:0;
  border-radius:7px;background:transparent;color:#243958;cursor:pointer;font-size:13px;font-weight:500;}
.community-html .kt-roster-menu-action:hover,.community-html .kt-roster-menu-action:focus-visible {background:#eaf0ff;outline:none;}
.community-html .kt-roster-menu-danger {color:#b32631;}
.community-html .kt-roster-menu-danger:hover,.community-html .kt-roster-menu-danger:focus-visible {background:#fff0f0;}
.community-html .kt-roster-menu-divider {border-top:1px solid #e6ecf5;margin:5px 0;}

/* Account privacy and blocked member management */
.community-html .kt-settings-page .kt-feature-page {max-width:880px;width:100%;}
.community-html .kt-settings-page .kt-privacy-card {margin-bottom:18px;padding:24px;}
.community-html .kt-settings-page .kt-privacy-card h2 {font-size:20px;margin:0 0 12px;}
.community-html .kt-privacy-options {border:0;padding:0;margin:16px 0;display:flex;flex-wrap:wrap;gap:12px;}
.community-html .kt-privacy-options legend {font-weight:600;margin-bottom:8px;}
.community-html .kt-privacy-option {display:flex;gap:9px;align-items:center;padding:12px 14px;border:1px solid #d5dceb;border-radius:9px;cursor:pointer;background:white;}
.community-html .kt-privacy-option:has(input:checked) {border-color:#426fc0;background:#f1f5ff;}
.community-html .kt-privacy-option input {accent-color:#3860b1;}
.community-html .kt-privacy-info {font-size:13px;line-height:1.6;color:#536783;}
.community-html .kt-block-form {display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:16px 0;}
.community-html .kt-block-form label {flex:1 1 210px;display:grid;gap:6px;font-weight:600;color:#334666;}
.community-html .kt-block-form input {box-sizing:border-box;width:100%;padding:12px;border:1px solid #c8d3e5;border-radius:8px;font-size:14px;}
.community-html .kt-block-form button {min-height:42px;}
.community-html .kt-blocked-list {list-style:none;padding:0;margin:12px 0;}
.community-html .kt-blocked-list li {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e6ebf5;}
.community-html .kt-blocked-list li strong {overflow-wrap:anywhere;}
/* Keep radio buttons compact despite the site's global full-width input styles. */
.community-html .community-app .kt-privacy-options .kt-privacy-option {display:flex;align-items:center;gap:9px;margin:0;}
.community-html .community-app .kt-privacy-options input[type=radio] {display:inline-block;width:18px;height:18px;flex:0 0 18px;margin:0;padding:0;border:0;}
.community-html .community-app .kt-block-form label {display:grid;gap:7px;margin:0;}

/* Room moderation alerts are server-authored live system messages. */
.community-html .kt-room-system-notice.kt-system-success {
  color:#17683a;background:#eaf8ee;border:1px solid #b7e5c3;border-left:4px solid #26934f;
  font-weight:650;border-radius:8px;padding:9px 12px;
}
.community-html .kt-room-system-notice.kt-system-danger {
  color:#a82437;background:#fff0f2;border:1px solid #f1b9c4;border-left:4px solid #d73549;
  font-weight:650;border-radius:8px;padding:9px 12px;
}
.community-html .kt-room-system-notice.kt-system-warning {
  color:#925107;background:#fff5e4;border:1px solid #f2d095;border-left:4px solid #e39124;
  font-weight:650;border-radius:8px;padding:9px 12px;
}
.community-html .kt-room-system-notice.kt-system-neutral {
  color:#37527b;background:#eef4fc;border:1px solid #cbdaf0;border-left:4px solid #6684b7;
  font-weight:600;border-radius:8px;padding:9px 12px;
}
.community-html .kt-room-kicked-dialog .kt-session-modal-icon {background:#fff0f2;color:#b72b43;}
.community-html .kt-room-kicked-dialog h2 {color:#a82437;}

/* Room entry and departure are public, light-purple notices in the same
   left-aligned layout as moderation messages (kick, ban, op and deop). */
.community-html .kt-room-system-notice.kt-system-lifecycle {
  color:#69429c;
  background:#f4edff;
  border:1px solid #d8c5f5;
  border-left:4px solid #a577e2;
  border-radius:8px;
  font-size:12px;
  font-weight:650;
  line-height:1.5;
  padding:9px 12px;
  margin:9px 0;
  text-align:left;
  justify-content:flex-start;
}

/* Server moderation controls in the room userlist context menu. */
.community-html .kt-roster-menu-section {font-size:10px;letter-spacing:.09em;font-weight:800;color:#697a97;padding:10px 11px 5px;}
.community-html .kt-roster-context-menu {max-height:min(490px,85vh);}
.community-html .kt-server-action-dialog {width:min(430px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;text-align:left;}
.community-html .kt-server-ban-duration {display:flex;flex-direction:column;gap:8px;margin:18px 0;font-weight:700;color:#27375f;}
.community-html .kt-server-ban-duration select {width:100%;padding:12px;border:1px solid #cbd7ee;background:#fff;border-radius:9px;font-size:15px;color:#25345c;}
.community-html .kt-server-ban-duration-note {padding:12px 14px;background:#fff7e9;color:#805500;border-radius:10px;}
.community-html .kt-server-action-danger {background:#b52e3d;color:#fff;}
.community-html .kt-server-action-danger:hover {background:#9c1d30;}

/* Server ban display: persistently visible during login, with live countdown. */
.community-html .kt-server-ban-status {background:#fff2f0;border:1px solid #f5b5b7;border-left:4px solid #c72b45;color:#662334;padding:14px 15px;margin:12px 0 18px;border-radius:9px;line-height:1.55;font-size:14px;overflow-wrap:anywhere;}
.community-html .kt-server-ban-status>strong {display:block;font-weight:800;margin-bottom:7px;}
.community-html .kt-server-ban-status p {margin:6px 0;}
.community-html .kt-ban-countdown {background:#fff;padding:9px;border:1px solid #f4c9d2;border-radius:7px;font-variant-numeric:tabular-nums;font-weight:700;color:#972037;}
.community-html .kt-server-action-result-title {color:#7d2032;}

/* Public member profile: server-side account ban notice. */
.community-html .kt-retro-profile-ban{display:flex;flex-direction:column;gap:5px;background:#fff1f1;border:1px solid #f1bec4;border-left:5px solid #c9334c;color:#802238;border-radius:10px;padding:13px 18px;font-size:13px;line-height:1.5;overflow-wrap:anywhere;}
.community-html .kt-retro-profile-ban strong{font-size:14px;font-weight:800;}
.community-html .kt-retro-profile-ban span{color:#87465a;font-weight:600;}

/* Profile-initiated server moderation and durable warning feedback. */
.community-html .kt-retro-action-warn{background:#fff6e8;border-color:#efc578;color:#855000;}
.community-html .kt-retro-action-ban{background:#fff0f0;border-color:#efb8c0;color:#a52337;}
.community-html .kt-profile-mod-success{background:#e9f9ef;color:#236140;border-left:5px solid #37a966;padding:13px 17px;border-radius:9px;font-weight:700;}
.community-html .kt-server-action-reason{display:flex;flex-direction:column;gap:7px;margin:14px 0;color:#27375f;font-weight:700;}
.community-html .kt-server-action-reason textarea{resize:vertical;min-height:100px;padding:11px 13px;border:1px solid #cbd7ee;border-radius:9px;color:#25345c;font:inherit;}
.community-html .kt-server-action-reason small{color:#61718d;font-size:12px;font-weight:500;}
.community-html .kt-server-action-warning{background:#b56611;color:#fff;}
.community-html .kt-server-action-warning:hover{background:#955008;}

/* KeepTalking member profiles: banner, tabs, completion and self-managed sections. */
.community-html .kt-modern-profile{gap:14px;}
.community-html .kt-profile-banner{height:185px;border-radius:16px;position:relative;overflow:hidden;background-size:cover;background-position:center;border:1px solid #d7ddf1;box-shadow:0 10px 25px #23335c10;}
.community-html .kt-profile-banner:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 25% 40%,#ffffff47,transparent 44%),radial-gradient(circle at 81% 0%,#ffffff63,transparent 40%);pointer-events:none;}
.community-html .kt-profile-banner-caption{position:absolute;bottom:19px;right:24px;color:#fff;font-size:11px;font-weight:900;letter-spacing:.22em;text-shadow:0 1px 9px #11213c80;}
.community-html .kt-banner-plum,.community-html .kt-profile-banner-swatch.plum{background-image:linear-gradient(115deg,#8974cf,#5b67a8 55%,#e0a8d6);}
.community-html .kt-banner-blue,.community-html .kt-profile-banner-swatch.blue{background-image:linear-gradient(115deg,#418bc9,#759fe4,#c5e8f7);}
.community-html .kt-banner-sage,.community-html .kt-profile-banner-swatch.sage{background-image:linear-gradient(115deg,#319a8a,#a9cba3,#d8eac0);}
.community-html .kt-banner-coral,.community-html .kt-profile-banner-swatch.coral{background-image:linear-gradient(115deg,#dc7d81,#f1aa8d,#ffe1b8);}
.community-html .kt-banner-gold,.community-html .kt-profile-banner-swatch.gold{background-image:linear-gradient(115deg,#a77b29,#e4ba60,#fff0b4);}
.community-html .kt-banner-teal,.community-html .kt-profile-banner-swatch.teal{background-image:linear-gradient(115deg,#218d9b,#47b9a7,#a2e6d6);}
.community-html .kt-profile-completion-banner{padding:13px 20px;background:#fff;border:1px solid #e0e7f4;border-radius:12px;display:grid;gap:9px;color:#425780;font-size:12px;}
.community-html .kt-profile-meter{width:100%;height:9px;border-radius:99px;background:#e8ebf5;overflow:hidden;}
.community-html .kt-profile-meter>span{display:block;height:100%;min-width:0;max-width:100%;background:linear-gradient(90deg,#8b6ed5,#459fd1);border-radius:99px;transition:width .25s ease;}
.community-html .kt-profile-sections{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px;border:1px solid #dee6f4;background:#fff;border-radius:12px;}
.community-html .kt-profile-section-tab{border:1px solid transparent;background:transparent;color:#586b90;padding:10px 17px;border-radius:9px;font-size:13px;font-weight:750;}
.community-html .kt-profile-section-tab:hover{background:#eef3ff;}
.community-html .kt-profile-section-tab.active{border-color:#bacaf1;background:#edf2ff;color:#345bb2;}
.community-html .kt-profile-extras-view{display:grid;gap:12px;}
.community-html .kt-profile-extras-panel{min-height:160px;}
.community-html .kt-profile-extras-panel h2,.community-html .kt-profile-editor-extras h2{color:#253e69;font-size:19px;margin:0 0 19px;}
.community-html .kt-profile-extra-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;}
.community-html .kt-profile-extra-row{display:grid;gap:6px;min-width:0;border:1px solid #e8edf6;border-radius:11px;padding:13px 16px;background:#fafcff;}
.community-html .kt-profile-extra-row dt{font-size:11px;color:#7689a9;font-weight:800;letter-spacing:.04em;}
.community-html .kt-profile-extra-row dd{font-size:13px;color:#283b5d;margin:0;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap;}
.community-html .kt-profile-interest-list{display:flex;gap:8px;flex-wrap:wrap;}
.community-html .kt-profile-interest-tag{display:inline-flex;align-items:center;padding:10px 13px;border-radius:24px;background:#f1eafa;border:1px solid #e4d5f3;color:#67529c;font-weight:700;font-size:12px;}
.community-html .kt-profile-editor-extras{border:1px solid #dce5f6;background:#fff;border-radius:14px;padding:26px 30px;display:grid;gap:16px;}
.community-html .kt-profile-editor-extras>p{margin:0;}
.community-html .kt-profile-editor-extras>form{display:grid;gap:16px;}
.community-html .kt-profile-completion{display:grid;gap:9px;padding:15px;background:#f9f6ff;border:1px solid #e9ddf8;border-radius:12px;color:#675190;font-size:12px;}
.community-html .kt-profile-edit-section{border:1px solid #e4e9f5;border-radius:12px;padding:21px 23px;background:#fcfdff;display:grid;gap:15px;}
.community-html .kt-profile-edit-section h3{margin:0;font-size:16px;color:#334a73;}
.community-html .kt-profile-edit-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;}
.community-html .kt-profile-edit-section-head>label{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:700;color:#637494;}
.community-html .kt-profile-edit-section-head select{border:1px solid #d8e2f2;border-radius:7px;padding:7px;font-size:12px;color:#34466b;background:white;}
.community-html .kt-profile-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.community-html .kt-profile-edit-grid>label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#475b7c;}
.community-html .kt-profile-edit-grid input,.community-html .kt-profile-edit-grid select,.community-html .kt-profile-edit-grid textarea,.community-html .kt-profile-custom-interest input{display:block;width:100%;max-width:100%;min-width:0;border-radius:9px;border:1px solid #d9e2f3;background:#fff;padding:10px 12px;color:#2b3f65;font-size:13px;font-family:inherit;}
.community-html .kt-profile-edit-grid textarea{resize:vertical;}
.community-html .kt-profile-interest-editor{grid-column:1/-1;display:grid;gap:13px;}
.community-html .kt-profile-interest-choice{border-radius:25px;border:1px solid #dcdff1;color:#596f96;background:#fff;padding:9px 13px;font-size:12px;font-weight:700;}
.community-html .kt-profile-interest-choice.selected{border-color:#c9b0e9;background:#ede3f9;color:#664792;}
.community-html .kt-profile-custom-interest{display:flex;gap:8px;max-width:480px;}
.community-html .kt-profile-custom-interest button{flex-shrink:0;}
.community-html .kt-profile-banner-colors{display:flex;flex-wrap:wrap;gap:8px;}
.community-html .kt-profile-banner-swatch{height:46px;min-width:82px;border-radius:10px;border:2px solid #fff;color:#fff;font-size:11px;font-weight:800;text-shadow:0 1px 5px #10234389;cursor:pointer;}
.community-html .kt-profile-banner-swatch.selected{outline:3px solid #485fc3;outline-offset:2px;}
.community-html .kt-profile-banner-upload{display:grid;gap:7px;font-size:12px;font-weight:700;color:#425679;}
.community-html .kt-profile-banner-upload input{font-size:12px;max-width:100%;}
.community-html .kt-profile-save-success{padding:12px 14px;background:#e9f8ef;border:1px solid #bbe5c7;border-radius:9px;color:#1a7344;font-weight:700;font-size:12px;}
.community-html .kt-staff-pending-banner{width:170px;max-width:100%;height:70px;object-fit:cover;border-radius:9px;border:1px solid #dce6f4;}
@media(max-width:680px){
 .community-html .kt-profile-banner{height:125px;}
 .community-html .kt-profile-banner-caption{bottom:12px;right:14px;font-size:9px;}
 .community-html .kt-profile-edit-grid,.community-html .kt-profile-extra-facts{grid-template-columns:1fr;}
 .community-html .kt-profile-editor-extras{padding:18px 15px;}
 .community-html .kt-profile-edit-section{padding:16px 13px;}
 .community-html .kt-profile-section-tab{padding:9px 11px;font-size:12px;}
 .community-html .kt-profile-sections{gap:4px;}
}
.community-html .kt-profile-friendly-name{display:block;color:#6673a0;font-size:13px;font-weight:650;line-height:1.5;}


/* 1.5.7 profile layout refinement: keep biography, section tabs and section content
   together in the right column rather than scattering them under the badge rail. */
.community-html .kt-modern-profile {
  display:flex;
  flex-direction:column;
  width:100%;
  max-width:1120px;
  gap:16px;
}
.community-html .kt-modern-profile > .kt-profile-banner {
  order:1;
  height:210px;
  flex:0 0 auto;
  margin-bottom:-50px;
  border-radius:16px;
  box-shadow:0 12px 32px rgba(36,69,130,.12);
}
.community-html .kt-modern-profile .kt-profile-banner-caption {
  top:20px;
  bottom:auto;
  right:24px;
}
.community-html .kt-modern-profile > .kt-retro-profile-header {
  order:2;
  position:relative;
  z-index:1;
  margin:0 18px;
  padding:22px 25px 0;
  gap:18px;
  align-items:center;
  box-shadow:0 12px 27px rgba(25,60,113,.11);
}
.community-html .kt-modern-profile .kt-retro-profile-identity {flex:1 1 260px;gap:18px;}
.community-html .kt-modern-profile .kt-retro-profile-identity > .kt-avatar.large {
  flex:none;
  width:90px;
  height:90px;
  border:3px solid #fff;
  box-shadow:0 3px 12px rgba(35,57,99,.17);
  border-radius:15px;
}
.community-html .kt-modern-profile .kt-retro-profile-actions {flex:0 1 auto;max-width:500px;}
.community-html .kt-modern-profile .kt-retro-profile-tabs {margin-top:0;}
.community-html .kt-modern-profile > .kt-profile-completion-banner {
  order:3;
  margin:0 18px;
  padding:12px 16px;
  gap:7px;
  border-radius:10px;
  font-size:12px;
}
.community-html .kt-modern-profile > .kt-profile-mod-success,
.community-html .kt-modern-profile > .kt-retro-profile-ban {order:4;}
.community-html .kt-modern-profile > .kt-retro-profile-layout {
  order:5;
  grid-template-columns:minmax(175px,225px) minmax(0,1fr);
  align-items:start;
  gap:18px;
}
.community-html .kt-modern-profile .kt-retro-profile-content {
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:16px;
}
.community-html .kt-modern-profile .kt-retro-personal-card {
  min-height:0;
  padding:24px 28px;
}
.community-html .kt-modern-profile .kt-retro-panel-heading {margin-bottom:12px;padding-bottom:13px;}
.community-html .kt-modern-profile .kt-retro-profile-row {
  grid-template-columns:135px minmax(0,1fr);
  align-items:start;
  gap:18px;
  padding:10px 0;
}
.community-html .kt-modern-profile .kt-retro-profile-row dt {text-align:left;}
.community-html .kt-modern-profile .kt-retro-profile-edit-link {margin-left:0;margin-top:14px;}
.community-html .kt-modern-profile .kt-profile-sections {
  display:flex;
  flex-wrap:nowrap;
  width:100%;
  min-width:0;
  overflow-x:auto;
  padding:8px;
  gap:5px;
  scrollbar-width:thin;
}
.community-html .kt-modern-profile .kt-profile-section-tab {
  flex:0 0 auto;
  white-space:nowrap;
  padding:10px 14px;
}
.community-html .kt-modern-profile .kt-profile-extras-view {gap:12px;min-width:0;}
.community-html .kt-modern-profile .kt-profile-extras-panel {min-height:0;}
.community-html .kt-modern-profile .kt-profile-extra-facts {gap:10px;}
.community-html .kt-modern-profile .kt-retro-profile-rail {padding:19px 15px;}
.community-html .kt-modern-profile .kt-retro-rail-foot {margin-top:13px;}
@media (max-width:900px) {
  .community-html .kt-modern-profile > .kt-retro-profile-layout {grid-template-columns:170px minmax(0,1fr);gap:12px;}
  .community-html .kt-modern-profile .kt-retro-personal-card {padding:20px;}
  .community-html .kt-modern-profile .kt-retro-profile-row {grid-template-columns:108px minmax(0,1fr);gap:12px;}
}
@media (max-width:640px) {
  .community-html .kt-modern-profile {gap:11px;}
  .community-html .kt-modern-profile > .kt-profile-banner {height:148px;margin-bottom:-29px;}
  .community-html .kt-modern-profile > .kt-retro-profile-header {margin:0 9px;padding:14px 15px 0;gap:12px;}
  .community-html .kt-modern-profile .kt-retro-profile-identity > .kt-avatar.large {height:70px;width:70px;}
  .community-html .kt-modern-profile > .kt-profile-completion-banner {margin:0 9px;}
  .community-html .kt-modern-profile > .kt-retro-profile-layout {grid-template-columns:1fr;gap:11px;}
  .community-html .kt-modern-profile .kt-retro-profile-rail {display:flex;gap:11px;align-items:center;justify-content:space-between;padding:12px;}
  .community-html .kt-modern-profile .kt-retro-rail-caption {margin:0;flex:0 0 auto;}
  .community-html .kt-modern-profile .kt-retro-rail-badge {width:auto;max-width:min(215px,65%);margin:0;}
  .community-html .kt-modern-profile .kt-retro-rail-foot {display:none;}
  .community-html .kt-modern-profile .kt-retro-profile-content {gap:11px;}
  .community-html .kt-modern-profile .kt-retro-profile-row {grid-template-columns:95px minmax(0,1fr);gap:10px;}
  .community-html .kt-modern-profile .kt-profile-extra-facts {grid-template-columns:1fr;}
  .community-html .kt-modern-profile .kt-profile-banner-caption {top:13px;right:14px;font-size:9px;}
}
@media (max-width:385px) {
  .community-html .kt-modern-profile .kt-retro-profile-row {grid-template-columns:82px minmax(0,1fr);gap:7px;}
  .community-html .kt-modern-profile .kt-retro-rail-foot {display:none;}
}


/* Profile card alignment — same horizontal edges from banner to detail grid.
   Keep the badge sidebar and main profile cards in their existing grid. */
.community-html .kt-modern-profile > .kt-profile-banner,
.community-html .kt-modern-profile > .kt-retro-profile-header,
.community-html .kt-modern-profile > .kt-profile-completion-banner,
.community-html .kt-modern-profile > .kt-retro-profile-layout,
.community-html .kt-modern-profile > .kt-retro-profile-ban,
.community-html .kt-modern-profile > .kt-profile-mod-success {
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
  margin-left:0;
  margin-right:0;
}
/* Prevent the header and completion meter from sitting narrower than the
   banner, both on desktop and at narrow responsive breakpoints. */
.community-html .kt-modern-profile .kt-retro-profile-content > .kt-retro-personal-card,
.community-html .kt-modern-profile .kt-retro-profile-content > .kt-profile-sections,
.community-html .kt-modern-profile .kt-retro-profile-content > .kt-profile-extras-view,
.community-html .kt-modern-profile .kt-retro-profile-content > .kt-profile-extras-editor {
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
}

/* KeepTalking: prevent the page from shifting horizontally when the vertical
   scrollbar appears/disappears. Native overlay scrollbars remain controlled by
   each browser/operating system; classic scrollbars get a persistent gutter. */
html.community-html {
  scrollbar-gutter: stable;
}
/* Older browsers without scrollbar-gutter: always show the scrollbar track
   so navigation between short and long pages cannot move centred content. */
@supports not (scrollbar-gutter: stable) {
  html.community-html { overflow-y: scroll; }
}

/* Profile avatar ratings + approved-photo history (2026-11).
   Keep controls confined to the profile header and album — not chat rosters. */
.community-html .kt-modern-profile .kt-profile-avatar-feature {
  display:flex;
  flex-direction:column;
  align-items:center;
  flex:0 0 118px;
  width:118px;
  gap:9px;
  min-width:0;
}
.community-html .kt-modern-profile .kt-profile-avatar-feature > .kt-avatar.large {
  width:116px;
  height:116px;
  flex:0 0 116px;
  font-size:32px;
  border:3px solid #fff;
  border-radius:18px;
  box-shadow:0 5px 20px rgba(35,57,99,.18);
  box-sizing:border-box;
}
.community-html .kt-avatar-votes {
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:center;
  width:100%;
}
.community-html .kt-avatar-vote {
  display:inline-flex;
  gap:7px;
  align-items:center;
  justify-content:center;
  min-width:76px;
  background:#f6f9ff;
  border:1px solid #dce5f6;
  border-radius:10px;
  padding:8px 10px;
  color:#354e76;
  font-size:13px;
  font-weight:750;
  line-height:1.2;
  cursor:pointer;
  transition:background-color .15s,border-color .15s;
}
.community-html .kt-avatar-vote:hover:not(:disabled) {background:#eaf2ff;border-color:#98b7ed;}
.community-html .kt-avatar-vote.selected {background:#e3f5e9;border-color:#76c497;color:#146735;}
.community-html .kt-avatar-vote.negative.selected {background:#fff0f0;border-color:#e7a2a2;color:#a53030;}
.community-html .kt-avatar-vote:focus-visible {outline:3px solid #5685ea;outline-offset:2px;}
.community-html .kt-avatar-vote:disabled {cursor:default;opacity:.75;}
.community-html .kt-avatar-votes-compact {gap:5px;}
.community-html .kt-avatar-votes-compact .kt-avatar-vote {min-width:53px;padding:5px 7px;font-size:11px;border-radius:8px;gap:4px;}
.community-html .kt-avatar-album {display:grid;gap:15px;min-width:0;}
.community-html .kt-avatar-album > .kt-muted {margin:0;line-height:1.55;}
.community-html .kt-avatar-album-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));
  gap:15px;
  min-width:0;
}
.community-html .kt-avatar-album-card {
  display:flex;
  flex-direction:column;
  overflow:hidden;
  min-width:0;
  border:1px solid #dfe7f5;
  border-radius:14px;
  background:#fff;
  box-shadow:0 3px 10px rgba(28,55,101,.04);
}
.community-html .kt-avatar-album-card.is-current {border-color:#87a8eb;box-shadow:0 0 0 1px #c5d5f8;}
.community-html .kt-avatar-album-photo {position:relative;aspect-ratio:1/1;background:#edf2f9;overflow:hidden;}
.community-html .kt-avatar-album-photo img {display:block;width:100%;height:100%;object-fit:cover;}
.community-html .kt-avatar-album-badge {
  position:absolute;
  top:11px;
  left:11px;
  background:#2254c9;
  color:#fff;
  border-radius:100px;
  padding:6px 11px;
  font-size:11px;
  font-weight:800;
}
.community-html .kt-avatar-album-info {display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:13px;flex:1;}
.community-html .kt-avatar-album-info strong {color:#21395f;font-size:13px;}
.community-html .kt-avatar-album-info > span {color:#7586a4;font-size:12px;}
.community-html .kt-avatar-album-info .kt-avatar-votes {margin-top:auto;}
.community-html .kt-avatar-album-info .kt-avatar-vote {flex:1;min-width:0;}
.community-html .kt-avatar-restore {width:100%;min-width:0;text-align:center;margin-top:2px;border-color:#b5c7ec;color:#2658bf;background:#f2f6ff;}
@media (max-width:640px){
  .community-html .kt-modern-profile .kt-profile-avatar-feature {width:92px;flex-basis:92px;gap:6px;}
  .community-html .kt-modern-profile .kt-profile-avatar-feature > .kt-avatar.large {height:92px;width:92px;flex-basis:92px;}
  .community-html .kt-avatar-votes-compact .kt-avatar-vote {min-width:42px;font-size:10px;padding:5px 4px;}
  .community-html .kt-avatar-album-grid {grid-template-columns:repeat(auto-fill,minmax(min(100%,145px),1fr));gap:11px;}
  .community-html .kt-avatar-album-info {padding:10px;gap:7px;}
}
@media (max-width:390px){
  .community-html .kt-avatar-album-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* Achievement badges — same artwork on profile rail, mini-profile and full gallery. */
.community-html .kt-achievements-rail {
  margin-top:0;padding-top:0;border-top:0;text-align:center;
}
.community-html .kt-achievements-rail h3 {
  font-size:13px;font-weight:800;color:#354c77;margin:0 0 8px;
}
.community-html .kt-achievements-rail p {
  margin:4px 0 12px;color:#8290ad;font-size:12px;line-height:1.5;
}
.community-html .kt-achievements-rail-icons {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:start;margin-bottom:10px;
}
.community-html .kt-achievements-rail-icons img {
  display:block;width:100%;max-height:108px;object-fit:contain;
}
.community-html .kt-achievements-rail-link {
  width:100%;border:1px solid #d8e3fb;background:#f4f7ff;color:#285cc4;
  border-radius:9px;font-size:12px;font-weight:750;padding:9px 7px;cursor:pointer;
}
.community-html .kt-achievements-rail-link:hover,
.community-html .kt-achievements-rail-link:focus-visible{background:#e9f0ff;}
.community-html .kt-achievements-intro {color:#687994;font-size:13px;margin:2px 0 18px;line-height:1.6;}
.community-html .kt-achievements-grid {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;
}
.community-html .kt-achievement-card {
  display:flex;align-items:center;flex-direction:column;min-width:0;padding:15px 12px 16px;
  border:1px solid #dce6f8;border-radius:14px;background:#fff;text-align:center;
  box-shadow:0 3px 10px rgba(25,62,106,.035);
}
.community-html .kt-achievement-card.is-earned {
  border-color:#bad8f7;background:linear-gradient(180deg,#f0f7ff 0%,#fff 75%);
}
.community-html .kt-achievement-card.is-special {border-color:#e9c76b;background:linear-gradient(180deg,#fff7db 0%,#fff 78%);}
.community-html .kt-achievement-card.is-planned {
  background:#f5f6fa;border-style:dashed;
}
.community-html .kt-achievement-art {
  width:128px;max-width:100%;height:142px;display:flex;align-items:center;justify-content:center;
}
.community-html .kt-achievement-art img {
  width:100%;height:100%;object-fit:contain;display:block;
}
.community-html .kt-achievement-card.is-locked .kt-achievement-art img{filter:grayscale(1);opacity:.52;}
.community-html .kt-achievement-card.is-planned .kt-achievement-art img{filter:grayscale(1);opacity:.33;}
.community-html .kt-achievement-content {display:flex;flex-direction:column;align-items:center;gap:5px;width:100%;}
.community-html .kt-achievement-content strong {font-size:14px;color:#233e6b;font-weight:800;}
.community-html .kt-achievement-content p {font-size:12px;line-height:1.5;color:#647795;margin:3px 0;}
.community-html .kt-achievement-content small {font-size:11px;color:#7384a1;line-height:1.5;}
.community-html .kt-achievement-status {
  padding:3px 8px;font-size:10px;font-weight:800;border-radius:20px;
  color:#7182a0;background:#eef1f8;
}
.community-html .kt-achievement-card.is-earned .kt-achievement-status {color:#117253;background:#d9f4e9;}
.community-html .kt-achievement-card.is-planned .kt-achievement-status {color:#7e8196;background:#e7e8ee;}
.community-html .kt-achievement-content .kt-achievement-progress {
  color:#335b9e;background:#eff4ff;border-radius:7px;padding:5px 7px;font-weight:700;
}
.community-html .kt-mini-profile-achievements {
  display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;padding-top:0;
  border-top:0;
}
.community-html .kt-mini-profile-achievements img {width:114px;height:132px;max-width:calc((100% - 12px)/2);object-fit:contain;}
@media(max-width:1050px){
 .community-html .kt-achievements-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:630px){
 .community-html .kt-achievements-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
 .community-html .kt-achievement-card {padding:11px 8px;}
 .community-html .kt-achievement-art {width:100px;height:118px;}
 .community-html .kt-achievement-content p {font-size:11px;}
 .community-html .kt-achievements-rail-icons{grid-template-columns:repeat(4,minmax(0,1fr));}
 .community-html .kt-achievements-rail-icons img{max-height:88px;}
}
@media(max-width:375px){
 .community-html .kt-achievements-grid{grid-template-columns:1fr;}
 .community-html .kt-achievement-art{width:130px;height:145px;}
}

@media(max-width:640px){
 .community-html .kt-modern-profile .kt-retro-profile-rail{flex-wrap:wrap;justify-content:flex-start;}
 .community-html .kt-modern-profile .kt-achievements-rail{flex:1 1 100%;margin-top:0;padding:10px 0 0;}
 .community-html .kt-modern-profile .kt-achievements-rail-icons{display:flex;flex-wrap:wrap;justify-content:center;}
 .community-html .kt-modern-profile .kt-achievements-rail-icons img{width:82px;height:92px;}
}

/* Photo album management and achievement notification updates */
.community-html .kt-avatar-album-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr));gap:15px;align-items:stretch}
.community-html .kt-avatar-album-card{display:flex;flex-direction:column;min-width:0;overflow:hidden}
.community-html .kt-avatar-album-photo{aspect-ratio:1/1;overflow:hidden}
.community-html .kt-avatar-album-photo img{width:100%;height:100%;object-fit:cover}
.community-html .kt-avatar-album-info{display:flex;flex-direction:column;gap:9px;flex:1;min-width:0}
.community-html .kt-avatar-album-title{overflow-wrap:anywhere;line-height:1.3;min-height:1.2em}
.community-html .kt-avatar-album-actions{margin-top:auto;padding-top:6px}
.community-html .kt-avatar-album-actionrow,.community-html .kt-avatar-rename-form{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.community-html .kt-avatar-album-actionrow button,.community-html .kt-avatar-rename-form button{flex:1 1 auto;min-width:0;margin:0;padding:8px 10px;font-size:11px;line-height:1.4}
.community-html .kt-avatar-rename-form input{flex:1 1 100%;min-width:0;height:36px;padding:7px 10px;font-size:13px}
.community-html .kt-avatar-delete{border:1px solid #f3b4be;background:#fff2f4;color:#a9223d;font-weight:700;border-radius:7px;cursor:pointer}
.community-html .kt-avatar-delete:hover:not(:disabled){background:#ffe3e8}
.community-html .kt-avatar-delete:disabled{opacity:.5;cursor:not-allowed}
.community-html .kt-notification-achievement{background:#fff3d2!important;color:#945610!important;border-radius:10px;font-size:19px;display:inline-flex;align-items:center;justify-content:center;flex:none}
@media(max-width:640px){
  .community-html .kt-avatar-album-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),1fr));gap:11px}
}
/* KeepTalking Forums / newsfeed threaded replies */
.kt-forum-page{width:min(1120px,calc(100% - 42px));margin:26px auto 84px;color:#253958;display:flex;flex-direction:column;gap:18px}
.kt-forum-page .kt-card{background:#fff;border:1px solid #e4eaf5;border-radius:15px;box-shadow:0 7px 22px rgba(32,62,105,.055)}
.kt-forum-banner{padding:32px 38px;border-radius:16px;background:linear-gradient(117deg,#315ed1 0%,#5b8fe5 64%,#99bff1 100%);color:white}
.kt-forum-banner span{font-size:11px;letter-spacing:2px;font-weight:800;color:#deecff}
.kt-forum-banner h1{color:white;font-size:32px;margin:7px 0 4px}.kt-forum-banner p{color:#ecf4ff;margin:0}
.kt-forum-page h2,.kt-forum-page h3{color:#23365b;margin:0}.kt-forum-page h2{font-size:24px}.kt-forum-page h3{font-size:18px}
.kt-forum-intro,.kt-forum-muted{color:#7485a4;margin:4px 0 6px}
.kt-forum-head-row,.kt-forum-category-head,.kt-forum-post-head,.kt-forum-thread-row,.kt-forum-board-row{display:flex;align-items:center;gap:14px;justify-content:space-between}
.kt-forum-head-row{flex-wrap:wrap;justify-content:flex-start;gap:18px;padding:8px 0}
.kt-forum-category,.kt-forum-card{padding:22px 26px}.kt-forum-category-head{padding-bottom:16px;border-bottom:1px solid #e9eef6;align-items:flex-start}
.kt-forum-category-head p,.kt-forum-board-row p{color:#8291a8;margin:5px 0}
.kt-forum-board-row{padding:17px 4px;gap:20px;border-bottom:1px solid #edf1f7;justify-content:flex-start}
.kt-forum-board-row:last-child{border-bottom:0}.kt-forum-board-row>div:nth-child(2){flex:1;min-width:0}
.kt-forum-board-icon{display:grid;place-items:center;min-width:44px;height:44px;border-radius:11px;color:#3669d7;background:#edf3ff}
.kt-forum-board-link,.kt-forum-thread-link{border:0;background:transparent;color:#1d4fc8;padding:0;font-size:16px;font-weight:750;cursor:pointer;text-align:left}
.kt-forum-board-row small,.kt-forum-thread-row>span{font-size:12px;color:#7588a5}.kt-forum-thread-row{padding:17px 4px;border-bottom:1px solid #eef1f7;flex-wrap:wrap}
.kt-forum-thread-row:last-child{border:0}.kt-forum-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.kt-forum-page .kt-secondary,.kt-forum-page .kt-button,.kt-forum-page .kt-forum-danger{border-radius:9px;padding:10px 14px;cursor:pointer;font-size:13px;font-weight:700}
.kt-forum-page .kt-secondary{background:#f4f7fd;border:1px solid #dce5f7;color:#3661ad}
.kt-forum-page .kt-button{background:#3268dc;border:1px solid #3268dc;color:white}
.kt-forum-page .kt-forum-danger{background:#fff1f2;border:1px solid #ffcdd0;color:#ad273a}
.kt-forum-page button:disabled{opacity:.55;cursor:not-allowed}.kt-forum-error{background:#fff1f1;border:1px solid #f4b6c0;color:#a82737;padding:12px 16px;border-radius:10px}
.kt-forum-post{padding:21px 24px}.kt-forum-post-head{flex-wrap:wrap;justify-content:flex-start;border-bottom:1px solid #e9eef5;padding-bottom:12px}.kt-forum-post-head>span{color:#8492a8;font-size:12px;flex:1}
.kt-forum-post-body{line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:#2c3c5d;margin:17px 0 4px}
.kt-forum-page textarea,.kt-forum-page input:not([type=checkbox]),.kt-forum-page select{display:block;width:100%;box-sizing:border-box;border:1px solid #d5dff0;border-radius:10px;padding:11px;color:#293d65;background:#fbfcff;font:inherit;margin:7px 0 15px}
.kt-forum-page label{font-size:13px;font-weight:700;color:#526a94;display:block}.kt-forum-locked{background:#fff1e4;color:#a85e1b;border-radius:30px;padding:5px 12px;font-size:12px}
.kt-forum-editor{border:2px solid #c9dbff!important}.kt-forum-permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px}.kt-forum-report{padding:15px 0;border-top:1px solid #edf1fa}.kt-forum-report blockquote{border-left:3px solid #d99a4a;margin:12px 0;padding:6px 12px;background:#fcf7ef;color:#555}
.kt-feed-reply-toggle{border:0;background:transparent;color:#285bcc;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.kt-feed-replies{padding:12px 10px 0;margin-top:12px;border-top:1px solid #e4eaf5}.kt-feed-reply{background:#f5f8fd;border:1px solid #e9eef6;border-radius:10px;padding:11px 13px;margin:8px 0}
.kt-feed-reply-top{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.kt-feed-reply-top small{color:#8093af;flex:1}.kt-feed-reply p{margin:9px 0 2px;color:#314466;white-space:pre-wrap;overflow-wrap:anywhere}
.kt-feed-reply-form textarea{width:100%;box-sizing:border-box;margin:9px 0;padding:10px;border:1px solid #d7e1f2;border-radius:9px;resize:vertical;font:inherit;min-height:55px}
.kt-feed-reply-form .kt-button{border-radius:8px;padding:9px 17px;background:#3467d5;color:white;border:0;cursor:pointer}
@media(max-width:700px){.kt-forum-page{width:calc(100% - 22px);margin:12px auto 70px}.kt-forum-banner{padding:22px}.kt-forum-category,.kt-forum-card,.kt-forum-post{padding:16px}.kt-forum-category-head{flex-wrap:wrap}.kt-forum-permissions{grid-template-columns:1fr}.kt-forum-board-row{flex-wrap:wrap}.kt-forum-board-row>div:last-child{margin-left:auto}}

/* Forums: readable hero, consistent community-card contrast and spacing. */
.community-html .community-app .kt-forum-page .kt-forum-banner {
  background:linear-gradient(115deg,#254fb6 0%,#2c61c2 57%,#326cb6 100%);
  color:#fff;border:1px solid #477aca;box-shadow:0 12px 30px rgba(37,79,182,.13);
}
.community-html .community-app .kt-forum-page .kt-forum-banner h1 {
  color:#fff;font-size:clamp(30px,3vw,38px);line-height:1.2;letter-spacing:-.025em;font-weight:800;
}
.community-html .community-app .kt-forum-page .kt-forum-banner p {
  color:#f2f6ff;line-height:1.55;font-size:15px;max-width:660px;
}
.community-html .community-app .kt-forum-page .kt-forum-banner span {
  color:#f5f8ff;font-size:12px;letter-spacing:.15em;
}
.community-html .community-app .kt-forum-page .kt-forum-intro,
.community-html .community-app .kt-forum-page .kt-forum-muted {color:#4e6383}
.community-html .community-app .kt-forum-page .kt-forum-category-head p,
.community-html .community-app .kt-forum-page .kt-forum-board-row p {color:#536986}
.community-html .community-app .kt-forum-page .kt-forum-board-row small {color:#58708e}
@media(max-width:700px){.community-html .community-app .kt-forum-page .kt-forum-banner{padding:25px 22px}}


/* Forum board pages: aligned headings, clear text and a useful empty state. */
.community-html .community-app .kt-forum-page .kt-forum-board-view {
  display:flex;flex-direction:column;gap:16px;min-width:0;
}
.community-html .community-app .kt-forum-page .kt-forum-board-top {
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  flex-wrap:wrap;padding:10px 0 2px;
}
.community-html .community-app .kt-forum-page .kt-forum-board-heading {
  display:flex;align-items:flex-start;gap:18px;flex:1 1 390px;min-width:0;
}
.community-html .community-app .kt-forum-page .kt-forum-board-heading .kt-secondary {
  flex-shrink:0;
}
.community-html .community-app .kt-forum-page .kt-forum-board-heading-copy {
  min-width:0;
}
.community-html .community-app .kt-forum-page .kt-forum-board-heading-copy h2 {
  margin:1px 0 5px;color:#23365b;line-height:1.25;
}
.community-html .community-app .kt-forum-page .kt-forum-board-description {
  margin:0;color:#475e7e;font-size:15px;line-height:1.5;
}
.community-html .community-app .kt-forum-page .kt-forum-board-top > .kt-button {
  flex:0 0 auto;white-space:nowrap;
}
.community-html .community-app .kt-forum-page .kt-forum-empty {
  min-height:145px;display:flex;flex-direction:column;align-items:center;
  justify-content:center;text-align:center;gap:9px;padding:18px;
}
.community-html .community-app .kt-forum-page .kt-forum-empty-icon {
  display:grid;place-items:center;width:50px;height:50px;
  color:#3061c3;background:#eef4ff;border:1px solid #dce7fa;border-radius:14px;
}
.community-html .community-app .kt-forum-page .kt-forum-empty h3 {
  color:#23365b;font-size:18px;margin:0;
}
.community-html .community-app .kt-forum-page .kt-forum-empty p {
  color:#526782;font-size:14px;margin:0;line-height:1.5;
}
@media(max-width:700px){
  .community-html .community-app .kt-forum-page .kt-forum-board-heading {
    flex-direction:column;gap:12px;flex-basis:100%;
  }
  .community-html .community-app .kt-forum-page .kt-forum-board-top > .kt-button {
    width:100%;
  }
  .community-html .community-app .kt-forum-page .kt-forum-empty {min-height:125px;padding:10px;}
}


/* Forum discussion threads: align controls, posts and editor with clear contrast. */
.community-html .community-app .kt-forum-page .kt-forum-thread-view {
  display:flex;flex-direction:column;gap:16px;min-width:0;
}
.community-html .community-app .kt-forum-page .kt-forum-thread-top {
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:14px 24px;min-width:0;padding:5px 0 2px;
}
.community-html .community-app .kt-forum-page .kt-forum-thread-heading {
  display:flex;align-items:center;gap:18px;flex:1 1 420px;min-width:0;
}
.community-html .community-app .kt-forum-page .kt-forum-thread-heading > .kt-secondary {flex-shrink:0;}
.community-html .community-app .kt-forum-page .kt-forum-thread-heading-copy {min-width:0;}
.community-html .community-app .kt-forum-page .kt-forum-thread-eyebrow {
  display:block;color:#526c91;font-size:11px;font-weight:800;
  text-transform:uppercase;letter-spacing:.08em;margin-bottom:3px;
}
.community-html .community-app .kt-forum-page .kt-forum-thread-heading-copy h2 {
  color:#20365b;font-size:clamp(22px,2.3vw,27px);line-height:1.24;
  overflow-wrap:anywhere;letter-spacing:-.015em;margin:0;
}
.community-html .community-app .kt-forum-page .kt-forum-thread-status {display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.community-html .community-app .kt-forum-page .kt-forum-thread-pinned {
  display:inline-flex;align-items:center;border-radius:999px;padding:6px 11px;
  background:#e9f1ff;border:1px solid #cbdbf9;color:#2855a3;font-size:12px;font-weight:750;
}
.community-html .community-app .kt-forum-page .kt-forum-moderation-bar {
  display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:wrap;
  padding:10px 12px;margin:0;border:1px solid #dfe8f6;
  background:#f7faff;border-radius:13px;
}
.community-html .community-app .kt-forum-page .kt-forum-post {
  padding:0 26px 22px;margin:0;min-width:0;overflow:hidden;
  border:1px solid #dfe7f3;border-radius:16px;
  box-shadow:0 7px 20px rgba(27,57,104,.06);
}
.community-html .community-app .kt-forum-page .kt-forum-post-head {
  display:flex;align-items:center;gap:12px;justify-content:flex-start;
  flex-wrap:wrap;padding:17px 0;border-bottom:1px solid #e5ebf4;
}
.community-html .community-app .kt-forum-page .kt-forum-post-user {
  display:flex;align-items:center;gap:11px;min-width:0;flex:1 1 220px;
}
.community-html .community-app .kt-forum-page .kt-forum-post-avatar {
  display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;
  border-radius:50%;background:#e8efff;color:#315db6;
  font-size:12px;letter-spacing:.02em;font-weight:850;
}
.community-html .community-app .kt-forum-page .kt-forum-post-identity {
  display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;
}
.community-html .community-app .kt-forum-page .kt-forum-post-head .kt-post-author {
  font-size:15px;font-weight:800;color:#1e3e7c;line-height:1.2;
}
.community-html .community-app .kt-forum-page .kt-forum-post-head .kt-post-author:hover {color:#285ed3;text-decoration:underline;}
.community-html .community-app .kt-forum-page .kt-forum-post-date {
  color:#556b89;font-size:12px;line-height:1.4;
}
.community-html .community-app .kt-forum-page .kt-forum-post-kind {
  border-radius:999px;background:#eef3fb;color:#4b6488;
  padding:5px 10px;font-size:11px;font-weight:750;
}
.community-html .community-app .kt-forum-page .kt-forum-post-body {
  color:#283c5c;font-size:15px;line-height:1.8;
  white-space:pre-wrap;overflow-wrap:anywhere;margin:17px 0 0;min-height:30px;
}
.community-html .community-app .kt-forum-page .kt-forum-reply-card {padding:23px 26px;}
.community-html .community-app .kt-forum-page .kt-forum-reply-card h3 {
  font-size:20px;line-height:1.35;margin-bottom:14px;color:#243a5f;
}
.community-html .community-app .kt-forum-page .kt-forum-reply-card textarea {
  display:block;box-sizing:border-box;width:100%;min-height:155px;resize:vertical;
  background:#fff;color:#273b5e;border:1px solid #cbd8e9;border-radius:10px;
  padding:13px 14px;line-height:1.65;margin:0;font-size:15px;
}
.community-html .community-app .kt-forum-page .kt-forum-reply-card textarea::placeholder {color:#637893;opacity:1;}
.community-html .community-app .kt-forum-page .kt-forum-reply-card textarea:focus {
  border-color:#356ce3;outline:3px solid #dce7ff;outline-offset:0;
}
.community-html .community-app .kt-forum-page .kt-forum-reply-actions {
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  flex-wrap:wrap;margin-top:14px;
}
.community-html .community-app .kt-forum-page .kt-forum-reply-actions > span {color:#596d8a;font-size:12px;line-height:1.5;}
.community-html .community-app .kt-forum-page .kt-forum-reply-actions > .kt-button {margin-left:auto;}
.community-html .community-app .kt-forum-page .kt-forum-reply-actions > .kt-button:not(:disabled) {background:#3065d7;color:#fff;}
.community-html .community-app .kt-forum-page .kt-forum-thread-locked-note {
  border:1px solid #f0d6af;border-radius:12px;background:#fff7e9;
  color:#7d4e16;padding:13px 16px;margin:0;font-size:13px;
}
@media(max-width:700px){
  .community-html .community-app .kt-forum-page .kt-forum-thread-heading {flex-wrap:wrap;gap:12px;flex-basis:100%;}
  .community-html .community-app .kt-forum-page .kt-forum-thread-heading-copy {flex:1 1 220px;}
  .community-html .community-app .kt-forum-page .kt-forum-moderation-bar {padding:10px;}
  .community-html .community-app .kt-forum-page .kt-forum-post {padding:0 16px 18px;}
  .community-html .community-app .kt-forum-page .kt-forum-reply-card {padding:18px 16px;}
  .community-html .community-app .kt-forum-page .kt-forum-reply-actions > .kt-button {width:100%;margin-left:0;}
}

/* KeepTalking classic forum-post layout. Deliberately scoped to thread pages only.
   Uses the existing design palette and never introduces permissions or placeholder actions. */
.community-html .community-app .kt-forum-page .kt-forum-classic-thread{gap:10px}
.community-html .community-app .kt-forum-page .kt-forum-classic-top{
  display:flex;align-items:center;gap:18px 22px;justify-content:space-between;
  flex-wrap:wrap;margin:1px 0 8px;min-width:0;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-title-row{
  display:flex;align-items:flex-start;gap:16px;min-width:0;flex:1 1 470px;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-title-row>.kt-secondary{
  flex:none;margin:0;white-space:nowrap;min-height:38px;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-heading{min-width:0;flex:1}
.community-html .community-app .kt-forum-page .kt-forum-classic-heading h2{
  font-size:clamp(20px,2.05vw,26px);font-weight:800;line-height:1.25;
  color:#20375f;letter-spacing:-.025em;margin:0 0 8px;overflow-wrap:anywhere;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-thread-meta{
  display:flex;align-items:center;flex-wrap:wrap;gap:7px 13px;color:#4f6587;font-size:12px;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-thread-meta>span{
  display:inline-flex;align-items:center;gap:5px;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-tag{
  padding:3px 8px;font-size:11px;line-height:1.45;font-weight:760;border-radius:6px;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-tag-pinned{
  background:#ebf3ff;color:#2453a4;border:1px solid #c5d9ff;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-tag-locked{
  background:#fff3e3;color:#924f16;border:1px solid #efd6ae;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-moderation{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px;justify-content:flex-end;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-moderation button{
  padding:9px 12px;white-space:nowrap;min-height:38px;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-moderation button>span{
  display:inline-flex;align-items:center;gap:5px;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-post{
  display:grid;grid-template-columns:minmax(155px,184px) minmax(0,1fr);gap:0;
  padding:0;overflow:hidden;min-width:0;margin:0;
  border:1px solid #dce6f4;border-radius:13px;background:#fff;
  box-shadow:0 5px 17px rgba(32,60,102,.075);
}
.community-html .community-app .kt-forum-page .kt-forum-classic-author{
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;
  min-width:0;padding:18px 12px 20px;
  border-right:1px solid #e1e8f3;
  background:linear-gradient(155deg,#f7faff 0%,#f0f5fc 100%);
}
.community-html .community-app .kt-forum-page .kt-forum-classic-avatar-link{
  border:0;background:none;padding:0;cursor:pointer;display:inline-flex;justify-content:center;
  align-items:center;border-radius:50%;margin-bottom:3px;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-avatar-link:focus-visible,
.community-html .community-app .kt-forum-page .kt-forum-classic-reply-link:focus-visible,
.community-html .community-app .kt-forum-page .kt-forum-classic-post-number:focus-visible{
  outline:3px solid #5d86df;outline-offset:3px;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-author .kt-avatar{
  width:78px;height:78px;font-size:28px;box-sizing:border-box;flex:0 0 78px;
  border:3px solid white;box-shadow:0 2px 9px rgba(21,60,113,.12);overflow:hidden;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-author .kt-avatar-uploaded{
  width:100%;height:100%;object-fit:cover;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-author .kt-post-author{
  display:block;max-width:100%;overflow-wrap:anywhere;text-align:center;
  color:#1653b7;font-size:15px;font-weight:800;line-height:1.3;
  border:0;background:none;padding:0;cursor:pointer;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-author .kt-post-author:hover{text-decoration:underline}
.community-html .community-app .kt-forum-page .kt-forum-classic-author-role{
  font-size:11px;color:#536886;line-height:1.35;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-author-badge{
  display:inline-flex;align-items:center;justify-content:center;gap:4px;max-width:100%;
  color:#3a5b88;border:1px solid #d5e1f2;border-radius:5px;
  background:#eaf2ff;padding:3px 7px;font-weight:740;font-size:10px;
  line-height:1.45;white-space:normal;overflow-wrap:anywhere;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-role-server_administrator{
  color:#a32338;background:#fff1f3;border-color:#f0c4cc;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-role-server_moderator{
  color:#9d5717;background:#fff7e9;border-color:#efd7b7;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-role-premium{
  color:#8446a0;background:#f8efff;border-color:#e8cff4;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-post-main{
  display:flex;flex-direction:column;min-width:0;padding:0 16px 12px;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-post-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;
  font-size:12px;padding:13px 1px 11px;margin:0;border-bottom:1px solid #e3eaf4;
  color:#687c9a;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-post-head time{
  color:#566b89;font-size:12px;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-post-number{
  text-decoration:none;color:#647994;font-weight:750;padding:3px 5px;border-radius:5px;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-post-number:hover{
  color:#2159cb;background:#eef4ff;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-post-body{
  flex:1 1 auto;padding:14px 0 18px;color:#253654;font-size:14px;
  line-height:1.76;min-height:45px;min-width:0;overflow-wrap:anywhere;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-paragraph{
  margin:0 0 13px;white-space:pre-wrap;color:#253654;overflow-wrap:anywhere;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-paragraph:last-child{margin-bottom:0}
.community-html .community-app .kt-forum-page .kt-forum-classic-inline-code{
  background:#f0f3f8;border:1px solid #e0e5ee;color:#1e3454;
  font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;
  border-radius:4px;padding:1px 4px;overflow-wrap:anywhere;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-code{
  border:1px solid #dee5ee;border-left:3px solid #f49a22;border-radius:4px;
  margin:11px 0 14px;overflow:hidden;background:#f5f7fa;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-code-label{
  color:#aa5c05;font-size:12px;font-weight:700;padding:5px 11px 3px;
  background:#f9fafc;border-bottom:1px solid #e6ebf2;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-code-label span{
  color:#6c7f97;font-weight:500;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-code pre{
  max-width:100%;overflow-x:auto;overflow-y:hidden;margin:0;
  padding:10px 12px;color:#23334c;background:transparent;
  font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;
  white-space:pre;tab-size:2;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-post-footer{
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;
  gap:8px;margin-top:auto;padding:10px 0 0;border-top:1px solid #edf1f7;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-post-tools{
  display:flex;align-items:center;flex-wrap:wrap;gap:12px;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-post-tool,
.community-html .community-app .kt-forum-page .kt-forum-classic-reply-link{
  display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;
  padding:4px 5px;border-radius:5px;font-weight:750;font-size:12px;
  color:#235dc5;cursor:pointer;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-post-tool:hover,
.community-html .community-app .kt-forum-page .kt-forum-classic-reply-link:hover{
  background:#edf4ff;text-decoration:underline;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-tool-danger{color:#b12b40}
.community-html .community-app .kt-forum-page .kt-forum-classic-reply-link{margin-left:auto}
.community-html .community-app .kt-forum-page .kt-forum-classic-reply-link span{display:inline-flex;align-items:center;gap:5px}
.community-html .community-app .kt-forum-page .kt-forum-classic-reply-card{
  padding:21px 24px;margin-top:6px;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-reply-card h3{
  font-size:20px;font-weight:800;margin:0 0 12px;color:#20375f;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-reply-card textarea{
  display:block;width:100%;min-height:130px;box-sizing:border-box;
  margin:0;padding:12px 13px;border-radius:9px;
  background:#fff;border:1px solid #cad8ec;color:#213657;resize:vertical;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-reply-card textarea::placeholder{color:#657894;opacity:1}
.community-html .community-app .kt-forum-page .kt-forum-classic-reply-card textarea:focus{
  outline:3px solid #dbe7ff;outline-offset:0;border-color:#3269d8;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-reply-actions{
  display:flex;align-items:center;gap:15px;justify-content:space-between;
  margin-top:13px;flex-wrap:wrap;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-reply-actions>span{
  font-size:12px;color:#59708e;
}
.community-html .community-app .kt-forum-page .kt-forum-classic-reply-actions>.kt-button{margin-left:auto}
@media(max-width:850px){
  .community-html .community-app .kt-forum-page .kt-forum-classic-top{align-items:stretch}
  .community-html .community-app .kt-forum-page .kt-forum-classic-moderation{justify-content:flex-start}
}
@media(max-width:610px){
  .community-html .community-app .kt-forum-page .kt-forum-classic-title-row{
    flex-wrap:wrap;gap:10px;flex-basis:100%;
  }
  .community-html .community-app .kt-forum-page .kt-forum-classic-title-row>.kt-secondary{min-height:34px}
  .community-html .community-app .kt-forum-page .kt-forum-classic-heading{flex-basis:100%}
  .community-html .community-app .kt-forum-page .kt-forum-classic-post{grid-template-columns:minmax(0,1fr)}
  .community-html .community-app .kt-forum-page .kt-forum-classic-author{
    flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;
    flex-wrap:wrap;padding:10px 13px;gap:6px 10px;
    border-right:0;border-bottom:1px solid #e1e8f3;
  }
  .community-html .community-app .kt-forum-page .kt-forum-classic-author .kt-avatar{
    width:46px;height:46px;flex-basis:46px;font-size:17px;border-width:2px;
  }
  .community-html .community-app .kt-forum-page .kt-forum-classic-author .kt-post-author{font-size:14px}
  .community-html .community-app .kt-forum-page .kt-forum-classic-author-role{display:none}
  .community-html .community-app .kt-forum-page .kt-forum-classic-author-badge{margin-left:auto}
  .community-html .community-app .kt-forum-page .kt-forum-classic-post-main{padding:0 13px 10px}
  .community-html .community-app .kt-forum-page .kt-forum-classic-post-body{padding-top:12px}
  .community-html .community-app .kt-forum-page .kt-forum-classic-moderation button{padding:8px 10px}
  .community-html .community-app .kt-forum-page .kt-forum-classic-reply-card{padding:17px 14px}
  .community-html .community-app .kt-forum-page .kt-forum-classic-reply-actions>.kt-button{width:100%}
}

/* Clear locked-thread status: moderators can still reply while members cannot. */
.community-html .community-app .kt-forum-page .kt-forum-thread-locked-note{
  display:flex;align-items:center;gap:9px;margin:7px 0 3px;
  font-size:13px;line-height:1.5;
}
.community-html .community-app .kt-forum-page .kt-forum-thread-locked-note svg{flex:none}

/* Forum author alignment: the generic .kt-post-author rule uses
   align-self:flex-start; override it only within classic thread posts. */
.community-html .community-app .kt-forum-page .kt-forum-classic-author .kt-post-author {
  align-self:center;
  width:100%;
  max-width:100%;
  text-align:center;
  box-sizing:border-box;
}
@media (max-width:610px) {
  .community-html .community-app .kt-forum-page .kt-forum-classic-author .kt-post-author {
    align-self:auto;
    width:auto;
    text-align:left;
  }
}

/* Newsfeed post and reply options: keyboard accessible, shown to every signed-in viewer. */
.kt-feed-post,.kt-feed-reply{position:relative}
.kt-feed-options{position:relative;flex:0 0 auto;margin-left:auto;font-size:12px;z-index:2}
.kt-feed-options[open]{z-index:20}
.kt-feed-options>summary{display:inline-flex;align-items:center;gap:5px;list-style:none;cursor:pointer;
  border:1px solid #d9e3f2;border-radius:7px;padding:6px 9px;background:#fff;color:#3f5778;font-size:12px;font-weight:700}
.kt-feed-options>summary::-webkit-details-marker{display:none}
.kt-feed-options>summary::marker{content:''}
.kt-feed-options[open]>summary,.kt-feed-options>summary:hover{background:#eff5ff;border-color:#a9bedf;color:#254f97}
.kt-feed-options>summary:focus-visible,.kt-feed-option:focus-visible{outline:2px solid #3566d8;outline-offset:2px}
.kt-feed-option-menu{position:absolute;right:0;top:calc(100% + 5px);min-width:128px;padding:4px;
  display:flex;flex-direction:column;background:white;border:1px solid #dfe7f4;border-radius:9px;
  box-shadow:0 12px 25px #1b2b4c26;z-index:40}
.kt-feed-option{display:block;width:100%;border:0;text-align:left;padding:9px 12px;border-radius:5px;
  color:#314b72;background:transparent;font-size:12px;font-weight:700;cursor:pointer}
.kt-feed-option:hover{background:#edf4ff}
.kt-feed-option-danger{color:#b64554}
.kt-feed-option-danger:hover{background:#fff0f2}
.kt-feed-reply{display:flex;gap:10px;align-items:flex-start}
.kt-feed-reply>.kt-avatar{flex:0 0 auto}
.kt-feed-reply-content{flex:1;min-width:0}
.kt-feed-reply-top{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.kt-feed-reply-top small{flex:1;min-width:0;color:#8093af;font-size:11px}
.kt-feed-reply-content p{margin:8px 0 2px;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:550px){.kt-feed-reply{padding:10px}.kt-feed-reply-top{gap:6px}.kt-feed-reply-top small{font-size:10px}.kt-feed-options>summary{padding:5px 7px}}


/* Email verification, existing-account email reminder and registration code input. */
.kt-email-reminder{margin:18px auto 0;padding:18px 22px;width:calc(100% - 36px);max-width:1140px;
 box-sizing:border-box;background:#fffdf0;border:1px solid #f4d76e;border-left:5px solid #edba3e;border-radius:13px;
 box-shadow:0 4px 19px rgba(24,49,88,.055);color:#233958}
.kt-email-reminder strong{font-weight:800;color:#203a68;font-size:15px}
.kt-email-reminder p{margin:7px 0 13px;font-size:13px;line-height:1.55;color:#53627b}
.kt-email-reminder-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.kt-email-reminder-form input{background:#fff;border:1px solid #cbd7e7;border-radius:8px;
 padding:12px 13px;font:inherit;min-width:200px;max-width:330px;flex:1 1 210px;color:#172d51}
.kt-email-reminder-form input:focus-visible,.kt-email-verification-card input:focus-visible{outline:3px solid #8fb6fa;outline-offset:1px}
.kt-email-reminder-form .kt-button{white-space:nowrap}
.kt-email-message-error{color:#b42335!important;font-weight:700}
.kt-email-text-button{padding:9px;background:transparent;border:none;color:#2a56a1;
 text-decoration:underline;font:inherit;cursor:pointer;font-weight:700}
.kt-email-verification-card{border:1px solid #dce5f5;border-radius:12px;padding:20px;background:#f7faff}
.kt-email-verification-card p{line-height:1.6;color:#465775;font-size:14px;overflow-wrap:anywhere}
.kt-email-verification-card form{display:flex;flex-direction:column;gap:13px}
.kt-email-verification-card label{font-weight:700;color:#223e69}
.kt-email-verification-card input{display:block;letter-spacing:.3em;font-size:22px;text-align:center;font-weight:700;
 width:100%;margin-top:7px;box-sizing:border-box;border:1px solid #b5c8e4;border-radius:9px;padding:13px 9px}
@media(max-width:620px){.kt-email-reminder{width:calc(100% - 20px);padding:14px;margin-top:12px}
 .kt-email-reminder-form input,.kt-email-reminder-form .kt-button{width:100%;max-width:none}}

/* Account & privacy settings – navy/yellow KeepTalking cards and responsive fields. */
.community-html .kt-settings-page .kt-account-card h2 {display:flex;align-items:center;gap:9px;color:#142e61;}
.community-html .kt-settings-page .kt-account-card h3 {font-size:17px;margin:0 0 12px;color:#142e61;}
.community-html .kt-settings-page .kt-settings-form {display:grid;gap:12px;max-width:640px;min-width:0;}
.community-html .kt-settings-page .kt-settings-form label:not(.kt-settings-visibility) {display:grid;gap:6px;color:#22375f;font-weight:600;}
.community-html .kt-settings-page .kt-settings-form input,
.community-html .kt-settings-page .kt-settings-form select {box-sizing:border-box;max-width:100%;width:100%;padding:11px 13px;border:1px solid #c8d3e7;border-radius:9px;background:#fff;color:#142e61;font:inherit;}
.community-html .kt-settings-page .kt-settings-form input:focus-visible,
.community-html .kt-settings-page .kt-settings-form select:focus-visible {outline:3px solid #ffde63;outline-offset:1px;}
.community-html .kt-settings-page .kt-settings-form .kt-button {justify-self:start;max-width:100%;}
.community-html .kt-settings-page .kt-settings-divider {height:1px;background:#e0e7f4;margin:23px 0;}
.community-html .kt-settings-page .kt-settings-verification {padding:16px;border:1px solid #d8e4fb;background:#f3f6ff;border-radius:12px;margin-top:15px;}
.community-html .kt-settings-page .kt-settings-visibility {display:flex;align-items:center;justify-content:space-between;gap:16px;color:#22375f;font-weight:600;}
.community-html .kt-settings-page .kt-settings-visibility select {max-width:220px;}
.community-html .kt-settings-page .kt-account-success {padding:10px 12px;border:1px solid #9bd9b8;background:#effbf3;border-radius:9px;color:#20563c;font-weight:600;}
@media(max-width:640px){
  .community-html .kt-settings-page .kt-privacy-card {padding:16px;}
  .community-html .kt-settings-page .kt-settings-visibility {align-items:stretch;flex-direction:column;gap:5px;}
  .community-html .kt-settings-page .kt-settings-visibility select {max-width:100%;}
  .community-html .kt-settings-page .kt-privacy-options {flex-direction:column;}
}


/* KeepTalking settings: responsive accessible tabs and password-manager fields */
.community-html .kt-settings-page .kt-settings-tabs {
  display:flex;align-items:stretch;gap:6px;margin:0 0 18px;padding:6px;
  border:1px solid #dbe4f4;border-radius:14px;background:#eef3fc;
  overflow-x:auto;scrollbar-width:thin;-webkit-overflow-scrolling:touch;
}
.community-html .kt-settings-page .kt-settings-tab {
  display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:1 0 auto;
  padding:12px 14px;min-height:48px;border:1px solid transparent;border-radius:10px;
  background:transparent;color:#142e61;font:inherit;font-weight:650;white-space:nowrap;
  cursor:pointer;transition:background-color .15s,border-color .15s,color .15s;
}
.community-html .kt-settings-page .kt-settings-tab:hover {background:#e0eafb;}
.community-html .kt-settings-page .kt-settings-tab.is-active,
.community-html .kt-settings-page .kt-settings-tab[aria-selected="true"] {
  background:#142e61;border-color:#142e61;color:#fff;box-shadow:0 2px 6px #142e611c;
}
.community-html .kt-settings-page .kt-settings-tab:focus-visible {
  outline:3px solid #e3b923;outline-offset:2px;
}
.community-html .kt-settings-page .kt-settings-panel {min-width:0;}
.community-html .kt-settings-page .kt-settings-panel > .kt-privacy-card:last-child {margin-bottom:0;}
/* Visually hidden but kept in the DOM for browsers and password managers. */
.community-html .kt-settings-page .kt-settings-form .kt-username-autofill {
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;border:0!important;
  overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;
}
.community-html .kt-settings-page .kt-settings-form .kt-username-autofill input {
  width:1px!important;height:1px!important;padding:0!important;border:0!important;
}
@media(max-width:640px){
  .community-html .kt-settings-page .kt-settings-tabs {gap:4px;padding:5px;}
  .community-html .kt-settings-page .kt-settings-tab {flex:0 0 auto;padding:11px 13px;font-size:14px;}
}


/* KeepTalking: equal-size chatroom header action buttons v1 */
.community-html .kt-chat-pane-header > button.kt-room-manage-launch,
.community-html .kt-chat-pane-header > button.kt-leave-room {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 128px;
  width: 128px;
  min-width: 128px;
  height: 42px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}
@media (max-width: 620px) {
  .community-html .kt-chat-pane-header { flex-wrap: wrap; }
  .community-html .kt-chat-pane-header > .kt-grow { flex: 1 1 calc(100% - 115px); }
  .community-html .kt-chat-pane-header > button.kt-room-manage-launch,
  .community-html .kt-chat-pane-header > button.kt-leave-room {
    flex: 1 1 calc(50% - 7px);
    min-width: 0;
    width: auto;
    height: 38px;
  }
}

/* KeepTalking — redesigned, accessible tabbed join-room dialog (2026-11-14). */
.community-html .kt-room-preview-backdrop{background:rgba(20,39,77,.70);padding:18px;z-index:1055}
.community-html .kt-room-preview-v2{box-sizing:border-box;width:min(780px,calc(100vw - 36px));max-width:780px;max-height:min(90dvh,820px);padding:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #dbe5f4;border-radius:20px;box-shadow:0 25px 70px rgba(10,30,68,.32);background:#fff;color:#20365a}
.community-html .kt-room-preview-v2 .kt-room-preview-hero{position:relative;display:flex;align-items:center;gap:22px;flex:none;min-height:166px;box-sizing:border-box;padding:28px 76px 28px 34px;background:linear-gradient(135deg,#142e61 0%,#20487e 100%);color:#fff;overflow:hidden}
.community-html .kt-room-preview-v2 .kt-room-preview-hero-art,.community-html .kt-room-preview-v2 .kt-room-preview-no-image{width:112px;height:112px;flex:0 0 112px;border-radius:15px;object-fit:cover;border:2px solid rgba(255,255,255,.38);background:#dbe8ff}
.community-html .kt-room-preview-v2 .kt-room-preview-no-image{display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.14);color:#fff}
.community-html .kt-room-preview-v2 .kt-room-preview-hero-copy{position:relative;min-width:0}
.community-html .kt-room-preview-v2 .kt-room-preview-kicker{display:block;color:#bed8ff;font-size:11px;letter-spacing:.15em;font-weight:800;margin-bottom:10px}
.community-html .kt-room-preview-v2 h2{margin:0 0 13px;color:#fff;font-size:clamp(25px,3.5vw,33px);line-height:1.14;overflow-wrap:anywhere}
.community-html .kt-room-preview-v2 .kt-room-preview-tags{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.community-html .kt-room-preview-v2 .kt-room-preview-category,.community-html .kt-room-preview-v2 .kt-room-preview-official,.community-html .kt-room-preview-v2 .kt-room-preview-pending{display:inline-flex;align-items:center;gap:5px;padding:6px 11px;border-radius:30px;font-size:12px;font-weight:700;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.20);color:#fff}
.community-html .kt-room-preview-v2 .kt-room-preview-official{background:rgba(255,220,94,.18);color:#ffe58b;border-color:rgba(255,220,94,.30)}
.community-html .kt-room-preview-v2 .kt-room-preview-x{position:absolute;top:19px;right:20px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:#fff;background:rgba(255,255,255,.15);border-radius:12px}
.community-html .kt-room-preview-v2 .kt-room-preview-x:hover{background:rgba(255,255,255,.30)}
.community-html .kt-room-preview-v2 .kt-room-preview-tabs{display:flex;gap:8px;padding:13px 28px 0;background:#f6f9ff;border-bottom:1px solid #dce5f4;flex:none;overflow-x:auto}
.community-html .kt-room-preview-v2 .kt-room-preview-tab{flex:0 0 auto;display:inline-flex;align-items:center;gap:9px;background:transparent;border:1px solid transparent;border-bottom:3px solid transparent;color:#657c9b;padding:12px 16px 13px;font:inherit;font-size:14px;font-weight:750;cursor:pointer;border-radius:10px 10px 0 0;white-space:nowrap}
.community-html .kt-room-preview-v2 .kt-room-preview-tab:hover{background:#eaf1ff;color:#254e9c}
.community-html .kt-room-preview-v2 .kt-room-preview-tab.is-active{background:#fff;color:#2358c4;border-color:#dde7f7;border-bottom-color:#3568df}
.community-html .kt-room-preview-v2 button:focus-visible,.community-html .kt-room-preview-v2 [role=tabpanel]:focus-visible{outline:3px solid #8badfb;outline-offset:2px}
.community-html .kt-room-preview-v2 .kt-room-preview-content{padding:27px 34px;flex:1 1 auto;min-height:160px;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}
.community-html .kt-room-preview-v2 .kt-room-preview-section-label{font-size:11px;letter-spacing:.1em;font-weight:800;color:#4b70ac}
.community-html .kt-room-preview-v2 .kt-room-preview-callout{background:#f0f5ff;border:1px solid #dae6ff;border-radius:14px;padding:22px 25px}
.community-html .kt-room-preview-v2 .kt-room-preview-callout p{font-size:16px;line-height:1.6;color:#263e66;white-space:pre-wrap;margin:9px 0 0;overflow-wrap:anywhere}
.community-html .kt-room-preview-v2 .kt-room-preview-facts{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0 12px}
.community-html .kt-room-preview-v2 .kt-room-preview-facts>div{display:flex;flex-direction:column;gap:5px;border:1px solid #e0e8f5;border-radius:12px;padding:15px 18px;background:#fff}
.community-html .kt-room-preview-v2 .kt-room-preview-facts span{font-size:12px;color:#7184a2}
.community-html .kt-room-preview-v2 .kt-room-preview-facts strong{font-size:15px;color:#17315e}
.community-html .kt-room-preview-v2 .kt-room-preview-hint{font-size:13px;color:#6a7f9d;line-height:1.5}
.community-html .kt-room-preview-v2 .kt-room-preview-read-rules{margin-top:9px}
.community-html .kt-room-preview-v2 .kt-room-preview-staff h3,.community-html .kt-room-preview-v2 .kt-room-preview-rules h3{color:#1c345f;font-size:19px;margin:0 0 15px}
.community-html .kt-room-preview-v2 .kt-room-preview-staff h4{color:#5b6f91;font-size:13px;margin:22px 0 12px;text-transform:uppercase;letter-spacing:.06em}
.community-html .kt-room-preview-v2 .kt-room-staff-item{display:flex;align-items:center;text-align:left;gap:13px;width:100%;padding:12px 14px;margin:0 0 10px;background:#f7faff;border:1px solid #dce6f6;border-radius:13px;cursor:pointer;color:#24436e}
.community-html .kt-room-preview-v2 .kt-room-staff-item:hover{background:#eaf2ff;border-color:#bacfeb}
.community-html .kt-room-preview-v2 .kt-room-staff-item .kt-avatar{flex-shrink:0}
.community-html .kt-room-preview-v2 .kt-room-staff-names{display:flex;flex-direction:column;flex:1;gap:4px;min-width:0;overflow-wrap:anywhere}
.community-html .kt-room-preview-v2 .kt-room-staff-names strong{font-size:15px;color:#213c66}
.community-html .kt-room-preview-v2 .kt-room-staff-names small{font-size:12px;color:#7387a2}
.community-html .kt-room-preview-v2 .kt-room-preview-empty{padding:18px;border:1px dashed #ccd9ec;border-radius:12px;color:#64799b;background:#f8fbff;line-height:1.5;margin:0}
.community-html .kt-room-preview-v2 .kt-room-preview-rules-text{border:1px solid #dce7f7;border-radius:13px;background:#f3f7ff;padding:20px 23px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:15px;color:#243e67}
.community-html .kt-room-preview-v2 .kt-room-preview-accept{display:flex;align-items:flex-start;gap:11px;cursor:pointer;margin-top:20px;padding:15px 16px;border:1px solid #c6d8f6;border-radius:12px;background:#f8faff;line-height:1.5;font-size:14px;color:#233c66}
.community-html .kt-room-preview-v2 .kt-room-preview-accept input{width:18px;height:18px;margin:2px 0 0;flex:0 0 18px;accent-color:#3264d7}
.community-html .kt-room-preview-v2 .kt-room-preview-accepted{color:#218365;font-weight:700;font-size:13px;margin-top:18px}
.community-html .kt-room-preview-v2 .kt-room-preview-footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:19px 30px;border-top:1px solid #e3eaf5;background:#fbfcff}
.community-html .kt-room-preview-v2 .kt-room-preview-footer-actions{display:flex;align-items:center;gap:11px;margin-left:auto}
.community-html .kt-room-preview-v2 .kt-room-preview-footer button{box-sizing:border-box;min-width:132px;min-height:45px;font-size:13px;font-weight:750;padding:11px 15px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center}
.community-html .kt-room-preview-v2 .kt-room-preview-footer button:disabled{opacity:.6;cursor:not-allowed}
@media (max-width:640px){
 .community-html .kt-room-preview-backdrop{padding:9px}
 .community-html .kt-room-preview-v2{width:100%;max-height:95dvh;border-radius:15px}
 .community-html .kt-room-preview-v2 .kt-room-preview-hero{padding:19px 50px 19px 17px;gap:13px;min-height:112px}
 .community-html .kt-room-preview-v2 .kt-room-preview-hero-art,.community-html .kt-room-preview-v2 .kt-room-preview-no-image{width:66px;height:66px;flex-basis:66px;border-radius:12px}
 .community-html .kt-room-preview-v2 .kt-room-preview-no-image svg{width:32px;height:32px}
 .community-html .kt-room-preview-v2 h2{font-size:24px;margin-bottom:8px}
 .community-html .kt-room-preview-v2 .kt-room-preview-kicker{margin-bottom:5px;font-size:10px}
 .community-html .kt-room-preview-v2 .kt-room-preview-category,.community-html .kt-room-preview-v2 .kt-room-preview-official,.community-html .kt-room-preview-v2 .kt-room-preview-pending{padding:3px 7px;font-size:10px}
 .community-html .kt-room-preview-v2 .kt-room-preview-x{top:10px;right:10px;width:34px;height:34px}
 .community-html .kt-room-preview-v2 .kt-room-preview-tabs{padding:7px 9px 0;gap:2px}
 .community-html .kt-room-preview-v2 .kt-room-preview-tab{padding:10px 9px;font-size:12px;gap:6px}
 .community-html .kt-room-preview-v2 .kt-room-preview-tab svg{width:14px;height:14px}
 .community-html .kt-room-preview-v2 .kt-room-preview-content{padding:19px 16px;min-height:150px}
 .community-html .kt-room-preview-v2 .kt-room-preview-callout{padding:17px}
 .community-html .kt-room-preview-v2 .kt-room-preview-facts{gap:8px}
 .community-html .kt-room-preview-v2 .kt-room-preview-facts>div{padding:11px}
 .community-html .kt-room-preview-v2 .kt-room-preview-footer{padding:13px 14px;gap:9px;flex-wrap:wrap}
 .community-html .kt-room-preview-v2 .kt-room-preview-footer-actions{width:100%;gap:8px}
 .community-html .kt-room-preview-v2 .kt-room-preview-footer-actions button{flex:1;min-width:0}
 .community-html .kt-room-preview-v2 .kt-room-preview-footer .kt-room-preview-manage{width:100%;min-width:0}
}

/* KeepTalking: fixed-size join-room modal when switching tabs (2026-11-14). */
/* Keep dialog dimensions constant; tab contents scroll inside rather than recentering the overlay. */
.community-html .kt-room-preview-v2{
  height:min(720px, calc(100dvh - 36px));
  max-height:calc(100dvh - 36px);
}
.community-html .kt-room-preview-v2 .kt-room-preview-content{
  flex:1 1 0;
  min-height:0;
  overflow-y:auto;
}
@media (max-width:640px){
  .community-html .kt-room-preview-v2{
    height:min(680px, calc(100dvh - 18px));
    max-height:calc(100dvh - 18px);
  }
}

/* KeepTalking: stable guest/member header alignment (2026-11-14). */
/* The signed-in menu is 60px wide, or 54px on narrow screens.
   Keep an invisible, non-interactive equal-width slot while logged out.
   This keeps the logo and nav start position fixed during login/logout,
   without displaying the hamburger or opening the sidebar to guests. */
.community-html .community-app.kt-guest-mode .kt-blue-header {
  padding-left: 0;
}
.community-html .community-app.kt-guest-mode .kt-blue-header::before {
  content: "";
  display: block;
  height: 62px;
  flex: 0 0 60px;
  pointer-events: none;
}
@media (max-width:720px) {
  .community-html .community-app.kt-guest-mode .kt-blue-header::before {
    height: 56px;
    flex-basis: 54px;
  }
}

/* KeepTalking: align the two profile preference checkboxes with their labels.
   These selectors deliberately outrank the site's generic full-width input and
   grid-label rules. They do not change other form inputs or checkboxes. */
.community-html .community-app .kt-profile-edit-grid > label.kt-profile-age-visibility,
.community-html .community-app label.kt-dm-sound-preference {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  width: 100%;
  text-align: left;
  line-height: 1.5;
  cursor: pointer;
  box-sizing: border-box;
}
/* In the two-column profile editor, put the age preference beside the DOB input. */
.community-html .community-app .kt-profile-edit-grid > label.kt-profile-age-visibility {
  align-self: end;
  min-height: 56px;
  margin: 0;
}
/* A compact inline row in the notification preferences section. */
.community-html .community-app label.kt-dm-sound-preference {
  margin: 12px 0 0;
}
.community-html .community-app .kt-profile-edit-grid > label.kt-profile-age-visibility > input[type="checkbox"],
.community-html .community-app label.kt-dm-sound-preference > input[type="checkbox"] {
  appearance: auto;
  display: inline-block;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  min-width: 20px;
  max-width: 20px;
  flex: 0 0 20px;
  padding: 0;
  margin: 0;
  border-radius: 4px;
  accent-color: #2e65dd;
  vertical-align: middle;
  cursor: pointer;
}
.community-html .community-app .kt-profile-edit-grid > label.kt-profile-age-visibility > input[type="checkbox"]:focus-visible,
.community-html .community-app label.kt-dm-sound-preference > input[type="checkbox"]:focus-visible {
  outline: 2px solid #2e65dd;
  outline-offset: 3px;
}
@media (max-width: 680px) {
  .community-html .community-app .kt-profile-edit-grid > label.kt-profile-age-visibility {
    min-height: 44px;
    align-self: start;
  }
}
/* End KeepTalking checkbox-alignment-v1 */


/* Mandatory email verification: self-contained landing page before any member UI. */
.community-html .kt-verification-mode{min-height:100vh;display:flex;flex-direction:column;background:#eff4fc}
.community-html .kt-verification-header{display:flex;align-items:center;gap:16px}
.community-html .kt-verification-header-title{margin-left:auto;color:#e7eeff;font-size:14px;font-weight:650}
.community-html .kt-verification-header-logout{border:1px solid rgba(255,255,255,.45);border-radius:9px;padding:10px 15px;background:transparent;color:#fff;font-weight:700;cursor:pointer}
.community-html .kt-verification-header-logout:hover{background:rgba(255,255,255,.12)}
.community-html .kt-verification-gate{width:100%;box-sizing:border-box;flex:1;display:flex;justify-content:center;align-items:flex-start;padding:clamp(24px,7vh,80px) 16px 60px}
.community-html .kt-verification-gate .kt-verification-card{box-sizing:border-box;width:100%;max-width:560px;margin:0;padding:clamp(24px,4vw,40px);background:#fff;border:1px solid #d6e0f2;border-radius:20px;box-shadow:0 16px 54px rgba(21,42,78,.12);color:#203453}
.community-html .kt-verification-gate .kt-email-reminder-top{text-align:center;margin-bottom:25px}
.community-html .kt-verification-icon{width:70px;height:70px;border-radius:50%;margin:0 auto 15px;display:flex;justify-content:center;align-items:center;background:#e9f0ff;color:#245fba}
.community-html .kt-verification-kicker{display:block;letter-spacing:.14em;color:#365d9d;font-size:12px;font-weight:800;margin-bottom:7px}
.community-html .kt-verification-gate h1{font-size:clamp(25px,4vw,32px);line-height:1.2;margin:0 0 12px;color:#162c52}
.community-html .kt-verification-gate .kt-email-reminder-top p{font-size:15px;line-height:1.65;color:#526781;margin:0}
.community-html .kt-verification-gate .kt-email-reminder-form{display:flex;flex-direction:column;align-items:stretch;gap:14px}
.community-html .kt-verification-gate .kt-email-reminder-form label{font-size:14px;font-weight:700;color:#233960;display:block;width:100%}
.community-html .kt-verification-gate .kt-email-reminder-form input{width:100%;max-width:none;margin-top:7px;box-sizing:border-box;min-width:0;border-radius:11px;font-size:17px}
.community-html .kt-verification-gate .kt-email-reminder-form input[inputmode=numeric]{text-align:center;letter-spacing:.34em;font-size:26px;font-weight:800}
.community-html .kt-verification-gate .kt-email-reminder-form .kt-button{width:100%;box-sizing:border-box;min-height:47px;justify-content:center}
.community-html .kt-verification-gate .kt-email-text-button{align-self:center;min-height:36px}
.community-html .kt-verification-help,.community-html .kt-verification-expiry{font-size:13px;line-height:1.5;color:#61728b;text-align:center;margin:14px 0 0}
.community-html .kt-verification-logout{display:block;margin:8px auto 0}
.community-html .kt-verification-card .kt-email-message-error{margin:15px 0;padding:12px;background:#fff1f2;border-radius:10px}
@media(max-width:620px){.community-html .kt-verification-header-title{display:none}.community-html .kt-verification-header-logout{margin-left:auto}.community-html .kt-verification-gate{padding:20px 12px 42px}}

.community-html .kt-verification-options{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}


/* Games-category room: reserve the left half of the central chat column for
   upcoming multiplayer games. Keep the existing people list as the 3rd column. */
.community-html .kt-chat-conversation.kt-games-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  grid-template-rows:auto minmax(0,1fr) auto;
  min-width:0; min-height:0;
}
.community-html .kt-games-layout > .kt-chat-pane-header {grid-column:1/-1;grid-row:1}
.community-html .kt-games-layout > .kt-room-game-pane {
  grid-column:1; grid-row:2/4; min-width:0;min-height:0;
  display:flex;flex-direction:column;overflow:hidden;
  border-right:1px solid #e2e9f5;background:linear-gradient(158deg,#f5f8ff,#eef5ff);
}
.community-html .kt-games-layout > .kt-chat-message-list {grid-column:2;grid-row:2;min-width:0;min-height:0}
.community-html .kt-games-layout > .kt-chat-compose {grid-column:2;grid-row:3;min-width:0}
.kt-room-game-heading {
  display:flex;align-items:center;gap:9px;min-height:58px;box-sizing:border-box;
  padding:13px 17px;border-bottom:1px solid #dce6f7;color:#345b9c;
  font-size:10px;font-weight:850;letter-spacing:.11em;
}
.kt-room-game-heading-icon {display:flex;color:#3272ce}
.kt-room-game-heading-status {
  margin-left:auto;border-radius:999px;border:1px solid #d5e3fb;background:#fff;
  color:#6e8cbb;white-space:nowrap;letter-spacing:0;font-size:10px;font-weight:750;padding:5px 9px;
}
.kt-room-game-placeholder {
  flex:1;min-height:0;min-width:0;overflow:auto;
  margin:16px;padding:20px 16px;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;gap:12px;
  background:radial-gradient(circle at 50% 30%,#fff,#f5f8ff 75%);
  border:2px dashed #cddcf4;border-radius:17px;color:#496891;
}
.kt-room-game-placeholder-icon {
  width:88px;height:88px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;
  border-radius:25px;background:#e7efff;color:#3771d7;
  box-shadow:0 5px 22px #2853a91c;
}
.community-html .kt-room-game-placeholder h3 {margin:1px 0 0;color:#254776;font-size:18px;line-height:1.25}
.community-html .kt-room-game-placeholder p {margin:0;max-width:310px;color:#6880a1;font-size:12px;line-height:1.6}
.community-html .kt-room-game-placeholder .kt-room-game-placeholder-secondary {font-size:11px;color:#91a2bc}
.kt-games-mobile-switch {display:none}
/* The built-in member list retains its existing responsive hide behavior.
   On narrow screens, switch between the game and chat for usable widths. */
@media(max-width:800px) {
  .community-html .kt-chat-conversation.kt-games-layout {
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto auto minmax(0,1fr) auto;
  }
  .kt-games-mobile-switch {
    grid-column:1;grid-row:2;display:flex;gap:5px;align-items:center;
    padding:7px 12px;background:#f8faff;border-bottom:1px solid #e5ecf8;
  }
  .kt-games-mobile-tab {
    flex:1;padding:8px 12px;min-height:35px;border:1px solid transparent;border-radius:8px;
    background:transparent;color:#6781ad;font-size:12px;font-weight:750;cursor:pointer;
  }
  .kt-games-mobile-tab.active {border-color:#d5e3fb;background:#e6efff;color:#2757b2}
  .kt-games-mobile-tab:focus-visible {outline:2px solid #386ee3;outline-offset:2px}
  .community-html .kt-games-layout > .kt-chat-message-list {grid-column:1;grid-row:3}
  .community-html .kt-games-layout > .kt-chat-compose {grid-column:1;grid-row:4}
  .community-html .kt-games-layout > .kt-room-game-pane {
    grid-column:1;grid-row:3/5;border-right:0;
  }
  .community-html .kt-games-layout:not(.kt-games-show-game) > .kt-room-game-pane {display:none}
  .community-html .kt-games-layout.kt-games-show-game > .kt-chat-message-list,
  .community-html .kt-games-layout.kt-games-show-game > .kt-chat-compose {display:none}
}
@media(max-width:440px) {
  .kt-room-game-heading {min-height:49px;padding:10px 12px}
  .kt-room-game-placeholder {margin:10px;padding:16px 12px}
}

/* Multiplayer Ludo — only appears in the pre-existing Games split pane. */
.community-html .kt-ludo-root{display:flex;flex-direction:column;min-height:0;min-width:0;flex:1;color:#23385d;font-size:13px}
.community-html .kt-ludo-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:14px;scrollbar-gutter:stable}
.community-html .kt-ludo-intro{text-align:center;padding:19px 12px 16px;border-radius:14px;background:#fff;border:1px solid #dde7fb}
.community-html .kt-ludo-intro h3{font-size:18px;color:#244879;margin:5px 0 6px}
.community-html .kt-ludo-intro p{font-size:12px;line-height:1.5;color:#627a9d;margin:0 auto;max-width:325px}
.kt-ludo-dice-logo{font-size:36px;color:#4578c5;line-height:1.15}
.community-html .kt-ludo-create{display:flex;flex-direction:column;gap:8px;margin:13px 0 17px;padding:14px;background:#fff;border:1px solid #dbe5f7;border-radius:12px}
.community-html .kt-ludo-create label{font-size:10px;font-weight:800;letter-spacing:.08em;color:#58709b}
.community-html .kt-ludo-create input{width:100%;min-width:0;box-sizing:border-box;padding:10px 11px;border:1px solid #cddbef;border-radius:9px;background:#fff;color:#23385d;font:inherit}
.community-html .kt-ludo-create input:focus-visible,.community-html .kt-ludo-root button:focus-visible{outline:2px solid #4382eb;outline-offset:2px}
.community-html .kt-ludo-primary,.community-html .kt-ludo-outline,.community-html .kt-ludo-muted,.community-html .kt-ludo-refresh,.community-html .kt-ludo-kick{border-radius:8px;border:1px solid transparent;cursor:pointer;font-size:12px;font-weight:750;padding:9px 12px;min-height:34px}
.community-html .kt-ludo-primary{background:#356ecb;color:white;box-shadow:0 3px 9px #274e9826}
.community-html .kt-ludo-outline{background:#fff;color:#3565ae;border-color:#cbdcf7}
.community-html .kt-ludo-muted{background:transparent;color:#667896;border-color:#cddbee}
.community-html .kt-ludo-refresh{background:transparent;color:#3d679c;padding:6px 9px}
.community-html .kt-ludo-kick{color:#9f3748;background:#fff4f4;padding:4px 6px;min-height:26px;font-size:10px}
.community-html .kt-ludo-root button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
.kt-ludo-list-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}
.community-html .kt-ludo-list-head h4{font-size:14px;margin:0;color:#324e80}
.community-html .kt-ludo-empty{margin:9px 0;padding:18px 10px;text-align:center;background:#fff;border:1px dashed #cbd8ef;border-radius:11px;color:#7183a0}
.kt-ludo-lobby-card{background:white;border:1px solid #dce5f5;border-radius:12px;margin-bottom:9px;padding:11px;display:flex;gap:8px;align-items:center;justify-content:space-between}
.kt-ludo-lobby-info{display:flex;min-width:0;flex-direction:column;gap:4px;overflow-wrap:anywhere}
.community-html .kt-ludo-lobby-info strong{font-size:13px;color:#264a7d}
.community-html .kt-ludo-lobby-info small{font-size:10px;font-weight:750;color:#5075ac}
.community-html .kt-ludo-lobby-info span{font-size:11px;color:#71819a}
.kt-ludo-backbar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.kt-ludo-status{font-size:10px;padding:5px 9px;background:#e2edff;color:#3565ae;border-radius:12px;font-weight:800}
.community-html .kt-ludo-session-title{font-size:17px;margin:2px 0 5px;overflow-wrap:anywhere;color:#264577}
.community-html .kt-ludo-note{font-size:12px;line-height:1.4;margin:0 0 11px;color:#60769b}
.kt-ludo-players{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:12px}
.kt-ludo-player{min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:9px 7px;border:1px solid #dae4f4;border-radius:9px;background:white}
.kt-ludo-player-dot{flex:0 0 auto;width:12px;height:12px;border:2px solid #fff;box-shadow:0 0 0 1px #b7c5db;border-radius:50%}
.kt-ludo-player-red .kt-ludo-player-dot{background:#ef5456}.kt-ludo-player-blue .kt-ludo-player-dot{background:#3781ea}
.kt-ludo-player-yellow .kt-ludo-player-dot{background:#e8b927}.kt-ludo-player-green .kt-ludo-player-dot{background:#32b978}
.kt-ludo-player-name{flex:1;min-width:0;font-size:11px;font-weight:800;overflow-wrap:anywhere}
.kt-ludo-player small{width:100%;font-size:10px;color:#6a7b9a}
/* Classic top-down Ludo board — photo-inspired. The actual pawns are still
   buttons bound to the existing multiplayer engine; nothing is a screenshot. */
.kt-ludo-board{
  position:relative;isolation:isolate;display:grid;width:100%;max-width:475px;aspect-ratio:1;
  margin:0 auto 12px;grid-template-columns:repeat(15,minmax(0,1fr));
  grid-template-rows:repeat(15,minmax(0,1fr));overflow:hidden;
  box-sizing:border-box;border:4px solid #722943;border-radius:7px;
  background:#fff;box-shadow:0 3px 13px #1f3d7320;
}
.kt-ludo-cell{
  position:relative;min-width:0;min-height:0;display:flex;justify-content:center;
  align-items:center;gap:0;border:1px solid #aeb9c6;background:#fff;
}
.kt-ludo-cell.is-base{border-color:#ffe6af;background:#ffebbd}
.kt-ludo-cell.is-track{background:#fff}
.kt-ludo-cell.is-center{background:#fff}
.kt-ludo-cell.is-track.is-green,.kt-ludo-cell.is-green:not(.is-base){background:#57c85e}
.kt-ludo-cell.is-track.is-red,.kt-ludo-cell.is-red:not(.is-base){background:#ec5b5c}
.kt-ludo-cell.is-track.is-yellow,.kt-ludo-cell.is-yellow:not(.is-base){background:#f8d943}
.kt-ludo-cell.is-track.is-blue,.kt-ludo-cell.is-blue:not(.is-base){background:#38a8ed}
.kt-ludo-cell.is-safe::before{content:'★';font-size:clamp(8px,1.25vw,16px);color:#8094ab9c;position:absolute;z-index:0}
.kt-ludo-cell.is-start::before{color:#fffce6;opacity:.9}
.kt-ludo-lane-arrow{position:absolute;inset:0;display:grid;place-items:center;
  font-size:clamp(9px,1.4vw,19px);line-height:1;color:#fff;
  font-family:Arial,sans-serif;font-weight:bold;text-shadow:0 1px 1px #0005;pointer-events:none}
.kt-ludo-home{position:absolute;width:40%;height:40%;box-sizing:border-box;
  z-index:3;background:#ffe8a8;border:1px solid #8a774c;
  display:flex;align-items:center;justify-content:center}
.kt-ludo-home-green{top:0;left:0;--house:#39c83f;--house-border:#168621;--house-ink:#145c20}
.kt-ludo-home-red{top:0;right:0;--house:#ed4547;--house-border:#b8222a;--house-ink:#9c1d25}
.kt-ludo-home-yellow{bottom:0;right:0;--house:#ffdf22;--house-border:#bf9114;--house-ink:#8b6205}
.kt-ludo-home-blue{bottom:0;left:0;--house:#20a7ed;--house-border:#1563a5;--house-ink:#174b82}
.kt-ludo-home-circle{box-sizing:border-box;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr));gap:10%;width:77%;height:77%;padding:12%;
  border:2px solid var(--house-border);border-radius:50%;background:var(--house);
  place-items:center}
.kt-ludo-home-slot{position:relative;display:flex;align-items:center;justify-content:center;
  min-width:0;min-height:0;width:100%;height:100%;aspect-ratio:1;
  border-radius:50%;border:1.5px solid var(--house-ink);background:#fff;
  box-shadow:0 1px 2px #0003 inset}
/* Player names sit straight under their home circles; unoccupied homes
   never render this badge. The title attribute exposes long names in full. */
.kt-ludo-home-start{position:absolute;bottom:2.8%;left:3%;box-sizing:border-box;
  display:block;max-width:94%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font:800 clamp(8px,1vw,11px)/1.25 Arial,sans-serif;text-align:center;
  color:var(--house-ink);background:var(--house);border:1px solid var(--house-ink);
  padding:2% 3%;border-radius:999px;transform:none}
.kt-ludo-home-red .kt-ludo-home-start,.kt-ludo-home-blue .kt-ludo-home-start{left:auto;right:3%}
.kt-ludo-finish{position:absolute;z-index:4;left:40%;top:40%;width:20%;height:20%;
  box-sizing:border-box;border:1px solid #465264;display:flex;align-items:center;justify-content:center;
  background:conic-gradient(from -45deg,#ed4c50 0 90deg,#f8d939 90deg 180deg,#32a7ec 180deg 270deg,#49c851 270deg 360deg)}
.kt-ludo-finish-label{position:absolute;z-index:0;display:grid;place-items:center;
  width:50%;height:50%;border-radius:50%;border:1px solid #303b4c;
  background:#fff;font:bold clamp(7px,.9vw,11px)/1 Arial,sans-serif;color:#334257}
.kt-ludo-center-pawns{position:absolute;z-index:2;display:flex;align-items:center;
  justify-content:center;gap:0;width:33.333%;height:33.333%;transform:translate(-50%,-50%)}
.kt-ludo-finished-pawns{position:absolute;z-index:3;inset:32%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}
.kt-ludo-token{--pawn:#44be54;--pawn-dark:#166b2a;--pawn-highlight:#c7ffd0;
  appearance:none!important;position:relative!important;z-index:2;display:block!important;
  flex:0 0 auto;box-sizing:border-box;min-width:0;min-height:0;
  width:clamp(13px,1.8vw,25px);height:clamp(13px,1.8vw,25px);
  padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;font-size:0;color:transparent;cursor:default}
.kt-ludo-home-slot .kt-ludo-token{width:88%;height:93%}
.kt-ludo-token::before{content:'';position:absolute;z-index:2;width:43%;height:43%;
  top:3%;left:28%;border-radius:50%;box-sizing:border-box;
  border:1px solid var(--pawn-dark);background:radial-gradient(circle at 30% 25%,var(--pawn-highlight),var(--pawn) 60%,var(--pawn-dark));
  box-shadow:0 1px 1px #0004}
.kt-ludo-token::after{content:'';position:absolute;z-index:1;bottom:5%;left:6%;width:88%;height:63%;
  box-sizing:border-box;border:1px solid var(--pawn-dark);border-bottom:2px solid var(--pawn-dark);
  border-radius:45% 45% 28% 28%/25% 25% 16% 16%;
  background:linear-gradient(100deg,var(--pawn-dark),var(--pawn-highlight) 35%,var(--pawn) 60%,var(--pawn-dark));
  box-shadow:0 2px 2px #0004}
.kt-ludo-token.kt-ludo-green{--pawn:#20be36;--pawn-dark:#087425;--pawn-highlight:#c0ffd0}
.kt-ludo-token.kt-ludo-red{--pawn:#e52a37;--pawn-dark:#9b1522;--pawn-highlight:#ffd5d5}
.kt-ludo-token.kt-ludo-yellow{--pawn:#f7cc00;--pawn-dark:#b38600;--pawn-highlight:#fff9a8}
.kt-ludo-token.kt-ludo-blue{--pawn:#1287de;--pawn-dark:#004f9c;--pawn-highlight:#c9f3ff}
.community-html .kt-ludo-root .kt-ludo-token:disabled{opacity:1;cursor:default}
.kt-ludo-token.can-move{cursor:pointer!important;outline:2px solid #123fb2;outline-offset:1px;
  border-radius:50%!important;animation:kt-ludo-pulse .8s infinite alternate}
.kt-ludo-token.can-move:focus-visible{outline:3px solid #10296e;outline-offset:1px}
@keyframes kt-ludo-pulse{from{transform:scale(1)}to{transform:scale(1.13)}}
.kt-ludo-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:9px 0}
.kt-ludo-turn{font-weight:800;color:#315b9c;flex-basis:100%;font-size:12px}
/* Dedicated dice table: a real 3D six-faced CSS cube, not an animated emoji. */
/* The Ludo dice below directly adapts the supplied jico CodePen SCSS
   into browser CSS. Names are scoped to this Ludo box so the global site
   isn't affected. The server alone chooses the number; no jQuery/random roll. */
.kt-ludo-dice-tray{display:grid;grid-template-columns:205px minmax(0,1fr);align-items:stretch;gap:14px;
  padding:12px;margin:0 0 12px;background:#f2f6fc;border:1px solid #b7cbea;border-radius:15px;
  box-shadow:0 4px 12px #2c52731c;box-sizing:border-box}
.kt-ludo-dice-box{position:relative;display:grid;place-items:center;overflow:hidden;box-sizing:border-box;
  width:205px;min-height:200px;border:1px solid #343434;border-radius:12px;background-color:#333;
  isolation:isolate}
.kt-ludo-dice-box-label{position:absolute;top:9px;left:12px;color:#ffffffb8;font-size:10px;
  letter-spacing:.12em;font-weight:800;z-index:1}
.kt-ludo-dice-box .diceWrap.kt-ludo-die-platform{position:relative;width:200px;height:185px;display:block;
  margin:0;transform:none;perspective:700px;perspective-origin:50% 40%}
.kt-ludo-dice-box .diceWrap::before{content:'';position:absolute;left:15%;top:89%;width:70%;height:10%;
  background:rgba(0,0,0,.3);border-radius:100%;filter:blur(10px)}
.kt-ludo-die-shadow{display:none}
.kt-ludo-dice-box .kt-ludo-die-perspective{position:absolute;inset:0;perspective:650px;
  transform-style:preserve-3d}
.kt-ludo-dice-box .dice.kt-ludo-die-cube{position:absolute;top:calc(50% - 50px);left:calc(50% - 50px);
  width:100px;height:100px;transform-style:preserve-3d;
  transform:rotateX(var(--kt-die-x)) rotateY(var(--kt-die-y));
  transition:transform .5s cubic-bezier(.42,1.57,.62,.86);}
.kt-ludo-dice-box .dice.rolling{animation:kt-ludo-physical-roll 3s cubic-bezier(.25,.65,.3,1) both;
  transition:none;will-change:transform}
.kt-ludo-dice-box .diceFace.kt-ludo-die-face{box-sizing:border-box;position:absolute;width:100px;height:100px;
  background:#f6f3f0;border:2px solid #fff;border-radius:20px;transform-style:preserve-3d;
  backface-visibility:hidden;transition:.5s}
/* Backing layer and round pip match the reference's before/after construction. */
.kt-ludo-dice-box .diceFace::before{position:absolute;content:'';inset:0;background:#fff;
  border-radius:18px;transform:translateZ(-1px)}
.kt-ludo-dice-box .diceFace::after{position:absolute;content:'';width:20px;height:20px;top:50%;left:50%;
  margin:-10px 0 0 -10px;background-color:#131210;border-radius:100%;transform:translateZ(1px)}
.kt-ludo-dice-box .diceFace.front{transform:translateZ(50px)}
.kt-ludo-dice-box .diceFace.up{transform:rotateX(90deg) translateZ(50px)}
.kt-ludo-dice-box .diceFace.left{transform:rotateY(-90deg) translateZ(50px)}
.kt-ludo-dice-box .diceFace.right{transform:rotateY(90deg) translateZ(50px)}
.kt-ludo-dice-box .diceFace.bottom{transform:rotateX(-90deg) translateZ(50px)}
.kt-ludo-dice-box .diceFace.back{transform:rotateX(180deg) translateZ(50px)}
.kt-ludo-dice-box .diceFace.front::after{width:40px;height:40px;margin:-20px 0 0 -20px;background:#f63330}
.kt-ludo-dice-box .diceFace.up::after{margin:-30px 0 0 -30px;
  box-shadow:40px 40px #131210}
.kt-ludo-dice-box .diceFace.left::after{margin:-40px 0 0 -40px;
  box-shadow:30px 30px #131210,60px 60px #131210}
.kt-ludo-dice-box .diceFace.right::after{margin:-30px 0 0 -30px;background:#f63330;
  box-shadow:40px 0 #f63330,0 40px #f63330,40px 40px #f63330}
.kt-ludo-dice-box .diceFace.bottom::after{margin:-36px 0 0 -36px;
  box-shadow:26px 26px #131210,52px 52px #131210,52px 0 #131210,0 52px #131210}
.kt-ludo-dice-box .diceFace.back::after{margin:-40px 0 0 -30px;
  box-shadow:40px 0 #131210,0 30px #131210,40px 30px #131210,0 60px #131210,40px 60px #131210}
/* A single roll combines a physical tumble and bouncing motion.
   The final angles are congruent with the server's chosen face, avoiding
   an abrupt snap to a different side at the end of the animation. */
@keyframes kt-ludo-physical-roll{
  0%{transform:translateY(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg)}
  20%{transform:translateY(-28px) rotateX(290deg) rotateY(390deg) rotateZ(120deg)}
  40%{transform:translateY(0) rotateX(610deg) rotateY(780deg) rotateZ(260deg)}
  60%{transform:translateY(-18px) rotateX(980deg) rotateY(1200deg) rotateZ(460deg)}
  80%{transform:translateY(0) rotateX(1350deg) rotateY(1700deg) rotateZ(680deg)}
  92%{transform:translateY(-5px) rotateX(calc(var(--kt-die-x) + 1440deg)) rotateY(calc(var(--kt-die-y) + 1800deg)) rotateZ(720deg)}
  100%{transform:translateY(0) rotateX(calc(var(--kt-die-x) + 1440deg)) rotateY(calc(var(--kt-die-y) + 1800deg)) rotateZ(720deg)}
}
.kt-ludo-dice-info{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;gap:8px}
.community-html .kt-ludo-dice-heading{font-size:14px;line-height:1.15;color:#294c7d;font-weight:850}
.community-html .kt-ludo-dice-message{font-size:12px;line-height:1.45;color:#526c93;margin:0;overflow-wrap:anywhere}
.community-html .kt-ludo-dice-caption{font-size:11px;color:#7d8da8;font-weight:650}
.community-html .kt-ludo-roll-button{padding:9px 16px;min-height:37px}
@media(max-width:470px){.kt-ludo-dice-tray{grid-template-columns:158px minmax(0,1fr);gap:9px;padding:8px}
  .kt-ludo-dice-box{width:158px;min-height:156px}
  .kt-ludo-dice-box .diceWrap.kt-ludo-die-platform{transform:scale(.77);transform-origin:center}
  .community-html .kt-ludo-dice-message{font-size:11px}
  .community-html .kt-ludo-roll-button{padding:7px 9px}}
@media(max-width:330px){.kt-ludo-dice-tray{grid-template-columns:1fr}
  .kt-ludo-dice-box{width:100%}.kt-ludo-dice-info{align-items:center;text-align:center}}
@media(prefers-reduced-motion:reduce){.kt-ludo-dice-box .dice.rolling{animation:none!important}}
.community-html .kt-ludo-help{font-size:11px;color:#697f9e;margin:0}
.community-html .kt-ludo-rules{font-size:10px;line-height:1.55;color:#7b8ca8;margin:10px 0 2px}
.kt-ludo-result{border:1px solid #e0c278;background:#fff5d2;border-radius:10px;font-size:16px;font-weight:850;text-align:center;padding:14px;color:#876408}
.kt-ludo-error{color:#a02d43;background:#ffeff2;border:1px solid #f6c6d0;border-radius:8px;padding:10px;margin:8px 14px;font-size:12px}
@media(max-width:800px){.kt-ludo-token{width:clamp(13px,2.75vw,26px);height:clamp(13px,2.75vw,26px)}}
@media(prefers-reduced-motion:reduce){.kt-ludo-token.can-move,.kt-ludo-die-cube.is-rolling,.kt-ludo-die-shadow.is-rolling{animation:none}}

.kt-ludo-dice-box .kt-ludo-smooth-die{position:absolute;top:50%;left:50%;width:186px;height:182px;
  margin-top:-91px;margin-left:-93px;display:block;pointer-events:none;z-index:2;
  image-rendering:auto;transform:translateY(0)}
.kt-ludo-dice-box .kt-ludo-canvas-ready .dice.kt-ludo-die-cube{visibility:hidden}

/* Ludo v9: the WebGL rounded solid has a wide smooth, antialiased silhouette. */
.kt-ludo-dice-box .kt-ludo-smooth-die{image-rendering:auto;filter:none;backface-visibility:hidden;}

/* v10: no separate CSS face planes. Their square coplanar overlaps are the
   cause of the sharp white triangles and split corners in users' screenshots.
   Canvas/WebGL draws one filleted solid instead. The CSS shape below is an
   intentionally simple rounded 2D safety fallback if both APIs are blocked. */
.kt-ludo-dice-box .diceFace.kt-ludo-die-face { display:none !important; }
.kt-ludo-dice-box .dice.kt-ludo-die-cube {
  box-sizing:border-box; background:linear-gradient(140deg,#fff 0%,#f7f7f5 72%,#e9e8e5 100%);
  border:1px solid #f5f4f2; border-radius:25px;
  box-shadow:inset -4px -5px 8px rgba(0,0,0,.04),0 7px 15px rgba(0,0,0,.23);
  transform:none; transition:none;
}
.kt-ludo-dice-box .dice.kt-ludo-die-cube::after {
  content:''; position:absolute; left:50%; top:50%; width:16px; height:16px;
  margin:-8px 0 0 -8px; border-radius:50%; background:#151515;
}
.kt-ludo-dice-box .dice.kt-ludo-die-cube[data-die-face="1"]::after {width:25px;height:25px;margin:-12.5px 0 0 -12.5px;background:#ee333a;}
.kt-ludo-dice-box .dice.kt-ludo-die-cube[data-die-face="2"]::after {box-shadow:-23px -23px #151515,23px 23px #151515;background:transparent;}
.kt-ludo-dice-box .dice.kt-ludo-die-cube[data-die-face="3"]::after {box-shadow:-24px -24px #151515,24px 24px #151515;}
.kt-ludo-dice-box .dice.kt-ludo-die-cube[data-die-face="4"]::after {background:transparent;box-shadow:-23px -23px #ee333a,23px -23px #ee333a,-23px 23px #ee333a,23px 23px #ee333a;}
.kt-ludo-dice-box .dice.kt-ludo-die-cube[data-die-face="5"]::after {box-shadow:-25px -25px #151515,25px -25px #151515,-25px 25px #151515,25px 25px #151515;}
.kt-ludo-dice-box .dice.kt-ludo-die-cube[data-die-face="6"]::after {background:transparent;box-shadow:-23px -27px #151515,23px -27px #151515,-23px 0 #151515,23px 0 #151515,-23px 27px #151515,23px 27px #151515;}
.kt-ludo-dice-box .dice.kt-ludo-die-cube.rolling {animation:kt-ludo-fallback-bounce 3s ease-out both;}
@keyframes kt-ludo-fallback-bounce {
  0%{transform:translateY(0) rotate(0deg)}
  15%{transform:translateY(-18px) rotate(700deg)}
  30%{transform:translateY(0) rotate(1500deg)}
  45%{transform:translateY(-14px) rotate(2350deg)}
  60%{transform:translateY(0) rotate(3150deg)}
  75%{transform:translateY(-8px) rotate(3960deg)}
  85%{transform:translateY(0) rotate(4590deg)}
  95%{transform:translateY(-3px) rotate(4680deg)}
  100%{transform:translateY(0) rotate(4680deg)}
}
.kt-ludo-dice-box .kt-ludo-canvas-ready .dice.kt-ludo-die-cube {visibility:hidden!important;}
@media(prefers-reduced-motion:reduce){.kt-ludo-dice-box .dice.kt-ludo-die-cube.rolling{animation:none}}

/* v12: rapid tumbling keeps the number unreadable until the brief settling phase. */
.kt-ludo-dice-box .dice.kt-ludo-die-cube.rolling {animation-timing-function:linear;}
@media(prefers-reduced-motion:reduce){
  .kt-ludo-dice-box .dice.kt-ludo-die-cube.rolling {animation:none!important}
}

/* Emergency pure-CSS fallback: flash a different die face about every 60ms
   rather than repeating the selected result on every revolution.  The
   animation disappears instantly when rolling ends, revealing the true face. */
.kt-ludo-dice-box .dice.kt-ludo-die-cube.rolling::after {
  animation:kt-ludo-flash-pips .36s steps(1,end) infinite;
}
@keyframes kt-ludo-flash-pips {
  0%,100% {width:16px;height:16px;margin:-8px 0 0 -8px;background:#151515;
    box-shadow:-24px -24px #151515,24px 24px #151515;}
  16.66% {width:16px;height:16px;margin:-8px 0 0 -8px;background:#151515;
    box-shadow:-24px -24px #151515,24px -24px #151515,-24px 24px #151515,24px 24px #151515;}
  33.33% {width:16px;height:16px;margin:-8px 0 0 -8px;background:transparent;
    box-shadow:-23px -27px #151515,23px -27px #151515,-23px 0 #151515,23px 0 #151515,-23px 27px #151515,23px 27px #151515;}
  50% {width:16px;height:16px;margin:-8px 0 0 -8px;background:transparent;
    box-shadow:-23px -23px #ee333a,23px -23px #ee333a,-23px 23px #ee333a,23px 23px #ee333a;}
  66.66% {width:16px;height:16px;margin:-8px 0 0 -8px;background:#151515;
    box-shadow:-25px -25px #151515,25px -25px #151515,-25px 25px #151515,25px 25px #151515;}
  83.33% {width:25px;height:25px;margin:-12.5px 0 0 -12.5px;background:#ee333a;
    box-shadow:none;}
}
@media(prefers-reduced-motion:reduce){
  .kt-ludo-dice-box .dice.kt-ludo-die-cube.rolling::after {animation:none!important}
}

/* Ludo turn clocks: visible only within the active player's dice controls. */
.kt-ludo-turn-timer{width:100%;max-width:240px;padding:10px 12px;
  border:1px solid #b9d1f7;border-radius:12px;background:#f0f6ff;color:#284b80;box-sizing:border-box}
.kt-ludo-turn-timer-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:12px;font-weight:700}
.kt-ludo-turn-seconds{font-size:22px;line-height:1;font-variant-numeric:tabular-nums;font-weight:900}
.kt-ludo-turn-track{height:7px;border-radius:6px;background:#d5e3f8;overflow:hidden;margin-top:8px}
.kt-ludo-turn-fill{height:100%;background:#3178dc;border-radius:6px;transition:width .2s linear}
.kt-ludo-turn-timer.is-urgent{color:#a22731;background:#fff0f0;border-color:#f4b5b8}
.kt-ludo-turn-timer.is-urgent .kt-ludo-turn-fill{background:#e34b55}
@media(prefers-reduced-motion:reduce){.kt-ludo-turn-fill{transition:none}}

/* KeepTalking Ludo table layout v1
   A dedicated board table with colour-coded seats around it and a compact
   dice/turn sidebar. Responsive to the GAME PANE's width, not window width.
   The split chat view and the separate room member list are untouched. */
.community-html .kt-ludo-scroll{container-type:inline-size;container-name:ludo-table;padding:12px 14px 18px}
.community-html .kt-ludo-session-active{min-width:0;max-width:1060px;margin:0 auto}
.community-html .kt-ludo-session-active .kt-ludo-match-header{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:13px 16px;margin:0 0 13px;background:#fff;border:1px solid #dce5f5;
  border-radius:14px;box-shadow:0 3px 12px #253c6910;
}
.kt-ludo-match-heading{min-width:0;flex:1}
.community-html .kt-ludo-match-eyebrow{display:block;color:#4a78be;font-size:9px;font-weight:850;letter-spacing:.13em;margin-bottom:3px}
.community-html .kt-ludo-session-active .kt-ludo-session-title{font-size:19px;line-height:1.15;margin:0 0 4px;color:#1f3865;white-space:normal}
.community-html .kt-ludo-session-active .kt-ludo-note{font-size:11px;line-height:1.35;margin:0;color:#6e819e;overflow-wrap:anywhere}
.kt-ludo-match-count{display:inline-flex;align-items:center;white-space:nowrap;flex:0 0 auto;padding:6px 10px;border:1px solid #d7e4f6;
  border-radius:999px;font-size:10px;font-weight:800;background:#f2f6fd;color:#3d679e}
.kt-ludo-match{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);align-items:start;justify-content:center;gap:14px}
.kt-ludo-board-zone{min-width:0;width:100%;max-width:582px;margin:0 auto;display:flex;flex-direction:column;gap:8px}
.kt-ludo-board-frame{min-width:0;width:100%;padding:7px;box-sizing:border-box;border:1px solid #cbd8eb;
  background:#fff;border-radius:13px;box-shadow:0 9px 23px #1a33532a}
.kt-ludo-board-zone .kt-ludo-board{width:100%;max-width:none;margin:0;box-shadow:none;border-radius:5px}
.kt-ludo-seat-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
.kt-ludo-seat{--seat:#c3d4e7;--seat-bg:#f3f7fd;display:flex;align-items:center;gap:9px;min-width:0;
  padding:8px 10px;box-sizing:border-box;min-height:55px;background:#fff;border:1px solid #d7e1ef;
  border-radius:11px;box-shadow:0 2px 8px #192f4a0d;position:relative;overflow:hidden}
.kt-ludo-seat::before{content:'';position:absolute;inset:0 auto 0 0;width:4px;background:var(--seat);border-radius:11px 0 0 11px}
.kt-ludo-seat-green{--seat:#2cad50;--seat-bg:#eaf8eb}
.kt-ludo-seat-red{--seat:#e54c54;--seat-bg:#fff0f0}
.kt-ludo-seat-blue{--seat:#2189dc;--seat-bg:#eaf5ff}
.kt-ludo-seat-yellow{--seat:#e2ad1d;--seat-bg:#fff8e4}
.kt-ludo-seat-marker{width:29px;height:29px;border-radius:9px;display:block;flex:0 0 29px;background:var(--seat-bg);
  border:1px solid color-mix(in srgb,var(--seat) 40%,white);position:relative}
.kt-ludo-seat-marker::after{content:'';position:absolute;left:50%;top:50%;width:12px;height:12px;transform:translate(-50%,-50%);
  border-radius:50%;background:var(--seat);box-shadow:0 0 0 3px white,0 1px 3px #1b2c3830}
.kt-ludo-seat-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.community-html .kt-ludo-seat-copy strong{font-weight:850;font-size:12px;color:#233a5a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.community-html .kt-ludo-seat-copy small{font-weight:650;font-size:10px;color:#7688a1}
.kt-ludo-seat.is-empty{opacity:.65}
.kt-ludo-seat.is-turn{border-color:var(--seat);background:linear-gradient(90deg,var(--seat-bg),#fff 80%);box-shadow:0 0 0 2px color-mix(in srgb,var(--seat) 16%,transparent)}
.kt-ludo-seat-turn{color:#fff;background:var(--seat);border-radius:20px;padding:4px 6px;font-size:9px;font-weight:850;white-space:nowrap}
.kt-ludo-game-sidebar{min-width:0;max-width:582px;width:100%;margin:0 auto;display:flex;flex-direction:column;gap:10px;
  padding:12px;box-sizing:border-box;background:#fff;border:1px solid #d7e1f1;
  border-radius:15px;box-shadow:0 6px 18px #1e417017}
.kt-ludo-sidebar-heading{display:flex;align-items:center;gap:9px;padding:1px 1px 3px}
.kt-ludo-sidebar-heading > div{display:flex;flex-direction:column;gap:2px}
.community-html .kt-ludo-sidebar-heading strong{font-size:14px;color:#244a7f}
.community-html .kt-ludo-sidebar-heading small{font-size:10px;color:#7085a4}
.kt-ludo-sidebar-die-icon{font-size:23px;line-height:1;width:36px;height:36px;display:grid;place-items:center;
  background:#e9f2ff;color:#3172c5;border-radius:10px}
/* Keep the 3D die at its native renderer dimensions and position its actions
   beside or underneath, never in a full-width strip below the entire board. */
.kt-ludo-game-sidebar .kt-ludo-dice-tray{display:flex;flex-direction:column;gap:10px;padding:0;margin:0;
  background:transparent;border:0;border-radius:0;box-shadow:none}
.kt-ludo-game-sidebar .kt-ludo-dice-box{width:100%;height:204px;min-height:204px;
  border-radius:12px;background:#303033;border:1px solid #272c33}
.kt-ludo-game-sidebar .kt-ludo-dice-info{align-items:stretch;gap:9px;padding:0 3px}
.community-html .kt-ludo-game-sidebar .kt-ludo-dice-heading{font-size:13px;color:#254878}
.community-html .kt-ludo-game-sidebar .kt-ludo-dice-message{font-size:11px;color:#617794}
.kt-ludo-game-sidebar .kt-ludo-turn-timer{max-width:none}
.community-html .kt-ludo-game-sidebar .kt-ludo-roll-button{width:100%;justify-content:center;min-height:39px}
.kt-ludo-game-sidebar .kt-ludo-game-controls{margin:0;display:flex;gap:8px}
.kt-ludo-game-sidebar .kt-ludo-game-controls .kt-ludo-muted{width:100%;min-height:35px}
.kt-ludo-rules-card{border:1px solid #dce6f4;border-radius:10px;background:#f6f9fe;color:#4c668b;padding:9px 11px}
.kt-ludo-rules-card summary{font-size:11px;font-weight:800;color:#466b9e;cursor:pointer;user-select:none}
.kt-ludo-rules-card summary:focus-visible{outline:2px solid #346bc6;outline-offset:4px}
.community-html .kt-ludo-rules-card p{font-size:11px;line-height:1.6;margin:8px 0 0;color:#667b9b}
.community-html .kt-ludo-game-sidebar .kt-ludo-result{font-size:13px;padding:10px}
.community-html .kt-ludo-waiting{margin:0 auto;max-width:600px;background:#fff;border:1px solid #dce5f5;border-radius:13px;padding:15px}
.community-html .kt-ludo-session-waiting .kt-ludo-match-header{max-width:600px;margin:0 auto 12px}
@container ludo-table (min-width:835px){
  .kt-ludo-match{grid-template-columns:minmax(0,582px) minmax(230px,270px);gap:17px}
  .kt-ludo-board-zone{margin:0}
  .kt-ludo-game-sidebar{margin:0;position:sticky;top:0}
}
/* When the split chat pane is medium-sized, keep board full width and put
   dice + controls side-by-side to save vertical scrolling. */
@container ludo-table (min-width:480px) and (max-width:834px){
  .kt-ludo-game-sidebar .kt-ludo-dice-tray{display:grid;grid-template-columns:205px minmax(0,1fr);align-items:center;gap:13px}
  .kt-ludo-game-sidebar .kt-ludo-dice-box{width:205px}
}
@container ludo-table (max-width:479px){
  .kt-ludo-board-frame{padding:4px;border-radius:8px}
  .kt-ludo-seat{min-height:46px;gap:6px;padding:6px 7px}
  .kt-ludo-seat-marker{width:22px;height:22px;flex-basis:22px;border-radius:7px}
  .kt-ludo-seat-marker::after{width:9px;height:9px}
  .community-html .kt-ludo-seat-copy strong{font-size:11px}
  .community-html .kt-ludo-seat-copy small{font-size:9px}
  .kt-ludo-seat-turn{font-size:8px;padding:3px 4px}
  .kt-ludo-game-sidebar{padding:10px}
  .community-html .kt-ludo-session-active .kt-ludo-match-header{padding:10px}
  .community-html .kt-ludo-session-active .kt-ludo-session-title{font-size:16px}
}

/* Ludo token hops: render a temporary pawn above the board while the server's
   new final position stays hidden. No animation runs on initial board load. */
.kt-ludo-board .kt-ludo-motion-layer{
  position:absolute;inset:0;z-index:8;pointer-events:none;overflow:hidden;
}
.kt-ludo-board .kt-ludo-token.is-animating-arrival{visibility:hidden!important}
.kt-ludo-board .kt-ludo-token.kt-ludo-motion-pawn{
  position:absolute!important;display:block!important;z-index:1;
  margin:0!important;transform:translate(-50%,-50%);
  pointer-events:none;visibility:visible!important;
  filter:drop-shadow(0 2px 2px #0003);
}
@media(prefers-reduced-motion:reduce){
  .kt-ludo-board .kt-ludo-token.kt-ludo-motion-pawn{animation:none!important}
}

/* KeepTalking Coins */
.kt-coins-header-pill{border:1px solid #ead28d;background:linear-gradient(120deg,#fff5d0,#fff);color:#916000;border-radius:999px;padding:8px 13px;font-weight:850;white-space:nowrap;cursor:pointer}
.kt-coins-page{padding:22px;max-width:1300px;margin:0 auto;width:100%;box-sizing:border-box;color:#1a2950}
.kt-coins-hero{border-radius:20px;background:linear-gradient(110deg,#162f63,#3768b0);color:white;padding:30px;display:flex;justify-content:space-between;gap:20px;align-items:center;box-shadow:0 12px 28px #243b6d20}
.kt-coins-hero small{font-size:10px;letter-spacing:.11em;font-weight:900;color:#bfd8ff}
.kt-coins-hero h1{font-size:34px;color:white;margin:8px 0}.kt-coins-hero p{margin:0;color:#dce9ff}
.kt-coins-hero-balance{border-radius:16px;background:#ffffff18;display:flex;flex-direction:column;gap:4px;padding:16px 22px;text-align:center;min-width:175px}
.kt-coins-hero-balance strong{font-size:38px;color:#ffda55}.kt-coins-hero-balance span{font-size:11px;color:#f4f6ff}
.kt-coins-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}
.kt-coins-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.kt-coins-card{background:#fff;border:1px solid #dbe4f4;border-radius:17px;padding:23px;box-shadow:0 6px 20px #22345f0b;min-width:0}
.kt-coins-card h2{font-size:18px;margin:0 0 13px;color:#18345d}
.kt-coins-card p{font-size:13px;line-height:1.6}.kt-coins-card .kt-button{margin:8px 5px 8px 0}
.kt-coins-history{max-height:480px;overflow:auto}.kt-coins-tx{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e6ebf5;padding:12px 2px;gap:10px}
.kt-coins-tx div{display:flex;flex-direction:column;gap:4px}.kt-coins-tx small{color:#8593ac;font-size:11px}
.kt-coin-positive{color:#099557}.kt-coin-negative{color:#d24653}.kt-coin-banner-item{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid #e7edf7;padding:11px 0}
.kt-coin-banner-item strong{flex:1}.kt-coin-swatch{display:inline-block;width:28px;height:28px;border-radius:8px;border:4px ridge #ccc}
.kt-coin-swatch-gold{border-color:#ffd54e}.kt-coin-swatch-sapphire{border-color:#4c9cff}.kt-coin-swatch-rose{border-color:#f995c5}
.kt-coin-equipped{color:#197c5a;font-size:12px;font-weight:bold}.kt-profile-coin-actions{display:flex;flex-wrap:wrap;gap:8px}
.kt-profile-banner.kt-coin-banner-gold{box-shadow:inset 0 0 0 7px #e9bc33,inset 0 0 0 11px #fff1ae}
.kt-profile-banner.kt-coin-banner-sapphire{box-shadow:inset 0 0 0 7px #296cc5,inset 0 0 0 11px #aacdff}
.kt-profile-banner.kt-coin-banner-rose{box-shadow:inset 0 0 0 7px #dd689c,inset 0 0 0 11px #ffd4e4}
.kt-admin-coin-rules{display:grid;gap:12px}.kt-admin-coin-rule{display:flex;align-items:center;flex-wrap:wrap;gap:20px;background:#f8faff;border:1px solid #e1e8f5;border-radius:10px;padding:12px}
.kt-admin-coin-rule label:first-child{flex:1;min-width:230px}.kt-admin-coin-rule input[type=number]{max-width:100px;margin-left:6px}
.kt-admin-coin-adjust{display:flex;flex-wrap:wrap;gap:13px;margin-top:16px;align-items:end}.kt-admin-coin-adjust label{display:flex;flex-direction:column;gap:5px}
@media(max-width:800px){.kt-coins-grid{grid-template-columns:1fr}.kt-coins-hero{flex-direction:column;align-items:stretch}.kt-coins-hero-balance{min-width:0}.kt-coins-page{padding:12px}}
@media(max-width:560px){.kt-coins-header-pill{padding:6px 8px;font-size:11px}.kt-coins-hero h1{font-size:26px}}



/* KeepTalking Coins — wallet readability, spacing & checkbox alignment v2.
   Scope every override to the Coins page so profile/admin forms are untouched.
   Extra specificity is needed to beat the community-wide heading, paragraph,
   input and label selectors. */
.community-html .community-app .kt-coins-hero h1 {
  color: #ffffff;
  font-weight: 850;
  line-height: 1.2;
}
.community-html .community-app .kt-coins-hero p {
  color: #e2ecff;
  line-height: 1.5;
}
.community-html .community-app .kt-coins-hero small {
  color: #c9dcff;
}
.community-html .community-app .kt-coins-page .kt-coins-grid {
  align-items: stretch;
}
.community-html .community-app .kt-coins-page .kt-coins-card {
  display: flex;
  flex-direction: column;
}
.community-html .community-app .kt-coins-page .kt-coins-card h2 {
  color: #18345d;
  line-height: 1.3;
}
.community-html .community-app .kt-coins-page .kt-coins-card > p {
  margin: 0 0 11px;
  color: #576c89;
  line-height: 1.55;
}
.community-html .community-app .kt-coins-page .kt-coins-card > p.kt-muted {
  margin: 10px 0 18px;
  color: #71839f !important;
}
.community-html .community-app .kt-coins-page .kt-coins-tx > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.community-html .community-app .kt-coins-page .kt-coins-tx > b {
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .community-html .community-app .kt-coins-hero { padding: 23px 20px; }
  .community-html .community-app .kt-coins-page .kt-coins-card { padding: 18px; }
}
/* End KeepTalking Coins wallet layout v2 */
/* KeepTalking global navbar — uniform controls and responsive spacing (2026-11-15).
   Visual-only; no route, user, coin, notification or permission logic changes. */
.community-html .community-app.kt-blue-app .kt-blue-header {
  box-sizing: border-box;
  width: 100%;
  gap: clamp(9px, 0.95vw, 17px);
  padding-right: 18px;
}
.community-html .kt-blue-header .kt-header-menu {
  height: 100%;
  width: 60px;
  flex: 0 0 60px;
}
.community-html .kt-blue-header .kt-site-logo {
  margin-right: 3px;
  flex-shrink: 0;
}
.community-html .kt-blue-header .kt-brand-image {
  width: 158px;
  height: 50px;
  max-width: 158px;
  max-height: 50px;
}
.community-html .kt-blue-header .kt-blue-links {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 0;
  min-width: 0;
  flex: 0 0 auto;
}
/* Slightly larger, softly raised buttons throughout the logged-in navbar. */
.community-html .kt-blue-header .kt-blue-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #ffffff16;
  border-radius: 11px;
  background: #ffffff0b;
  box-shadow: 0 3px 6px #071a3b37, inset 0 1px 0 #ffffff18;
  color: #e9f0ff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.community-html .kt-blue-header .kt-blue-link.current {
  color: #fff !important;
  background: #ffffff2c;
  border-color: #ffffff26;
  box-shadow: 0 4px 10px #07163150, inset 0 1px 0 #ffffff25;
}
.community-html .kt-blue-header .kt-blue-link:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px #07163152, inset 0 1px 0 #ffffff2b;
}
.community-html .kt-blue-header .kt-blue-link:hover:not(.current) {
  background: #ffffff1e;
  border-color: #ffffff29;
}
@media (prefers-reduced-motion: reduce) {
  .community-html .kt-blue-header .kt-blue-link { transition: none; }
  .community-html .kt-blue-header .kt-blue-link:hover { transform: none; }
}
.community-html .kt-blue-header .kt-header-search {
  box-sizing: border-box;
  flex: 0 1 245px;
  width: clamp(145px, 15vw, 245px);
  min-width: 135px;
  height: 36px;
  margin-left: auto;
  border: 1px solid #ffffff1c;
  border-radius: 10px;
}
.community-html .kt-blue-header .kt-header-search input {
  box-sizing: border-box;
  min-height: 0;
  font-size: 12.5px;
}
.community-html .kt-blue-header .kt-header-search button {
  box-sizing: border-box;
  flex: 0 0 32px;
  width: 32px;
  height: 30px;
  margin: 0 3px 0 0;
  border-radius: 8px;
}
.community-html .kt-blue-header .kt-coins-header-pill,
.community-html .kt-blue-header .kt-staff-top-alert {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.community-html .kt-blue-header .kt-coins-header-pill {
  border-color: #ffffff24;
  background: #ffffff12;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.community-html .kt-blue-header .kt-coins-header-pill:hover { background: #ffffff24; }
.community-html .kt-blue-header .kt-staff-top-alert {
  gap: 6px;
  background: #ffffff12;
  border-color: #ffffff24;
  color: #fff;
}
.community-html .kt-blue-header .kt-staff-top-alert:hover { background: #ffffff24; }
.community-html .kt-blue-header .kt-staff-top-alert > span { display: inline-flex; align-items: center; gap: 6px; }
.community-html .kt-blue-header .kt-menu-button,
.community-html .kt-blue-header .kt-blue-logout,
.community-html .kt-blue-header .kt-notification-bell,
.community-html .kt-blue-header .kt-avatar-button {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 9px;
}
.community-html .kt-blue-header .kt-notification-bell:hover,
.community-html .kt-blue-header .kt-avatar-button:hover,
.community-html .kt-blue-header .kt-menu-button:hover,
.community-html .kt-blue-header .kt-blue-logout:hover { background: #ffffff1d; }
.community-html .kt-blue-header .kt-blue-account {
  flex: 0 0 auto;
  gap: 8px;
  max-width: none;
}
.community-html .kt-blue-header .kt-avatar-button .kt-avatar.small {
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.community-html .kt-blue-header .kt-blue-username {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 2px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
}
.community-html .kt-blue-header .kt-blue-username:hover { color: #d6e5ff; }
.community-html .kt-blue-header .kt-blue-link:focus-visible,
.community-html .kt-blue-header button:focus-visible,
.community-html .kt-blue-header a:focus-visible,
.community-html .kt-blue-header input:focus-visible {
  outline: 2px solid #ffe095;
  outline-offset: 2px;
}
@media (max-width: 1440px) {
  .community-html .kt-blue-header .kt-blue-link { padding: 0 10px; font-size: 13px; }
  .community-html .kt-blue-header .kt-blue-username { display: none; }
  .community-html .kt-blue-header .kt-header-search { flex-basis: 185px; width: 185px; }
}
@media (max-width: 1320px) {
  /* Keep the larger buttons from colliding with search, account and staff controls.
     Sidebar navigation still contains every item. */
  .community-html .kt-blue-header .kt-blue-links { display: none; }
  .community-html .kt-blue-header .kt-header-search { flex-basis: min(250px, 29vw); width: min(250px, 29vw); }
}
@media (max-width: 720px) {
  .community-html .community-app.kt-blue-app .kt-blue-header { height: 56px; gap: 10px; padding-right: 12px; }
  .community-html .kt-blue-header .kt-header-menu { width: 54px; flex-basis: 54px; }
  .community-html .kt-blue-header .kt-brand-image { width: 133px; height: 44px; max-width: 133px; max-height: 44px; }
  .community-html .kt-blue-header .kt-header-search { flex-basis: min(190px, 27vw); width: min(190px, 27vw); min-width: 110px; }
}
@media (max-width: 560px) {
  .community-html .community-app.kt-blue-app .kt-blue-header { gap: 7px; padding-right: 8px; }
  .community-html .kt-blue-header .kt-brand-image { width: 114px; height: 42px; max-width: 114px; max-height: 42px; }
  .community-html .kt-blue-header .kt-header-search { display: none; }
  .community-html .kt-blue-header .kt-coins-header-pill { height: 34px; min-height: 34px; padding: 0 8px; font-size: 11px; }
  .community-html .kt-blue-header .kt-staff-top-alert { position: relative; width: 34px; min-width: 34px; height: 34px; min-height: 34px; padding: 0; }
  .community-html .kt-blue-header .kt-staff-top-alert > span { gap: 0; font-size: 0; }
  .community-html .kt-blue-header .kt-staff-top-alert .kt-staff-count { position: absolute; top: -6px; right: -5px; font-size: 10px; }
  .community-html .kt-blue-header .kt-menu-button,
  .community-html .kt-blue-header .kt-blue-logout,
  .community-html .kt-blue-header .kt-notification-bell,
  .community-html .kt-blue-header .kt-avatar-button { width: 34px; min-width: 34px; height: 34px; min-height: 34px; flex-basis: 34px; }
  .community-html .kt-blue-header .kt-blue-account { gap: 3px; }
}
@media (max-width: 405px) {
  .community-html .community-app.kt-blue-app .kt-blue-header { gap: 4px; padding-right: 5px; }
  .community-html .kt-blue-header .kt-header-menu { width: 48px; flex-basis: 48px; }
  .community-html .kt-blue-header .kt-brand-image { width: 89px; height: 37px; max-width: 89px; max-height: 37px; }
  .community-html .kt-blue-header .kt-coins-header-pill { padding: 0 6px; }
  .community-html .kt-blue-header .kt-menu-button,
  .community-html .kt-blue-header .kt-blue-logout,
  .community-html .kt-blue-header .kt-notification-bell,
  .community-html .kt-blue-header .kt-avatar-button { flex-basis: 31px; width: 31px; min-width: 31px; height: 32px; min-height: 32px; }
  .community-html .kt-blue-header .kt-staff-top-alert { flex-basis: 31px; width: 31px; min-width: 31px; }
  .community-html .kt-blue-header .kt-avatar-button .kt-avatar.small { width: 28px; height: 28px; }
}
/* End global navbar alignment update. */

/* KeepTalking 90-ball Bingo – purpose-built compact game pane */
.kt-bingo-root{box-sizing:border-box;display:grid;align-content:start;gap:12px;padding:14px;max-width:820px;margin:0 auto;width:100%;color:#17305b;min-width:0}
.kt-bingo-root *{box-sizing:border-box}
.kt-bingo-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.kt-bingo-topline h3{margin:0;font-weight:850;color:#15346b;font-size:1.35rem}
.kt-bingo-topline p,.kt-bingo-help{margin:4px 0 0;color:#667a9c;font-size:.82rem;line-height:1.5}
.kt-bingo-price{white-space:nowrap;padding:9px 13px;background:#fff0bd;border:1px solid #f4d67e;border-radius:12px;font-weight:800;color:#705015;font-size:.83rem}
.kt-bingo-callpanel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:10px}
.kt-bingo-rolling-ball,.kt-bingo-history,.kt-bingo-players,.kt-bingo-card-wrap{border:1px solid #d9e4f4;border-radius:16px;background:#fff;box-shadow:0 4px 16px rgba(26,50,95,.04)}
.kt-bingo-rolling-ball{display:flex;gap:14px;align-items:center;padding:14px}
.kt-bingo-ball{width:78px;height:78px;flex:0 0 78px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff 0%,#fdfdfd 16%,#f5ba3e 18%,#e88a1c 68%,#ab4a0d 100%);box-shadow:inset -7px -10px 12px rgba(106,45,3,.16),0 7px 14px rgba(59,67,92,.18);font-size:2rem;color:#45230a;font-weight:900;border:3px solid #fff}
.kt-bingo-rolling-ball strong,.kt-bingo-history strong{display:block;color:#1b376b;font-size:.9rem}
.kt-bingo-rolling-ball small{display:block;margin-top:6px;color:#7186a6;line-height:1.45;font-size:.72rem}
.kt-bingo-history{min-width:0;padding:12px}.kt-bingo-ball-list{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}
.kt-bingo-mini-ball{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#eef3fb;color:#2e4a78;font-weight:800;font-size:.74rem;border:1px solid #cfdef4}
.kt-bingo-mini-ball.recent{background:#f6b23a;color:#492b0c;border-color:#f3c55c}
.kt-bingo-pot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.kt-bingo-pot>div{border-radius:13px;padding:12px 8px;background:#e9f1ff;border:1px solid #d3e2fa;text-align:center}
.kt-bingo-pot small{display:block;color:#6580a7;font-size:.7rem;letter-spacing:.01em;font-weight:700}
.kt-bingo-pot strong{display:block;color:#173974;font-size:1.2rem;margin-top:4px}
.kt-bingo-card-wrap{padding:14px;min-width:0}
.kt-bingo-card-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.kt-bingo-card-heading h4,.kt-bingo-players h4{font-weight:850;color:#17396d;font-size:1rem;margin:0}
.kt-bingo-owned{background:#e3f8e9;color:#186c3a;padding:6px 9px;border-radius:20px;font-size:.75rem;font-weight:800}
.kt-bingo-card{width:100%;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));grid-template-rows:repeat(3,auto);background:#e8f1ff;overflow:hidden;border:3px solid #214e91;border-radius:11px;gap:2px;padding:2px}
.kt-bingo-cell{aspect-ratio:1/1;min-width:0;display:grid;place-items:center;border-radius:4px;background:#fff;color:#182d54;font-weight:900;font-size:clamp(.8rem,2vw,1.35rem);box-shadow:inset 0 0 0 1px #dbe5f3}
.kt-bingo-cell.is-empty{background:#dbeafb;color:transparent;box-shadow:none}
.kt-bingo-cell.is-called{color:#fff;background:#2e65c6;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #1b4e9f;border-radius:50%}
.kt-bingo-no-card{text-align:center;background:#f5f8fe;padding:22px 13px;border-radius:12px;border:1px dashed #c9d8f0}
.kt-bingo-no-card p{color:#6680a5;line-height:1.55;font-size:.85rem;max-width:320px;margin:8px auto 14px}
.kt-bingo-card-emoji{font-size:2rem}.kt-bingo-buy{border:0;background:#2665c7;color:#fff;padding:11px 18px;border-radius:10px;font-weight:850;cursor:pointer;box-shadow:0 3px 9px rgba(37,89,169,.18)}
.kt-bingo-buy:disabled{opacity:.5;cursor:not-allowed}.kt-bingo-next{padding-top:12px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.kt-bingo-players{padding:12px 14px}.kt-bingo-player{display:inline-flex;align-items:center;margin:9px 6px 0 0;background:#edf4ff;color:#26528c;border-radius:20px;padding:7px 11px;font-size:.77rem;font-weight:700}
.kt-bingo-winners{padding:10px 12px;background:#fff3d1;border:1px solid #f1d588;border-radius:10px;margin:0;color:#725018;font-weight:800;font-size:.83rem}
.kt-bingo-error{background:#ffebee;color:#8c2331;border:1px solid #ffb7c3;padding:10px;border-radius:10px;font-size:.82rem}
.kt-bingo-footer-note{margin:0;color:#7c8fac;font-size:.74rem;line-height:1.5}
@media(max-width:710px){.kt-bingo-root{padding:10px}.kt-bingo-callpanel{grid-template-columns:1fr}.kt-bingo-ball{width:64px;height:64px;flex-basis:64px;font-size:1.7rem}.kt-bingo-pot strong{font-size:1rem}.kt-bingo-cell{font-size:clamp(.7rem,3vw,1.2rem)}}
.community-html .kt-room-game-pane > .kt-bingo-root{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}

/* Bingo Hall 2 - scoped redesign */
/* KeepTalking Bingo hall: no other game or chatroom selectors affected. */
.community-html .kt-bingo-hall{max-width:980px;width:100%;padding:14px;gap:12px;color:#17345e}
.kt-bingo-hall-header{background:linear-gradient(120deg,#183d82,#326dc2);border:1px solid #5485cc;border-radius:17px;color:#fff;padding:16px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.kt-bingo-hall-header small{font-size:.65rem;letter-spacing:.12em;font-weight:900;color:#c8e3ff}
.kt-bingo-hall-header h3{color:white;margin:4px 0;font-size:1.45rem;letter-spacing:-.015em}
.kt-bingo-hall-header p{color:#dbe9ff;margin:3px 0 0;font-size:.8rem}
.kt-bingo-entry-price{background:#ffffff22;border:1px solid #ffffff3a;padding:10px 14px;border-radius:12px;display:flex;flex-direction:column;text-align:center;min-width:120px}
.kt-bingo-entry-price strong{font-size:1.1rem;white-space:nowrap;color:#ffdf83}
.kt-bingo-hall-main{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(200px,.8fr);gap:12px;align-items:stretch}
.kt-bingo-machine-card,.kt-bingo-game-info{background:#fff;border:1px solid #d6e3f4;border-radius:17px;box-shadow:0 4px 18px #12376d0b;min-width:0}
.kt-bingo-machine-card{padding:14px;display:flex;flex-direction:column;gap:9px}
.kt-bingo-machine-top{display:flex;align-items:center;gap:7px;color:#284d87;font-size:.8rem;font-weight:800}
.kt-bingo-status-dot{width:8px;height:8px;border-radius:50%;background:#eaa83b}
.kt-bingo-status-dot.live{background:#18bd69;box-shadow:0 0 0 4px #ddfbe9}
.kt-bingo-count-pill{margin-left:auto;border-radius:999px;background:#eef5ff;padding:5px 8px;font-size:.72rem}
.kt-bingo-machine{height:175px;position:relative;border-radius:13px;background:radial-gradient(ellipse at 50% 110%,#e3ecff 0%,#f8faff 60%);overflow:hidden;isolation:isolate}
.kt-bingo-machine-dome{width:148px;height:126px;position:absolute;top:9px;left:calc(50% - 115px);border-radius:72px 72px 30px 30px;background:radial-gradient(ellipse at 28% 20%,#ffffffdd,#c9dbfd88 45%,#7daae477 88%);border:4px solid #9dbce8;box-shadow:inset 0 7px 16px #fff9,inset 0 -9px 13px #668abb40;overflow:hidden}
.kt-bingo-machine-dome::after{content:'';position:absolute;inset:7px 74px 15px 12px;transform:rotate(-15deg);border-radius:80%;background:linear-gradient(90deg,#ffffffa0,transparent);pointer-events:none}
.kt-bingo-mini-orbit{position:absolute;width:31px;height:31px;left:58px;top:57px;border:2px solid #ffffff99;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff9 0,transparent 34%),#e9a53f;box-shadow:0 2px 5px #163b7566;animation:bingo-orbit 2.1s linear infinite;animation-delay:calc(var(--i)*-.24s)}
.kt-bingo-orbit-0{--i:0;background-color:#f0a232}.kt-bingo-orbit-1{--i:1;background-color:#5ca9f0}.kt-bingo-orbit-2{--i:2;background-color:#ef5b67}.kt-bingo-orbit-3{--i:3;background-color:#67c88f}
.kt-bingo-orbit-4{--i:4;background-color:#c38def}.kt-bingo-orbit-5{--i:5;background-color:#ebbc56}.kt-bingo-orbit-6{--i:6;background-color:#75c5d6}.kt-bingo-orbit-7{--i:7;background-color:#cf6c92}
@keyframes bingo-orbit{0%{transform:rotate(0deg) translateX(38px) rotate(0deg)}100%{transform:rotate(360deg) translateX(38px) rotate(-360deg)}}
.kt-bingo-machine-chute{position:absolute;left:calc(50% + 12px);top:58px;height:25px;width:70px;border-radius:6px;background:linear-gradient(#8fa6c9,#cbd9ed 50%,#7b93bc);border:2px solid #7c98be;transform:rotate(-9deg)}
.kt-bingo-extracted{position:absolute;top:32px;left:calc(50% + 35px);width:104px;height:104px;display:grid;place-items:center;filter:drop-shadow(0 8px 8px #2e467850)}
.kt-bingo-stage-ball{width:94px;height:94px;display:grid;place-items:center;border-radius:50%;border:5px solid #ffffffb8;box-shadow:inset -10px -12px 15px #592c263e,inset 8px 7px 13px #ffffffaa;background:radial-gradient(circle at 29% 24%,#fff7 0%,transparent 30%),#ed9628;color:#fff;font-size:2.5rem;font-weight:950;text-shadow:0 2px 3px #0003}
.kt-bingo-stage-ball.red{background-color:#de535c}.kt-bingo-stage-ball.blue{background-color:#447fcf}.kt-bingo-stage-ball.green{background-color:#41a878}.kt-bingo-stage-ball.purple{background-color:#855dc7}
.kt-bingo-extracted.is-live .kt-bingo-stage-ball{animation:bingo-ball-reveal .92s cubic-bezier(.2,.7,.1,1) both}
@keyframes bingo-ball-reveal{0%{opacity:.6;transform:translate(-40px,-20px) scale(.45) rotate(-280deg);filter:blur(3px)}55%{opacity:1;transform:translate(7px,-13px) scale(1.15) rotate(40deg);filter:blur(0)}78%{transform:translate(0,2px) scale(.96)}100%{transform:translate(0,0) scale(1)}}
.kt-bingo-machine-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.kt-bingo-machine-foot strong{color:#1b3a6b;font-size:.88rem;display:block}
.kt-bingo-machine-foot small{display:block;color:#758aab;font-size:.7rem;margin-top:3px;line-height:1.35}
.kt-bingo-caller-select{font-size:.7rem;font-weight:800;color:#34547d;display:flex;flex-direction:column;gap:5px}
.kt-bingo-caller-select select{background:#f4f7ff;border:1px solid #c8d8f1;color:#1e4174;padding:7px 5px;border-radius:9px;max-width:170px;min-height:34px;font:inherit}
.kt-bingo-recent{border-top:1px solid #e5ecf8;padding-top:10px}
.kt-bingo-recent>small{font-size:.63rem;color:#8092b0;font-weight:850;letter-spacing:.07em}
.kt-bingo-recent-balls{display:flex;flex-direction:row;flex-wrap:nowrap;gap:5px;margin-top:5px;align-items:center;max-width:100%;min-width:0;overflow:hidden;padding:5px 3px 7px;isolation:isolate}
.kt-bingo-recent-balls em{font-size:.73rem;color:#8695aa}
.kt-bingo-recent-ball{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border-radius:50%;border:1px solid #d5e0f2;background:#edf3ff;color:#24518a;font-size:.78rem;font-weight:850;backface-visibility:hidden}
.kt-bingo-recent-ball.is-new{background:#fee9b5;color:#8b4b0b;border-color:#e3b355}
.kt-bingo-game-info{display:grid;gap:10px;align-content:start;padding:12px}
.kt-bingo-pots{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.kt-bingo-pot-main{grid-column:span 2;background:linear-gradient(120deg,#fdf3d4,#ffe3a4);border:1px solid #e7c878;border-radius:12px;padding:11px}
.kt-bingo-pot-main small,.kt-bingo-prize-box small{display:block;font-weight:850;font-size:.67rem;letter-spacing:.04em;color:#697c98}
.kt-bingo-pot-main strong,.kt-bingo-prize-box strong{font-size:1.18rem;font-weight:900;display:block;margin-top:4px;color:#1b3b6f}
.kt-bingo-prize-box{background:#eef4ff;border:1px solid #d6e4fb;border-radius:12px;padding:10px}
.kt-bingo-celebration{background:#fff7da;border:1px solid #f0d07b;border-radius:13px;text-align:center;padding:12px 8px;animation:bingo-win-pop .5s ease-out both}
.kt-bingo-celebration.is-house{background:#e4f8e6;border-color:#add8ac}
.kt-bingo-celebration strong{color:#aa7214;font-size:1.1rem}.kt-bingo-celebration.is-house strong{color:#22783d}
.kt-bingo-celebration p{margin:5px 0;font-weight:900;color:#183969}
.kt-bingo-celebration small{font-weight:750;color:#647c9f}
@keyframes bingo-win-pop{0%{opacity:0;transform:scale(.75)}65%{transform:scale(1.08)}100%{opacity:1;transform:scale(1)}}
.kt-bingo-game-info .kt-bingo-players{box-shadow:none;padding:8px;border-radius:12px;background:#f7faff}
.kt-bingo-game-info .kt-bingo-players h4{font-size:.85rem}
.kt-bingo-card-wrap{padding:15px}
.kt-bingo-card-heading>div>small{font-weight:900;font-size:.66rem;letter-spacing:.1em;color:#708eb8}
.kt-bingo-card-heading h4{font-size:1.04rem;margin:3px 0}
.kt-bingo-marked-meter{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;background:#edf4ff;color:#2a4f83;border-radius:9px;padding:8px 10px;font-weight:850;font-size:.73rem;margin-bottom:9px}
.kt-bingo-hall .kt-bingo-card{border:3px solid #254f93;padding:3px;gap:2px;background:#d0e2fa;max-width:760px;margin:auto}
.kt-bingo-hall .kt-bingo-cell{border-radius:3px;box-shadow:inset 0 0 0 1px #e5eefa;aspect-ratio:1.22;font-size:clamp(.9rem,2.3vw,1.55rem);position:relative}
.kt-bingo-hall .kt-bingo-cell.is-called{border-radius:3px;background:#2d73c6;color:#fff;box-shadow:inset 0 0 0 2px #fff}
.kt-bingo-hall .kt-bingo-cell.is-called::after{content:'✓';position:absolute;bottom:0;right:2px;opacity:.42;font-size:.65em}
.kt-bingo-hall .kt-bingo-cell.is-latest{animation:bingo-dab-pulse 1s ease-in-out 2;background:#12876c}
.kt-bingo-hall .kt-bingo-cell.completed-row{box-shadow:inset 0 0 0 3px #d3ac38}
@keyframes bingo-dab-pulse{50%{transform:scale(.95);filter:brightness(1.5)}}
.kt-bingo-pause-note{font-size:.74rem;color:#875524;background:#ffefd1;padding:8px;border-radius:9px;margin:0}
@media(max-width:760px){.kt-bingo-hall-main{grid-template-columns:minmax(0,1fr)}.kt-bingo-game-info{grid-template-columns:minmax(0,1fr)}.kt-bingo-hall-header{padding:13px}.kt-bingo-hall-header h3{font-size:1.15rem}.kt-bingo-hall .kt-bingo-cell{font-size:clamp(.77rem,2.8vw,1.2rem)}}
@media(max-width:370px){.community-html .kt-bingo-hall{padding:8px}.kt-bingo-hall-header{flex-direction:column;align-items:flex-start}.kt-bingo-entry-price{align-items:flex-start}.kt-bingo-machine{height:165px}}
@media(prefers-reduced-motion:reduce){.kt-bingo-mini-orbit,.kt-bingo-extracted.is-live .kt-bingo-stage-ball,.kt-bingo-celebration,.kt-bingo-hall .kt-bingo-cell.is-latest{animation:none!important}}

/* Bingo winning announcements: show each approved avatar and individual shared prize. */
.kt-bingo-winner-list{display:flex;flex-direction:column;gap:7px;margin-top:10px;text-align:left}
.kt-bingo-winner{display:flex;align-items:center;gap:10px;min-width:0;border-radius:11px;background:rgba(255,255,255,.7);border:1px solid rgba(25,65,107,.12);padding:8px 10px}
.kt-bingo-winner>.kt-avatar{width:42px;height:42px;min-width:42px;flex:0 0 42px;border-radius:50%;font-size:.8rem}
.kt-bingo-winner .kt-avatar-uploaded{width:100%;height:100%;object-fit:cover;border-radius:50%}
.kt-bingo-winner-detail{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:3px}
.kt-bingo-winner-detail strong{font-size:.87rem;color:#16385f;max-width:100%;overflow-wrap:anywhere}
.kt-bingo-winner-detail small{font-size:.77rem;color:#276e55;font-weight:800}
.kt-bingo-celebration>small{display:block;margin-top:6px}

/* Private chatroom reports, styled consistently with KeepTalking moderation. */
.kt-chat-report-dialog{width:min(540px,100%)}
.kt-chat-report-dialog textarea{width:100%;min-height:110px;resize:vertical;margin-top:10px}
.kt-chat-report-evidence-dialog{width:min(780px,100%);max-height:min(92vh,930px)}
.kt-chat-report-note{color:#64748b}
.kt-chat-report-transcript{max-height:52vh;overflow:auto;border:1px solid #dbe4f2;border-radius:12px;padding:10px;background:#f7f9ff;margin:15px 0}
.kt-chat-report-line{padding:11px 12px;margin:5px 0;border-radius:8px;border-left:4px solid transparent;background:white;overflow-wrap:anywhere}
.kt-chat-report-line.kt-chat-report-highlight{background:#fff2df;border-left-color:#f59e0b;box-shadow:0 0 0 1px #fbbf2466}
.kt-chat-report-meta{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#314769;margin-bottom:5px}
.kt-chat-report-text{font-size:14px;white-space:pre-wrap;color:#1e293b}
@media(max-width:600px){.kt-chat-report-evidence-dialog{padding:18px}.kt-chat-report-transcript{max-height:48vh}}


/* KeepTalking Bingo Hall — Colourful Arcade Skin (2026-11-16)
   Presentation-only update. All selectors are scoped to the Bingo panel.
   Compatible with the existing private tickets, ball caller and prize engine. */
.community-html .kt-bingo-hall{
  --bingo-ink:#142e60;
  --bingo-soft:#5b7098;
  --bingo-border:#cadcf7;
  background:radial-gradient(circle at 5% 8%,#eee8ff 0,transparent 28%),
             radial-gradient(circle at 97% 39%,#d9fff3 0,transparent 33%),
             linear-gradient(180deg,#f5f7ff 0%,#edf5ff 100%);
  border-radius:20px;
  color:var(--bingo-ink);
}
.community-html .kt-bingo-hall .kt-bingo-hall-header{
  position:relative;overflow:hidden;isolation:isolate;
  background:linear-gradient(110deg,#183e92 0%,#4549bb 45%,#a436b0 100%);
  border:1px solid #7988ed;border-radius:19px;
  box-shadow:0 11px 24px rgba(71,54,156,.20),inset 0 1px 0 rgba(255,255,255,.25);
  padding:19px 23px;
}
.community-html .kt-bingo-hall .kt-bingo-hall-header::before{
  content:"";position:absolute;inset:-45% -6% auto auto;width:290px;height:290px;
  border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.22),transparent 65%);
  pointer-events:none;z-index:-1;
}
.community-html .kt-bingo-hall .kt-bingo-hall-header::after{
  content:"✦";position:absolute;right:31%;top:12px;color:#ffea9f;font-size:26px;
  text-shadow:45px 45px #ffe4a085,-56px 64px #ffffff66;opacity:.92;
  pointer-events:none;
}
.community-html .kt-bingo-hall .kt-bingo-hall-header small{
  color:#e6e7ff;font-weight:900;letter-spacing:.14em;
}
.community-html .kt-bingo-hall .kt-bingo-hall-header h3{
  color:#fff!important;text-shadow:0 2px 7px rgba(18,15,84,.35);
  font-weight:900;font-size:clamp(1.45rem,2.2vw,1.95rem);
  line-height:1.23;letter-spacing:-.026em;
}
.community-html .kt-bingo-hall .kt-bingo-hall-header p{
  color:#f2eeff!important;font-weight:600;font-size:.87rem;
}
.community-html .kt-bingo-hall .kt-bingo-entry-price{
  position:relative;z-index:1;flex-shrink:0;
  background:linear-gradient(145deg,#ffe58b,#ffb94c);
  border:1px solid #fff2b0;color:#79430b;border-radius:15px;
  box-shadow:0 6px 18px rgba(45,29,106,.18),inset 0 1px 0 #fff8;
  padding:12px 16px;
}
.community-html .kt-bingo-hall .kt-bingo-entry-price small{color:#73420f;font-weight:900}
.community-html .kt-bingo-hall .kt-bingo-entry-price strong{
  color:#653207;font-size:1.15rem;text-shadow:0 1px 0 #fff8;
}
.community-html .kt-bingo-hall .kt-bingo-machine-card,
.community-html .kt-bingo-hall .kt-bingo-game-info,
.community-html .kt-bingo-hall .kt-bingo-card-wrap{
  border:1px solid #d1daf9;border-radius:19px;
  box-shadow:0 8px 24px rgba(33,57,132,.08),0 1px 2px #fff inset;
}
.community-html .kt-bingo-hall .kt-bingo-machine-card{
  background:linear-gradient(160deg,#fff 0%,#fbfaff 60%,#f0f5ff 100%);
  border-top:4px solid #7464ea;
}
.community-html .kt-bingo-hall .kt-bingo-machine-top{color:#263b86;font-weight:900}
.community-html .kt-bingo-hall .kt-bingo-status-dot{
  background:#f4a52b;box-shadow:0 0 0 4px #fff0d4;
}
.community-html .kt-bingo-hall .kt-bingo-status-dot.live{
  background:#06b77a;box-shadow:0 0 0 4px #cdfde9;
}
.community-html .kt-bingo-hall .kt-bingo-count-pill{
  background:linear-gradient(120deg,#e7e8ff,#dcefff);
  border:1px solid #d5d5ff;color:#304ab2;font-weight:900;padding:6px 11px;
}
.community-html .kt-bingo-hall .kt-bingo-machine{
  background:radial-gradient(circle at 51% 30%,#fffafc 0%,#e7ebff 44%,#c7d7ff 100%);
  border:1px solid #d2d0ff;
  box-shadow:inset 0 0 35px #b7beff55,inset 0 -9px 18px #849be02b;
  min-height:175px;
}
.community-html .kt-bingo-hall .kt-bingo-machine::before,
.community-html .kt-bingo-hall .kt-bingo-machine::after{
  content:"✦";position:absolute;color:#ad8aff;font-size:21px;z-index:1;opacity:.8;
  text-shadow:0 1px 2px #fff;
}
.community-html .kt-bingo-hall .kt-bingo-machine::before{left:7%;top:19%}
.community-html .kt-bingo-hall .kt-bingo-machine::after{right:6%;bottom:15%;color:#ffac55}
.community-html .kt-bingo-hall .kt-bingo-machine-dome{
  border-color:#799ce9;
  background:radial-gradient(ellipse at 26% 16%,#fff 0%,#e2e7ffb8 44%,#9fbcf0cc 95%);
  box-shadow:inset 0 9px 18px #fff,inset 0 -14px 18px #566da144,0 4px 12px #5576c34f;
}
.community-html .kt-bingo-hall .kt-bingo-machine-chute{
  background:linear-gradient(180deg,#a9adff,#e9e5ff 53%,#929de8);
  border-color:#8a92d7;box-shadow:0 3px 7px #5361a84f;
}
.community-html .kt-bingo-hall .kt-bingo-mini-orbit{
  box-shadow:inset -4px -5px 7px #0002,inset 3px 3px 8px #fff9,0 2px 6px #254f8980;
  border-color:#fff;
}
.community-html .kt-bingo-hall .kt-bingo-extracted{
  filter:drop-shadow(0 8px 9px #674fa855);
}
/* The large ball glows gently between draws; no change to called numbers. */
.community-html .kt-bingo-hall .kt-bingo-extracted.is-live::before{
  content:"";position:absolute;inset:-8px;border-radius:50%;
  background:radial-gradient(circle,#ffffff80 0%,#bfb3ff77 48%,transparent 73%);
  animation:kt-bingo-ball-glimmer 2.2s ease-in-out infinite;
  pointer-events:none;
}
@keyframes kt-bingo-ball-glimmer{
  0%,100%{transform:scale(.90);opacity:.42}
  50%{transform:scale(1.16);opacity:.85}
}
.community-html .kt-bingo-hall .kt-bingo-stage-ball{
  border:5px solid #fff;box-shadow:inset -11px -12px 18px #7b3a2744,
       inset 8px 8px 14px #ffffffbb,0 5px 12px #5c4f9c66;
  background:radial-gradient(circle at 27% 21%,#fff9,transparent 36%),#ff9c20;
  text-shadow:0 2px 5px #713b2f88;
}
.community-html .kt-bingo-hall .kt-bingo-stage-ball.red{background-color:#fb4d7b}
.community-html .kt-bingo-hall .kt-bingo-stage-ball.blue{background-color:#3988ef}
.community-html .kt-bingo-hall .kt-bingo-stage-ball.green{background-color:#14ba86}
.community-html .kt-bingo-hall .kt-bingo-stage-ball.purple{background-color:#985cf4}
.community-html .kt-bingo-hall .kt-bingo-machine-foot strong{color:#233e80;font-weight:900}
.community-html .kt-bingo-hall .kt-bingo-caller-select select{
  background:#f2f1ff;color:#303f80;border-color:#c9ccfb;box-shadow:0 1px 2px #a1b1e444;
}
.community-html .kt-bingo-hall .kt-bingo-recent{border-top-color:#dddaf7}
.community-html .kt-bingo-hall .kt-bingo-recent>small{color:#5b64a6}
.community-html .kt-bingo-hall .kt-bingo-recent-ball{
  background:linear-gradient(145deg,#f0f4ff,#dbe8ff);
  color:#294e9a;border:1px solid #c2d4f9;
  box-shadow:0 2px 4px #4d5fa21c;
}
.community-html .kt-bingo-hall .kt-bingo-recent-ball.is-new{
  background:linear-gradient(140deg,#ffdd69,#ffaf47);color:#763d00;
  border-color:#ffa23c;box-shadow:0 0 0 3px #fff3c0,0 3px 8px #d68a3455;
}
.community-html .kt-bingo-hall .kt-bingo-game-info{
  background:linear-gradient(155deg,#fff 0%,#f4f2ff 100%);
  border-top:4px solid #f19e48;
}
.community-html .kt-bingo-hall .kt-bingo-pot-main{
  background:linear-gradient(135deg,#fff3ac 0%,#ffd074 100%);
  border:1px solid #f7c456;box-shadow:inset 0 1px 0 #fff9;
}
.community-html .kt-bingo-hall .kt-bingo-pot-main small{color:#80500c}
.community-html .kt-bingo-hall .kt-bingo-pot-main strong{
  color:#754012;font-size:1.55rem;text-shadow:0 1px 0 #fff8;
}
.community-html .kt-bingo-hall .kt-bingo-prize-box{
  background:linear-gradient(140deg,#ffe1e8,#ffb9c9);
  border:1px solid #f9abc3;
}
.community-html .kt-bingo-hall .kt-bingo-prize-box:nth-child(3){
  background:linear-gradient(140deg,#e9defe,#cdb9ff);
  border-color:#c4a8f5;
}
.community-html .kt-bingo-hall .kt-bingo-prize-box small{color:#7c244e}
.community-html .kt-bingo-hall .kt-bingo-prize-box:nth-child(3) small{color:#5a389e}
.community-html .kt-bingo-hall .kt-bingo-prize-box strong{color:#822951;font-size:1.3rem}
.community-html .kt-bingo-hall .kt-bingo-prize-box:nth-child(3) strong{color:#523092}
.community-html .kt-bingo-hall .kt-bingo-game-info .kt-bingo-players{
  background:linear-gradient(125deg,#e4fff3,#d6f6ff);
  border:1px solid #aae9d7;border-radius:13px;padding:12px;
}
.community-html .kt-bingo-hall .kt-bingo-players h4{color:#116153;font-weight:900}
.community-html .kt-bingo-hall .kt-bingo-player{
  background:#fff;border:1px solid #9ee2cb;color:#0e695b;
  box-shadow:0 1px 3px #4f99862a;
}
.community-html .kt-bingo-hall .kt-bingo-celebration{
  background:linear-gradient(135deg,#fff2bd,#ffd5e3);
  border:2px solid #fac06d;box-shadow:0 5px 18px #efa35733;
}
.community-html .kt-bingo-hall .kt-bingo-celebration.is-house{
  background:linear-gradient(135deg,#e0ffdf,#e2d7ff);
  border-color:#a1d8ac;box-shadow:0 5px 18px #68acb333;
}
.community-html .kt-bingo-hall .kt-bingo-celebration>strong{
  color:#9e3f45;font-size:1.2rem;text-shadow:0 1px 0 #fff8;
}
.community-html .kt-bingo-hall .kt-bingo-celebration.is-house>strong{color:#347c68}
.community-html .kt-bingo-hall .kt-bingo-winner{
  background:#fff;border-color:#ffffffd9;box-shadow:0 2px 8px #4f56791f;
}
.community-html .kt-bingo-hall .kt-bingo-card-wrap{
  background:linear-gradient(155deg,#fff 0%,#f8f6ff 100%);
  border-top:4px solid #25b8c6;
}
.community-html .kt-bingo-hall .kt-bingo-card-heading h4{color:#233f84;font-size:1.1rem;font-weight:900}
.community-html .kt-bingo-hall .kt-bingo-card-heading>div>small{
  color:#7061c7;
}
.community-html .kt-bingo-hall .kt-bingo-owned{
  color:#0b6f50;background:#d5ffeb;border:1px solid #9decc8;
}
.community-html .kt-bingo-hall .kt-bingo-marked-meter{
  background:linear-gradient(110deg,#e8e8ff,#dcf8fa);
  color:#344c90;border:1px solid #d2ddfa;
}
.community-html .kt-bingo-hall .kt-bingo-card{
  background:#7b6ad7;border-color:#7160be;
  box-shadow:0 4px 13px #5e53af25;
}
.community-html .kt-bingo-hall .kt-bingo-cell{background:#fff;color:#1b3768}
.community-html .kt-bingo-hall .kt-bingo-cell.is-empty{background:#e6e4ff;color:transparent}
.community-html .kt-bingo-hall .kt-bingo-cell.is-called{
  color:#fff;background:linear-gradient(150deg,#7060e3,#3d7af0);
  box-shadow:inset 0 0 0 2px #fff9;
}
.community-html .kt-bingo-hall .kt-bingo-cell.is-latest{
  background:linear-gradient(140deg,#03ac83,#11d4ab);
  box-shadow:inset 0 0 0 2px #fff,0 0 0 2px #15b987;
}
.community-html .kt-bingo-hall .kt-bingo-cell.completed-row{
  box-shadow:inset 0 0 0 3px #f0b931;
}
.community-html .kt-bingo-hall .kt-bingo-no-card{
  background:linear-gradient(160deg,#f4f0ff,#eaf5ff);
  border:2px dashed #c6b5fb;
}
.community-html .kt-bingo-hall .kt-bingo-card-emoji{display:inline-block;filter:drop-shadow(0 3px 3px #e6a1d777)}
.community-html .kt-bingo-hall .kt-bingo-no-card p{color:#546da0}
.community-html .kt-bingo-hall .kt-bingo-buy{
  background:linear-gradient(120deg,#5146d4,#9d43d5 55%,#e0529a);
  border:1px solid #7353db;color:#fff;
  box-shadow:0 6px 15px #7054bb45;
  font-weight:900;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.community-html .kt-bingo-hall .kt-bingo-buy:not(:disabled):hover{
  filter:brightness(1.08);transform:translateY(-2px);box-shadow:0 9px 20px #7054bb55;
}
.community-html .kt-bingo-hall .kt-bingo-buy:focus-visible,
.community-html .kt-bingo-hall .kt-bingo-caller-select select:focus-visible{
  outline:3px solid #f5a424;outline-offset:3px;
}
.community-html .kt-bingo-hall .kt-bingo-pause-note{background:#fff0c3;color:#86531b;border:1px solid #e8bc66}
.community-html .kt-bingo-hall .kt-bingo-footer-note{color:#61759a}
@media(max-width:760px){
  .community-html .kt-bingo-hall .kt-bingo-hall-header{padding:15px 16px}
  .community-html .kt-bingo-hall .kt-bingo-hall-header h3{font-size:1.4rem}
  .community-html .kt-bingo-hall .kt-bingo-entry-price{padding:10px 12px}
}
@media(max-width:420px){
  .community-html .kt-bingo-hall .kt-bingo-hall-header{flex-wrap:wrap;gap:10px}
  .community-html .kt-bingo-hall .kt-bingo-hall-header::after{right:12px;top:9px;font-size:17px}
  .community-html .kt-bingo-hall .kt-bingo-entry-price{min-width:0;width:auto}
  .community-html .kt-bingo-hall .kt-bingo-pot-main strong{font-size:1.3rem}
  .community-html .kt-bingo-hall .kt-bingo-prize-box strong{font-size:1.05rem}
  .community-html .kt-bingo-hall .kt-bingo-stage-ball{font-size:2.15rem}
}
@media(prefers-reduced-motion:reduce){
  .community-html .kt-bingo-hall .kt-bingo-extracted.is-live::before{animation:none}
  .community-html .kt-bingo-hall .kt-bingo-buy{transition:none}
  .community-html .kt-bingo-hall .kt-bingo-buy:not(:disabled):hover{transform:none}
}


/* KeepTalking • Friendly Forums 2026-11-16
   A colourful, accessible forum visual refresh. Scope deliberately limited to
   .kt-forum-page so chat, coins, games and site navigation are untouched. */
.community-html .community-app .kt-forum-page{
  --forum-blue:#2456bd;
  --forum-ink:#1e3155;
  --forum-muted:#506887;
  --forum-edge:#dfe7f7;
  width:min(1160px,calc(100% - 40px));
  gap:19px;
}
.community-html .community-app .kt-forum-page .kt-forum-banner{
  isolation:isolate;position:relative;overflow:hidden;
  min-height:172px;box-sizing:border-box;
  display:flex;align-items:center;
  padding:32px clamp(26px,4vw,48px);
  border:1px solid #736adf;border-radius:23px;
  background:radial-gradient(ellipse at 95% 0%,#a679f0a8,transparent 39%),
             linear-gradient(115deg,#214da9 0%,#355dcc 42%,#7750cc 100%);
  box-shadow:0 14px 32px #2c4d9a29;
}
.community-html .community-app .kt-forum-page .kt-forum-banner::before{
  content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
  background:radial-gradient(circle at 85% 115%,#f7b7d635 0 17%,transparent 17.4%),
             radial-gradient(circle at 96% 80%,#fff2 0 12%,transparent 12.5%),
             radial-gradient(circle at 74% -22%,#fff2 0 20%,transparent 20.4%);
}
.community-html .community-app .kt-forum-page .kt-forum-banner::after{
  content:"✦";position:absolute;right:clamp(24px,7%,85px);top:29px;
  font-size:76px;line-height:1;color:#f9d27a;opacity:.62;
  filter:drop-shadow(1px 3px 8px #392c8b44);pointer-events:none;
}
.community-html .community-app .kt-forum-page .kt-forum-banner > div {position:relative;z-index:1;max-width:calc(100% - 100px)}
.community-html .community-app .kt-forum-page .kt-forum-banner span{
  display:inline-flex;align-items:center;padding:7px 12px;
  border:1px solid #ffffff4d;border-radius:999px;
  color:#fff;background:#ffffff22;letter-spacing:.12em;
  font-size:11px;font-weight:850;
}
.community-html .community-app .kt-forum-page .kt-forum-banner h1{
  color:#fff;margin:12px 0 5px;font-size:clamp(35px,4vw,46px);
  line-height:1.1;letter-spacing:-.04em;font-weight:850;
}
.community-html .community-app .kt-forum-page .kt-forum-banner p{
  color:#f4f4ff;max-width:610px;font-size:15px;line-height:1.6;margin:0;
}
/* Small welcome / section heading */
.community-html .community-app .kt-forum-page .kt-forum-head-row{padding:10px 2px 0;margin:4px 0 8px;gap:10px}
.community-html .community-app .kt-forum-page .kt-forum-head-row h2{
  display:flex;align-items:center;gap:11px;color:#1c3569;
  font-size:clamp(22px,2.6vw,27px);font-weight:850;
}
.community-html .community-app .kt-forum-page .kt-forum-head-row h2::before{
  content:"✦";display:grid;place-items:center;width:34px;height:34px;
  background:linear-gradient(135deg,#ffe6a3,#ffbcdb);color:#ad4b85;
  border:1px solid #ffd3bc;border-radius:12px;font-size:23px;
}
.community-html .community-app .kt-forum-page .kt-forum-intro{
  color:#4b6083;font-size:15px;line-height:1.6;margin:0 2px 17px;
}
/* Make category cards look like inviting, grouped community spaces. */
.community-html .community-app .kt-forum-page .kt-forum-category{
  --forum-category-accent:#6254cf;
  --forum-category-soft:#efedff;
  --forum-category-soft2:#f8f6ff;
  position:relative;overflow:hidden;padding:0;margin:0 0 18px;
  border:1px solid var(--forum-edge);border-radius:21px;
  background:#fff;box-shadow:0 9px 28px #274a8b13;
}
.community-html .community-app .kt-forum-page .kt-forum-category:nth-of-type(2){
  --forum-category-accent:#d16c68;
  --forum-category-soft:#fff0ea;
  --forum-category-soft2:#fff8ed;
}
.community-html .community-app .kt-forum-page .kt-forum-category:nth-of-type(3){
  --forum-category-accent:#0e8c84;
  --forum-category-soft:#ddfaf1;
  --forum-category-soft2:#f5fffb;
}
.community-html .community-app .kt-forum-page .kt-forum-category::before{
  content:"";position:absolute;top:0;left:0;right:0;height:5px;
  background:linear-gradient(90deg,var(--forum-category-accent),#d2a4ec 62%,#f4c573);
  z-index:1;
}
.community-html .community-app .kt-forum-page .kt-forum-category-head{
  position:relative;display:flex;align-items:center;gap:12px;
  padding:23px 28px 21px 85px;border-bottom:1px solid #e7edf8;
  background:linear-gradient(105deg,var(--forum-category-soft),var(--forum-category-soft2) 65%,#fff);
}
.community-html .community-app .kt-forum-page .kt-forum-category-head::before{
  content:"✦";display:grid;place-items:center;position:absolute;
  left:26px;top:50%;transform:translateY(-50%);
  width:42px;height:42px;border-radius:14px;
  font-size:24px;line-height:1;color:var(--forum-category-accent);
  background:#fff;border:1px solid #ffffffeb;
  box-shadow:0 4px 12px #24417012;
}
.community-html .community-app .kt-forum-page .kt-forum-category:nth-of-type(2) .kt-forum-category-head::before{content:"♥"}
.community-html .community-app .kt-forum-page .kt-forum-category:nth-of-type(3) .kt-forum-category-head::before{content:"✿"}
.community-html .community-app .kt-forum-page .kt-forum-category-head h3{
  color:#25355d;font-weight:850;font-size:19px;line-height:1.25;letter-spacing:-.025em;
}
.community-html .community-app .kt-forum-page .kt-forum-category-head p{
  margin:4px 0 0;color:#4e6384;font-size:14px;line-height:1.5;
}
.community-html .community-app .kt-forum-page .kt-forum-board-row{
  --forum-row-accent:#346bd4;
  --forum-row-soft:#edf3ff;
  display:flex;align-items:center;gap:18px;position:relative;
  padding:17px 21px;margin:7px 12px;border:1px solid transparent;
  border-radius:15px;background:#fff;transition:background .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.community-html .community-app .kt-forum-page .kt-forum-board-row:nth-of-type(3n){
  --forum-row-accent:#a148b9;--forum-row-soft:#f9eafa;
}
.community-html .community-app .kt-forum-page .kt-forum-board-row:nth-of-type(3n + 1){
  --forum-row-accent:#d46e40;--forum-row-soft:#fff0dd;
}
.community-html .community-app .kt-forum-page .kt-forum-category:nth-of-type(2) .kt-forum-board-row:nth-of-type(3n + 2){
  --forum-row-accent:#078f88;--forum-row-soft:#e2f9f1;
}
.community-html .community-app .kt-forum-page .kt-forum-board-row:not(:last-child)::after{
  content:"";height:1px;position:absolute;bottom:-7px;left:64px;right:16px;background:#eaf0f9;
}
.community-html .community-app .kt-forum-page .kt-forum-board-row:hover,
.community-html .community-app .kt-forum-page .kt-forum-board-row:focus-within{
  background:linear-gradient(105deg,var(--forum-row-soft),#fff 85%);
  border-color:#dbe5f7;box-shadow:0 5px 18px #214a9020;
}
.community-html .community-app .kt-forum-page .kt-forum-board-icon{
  width:56px;min-width:56px;height:56px;
  border:1px solid #ffffffb8;border-radius:17px;
  background:var(--forum-row-soft);color:var(--forum-row-accent);
  box-shadow:0 3px 8px #27376010;
}
.community-html .community-app .kt-forum-page .kt-forum-board-icon svg{width:25px;height:25px}
.community-html .community-app .kt-forum-page .kt-forum-board-row > div:nth-child(2){min-width:0;flex:1}
.community-html .community-app .kt-forum-page .kt-forum-board-link{
  color:#224db2;font-size:16px;font-weight:850;line-height:1.3;
  transition:color .16s ease;
}
.community-html .community-app .kt-forum-page .kt-forum-board-link:hover{
  color:#6849b7;text-decoration:underline;text-underline-offset:3px;
}
.community-html .community-app .kt-forum-page .kt-forum-board-link:focus-visible,
.community-html .community-app .kt-forum-page .kt-forum-thread-link:focus-visible{
  border-radius:4px;outline:3px solid #f5ba5e;outline-offset:4px;
}
.community-html .community-app .kt-forum-page .kt-forum-board-row p{
  color:#536886;font-size:14px;line-height:1.5;margin:4px 0 7px;
}
.community-html .community-app .kt-forum-page .kt-forum-board-row small{
  display:inline-block;color:#516783;background:#f1f5fc;
  border:1px solid #e4ebf6;border-radius:999px;
  padding:4px 10px;font-size:11px;font-weight:700;line-height:1.4;
}
/* Board / thread subpages get the same softer fun palette. */
.community-html .community-app .kt-forum-page .kt-forum-board-view .kt-forum-card,
.community-html .community-app .kt-forum-page .kt-forum-card{
  border-radius:18px;border:1px solid #e0e8f6;
  box-shadow:0 8px 24px #254d8712;
}
.community-html .community-app .kt-forum-page .kt-forum-board-top{
  padding:12px 4px 8px;
}
.community-html .community-app .kt-forum-page .kt-forum-board-heading-copy h2,
.community-html .community-app .kt-forum-page .kt-forum-classic-heading h2{
  color:#1c376d;
}
.community-html .community-app .kt-forum-page .kt-forum-thread-row{
  gap:12px;padding:17px 13px;border-bottom:1px solid #e9eef7;
  border-radius:10px;transition:background .18s ease;
}
.community-html .community-app .kt-forum-page .kt-forum-thread-row:hover{
  background:#f3f5ff;
}
.community-html .community-app .kt-forum-page .kt-forum-thread-link{color:#2454bc;font-weight:800}
.community-html .community-app .kt-forum-page .kt-forum-empty-icon{
  color:#7953c8;background:linear-gradient(135deg,#ede9ff,#fae8f5);
  border-color:#e4d6f9;border-radius:17px;
}
.community-html .community-app .kt-forum-page .kt-secondary{
  border-radius:11px;border-color:#d6e3fa;background:#f2f6ff;color:#2955a7;
}
.community-html .community-app .kt-forum-page .kt-button{
  border-radius:11px;background:linear-gradient(115deg,#2864d3,#6950cf);
  border:1px solid #405dc3;color:#fff;box-shadow:0 4px 12px #3758b127;
}
.community-html .community-app .kt-forum-page .kt-button:not(:disabled):hover{
  filter:brightness(1.08);
}
.community-html .community-app .kt-forum-page input:focus-visible,
.community-html .community-app .kt-forum-page select:focus-visible,
.community-html .community-app .kt-forum-page textarea:focus-visible{
  outline:3px solid #f8cf85;outline-offset:2px;
}
@media(max-width:700px){
  .community-html .community-app .kt-forum-page{width:calc(100% - 22px);margin:12px auto 68px;gap:15px}
  .community-html .community-app .kt-forum-page .kt-forum-banner{
    min-height:155px;padding:23px 20px;border-radius:18px;
  }
  .community-html .community-app .kt-forum-page .kt-forum-banner > div{max-width:100%}
  .community-html .community-app .kt-forum-page .kt-forum-banner::after{font-size:45px;opacity:.17;right:14px;top:16px}
  .community-html .community-app .kt-forum-page .kt-forum-banner h1{font-size:34px}
  .community-html .community-app .kt-forum-page .kt-forum-banner p{font-size:13px}
  .community-html .community-app .kt-forum-page .kt-forum-category{border-radius:17px;margin:0 0 14px}
  .community-html .community-app .kt-forum-page .kt-forum-category-head{padding:18px 16px 18px 65px}
  .community-html .community-app .kt-forum-page .kt-forum-category-head::before{left:15px;width:38px;height:38px}
  .community-html .community-app .kt-forum-page .kt-forum-board-row{
    flex-wrap:nowrap;gap:12px;padding:13px 10px;margin:6px;
  }
  .community-html .community-app .kt-forum-page .kt-forum-board-icon{
    width:44px;min-width:44px;height:44px;border-radius:13px;
  }
  .community-html .community-app .kt-forum-page .kt-forum-board-icon svg{width:22px;height:22px}
  .community-html .community-app .kt-forum-page .kt-forum-board-link{font-size:15px}
  .community-html .community-app .kt-forum-page .kt-forum-board-row p{font-size:13px}
  .community-html .community-app .kt-forum-page .kt-forum-board-row:not(:last-child)::after{left:51px}
}
@media(prefers-reduced-motion:reduce){
  .community-html .community-app .kt-forum-page .kt-forum-board-row,
  .community-html .community-app .kt-forum-page .kt-forum-board-link,
  .community-html .community-app .kt-forum-page .kt-forum-thread-row{transition:none}
}

/* KeepTalking • Horizontal forum directory 2026-11-16
   Forums sit side-by-side inside their category, making the directory shorter.
   Applies only to directory category tiles, NOT threads, posts or permissions. */
.community-html .community-app .kt-forum-page .kt-forum-category {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  padding: 0 16px 16px;
}
.community-html .community-app .kt-forum-page .kt-forum-category-head {
  grid-column: 1 / -1;
  margin: 0 -16px 2px;
}
.community-html .community-app .kt-forum-page .kt-forum-category > .kt-forum-board-row {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  min-height: 138px;
  margin: 0;
  padding: 16px 13px;
  gap: 12px;
  border: 1px solid #e6eaf7;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--forum-row-soft), #fff 73%);
}
.community-html .community-app .kt-forum-page .kt-forum-category > .kt-forum-board-row:not(:last-child)::after {
  display: none;
}
.community-html .community-app .kt-forum-page .kt-forum-category > .kt-forum-board-row:hover,
.community-html .community-app .kt-forum-page .kt-forum-category > .kt-forum-board-row:focus-within {
  border-color: #b5c9f1;
  box-shadow: 0 7px 18px #3158a224;
  background: linear-gradient(135deg, var(--forum-row-soft), #fff 90%);
}
.community-html .community-app .kt-forum-page .kt-forum-category > .kt-forum-board-row .kt-forum-board-icon {
  flex: 0 0 44px;
  min-width: 44px;
  width: 44px;
  height: 44px;
  border-radius: 13px;
}
.community-html .community-app .kt-forum-page .kt-forum-category > .kt-forum-board-row .kt-forum-board-link,
.community-html .community-app .kt-forum-page .kt-forum-category > .kt-forum-board-row p,
.community-html .community-app .kt-forum-page .kt-forum-category > .kt-forum-board-row small {
  overflow-wrap: anywhere;
}
.community-html .community-app .kt-forum-page .kt-forum-category > .kt-forum-board-row p {
  margin: 5px 0 9px;
}
.community-html .community-app .kt-forum-page .kt-forum-category > .kt-forum-muted {
  grid-column: 1 / -1;
  padding: 14px 8px;
  margin: 0;
}
@media (max-width: 1070px) {
  .community-html .community-app .kt-forum-page .kt-forum-category {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 670px) {
  .community-html .community-app .kt-forum-page .kt-forum-category {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 10px 11px;
    gap: 9px;
  }
  .community-html .community-app .kt-forum-page .kt-forum-category-head {
    margin: 0 -10px 0;
  }
  .community-html .community-app .kt-forum-page .kt-forum-category > .kt-forum-board-row {
    min-height: 0;
    padding: 12px;
  }
}

/* KeepTalking • Align thread/post badges across forum cards (2026-11-16)
   Keep badges anchored to the bottom of their card, even when descriptions wrap.
   Directory cards only; thread lists, post counters and other badges are untouched. */
.community-html .community-app .kt-forum-page .kt-forum-category > .kt-forum-board-row > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
}
.community-html .community-app .kt-forum-page .kt-forum-category > .kt-forum-board-row > div:nth-child(2) > small {
  margin-top: auto;
  align-self: flex-start;
}

/* Forum pictures: optional member-facing thumbnails; preserve the three-column grid
   and the bottom-aligned thread/post badges. */
.community-html .community-app .kt-forum-page .kt-forum-category > .kt-forum-board-row .kt-forum-board-image {
  display: block; box-sizing: border-box; flex: 0 0 66px; width: 66px; height: 66px;
  object-fit: cover; border-radius: 14px; border: 2px solid #fff;
  box-shadow: 0 3px 12px rgba(17,47,106,.14); background: #eaf2ff;
}
.community-html .community-app .kt-forum-page .kt-forum-board-detail-image {
  width: 76px; height: 76px; object-fit: cover; border-radius: 17px;
  box-shadow: 0 3px 13px rgba(18,42,87,.16); flex-shrink: 0;
}
@media (max-width: 670px) {
  .community-html .community-app .kt-forum-page .kt-forum-category > .kt-forum-board-row .kt-forum-board-image {
    flex-basis: 54px; width: 54px; height: 54px; border-radius: 12px;
  }
  .community-html .community-app .kt-forum-page .kt-forum-board-detail-image {width: 56px; height: 56px}
}

/* KeepTalking Scrabble · cheerful wooden tiles, full 15×15 classic board,
   lobby controls and a private rack within the existing split Games view. */
.community-html .kt-scrabble-root {color:#2d3546;background:linear-gradient(165deg,#fff8eb 0%,#f6f6ff 68%,#eaf5ff 100%)}
.community-html .kt-scrabble-root .kt-ludo-scroll{padding:12px;container-type:inline-size;container-name:scrabble-table;scrollbar-gutter:stable}
.community-html .kt-scrabble-intro{background:linear-gradient(145deg,#fff4d8,#eaf4ff);border-color:#e9d9b8;box-shadow:0 5px 20px #b07c3020}
.community-html .kt-scrabble-intro h3{color:#523b30}
.community-html .kt-scrabble-logo{display:block;font-size:38px;line-height:1.2;margin-bottom:5px}
.community-html .kt-scrabble-root .kt-ludo-primary{background:linear-gradient(135deg,#26755f,#368b8a);border-color:#287d6f;color:white}
.community-html .kt-scrabble-root .kt-ludo-outline{color:#26675b;border-color:#badace}
.community-html .kt-scrabble-session{min-width:0}
.community-html .kt-scrabble-match{display:flex;flex-direction:column;gap:12px;min-width:0}
.community-html .kt-scrabble-header{display:flex;gap:12px;justify-content:space-between;align-items:center;border:1px solid #ead6b5;border-radius:15px;padding:13px 15px;background:#fff8e9;box-shadow:0 4px 13px #88724818;min-width:0}
.community-html .kt-scrabble-header>div{min-width:0}
.community-html .kt-scrabble-eyebrow{font-size:9px;letter-spacing:.13em;color:#ac7538;font-weight:900}
.community-html .kt-scrabble-header h3{margin:3px 0 4px;color:#573c29;font-size:18px;overflow-wrap:anywhere}
.community-html .kt-scrabble-header p{margin:0;font-size:11px;color:#79664e;line-height:1.45}
.community-html .kt-scrabble-bag{flex:none;border-radius:999px;padding:7px 9px;background:#fff;border:1px solid #eddcb8;font-size:10px;font-weight:850;color:#8c5a2d;white-space:nowrap}
.community-html .kt-scrabble-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start;min-width:0}
.community-html .kt-scrabble-board-wrap{min-width:0;background:#fff;border:1px solid #d2bfa4;box-shadow:0 8px 22px #2e4c421f;padding:7px;border-radius:13px}
.community-html .kt-scrabble-board{width:100%;max-width:660px;aspect-ratio:1/1;margin:auto;display:grid;grid-template-columns:repeat(15,minmax(0,1fr));grid-template-rows:repeat(15,minmax(0,1fr));border:3px solid #486e63;border-radius:5px;overflow:hidden;background:#cfe4d8;box-shadow:inset 0 2px 3px #355b4933}
.community-html .kt-scrabble-square{min-width:0;min-height:0;margin:0;padding:0;aspect-ratio:1/1;border:1px solid #ffffffa4;border-right-color:#8da89b80;border-bottom-color:#8da89b80;border-radius:0;background:#d9ede0;color:#5b7b6e;display:flex;align-items:center;justify-content:center;position:relative;font:inherit;box-shadow:none;cursor:default;overflow:hidden}
.community-html .kt-scrabble-root .kt-scrabble-square:disabled{opacity:1;cursor:default}
.community-html .kt-scrabble-square.can-place:not(.has-tile){cursor:pointer}
.community-html .kt-scrabble-square.can-place:not(.has-tile):hover{outline:2px solid #398c6b;outline-offset:-2px;z-index:1;filter:brightness(1.04)}
.community-html .kt-scrabble-square.bonus-tw{background:#e87378;color:#6b2836}
.community-html .kt-scrabble-square.bonus-dw,.community-html .kt-scrabble-square.bonus-star{background:#f2b8b8;color:#813951}
.community-html .kt-scrabble-square.bonus-tl{background:#66a8cf;color:#153f5e}
.community-html .kt-scrabble-square.bonus-dl{background:#b3dced;color:#246083}
.community-html .kt-scrabble-bonus{font-size:clamp(5px,.85vw,10px);font-weight:900;line-height:1;text-align:center;letter-spacing:-.02em}
.community-html .kt-scrabble-square.bonus-star .kt-scrabble-bonus{font-size:clamp(10px,1.75vw,23px)}
.community-html .kt-scrabble-tile{display:flex;align-items:center;justify-content:center;width:88%;height:88%;border:1px solid #b38a4b;border-radius:3px;color:#4c3626;background:linear-gradient(145deg,#fff3c7,#edd19a);font-weight:900;font-size:clamp(10px,2vw,22px);position:relative;box-sizing:border-box;box-shadow:1px 2px 1px #71583a55}
.community-html .kt-scrabble-tile sup{position:absolute;right:8%;bottom:6%;font-size:.44em;line-height:1}
.community-html .kt-scrabble-square.is-draft .kt-scrabble-tile{background:linear-gradient(145deg,#ffec9a,#f3cc65);outline:2px solid #328c76;outline-offset:1px}
.community-html .kt-scrabble-square .kt-scrabble-tile.is-blank{color:#835f31}
.community-html .kt-scrabble-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:5px 10px;margin-top:8px;font-size:9px;font-weight:700;color:#66777b}
.community-html .kt-scrabble-sidebar{display:flex;flex-direction:column;min-width:0;gap:10px}
.community-html .kt-scrabble-scoreboard,.community-html .kt-scrabble-rack-panel,.community-html .kt-scrabble-turn-panel,.community-html .kt-scrabble-lastmove,.community-html .kt-scrabble-win{border:1px solid #e5d9c8;border-radius:12px;padding:12px;background:#fff;box-shadow:0 3px 8px #555b6710;min-width:0}
.community-html .kt-scrabble-scoreboard h4,.community-html .kt-scrabble-rack-panel h4{font-size:13px;margin:0 0 9px;color:#436359}
.community-html .kt-scrabble-player{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:9px;background:#f6f8fb;border:1px solid transparent;margin-top:5px}
.community-html .kt-scrabble-player.is-turn{background:#e5faec;border-color:#a6d6b5}
.community-html .kt-scrabble-player.is-out{opacity:.55}
.community-html .kt-scrabble-player-avatar{font-size:15px}
.community-html .kt-scrabble-player>div{min-width:0;flex:1}
.community-html .kt-scrabble-player strong{display:block;color:#344654;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.community-html .kt-scrabble-player small{display:block;color:#7c8895;font-size:9px;margin-top:1px}
.community-html .kt-scrabble-player b{font-size:18px;color:#286a57}
.community-html .kt-scrabble-turn-panel{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:7px;background:#edfbf1;border-color:#c5e3cb}
.community-html .kt-scrabble-turn-panel strong{color:#296b53}
.community-html .kt-scrabble-turn-panel span{font-size:12px;font-weight:850;color:#375a4b}
.community-html .kt-scrabble-turn-panel .kt-scrabble-urgent{color:#bc3838}
.community-html .kt-scrabble-timer-track{height:6px;border-radius:999px;background:#d8e9da;width:100%;overflow:hidden}
.community-html .kt-scrabble-timer-track>div{height:100%;background:#46a984;transition:width 1s linear}
.community-html .kt-scrabble-rack-panel>p{margin:0 0 10px;font-size:10px;line-height:1.5;color:#687a80}
.community-html .kt-scrabble-rack{display:flex;gap:3px;justify-content:center;flex-wrap:nowrap;margin:8px 0 13px;padding:8px 5px;border-radius:9px;background:linear-gradient(#b98c5c,#8f613f);box-shadow:inset 0 -3px 0 #65432255}
.community-html .kt-scrabble-root .kt-scrabble-rack-tile{flex:1;min-width:0;max-width:44px;aspect-ratio:.84;border-radius:5px;border:1px solid #cfb27a;background:linear-gradient(145deg,#fff0c4,#ebd09c);box-shadow:0 2px 2px #50381d61;color:#4e3a29;font-size:clamp(14px,2vw,23px);font-weight:900;position:relative;padding:0;cursor:pointer}
.community-html .kt-scrabble-root .kt-scrabble-rack-tile.is-selected{background:#ffeb85;border-color:#168d6e;outline:3px solid #43b795;transform:translateY(-4px)}
.community-html .kt-scrabble-root .kt-scrabble-rack-tile.is-used{opacity:.3;filter:grayscale(1)}
.community-html .kt-scrabble-rack-tile sup{position:absolute;right:3px;bottom:2px;font-size:10px}
.community-html .kt-scrabble-blank{display:flex;gap:8px;align-items:center;justify-content:center;color:#466557;font-size:10px;font-weight:900;margin-bottom:10px}
.community-html .kt-scrabble-blank input{width:36px;min-height:30px;box-sizing:border-box;text-align:center;text-transform:uppercase;font-size:15px;font-weight:800;border:1px solid #91c1b0;border-radius:6px;background:#f9fffa;color:#284c3d}
.community-html .kt-scrabble-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.community-html .kt-scrabble-actions>button{min-width:0;padding:8px 4px;font-size:10px}
.community-html .kt-scrabble-hint{margin:10px 0 0!important;font-size:9px!important;text-align:center}
.community-html .kt-scrabble-lastmove strong{font-size:11px;color:#447367}
.community-html .kt-scrabble-lastmove p{font-size:11px;margin:5px 0;color:#4e5e67;line-height:1.5;overflow-wrap:anywhere}
.community-html .kt-scrabble-lastmove b{color:#297c57}
.community-html .kt-scrabble-win{text-align:center;background:#fff1ce;border-color:#ebd39a;color:#856223;font-weight:850}
.community-html .kt-scrabble-forfeit{align-self:center;font-size:10px!important}
.community-html .kt-scrabble-error{position:sticky;bottom:0;z-index:5;box-shadow:0 3px 8px #c9533231}
@container scrabble-table (min-width:850px){
 .community-html .kt-scrabble-layout{grid-template-columns:minmax(0,1fr) 255px}
 .community-html .kt-scrabble-sidebar{position:sticky;top:0}
}
@container scrabble-table (max-width:480px){
 .community-html .kt-scrabble-root .kt-ludo-scroll{padding:7px}
 .community-html .kt-scrabble-square{border-width:.5px}
 .community-html .kt-scrabble-board-wrap{padding:4px}
 .community-html .kt-scrabble-tile{border-radius:2px;font-size:clamp(9px,3vw,16px)}
 .community-html .kt-scrabble-bonus{font-size:6px}
 .community-html .kt-scrabble-header{padding:10px}
}

/* Roulette */
.community-html .kt-roulette-root{display:flex;flex-direction:column;min-height:0;min-width:0;flex:1;color:#23385d;font-size:13px}
.community-html .kt-roulette-intro{background:linear-gradient(180deg,#fff 0%,#f6fbff 100%)}
.kt-roulette-session{display:flex;flex-direction:column;gap:12px}
.kt-roulette-table-wrap{display:grid;grid-template-columns:minmax(0,1.5fr) 290px;gap:14px;align-items:start}
.kt-roulette-main{display:flex;flex-direction:column;gap:12px;min-width:0}
.kt-roulette-wheel-card,.kt-roulette-mat-card,.kt-roulette-panel{background:#fff;border:1px solid #dbe5f7;border-radius:14px;padding:14px;box-shadow:0 4px 14px #24487912}
.kt-roulette-wheel-card{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;align-items:center}
.kt-roulette-wheel-shell{display:grid;place-items:center}
.kt-roulette-wheel{position:relative;width:260px;height:260px;border-radius:50%;background:#ddc48b;box-shadow:inset 0 0 0 16px #8b6730,inset 0 0 0 30px #26422f,inset 0 0 0 38px #c3ac78}
.kt-roulette-pocket{position:absolute;left:50%;top:50%;width:0;height:0;transform-origin:center center}
.kt-roulette-pocket-fill{position:absolute;left:-11px;top:-124px;width:22px;height:38px;border-radius:6px 6px 2px 2px;border:1px solid #ffffff40;box-shadow:0 1px 0 #00000010}
.kt-roulette-pocket em{position:absolute;left:-9px;top:-114px;width:18px;text-align:center;font-style:normal;font-size:9px;font-weight:800;color:#fff;transform:rotate(calc(-1 * var(--rot,0deg)))}
.kt-roulette-pocket.kt-roulette-pocket-hit .kt-roulette-pocket-fill{box-shadow:0 0 0 3px #fff6,0 0 14px #ffe494;background:#ffe494!important}
.kt-roulette-wheel-center{position:absolute;inset:79px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 35%,#4e845f,#16301f);color:#f8f2db;font-weight:800;letter-spacing:.12em;font-size:11px;border:8px solid #cdb785;text-align:center;box-shadow:inset 0 0 18px #0003}
.kt-roulette-ball{position:absolute;left:50%;top:50%;width:0;height:0;transform-origin:center center;pointer-events:none}
.kt-roulette-ball span{position:absolute;left:-7px;top:-7px;width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid #e8e8e8;box-shadow:0 1px 3px #0003}
.kt-roulette-result-strip{display:flex;flex-direction:column;gap:6px}
.kt-roulette-result-strip strong{font-size:18px;color:#28436f}
.kt-roulette-result-strip small{color:#647895;line-height:1.45}
.kt-roulette-result-badge{display:inline-flex;align-self:flex-start;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.05em}
.kt-roulette-result-badge.is-red{background:#ffe3e4;color:#b62e38}
.kt-roulette-result-badge.is-black{background:#e8ebf2;color:#253146}
.kt-roulette-result-badge.is-green{background:#dff4e6;color:#14743b}
.kt-roulette-chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.kt-roulette-chip{width:48px;height:48px;border-radius:50%;border:3px dashed #fff;box-shadow:inset 0 0 0 5px #ffffff66,0 3px 10px #20375d1e;background:#d9dfe9;color:#163054;font-size:13px;font-weight:900;cursor:pointer}
.kt-roulette-chip.is-one{background:#dde3ef}.kt-roulette-chip.is-two{background:#f0e3cf}.kt-roulette-chip.is-five{background:#dfedf8}.kt-roulette-chip.is-fifteen{background:#efe1f5}.kt-roulette-chip.is-fifty{background:#f9e1be}
.kt-roulette-chip.is-selected{transform:translateY(-2px);box-shadow:inset 0 0 0 5px #ffffff99,0 0 0 3px #3e73ca,0 6px 14px #20375d22}
.kt-roulette-mat-top{display:grid;grid-template-columns:72px minmax(0,1fr) 70px;gap:8px;align-items:stretch}
.kt-roulette-number-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.kt-roulette-column-bets{display:grid;grid-template-rows:repeat(3,1fr);gap:6px}
.kt-roulette-dozens,.kt-roulette-outsides{display:grid;gap:6px;margin-top:8px}
.kt-roulette-dozens{grid-template-columns:repeat(3,minmax(0,1fr))}
.kt-roulette-outsides{grid-template-columns:repeat(6,minmax(0,1fr))}
.kt-roulette-bet{border:1px solid #c7d8ef;background:#fff;border-radius:10px;min-height:44px;padding:10px 8px;font:inherit;font-weight:800;color:#274165;cursor:pointer;box-shadow:0 1px 0 #fff inset}
.kt-roulette-bet.is-zero{background:#2c9a56;color:#fff;border-color:#1f7a42;grid-row:1/span 4;min-height:0}
.kt-roulette-bet.is-red{background:#d44f56;color:#fff;border-color:#ba3640}.kt-roulette-bet.is-black{background:#252833;color:#fff;border-color:#121520}
.kt-roulette-bet.is-red-label{background:#fff0f0;color:#b2313c;border-color:#efcfd3}.kt-roulette-bet.is-black-label{background:#eef2f8;color:#243247;border-color:#d7ddea}
.kt-roulette-bet:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 3px 10px #2448791e}.kt-roulette-bet:disabled{opacity:.65;cursor:not-allowed}
.kt-roulette-bet-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:10px;color:#5f7598}
.kt-roulette-sidebar{display:flex;flex-direction:column;gap:12px}
.kt-roulette-panel h4{margin:0 0 10px;color:#2b4978;font-size:14px}
.kt-roulette-bankroll{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:9px 0;border-top:1px solid #edf3fd}.kt-roulette-bankroll:first-of-type{border-top:none;padding-top:0}
.kt-roulette-bankroll strong{font-size:12px}.kt-roulette-bankroll span{font-size:12px;font-weight:800;color:#365e96}.kt-roulette-bankroll small{grid-column:1/-1;color:#7789a5}
.kt-roulette-bankroll.is-me{background:#f7fbff;border-radius:10px;padding:9px 8px;margin:0 -8px 4px}
.kt-roulette-slip{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.kt-roulette-slip li{display:flex;justify-content:space-between;gap:10px;padding:8px 9px;border:1px solid #e6eefb;border-radius:10px;background:#fafcff}
.kt-roulette-slip strong{color:#30568e}
.kt-roulette-players{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin-bottom:12px}
.kt-roulette-player{display:flex;flex-direction:column;gap:4px;padding:10px;border:1px solid #dae4f4;border-radius:10px;background:#fff}
.kt-roulette-actions{justify-content:flex-start}
@media (max-width:1080px){.kt-roulette-table-wrap{grid-template-columns:minmax(0,1fr)}.kt-roulette-sidebar{order:-1}.kt-roulette-wheel-card{grid-template-columns:1fr}}
@media (max-width:720px){.kt-roulette-wheel{width:220px;height:220px}.kt-roulette-wheel-center{inset:66px}.kt-roulette-pocket-fill{top:-104px}.kt-roulette-pocket em{top:-96px;font-size:8px}.kt-roulette-ball{transform-origin:center center}.kt-roulette-mat-top{grid-template-columns:60px minmax(0,1fr) 58px}.kt-roulette-outsides{grid-template-columns:repeat(2,minmax(0,1fr))}}

@keyframes kt-roulette-ball-arrive{
  from{transform:rotate(calc(var(--kt-roulette-angle) - 1800deg)) translateY(-122px)}
  to{transform:rotate(var(--kt-roulette-angle)) translateY(-122px)}
}
.kt-roulette-ball{animation:kt-roulette-ball-arrive 2.8s cubic-bezier(.16,.6,.35,1) both}
@media(prefers-reduced-motion:reduce){.kt-roulette-ball{animation:none}}

/* Room-wide Roulette: no lobby. The wheel and clock always render in #Roulette. */
.kt-roulette-heading{margin-bottom:10px}
.kt-roulette-clock{display:grid;grid-template-columns:1fr auto;gap:7px 12px;align-items:center;margin:0 0 14px;padding:12px 16px;border-radius:12px;border:1px solid #b9d7cc;background:linear-gradient(110deg,#e3f6ed,#f5fffa);color:#225344}
.kt-roulette-clock strong{font-size:13px;font-weight:850}
.kt-roulette-clock>span{font-size:20px;font-weight:900;font-variant-numeric:tabular-nums}
.kt-roulette-clock.is-urgent{background:#fff0e3;border-color:#f2c7a5;color:#a34b27}
.kt-roulette-clock.is-spinning{background:#e9eefc;border-color:#aebfe9;color:#3c5c94}
.kt-roulette-progress{grid-column:1/-1;height:6px;border-radius:999px;background:#c6ded1;overflow:hidden}
.kt-roulette-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#39ab65,#74d6a4);transition:width .2s linear}
.kt-roulette-clock.is-spinning .kt-roulette-progress{background:#c7d2ed}
.kt-roulette-clock.is-spinning .kt-roulette-progress span{background:#668edc}
.kt-roulette-wallet-value{font-size:28px;font-weight:900;color:#3161a1}
.kt-roulette-pocket-ring{position:absolute;inset:0;border-radius:50%}
.kt-roulette-pocket-ring.is-spinning{animation:kt-roulette-wheel-turn 5s ease-out both}
.kt-roulette-ball{--kt-roulette-ball-radius:-122px;z-index:6}
.kt-roulette-ball.is-spinning{animation:kt-roulette-ball-turn 5s ease-out both}
@keyframes kt-roulette-wheel-turn{from{transform:rotate(-1800deg)}to{transform:rotate(0deg)}}
@keyframes kt-roulette-ball-turn{from{transform:rotate(calc(var(--kt-roulette-angle) + 2160deg)) translateY(var(--kt-roulette-ball-radius))}to{transform:rotate(var(--kt-roulette-angle)) translateY(var(--kt-roulette-ball-radius))}}
@media(max-width:720px){.kt-roulette-ball{--kt-roulette-ball-radius:-103px}}
@media(prefers-reduced-motion:reduce){.kt-roulette-pocket-ring.is-spinning,.kt-roulette-ball.is-spinning{animation:none}}
/* KeepTalking compact roulette — based on the uploaded studio/mat reference.
   All selectors scoped to roulette so other games keep their original styling. */
.community-html .kt-roulette-root.kt-roulette-v2{color:#f1e3c5;background:#11171e;min-width:0}
.community-html .kt-roulette-v2-scroll{padding:10px;scrollbar-gutter:auto;background:#e9eff8}
.community-html .kt-roulette-v2-header{display:flex;align-items:center;justify-content:space-between;gap:10px;background:linear-gradient(110deg,#141a24,#262332);padding:10px 14px;border-radius:12px 12px 0 0;border:1px solid #bd914e;color:#fff3db}
.kt-roulette-v2-header h3{font-family:Georgia,serif;font-size:20px;margin:0!important;color:#f1d39b!important;line-height:1.1}
.kt-roulette-v2-header p{margin:3px 0 0!important;font-size:10px;color:#bfb6a5!important}
.kt-roulette-v2-eyebrow{display:block;margin-bottom:3px;font-size:9px;letter-spacing:1.3px;color:#ccab70;font-weight:800}
.kt-roulette-v2-round{white-space:nowrap;color:#f3d397;border:1px solid #ac834f;font-size:10px;letter-spacing:1px;border-radius:999px;padding:5px 9px;background:#140f0dd9;font-weight:800}
.community-html .kt-roulette-v2-stage{min-height:235px;display:grid;grid-template-columns:minmax(0,1fr) 250px minmax(0,1fr);align-items:center;gap:6px;position:relative;isolation:isolate;overflow:hidden;padding:10px 14px 9px;background:#1c1410 url('/roulette-studio.webp') center / cover no-repeat;border-left:1px solid #926830;border-right:1px solid #926830;color:#f8e8c6}
.kt-roulette-v2-stage-shade{pointer-events:none;position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(6,7,10,.73) 0%,rgba(9,7,7,.2) 34%,rgba(8,7,8,.23) 70%,rgba(6,7,11,.7) 100%)}
.kt-roulette-v2-stage-left{display:flex;align-items:flex-start;flex-direction:column;gap:10px;z-index:1}
.kt-roulette-v2-live{font-size:9px;letter-spacing:1px;background:#17251be8;color:#e0e9d9;border:1px solid #72885a;border-radius:3px;padding:5px 7px;font-weight:800;white-space:nowrap}
.kt-roulette-v2-live i{display:inline-block;width:7px;height:7px;background:#5dce8b;box-shadow:0 0 9px #5dce8b;margin-right:5px;border-radius:50%}
.kt-roulette-v2-stage-left strong{font:700 clamp(11px,1.9vw,15px)/1.3 Georgia,serif;max-width:150px;color:#ffe0a6;text-shadow:1px 2px 5px #000}
.kt-roulette-v2-stage-left small,.kt-roulette-v2-stage-right small{font-size:10px;color:#dbcaab;line-height:1.4;text-shadow:0 1px 4px #000}
.kt-roulette-v2-last-badge{margin-top:auto;color:#f9df9e;font:700 22px/1 Georgia,serif}
.kt-roulette-v2-last-badge span{display:block;margin-top:4px;font:800 8px Arial,sans-serif;letter-spacing:1px;color:#cbb98f}
.kt-roulette-v2-wheel-frame{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}
.kt-roulette-v2-wheel{display:block;width:min(100%,232px);height:auto;border-radius:50%;filter:drop-shadow(0 4px 3px #0009) drop-shadow(0 10px 12px #000c)}
.kt-roulette-v2-wheel-tag{position:absolute;bottom:0;font-size:8px;letter-spacing:1.1px;font-weight:900;white-space:nowrap;color:#ffe6ac;text-shadow:0 2px 4px #000;background:#160f0e80;padding:3px 7px;border-radius:3px}
.kt-roulette-v2-stage-right{z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;justify-self:end}
.kt-roulette-v2-phase{font-size:9px;letter-spacing:1px;font-weight:900;color:#ffdc9c;text-shadow:0 2px 5px #000;white-space:nowrap}
.kt-roulette-v2-timer{width:78px;height:78px;box-sizing:border-box;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle,#1d1b1be8 54%,transparent 56%),conic-gradient(#d7ad66 0 var(--kt-roulette-v2-progress),#3c3b3f var(--kt-roulette-v2-progress) 100%);box-shadow:0 0 0 4px #191a1c88,0 8px 18px #000a}
.kt-roulette-v2-timer strong{font-size:29px;line-height:1;font-variant-numeric:tabular-nums;color:#fff0d0}
.kt-roulette-v2-timer small{font-size:8px!important;letter-spacing:1px;font-weight:800;color:#e6bf83}
.kt-roulette-v2-stage-tip{max-width:115px}
.kt-roulette-v2-stage.is-spinning .kt-roulette-v2-phase{color:#ed9995}
.kt-roulette-v2-results{display:flex;align-items:center;gap:10px;padding:9px 13px;background:linear-gradient(90deg,#12161b,#242025);border:1px solid #9b7442;border-top:0;border-radius:0 0 8px 8px;min-width:0;overflow:hidden}
.kt-roulette-v2-results>strong{font-size:9px;white-space:nowrap;letter-spacing:1.1px;color:#d5b87d}
.kt-roulette-v2-result-list{display:flex;gap:6px;min-width:0;overflow:hidden;align-items:center}
.kt-roulette-v2-result-list small{white-space:nowrap;color:#c4ac83}
.kt-roulette-v2-result-ball{display:grid;flex:0 0 23px;width:23px;height:23px;place-items:center;border:1px solid #caa66a;border-radius:50%;font-size:10px;font-weight:800;color:#fff7df;box-shadow:0 2px 4px #0006}
.kt-roulette-v2-result-ball.is-red{background:#b12a2c}.kt-roulette-v2-result-ball.is-black{background:#191d21}.kt-roulette-v2-result-ball.is-green{background:#176335}
.kt-roulette-v2-latest{font-size:9px;font-weight:900;white-space:nowrap;color:#f6da9b;margin-left:auto}
.community-html .kt-roulette-v2-mat{margin-top:9px;padding:8px 10px 10px;background:radial-gradient(ellipse at 55% 10%,#124d41,#07392f 70%,#05291f);border:4px ridge #9e7845;box-shadow:0 5px 14px #152e2940;border-radius:9px}
.kt-roulette-v2-mat-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#eddcb8;margin:2px 2px 8px;font-size:10px;letter-spacing:.8px}
.kt-roulette-v2-mat-head strong{font-size:11px;color:#f6e1b8}
.kt-roulette-v2-mat-head span{color:#a9e5c2;font-size:9px;font-weight:800}.kt-roulette-v2-mat-head .is-closed{color:#f3ad9a}
.kt-roulette-v2-mat-scroll{width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-color:#bb9e6c transparent;scrollbar-width:thin;padding-bottom:3px}
.kt-roulette-v2-mat-inner{min-width:565px;max-width:940px;margin:0 auto}
.kt-roulette-v2-numbers{display:grid;grid-template-columns:37px minmax(0,1fr) 43px;gap:0}
.kt-roulette-v2-number-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(3,39px)}
.kt-roulette-v2-columns{display:grid;grid-template-rows:repeat(3,39px)}
.kt-roulette-v2-dozens{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-left:37px;margin-right:43px}
.kt-roulette-v2-outsides{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin-left:37px;margin-right:43px}
.community-html .kt-roulette-v2-bet{position:relative;display:grid;place-items:center;border:1px solid #d3c4a3;background:#051e1a33;color:#f5ebd1;border-radius:0!important;min-height:35px;padding:2px;font:700 12px/1.2 Arial,sans-serif;cursor:pointer;box-shadow:none;text-shadow:0 1px 2px #0008}
.community-html .kt-roulette-v2-number-grid .kt-roulette-v2-bet{font-size:16px;font-weight:700}
.community-html .kt-roulette-v2-bet.is-red{color:#ff646c}.community-html .kt-roulette-v2-bet.is-black{color:#fff2d2}
.community-html .kt-roulette-v2-bet.is-zero{background:#0c5c40;font-size:22px;color:#f2e0b8;border-radius:46% 0 0 46%!important}
.community-html .kt-roulette-v2-bet.is-red-label{color:#ff6d6d;font-size:11px}
.community-html .kt-roulette-v2-bet.is-black-label{color:#faf1d9;font-size:11px}
.community-html .kt-roulette-v2-dozens .kt-roulette-v2-bet,.community-html .kt-roulette-v2-outsides .kt-roulette-v2-bet{min-height:33px;font-size:11px}
.community-html .kt-roulette-v2-columns .kt-roulette-v2-bet{font-size:10px}
.community-html .kt-roulette-v2-bet:hover:not(:disabled),.community-html .kt-roulette-v2-bet:focus-visible{outline:2px solid #f5d190;outline-offset:-3px;background:#8b7b4c5c;z-index:2}
.community-html .kt-roulette-v2-bet:disabled{opacity:.54;cursor:not-allowed}
.kt-roulette-v2-bet-chip{position:absolute;z-index:3;right:-2px;top:-2px;background:#fff4db;color:#32303b;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;border:2px solid #d0a955;box-shadow:0 2px 4px #0005;font-size:9px;font-weight:900;text-shadow:none;pointer-events:none}
.kt-roulette-v2-mat-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:4px 12px;color:#ead6ae;font-size:9px;margin-top:6px}
.community-html .kt-roulette-v2-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:8px;padding:10px 12px;border:1px solid #ba9c6a;background:linear-gradient(100deg,#181b25,#30313b);border-radius:10px;color:#fff2d5}
.kt-roulette-v2-chip-heading{display:flex;flex-direction:column;gap:3px}
.kt-roulette-v2-chip-heading strong{font-size:10px;letter-spacing:1px;color:#e6ca92}.kt-roulette-v2-chip-heading span{font-size:9px;color:#b6b1ad}
.kt-roulette-v2-chips{display:flex;align-items:center;gap:7px;flex:1;justify-content:center}
.community-html .kt-roulette-v2-chip{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border-radius:50%;font-weight:950;font-size:12px;cursor:pointer;color:#1b2431;box-shadow:inset 0 0 0 4px #fff6,0 3px 9px #050910aa;border:3px dashed #fff!important;transition:transform .12s}
.community-html .kt-roulette-v2-chip>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1px solid #ffffffb0}
.community-html .kt-roulette-v2-chip.is-one{background:#e9e8e7}.community-html .kt-roulette-v2-chip.is-two{background:#e5b178}.community-html .kt-roulette-v2-chip.is-five{background:#6c92bf;color:#fff}.community-html .kt-roulette-v2-chip.is-fifteen{background:#b68dcd;color:#fff}.community-html .kt-roulette-v2-chip.is-fifty{background:#d9b155}
.community-html .kt-roulette-v2-chip.is-selected{transform:translateY(-3px);outline:3px solid #ffe4ac;outline-offset:2px;box-shadow:0 5px 14px #ebc36b7a}
.kt-roulette-v2-wallet{display:flex;gap:15px;align-items:center;margin-left:auto;flex-wrap:wrap}
.kt-roulette-v2-wallet>div{display:flex;flex-direction:column;gap:2px}
.kt-roulette-v2-wallet small{font-size:8px;color:#d3b889;font-weight:850;letter-spacing:.6px}
.kt-roulette-v2-wallet strong{font-size:15px;font-weight:900;color:#fff2d4}
.community-html button.kt-roulette-v2-clear{border:1px solid #bfa77f;border-radius:6px;cursor:pointer;background:#faf0da;color:#413324;font-size:10px;font-weight:850;padding:8px 10px;white-space:nowrap}
.community-html button.kt-roulette-v2-clear:disabled{opacity:.5;cursor:not-allowed}
.kt-roulette-v2-bottom{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.kt-roulette-v2-mini-panel{border-radius:9px;border:1px solid #d9e1ee;background:#fff;padding:10px 12px;color:#30476e;min-width:0}
.kt-roulette-v2-mini-panel h4{margin:0 0 6px;font-size:11px;color:#334e74}.kt-roulette-v2-mini-panel small{font-size:10px;color:#7889a0}
.kt-roulette-v2-slip,.kt-roulette-v2-players{display:flex;flex-wrap:wrap;gap:5px}
.kt-roulette-v2-slip>span,.kt-roulette-v2-players>span{border-radius:5px;background:#f1f5fa;padding:5px 6px;font-size:10px;color:#496482}
.kt-roulette-v2-players>span{background:#f1f6ee;color:#426144}
.kt-roulette-v2-rules{background:#f8f9fb;color:#4e6380;padding:9px 12px;margin-top:8px;border-radius:8px;font-size:11px;border:1px solid #dde3ec}
.kt-roulette-v2-rules summary{cursor:pointer;font-weight:750;color:#466391}
.kt-roulette-v2-rules p{margin:7px 0 0;line-height:1.5}
@media(max-width:870px){
 .community-html .kt-roulette-v2-stage{grid-template-columns:minmax(0,1fr) 205px minmax(0,1fr);min-height:215px;padding:8px 10px}
 .kt-roulette-v2-wheel{max-width:205px}
 .kt-roulette-v2-stage-right{gap:6px}
 .kt-roulette-v2-stage-left strong{font-size:12px}
 .kt-roulette-v2-timer{width:63px;height:63px}
 .kt-roulette-v2-timer strong{font-size:23px}
 .kt-roulette-v2-last-badge{display:none}
 .kt-roulette-v2-results{gap:6px}
 .kt-roulette-v2-results>strong{font-size:8px}
 .kt-roulette-v2-chip-heading{width:100%}
 .kt-roulette-v2-chips{justify-content:flex-start;flex:0}
}
@media(max-width:520px){
 .community-html .kt-roulette-v2-scroll{padding:5px}
 .community-html .kt-roulette-v2-stage{grid-template-columns:1fr 155px 1fr;min-height:180px;gap:3px;padding:6px}
 .kt-roulette-v2-wheel{max-width:158px}
 .kt-roulette-v2-wheel-tag{display:none}
 .kt-roulette-v2-stage-left{gap:7px}
 .kt-roulette-v2-stage-left strong{font-size:10px}
 .kt-roulette-v2-stage-left small{display:none}
 .kt-roulette-v2-live{font-size:7px;padding:3px}
 .kt-roulette-v2-phase{font-size:7px}
 .kt-roulette-v2-stage-tip{display:none}
 .kt-roulette-v2-timer{width:50px;height:50px}
 .kt-roulette-v2-timer strong{font-size:20px}
 .kt-roulette-v2-timer small{font-size:7px!important}
 .kt-roulette-v2-bottom{grid-template-columns:1fr}
 .kt-roulette-v2-chips{gap:5px}
 .community-html .kt-roulette-v2-chip{width:35px;height:35px;font-size:11px}
 .community-html .kt-roulette-v2-controls{gap:8px;padding:8px}
 .kt-roulette-v2-wallet{gap:8px;margin-left:0;width:100%}
 .kt-roulette-v2-wallet>div{margin-right:10px}
 .kt-roulette-v2-wallet>div strong{font-size:13px}
 .kt-roulette-v2-header h3{font-size:18px}
 .kt-roulette-v2-results>strong{display:none}
}
@media(prefers-reduced-motion:reduce){.community-html .kt-roulette-v2-chip{transition:none}}

/* Compact, accessible sound controls for the Roulette studio. */
.kt-roulette-v2-soundbar{display:flex;align-items:center;gap:6px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
.community-html .kt-roulette-v2-sound-toggle{border:1px solid #9e7b4c;color:#f7e4c2;background:#261c16;border-radius:7px;padding:5px 7px;min-height:26px;font:700 9px/1.3 Arial,sans-serif;cursor:pointer}
.community-html .kt-roulette-v2-sound-toggle[aria-pressed="false"]{color:#b8b2b1;background:#2e2c31;border-color:#6f6460}
.community-html .kt-roulette-v2-sound-toggle:focus-visible{outline:2px solid #fff1bd;outline-offset:2px}
@media(max-width:660px){.kt-roulette-v2-soundbar{margin-left:0;width:100%;justify-content:flex-start}.community-html .kt-roulette-v2-header{flex-wrap:wrap}}

/* Keep the quick betting actions compact alongside the existing wallet strip. */
.kt-roulette-v2-bet-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.community-html .kt-roulette-v2-bet-actions button{min-height:30px;border-radius:6px;font-size:10px;font-weight:850;cursor:pointer;padding:7px 9px;white-space:nowrap}
.community-html .kt-roulette-v2-rebet{background:#f4ebd6;color:#51391c;border:1px solid #cfae76}
.community-html .kt-roulette-v2-double{background:#d8f1e7;color:#17694d;border:1px solid #7ec3a7}
.community-html .kt-roulette-v2-bet-actions button:disabled{opacity:.45;cursor:not-allowed}
.community-html .kt-roulette-v2-bet-actions button:focus-visible{outline:2px solid #ffe1a6;outline-offset:2px}


/* Compact alternating presenters: round parity is server-derived, so all clients show the same host. */
.kt-roulette-v2-stage-left{align-self:stretch;justify-content:center;gap:6px}
.kt-roulette-v2-host{position:relative;width:118px;height:150px;max-width:100%;border-radius:9px;overflow:hidden;background:linear-gradient(160deg,#34251a85,#0e1014b0);box-shadow:0 2px 10px #0008;border:1px solid #e2c58c77;display:flex;flex-direction:column;align-items:center;justify-content:flex-end}
.kt-roulette-v2-host img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 13%;filter:drop-shadow(0 4px 5px #000b)}
.kt-roulette-v2-host-label{position:relative;z-index:2;display:flex;flex-direction:column;gap:2px;align-items:center;min-width:100%;padding:5px 6px 4px;box-sizing:border-box;background:linear-gradient(0deg,#121015ed,#251b17a8 80%,transparent);text-align:center}
.kt-roulette-v2-host-label small{font-size:7px!important;letter-spacing:1.1px;font-weight:750;color:#e6c99a!important}
.kt-roulette-v2-host-label strong{font:750 12px/1.05 Georgia,serif!important;color:#f9e9c6!important;text-shadow:0 1px 2px #000}
.kt-roulette-v2-host-message{font-size:10px!important;line-height:1.15!important;white-space:normal}
@media(max-width:870px){.kt-roulette-v2-host{width:93px;height:115px}.kt-roulette-v2-host-label strong{font-size:10px!important}}
@media(max-width:520px){.kt-roulette-v2-stage-left{gap:3px}.kt-roulette-v2-host{width:61px;height:87px;border-radius:5px}.kt-roulette-v2-host-label{padding:3px 1px}.kt-roulette-v2-host-label small{font-size:5px!important;display:block!important}.kt-roulette-v2-host-label strong{font-size:8px!important}.kt-roulette-v2-host-message{font-size:7px!important}}

/* Tanks loads only within a room's existing left Games column. The separate
   iframe keeps its drag/touch controls from scrolling the room chat. */
.community-html .kt-room-game-pane > .kt-tanks-frame{display:block;width:100%;height:100%;min-height:0;flex:1 1 auto;border:0;background:#10182c;}

/* Tanks iframe srcdoc loading and error states (keep game/chat split intact). */
.community-html .kt-room-game-pane > .kt-tanks-embed-state{
  display:flex;flex:1 1 auto;min-height:220px;align-items:center;justify-content:center;
  flex-direction:column;text-align:center;padding:24px;color:#dbeafe;
  background:linear-gradient(145deg,#0f1b36,#1e3262);
}
.community-html .kt-tanks-embed-state strong{font-size:18px;font-weight:800;}
.community-html .kt-tanks-embed-state p{max-width:360px;color:#bcd0ef;line-height:1.5;}
.community-html .kt-tanks-embed-state button{margin-top:12px;background:#f9cb5a;color:#15264b;border:0;border-radius:9px;padding:10px 18px;cursor:pointer;font-weight:700;}


/* Guest homepage · five-game showcase (shown only on the logged-out landing). */
.kt-guest-games{
  margin:18px 0 0;background:#fff;border:1px solid #dce6f6;border-radius:13px;
  overflow:hidden;box-shadow:0 9px 30px rgba(28,70,138,.09);
}
.kt-guest-games-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:24px 26px 19px}
.kt-guest-games-eyebrow{display:block;font-size:10px;letter-spacing:.15em;font-weight:850;color:#2863d9}
.community-html .kt-guest-games-heading h2{font-size:27px;line-height:1.2;color:#263b63;letter-spacing:-.035em;margin:7px 0 5px}
.community-html .kt-guest-games-heading p{color:#647492;font-size:13px;line-height:1.5;margin:0}
.kt-guest-games-count{flex:0 0 auto;margin-top:2px;padding:8px 10px;border-radius:20px;background:#fff3cc;color:#a45b00;border:1px solid #ffe4a0;font-size:10px;font-weight:900;letter-spacing:.06em;white-space:nowrap}
.kt-guest-games-visual{background:#0d3473;overflow:hidden}
.kt-guest-games-visual img{display:block;width:100%;height:auto;aspect-ratio:3 / 2;object-fit:contain}
.kt-guest-games-bottom{padding:18px 24px 20px;background:linear-gradient(180deg,#fff 0%,#f5f9ff 100%)}
.kt-guest-games-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.kt-guest-game-chip{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 12px;border-radius:9px;font-size:11px;font-weight:850;color:#2751ab;background:#eaf1ff;border:1px solid #d9e7ff}
.kt-guest-game-chip:nth-child(2){background:#fff0dc;border-color:#ffe0b2;color:#a75b10}
.kt-guest-game-chip:nth-child(3){background:#def6f3;border-color:#bce7e2;color:#15766d}
.kt-guest-game-chip:nth-child(4){background:#f1eaff;border-color:#dfd4ff;color:#6846ac}
.kt-guest-game-chip:nth-child(5){background:#ffecf4;border-color:#ffd3e3;color:#ab4277}
.kt-guest-games-action{border-top:1px solid #e8edf6;padding-top:15px;margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.community-html .kt-guest-games-action p{color:#5c6d8b;font-size:12px;line-height:1.5;margin:0;flex:1 1 190px}
.kt-guest-games-button{background:#2565d9;color:#fff;border:0;border-radius:9px;padding:11px 16px;min-height:40px;font-size:12px;white-space:nowrap;font-weight:800;cursor:pointer;box-shadow:0 4px 10px #2565d926}
.kt-guest-games-button:hover{background:#1d51ba}
.kt-guest-games-button:focus-visible{outline:3px solid #ffbd2d;outline-offset:3px}
.kt-signup-aside{scroll-margin-top:82px}
@media(max-width:560px){
  .kt-guest-games-heading{padding:19px 17px 15px;gap:9px}
  .community-html .kt-guest-games-heading h2{font-size:23px}
  .community-html .kt-guest-games-heading p{font-size:12px}
  .kt-guest-games-count{font-size:9px;padding:7px 9px}
  .kt-guest-games-bottom{padding:15px 16px 18px}
  .kt-guest-games-chips{gap:7px}
  .kt-guest-game-chip{padding:5px 9px;min-height:28px;font-size:10.5px}
  .kt-guest-games-button{width:100%}
}
@media(max-width:360px){
  .kt-guest-games-heading{flex-wrap:wrap}
}


/* Guest homepage: two-slide games & community carousel, 8s per readable slide. */
.kt-guest-carousel{margin:18px 0 0;background:#fff;border:1px solid #dce6f6;border-radius:13px;overflow:hidden;box-shadow:0 9px 30px rgba(28,70,138,.09)}
.kt-guest-carousel-slide{animation:kt-guest-slide-appear .3s ease-out both}
@keyframes kt-guest-slide-appear{from{opacity:.25}to{opacity:1}}
.kt-guest-carousel-heading{min-height:105px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:21px 24px 15px;background:#fff}
.kt-guest-carousel-eyebrow{display:block;font-size:10px;letter-spacing:.15em;font-weight:850;color:#2863d9}
.community-html .kt-guest-carousel-heading h2{font-size:26px;line-height:1.2;letter-spacing:-.035em;color:#263b63;margin:7px 0 5px}
.community-html .kt-guest-carousel-heading p{font-size:13px;line-height:1.4;color:#61728f;margin:0}
.kt-guest-carousel-heading .kt-guest-games-count{margin-top:2px}
.kt-guest-community-badge{flex:0 0 auto;margin-top:2px;padding:8px 10px;border-radius:20px;background:#fff1d1;border:1px solid #ffe1a4;color:#9e5600;font-size:10px;font-weight:850;letter-spacing:.05em;white-space:nowrap}
.kt-guest-carousel-art,.kt-guest-community-art{position:relative;width:100%;height:auto;aspect-ratio:1815/867;overflow:hidden}
.kt-guest-carousel-art{position:relative;background:radial-gradient(ellipse at center,#2674c6 0%,#12366e 66%,#0c2352 100%);display:flex;align-items:center;justify-content:center}
/* Both supplied images share virtually the same wide ratio. Use a matching
   frame so the Games title, gold tagline and all five game names stay visible. */
.kt-guest-carousel-art img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center center}
.kt-guest-community-art{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:24px 20px;background:radial-gradient(ellipse at 40% 0%,#5d9cf2 0%,#2866ca 35%,#153a84 74%,#132e65 100%);color:#fff;position:relative}
/* Supplied welcome artwork replaces the previous graphic; contain keeps all three feature captions visible. */
.kt-guest-community-art.kt-guest-community-art-image{display:flex;align-items:center;justify-content:center;gap:0;padding:0;background:radial-gradient(ellipse at center,#075bad 0%,#06408b 56%,#082c6b 100%)}
.kt-guest-community-art.kt-guest-community-art-image:before,.kt-guest-community-art.kt-guest-community-art-image:after{content:none;display:none}
.kt-guest-community-art-image img{display:block;position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:contain;object-position:center}
.kt-guest-community-art:before{content:'';position:absolute;width:240px;height:240px;border:2px solid #ffffff1f;border-radius:50%;top:-145px;right:-60px}
.kt-guest-community-art:after{content:'';position:absolute;width:190px;height:190px;border:2px solid #ffcc4036;border-radius:50%;bottom:-120px;left:-50px}
.kt-guest-community-speech{position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;gap:5px;text-align:center}
.kt-guest-community-speech-icon{width:66px;height:66px;display:grid;place-items:center;background:#ffcf3d;color:#153a84;border:4px solid #fff6;border-radius:22px;box-shadow:0 10px 30px #09275860;margin-bottom:5px}
.kt-guest-community-speech strong{color:#fff;font-size:25px;line-height:1.15;text-shadow:0 2px 10px #0d2b6280}
.kt-guest-community-speech>span:last-child{font-size:13px;color:#f0f7ff;font-weight:650}
.kt-guest-community-features{position:relative;z-index:1;display:flex;align-items:stretch;justify-content:center;gap:10px;width:100%;max-width:550px}
.kt-guest-community-features>div{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;background:#ffffffed;border:1px solid #ffffff;border-radius:11px;padding:13px 7px 11px;color:#193b72;box-shadow:0 5px 15px #09265a29}
.kt-guest-community-feature-icon{display:grid;place-items:center;color:#2565d9}
.kt-guest-community-features strong{font-size:12px;line-height:1.25;font-weight:850}
.kt-guest-carousel-bottom{min-height:116px;padding:15px 22px 17px;background:linear-gradient(180deg,#fff 0%,#f5f9ff 100%)}
.kt-guest-carousel-bottom .kt-guest-games-chips{min-height:28px}
.kt-guest-carousel-action{border-top:1px solid #e8edf6;margin-top:12px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.community-html .kt-guest-carousel-action p{margin:0;color:#566b8f;font-size:12px;line-height:1.35}
.kt-guest-community-summary{font-size:13px;font-weight:800;color:#30569c;min-height:28px;display:flex;align-items:center}
.kt-guest-carousel-controls{min-height:48px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 17px;background:#ecf3ff;border-top:1px solid #d8e5f8}
.kt-guest-carousel-position{font-size:11px;font-weight:850;color:#56709e;min-width:36px}
.kt-guest-carousel-tabs,.kt-guest-carousel-arrows{display:flex;align-items:center;gap:7px}
.community-html .kt-guest-carousel-tab{cursor:pointer;background:#fff;color:#385b97;border:1px solid #ccdbf4;border-radius:20px;padding:7px 13px;font-size:12px;font-weight:800;min-height:32px}
.community-html .kt-guest-carousel-tab.active{color:#fff;background:#2565d9;border-color:#2565d9}
.community-html .kt-guest-carousel-arrows button{cursor:pointer;width:32px;height:32px;display:grid;place-items:center;border:1px solid #cbdaf1;border-radius:50%;background:#fff;color:#2957a9;font-size:24px;line-height:1}
.community-html .kt-guest-carousel :is(button):focus-visible{outline:3px solid #ffba27;outline-offset:2px}
.community-html .kt-guest-carousel :is(button):hover{filter:brightness(.96)}
@media(max-width:560px){
  .kt-guest-carousel-heading{min-height:112px;padding:17px 15px 12px}
  .community-html .kt-guest-carousel-heading h2{font-size:22px}
  .community-html .kt-guest-carousel-heading p{font-size:12px}
  .kt-guest-carousel-heading .kt-guest-games-count,.kt-guest-community-badge{font-size:9px;padding:6px 8px}
  .kt-guest-carousel-art,.kt-guest-community-art{height:auto}
  .kt-guest-community-art{padding:15px 10px;gap:14px}
  .kt-guest-community-speech-icon{height:47px;width:47px;border-radius:15px;margin-bottom:3px}
  .kt-guest-community-speech-icon svg{height:25px;width:25px}
  .kt-guest-community-speech strong{font-size:20px}
  .kt-guest-community-speech>span:last-child{font-size:11px}
  .kt-guest-community-features{gap:6px}
  .kt-guest-community-features>div{padding:9px 4px 8px;gap:5px}
  .kt-guest-community-features strong{font-size:10px}
  .kt-guest-community-feature-icon svg{width:20px;height:20px}
  .kt-guest-carousel-bottom{min-height:116px;padding:12px 15px 14px}
  .kt-guest-carousel-action{gap:8px}
  .community-html .kt-guest-carousel-action p{font-size:11px}
  .kt-guest-carousel-action .kt-guest-games-button{width:auto;padding:9px 11px;font-size:11px;min-height:36px}
  .kt-guest-community-summary{font-size:12px}
  .kt-guest-carousel-controls{padding:8px 10px;gap:5px}
  .community-html .kt-guest-carousel-tab{padding:7px 9px;font-size:11px}
  .kt-guest-carousel-arrows{gap:4px}
  .community-html .kt-guest-carousel-arrows button{width:29px;height:29px}
}
@media(max-width:350px){
  .kt-guest-carousel-heading{flex-wrap:wrap;gap:6px}
  .kt-guest-carousel-heading{min-height:118px}
  .kt-guest-carousel-action{align-items:flex-start;flex-direction:column}
  .kt-guest-carousel-bottom{min-height:142px}
}
@media(prefers-reduced-motion:reduce){.kt-guest-carousel-slide{animation:none}}

/* Guest landing polish — Nov 2026. Scope all new selectors to the guest page. */
/* Keep both slides in the same grid cell: cross-fade without reflow or image jumps. */
.kt-guest-carousel-stage{display:grid;isolation:isolate;overflow:hidden;background:#fff}
.kt-guest-carousel-stage>.kt-guest-carousel-slide{
  grid-area:1/1;min-width:0;opacity:0;visibility:hidden;pointer-events:none;
  animation:none;transition:opacity .52s ease,visibility 0s linear .52s;
}
.kt-guest-carousel-stage>.kt-guest-carousel-slide.is-active{
  opacity:1;visibility:visible;pointer-events:auto;z-index:1;
  transition:opacity .52s ease,visibility 0s linear 0s;
}
/* The thin progress line lasts exactly eight seconds, pausing alongside the timer. */
.kt-guest-carousel-progress{height:4px;background:#dce8ff;overflow:hidden}
.kt-guest-carousel-progress-fill{
  display:block;height:100%;width:100%;transform:scaleX(0);transform-origin:left;
  background:linear-gradient(90deg,#2774f9,#25c7e7 52%,#ffc741);
  animation:kt-guest-progress 8s linear forwards;will-change:transform;
}
.kt-guest-carousel.is-paused .kt-guest-carousel-progress-fill{animation-play-state:paused}
@keyframes kt-guest-progress{to{transform:scaleX(1)}}
.community-html .kt-guest-carousel-arrows button[aria-pressed]{font-size:15px;font-weight:900}
.community-html .kt-guest-carousel-arrows button[aria-pressed="true"]{color:#fff;background:#2b65d8;border-color:#2b65d8}
/* Consistent width and ratio for both banners; text and game labels stay in view. */
.kt-guest-carousel-art,.kt-guest-community-art{aspect-ratio:1815/867}
.kt-guest-carousel-art img,.kt-guest-community-art-image img{object-fit:contain}
/* Guest welcome motion is a low-key glint, never moving the photo or copy. */
.kt-guest-layout .kt-welcome-photo-banner{box-shadow:0 10px 26px #ad66001b}
.kt-guest-layout .kt-welcome-photo-banner::after{
  display:block;content:"";position:absolute;inset:-65% auto -65% -100%;width:52%;height:auto;
  z-index:0;opacity:.13;pointer-events:none;border:0;
  background:linear-gradient(90deg,transparent,#fff 48%,transparent);
  transform:skewX(-16deg);animation:kt-guest-welcome-shimmer 14s ease-in-out infinite;
}
@keyframes kt-guest-welcome-shimmer{0%,20%{left:-100%}50%,100%{left:150%}}
.kt-guest-layout .kt-welcome-photo-banner .kt-banner-copy{animation:kt-guest-welcome-intro .6s ease-out both}
@keyframes kt-guest-welcome-intro{from{opacity:.1;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.kt-guest-layout .kt-welcome-photo-banner .kt-banner-chatrooms{transition:transform .2s ease,box-shadow .2s ease}
.kt-guest-layout .kt-welcome-photo-banner .kt-banner-chatrooms:hover{transform:translateY(-2px);box-shadow:0 5px 15px #68410033}
.kt-guest-layout .kt-welcome-photo-banner .kt-banner-chatrooms:focus-visible{outline:3px solid #204cac;outline-offset:3px}
/* Feature cards live below the carousel rather than making each slide too wordy. */
.kt-guest-feature-showcase{margin:19px 0 0;padding:23px 23px 19px;background:#fff;border:1px solid #dce6f6;border-radius:13px;box-shadow:0 9px 30px rgba(28,70,138,.07)}
.kt-guest-features-head{margin-bottom:17px}
.community-html .kt-guest-features-head h2{margin:7px 0 6px;color:#263b63;font-size:23px;line-height:1.2;letter-spacing:-.025em}
.community-html .kt-guest-features-head p{margin:0;color:#627492;font-size:12px}
.kt-guest-features-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.kt-guest-feature-tile{display:flex;gap:12px;align-items:flex-start;min-width:0;border:1px solid #e2eaf8;border-radius:12px;background:#f7faff;padding:14px 13px;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.kt-guest-feature-tile:hover{transform:translateY(-2px);border-color:#c6d9fb;box-shadow:0 7px 17px #1e5aaf13}
.kt-guest-feature-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;font-size:22px;background:#e2edff}
.kt-guest-feature-games .kt-guest-feature-icon{background:#fff1d7}
.kt-guest-feature-feed .kt-guest-feature-icon{background:#dff7f2}
.kt-guest-feature-forums .kt-guest-feature-icon{background:#f0e8ff}
.kt-guest-feature-profiles .kt-guest-feature-icon{background:#ffe8ed}
.kt-guest-feature-badges .kt-guest-feature-icon{background:#fff2cc}
.kt-guest-feature-premium .kt-guest-feature-icon{background:#fff1cc}
.community-html .kt-guest-feature-tile h3{margin:0 0 5px;color:#274474;font-size:13px;line-height:1.3}
.community-html .kt-guest-feature-tile p{margin:0;font-size:11px;color:#687b96;line-height:1.5}
.kt-guest-feature-tile:last-child{grid-column:1/-1}
.kt-guest-feature-foot{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-top:18px;padding-top:15px;border-top:1px solid #e8edf6}
.kt-guest-feature-foot span{color:#506786;font-weight:650;font-size:12px}
/* More prominent, still lightweight registration invitation. */
.kt-guest-layout .kt-white-auth{border-radius:12px;border-color:#dce6f6;box-shadow:0 8px 27px #23467a0c}
.kt-guest-layout .kt-white-auth h2{line-height:1.22;font-size:21px;letter-spacing:-.025em}
.kt-guest-join-perks{display:flex;gap:7px;flex-wrap:wrap;margin:-3px 0 13px}
.kt-guest-join-perks span{display:inline-flex;padding:6px 9px;font-weight:750;font-size:10px;color:#176545;background:#e8f8f0;border:1px solid #cbead9;border-radius:20px}
.kt-guest-registration-steps{background:#f3f7ff;border:1px solid #dae6fc;border-radius:9px;padding:12px;margin:15px 0 0}
.kt-guest-registration-steps strong{font-size:11px;color:#2858ac}
.community-html .kt-guest-registration-steps p{font-size:11px;color:#5e708f;line-height:1.5;margin:5px 0 0}
.community-html .kt-white-auth .kt-auth-note{line-height:1.6;font-size:11px}
.kt-guest-auth-switch{border:0;background:none;color:#245ed5;text-decoration:underline;text-underline-offset:3px;cursor:pointer;font-size:inherit;font-weight:800;padding:3px 1px}
.kt-guest-auth-switch:hover{color:#153e9d}
.kt-guest-auth-switch:focus-visible{outline:2px solid #245ed5;outline-offset:2px}
.kt-guest-layout .kt-register-button{min-height:43px;font-weight:850}
@media(max-width:720px){
  .kt-guest-feature-showcase{padding:20px 16px}
  .kt-guest-layout .kt-white-auth{width:100%;max-width:none}
}
@media(max-width:560px){
  .kt-guest-features-grid{grid-template-columns:1fr}
  .kt-guest-feature-tile:last-child{grid-column:auto}
  .kt-guest-feature-tile{padding:12px}
  .kt-guest-feature-foot .kt-guest-games-button{width:100%}
  .kt-guest-carousel-progress{height:3px}
}
@media(prefers-reduced-motion:reduce){
  .kt-guest-carousel-stage>.kt-guest-carousel-slide,
  .kt-guest-carousel-stage>.kt-guest-carousel-slide.is-active{transition:none}
  .kt-guest-carousel-progress-fill,.kt-guest-layout .kt-welcome-photo-banner::after,
  .kt-guest-layout .kt-welcome-photo-banner .kt-banner-copy{animation:none}
  .kt-guest-feature-tile,.kt-guest-layout .kt-welcome-photo-banner .kt-banner-chatrooms{transition:none}
}
/* On narrow screens, show registration directly after the carousel, before the
   longer feature list. display:contents promotes the column's sections into the grid. */
@media(max-width:720px){
  .kt-guest-layout>.kt-social-column{display:contents}
  .kt-guest-layout>.kt-social-column>.kt-welcome-photo-banner{order:0}
  .kt-guest-layout>.kt-social-column>.kt-guest-carousel{order:1;margin-top:0}
  .kt-guest-layout>.kt-signup-aside{order:2}
  .kt-guest-layout>.kt-social-column>.kt-guest-feature-showcase{order:3;margin-top:0}
}

/* Public Terms of Service and Community Rules — 20 Nov 2026 */
.kt-header-terms-link{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:9px;border:1px solid #ffffff55;color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:700;white-space:nowrap}
.kt-header-terms-link:hover,.kt-header-terms-link:focus-visible{background:#ffffff24}
.kt-site-legal-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-left:15px;padding-right:15px}
.kt-site-legal-footer a{color:#2858ac!important;text-decoration:underline;text-underline-offset:3px;font-weight:700}
.kt-guest-layout .kt-terms-accept{display:flex;align-items:flex-start;gap:9px;margin:2px 0 14px;font-weight:500;line-height:1.5;cursor:pointer}
.kt-guest-layout .kt-terms-accept input[type="checkbox"]{appearance:auto;display:block!important;flex:0 0 auto;width:17px!important;height:17px!important;margin:2px 0 0!important;padding:0!important;border-radius:4px!important;cursor:pointer;accent-color:#2365ea}
.kt-guest-layout .kt-terms-accept span{display:inline;color:#344b71;font-size:11.5px}
.kt-guest-layout .kt-terms-accept a{color:#1b57ce!important;font-weight:750;text-decoration:underline;text-underline-offset:2px}
.kt-terms-page{padding:34px 18px 68px;width:100%;min-width:0;box-sizing:border-box}
.kt-terms-wrap{max-width:1120px;margin:0 auto}
.kt-terms-hero{color:#fff;padding:32px 38px;border-radius:23px;position:relative;overflow:hidden;background:linear-gradient(116deg,#173568,#1b5bdd 75%,#2b85f6);box-shadow:0 18px 34px #17396822}
.kt-terms-hero::after{content:"";position:absolute;right:-84px;top:-120px;width:350px;height:350px;border:65px solid #ffffff0b;border-radius:50%;pointer-events:none}
.kt-terms-kicker{color:#ffe48d;font-size:11px;font-weight:900;letter-spacing:.16em;margin-bottom:12px}
.community-html .community-app .kt-terms-hero h1{font-size:clamp(26px,3.4vw,41px);color:white;line-height:1.15;margin:0 0 13px;letter-spacing:-.03em;max-width:770px}
.community-html .community-app .kt-terms-hero p{color:#e0ebff;font-size:14px;max-width:690px;line-height:1.65;margin:0 0 20px}
.kt-terms-hero-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.kt-terms-date{font-size:12px;color:#e4ebff;font-weight:700}
.kt-terms-home-button{background:white;color:#1a4ca8;border:0;border-radius:9px;padding:10px 14px;font-size:12px;font-weight:800;cursor:pointer;position:relative;z-index:1}
.kt-terms-grid{display:grid;grid-template-columns:238px minmax(0,1fr);gap:20px;align-items:start;margin-top:20px}
.kt-terms-index{display:flex;flex-direction:column;gap:4px;position:sticky;top:86px;background:white;border:1px solid #dbe4f4;border-radius:17px;padding:19px 16px;box-shadow:0 8px 24px #18365d0b}
.kt-terms-index strong{font-size:13px;color:#1e3a6a;margin:0 8px 9px}
.kt-terms-index a{padding:9px 10px;border-radius:8px;color:#456187!important;font-size:12px;font-weight:650;text-decoration:none!important}
.kt-terms-index a:hover,.kt-terms-index a:focus-visible{background:#eef4ff;color:#1957c4!important}
.kt-terms-body{background:white;border:1px solid #dbe4f4;border-radius:18px;padding:28px 32px;min-width:0;box-shadow:0 8px 24px #18365d0b}
.kt-terms-intro-strip{display:flex;gap:14px;align-items:flex-start;padding:15px 19px;border:1px solid #ffe1a7;background:#fff9eb;border-radius:13px;margin-bottom:23px}
.kt-terms-intro-strip>span{font-size:26px}
.kt-terms-intro-strip strong{font-size:14px;color:#563c13}
.community-html .community-app .kt-terms-intro-strip p{font-size:13px;line-height:1.55;color:#74603d;margin:4px 0 0}
/* Keep selected section headings fully below the 62px sticky site header. */
.kt-terms-section{padding:4px 0 21px;margin:0 0 19px;border-bottom:1px solid #e9edf6;scroll-margin-top:90px}
.kt-terms-section:last-child{margin-bottom:0;border-bottom:0;padding-bottom:0}
.community-html .community-app .kt-terms-section h2{font-size:21px;color:#203c70;margin:0 0 13px;line-height:1.3;letter-spacing:-.02em}
.community-html .community-app .kt-terms-section h3{font-size:14px;color:#2e4f83;margin:13px 0 8px;display:flex;align-items:center;gap:10px;letter-spacing:0}
.community-html .community-app .kt-terms-section p,.community-html .community-app .kt-terms-section li{font-size:13px;color:#4d607e;line-height:1.75}
.community-html .community-app .kt-terms-section p{margin:0 0 12px}
.kt-terms-section ul{padding-left:22px;margin:7px 0 14px}
.kt-terms-section li{padding-left:3px;margin:5px 0}
.kt-terms-rule-group{padding:9px 15px 5px;background:#f7faff;border:1px solid #e7eefb;border-radius:12px;margin-bottom:10px}
.kt-terms-rule-num{display:inline-flex;align-items:center;justify-content:center;background:#e5edff;color:#2a62cf;font-size:11px;border-radius:6px;width:27px;height:27px}
.kt-terms-callout{padding:14px 17px;background:#edf8f4;border:1px solid #d6eee4;border-radius:12px;color:#235e51}
.community-html .community-app .kt-terms-callout p{margin:5px 0 0;color:#416a60}
@media(max-width:800px){.kt-terms-grid{grid-template-columns:minmax(0,1fr)}.kt-terms-index{position:static;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}.kt-terms-index strong{flex-basis:100%}.kt-terms-index a{padding:7px 10px}}
@media(max-width:520px){.kt-terms-page{padding:16px 10px 38px}.kt-terms-hero{padding:23px 18px;border-radius:17px}.kt-terms-body{padding:19px 17px}.kt-terms-grid{gap:12px;margin-top:12px}.kt-terms-index{padding:12px}.kt-terms-index a{font-size:11px}.kt-site-legal-footer{justify-content:center;text-align:center}.kt-header-terms-link{padding:5px 7px;font-size:10px}.kt-terms-hero-bottom{align-items:flex-start}}

/* Registration: review the actual community rules before requesting an email verification code. */
.kt-registration-rules-backdrop{position:fixed;inset:0;z-index:16000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(10,24,55,.72);backdrop-filter:blur(5px);box-sizing:border-box}
.kt-registration-rules-dialog{display:flex;flex-direction:column;width:min(660px,100%);max-height:min(90dvh,790px);min-height:0;background:#fff;border:1px solid #d5e2fa;border-radius:18px;box-shadow:0 25px 100px #07172a77;overflow:hidden;color:#25446f}
.kt-registration-rules-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:21px 25px 15px;background:linear-gradient(115deg,#143879,#1f5dd6);color:white;flex:none}
.kt-registration-rules-step{display:block;font-size:10px;font-weight:850;letter-spacing:.11em;color:#ffd779;margin-bottom:8px}
.community-html .community-app .kt-registration-rules-dialog h2{color:#fff;margin:0 0 6px;font-size:25px;line-height:1.16;letter-spacing:-.02em}
.kt-registration-rules-header h2:focus{outline:none}
.community-html .community-app .kt-registration-rules-header p{color:#e1eaff;margin:0;font-size:12px;line-height:1.5}
.kt-registration-rules-close{border:1px solid #ffffff55;border-radius:9px;background:#ffffff1c;color:#fff;cursor:pointer;font-size:26px;line-height:1;width:33px;height:33px;flex:0 0 33px}
.kt-registration-rules-close:hover,.kt-registration-rules-close:focus-visible{background:#ffffff33}
.kt-registration-rules-scroll{overflow-y:auto;overscroll-behavior:contain;flex:1 1 auto;min-height:100px;padding:18px 24px;scrollbar-color:#a5bae4 #ecf1fa}
.kt-registration-rules-scroll:focus-visible{outline:3px solid #80acf7;outline-offset:-3px}
.kt-registration-rules-golden{padding:12px 14px;border-radius:11px;background:#fff6de;border:1px solid #f4e0a5;color:#6c4c11;font-size:12.5px;font-weight:750;line-height:1.55}
.community-html .community-app .kt-registration-rules-scope{margin:12px 0;font-size:12px;color:#5e708e;line-height:1.55}
.kt-registration-rules-group{border:1px solid #e3eafb;border-radius:12px;background:#f8faff;padding:13px 16px;margin:12px 0}
.community-html .community-app .kt-registration-rules-group h3{display:flex;align-items:center;gap:9px;color:#22487e;font-size:14px;margin:0 0 8px}
.kt-registration-rules-group h3 span{display:inline-grid;place-items:center;border-radius:7px;width:26px;height:26px;color:#215ac0;background:#e4edff;font-size:11px;font-weight:850}
.kt-registration-rules-group ul{margin:0;padding-left:19px}
.community-html .community-app .kt-registration-rules-group li{font-size:12.5px;line-height:1.55;color:#455a79;margin:6px 0}
.community-html .community-app .kt-registration-rules-end{font-size:12px;line-height:1.6;color:#466185;margin:12px 0 1px;font-weight:700}
.kt-registration-rules-footer{padding:13px 24px 18px;border-top:1px solid #e4ebf7;flex:none;background:#fff}
.community-html .community-app .kt-registration-rules-read-state{font-size:11px;margin:0 0 12px;color:#3766b6;font-weight:800}
.kt-registration-rules-accept{display:flex;align-items:flex-start;gap:10px;cursor:pointer;padding:10px 12px;border:1px solid #c9dcf6;background:#f1f7ff;border-radius:10px}
.kt-registration-rules-accept.is-locked{opacity:.7;cursor:default}
.kt-registration-rules-accept input[type="checkbox"]{appearance:auto!important;display:block!important;flex:0 0 18px;width:18px!important;height:18px!important;margin:1px 0 0!important;padding:0!important;accent-color:#2062d8}
.kt-registration-rules-accept span{font-size:12px;line-height:1.45;color:#28476e}
.kt-registration-rules-accept a{color:#195bd2;font-weight:800;text-decoration:underline;text-underline-offset:2px}
.kt-registration-rules-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px}
.kt-registration-rules-back{padding:11px 12px;border:1px solid #d6e0f0;border-radius:9px;color:#33537f;background:white;cursor:pointer;font-weight:750;font-size:12px}
.kt-registration-rules-confirm{padding:12px 16px;border:0;border-radius:9px;color:white;background:#2363e4;font-weight:850;font-size:12px;cursor:pointer}
.kt-registration-rules-confirm:disabled{opacity:.48;cursor:not-allowed}
.kt-registration-rules-confirm:not(:disabled):hover{background:#1849b9}
.kt-registration-rules-back:focus-visible,.kt-registration-rules-confirm:focus-visible,.kt-registration-rules-close:focus-visible{outline:3px solid #8fbaff;outline-offset:2px}
.community-html .community-app .kt-registration-rules-prompt{margin:2px 0 14px;font-size:11.5px;line-height:1.55;color:#4c6589}
.kt-registration-rules-prompt a{color:#2056bd!important;font-weight:800;text-decoration:underline}
@media(max-width:560px){
 .kt-registration-rules-backdrop{padding:8px;align-items:center}
 .kt-registration-rules-dialog{max-height:94dvh;border-radius:13px}
 .kt-registration-rules-header{padding:17px 16px 13px}
 .community-html .community-app .kt-registration-rules-dialog h2{font-size:21px}
 .kt-registration-rules-scroll{padding:13px 14px}
 .kt-registration-rules-footer{padding:12px 14px}
 .kt-registration-rules-actions{flex-direction:column-reverse;align-items:stretch;gap:8px}
 .kt-registration-rules-actions button{width:100%}
}
@media(prefers-reduced-motion:reduce){.kt-registration-rules-backdrop{backdrop-filter:none}}

/* Dedicated Games directory. Game-attached rooms are never listed in Chatrooms. */
.community-html .kt-dedicated-games-page{max-width:1320px;margin:0 auto;padding:28px 23px 58px;min-width:0}
.community-html .kt-dedicated-games-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:30px 38px;border-radius:23px;background:radial-gradient(circle at 80% 18%,#3b8dfb 0,transparent 42%),linear-gradient(120deg,#122a63,#204dbe 66%,#0d84ce);color:white;box-shadow:0 18px 42px #183f9433;overflow:hidden}
.community-html .kt-dedicated-games-eyebrow{font-size:11px;letter-spacing:.18em;color:#93edff;font-weight:850}
.community-html .kt-dedicated-games-hero h1{color:#fff!important;font-size:clamp(30px,4.3vw,48px);line-height:1.07;letter-spacing:-.045em;margin:8px 0 12px}
.community-html .kt-dedicated-games-hero p{max-width:680px;color:#e6f3ff;font-size:15px;line-height:1.55;margin:0}
.community-html .kt-dedicated-games-hero-art{font-size:clamp(65px,11vw,133px);filter:drop-shadow(0 12px 24px #091b4888);line-height:1.1;transform:rotate(9deg);flex:none}
.community-html .kt-dedicated-games-sectionhead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:29px 2px 17px}
.community-html .kt-dedicated-games-sectionhead h2{font-size:24px;color:#1d386e;margin:0 0 4px}
.community-html .kt-dedicated-games-sectionhead p{font-size:13px;color:#7082a2;margin:0}
.community-html .kt-dedicated-games-counter{display:inline-flex;white-space:nowrap;align-items:center;background:#e8efff;color:#285cd2;border:1px solid #d6e5ff;border-radius:25px;padding:8px 13px;font-size:12px;font-weight:800}
.community-html .kt-dedicated-games-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:17px}
.community-html .kt-dedicated-game-card{display:flex;flex-direction:column;min-width:0;border:1px solid #dee8f8;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px #1b396513;transition:transform .18s ease,box-shadow .18s ease}
.community-html .kt-dedicated-game-card:hover{transform:translateY(-3px);box-shadow:0 16px 35px #1b39652c}
.community-html .kt-dedicated-game-art{aspect-ratio:18/11;position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 44%,#6bc8ff,#1761cf 70%,#18387f)}
/* Preserve the uploaded artwork's natural aspect ratio on every screen.
   The image must never be independently stretched to match a card height. */
.community-html .kt-dedicated-game-image{display:block;width:100%;height:auto;max-width:100%;aspect-ratio:auto;object-fit:contain;background:transparent}
.community-html .kt-dedicated-game-card.tone-ludo .kt-dedicated-game-art{background:radial-gradient(circle at 50% 35%,#55b9ff,#1f65df 73%,#153a91)}
.community-html .kt-dedicated-game-card.tone-tanks .kt-dedicated-game-art{background:radial-gradient(circle at 50% 35%,#fcca6d,#e66837 70%,#873733)}
.community-html .kt-dedicated-game-card.tone-scrabble .kt-dedicated-game-art{background:radial-gradient(circle at 50% 35%,#86e6c6,#168878 73%,#145b68)}
.community-html .kt-dedicated-game-card.tone-roulette .kt-dedicated-game-art{background:radial-gradient(circle at 50% 35%,#d6a0ff,#7849cc 73%,#452777)}
.community-html .kt-dedicated-game-card.tone-bingo .kt-dedicated-game-art{background:radial-gradient(circle at 50% 35%,#ffa2d5,#ed4c96 73%,#8b246c)}
.community-html .kt-dedicated-game-orb{font-size:75px;line-height:1;filter:drop-shadow(0 10px 13px #122a5266)}
.community-html .kt-dedicated-game-decoration{position:absolute;top:12px;right:20px;font-size:30px;color:#fff5b8;opacity:.86}
.community-html .kt-dedicated-game-copy{padding:17px 18px 19px;display:flex;flex:1;flex-direction:column;gap:12px}
.community-html .kt-dedicated-game-title{display:flex;justify-content:space-between;align-items:center;gap:7px}
.community-html .kt-dedicated-game-title h3{color:#1b3666;font-size:21px;margin:0;line-height:1.15}
.community-html .kt-dedicated-game-joined{font-size:10px;font-weight:800;color:#16845c;background:#e5faf0;border-radius:30px;padding:5px 8px;white-space:nowrap}
.community-html .kt-dedicated-game-copy p{font-size:12px;line-height:1.55;color:#5f7190;margin:0;min-height:55px}
.community-html .kt-dedicated-game-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto}
.community-html .kt-dedicated-game-meta span{background:#f0f4fc;border-radius:7px;color:#5a7097;padding:5px 7px;font-size:10px;font-weight:750}
.community-html .kt-dedicated-game-enter{width:100%;border:0;border-radius:11px;background:#2567e4;color:#fff;min-height:43px;font-size:13px;font-weight:850;cursor:pointer;padding:9px 13px}
.community-html .kt-dedicated-game-enter:hover{background:#154ebc}
.community-html .kt-dedicated-games-empty{border:2px dashed #c9d8f3;border-radius:20px;background:#fff;padding:38px 20px;text-align:center;color:#5e759c}
.community-html .kt-dedicated-games-empty span{font-size:55px}.community-html .kt-dedicated-games-empty h3{color:#203d73}
.community-html .kt-dedicated-games-footer-note{margin:21px 3px 0;color:#7788a8;font-size:12px}
/* A game session has its own /games/<id> address and room chat inside Games.
   The ordinary Chatrooms pane no longer exposes game-attached rooms. */
.community-html .kt-chat-workspace.kt-games-dedicated-session{grid-template-columns:minmax(0,1fr) 257px}
.community-html .kt-games-dedicated-session .kt-chat-sidebar{display:none!important}
.community-html .kt-games-dedicated-session .kt-chat-conversation{min-width:0}
.community-html .kt-dedicated-games-back{white-space:nowrap;min-height:32px;padding:7px 11px;background:#edf4ff;color:#2a5bbb;border:1px solid #d7e4fa;border-radius:9px;font-size:11px;font-weight:800;cursor:pointer}
.community-html .kt-bottom-games{white-space:nowrap;color:#2b5fc6}
@media(max-width:1180px){.community-html .kt-chat-workspace.kt-games-dedicated-session{grid-template-columns:minmax(0,1fr)}.community-html .kt-games-dedicated-session .kt-chat-people{display:none}}
@media(max-width:720px){.community-html .kt-dedicated-games-page{padding:20px 11px 35px}.community-html .kt-dedicated-games-hero{padding:22px 19px;border-radius:16px;gap:8px}.community-html .kt-dedicated-games-hero-art{font-size:58px}.community-html .kt-dedicated-games-hero p{font-size:12px}.community-html .kt-dedicated-games-sectionhead{align-items:flex-start}.community-html .kt-dedicated-games-sectionhead h2{font-size:21px}.community-html .kt-dedicated-games-sectionhead p{font-size:11px}.community-html .kt-dedicated-games-counter{font-size:10px;padding:6px 9px}.community-html .kt-dedicated-games-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:11px}}
@media(max-width:440px){.community-html .kt-dedicated-games-hero-art{display:none}.community-html .kt-dedicated-games-sectionhead{flex-direction:column;gap:8px}.community-html .kt-dedicated-games-grid{grid-template-columns:1fr}.community-html .kt-dedicated-game-card{flex-direction:column}.community-html .kt-dedicated-game-art{width:100%;min-width:0;aspect-ratio:18/11}.community-html .kt-dedicated-game-orb{font-size:51px}.community-html .kt-dedicated-game-copy{padding:12px;gap:8px}.community-html .kt-dedicated-game-copy p{font-size:11px;min-height:0}.community-html .kt-dedicated-game-title h3{font-size:19px}.community-html .kt-dedicated-game-enter{min-height:37px}}
@media(prefers-reduced-motion:reduce){.community-html .kt-dedicated-game-card{transition:none}.community-html .kt-dedicated-game-card:hover{transform:none}}

/* 2026-11-20: each open game is its own footer tab (not a single Games tab). */
.kt-bottom-tabs .kt-game-tab-group{background:#f2f5ff;border:1px solid #dbe5ff;box-shadow:0 1px 2px #263c6a0a}
.kt-bottom-tabs .kt-game-tab-group .kt-game-session-tab{color:#3156a8;font-weight:850}
.kt-bottom-tabs .kt-game-tab-group .kt-game-session-tab.active{background:#e2ebff;color:#214fca}
.kt-bottom-tabs .kt-game-tab-group .kt-game-session-tab>span{gap:7px}
.kt-bottom-tabs .kt-add-game-tab{min-width:42px;width:42px;flex:0 0 auto;padding:0;display:flex;justify-content:center;align-items:center;color:#315fc5;border:1px solid #dbe5ff;background:#f4f7ff}
.kt-bottom-tabs .kt-add-game-tab:hover{background:#e5edff;color:#2048a4}
@media(max-width:640px){.kt-bottom-tabs .kt-add-game-tab{min-width:36px;width:36px}.kt-bottom-tabs .kt-game-tab-group .kt-game-session-tab>span{gap:4px}}

/* Public SEO links: rendered in the React guest homepage, not merely the no-JS fallback. */
.kt-guest-seo-links{margin:20px 0 22px;background:#fff;border:1px solid #e0ebe4;border-radius:20px;padding:25px;box-shadow:0 8px 24px rgba(22,86,69,.05)}
.kt-guest-seo-links h2{margin:3px 0 9px;font-size:1.45rem;color:#23403a}
.kt-guest-seo-links>p{margin-bottom:18px;font-size:.9rem}
.kt-guest-seo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.kt-guest-seo-link{display:grid;grid-template-columns:1fr auto;gap:2px 6px;align-items:center;background:#f2fbf5;border:1px solid #d9eee0;padding:14px;border-radius:14px;text-decoration:none!important;color:#186f66!important}
.kt-guest-seo-link strong{grid-column:1;font-size:.92rem}.kt-guest-seo-link span{grid-column:1;font-size:.76rem;color:#6b8179}.kt-guest-seo-link b{grid-column:2;grid-row:1/3;font-size:1.2rem}
.kt-guest-seo-link:hover{background:#e5f6eb}
@media(max-width:560px){.kt-guest-seo-grid{grid-template-columns:1fr}.kt-guest-seo-links{padding:18px}}

/* KeepTalking: room userlist usernames stay un-underlined on hover/focus.
   Only applies to the room roster. Blocked-user strike-through is preserved. */
.community-html .kt-chat-person:not(.kt-roster-blocked) .kt-chat-person-name:hover,
.community-html .kt-chat-person:not(.kt-roster-blocked) .kt-chat-person-name:focus-visible {
  text-decoration: none;
}
