/* V24 forum: shared sapphire/gold chrome, independent readable forum layout. */
body.a62-theme.forum-standalone{--a24-border:#99783d;--a24-surface:#041620;color:#e1e8ee}
body.a62-theme .forum-shell{position:relative;border-color:#c9a55e;box-shadow:0 0 0 3px #07111a,0 0 0 4px #705529}
body.a62-theme .forum-shell::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:4;background:url(royal-corner-tl.svg) left top/40px 40px no-repeat,url(royal-corner-tr.svg) right top/40px 40px no-repeat,url(royal-corner-bl.svg) left bottom/25px 25px no-repeat,url(royal-corner-br.svg) right bottom/25px 25px no-repeat}
body.a62-theme .forum-frame{padding:14px!important}
body.a62-theme .forum-shell .ko62-info{display:none}
body.a62-theme .a24-forum-heading{display:flex;align-items:center;gap:20px;min-height:44px;margin-bottom:8px}
body.a62-theme .a24-forum-heading h1{font:700 23px/1.3 Cinzel,Georgia,serif;letter-spacing:.08em;color:#f1d38a;margin:0;flex:1;text-align:center}
body.a62-theme .a24-forum-heading .ko-breadcrumb{padding:0;margin:0;font-size:12px}
body.a62-theme .a24-forum-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:14px;align-items:start}
.a24-forum-main{min-width:0}
.a24-forum-sidebar{display:flex;flex-direction:column;gap:14px;min-width:0}
.a24-pinned{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 13px;margin:0 0 12px;border:1px solid var(--a24-border);background:linear-gradient(105deg,#142c36,#03141f);color:#dce4ec!important;border-radius:3px}
.a24-pinned strong{font:700 13px Cinzel,Georgia,serif;color:#ffdf91;white-space:nowrap;border-right:1px solid #b68b4655;padding-right:12px}
.a24-pinned>span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.a24-pinned small{color:#b7c7d4;font-size:10px;white-space:nowrap}
.a24-pinned>b{font:24px Georgia;color:#e6c677}
.a24-pinned:hover{border-color:#eccd82;background:linear-gradient(105deg,#1b3a49,#051c2a)}
body.a62-theme .a24-forum-main #ko-forums{padding:0;margin:0 0 14px;list-style:none}
body.a62-theme .a24-forum-main .ko-forumhead{display:grid;grid-template-columns:minmax(0,1fr) 58px 58px 190px;align-items:center;gap:0;min-height:38px;padding:8px 12px;border-color:var(--a24-border)!important;border-radius:3px 3px 0 0}
body.a62-theme .a24-forum-main .ko-forumtitle{font:700 14px Cinzel,Georgia,serif}
.a24-col-count{text-align:center;font:11px Arial,sans-serif;color:#c8d7e1}
body.a62-theme .a24-forum-main .ko-forumlastpost{font:11px Arial,sans-serif;width:auto;padding-left:12px}
body.a62-theme .a24-forum-main .ko-childforum{border:1px solid var(--a24-border);border-top:0;background:#03131e}
body.a62-theme .a24-forum-main .ko-forumrow{grid-template-columns:minmax(0,1fr) 58px 58px 190px;padding:8px 12px!important;align-items:center;min-height:78px;border-bottom:1px solid #81633355!important}
body.a62-theme .a24-forum-main .ko-foruminfo{padding:4px 10px 4px 0;gap:12px;align-items:center}
body.a62-theme .a24-forum-main .ko-forumicon{width:42px;height:42px;flex:0 0 42px}
body.a62-theme .a24-forum-main .ko-forumicon img{width:42px;height:42px;object-fit:contain}
body.a62-theme .a24-forum-main .ko-forumdata h2{font:700 14px/1.3 Cinzel,Georgia,serif;margin:0 0 6px}
body.a62-theme .a24-forum-main .ko-forumdata h2 a{color:#f4d996}
body.a62-theme .a24-forum-main .ko-forumdescription{font:12px/1.4 Arial,sans-serif;margin:0;color:#b9cbd7!important}
body.a62-theme .a24-forum-main .ko-forumstats{border-left:1px solid #46606b55;padding:6px 3px;font-size:10px;width:auto}
body.a62-theme .a24-forum-main .ko-forumstats strong{font-size:13px}
body.a62-theme .a24-forum-main .ko-forumlast{border-color:#46606b55;padding:4px 0 4px 12px;min-width:0}
body.a62-theme .a24-forum-main .ko-forumlast .lasttitle{font:12px/1.5 Arial,sans-serif}
body.a62-theme .a24-forum-main .ko-forumlast .lastby{font-size:10px;line-height:1.5}
body.a62-theme .ko-forumrow:hover{box-shadow:inset 3px 0 0 #d8b661;background:#0d2a3a!important}
.a24-forum-box{border:1px solid var(--a24-border);border-radius:3px;background:linear-gradient(125deg,#0a202d,#03111b);overflow:hidden}
body.a62-theme .a24-forum-box h2,body.a62-theme .a24-section-heading{font:700 14px/1.3 Cinzel,Georgia,serif;color:#f7d68a;letter-spacing:.025em;background:linear-gradient(#0e2836,#04131e);padding:12px;margin:0;border-bottom:1px solid #94713788}
.a24-quicklinks{padding:10px;display:grid;gap:9px}
.a24-quicklinks>a{display:flex;gap:12px;align-items:center;min-height:72px;padding:12px 9px;border:1px solid #97743b;background:linear-gradient(110deg,#0e2635,#041420);border-radius:3px}
.a24-quicklinks>a:hover{border-color:#ebc66e;box-shadow:inset 0 0 15px #d6aa4710}
.a24-quicklinks>a>span:not(.a24-quick-icon){flex:1;min-width:0}
.a24-quicklinks strong{display:block;font:700 14px Cinzel,Georgia,serif;color:#ffe095}
.a24-quicklinks small{display:block;color:#bbccda;font:11px/1.4 Arial,sans-serif;margin-top:5px}
.a24-quicklinks b{font:22px Georgia;color:#d4b569}
.a24-quicklinks img{flex-shrink:0;object-fit:contain}
.a24-quick-icon{font:700 36px/1 Georgia,serif;color:#f2ce7c;flex:0 0 32px;text-align:center}
.a24-forum-stats{margin:0;padding:3px 12px 10px}
.a24-forum-stats>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #36515e66;font:12px Arial,sans-serif}
.a24-forum-stats>div:last-child{border:0}
.a24-forum-stats dt{color:#b9cbd8;font-weight:400}
.a24-forum-stats dd{margin:0;color:#f2e3bc;font-weight:700}
body.a62-theme .ko-latest{border:1px solid var(--a24-border);border-radius:3px;overflow:hidden}
body.a62-theme .ko-latest-head{border:0!important}
body.a62-theme .ko-latest-tabs{display:flex;flex-wrap:wrap}
body.a62-theme .ko-latest-tab{font:11px/1.3 Arial,sans-serif;padding:10px;min-height:36px}
body.a62-theme .ko-latest-panel{border:0}
body.a62-theme .ko-latest-table{width:100%;min-width:0;table-layout:fixed}
body.a62-theme .ko-latest-table th{font:11px Arial,sans-serif!important;background:#0b2635!important;padding:9px 6px}
body.a62-theme .ko-latest-table td{font:11px/1.5 Arial,sans-serif;padding:9px 6px!important;overflow-wrap:anywhere}
body.a62-theme .ko-latest-table .col-topic{width:34%}
body.a62-theme .ko-latest-table .col-forum{width:18%}
body.a62-theme .ko-latest-table .col-num{width:7%}
body.a62-theme .ko-latest-table .col-date{width:19%}
body.a62-theme .ko-latest-table .col-user{width:15%}
body.a62-theme .ko-latest-table .col-topic>a{color:#e7edf4;display:inline;white-space:normal}
.a24-topic-badge{display:inline-block;font:700 9px/1.4 Arial,sans-serif;letter-spacing:.03em;background:#724217;border:1px solid #af8645;color:#fff0c3;padding:2px 4px;border-radius:2px;white-space:nowrap;vertical-align:1px}
/* Topic reading surface and real character badges. */
body.a62-theme .ko-postbit{border:1px solid #99783d!important;border-radius:3px!important;overflow:hidden;margin-bottom:16px;grid-template-columns:175px minmax(0,1fr)}
body.a62-theme .ko-postbit-user{background:linear-gradient(135deg,#0b293c,#061a29)!important;border-right:1px solid #645332!important;padding:20px 12px!important;position:relative}
body.a62-theme .ko-postbit-user[data-nation="1"]{background:linear-gradient(135deg,#341620,#140e19)!important}
body.a62-theme .ko-postbit-user .ko-avatar-wrap{width:78px;height:78px;margin:0 auto 12px}
body.a62-theme .ko-postbit-user .ko-avatar{width:78px;height:78px;border:1px solid #c6a259;border-radius:8px;background:radial-gradient(ellipse at 50% 20%,#254c65,#05111d)!important;box-shadow:inset 0 0 0 3px #07141d,0 0 10px #159fd51a;display:grid;place-items:center}
body.a62-theme .ko-postbit-user[data-nation="1"] .ko-avatar{background:radial-gradient(ellipse at 50% 20%,#702734,#20050e)!important}
.a24-faction-avatar img{width:60px;height:60px;object-fit:contain}
body.a62-theme .ko-postbit-user .name{font:700 15px/1.4 Cinzel,Georgia,serif;color:#f3d695!important;overflow-wrap:anywhere;animation:none;background:none;-webkit-text-fill-color:currentColor;text-shadow:none}
body.a62-theme .ko-postbit-user .role{display:inline-block;margin:8px auto;padding:4px 7px;font:700 10px Arial,sans-serif;border:1px solid #537080;border-radius:3px;background:#143144;color:#c9e2f2}
body.a62-theme .ko-postbit-user .role-gm{border-color:#c3a560;background:#553e18;color:#fff0b7}
body.a62-theme .ko-postbit-user .ko-charcard{margin-top:12px;background:#071622!important;border-color:#3b5363!important;padding:10px}
body.a62-theme .ko-postbit-user[data-nation="1"] .ko-charcard{background:#21121d!important;border-color:#69404c!important}
body.a62-theme .ko-postbit-head{background:linear-gradient(#102b39,#051725)!important;border-bottom:1px solid #53616a66;color:#bacbd8!important;font:11px/1.4 Arial,sans-serif;gap:12px;flex-wrap:wrap;padding:11px 16px}
body.a62-theme .ko-postbit-body{min-width:0;background:#041621!important}
body.a62-theme .ko-postbit-main{padding:20px}
body.a62-theme .ko-post-title{font:700 21px/1.4 Cinzel,Georgia,serif;color:#f4d898;margin:0 0 18px;overflow-wrap:anywhere}
body.a62-theme .ko-postbit-content{font:14px/1.8 Arial,sans-serif;color:#dbe6ee!important;overflow-wrap:anywhere;word-break:normal}
body.a62-theme .ko-postbit-content img,body.a62-theme .ko-postbit-content video{max-width:100%;height:auto}
body.a62-theme .ko-postbit-content iframe{max-width:100%}
body.a62-theme .ko-postbit-content pre{max-width:100%;overflow:auto}
body.a62-theme .ko-postbit-content table{display:block;max-width:100%;overflow-x:auto}
body.a62-theme .ko-postbit-content blockquote{margin:12px 0;padding:12px 16px;background:#0c2838;border-left:3px solid #c7a360;color:#cddde8}
body.a62-theme .ko-quote-btn,body.a62-theme .ko-edit-btn,.a24-reply-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:8px 13px;border:1px solid #ba9754;border-radius:3px;background:linear-gradient(#173445,#081e2c);color:#ffe4a2!important;font:700 12px Arial,sans-serif;cursor:pointer}
body.a62-theme .ko-quote-btn:hover,body.a62-theme .ko-edit-btn:hover,.a24-reply-link:hover{background:#21475b;border-color:#f0d391}
.a24-topic-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;font:12px Arial,sans-serif;color:#baccd9}
body.a62-theme .ko-quickreply{border:1px solid #99783d!important;border-radius:3px;padding:16px!important;scroll-margin-top:90px}
body.a62-theme .ko-mod-inline{display:flex;flex-wrap:wrap;gap:5px}
body.a62-theme .ko-mod-inline button{min-height:30px}
@media(max-width:1150px){body.a62-theme .a24-forum-layout{grid-template-columns:minmax(0,1fr) 225px}body.a62-theme .a24-forum-main .ko-forumhead,body.a62-theme .a24-forum-main .ko-forumrow{grid-template-columns:minmax(0,1fr) 50px 50px}body.a62-theme .a24-forum-main .ko-forumlast,body.a62-theme .a24-forum-main .ko-forumlastpost{display:none}}
@media(max-width:900px){body.a62-theme .a24-forum-layout{grid-template-columns:minmax(0,1fr)}.a24-forum-sidebar{display:grid;grid-template-columns:1fr 1fr}.a24-pinned small{display:none}body.a62-theme .a24-forum-heading h1{font-size:19px}body.a62-theme .ko-postbit{grid-template-columns:150px minmax(0,1fr)}}
@media(max-width:600px){body.a62-theme .forum-frame{padding:9px!important}.a24-forum-sidebar{grid-template-columns:1fr}body.a62-theme .a24-forum-heading{align-items:flex-start;flex-direction:column;gap:10px;margin:8px 0 14px}body.a62-theme .a24-forum-heading h1{font-size:20px;text-align:left}.a24-pinned{flex-wrap:wrap;gap:8px;padding:10px}.a24-pinned strong{border:0;font-size:12px}.a24-pinned>span{flex-basis:100%;white-space:normal;line-height:1.5}.a24-pinned>b{display:none}body.a62-theme .a24-forum-main .ko-forumhead{display:block}body.a62-theme .a24-col-count{display:none}body.a62-theme .a24-forum-main .ko-forumrow{grid-template-columns:1fr 1fr;gap:9px;padding:12px!important}body.a62-theme .a24-forum-main .ko-foruminfo{grid-column:1/-1;padding:0;min-width:0}body.a62-theme .a24-forum-main .ko-forumstats{border:0;padding:4px}body.a62-theme .a24-forum-main .ko-forumdata h2{font-size:14px}body.a62-theme .ko-latest-table .col-views,body.a62-theme .ko-latest-table .col-forum,body.a62-theme .ko-latest-table .col-date{display:none}body.a62-theme .ko-latest-table .col-topic{width:60%}body.a62-theme .ko-latest-table .col-num{width:12%}body.a62-theme .ko-latest-table .col-user{width:28%}body.a62-theme .ko-latest-table td{font-size:11px}body.a62-theme .ko-postbit{display:block!important}body.a62-theme .ko-postbit-user{border-right:0!important;border-bottom:1px solid #70562f!important;padding:12px!important;text-align:left;display:grid;grid-template-columns:60px minmax(0,1fr);gap:4px 12px;align-items:center}body.a62-theme .ko-postbit-user .ko-avatar-wrap{grid-column:1;grid-row:1/4;width:54px;height:54px;margin:0}body.a62-theme .ko-postbit-user .ko-avatar{width:54px;height:54px}body.a62-theme .ko-postbit-user .ko-avatar img{width:42px;height:42px}body.a62-theme .ko-postbit-user .name,body.a62-theme .ko-postbit-user .role{grid-column:2;margin:0;justify-self:start}body.a62-theme .ko-postbit-user .ko-verified{display:none}body.a62-theme .ko-postbit-user .ko-charcard{grid-column:1/-1;margin:7px 0 0;display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:11px;padding:7px}body.a62-theme .ko-charcard-gm{display:none}body.a62-theme .ko-charcard-row{margin:0}body.a62-theme .ko-charcard-stat{display:flex;gap:6px;padding:0;margin-left:auto}body.a62-theme .ko-postbit-main{padding:15px}body.a62-theme .ko-post-title{font-size:18px}body.a62-theme .ko-postbit-content{font-size:14px}.a24-topic-toolbar{flex-wrap:wrap}.a24-reply-link{min-height:42px}body.a62-theme .ko-quote-btn,body.a62-theme .ko-edit-btn{min-height:42px}}
/* The reply composer shares the topic palette without changing editor behavior. */
body.a62-theme .fe-box,body.a62-theme .fe-side,body.a62-theme .fe-actions,body.a62-theme .fe-toolbar,body.a62-theme .fe-preview{background:#071b27;border-color:#806630;color:#dce8ef}
body.a62-theme .fe-editor,body.a62-theme .fe-editor .ql-container.ql-snow,body.a62-theme .fe-editor .ql-editor{background:#04151f;color:#dce8ef}
body.a62-theme .fe-actions button[type=submit],body.a62-theme .fe-actions .ko-btn,body.a62-theme .fe-attach-btn{border:1px solid #ad873e;background:linear-gradient(#17394b,#081c29);color:#ffe2a0!important;box-shadow:none}
body.a62-theme .fe-actions button[type=submit]:hover,body.a62-theme .fe-attach-btn:hover{background:#214454;border-color:#e0bc70}
body.a62-theme .fe-editor .ql-editor.ql-blank::before{color:#94acbb}
/* V25: keep the accessible page title out of the visible breadcrumb row. */
body.a62-theme .a24-forum-heading h1.ko62-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
