/* Ardilla CMS Forum — ARD HUD/UI Interface.
 * Public forum skin. Flexbox only, light/dark theme ready.
 */
.forum-wrap {width: 100%; max-width: 1400px; margin: var(--gap) auto; padding: 0 var(--gap); color: var(--text);}

.forum-wrap,
.forum-wrap * {box-sizing: border-box}
.forum-wrap--narrow {max-width: 1000px}

.forum-wrap a:focus-visible,
.forum-wrap button:focus-visible,
.forum-wrap input:focus-visible,
.forum-wrap select:focus-visible,
.forum-wrap textarea:focus-visible,
.forum-wrap summary:focus-visible,
.modal-overlay a:focus-visible,
.modal-overlay button:focus-visible,
.modal-overlay input:focus-visible,
.modal-overlay textarea:focus-visible {outline: 2px solid var(--br-blue); outline-offset: 3px; box-shadow: var(--shadow-2);}

.purple-theme {--accent-color: var(--c-purple)}
.green-theme {--accent-color: var(--c-green)}
.forum-yellow-theme {--accent-color: var(--c-yellow)}

/* Shared projection surfaces */
.forum-header,
.topic-header,
.stat-header,
.info-header,
.forum-cat-box,
.forum-list-box,
.leaderboard-card,
.widget-hud,
.user-stats-card,
.metric-hud-card,
.info-body-box,
.reply-editor-box,
.post-card,
.legend-section,
.modal-box {--accent-color: var(--c-biruz); position: relative; overflow: hidden; background: var(--bg-glass-white); border: 1px solid var(--br-gray); border-left: 4px solid var(--br-biruz); border-radius: var(--gapm1) 0 var(--gapm1) 0; corner-shape: bevel; box-shadow: var(--shadow-1);}

.forum-header::before,
.topic-header::before,
.stat-header::before,
.info-header::before,
.forum-cat-box::before,
.forum-list-box::before,
.leaderboard-card::before,
.widget-hud::before,
.user-stats-card::before,
.metric-hud-card::before,
.info-body-box::before,
.reply-editor-box::before,
.post-card::before,
.legend-section::before,
.modal-box::before {content: ""; position: absolute; z-index: 1; top: 0; right: 0; width: 78px; height: 3px; background: var(--bg-glass-blue); border-left: 1px solid var(--br-blue); pointer-events: none;}

.forum-header::after,
.topic-header::after,
.stat-header::after,
.info-header::after,
.forum-cat-box::after,
.forum-list-box::after,
.leaderboard-card::after,
.widget-hud::after,
.user-stats-card::after,
.metric-hud-card::after,
.info-body-box::after,
.reply-editor-box::after,
.post-card::after,
.legend-section::after,
.modal-box::after {content: ""; position: absolute; z-index: 1; right: 9px; bottom: 9px; width: 12px; height: 12px; border-right: 2px solid var(--br-biruz); border-bottom: 2px solid var(--br-biruz); pointer-events: none;}

.forum-header > *,
.topic-header > *,
.stat-header > *,
.info-header > *,
.forum-cat-box > *,
.forum-list-box > *,
.leaderboard-card > *,
.widget-hud > *,
.user-stats-card > *,
.metric-hud-card > *,
.info-body-box > *,
.reply-editor-box > *,
.post-card > *,
.legend-section > *,
.modal-box > * {position: relative; z-index: 2;}

.forum-static-card:hover {transform: none}

/* Page command headers */
.forum-header,
.topic-header,
.stat-header,
.info-header {display: flex; align-items: center; justify-content: space-between; gap: var(--gap); margin-bottom: var(--gap); padding: var(--gap); background: var(--bg-glass-darck); border-color: var(--br-biruz);}

.forum-header-info,
.topic-header-title {min-width: 0}

.forum-header h1,
.forum-header-info h1,
.topic-header-title h1,
.stat-header h1,
.info-header h1 {margin: 0 0 var(--gapm3); color: var(--text); font-size: clamp(28px, 4vw, 44px); line-height: 1.05; letter-spacing: 1px; text-transform: uppercase;}

.forum-header p,
.forum-header-info p,
.topic-header-title p,
.stat-header p,
.info-header p {margin: 0; color: var(--text-s); font-size: 13px; line-height: 1.55;}

.topic-header-actions {display: flex; align-items: center; gap: var(--gapm2);}

/* Main/side projection layout */
.forum-layout {display: flex; align-items: flex-start; gap: var(--gap);}

.forum-main {flex: 1;}

.forum-side {display: flex; flex-direction: column; min-width: 280px; max-width: 320px; gap: var(--gap);}

.forum-cat-box,
.forum-list-box,
.leaderboard-card,
.widget-hud,
.post-card {padding: 0}

.forum-cat-box,
.forum-list-box,
.leaderboard-card,
.widget-hud,
.info-body-box,
.reply-editor-box,
.post-card,
.legend-section {margin: 0 0 var(--gap)}

/* Panel headers */
.forum-card-heading,
.forum-cat-title,
.forum-list-header,
.leaderboard-title,
.widget-hud-title {display: flex; position: relative; z-index: 2; align-items: center; justify-content: space-between; gap: var(--gapm2); min-height: 48px; margin: 0; padding: var(--gapm1) var(--gap); background: var(--panel-bg); border-bottom: 1px solid var(--br-blue); color: var(--accent-color, var(--c-blue)); font-size: 18px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;}

.forum-card-heading::before,
.forum-cat-title::before,
.forum-list-header::before,
.leaderboard-title::before,
.widget-hud-title::before,
.reply-editor-title::before {content: "//"; color: var(--c-biruz); font-size: 11px; letter-spacing: 1px;}

.forum-card-heading .icon,
.widget-hud-title .icon {width: 18px; height: 18px; color: inherit;}
.forum-widget-title-link {color: inherit; text-decoration: none;}
.forum-widget-title-link:hover {text-decoration: underline;}

.forum-latest-page {--latest-cyan:var(--c-biruz);--latest-purple:var(--c-purple);max-width:1280px;padding-bottom:32px}
.forum-latest-hero {display:flex;align-items:stretch;justify-content:space-between;gap:20px;margin-top:12px;padding:22px;overflow:hidden;background:linear-gradient(120deg,color-mix(in srgb,var(--bg-color) 91%,var(--latest-cyan)),color-mix(in srgb,var(--bg-color) 92%,var(--latest-purple)));border:1px solid color-mix(in srgb,var(--latest-cyan) 38%,transparent);border-top:3px solid var(--latest-cyan);border-radius:8px 2px;box-shadow:0 16px 42px rgba(18,18,18,.12)}
.forum-latest-hero::before {content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 49%,color-mix(in srgb,var(--latest-cyan) 7%,transparent) 50%,transparent 51%);background-size:36px 100%;pointer-events:none}
.forum-latest-hero-copy {position:relative;z-index:1;display:flex;justify-content:center;flex-direction:column;min-width:0}
.forum-latest-hero-copy>small {color:var(--latest-cyan);font-family:'Tektur',sans-serif;font-size:9px;letter-spacing:1.7px}
.forum-latest-hero h1 {margin:5px 0 6px;color:var(--text);font-size:clamp(25px,4vw,42px);line-height:1.08;text-transform:none}
.forum-latest-hero p {margin:0;color:var(--text-s);font-size:13px}
.forum-latest-hero-status {position:relative;z-index:1;display:flex;align-items:stretch;gap:8px;flex:0 0 auto}
.forum-latest-hero-status>span,.forum-latest-hero-status>a {display:flex;justify-content:center;flex-direction:column;min-width:76px;padding:10px 13px;background:color-mix(in srgb,var(--bg-color) 82%,transparent);border:1px solid var(--c-gray-20);border-top-color:var(--latest-cyan);border-radius:5px 0;text-align:center;text-decoration:none}
.forum-latest-hero-status small {color:var(--text-s);font-size:7px;letter-spacing:1px}
.forum-latest-hero-status strong {margin-top:4px;color:var(--text);font-family:'Tektur',sans-serif;font-size:20px}
.forum-latest-hero-status>a {min-width:110px;border-top-color:var(--latest-purple)}
.forum-latest-hero-status>a strong {color:var(--latest-purple);font-size:11px}
.forum-latest-list {display:grid;counter-reset:latest-topic;gap:10px;margin-top:12px}
.forum-latest-card {position:relative;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:stretch;gap:0;overflow:hidden;padding:0;background:color-mix(in srgb,var(--bg-color) 94%,var(--latest-cyan));border:1px solid var(--c-gray-20);border-top:1px solid color-mix(in srgb,var(--latest-cyan) 42%,transparent);border-radius:7px 2px;box-shadow:0 10px 28px rgba(27,27,27,.07);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.forum-latest-card:hover {transform:translateY(-2px);border-color:color-mix(in srgb,var(--latest-cyan) 55%,transparent);box-shadow:0 16px 38px rgba(67,67,67,.12)}
.forum-latest-index {display:grid;place-items:center;background:linear-gradient(160deg,color-mix(in srgb,var(--latest-cyan) 14%,transparent),color-mix(in srgb,var(--latest-purple) 8%,transparent));border-right:1px solid color-mix(in srgb,var(--latest-cyan) 24%,transparent);color:var(--latest-cyan);font-family:'Tektur',sans-serif;font-size:15px}
.forum-latest-index::before {counter-increment:latest-topic;content:counter(latest-topic,decimal-leading-zero)}
.forum-latest-content {min-width:0;padding:16px 18px}
.forum-latest-route {display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:7px;font-size:9px;letter-spacing:.4px;text-transform:uppercase}
.forum-latest-route a {padding:3px 7px;color:var(--latest-cyan);background:color-mix(in srgb,var(--latest-cyan) 8%,transparent);border:1px solid color-mix(in srgb,var(--latest-cyan) 18%,transparent);border-radius:3px;text-decoration:none}
.forum-latest-route a:last-child {color:var(--latest-purple);background:color-mix(in srgb,var(--latest-purple) 8%,transparent);border-color:color-mix(in srgb,var(--latest-purple) 20%,transparent)}
.forum-latest-route span {color:var(--text-s)}
.forum-latest-card h2 {margin:0 0 9px;font-size:clamp(17px,2.1vw,23px);line-height:1.25;text-transform:none}
.forum-latest-card h2 a {color:var(--text);text-decoration:none;transition:color .2s ease}
.forum-latest-card h2 a:hover {color:var(--latest-cyan)}
.forum-latest-byline {display:flex;flex-wrap:wrap;gap:8px 18px;color:var(--text-s);font-size:11px}
.forum-latest-byline>span,.forum-latest-byline>time {display:flex;align-items:center;gap:6px}
.forum-latest-byline small {color:var(--latest-cyan);font-size:7px;letter-spacing:1px}
.forum-latest-preview {margin:11px 0 0;padding-top:10px;border-top:1px dashed var(--c-gray-20);color:var(--text-s);font-size:12px;line-height:1.65}
.forum-latest-metrics {display:flex;align-items:stretch;flex:0 0 auto;border-left:1px solid var(--c-gray-20)}
.forum-latest-metrics>span {display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:76px;padding:10px;border-right:1px solid var(--c-gray-20)}
.forum-latest-metrics strong {color:var(--text);font-family:'Tektur',sans-serif;font-size:20px}
.forum-latest-metrics small {margin-top:3px;color:var(--text-s);font-size:7px;letter-spacing:.8px}
.forum-latest-metrics>a {display:grid;place-items:center;width:46px;color:var(--latest-cyan);background:color-mix(in srgb,var(--latest-cyan) 7%,transparent);font-size:22px;text-decoration:none;transition:background .2s ease,color .2s ease}
.forum-latest-metrics>a:hover {color:var(--bg-color);background:var(--latest-cyan)}
@media (max-width:820px) {.forum-latest-hero {flex-direction:column}.forum-latest-hero-status {width:100%}.forum-latest-hero-status>* {flex:1 1 90px}.forum-latest-card {grid-template-columns:44px minmax(0,1fr)}.forum-latest-metrics {grid-column:2;justify-content:flex-end;border-top:1px solid var(--c-gray-20);border-left:0}.forum-latest-metrics>span {min-width:72px}}
@media (max-width:520px) {.forum-latest-page {padding-inline:8px}.forum-latest-hero {padding:15px}.forum-latest-hero-status {flex-wrap:wrap}.forum-latest-hero-status>a {flex-basis:100%}.forum-latest-card {grid-template-columns:34px minmax(0,1fr)}.forum-latest-content {padding:13px 11px}.forum-latest-index {font-size:11px;writing-mode:vertical-rl}.forum-latest-metrics>span {min-width:64px;padding:8px 6px}.forum-latest-metrics>a {width:40px}}
.forum-answers-page {max-width:1280px;padding-bottom:32px}
.forum-answers-list {display:grid;counter-reset:answer-card;gap:12px;margin-top:12px}
.forum-answers-page .forum-answer-card {display:grid;grid-template-columns:178px minmax(0,1fr);overflow:hidden;padding:0;background:color-mix(in srgb,var(--bg-color) 92%,var(--c-purple));border:1px solid color-mix(in srgb,var(--c-biruz) 25%,var(--c-gray-20));border-top:2px solid color-mix(in srgb,var(--c-purple) 58%,transparent);border-radius:8px 2px;box-shadow:0 13px 34px rgba(27,27,27,.1);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.forum-answers-page .forum-answer-card:hover {transform:translateY(-2px);border-color:color-mix(in srgb,var(--c-biruz) 55%,transparent);box-shadow:0 18px 42px rgba(59,59,59,.14)}
.forum-answer-author {position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:22px 14px;background:linear-gradient(155deg,color-mix(in srgb,var(--c-biruz) 12%,var(--bg-color)),color-mix(in srgb,var(--c-purple) 10%,var(--bg-color)));border-right:1px solid color-mix(in srgb,var(--c-biruz) 24%,transparent);text-align:center}
.forum-answer-author::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 49%,color-mix(in srgb,var(--c-biruz) 6%,transparent) 50%,transparent 51%);background-size:22px 100%;pointer-events:none}
.forum-answer-number {position:absolute;z-index:1;top:9px;left:10px;color:var(--c-biruz);font-family:'Tektur',sans-serif;font-size:9px;letter-spacing:1px}
.forum-answer-number::before {counter-increment:answer-card;content:"ANS_" counter(answer-card,decimal-leading-zero)}
.forum-answer-author img {position:relative;z-index:1;width:68px;height:68px;object-fit:cover;border:2px solid color-mix(in srgb,var(--c-biruz) 52%,transparent);border-radius:9px 2px;box-shadow:0 0 22px color-mix(in srgb,var(--c-biruz) 14%,transparent)}
.forum-answer-author strong {position:relative;z-index:1;color:var(--text);font-family:'Tektur',sans-serif;font-size:12px}
.forum-answer-author>small {position:relative;z-index:1;color:var(--text-s);font-size:7px;letter-spacing:1px}
.forum-answer-main {min-width:0;padding:16px 18px}
.forum-answer-head {display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:11px;border-bottom:1px dashed color-mix(in srgb,var(--c-biruz) 22%,transparent)}
.forum-answer-head>div {min-width:0}
.forum-answer-topic {display:block;overflow:hidden;color:var(--text);font-family:'Tektur',sans-serif;font-size:17px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap;text-decoration:none}
.forum-answer-topic:hover {color:var(--c-biruz)}
.forum-answer-open {display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;color:var(--c-biruz);background:color-mix(in srgb,var(--c-biruz) 8%,transparent);border:1px solid color-mix(in srgb,var(--c-biruz) 22%,transparent);border-radius:5px 0;font-size:20px;text-decoration:none}
.forum-answer-open:hover {color:var(--bg-color);background:var(--c-biruz)}
.forum-answer-meta {display:flex;flex-wrap:wrap;gap:8px 20px;color:var(--text-s);font-size:11px}
.forum-answer-meta>span,.forum-answer-meta>time {display:flex;align-items:center;gap:6px}
.forum-answer-meta small {color:var(--c-purple);font-size:7px;letter-spacing:1px}
.forum-answer-text {min-height:48px;margin:13px 0;padding:14px 16px;background:color-mix(in srgb,var(--bg-color) 86%,transparent);border:1px solid var(--c-gray-20);border-left:3px solid color-mix(in srgb,var(--c-biruz) 58%,transparent);border-radius:3px;color:var(--text);font-size:13.5px;line-height:1.72}
.forum-answer-footer {display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:11px;border-top:1px dashed var(--c-gray-20)}
.forum-answer-actions {display:flex;justify-content:flex-end;gap:7px}
@media (max-width:720px) {.forum-answers-page {padding-inline:8px}.forum-answers-page .forum-answer-card {grid-template-columns:1fr}.forum-answer-author {align-items:center;justify-content:flex-start;flex-direction:row;padding:14px 15px;border-right:0;border-bottom:1px solid color-mix(in srgb,var(--c-biruz) 24%,transparent);text-align:left}.forum-answer-author img {width:46px;height:46px}.forum-answer-number {right:10px;left:auto}.forum-answer-main {padding:13px 11px}}
@media (max-width:480px) {.forum-answer-footer {align-items:flex-start;flex-direction:column}.forum-answer-actions {width:100%}.forum-answer-actions button {flex:1}.forum-answer-topic {font-size:14px}.forum-answer-open {width:34px;height:34px;flex-basis:34px}}

/* Forum/category rows */
.forum-row {display: flex; position: relative; z-index: 2; align-items: center; gap: var(--gapm1); min-width: 0; padding: var(--gapm1) var(--gap); background: var(--panel-bg); border-bottom: 1px solid var(--br-gray); transition: background .2s ease, transform .2s ease, box-shadow .2s ease;}

.forum-row::before {content: ""; position: absolute; top: 10px; bottom: 10px; left: 0; width: 2px; background: var(--bg-glass-biruz); pointer-events: none;}

.forum-row:last-child {border-bottom: 0}
.forum-row:hover {background: var(--bg-glass-blue); box-shadow: var(--shadow-1); transform: translateX(3px);}

.forum-icon-state,
.legend-icon {display: flex; align-items: center; justify-content: center; flex: 0 0 auto; background: var(--bg-input); border: 1px solid var(--br-biruz); border-radius: var(--gapm3) 0; corner-shape: bevel; box-shadow: var(--shadow-1); color: var(--accent-color, var(--c-blue));}

.forum-icon-state {width: 46px; height: 46px}
.forum-icon-state.is-pinned {background: var(--bg-glass-blue); border-color: var(--br-blue); color: var(--c-purple)}
.legend-icon {width: 34px; height: 34px}
.forum-icon-state .icon {width: 21px; height: 21px}

.forum-info-col {flex: 1 1 260px; min-width: 0;}

.forum-info-col h3 {margin: 0 0 var(--gapm3); color: var(--text); font-size: 15px; line-height: 1.35;}

.forum-info-col h3 a {color: var(--text); transition: color .2s ease}
.forum-info-col h3 a:hover {color: var(--accent-color, var(--c-blue))}
.forum-info-col p {margin: 0; color: var(--text-s); font-size: 12px; line-height: 1.5}

.forum-stats-col {display: flex; flex: 0 0 auto; gap: var(--gapm1); color: var(--text-s); text-align: center; font-size: 11px;}

.forum-stats-col span {min-width: 64px; padding: var(--gapm3) var(--gapm2); background: var(--bg-input); border: 1px solid var(--br-gray); border-radius: var(--gapm4) 0; corner-shape: bevel;}

.forum-stats-col span strong {display: block; margin-bottom: var(--gapm7); color: var(--c-blue); font-size: 17px;}

.forum-last-col {flex: 0 1 230px; min-width: 170px; padding-left: var(--gapm1); border-left: 1px dashed var(--br-gray); color: var(--text-s); font-size: 12px; line-height: 1.45;}

.forum-last-col a {color: var(--c-purple); font-weight: 700}
.forum-last-col a:hover {color: var(--accent-color, var(--c-blue))}
.forum-last-time {display: block; margin-top: var(--gapm6); color: var(--text-lm); font-size: 11px}
.forum-last-author {display: block; color: var(--text); font-weight: 700}

/* Sidebar widgets */
.widget-hud-list,
.user-top-list {position: relative; z-index: 2; margin: 0; padding: var(--gapm3) var(--gapm1); list-style: none;}

.widget-hud-item,
.user-top-item {display: flex; align-items: center; gap: var(--gapm2); padding: var(--gapm1) 0; border-bottom: 1px solid var(--br-gray);}

.widget-hud-item::before,
.user-top-item::before {content: ""; width: 6px; height: 6px; flex: 0 0 auto; background: var(--accent-glow); border: 1px solid var(--br-biruz); border-radius: 50%; box-shadow: var(--shadow-1);}

.widget-hud-item:last-child,
.user-top-item:last-child {border-bottom: 0}
.widget-hud-details {min-width: 0}
.widget-hud-item a {color: var(--text); font-size: 12px; font-weight: 700}
.widget-hud-item a:hover {color: var(--accent-color, var(--c-blue))}
.widget-hud-meta {display: flex; flex-wrap: wrap; gap: var(--gapm5) var(--gapm2); margin-top: var(--gapm5); color: var(--text-s); font-size: 11px}

/* User card */
.user-stats-card {margin: 0; padding: var(--gapm1)}
.user-stats-header {display: flex; align-items: center; gap: var(--gapm1); margin-bottom: var(--gapm1)}
.user-stats-avatar {width: 54px; height: 54px; border: 2px solid var(--br-blue); border-radius: 50%; box-shadow: var(--shadow-1); object-fit: cover}
.user-stats-name h4 {margin: 0; color: var(--text); font-size: 15px}
.role-badge {display: inline-flex; margin-top: var(--gapm6); padding: var(--gapm7) var(--gapm2); background: var(--bg-glass-biruz); border: 1px solid var(--br-biruz); border-radius: 10px 0; corner-shape: bevel; color: var(--accent-color); font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase}

.user-stats-list,
.legend-list,
.photo-list,
.metrics-list,
.leaderboard-list {display: flex; flex-wrap: wrap; gap: var(--gapm2);}

.user-stats-list > * {flex: 1 1 120px}
.legend-list > * {flex: 1 1 220px}
.photo-list > * {flex: 1 1 80px}
.metrics-list > * {flex: 1 1 220px}
.leaderboard-list > * {flex: 1 1 300px}

.user-stat-val {padding: var(--gapm2); background: var(--bg-input); border: 1px solid var(--br-gray); border-left: 2px solid var(--br-biruz); border-radius: var(--gapm3) 0; corner-shape: bevel; color: var(--text-s); font-size: 11px;}

.user-stat-val strong {display: block; margin-top: var(--gapm6); color: var(--text); font-size: 17px}
.medals-list {display: flex; flex-wrap: wrap; gap: var(--gapm3); margin-top: var(--gapm2)}
.medal-badge {display: inline-flex; align-items: center; gap: var(--gapm5); padding: var(--gapm5) var(--gapm1); background: var(--bg-input); border: 1px solid var(--br-gray); border-radius: 10px 0; corner-shape: bevel; color: var(--text-s); font-size: 11px}
.medals-list-none {color: var(--text-lm); font-size: 11px; font-style: italic}

/* Home legend/statistics */
.legend-section {padding: var(--gap)}
.legend-section .big-zag {margin-top: 0; color: var(--text)}
.legend-item {display: flex; align-items: center; gap: var(--gapm2); color: var(--text-s); font-size: 12px; line-height: 1.45}

.stats-bar {display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: var(--gapm2); margin-top: var(--gap); padding: var(--gapm1); background: var(--bg-glass-biruz); border: 1px solid var(--br-blue); border-left: 4px solid var(--br-biruz); border-radius: var(--gapm1) 0; corner-shape: bevel; box-shadow: var(--shadow-1);}

.stats-bar-item {display: flex; align-items: center; flex: 1 1 150px; gap: var(--gapm2); min-height: 48px; padding: var(--gapm2) var(--gapm1); background: var(--bg-input); border: 1px solid var(--br-gray); border-radius: var(--gapm3) 0; corner-shape: bevel; color: var(--text-s); font-size: 12px;}

.stats-bar-item .icon {width: 19px; height: 19px; color: var(--c-blue)}
.stats-bar-item strong {color: var(--text); font-size: 19px}

.photos-item {position: relative; min-width: 70px; max-width: 110px; aspect-ratio: 1; overflow: hidden; background: var(--bg-input); border: 1px solid var(--br-gray); border-radius: var(--gapm3) 0; corner-shape: bevel; box-shadow: var(--shadow-1)}
.photos-item img {width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease}
.photos-item:hover img {transform: scale(1.06)}

.user-top-avatar,
.leaderboard-avatar {width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid var(--br-blue); border-radius: 50%; object-fit: cover}
.user-top-details {flex: 1 1 auto; min-width: 0}
.user-top-details h5 {margin: 0; color: var(--text); font-size: 12px}
.user-top-details h5 a {color: inherit; text-decoration: none}
.user-top-details h5 a:hover, .user-top-details h5 a:focus-visible {color: var(--accent, #707070); text-decoration: underline}
.user-top-details span {color: var(--text-lm); font-size: 11px}
.user-top-score {color: var(--accent-color, var(--c-blue)); font-size: 14px; font-weight: 800}

/* Statistics cards */
.metric-hud-card {display: flex; flex-direction: column; justify-content: center; min-height: 150px; padding: var(--gap); background: var(--bg-glass-blue); border-color: var(--br-blue); text-align: center;}

.metric-hud-card::after {width: 18px; height: 18px}
.metric-hud-title {margin-bottom: var(--gapm2); color: var(--text-s); font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase}
.metric-hud-value {color: var(--text); font-size: clamp(34px, 5vw, 48px); line-height: 1; font-weight: 800}
.forum-metric-note {margin-top: var(--gapm3); color: var(--text-s); font-size: 11px}

.leaderboard-card {min-width: 0}
.leaderboard-row {display: flex; align-items: center; gap: var(--gapm2); padding: var(--gapm2) var(--gapm1); background: var(--panel-bg); border-bottom: 1px solid var(--br-gray); transition: background .2s ease}
.leaderboard-row:hover {background: var(--bg-glass-blue)}
.leaderboard-row:last-child {border-bottom: 0}
.leaderboard-rank {display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 auto; background: var(--bg-input); border: 1px solid var(--br-gray); border-radius: var(--gapm4) 0; corner-shape: bevel; color: var(--text-lm); font-size: 14px; font-weight: 800}
.leaderboard-rank.rank-1 {color: var(--c-yellow); border-color: var(--br-biruz)}
.leaderboard-rank.rank-2 {color: var(--c-gray)}
.leaderboard-rank.rank-3 {color: var(--c-biruz)}
.leaderboard-name {flex: 1 1 auto; min-width: 0; color: var(--text); font-size: 12px; font-weight: 700}
.leaderboard-score {color: var(--accent-color, var(--c-blue)); font-size: 16px; font-weight: 800}
.forum-card-content {padding: 0}

/* Topic activity and posts */
.active-users-bar {margin-bottom: var(--gap); padding: var(--gapm2) var(--gapm1); background: var(--bg-input); border: 1px solid var(--br-biruz); border-left: 4px solid var(--br-biruz); border-radius: var(--gapm3) 0; corner-shape: bevel; box-shadow: var(--shadow-1); color: var(--text-s); font-size: 12px;}

.active-users-list {float:right;}
.active-user-avatar {width: 28px; height: 28px; margin-left: calc(var(--gapm3) * -1); background: var(--bg-color); border: 2px solid var(--br-gray); border-radius: 50%; object-fit: cover}
.active-user-avatar:first-child {margin-left: 0}
.posts-list {display: flex; flex-direction: column; gap: var(--gap)}

.post-card {display: flex; margin: 0; border-left-color: var(--br-biruz);}

.post-author-col {display: flex; flex: 0 0 180px; flex-direction: column; align-items: center; padding: var(--gap) var(--gapm1); background: var(--bg-glass-blue); border-right: 1px solid var(--br-blue); text-align: center;}
.post-author-avatar {width: 74px; height: 74px; margin-bottom: var(--gapm2); background: var(--bg-input); border: 2px solid var(--br-biruz); border-radius: 50%; box-shadow: var(--shadow-2); object-fit: cover}
.post-author-name {display: block; max-width: 100%; color: var(--text); font-size: 14px; font-weight: 800; overflow-wrap: anywhere}
.post-author-title {display: inline-flex; margin: var(--gapm5) 0 var(--gapm2); padding: var(--gapm7) var(--gapm2); background: var(--bg-glass-biruz); border: 1px solid var(--br-biruz); border-radius: 10px 0; corner-shape: bevel; color: var(--accent-color, var(--c-blue)); font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase}
.post-author-stats {display: flex; flex-direction: column; gap: 5px; width: 100%; padding-top: var(--gapm2); border-top: 1px dashed var(--br-gray); color: var(--text-s); text-align: left; font-size: 11px}
.post-author-stats strong {color: var(--text)}

.post-content-col {display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; padding: var(--gap)}
.post-meta-row {display: flex; justify-content: space-between; margin-bottom: var(--gapm1); padding-bottom: var(--gapm2); border-bottom: 1px solid var(--br-gray); color: var(--text-lm); font-size: 11px; letter-spacing: .4px}
.post-text {min-height: 90px; color: var(--text); font-size: 14px; line-height: 1.75; overflow-wrap: anywhere}
.post-text img,
.forum-post-image {display: block; max-width: 100%; height: auto; margin: var(--gapm2) 0; border: 1px solid var(--br-gray); border-radius: var(--gapm3) 0; corner-shape: bevel; box-shadow: var(--shadow-1)}
.post-actions-row {display: flex; justify-content: flex-end; gap: var(--gapm1); margin-top: var(--gapm1); padding-top: var(--gapm2); border-top: 1px solid var(--br-gray)}

.like-btn {display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: var(--gapm4) var(--gapm2); background: var(--bg-input); border: 1px solid var(--br-gray); border-radius: var(--gapm4) 0; corner-shape: bevel; color: var(--text-s); font-size: 12px; font-weight: 700; cursor: pointer; transition: color .2s ease, transform .2s ease, border-color .2s ease;}

.like-btn:hover {color: var(--c-red); border-color: var(--br-biruz); transform: translateY(-1px)}
.like-btn.liked {color: var(--c-red); background: var(--bg-glass-biruz); border-color: var(--br-biruz)}
.like-btn svg {width: 18px; height: 18px}

/* Information and editor panels */
.reply-editor-box,
.info-body-box {padding: var(--gap)}
.reply-editor-box .reply-editor-title {margin: calc(var(--gap) * -1) calc(var(--gap) * -1) var(--gap)}
.form-group {margin-bottom: var(--gapm1)}
.form-group label {display: block; margin-bottom: var(--gapm3); color: var(--text); font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase}

.form-group input,
.form-group textarea {width: 100%; padding: var(--gapm2) var(--gapm1); background: var(--bg-input); border: 1px solid var(--br-biruz); border-radius: var(--gapm3) 0; corner-shape: bevel; color: var(--text); font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease;}

.form-group input:hover,
.form-group textarea:hover {border-color: var(--br-blue)}
.form-group textarea {min-height: 130px; resize: vertical}

.forum-reply-actions,
.form-actions {display: flex; align-items: flex-start; justify-content: space-between; gap: var(--gapm1); margin-top: var(--gapm1)}

.photo-upload-btn {display: inline-flex; position: relative; align-items: center; gap: var(--gapm3); padding: var(--gapm1) var(--gap); background: var(--bg-input); border: 1px dashed var(--br-blue); border-radius: var(--gapm3) 0; corner-shape: bevel; color: var(--c-purple); font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s ease, box-shadow .2s ease}
.photo-upload-btn:hover {background: var(--bg-glass-blue); box-shadow: var(--shadow-1)}
.photo-upload-btn:focus-within {outline: 2px solid var(--br-blue); outline-offset: 3px; box-shadow: var(--shadow-2)}
.photo-preview-container {display: flex; flex-wrap: wrap; gap: var(--gapm2); margin-top: var(--gapm2)}
.photo-preview-item {position: relative; width: 82px; height: 82px; overflow: hidden; background: var(--bg-input); border: 1px solid var(--br-gray); border-radius: var(--gapm3) 0; corner-shape: bevel; box-shadow: var(--shadow-1)}
.photo-preview-item img {width: 100%; height: 100%; object-fit: cover}
.photo-preview-remove {display: flex; position: absolute; top: 3px; right: 3px; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; background: var(--bg-glass-gray); border: 1px solid var(--br-gray); border-radius: 50%; color: var(--c-red); font-size: 11px; cursor: pointer}
.forum-file-input {position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap}

/* Pagination */
.pagination-container {display: flex; justify-content: center; flex-wrap: wrap; gap: var(--gapm3); margin-top: var(--gap)}
.pagination-btn {display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: var(--gapm3) var(--gapm1); background: var(--bg-input); border: 1px solid var(--br-biruz); border-radius: var(--gapm4) 0; corner-shape: bevel; color: var(--text-s); font-size: 12px; font-weight: 700; transition: background .2s ease, color .2s ease, box-shadow .2s ease}
.pagination-btn:hover,
.pagination-btn.active {background: var(--bg-glass-blue); border-color: var(--br-blue); box-shadow: var(--shadow-2); color: var(--c-blue)}

/* Topic creation modal */
.modal-overlay {display: flex; position: fixed; z-index: 9999; inset: 0; align-items: center; justify-content: center; padding: var(--gap); background: var(--bg-glass-gray); backdrop-filter: blur(7px); opacity: 0; pointer-events: none; transition: opacity .25s ease;}

.modal-overlay.show {opacity: 1; pointer-events: auto}
.modal-box {width: min(100%, 620px); padding: var(--gap); background: var(--panel-bg); border-color: var(--br-blue); box-shadow: var(--shadow-3); transform: translateY(12px) scale(.98); transition: transform .25s ease}
.modal-overlay.show .modal-box {transform: translateY(0) scale(1)}
.modal-title {margin-bottom: var(--gapm1); padding: 0 var(--gapb1) var(--gapm2) 0; border-bottom: 1px solid var(--br-blue); color: var(--accent-color, var(--c-blue)); font-size: 22px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase}

/* Utility states */
.forum-empty-state {padding: var(--gapb2) var(--gap); color: var(--text-s); text-align: center; font-size: 12px}
.forum-pinned-badge {display: inline-flex; margin-right: var(--gapm4); padding: var(--gapm7) var(--gapm4); background: var(--bg-glass-blue); border: 1px solid var(--br-blue); border-radius: 3px 0; corner-shape: bevel; color: var(--c-purple); font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase}
.forum-widget-empty {padding: var(--gapm1); color: var(--text-lm); text-align: center; font-size: 11px}
.forum-rule-text {padding: var(--gapm2) var(--gapm1); color: var(--text-s); font-size: 12px; line-height: 1.6}
.forum-text-center {text-align: center}
.forum-help-text {margin: var(--gapm2) 0; color: var(--text-s); font-size: 12px}
.forum-button-block {width: 100%; justify-content: center}
.forum-button-success {--btc: var(--c-green); --btxt: var(--text)}
.forum-button-contrast {--btxt: var(--text)}
.forum-widget-excerpt {margin: var(--gapm6) 0 0; color: var(--text-s); font-size: 11px}
.forum-color-purple {color: var(--c-purple)}
.forum-color-green {color: var(--c-green)}
.forum-color-yellow {color: var(--c-yellow)}
.forum-topic-link {color: var(--c-blue); font-weight: 800}
.forum-icon-sm {width: 17px; height: 17px; color: var(--c-blue)}
.forum-medals-centered {justify-content: center}
.forum-medal-compact {padding: var(--gapm7) var(--gapm4); font-size: 11px}
.photo-upload-btn .icon,
.forum-photo-icon,
.info-body-box summary > .icon {width: 16px; height: 16px; flex: 0 0 auto}

@media (prefers-reduced-motion: reduce) {.forum-wrap *,.forum-wrap *::before,.forum-wrap *::after,.modal-overlay,.modal-box {    scroll-behavior: auto !important;     transition-duration: .01ms !important;     animation-duration: .01ms !important;     animation-iteration-count: 1 !important; }
}

@media (max-width: 1100px) {.forum-layout {flex-direction: column}.forum-main,.forum-side {width: 100%; min-width: 0}.forum-side {flex-basis: auto}
}

@media (max-width: 760px) {.forum-wrap {padding: 0 var(--gapm2)}.forum-header,.topic-header,.stat-header,.info-header {align-items: flex-start; flex-direction: column}.topic-header-actions {width: 100%; justify-content: flex-start}.forum-row {align-items: flex-start; flex-wrap: wrap}.forum-info-col {flex-basis: calc(100% - 65px)}.forum-stats-col {width: 100%; justify-content: flex-start; padding-left: var(--gapb3)}.forum-last-col {width: 100%; min-width: 0; margin-left: var(--gapb3); padding: var(--gapm2) 0 0; border-top: 1px dashed var(--br-gray); border-left: 0}.post-card {flex-direction: column}.post-author-col {flex: 0 0 auto; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: var(--gapm2); border-right: 0; border-bottom: 1px solid var(--br-blue); text-align: left}.post-author-avatar {width: 54px; height: 54px; margin: 0}.post-author-stats {flex-basis: 100%; flex-direction: row; flex-wrap: wrap; gap: 8px 15px}.forum-reply-actions,.form-actions {align-items: stretch; flex-direction: column}.forum-reply-actions > *,.form-actions > * {width: 100%}
}

@media (max-width: 480px) {.forum-wrap {padding: 0 var(--gapm2)}.forum-header,.topic-header,.stat-header,.info-header,.reply-editor-box,.info-body-box {padding: var(--gapm1)}.forum-header h1,.forum-header-info h1,.topic-header-title h1,.stat-header h1,.info-header h1 {font-size: 25px}.forum-card-heading,.forum-cat-title,.forum-list-header,.leaderboard-title,.widget-hud-title {align-items: flex-start; flex-direction: column; font-size: 16px}.forum-info-col {flex-basis: 100%}.forum-stats-col {padding-left: 0}.forum-stats-col span {flex: 1 1 90px}.forum-last-col {margin-left: 0}.forum-icon-state {width: 38px; height: 38px}.post-content-col {padding: var(--gapm1)}.active-users-bar {align-items: flex-start}.modal-overlay {padding: var(--gapm2)}.modal-box {padding: var(--gapm1)}
}

/* Topic view — compact control HUD, aligned with the admin user editor. */
.forum-topic-page .forum-wrap {--topic-cyan: var(--c-biruz); --topic-purple: var(--c-purple); --topic-line: rgba(174,174,174,.22); --topic-panel: var(--bg-glass-white); max-width: 1280px;}

.forum-topic-page .topic-control-hero {display: flex; align-items: stretch; gap: 14px; overflow: visible; padding: 16px; background: linear-gradient(115deg,var(--topic-panel),rgba(174,174,174,.045)); border: 1px solid var(--c-gray-20); border-top: 2px solid rgba(174,174,174,.42); border-left-width: 1px; border-radius: 6px 2px; corner-shape: bevel; box-shadow: 0 8px 24px rgba(36,36,36,.04);}


.forum-topic-page .topic-control-hero::before,.forum-topic-page .topic-control-hero::after {display:none}
.forum-topic-page .topic-header-title {display:flex;flex:1 1 auto;flex-direction:column;justify-content:center}
.forum-topic-page .topic-system-label {color:var(--topic-cyan);font-family:'Tektur',sans-serif;font-size:8px;letter-spacing:1.25px}
.forum-topic-page .topic-header-title h1 {margin:3px 0 7px;font-size:clamp(22px,3vw,34px);letter-spacing:.2px;text-transform:none}
.forum-topic-page .topic-hero-badges {display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.forum-topic-page .topic-hero-badges>a,.forum-topic-page .topic-hero-badges>span {display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:23px;padding:3px 8px;color:var(--c-gray);background:var(--c-gray-10);border:1px solid var(--c-gray-20);border-radius:4px 0;corner-shape:bevel;font-size:9px;text-decoration:none}
.forum-topic-page .topic-hero-badges>a:hover {color:var(--topic-cyan);border-color:var(--topic-line)}
.forum-topic-page .topic-hero-badges .icon {width:12px;height:12px;color:var(--topic-cyan);fill:none;stroke:currentColor}
.forum-topic-page .topic-hero-metrics>span {padding:8px 10px;background:rgba(255,255,255,.22);border:1px solid var(--c-gray-20);border-top-color:rgba(174,174,174,.45);border-radius:4px 0;corner-shape:bevel}
.forum-topic-page .topic-hero-metrics small {color:var(--c-gray);font-size:7px;letter-spacing:.8px}
.forum-topic-page .topic-hero-metrics strong {color:var(--text);font-family:'Tektur',sans-serif;font-size:16px}
.forum-topic-page .topic-header-actions {align-self:stretch}
.forum-topic-page .topic-header-actions .like-btn {height:100%;min-width:62px;justify-content:center;flex-direction:column;border-color:var(--c-gray-20)}
.forum-topic-page .topic-hero-back {display:flex;align-items:center;align-self:stretch;justify-content:center;flex:0 0 82px;flex-direction:column;gap:5px;color:var(--c-gray);background:var(--c-gray-10);border:1px solid var(--c-gray-20);border-radius:5px 0;corner-shape:bevel;text-decoration:none;font-size:9px}
.forum-topic-page .topic-hero-back:hover {color:var(--topic-cyan);background:rgba(174,174,174,.07);border-color:rgba(174,174,174,.35)}
.forum-topic-page .topic-hero-back .icon {width:20px;height:20px;fill:none;stroke:currentColor}

.forum-topic-page .active-users-bar {margin-bottom:10px;padding:8px 11px;background:var(--topic-panel);border:1px solid var(--topic-line);border-radius:5px 0;box-shadow:none;font-size:10px}
.forum-topic-page .posts-list {gap:10px}
.forum-topic-page .post-card {overflow:hidden;background:var(--topic-panel);border:1px solid var(--c-gray-20);border-top:2px solid rgba(174,174,174,.38);border-left-width:1px;border-radius:6px 2px;box-shadow:0 8px 24px rgba(36,36,36,.035)}
.forum-topic-page .post-card::before,.forum-topic-page .post-card::after {display:none}
.forum-topic-page .post-author-col {flex-basis:168px;padding:16px 12px;background:linear-gradient(145deg,rgba(174,174,174,.065),var(--c-gray-10));border-color:var(--topic-line)}
.forum-topic-page .post-author-avatar {width:64px;height:64px;margin-bottom:8px;border-radius:8px 2px;corner-shape:bevel;box-shadow:0 0 16px rgba(174,174,174,.09)}
.forum-topic-page .post-author-name {font-family:'Tektur',sans-serif;font-size:13px}
.forum-topic-page .post-author-title {margin:4px 0 9px;padding:2px 7px;border-radius:4px 0;font-size:9px}
.forum-topic-page .post-author-stats {gap:4px;padding-top:9px;font-size:9px}
.forum-topic-page .post-content-col {padding:16px}
.forum-topic-page .post-meta-row {align-items:center;margin-bottom:12px;padding-bottom:10px;border-bottom:1px dashed var(--topic-line)}
.forum-topic-page .post-meta-row>span {display:flex;flex-direction:column}
.forum-topic-page .post-meta-row strong {color:var(--text);font-family:'Tektur',sans-serif;font-size:12px}
.forum-topic-page .post-meta-row time > small {color:var(--topic-cyan);font-family:'Tektur',sans-serif;font-size:7px;letter-spacing:1.1px}
.forum-topic-page .post-meta-row time .icon {width:13px;height:13px;color:var(--topic-cyan);fill:none;stroke:currentColor}
.forum-topic-page .post-text {font-size:13.5px;line-height:1.7}
.forum-topic-page .post-actions-row {border-top:1px dashed var(--topic-line)}
.forum-topic-manage-actions {display:flex;flex-wrap:wrap;gap:7px;margin-left:auto}
.forum-topic-delete {color:var(--c-red);border-color:color-mix(in srgb,var(--c-red) 45%,transparent)}
.forum-topic-edit-modal {max-width:720px}
.forum-topic-edit-modal form {display:grid;gap:14px}
.forum-topic-edit-modal label {display:grid;gap:6px}
.forum-topic-edit-modal input,.forum-topic-edit-modal textarea {box-sizing:border-box;width:100%}
.forum-topic-edit-actions {display:flex;justify-content:flex-end;gap:9px}
.forum-reply-edit-form {margin-top:12px;padding:12px;background:var(--c-gray-10);border:1px solid var(--topic-line);border-radius:5px}
.forum-reply-edit-form[hidden] {display:none}
.forum-reply-edit-form textarea {box-sizing:border-box;width:100%;margin-bottom:9px}

.forum-topic-page .topic-reply-panel {margin-top:10px;padding:16px;background:var(--topic-panel);border:1px solid var(--c-gray-20);border-top:2px solid rgba(100,100,100,.48);border-left-width:1px;border-radius:6px 2px;box-shadow:0 8px 24px rgba(36,36,36,.035)}
.forum-topic-page .topic-reply-panel::before,.forum-topic-page .topic-reply-panel::after {display:none}
.forum-topic-page .topic-reply-panel .reply-editor-title {min-height:0;margin:0 0 14px;padding:0 0 11px;background:transparent;border-bottom:1px dashed rgba(100,100,100,.25);color:var(--text);font-family:'Tektur',sans-serif;font-size:14px;text-transform:none}
.forum-topic-page .topic-reply-panel .reply-editor-title::before {display:none}
.forum-topic-page .topic-reply-panel .reply-editor-title>.icon {width:20px;height:20px;color:var(--topic-purple);fill:none;stroke:currentColor}
.forum-topic-page .topic-reply-panel .reply-editor-title small {display:block; width:100%; color:var(--topic-purple);font-size:7px;letter-spacing:1.2px}
.forum-topic-page .topic-reply-panel .form-group {padding:11px;background:var(--c-gray-10);border:1px solid var(--c-gray-10);border-radius:4px}
.forum-topic-page .topic-reply-panel .form-group:focus-within {background:rgba(100,100,100,.035);border-color:rgba(100,100,100,.22)}
.forum-editor-toolbar {position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:9px;padding-bottom:9px;border-bottom:1px solid var(--c-gray-20)}
.forum-editor-toolbar>button,.forum-editor-color {min-height:34px;padding:5px 10px;background:var(--bg-color);border:1px solid var(--c-gray-20);border-radius:4px;color:var(--text);cursor:pointer;font:inherit}
.forum-editor-toolbar>button:hover,.forum-editor-color:hover {border-color:var(--topic-purple);color:var(--topic-purple)}
.forum-editor-color input {width:14px;height:14px;padding:0;border:0;background:transparent;cursor:pointer}
.forum-emoticon-picker {position:absolute;z-index:20;top:45px;left:0;display:grid;grid-template-columns:repeat(5,42px);gap:5px;max-height:230px;padding:9px;overflow:auto;background:var(--bg-color);border:1px solid var(--c-gray-20);border-radius:6px;box-shadow:0 12px 30px rgba(0,0,0,.18)}
.forum-emoticon-picker[hidden] {display:none}
.forum-emoticon-picker button {display:grid;place-items:center;width:42px;height:42px;padding:4px;background:transparent;border:1px solid transparent;border-radius:4px;cursor:pointer}
.forum-emoticon-picker button:hover {border-color:var(--topic-purple);background:var(--c-gray-10)}
.forum-emoticon-picker img {width:30px;height:30px;object-fit:contain;vertical-align:middle}
.forum-emoticon {display:inline-block!important; vertical-align:middle; border:none!important; margin:0 4px!important;}
.forum-post-heading {margin:12px 0 8px;font-size:1.3em}
.forum-topic-page .topic-reply-panel textarea {box-sizing:border-box;border-color:var(--c-gray-20);border-radius:4px}
.forum-topic-page .forum-reply-actions {position:sticky;z-index:3;bottom:10px;align-items:center;margin-top:10px;padding:10px 12px;background:color-mix(in srgb,var(--bg) 88%,transparent);border:1px solid rgba(159,159,159,.3);border-radius:5px 0;corner-shape:bevel;box-shadow:0 12px 35px rgba(0,0,0,.15);backdrop-filter:blur(12px)}
.forum-editor-toolbar > label {margin:0;padding-top:9px;}
[data-theme="dark"] .forum-topic-page .topic-control-hero,[data-theme="dark"] .forum-topic-page .post-card,[data-theme="dark"] .forum-topic-page .topic-reply-panel,[data-theme="dark"] .forum-topic-page .active-users-bar {background-color:rgba(14,14,14,.78)}

@media (max-width:900px) {
    .forum-topic-page .topic-control-hero {flex-wrap:wrap}
    .forum-topic-page .topic-header-title {flex-basis:100%}
    .forum-topic-page .topic-hero-metrics {flex:1 1 auto;order:2}
    .forum-topic-page .topic-header-actions {order:3}
    .forum-topic-page .topic-hero-back {order:4}
}
@media (max-width:680px) {
    .forum-topic-page .topic-control-hero {padding:11px}
    .forum-topic-page .topic-hero-metrics {width:100%;flex-basis:100%}
    .forum-topic-page .topic-hero-metrics>span {flex:1 1 80px}
    .forum-topic-page .topic-header-actions {flex:1 1 auto}
    .forum-topic-page .topic-header-actions .like-btn {width:100%;min-height:40px;flex-direction:row}
    .forum-topic-page .topic-hero-back {min-height:40px;flex:1 1 auto;flex-direction:row}
    .forum-topic-page .post-author-col {flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:8px;text-align:left}
    .forum-topic-page .post-author-avatar {width:50px;height:50px;margin:0}
    .forum-topic-page .post-author-stats {flex-basis:100%;flex-direction:row;flex-wrap:wrap}
    .forum-topic-page .post-content-col,.forum-topic-page .topic-reply-panel {padding:11px}
    .forum-topic-page .forum-reply-actions {align-items:stretch;flex-direction:column}
}
.forum-search-box{padding:14px}.forum-search-box>label{display:block;margin-bottom:9px;color:var(--text);font-size:12px;font-weight:800;letter-spacing:.4px;text-transform:uppercase}.forum-search-box>div{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:42px;padding:0 7px 0 12px;border:1px solid var(--br-blue);border-radius:9px;background:var(--panel-bg)}.forum-search-box>div>.icon{width:17px;height:17px;color:var(--c-blue)}.forum-search-box input{min-width:0;height:40px;border:0;outline:0;background:transparent;color:var(--text);font:inherit}.forum-search-box input::placeholder{color:var(--text-s)}.forum-search-box button{display:grid;width:31px;height:31px;place-items:center;border:1px solid var(--br-blue);border-radius:7px;background:var(--c-blue);color:#ffffff;cursor:pointer}.forum-search-box button .icon{width:15px;height:15px}.forum-search-results{margin-bottom:var(--gap);overflow:hidden}.forum-search-results .forum-list-header b{display:grid;min-width:28px;height:28px;place-items:center;border:1px solid var(--br-blue);border-radius:7px;color:var(--c-blue);font-size:12px}.forum-search-result{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border-bottom:1px solid var(--br-blue)}.forum-search-result:last-child{border-bottom:0}.forum-search-result>div{min-width:0}.forum-search-result small{color:var(--c-blue);font-size:10px}.forum-search-result h3{margin:5px 0}.forum-search-result h3 a{color:var(--text);font-size:16px}.forum-search-result p{margin:0;color:var(--text-s);font-size:12px;line-height:1.5}.forum-search-result>span{flex:0 0 auto;color:var(--text-s);font-size:10px}@media(max-width:600px){.forum-search-result{align-items:flex-start;flex-direction:column;gap:8px}}
.medal-badge img{display:block;width:24px;height:24px;object-fit:contain}

.forum-field-error{display:block;margin:.4rem 0;color:#b42318;font-size:.85rem}


.forum-about-text{padding:20px;margin-bottom:20px;line-height:1.75;overflow-wrap:anywhere}

/* Нейтральна світла палітра форуму визначена нижче у body.jk-forum. */


/* === Jokes forum: white surfaces, neutral accents and sprite characters === */
body.jk-forum { --text:#383838; --text-s:#646464; --text-l:#646464; --text-lm:#707070; --text-muted:#707070; --bg:#ffffff; --bg-color:#ffffff; --bg-card:#ffffff; --bg-input:#fafafa; --panel-bg:#ffffff; --bg-glass-white:#ffffff; --bg-glass-blue:#fafafa; --bg-glass-biruz:#fafafa; --bg-glass-gray:#f6f6f6; --bg-glass-darck:#fafafa; --br-gray:#e6e6e6; --br-blue:#e1e1e1; --br-biruz:#dfdfdf; --br-purple:#e0e0e0; --c-blue:#626262; --c-biruz:#606060; --c-purple:#696969; --c-green:#5e5e5e; --c-yellow:#707070; --accent-color:#656565; --topic-cyan:#656565; --topic-purple:#696969; --topic-line:#e7e7e7; --topic-panel:#ffffff; --shadow-1:0 4px 20px rgb(70 70 70 / 3%); --shadow-2:0 8px 24px rgb(70 70 70 / 7%); background:#ffffff; color:#383838; font-family:Arial,sans-serif; font-size:14px; line-height:1.65; }
body.jk-forum::before { content:none; }
.jk-forum [hidden] { display:none!important; }
.jk-forum .forum-wrap { width:100%; max-width:1320px; margin:0 auto; padding:22px 28px 45px; font-family:Arial,sans-serif; }
.jk-forum .forum-wrap--narrow { max-width:1130px; }
.jk-forum .forum-wrap :is(h1,h2,h3,h4,h5) { font-family:Arial,sans-serif; font-weight:700; line-height:1.35; letter-spacing:0; text-align:left; text-transform:none; }
.jk-forum .forum-wrap p { font-family:Arial,sans-serif; color:#646464; font-size:13px; line-height:1.8; letter-spacing:0; text-align:left; }
.jk-forum strong, .jk-forum b { font-weight:700; }
.jk-forum a { color:#595959; text-decoration:none; }
.jk-forum a:hover { color:#414141; }
.jk-forum .icon { display:inline-block; flex-shrink:0; width:18px; height:18px; vertical-align:middle; }
.jk-forum [class*='sp-'] { display:inline-block; flex-shrink:0; overflow:hidden; background-image:url('/templates/v1/jokes/img/sprit.webp'); background-repeat:no-repeat; vertical-align:middle; mix-blend-mode:multiply; }
.jk-forum .sp-kozak { width:37px; height:43px; background-position:-310px -2339px; }
.jk-forum .sp-plus { width:25px; height:31px; background-position:-177px -1905px; }
.jk-forum .topic-system-label { display:inline-flex; align-items:center; gap:8px; }
.jk-forum .topic-system-label .sp-kozak { transform:scale(.75); margin:-7px -5px; }
.jk-forum .sp-dek-pes { width:155px; height:183px; background-position:-5px -1619px; }
.jk-forum .sp-boy { width:123px; height:153px; background-position:-144px -2211px; }
.jk-forum .sp-girl { width:126px; height:184px; background-position:0 -2209px; }
.jk-forum .sp-smailprikol { width:107px; height:92px; background-position:-5px -2633px; }
.jk-forum .sp-roz-anekd { width:57px; height:43px; background-position:-266px -1523px; }
.jk-forum .sp-roz-foto { width:57px; height:43px; background-position:-266px -1571px; }
.jk-forum .sp-roz-istorii { width:57px; height:43px; background-position:-165px -1764px; }
.jk-forum .sp-roz-gymoresk { width:57px; height:43px; background-position:-233px -1734px; }
.jk-forum .sp-roz-pruvit { width:56px; height:42px; background-position:-252px -1830px; }
.jk-forum .sp-roz-tost { width:56px; height:42px; background-position:-5px -1855px; }
.jk-forum .sp-dek-yzor { width:98px; height:25px; margin:0; background-position:-165px -1619px; }
.jk-forum .jf-navigation { display:flex; align-items:center; flex-wrap:wrap; gap:20px; margin:0 0 24px; padding:0 0 20px; border-bottom:1px solid #e6e6e6; }
.jk-forum .jf-brand { display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.jk-forum .jf-brand strong { display:block; color:#3e3e3e; font-size:17px; }
.jk-forum .jf-brand small { display:block; margin-top:3px; color:#707070; font-size:9px; }
.jk-forum .jf-nav-links { display:flex; flex:1; flex-wrap:wrap; align-items:center; justify-content:center; gap:5px; min-width:0; }
.jk-forum .jf-nav-links a { padding:9px 11px; border:1px solid transparent; border-radius:8px; color:#686868; font-size:11px; white-space:nowrap; }
.jk-forum .jf-nav-links a:hover { border-color:#e2e2e2; background:#fafafa; color:#4d4d4d; }
.jk-forum .jf-home-link { display:flex; align-items:center; gap:12px; color:#707070; font-size:11px; }
.jk-forum .forum-wrap > .bread { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 18px; padding:0; color:#707070; font-size:10px; line-height:1.7; }
.jk-forum .bread li { display:inline; margin:0; padding:0; list-style:none; }
.jk-forum .bread li + li::before { content:'/'; margin-right:8px; color:#707070; }
.jk-forum .bread a { color:#707070; }
.jk-forum :is(.forum-header,.topic-header,.stat-header,.info-header,.forum-latest-hero,.forum-cat-box,.forum-list-box,.leaderboard-card,.widget-hud,.user-stats-card,.metric-hud-card,.info-body-box,.reply-editor-box,.post-card,.legend-section,.forum-search-box,.forum-search-results,.forum-latest-card,.forum-answer-card,.modal-box) { border:1px solid #e4e4e4; border-radius:16px; corner-shape:round; background:#ffffff; box-shadow:0 4px 20px rgb(70 70 70 / 3%); }
.jk-forum .hud-cyber-card::before, .jk-forum .hud-cyber-card::after, .jk-forum .forum-latest-hero::before, .jk-forum .forum-answer-author::after { content:none; }
.jk-forum :is(.forum-header,.stat-header,.info-header) { display:flex; flex-direction:row; align-items:center; gap:24px; margin:0 0 22px; padding:30px 36px; background:linear-gradient(120deg,#fafafa,#f6f6f6); }
.jk-forum :is(.jf-hero-copy,.forum-header-info) { flex:1; min-width:0; }
.jk-forum .jf-eyebrow { display:block; margin-bottom:10px; color:#707070; font-size:9px; font-weight:700; line-height:1.7; letter-spacing:.12em; }
.jk-forum :is(.forum-header,.stat-header,.info-header) h1 { margin:0 0 13px; color:#373737; font-size:clamp(27px,3.3vw,42px); line-height:1.15; letter-spacing:-.035em; text-transform:none; }
.jk-forum :is(.forum-header,.stat-header,.info-header) p { max-width:670px; margin:0; color:#6b6b6b; font-size:13px; line-height:1.8; }
.jk-forum .jf-hero-art { position:static; align-self:center; margin:-8px 0; }
.jk-forum .jf-hero-note { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; margin:0 0 22px; padding:17px 22px; border:1px solid #e3e3e3; border-radius:12px; background:#ffffff; color:#6d6d6d; font-size:12px; }
.jk-forum .jf-hero-note a { color:#6c6c6c; font-size:11px; font-weight:700; }
.jk-forum .forum-share-row { margin:0 0 22px; opacity:.8; }
.jk-forum .forum-share-row :is(a,button) { border-radius:7px; }
.jk-forum .forum-layout { display:flex; align-items:flex-start; gap:24px; }
.jk-forum .forum-main { flex:1; min-width:0; }
.jk-forum .forum-side { display:flex; flex:0 0 285px; flex-direction:column; gap:19px; min-width:0; max-width:285px; }
.jk-forum :is(.forum-cat-box,.forum-list-box,.widget-hud,.leaderboard-card) { overflow:hidden; margin:0 0 22px; }
.jk-forum .forum-side > .widget-hud { margin:0; }
.jk-forum :is(.forum-card-heading,.forum-cat-title,.forum-list-header,.leaderboard-title,.widget-hud-title,.reply-editor-title) { display:flex; flex-direction:row; align-items:center; justify-content:space-between; gap:10px; min-height:62px; padding:18px 22px; border-bottom:1px solid #eaeaea; background:#fafafa; color:#565656; font-size:15px; font-weight:700; line-height:1.5; letter-spacing:0; text-transform:none; }
.jk-forum :is(.forum-card-heading,.forum-cat-title,.forum-list-header,.leaderboard-title,.widget-hud-title,.reply-editor-title)::before { content:none; }
.jk-forum .widget-hud-title { justify-content:flex-start; min-height:59px; padding:15px 19px; font-size:14px; }
.jk-forum .widget-hud-title > [class*='sp-'] { transform:scale(.6); transform-origin:center; margin:-9px -10px -9px -9px; }
.jk-forum .forum-row { display:flex; align-items:center; flex-wrap:nowrap; gap:16px; padding:23px 22px; border-bottom:1px solid #efefef; background:#ffffff; transition:background .18s; }
.jk-forum .forum-row::before { content:none; }
.jk-forum .forum-row:hover { transform:none; box-shadow:none; background:#ffffff; }
.jk-forum .forum-row:last-child { border:0; }
.jk-forum .forum-icon-state { display:flex; flex:0 0 60px; width:60px; height:56px; border:1px solid #ebebeb; border-radius:13px; corner-shape:round; background:#fafafa; box-shadow:none; color:#707070; }
.jk-forum .forum-icon-state [class*='sp-'] { transform:scale(.8); }
.jk-forum .forum-icon-state.is-pinned { border-color:#e0e0e0; background:#fafafa; color:#707070; }
.jk-forum .forum-info-col { flex:1; min-width:0; }
.jk-forum .forum-info-col h3 { margin:0 0 7px; font-size:16px; }
.jk-forum .forum-info-col h3 a { color:#515151; line-height:1.55; overflow-wrap:anywhere; }
.jk-forum .forum-info-col p { margin:0; color:#707070; font-size:11px; line-height:1.75; }
.jk-forum .forum-stats-col { display:flex; flex:0 0 108px; align-items:center; justify-content:center; gap:16px; width:auto; min-width:0; margin:0; padding:0; }
.jk-forum .forum-stats-col > span { flex:1; min-width:0; color:#707070; font-size:9px; line-height:1.5; text-align:center; }
.jk-forum .forum-stats-col strong { display:block; margin-bottom:3px; color:#6b6b6b; font-size:20px; }
.jk-forum .forum-last-col { flex:0 0 155px; width:155px; min-width:0; margin:0; padding:0 0 0 16px; border-left:1px solid #efefef; font-size:10px; line-height:1.65; }
.jk-forum .forum-last-col a { color:#6f6f6f; font-size:11px; line-height:1.6; }
.jk-forum .forum-last-time { display:block; color:#707070; font-size:9px; }
.jk-forum .forum-last-author { color:#707070; }
.jk-forum :is(.forum-empty-state,.forum-widget-empty) { padding:22px; color:#707070; font-size:12px; line-height:1.8; text-align:left; }
.jk-forum .forum-empty-state::before { display:inline-block; width:57px; height:43px; margin:0 13px 0 0; background:url('/templates/v1/jokes/img/sprit.webp') -252px -1830px no-repeat; vertical-align:middle; mix-blend-mode:multiply; content:''; }
.jk-forum .widget-hud-list, .jk-forum .user-top-list { margin:0; padding:6px 19px; }
.jk-forum .widget-hud-item, .jk-forum .user-top-item { gap:10px; padding:14px 0; border-bottom:1px solid #efefef; }
.jk-forum .widget-hud-item::before, .jk-forum .user-top-item::before { width:5px; height:5px; border:0; border-radius:50%; background:#d7d7d7; box-shadow:none; }
.jk-forum .widget-hud-item a { color:#5f5f5f; font-size:12px; line-height:1.65; }
.jk-forum .widget-hud-meta, .jk-forum .forum-widget-excerpt { color:#707070; font-size:10px; }
.jk-forum .user-top-details h5 { font-size:12px; }
.jk-forum .user-top-details span, .jk-forum .user-top-score { color:#707070; font-size:10px; }
.jk-forum .forum-search-box { margin:0; padding:19px; background:linear-gradient(135deg,#fafafa,#ffffff); }
.jk-forum .forum-search-box > label { margin-bottom:11px; color:#707070; font-size:9px; letter-spacing:.08em; }
.jk-forum .forum-search-box > div { display:flex; align-items:center; gap:6px; padding:0 6px 0 10px; border:1px solid #e1e1e1; border-radius:9px; background:#ffffff; }
.jk-forum .forum-search-box input { flex:1; width:0; min-width:0; padding:8px 3px; color:#505050; font-size:12px; }
.jk-forum .forum-search-box button { display:flex; align-items:center; justify-content:center; width:31px; height:31px; border:0; border-radius:7px; background:#8f8f8f; color:#ffffff; }
.jk-forum .user-stats-card { padding:22px; }
.jk-forum .user-stats-card.forum-text-center { text-align:center; background:#fafafa; border-color:#e4e4e4; }
.jk-forum .jf-welcome-art { display:block; margin:0 auto 15px; }
.jk-forum .user-stats-card h4 { margin:0 0 12px; color:#585858; font-size:18px; text-align:inherit; }
.jk-forum .user-stats-card .forum-help-text { margin:0 0 19px; color:#707070; font-size:12px; text-align:inherit; }
.jk-forum .user-stat-val { padding:11px; border:1px solid #e7e7e7; border-radius:9px; background:#fafafa; color:#707070; }
.jk-forum .user-stat-val strong { color:#676767; }
.jk-forum .role-badge, .jk-forum .medal-badge, .jk-forum .forum-pinned-badge { border:1px solid #e6e6e6; border-radius:7px; corner-shape:round; background:#fafafa; color:#707070; letter-spacing:0; text-transform:none; }
.jk-forum :is(.btn-bg,.btn-line,.pagination-btn,.like-btn,.photo-upload-btn) { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:38px; padding:9px 14px; border:1px solid #e0e0e0; border-radius:8px; corner-shape:round; background:#fafafa; color:#686868; font-family:Arial,sans-serif; font-size:11px; font-weight:700; line-height:1.5; letter-spacing:0; text-transform:none; box-shadow:none; cursor:pointer; }
.jk-forum .btn-bg { background:#8a8a8a; border-color:#8a8a8a; color:#ffffff; }
.jk-forum :is(.btn-line,.pagination-btn,.like-btn):hover { border-color:#c7c7c7; background:#f6f6f6; color:#555555; }
.jk-forum .btn-bg:hover { border-color:#717171; background:#717171; color:#ffffff; }
.jk-forum .pagination-btn.active, .jk-forum .like-btn.liked { background:#f6f6f6; color:#535353; border-color:#c9c9c9; }
.jk-forum .forum-topic-delete { color:#696969; border-color:#e0e0e0; background:#ffffff; }
.jk-forum .legend-section { padding:23px; margin-top:25px; }
.jk-forum .legend-section .big-zag { margin:0 0 20px; color:#6e6e6e; font-size:15px; }
.jk-forum .legend-list { gap:18px; }
.jk-forum .legend-item { color:#707070; font-size:11px; }
.jk-forum .legend-icon { border:1px solid #eaeaea; border-radius:8px; corner-shape:round; background:#fafafa; box-shadow:none; color:#707070; }
.jk-forum .stats-bar { display:flex; flex-wrap:wrap; gap:10px; margin-top:23px; padding:0; border:0; background:transparent; box-shadow:none; }
.jk-forum .stats-bar-item { flex:1 1 160px; padding:15px; border:1px solid #e8e8e8; border-radius:11px; background:#ffffff; color:#707070; font-size:10px; }
.jk-forum .stats-bar-item strong { color:#6c6c6c; font-size:20px; }
.jk-forum .topic-control-hero { display:flex; flex-wrap:wrap; align-items:center; gap:18px; margin:0 0 22px; padding:30px; border-radius:17px; border:1px solid #e3e3e3; background:linear-gradient(120deg,#fafafa,#fafafa); }
.jk-forum .topic-header-title { flex:1 1 450px; min-width:0; }
.jk-forum .topic-system-label { color:#707070; font-size:9px; letter-spacing:.08em; }
.jk-forum .topic-header-title h1 { margin:12px 0 17px; color:#3a3a3a; font-size:clamp(25px,3.3vw,39px); line-height:1.25; letter-spacing:-.03em; overflow-wrap:anywhere; }
.jk-forum .topic-hero-badges { display:flex; flex-wrap:wrap; gap:9px; }
.jk-forum .topic-hero-badges > :is(a,span) { display:inline-flex; align-items:center; gap:7px; padding:6px 9px; border:1px solid #e6e6e6; border-radius:7px; background:#ffffff9c; color:#707070; font-size:10px; }
.jk-forum .topic-hero-metrics { display:flex; gap:8px; align-self:stretch; }
.jk-forum .topic-hero-metrics > span { display:flex; flex-direction:column; justify-content:center; align-items:center; min-width:65px; padding:13px; border:1px solid #e5e5e5; border-radius:10px; background:#ffffff80; }
.jk-forum .topic-hero-metrics small { color:#707070; font-family:Arial,sans-serif; font-size:8px; letter-spacing:0; }
.jk-forum .topic-hero-metrics strong { color:#6c6c6c; font-family:Arial,sans-serif; font-size:24px; }
.jk-forum .topic-header-actions .like-btn { min-height:44px; min-width:64px; flex-direction:row; }
.jk-forum .topic-hero-back { display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:9px 13px; border:1px solid #e3e3e3; border-radius:8px; background:#ffffff80; color:#707070; font-size:10px; }
.jk-forum .active-users-bar { margin:0 0 18px; padding:13px 19px; border:1px solid #e6e6e6; border-radius:10px; background:#fafafa; color:#707070; box-shadow:none; }
.jk-forum .posts-list { gap:20px; }
.jk-forum .post-card { display:flex; flex-direction:row; overflow:hidden; border:1px solid #e5e5e5; border-radius:15px; background:#ffffff; }
.jk-forum .post-author-col { display:flex; flex:0 0 185px; flex-direction:column; align-items:center; gap:8px; padding:27px 18px; border:0; border-right:1px solid #eaeaea; background:#fafafa; text-align:center; }
.jk-forum .post-author-avatar { width:70px; height:70px; margin:0 0 9px; border:3px solid #ffffff; border-radius:20px; object-fit:cover; box-shadow:0 3px 10px #e1e1e1; }
.jk-forum .post-author-name { color:#5c5c5c; font-size:13px; font-weight:700; }
.jk-forum .post-author-title { color:#707070; font-size:10px; }
.jk-forum .post-author-stats { display:flex; flex-direction:column; gap:6px; width:100%; margin-top:12px; color:#707070; font-size:9px; text-align:left; }
.jk-forum .post-author-stats > span { display:flex; justify-content:space-between; gap:8px; padding-bottom:4px; border-bottom:1px solid #ebebeb; }
.jk-forum .post-author-stats strong { color:#707070; }
.jk-forum .post-content-col { flex:1; min-width:0; padding:25px 28px; }
.jk-forum .post-meta-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin:0 0 19px; padding:0 0 15px; border-bottom:1px solid #f0f0f0; color:#707070; font-size:10px; }
.jk-forum .post-meta-row small { margin-right:6px; color:#707070; font-family:Arial,sans-serif; font-size:9px; letter-spacing:0; }
.jk-forum .post-text { min-height:65px; margin:0 0 21px; color:#535353; font-size:15px; line-height:1.9; overflow-wrap:anywhere; }
.jk-forum .post-text p { color:inherit; font-size:inherit; line-height:inherit; }
.jk-forum :is(.post-text,.forum-answer-text) blockquote { margin:15px 0; padding:15px 18px; border-left:3px solid #d9d9d9; border-radius:0 9px 9px 0; background:#fafafa; color:#707070; }
.jk-forum :is(.post-text,.forum-answer-text) pre { max-width:100%; padding:14px; overflow:auto; border:1px solid #e5e5e5; border-radius:9px; background:#fafafa; color:#6b6b6b; white-space:pre; }
.jk-forum .forum-post-image { max-width:100%; height:auto; border-radius:10px; border-color:#e8e8e8; box-shadow:none; }
.jk-forum .post-actions-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding-top:15px; border-top:1px solid #f0f0f0; }
.jk-forum .reply-editor-box { margin-top:23px; padding:25px; border-color:#e4e4e4; border-radius:15px; background:#ffffff; }
.jk-forum .reply-editor-box.forum-text-center { position:relative; padding:28px 150px 28px 28px; text-align:left; }
.jk-forum .reply-editor-box.forum-text-center::after { position:absolute; top:50%; right:25px; width:123px; height:153px; background:url('/templates/v1/jokes/img/sprit.webp') -144px -2211px no-repeat; content:''; transform:translateY(-50%) scale(.7); mix-blend-mode:multiply; }
.jk-forum .reply-editor-box h4 { margin:0 0 12px; color:#656565; font-size:21px; }
.jk-forum .reply-editor-title { margin:-25px -25px 20px; border-radius:15px 15px 0 0; }
.jk-forum .reply-editor-title small { color:#707070; font-family:Arial,sans-serif; font-size:8px; letter-spacing:.05em; }
.jk-forum :is(input,textarea,select) { font-family:Arial,sans-serif; }
.jk-forum :is(.form-group,.modal-box,.forum-reply-edit-form) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]),textarea,select) { box-sizing:border-box; max-width:100%; min-width:0; padding:12px 13px; border:1px solid #e2e2e2; border-radius:9px; background:#ffffff; color:#585858; font-size:14px; line-height:1.6; }
.jk-forum textarea { width:100%; resize:vertical; min-height:140px; }
.jk-forum :is(.forum-wrap,.modal-box) label { color:#707070; font-size:12px; }
.jk-forum .forum-editor-toolbar { display:flex; flex-wrap:wrap; gap:6px; padding:9px; border:1px solid #e6e6e6; border-radius:9px; background:#fafafa; }
.jk-forum .forum-editor-toolbar > button { min-width:33px; height:33px; border:1px solid #e2e2e2; border-radius:6px; background:#ffffff; color:#707070; cursor:pointer; }
.jk-forum .forum-editor-toolbar > label { padding:0; }
.jk-forum .forum-emoticon-picker { display:flex; flex-wrap:wrap; gap:5px; border:1px solid #e2e2e2; border-radius:10px; background:#ffffff; }
.jk-forum .forum-reply-actions { display:flex; position:static; flex-direction:row; justify-content:space-between; gap:15px; margin-top:15px; padding:0; border:0; background:transparent; box-shadow:none; backdrop-filter:none; }
.jk-forum .photo-upload-btn { border-style:dashed; background:#fafafa; }
.jk-forum .forum-latest-hero { display:flex; flex-wrap:wrap; align-items:center; gap:25px; margin:0 0 23px; padding:30px; border:1px solid #e4e4e4; border-radius:17px; background:linear-gradient(120deg,#fafafa,#fafafa); }
.jk-forum .forum-latest-hero-copy { flex:1; min-width:0; }
.jk-forum .forum-latest-hero-copy > small { color:#707070; font-family:Arial,sans-serif; font-size:9px; letter-spacing:.1em; }
.jk-forum .forum-latest-hero h1 { margin:13px 0; color:#3b3b3b; font-size:clamp(26px,3.4vw,39px); }
.jk-forum .forum-latest-hero-status { display:flex; flex-wrap:wrap; gap:8px; }
.jk-forum .forum-latest-hero-status > :is(span,a) { min-width:90px; padding:12px; border:1px solid #e6e6e6; border-radius:10px; background:#ffffff80; }
.jk-forum .forum-latest-hero-status > span:nth-child(2) { display:none; }
.jk-forum .forum-latest-hero-status small { color:#707070; font-size:8px; letter-spacing:0; }
.jk-forum .forum-latest-hero-status strong { color:#6d6d6d; font-family:Arial,sans-serif; font-size:24px; }
.jk-forum .forum-latest-hero-status > a strong { font-size:11px; }
.jk-forum .forum-latest-list, .jk-forum .forum-answers-list { display:flex; flex-direction:column; gap:15px; }
.jk-forum .forum-latest-card { display:flex; align-items:stretch; gap:0; border:1px solid #e5e5e5; border-radius:14px; background:#ffffff; box-shadow:none; }
.jk-forum .forum-latest-index { display:flex; flex:0 0 55px; align-items:center; justify-content:center; border-right:1px solid #ebebeb; background:#fafafa; color:#707070; font-family:Arial,sans-serif; font-size:15px; writing-mode:horizontal-tb; }
.jk-forum .forum-latest-content { flex:1; min-width:0; padding:22px; }
.jk-forum .forum-latest-route { margin-bottom:10px; font-size:9px; letter-spacing:0; text-transform:none; }
.jk-forum .forum-latest-route a, .jk-forum .forum-latest-route a:last-child { border-color:#e7e7e7; border-radius:6px; background:#fafafa; color:#707070; }
.jk-forum .forum-latest-card h2 { font-size:19px; }
.jk-forum .forum-latest-card h2 a { color:#595959; }
.jk-forum .forum-latest-byline, .jk-forum .forum-answer-meta { color:#707070; font-size:10px; }
.jk-forum .forum-latest-byline small, .jk-forum .forum-answer-meta small { color:#707070; font-family:Arial,sans-serif; font-size:8px; letter-spacing:0; }
.jk-forum .forum-latest-preview { padding-top:12px; border-color:#ebebeb; color:#707070; font-size:12px; }
.jk-forum .forum-latest-metrics { border-color:#ebebeb; }
.jk-forum .forum-latest-metrics > span { min-width:75px; border-color:#efefef; }
.jk-forum .forum-latest-metrics strong { color:#707070; font-family:Arial,sans-serif; font-size:23px; }
.jk-forum .forum-latest-metrics small { color:#707070; font-size:8px; letter-spacing:0; }
.jk-forum .forum-latest-metrics > a { display:flex; align-items:center; justify-content:center; background:#fafafa; color:#707070; }
.jk-forum .forum-answers-page .forum-answer-card { display:flex; border:1px solid #e6e6e6; border-radius:15px; background:#ffffff; box-shadow:none; }
.jk-forum .forum-answer-author { flex:0 0 160px; gap:9px; padding:25px 15px; border-color:#ebebeb; background:#fafafa; }
.jk-forum .forum-answer-author img { border:3px solid #ffffff; border-radius:17px; box-shadow:0 2px 9px #e6e6e6; }
.jk-forum .forum-answer-author strong { color:#707070; font-family:Arial,sans-serif; font-size:12px; overflow-wrap:anywhere; }
.jk-forum .forum-answer-author small { color:#707070; font-size:8px; letter-spacing:0; }
.jk-forum .forum-answer-number { color:#707070; font-family:Arial,sans-serif; letter-spacing:0; }
.jk-forum .forum-answer-number::before { content:'#' counter(answer-card,decimal-leading-zero); }
.jk-forum .forum-answer-main { flex:1; min-width:0; padding:23px; }
.jk-forum .forum-answer-topic { color:#606060; font-family:Arial,sans-serif; font-size:18px; line-height:1.5; white-space:normal; overflow-wrap:anywhere; }
.jk-forum .forum-answer-open { display:flex; align-items:center; justify-content:center; border-color:#e5e5e5; border-radius:8px; background:#fafafa; color:#707070; }
.jk-forum .forum-answer-text { padding:18px; border:1px solid #e8e8e8; border-radius:9px; background:#ffffff; color:#676767; font-size:14px; line-height:1.9; overflow-wrap:anywhere; }
.jk-forum .forum-answer-head, .jk-forum .forum-answer-footer { border-color:#ececec; }
.jk-forum .metrics-list { gap:16px; margin-bottom:25px; }
.jk-forum .metrics-list > * { flex:1 1 180px; min-width:0; min-height:145px; border-color:#e5e5e5; background:#fafafa; }
.jk-forum .metric-hud-title { margin-bottom:15px; color:#707070; font-size:10px; letter-spacing:.02em; }
.jk-forum .metric-hud-value { color:#707070; font-size:39px; }
.jk-forum .leaderboard-list { gap:18px; align-items:flex-start; }
.jk-forum .leaderboard-list > * { flex:1 1 300px; }
.jk-forum .leaderboard-row { padding:16px 20px; border-color:#efefef; background:#ffffff; }
.jk-forum .leaderboard-rank { border-color:#e9e9e9; border-radius:8px; background:#fafafa; color:#707070; font-family:Arial,sans-serif; }
.jk-forum .leaderboard-rank.rank-1 { color:#707070; background:#fafafa; border-color:#e3e3e3; }
.jk-forum .leaderboard-name { color:#707070; font-size:11px; }
.jk-forum .leaderboard-score { color:#707070; font-size:17px; }
.jk-forum .info-body-box { padding:30px; color:#707070; line-height:1.8; }
.jk-forum .info-body-box h3 { margin:20px 0 13px; color:#666666; font-size:19px; }
.jk-forum .info-body-box details { margin:0; border:0; border-bottom:1px solid #eaeaea; border-radius:0; background:transparent; }
.jk-forum .info-body-box summary { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:19px 0; color:#6e6e6e; font-size:14px; font-weight:700; line-height:1.65; cursor:pointer; }
.jk-forum .info-body-box .details-content { padding:0 0 18px; }
.jk-forum .info-body-box .dl-item { padding:18px; border:1px solid #eaeaea; border-radius:11px; background:#fafafa; }
.jk-forum .info-body-box li { margin-bottom:12px; }
.jk-forum .info-body-box dt { display:flex; gap:9px; color:#707070; }
.jk-forum .info-body-box dd { margin:10px 0 0; color:#707070; font-size:13px; }
.jk-forum .modal-overlay { padding:20px; background:rgb(48 48 48 / 40%); backdrop-filter:blur(4px); }
.jk-forum .modal-box { max-height:calc(100dvh - 40px); overflow:auto; padding:28px; border-radius:17px; border:1px solid #e2e2e2; background:#ffffff; box-shadow:0 20px 80px #2c2c2c40; }
.jk-forum .modal-close { color:#707070; background:#fafafa; border-radius:8px; }
.jk-forum :is(.modal-title,.modal-box h2) { margin:0 0 20px; padding:0 35px 18px 0; border-bottom:1px solid #e9e9e9; color:#606060; font-size:23px; font-weight:700; line-height:1.4; letter-spacing:0; text-transform:none; }
.jk-forum .form-group { margin-bottom:17px; }
.jk-forum .form-group > label, .jk-forum .modal-box label { display:block; margin-bottom:8px; }
.jk-forum :is(.modal-box,.forum-reply-edit-form) :is(input[type=text],select,textarea) { width:100%; }
.jk-forum .form-actions { display:flex; flex-direction:row; justify-content:flex-end; gap:10px; padding-top:15px; }
.jk-forum :where(a,button,input,textarea,select,summary):focus-visible { outline:2px solid #9f9f9f; outline-offset:3px; box-shadow:none; }
.jk-forum .forum-short-reply { margin:0 0 15px; padding:17px; border:1px solid #e7e7e7; border-radius:11px; background:#ffffff; }
.jk-forum .forum-short-reply-topic { color:#676767; font-size:14px; font-weight:700; }
.jk-forum .forum-short-reply footer { margin-top:12px; color:#707070; font-size:10px; }
@media(max-width:1100px) {
 .jk-forum .jf-navigation { gap:16px; }
 .jk-forum .jf-nav-links { justify-content:flex-start; order:3; flex-basis:100%; }
 .jk-forum .jf-home-link { margin-left:auto; }
 .jk-forum .forum-layout { flex-direction:row; gap:19px; }
 .jk-forum .forum-side { flex-basis:250px; max-width:250px; }
 .jk-forum .forum-row { flex-wrap:wrap; gap:12px; }
 .jk-forum .forum-info-col { flex-basis:calc(100% - 76px); }
 .jk-forum .forum-stats-col { flex-basis:108px; margin-left:76px; }
 .jk-forum .forum-last-col { flex:1; width:auto; }
 .jk-forum .forum-latest-card { flex-wrap:wrap; }
 .jk-forum .forum-latest-metrics { flex-basis:100%; justify-content:flex-end; border:0; border-top:1px solid #efefef; }
}
@media(max-width:850px) {
 .jk-forum .forum-layout { flex-direction:column; }
 .jk-forum .forum-main, .jk-forum .forum-side { flex-basis:auto; width:100%; max-width:none; }
 .jk-forum .forum-side { flex-direction:row; flex-wrap:wrap; align-items:flex-start; }
 .jk-forum .forum-side > * { flex:1 1 250px; min-width:0; }
 .jk-forum .jf-hero-art { transform:scale(.8); margin:-20px -10px; }
 .jk-forum .post-author-col { flex-basis:150px; }
}
@media(max-width:600px) {
 .jk-forum .forum-wrap, .jk-forum .forum-latest-page, .jk-forum .forum-answers-page { padding:16px 14px 30px; }
 .jk-forum .jf-navigation { margin-bottom:20px; padding-bottom:17px; }
 .jk-forum .jf-brand strong { font-size:16px; }
 .jk-forum .jf-nav-links { flex-wrap:nowrap; justify-content:flex-start; gap:3px; overflow-x:auto; padding:2px 0 5px; scrollbar-width:thin; }
 .jk-forum .jf-nav-links a { padding:8px 10px; font-size:10px; }
 .jk-forum .jf-home-link { font-size:10px; }
 .jk-forum :is(.forum-header,.stat-header,.info-header) { flex-wrap:wrap; flex-direction:row; gap:15px; padding:23px; }
 .jk-forum :is(.jf-hero-copy,.forum-header-info) { flex-basis:100%; }
 .jk-forum :is(.forum-header,.stat-header,.info-header) h1 { font-size:29px; }
 .jk-forum .jf-hero-art { margin:-25px -10px -20px auto; transform:scale(.7); }
 .jk-forum .jf-hero-note { padding:15px 17px; font-size:11px; }
 .jk-forum .forum-row { gap:12px; padding:20px 17px; }
 .jk-forum .forum-icon-state { flex-basis:49px; width:49px; height:49px; }
 .jk-forum .forum-icon-state [class*='sp-'] { transform:scale(.65); }
 .jk-forum .forum-info-col { flex-basis:calc(100% - 62px); }
 .jk-forum .forum-info-col h3 { font-size:15px; }
 .jk-forum .forum-stats-col { margin-left:61px; flex-basis:90px; gap:12px; }
 .jk-forum .forum-last-col { min-width:100px; padding:0 0 0 12px; border-top:0; }
 .jk-forum :is(.forum-cat-title,.forum-list-header) { flex-direction:row; align-items:center; padding:15px 17px; font-size:14px; }
 .jk-forum .forum-cat-title > span { min-width:0; }
 .jk-forum .forum-cat-title .btn-line { flex-shrink:0; padding:8px; font-size:9px; }
 .jk-forum .post-card { flex-direction:column; }
 .jk-forum .post-author-col { flex-basis:auto; flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:10px; padding:18px; border:0; border-bottom:1px solid #e9e9e9; text-align:left; }
 .jk-forum .post-author-avatar { width:48px; height:48px; margin:0; border-radius:14px; }
 .jk-forum .post-author-stats { flex-basis:100%; flex-direction:row; flex-wrap:wrap; margin-top:4px; gap:9px 16px; }
 .jk-forum .post-author-stats > span { gap:9px; border:0; }
 .jk-forum .post-content-col { padding:20px; }
 .jk-forum .post-text { font-size:14px; }
 .jk-forum .topic-control-hero { padding:23px; }
 .jk-forum .topic-header-title { flex-basis:100%; }
 .jk-forum .topic-hero-metrics { width:100%; flex-basis:100%; }
 .jk-forum .topic-hero-metrics > span { flex:1; min-width:0; padding:11px 8px; }
 .jk-forum .topic-header-actions { flex:1; width:auto; }
 .jk-forum .topic-hero-back { flex:1; justify-content:center; }
 .jk-forum .reply-editor-box { padding:20px; }
 .jk-forum .reply-editor-title { margin:-20px -20px 18px; padding:16px 20px; }
 .jk-forum .reply-editor-box.forum-text-center { padding:23px; }
 .jk-forum .reply-editor-box.forum-text-center::after { content:none; }
 .jk-forum .forum-reply-actions, .jk-forum .form-actions { flex-direction:column; align-items:stretch; }
 .jk-forum .forum-latest-hero { padding:23px; }
 .jk-forum .forum-latest-hero-copy { flex-basis:100%; }
 .jk-forum .forum-latest-hero-status { flex:1; min-width:0; width:auto; }
 .jk-forum .forum-latest-hero-status > * { flex:1; min-width:0; }
 .jk-forum .forum-latest-hero-status > a { flex-basis:auto; }
 .jk-forum .forum-latest-hero > .jf-hero-art { transform:scale(.6); margin:-28px -23px -28px -6px; }
 .jk-forum .forum-latest-index { flex-basis:34px; font-size:11px; }
 .jk-forum .forum-latest-content { flex-basis:calc(100% - 34px); padding:18px 15px; }
 .jk-forum .forum-latest-card h2 { font-size:17px; }
 .jk-forum .forum-answers-page .forum-answer-card { flex-direction:column; }
 .jk-forum .forum-answer-author { flex-basis:auto; flex-direction:row; flex-wrap:wrap; justify-content:flex-start; padding:18px; border:0; border-bottom:1px solid #e9e9e9; }
 .jk-forum .forum-answer-author img { width:44px; height:44px; }
 .jk-forum .forum-answer-main { padding:18px; }
 .jk-forum .forum-answer-topic { font-size:16px; }
 .jk-forum .forum-answer-footer { flex-direction:column; align-items:flex-start; }
 .jk-forum .metrics-list { gap:11px; }
 .jk-forum .metrics-list > * { flex-basis:calc(50% - 6px); min-height:125px; padding:18px 9px; }
 .jk-forum .metric-hud-title { font-size:9px; }
 .jk-forum .metric-hud-value { font-size:32px; }
 .jk-forum .info-body-box { padding:23px; }
 .jk-forum .modal-overlay { padding:12px; }
 .jk-forum .modal-box { padding:23px; max-height:calc(100dvh - 24px); }
 .jk-forum .forum-search-result { align-items:flex-start; flex-direction:column; gap:10px; padding:18px; }
}
@media(max-width:360px) {
 .jk-forum .forum-wrap, .jk-forum .forum-latest-page, .jk-forum .forum-answers-page { padding-inline:10px; }
 .jk-forum .jf-brand strong { font-size:14px; }
 .jk-forum .jf-brand small { font-size:8px; }
 .jk-forum .jf-navigation { gap:10px; }
 .jk-forum .jf-home-link { font-size:9px; }
 .jk-forum .forum-stats-col { margin-left:0; }
 .jk-forum .forum-last-col { min-width:100px; }
 .jk-forum .forum-cat-title { align-items:flex-start; flex-wrap:wrap; }
 .jk-forum .forum-hero-actions { width:100%; }
 .jk-forum .forum-latest-hero > .jf-hero-art { display:none; }
 .jk-forum .leaderboard-row { padding:14px; gap:8px; }
 .jk-forum .post-meta-row time { font-size:9px; }
}
@media(prefers-reduced-motion:reduce) { .jk-forum *, .jk-forum *::before, .jk-forum *::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }
/* === End jokes forum === */

/* Forum details: clear search field, visible line icons and readable copy. */
.jk-forum .icon { stroke:currentColor; fill:none; }
.jk-forum .forum-search-box input { border:0; border-radius:0; background:transparent; }
.jk-forum .forum-info-col p { color:#646464; font-size:12px; }
.jk-forum :is(.forum-header,.stat-header,.info-header) p { color:#5e5e5e; }
.jk-forum .forum-answer-text { color:#575757; }
.jk-forum .leaderboard-name { color:#5c5c5c; }

/* Finish the paper surfaces and empty lists. */
.jk-forum :is(.hud-cyber-card,.topic-hero-metrics > span,.topic-hero-back,.role-badge,.user-stats-avatar,.post-author-avatar,.active-users-bar,.stats-bar,.pagination-btn,.modal-box) { clip-path:none; corner-shape:round; }
.jk-forum :is(.forum-latest-list,.forum-answers-list) > .forum-text-center { padding:28px; }
.jk-forum:has(.forum-latest-page) .jf-nav-links a[href="/forum/latest/"], .jk-forum:has(.forum-answers-page) .jf-nav-links a[href="/forum/answers/"], .jk-forum:has(.stat-header) .jf-nav-links a[href="/forum/stat/"] { background:#f6f6f6; border-color:#e3e3e3; color:#5d5d5d; }

/* Forum member card: compact profile, balanced statistics and clear actions. */
.jk-forum .jf-user-card { padding:20px; text-align:left; background:linear-gradient(155deg,#ffffff 55%,#fafafa); }
.jk-forum .jf-user-card .user-stats-header { display:flex; align-items:center; gap:12px; margin:0 0 18px; padding:0 0 17px; border-bottom:1px solid #e9e9e9; color:#4a4a4a; text-decoration:none; }
.jk-forum .jf-user-card .user-stats-avatar { display:block; flex:0 0 52px; width:52px; height:52px; margin:0; border:3px solid #ffffff; border-radius:16px; background:#f6f6f6; box-shadow:0 0 0 1px #e4e4e4; object-fit:cover; }
.jk-forum .jf-user-card .user-stats-name { flex:1 1 0; min-width:0; }
.jk-forum .jf-user-card .user-stats-name h4 { margin:0 0 6px; color:#4a4a4a; font-size:16px; font-weight:700; line-height:1.35; overflow-wrap:anywhere; }
.jk-forum .jf-user-card .role-badge { display:inline-flex; max-width:100%; padding:3px 7px; font-size:10px; line-height:1.4; white-space:normal; overflow-wrap:anywhere; }
.jk-forum .jf-user-card .jf-user-profile-arrow { flex:0 0 16px; width:16px; height:16px; color:#707070; }
.jk-forum .jf-user-card .jf-user-profile:hover h4 { color:#656565; }
.jk-forum .jf-user-card .user-stats-list { display:flex; flex-wrap:wrap; align-items:stretch; gap:9px; margin:0; }
.jk-forum .jf-user-card .user-stat-val { display:flex; flex:0 0 calc((100% - 9px)/2); flex-direction:column; justify-content:space-between; gap:9px; min-width:0; padding:12px 10px; border:1px solid #e7e7e7; border-radius:11px; background:#fafafa; box-sizing:border-box; }
.jk-forum .jf-user-card .user-stat-val > span { color:#5e5e5e; font-size:11px; line-height:1.4; overflow-wrap:anywhere; }
.jk-forum .jf-user-card .user-stat-val strong { display:block; margin:0; color:#505050; font-size:22px; font-weight:700; line-height:1.15; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.jk-forum .jf-user-card .medals-list { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin:15px 0 0; }
.jk-forum .jf-user-card .medal-badge { display:inline-flex; align-items:center; gap:6px; max-width:100%; min-width:0; padding:6px 8px; border-color:#e2e2e2; border-radius:8px; background:#fafafa; color:#585858; font-size:10px; line-height:1.4; }
.jk-forum .jf-user-card .medal-badge > span { min-width:0; overflow-wrap:anywhere; }
.jk-forum .jf-user-card .medal-badge :is(img,svg) { flex:0 0 20px; width:20px; height:20px; object-fit:contain; }
.jk-forum .jf-user-card .medals-list-none { color:#6b6b6b; font-size:11px; font-style:normal; line-height:1.5; }
.jk-forum .jf-user-card .jf-user-actions { display:flex; flex-direction:column; gap:8px; margin-top:17px; padding-top:17px; border-top:1px solid #e9e9e9; }
.jk-forum .jf-user-card .jf-user-actions a { display:flex; justify-content:flex-start; gap:9px; width:100%; min-height:42px; padding:10px 12px; border-radius:10px; box-sizing:border-box; font-size:12px; line-height:1.4; text-decoration:none; white-space:normal; }
.jk-forum .jf-user-card .jf-user-actions a > span { min-width:0; overflow-wrap:anywhere; }
.jk-forum .jf-user-card .jf-user-actions .icon { display:block; flex:0 0 18px; width:18px; height:18px; }
.jk-forum .jf-user-card .jf-user-profile-button .jf-user-profile-arrow { margin-left:auto; color:inherit; }
.jk-forum .jf-user-card .jf-user-notifications { background:#ffffff; color:#5d5d5d; }
.jk-forum .jf-user-card a:focus-visible { outline:2px solid #8a8a8a; outline-offset:4px; }

/* Neutral controls and shared tokens for the fully light forum palette. */
body.jk-forum {
    color-scheme:light;
    --accent:#4b5563;
    --accent-glow:transparent;
    --c-gray:#6b7280;
    --c-gray-10:#f5f5f5;
    --c-gray-20:#e5e5e5;
    --latest-cyan:#525252;
    --latest-purple:#737373;
    --shadow-3:0 12px 32px rgb(0 0 0 / 8%);
}
.jk-forum .btn-bg { background:#f2f2f2; border-color:#d6d6d6; color:#404040; }
.jk-forum .btn-bg:hover { background:#e9e9e9; border-color:#bdbdbd; color:#262626; }
.jk-forum .forum-search-box button { background:#f2f2f2; border:1px solid #d6d6d6; color:#404040; }
.jk-forum .forum-search-box button:hover { background:#e9e9e9; border-color:#bdbdbd; }
.jk-forum .forum-topic-delete { background:#fff; border-color:#dedede; color:#b42318; }
.jk-forum .forum-topic-delete:hover { background:#fafafa; border-color:#b42318; color:#912018; }