/* ==========================================================================
   Alora 2026 theme: site shell + IP.Board 3.4 restyle
   Upload to: /css/alora2026.css   (loaded by the "Alora 2026" skin's globalTemplate,
   and later by the IP.Content pages, so everything shares one look)
   Palette: warm ash base, crimson actions, bronze trim, shifting right-hand glow
   ========================================================================== */

@property --rc { syntax: '<color>'; inherits: true; initial-value: #5fd06a; }

:root {
  --a26-bg: #292826;
  --a26-bg-2: #343230;
  --a26-card: #373532;
  --a26-card-2: #33312e;
  --a26-inset: #2f2d2b;
  --a26-line: #4b4946;
  --a26-line-2: #444240;
  --a26-line-3: #575552;
  --a26-text: #e7ede8;
  --a26-text-2: #d7d6d4;
  --a26-text-3: #b9b8b6;
  --a26-muted: #a5a3a1;
  --a26-head: #f3efe2;
  --a26-gold: #e6b85c;
  --a26-ember: #ffb066;
  --a26-red: #c0321f;
  --a26-red-dk: #7e1610;
  --a26-red-edge: #ec6a52;
  --a26-bronze: #c98a4e;
  --a26-serif: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --a26-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --rc: #5fd06a;
}

@keyframes a26-rc { 0%, 20% { --rc: #5fd06a; } 40% { --rc: #3f8cff; } 60% { --rc: #9a5bff; } 80% { --rc: #f2b630; } 100% { --rc: #5fd06a; } }
@keyframes a26-spore { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: var(--o); } 50% { transform: translate(var(--dx), -70px); } 85% { opacity: var(--o); } 100% { transform: translate(calc(var(--dx) * -0.5), -160px); opacity: 0; } }
@keyframes a26-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes a26-down { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes a26-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- base ---------- */
html { font-size: 62.5%; }
html, body#ipboard_body {
  background: var(--a26-bg) !important;
  color: var(--a26-text) !important;
}
body#ipboard_body {
  position: relative !important;
  min-height: 100vh;
  margin: 0;
  font-family: var(--a26-sans) !important;
  font-size: 14px;
  background-image: none !important;
  -webkit-font-smoothing: antialiased;
}
/* Link colour trial — "warm white + gold" (option 3). To swap: set --a26-link to
   #e6b85c (current gold) or #d6b979 (muted gold) or #ffb066 (ember). */
body#ipboard_body { --a26-link: #e4dccb; --a26-link-hover: #ffb066; }
body#ipboard_body a { color: var(--a26-link); text-decoration: none; transition: color .2s ease; }
body#ipboard_body a:hover { color: var(--a26-link-hover); }
body#ipboard_body a:hover { color: #f6d38e; }
body#ipboard_body ::placeholder { color: var(--a26-muted); }

.a26-root {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  animation: a26-rc 48s linear infinite;
  background:
    radial-gradient(ellipse 55% 1000px at 0% 260px, rgba(236,108,34,.55), rgba(236,108,34,0) 72%),
    radial-gradient(ellipse 55% 1000px at 100% 340px, color-mix(in srgb, var(--rc) 50%, transparent), color-mix(in srgb, var(--rc) 0%, transparent) 72%),
    radial-gradient(ellipse 45% 800px at 0% 1700px, color-mix(in srgb, var(--rc) 28%, transparent), color-mix(in srgb, var(--rc) 0%, transparent) 70%),
    linear-gradient(180deg, var(--a26-bg-2) 0%, var(--a26-bg) 100%);
  font-family: var(--a26-sans);
  color: var(--a26-text);
}

/* wallpaper + glow */
.a26-wall { position: absolute; left: 0; right: 0; top: 0; height: 640px; z-index: 0; pointer-events: none; will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%); mask-image: linear-gradient(180deg, #000 50%, transparent 100%); }
.a26-wall-img { position: absolute; inset: 0; background: url(/images/alora2026/wallpaper.jpg) center 25% / cover no-repeat; animation: a26-fade 1.1s ease both; }
/* darker overlay — matched to the landing page's tint so every page reads the same */
.a26-wall-tint { position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 90% at 0% 40%, rgba(236,108,34,.6), rgba(236,108,34,0) 72%),
    radial-gradient(ellipse 55% 90% at 100% 40%, color-mix(in srgb, var(--rc) 54%, transparent), color-mix(in srgb, var(--rc) 0%, transparent) 72%),
    radial-gradient(ellipse 92% 80% at 50% 34%, rgba(18,17,16,0) 30%, rgba(18,17,16,.72) 100%),
    linear-gradient(180deg, rgba(24,23,21,.66) 0%, rgba(24,23,21,.62) 50%, rgba(24,23,21,.88) 100%); }
.a26-spores { position: absolute; left: 0; right: 0; top: 0; height: 420px; pointer-events: none; z-index: 1; }
.a26-spores::before { content: ''; position: absolute; left: 50%; top: -220px; width: 900px; height: 600px; margin-left: -450px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,196,110,.16), rgba(240,196,110,0) 65%); }
.a26-spore { position: absolute; border-radius: 50%; animation-name: a26-spore; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }

/* ---------- top bar ---------- */
.a26-topbar { position: relative; z-index: 31; background: rgba(16,15,14,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08); animation: a26-down .5s ease both; }
.a26-topbar-in { max-width: 1400px; margin: 0 auto; padding: 0 24px; height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; font-weight: 500; }
.a26-social, .a26-account { display: flex; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.a26-account { gap: 8px; }
body#ipboard_body .a26-tlink { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 8px; color: #d1d0ce; font-size: 13px; position: relative; }
body#ipboard_body .a26-tlink:hover { color: #fff; }
.a26-tlink .fa, .a26-tlink .fab, .a26-tlink .fas { font-size: 14px; width: 16px; text-align: center; }
body#ipboard_body .a26-treg { min-height: 28px; padding: 0 12px; border: 1px solid rgba(236,106,82,.6); border-radius: 999px; background: rgba(192,50,31,.18); color: #ffe3da; }
body#ipboard_body .a26-treg:hover { background: rgba(192,50,31,.4); color: #fff; }
body#ipboard_body .a26-user { padding: 0 10px 0 4px; border: 1px solid rgba(242,193,78,.4); border-radius: 999px; background: rgba(242,193,78,.1); color: #f6e3b0; }
.a26-user img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
body#ipboard_body .a26-logout { color: #ff9a85; }
.a26-count { min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  background: var(--a26-red); color: #fff3e0; font-size: 11px; font-weight: 800; line-height: 1; box-shadow: 0 0 10px rgba(225,60,35,.6); }
/* IPB puts its own counter span inside these links */
#inbox_link .ipsHasNotifications, #notify_link .ipsHasNotifications { position: static !important; margin: 0 !important; height: 18px !important; min-width: 18px; padding: 0 5px !important;
  display: inline-flex !important; align-items: center; justify-content: center; border-radius: 999px !important; background: var(--a26-red) !important; color: #fff3e0 !important;
  font-size: 11px !important; font-weight: 800; line-height: 1 !important; box-shadow: 0 0 10px rgba(225,60,35,.6) !important; border: 0 !important; text-shadow: none !important; }

/* ---------- header: logo between bronze wings ---------- */
.a26-hdr-pad { position: relative; z-index: 32; margin-top: -11px; padding: 6px 24px 0; pointer-events: none; animation: a26-down .6s .08s cubic-bezier(.2,.8,.2,1) both; }
.a26-hdr-pad a, .a26-hdr-pad button { pointer-events: auto; }
.a26-hdr { position: relative; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; min-height: 140px; }
.a26-wing { position: relative; z-index: 1; height: 60px; box-sizing: border-box; }
.a26-wing-l { justify-self: end; margin-right: -64px; padding: 3px 0 3px 3px; clip-path: polygon(34px 0,100% 0,100% 100%,34px 100%,0 50%);
  background: linear-gradient(90deg, #5a3216, #e2a868 35%, #8a5326 75%, #5a3216); }
.a26-wing-r { justify-self: start; margin-left: -64px; padding: 3px 3px 3px 0; clip-path: polygon(0 0,calc(100% - 34px) 0,100% 50%,calc(100% - 34px) 100%,0 100%);
  background: linear-gradient(90deg, #5a3216, #8a5326 25%, #e2a868 65%, #5a3216); }
.a26-wing-in { height: 100%; display: flex; align-items: center; gap: 30px; }
.a26-wing-l .a26-wing-in { padding: 0 110px 0 70px; clip-path: polygon(32px 0,100% 0,100% 100%,32px 100%,0 50%);
  background: radial-gradient(ellipse 45% 160% at 0% 50%, rgba(236,108,34,.4), rgba(236,108,34,0) 70%), linear-gradient(180deg, #3b2f29 0%, #241c18 48%, #17120f 100%); }
.a26-wing-r .a26-wing-in { padding: 0 70px 0 110px; clip-path: polygon(0 0,calc(100% - 32px) 0,100% 50%,calc(100% - 32px) 100%,0 100%);
  background: radial-gradient(ellipse 45% 160% at 100% 50%, color-mix(in srgb, var(--rc) 36%, transparent), color-mix(in srgb, var(--rc) 0%, transparent) 70%), linear-gradient(180deg, #3b2f29 0%, #241c18 48%, #17120f 100%); }
.a26-gem { flex: none; width: 7px; height: 7px; transform: rotate(45deg); background: var(--a26-bronze); }
body#ipboard_body .a26-wlink { color: #ecdcc4; font-family: var(--a26-serif); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  text-shadow: 0 1px 0 rgba(0,0,0,.7); transition: color .2s ease, text-shadow .2s ease; }
body#ipboard_body .a26-wlink:hover, body#ipboard_body .a26-wlink.a26-on { color: #ffb46a; text-shadow: 0 0 12px rgba(255,140,60,.65); }
.a26-sale { margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: rgba(63,140,255,.22); border: 1px solid rgba(110,170,255,.55); color: #a9cdff; font-family: var(--a26-sans); font-size: 10px; letter-spacing: .04em; vertical-align: 2px; }
.a26-logo { position: relative; z-index: 2; display: block; width: clamp(300px, 25vw, 360px); }
.a26-logo::before { content: ''; position: absolute; left: -10%; right: -10%; top: -20%; bottom: -20%; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255,110,30,.28), rgba(255,110,30,0) 70%); }
.a26-logo img { position: relative; display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.6)) drop-shadow(0 0 18px rgba(255,110,30,.35)); }

/* shared buttons */
body#ipboard_body .a26-btn-play, .a26-btn-play {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border-radius: 7px; box-sizing: border-box;
  background: linear-gradient(180deg, var(--a26-red), var(--a26-red-dk)); border: 1px solid var(--a26-red-edge);
  box-shadow: inset 0 1px 0 rgba(255,190,175,.35); color: #fff3e0; text-shadow: 0 1px 0 rgba(60,8,4,.6);
  font-family: var(--a26-serif); font-weight: 700; font-size: 14px; letter-spacing: .06em; white-space: nowrap; cursor: pointer;
  transition: filter .2s ease, box-shadow .2s ease; }
body#ipboard_body .a26-btn-play:hover { color: #fff; filter: brightness(1.18); box-shadow: inset 0 1px 0 rgba(255,200,185,.5), 0 12px 36px rgba(225,50,30,.55); }

/* mobile header */
.a26-nav-mob { display: none; position: relative; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.a26-nav-mob img { display: block; width: 170px; height: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)) drop-shadow(0 0 14px rgba(255,110,30,.3)); }
.a26-burger { width: 48px; height: 48px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--a26-bronze);
  background: linear-gradient(180deg, #3b2f29, #17120f); color: #ecdcc4; cursor: pointer; font-size: 20px; }
.a26-mob-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 40; flex-direction: column; overflow: hidden; border-radius: 12px;
  border: 1px solid var(--a26-bronze); background: linear-gradient(180deg, rgba(40,32,28,.98), rgba(20,16,14,.98)); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.a26-mob-menu.a26-open { display: flex; }
body#ipboard_body .a26-mob-menu a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-top: 1px solid rgba(201,138,78,.22); color: #ecdcc4;
  font-family: var(--a26-serif); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
body#ipboard_body .a26-mob-menu a.a26-on { color: #ffb46a; }
body#ipboard_body .a26-mob-menu a.a26-btn-play { justify-content: center; margin: 12px 16px 16px; height: 48px; border-radius: 8px; border-top: 1px solid var(--a26-red-edge); color: #fff3e0; }

@media (max-width: 1320px) { .a26-logo { width: 340px; } .a26-wing-in, .a26-wing-in nav { gap: 20px; } .a26-wing-l .a26-wing-in { padding: 0 90px 0 56px; } .a26-wing-r .a26-wing-in { padding: 0 46px 0 90px; } body#ipboard_body .a26-wlink { font-size: 13px; letter-spacing: .05em; } }
@media (max-width: 1150px) { .a26-logo { width: 300px; } .a26-wing-in, .a26-wing-in nav { gap: 12px; } .a26-wing-l .a26-wing-in { padding: 0 74px 0 42px; } .a26-wing-r .a26-wing-in { padding: 0 32px 0 72px; } body#ipboard_body .a26-wlink { letter-spacing: .03em; } }
@media (max-width: 999px) { .a26-hdr { display: none; } .a26-nav-mob { display: flex; } .a26-hdr-pad { padding: 0 16px; margin-top: 0; } }
@media (max-width: 640px) { .a26-tlabel { display: none; } .a26-topbar-in { height: 44px; padding: 0 16px; } }

/* ---------- main content shell ---------- */
.a26-main { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 28px 32px 90px; box-sizing: border-box; }
@media (max-width: 640px) { .a26-main { padding: 20px 12px 60px; } }

/* IPB's main content container becomes transparent; individual blocks become cards */
body#ipboard_body #content { display: block !important; width: auto !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important;
  box-shadow: none !important; font-family: var(--a26-sans) !important; font-size: 14px !important; color: var(--a26-text) !important; line-height: 1.5; }

/* forum toolbar (old admin bar) */
body#ipboard_body #admin_bar { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; height: auto !important; margin: 0 0 18px !important;
  padding: 0 !important; background: none !important; opacity: 1 !important; border: 0 !important; font-size: 14px !important; list-style: none; }
body#ipboard_body #admin_bar li { float: none !important; margin: 0 !important; display: contents; }
body#ipboard_body #admin_bar a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; box-sizing: border-box; border: 1px solid var(--a26-line-3); border-radius: 10px;
  background: rgba(55,53,50,.8); color: var(--a26-text); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s ease, border-color .2s ease; }
body#ipboard_body #admin_bar a:hover { background: rgba(255,255,255,.08); border-color: #b0aeab; color: #fff; }
body#ipboard_body #admin_bar .fa, body#ipboard_body #admin_bar .fas { color: var(--a26-ember); }
.a26-toolgroup { display: inline-flex; flex-wrap: wrap; gap: 8px; }

/* breadcrumbs */
body#ipboard_body #secondary_navigation { margin: 0 0 14px !important; padding: 0 !important; background: none !important; border: 0 !important; }
body#ipboard_body .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; width: auto !important; min-width: 0 !important; padding: 0 !important;
  font: 500 13px/1.4 var(--a26-sans) !important; color: var(--a26-muted) !important; }
body#ipboard_body .breadcrumb li { float: none !important; display: inline-flex; align-items: center; gap: 6px; }
body#ipboard_body .breadcrumb a { color: #c2c1bf !important; }
body#ipboard_body .breadcrumb a:hover { color: #fff !important; }
body#ipboard_body .breadcrumb .nav_sep { color: #6b6966; }
body#ipboard_body .breadcrumb li:last-child span { color: var(--a26-head); }

/* page titles */
body#ipboard_body .ipsType_pagetitle, body#ipboard_body h1.ipsType_pagetitle { font-family: var(--a26-serif) !important; font-weight: 900 !important; font-size: clamp(26px, 3.6vw, 40px) !important;
  line-height: 1.1 !important; color: var(--a26-head) !important; text-shadow: 0 2px 18px rgba(10,14,16,.6); }
body#ipboard_body .ipsType_pagedesc, body#ipboard_body .desc, body#ipboard_body .lighter { color: var(--a26-muted) !important; }

/* ---------- category / box headers ---------- */
body#ipboard_body .maintitle, body#ipboard_body .general_box h3, body#ipboard_body .ipsSideBlock h3 {
  padding: 14px 20px !important; background: var(--a26-card-2) !important; border: 1px solid var(--a26-line) !important; border-bottom-color: var(--a26-line) !important;
  border-radius: 18px 18px 0 0 !important; font: 700 17px/1.3 var(--a26-serif) !important; letter-spacing: .05em; color: var(--a26-head) !important; text-shadow: none !important; }
body#ipboard_body .maintitle a { color: var(--a26-head) !important; }
body#ipboard_body .maintitle a:hover { color: #fff !important; }
body#ipboard_body .collapsed .maintitle { opacity: .55; border-radius: 18px !important; }
body#ipboard_body .category_block { margin-bottom: 22px; }

/* card surfaces */
body#ipboard_body .ipsBox, body#ipboard_body .ipsBox_container, body#ipboard_body .ipsSideBlock, body#ipboard_body .general_box, body#ipboard_body .popupInner {
  background: var(--a26-card) !important; border: 1px solid var(--a26-line) !important; color: var(--a26-text); }
body#ipboard_body .ipsBox { border-radius: 18px !important; padding: 0; overflow: hidden; }
body#ipboard_body .maintitle + .ipsBox, body#ipboard_body .maintitle + .ipsBox_container, body#ipboard_body .maintitle + div .ipsBox_container { border-top: 0 !important; border-radius: 0 0 18px 18px !important; }
body#ipboard_body .ipsSideBlock, body#ipboard_body .general_box { border-radius: 18px !important; overflow: hidden; margin-bottom: 20px; }
body#ipboard_body .ipsSideBlock h3, body#ipboard_body .general_box h3 { border: 0 !important; border-bottom: 1px solid var(--a26-line) !important; border-radius: 0 !important; }
body#ipboard_body .row1, body#ipboard_body .post_block.row1 { background-color: transparent !important; }
body#ipboard_body .row2, body#ipboard_body .post_block.row2 { background-color: rgba(0,0,0,.08) !important; }

/* tables (board index, forum view, member lists) */
body#ipboard_body table.ipb_table { border-collapse: separate !important; border-spacing: 0; background: var(--a26-card); }
body#ipboard_body table.ipb_table tr:nth-child(odd), body#ipboard_body table.ipb_table tr:nth-child(even) { background: transparent !important; }
body#ipboard_body table.ipb_table td { padding: 14px 16px !important; border-top: 1px solid var(--a26-line-2) !important; border-bottom: 0 !important; color: var(--a26-text-2); vertical-align: middle; }
body#ipboard_body table.ipb_table tr:hover td { background: #42403d; }
body#ipboard_body table.ipb_table th, body#ipboard_body table.ipb_table .header th { padding: 10px 16px !important; background: var(--a26-card-2) !important; border: 0 !important;
  font: 700 11px/1.3 var(--a26-sans) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--a26-muted) !important; }
body#ipboard_body table.ipb_table h4, body#ipboard_body table.ipb_table .topic_title { font: 600 15px/1.35 var(--a26-sans) !important; color: var(--a26-head) !important; }
body#ipboard_body table.ipb_table h4 a, body#ipboard_body table.ipb_table a.topic_title { color: var(--a26-head) !important; }
body#ipboard_body table.ipb_table h4 a:hover, body#ipboard_body table.ipb_table a.topic_title:hover { color: #fff !important; }
body#ipboard_body table.ipb_table tr.unread .topic_title, body#ipboard_body table.ipb_table tr.unread h4 { font-weight: 800 !important; color: #fff !important; }
body#ipboard_body table.ipb_table .desc, body#ipboard_body table.ipb_table .ipsType_small { color: var(--a26-text-3) !important; font-size: 13px !important; }
body#ipboard_body table.ipb_table .stats, body#ipboard_body table.ipb_table .col_f_post { color: var(--a26-muted); font-size: 13px; }
body#ipboard_body table.ipb_table .subforums a { color: #c2c1bf; }

/* ---------- topics & posts ---------- */
body#ipboard_body .post_block { margin-bottom: 18px !important; background: var(--a26-card) !important; border: 1px solid var(--a26-line) !important; border-radius: 18px !important; overflow: hidden; }
/* no hover highlight on posts — they aren't a single clickable target (glow groups keep their inline border) */
body#ipboard_body .post_block:hover { border-color: var(--a26-line) !important; }
body#ipboard_body .post_block h3 { height: auto !important; padding: 12px 20px !important; line-height: 1.4 !important; background: var(--a26-card-2) !important; border-bottom: 1px solid var(--a26-line-2);
  font: 600 13px/1.4 var(--a26-sans) !important; color: var(--a26-muted) !important; }
body#ipboard_body .post_wrap { background: none !important; }
/* NOTE: no forced background here — each group's inline postbit image
   (…/postbit/<colour>.png) + its #211b1b fallback come through from the post template. */
body#ipboard_body .author_info { border: 0 !important; border-right: 1px solid var(--a26-line) !important; box-shadow: none !important; color: var(--a26-text-2); }
/* round the author column's bottom-left so its dark fill follows the card corner,
   and drop the darker solid fill (the postbit frame image still shows for ranks
   that have one) so no dark square pokes out behind the rounded corner */
body#ipboard_body .post_block .author_info { border-bottom-left-radius: 18px !important; background-color: transparent !important; }
body#ipboard_body .author_info .group_title { color: var(--a26-text-3) !important; font-size: 12px !important; }
body#ipboard_body .post_body { background: none !important; padding: 20px 22px !important; }
body#ipboard_body .post_body .post { font-size: 15px !important; line-height: 1.7 !important; color: #dedcd9 !important; }
body#ipboard_body .post_body .posted_info { color: var(--a26-muted) !important; font-size: 13px; }
body#ipboard_body .signature { border-top: 1px dashed var(--a26-line) !important; color: #8f8d8a !important; font-style: italic; }
body#ipboard_body blockquote.ipsBlockquote, body#ipboard_body .bbc_quote, body#ipboard_body .ipsBlockquote {
  margin: 10px 0 !important; padding: 12px 16px !important; background: var(--a26-inset) !important; border: 0 !important; border-left: 3px solid var(--a26-gold) !important;
  border-radius: 0 10px 10px 0 !important; color: #c2c1bf !important; font-size: 14px; }
body#ipboard_body blockquote.ipsBlockquote cite, body#ipboard_body .citation { display: block; margin-bottom: 4px; background: none !important; border: 0 !important; padding: 0 !important; color: var(--a26-gold) !important; font-weight: 700; font-size: 12px; }
body#ipboard_body ul.post_controls { display: flex !important; align-items: center !important; flex-wrap: wrap; gap: 8px; background: none !important; border: 0 !important; padding: 10px 20px 16px !important; }
body#ipboard_body ul.post_controls > li { margin: 0 !important; float: none !important; display: inline-flex; align-items: center; }
body#ipboard_body ul.post_controls a { color: #d7d6d4 !important; border-radius: 8px; }
body#ipboard_body ul.post_controls a:hover { color: #fff !important; background: rgba(255,255,255,.06) !important; }
/* NOTE: the Like button keeps its existing icon and colours (deliberately not restyled) */
body#ipboard_body .moderated .post_wrap, body#ipboard_body .post_block.moderated { background: rgba(192,50,31,.1) !important; border-color: rgba(236,106,82,.4) !important; }

/* ---------- buttons ---------- */
body#ipboard_body .topic_buttons li a, body#ipboard_body .topic_buttons li span, body#ipboard_body .ipsButton, body#ipboard_body .input_submit, body#ipboard_body input[type=submit].input_submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 0; padding: 0 18px !important; box-sizing: border-box;
  background: linear-gradient(180deg, var(--a26-red), var(--a26-red-dk)) !important; border: 1px solid var(--a26-red-edge) !important; border-radius: 10px !important;
  box-shadow: inset 0 1px 0 rgba(255,190,175,.35), 0 6px 18px rgba(130,25,15,.35) !important; color: #fff3e0 !important; text-shadow: 0 1px 0 rgba(60,8,4,.6) !important;
  font: 700 14px/1 var(--a26-serif) !important; letter-spacing: .05em; cursor: pointer; transition: filter .2s ease; }
body#ipboard_body .topic_buttons li a:hover, body#ipboard_body .ipsButton:hover, body#ipboard_body .input_submit:hover { filter: brightness(1.15); color: #fff !important; }
body#ipboard_body .ipsButton_secondary, body#ipboard_body .input_submit.alt, body#ipboard_body .topic_buttons li.non_button a {
  height: auto; min-height: 34px; padding: 0 14px !important; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(55,53,50,.8) !important; border: 1px solid var(--a26-line-3) !important; border-radius: 10px !important; box-shadow: none !important; text-shadow: none !important;
  color: var(--a26-text) !important; font: 600 13px/1 var(--a26-sans) !important; letter-spacing: 0; }
body#ipboard_body .ipsButton_secondary a { color: var(--a26-text) !important; }
body#ipboard_body .ipsButton_secondary:hover, body#ipboard_body .input_submit.alt:hover { background: rgba(255,255,255,.08) !important; border-color: #b0aeab !important; color: #fff !important; }
body#ipboard_body .ipsButton_secondary.important, body#ipboard_body .input_submit.delete { background: rgba(192,50,31,.28) !important; border-color: rgba(236,106,82,.6) !important; color: #ffd9c9 !important; }
body#ipboard_body .topic_buttons li.disabled a, body#ipboard_body .topic_buttons li.disabled span { background: rgba(0,0,0,.3) !important; border-color: var(--a26-line) !important; box-shadow: none !important; color: var(--a26-muted) !important; filter: none; }

/* ---------- forms ---------- */
body#ipboard_body .input_text, body#ipboard_body textarea, body#ipboard_body select, body#ipboard_body input[type=text], body#ipboard_body input[type=password], body#ipboard_body input[type=email], body#ipboard_body input[type=search] {
  box-sizing: border-box; padding: 9px 12px; border: 1px solid var(--a26-line-3) !important; border-radius: 10px !important; background: rgba(30,29,27,.85) !important; color: var(--a26-head) !important;
  font: 400 14px/1.4 var(--a26-sans); box-shadow: inset 0 2px 6px rgba(0,0,0,.35) !important; }
body#ipboard_body .input_text:focus, body#ipboard_body textarea:focus, body#ipboard_body select:focus { outline: 2px solid rgba(255,176,102,.6) !important; outline-offset: 1px; border-color: #8a7458 !important; background: rgba(30,29,27,.95) !important; }
body#ipboard_body fieldset.submit, body#ipboard_body p.submit { background: var(--a26-card-2) !important; border-top: 1px solid var(--a26-line) !important; padding: 14px 20px !important; border-radius: 0 0 18px 18px; }

/* ---------- pagination ---------- */
body#ipboard_body .pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
body#ipboard_body .pagination .pages { display: inline-flex; flex-wrap: wrap; gap: 6px; }
body#ipboard_body .pagination .pages li { display: inline-flex; }
body#ipboard_body .pagination .pages a, body#ipboard_body .pagination .back a, body#ipboard_body .pagination .forward a, body#ipboard_body .pagination .pages li.active {
  min-width: 34px; height: 34px; padding: 0 10px !important; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--a26-line-3); border-radius: 8px !important; background: transparent !important; color: var(--a26-text-2) !important; font: 600 13px/1 var(--a26-sans) !important; text-transform: none; }
body#ipboard_body .pagination .pages a:hover, body#ipboard_body .pagination .back a:hover, body#ipboard_body .pagination .forward a:hover { border-color: #8a8784; background: rgba(255,255,255,.05) !important; color: #fff !important; }
body#ipboard_body .pagination .pages li.active { border-color: var(--a26-red-edge); background: rgba(192,50,31,.3) !important; color: #fff3e0 !important; }

/* ---------- tabs, filters, menus ---------- */
body#ipboard_body .ipsFilterbar, body#ipboard_body .ipsTabs { background: var(--a26-card-2) !important; border: 1px solid var(--a26-line) !important; border-radius: 14px; padding: 4px 10px !important; }
body#ipboard_body .ipsFilterbar li a, body#ipboard_body .ipsTabs li a { color: var(--a26-muted) !important; font-weight: 700; text-shadow: none !important; background: none !important; border: 0 !important; }
body#ipboard_body .ipsFilterbar li.active a, body#ipboard_body .ipsTabs li.active a, body#ipboard_body .ipsFilterbar li a:hover, body#ipboard_body .ipsTabs li a:hover { color: var(--a26-head) !important; box-shadow: inset 0 -2px 0 var(--a26-ember); }
body#ipboard_body .ipbmenu_content, body#ipboard_body .ipb_autocomplete, body#ipboard_body .ipsHeaderMenu {
  background: rgba(40,38,36,.98) !important; border: 1px solid var(--a26-line-3) !important; border-radius: 12px !important; box-shadow: 0 18px 40px rgba(0,0,0,.5) !important; color: var(--a26-text); overflow: hidden; }
body#ipboard_body .ipbmenu_content li, body#ipboard_body .ipb_autocomplete li { border-bottom: 1px solid var(--a26-line-2) !important; }
body#ipboard_body .ipbmenu_content a { color: var(--a26-text-2) !important; }
body#ipboard_body .ipbmenu_content a:hover { background: rgba(255,255,255,.06) !important; color: #fff !important; }
body#ipboard_body .ipsHeaderMenu { z-index: 5000 !important; padding: 14px !important; }

/* ---------- messages & badges ---------- */
body#ipboard_body .message { border-radius: 12px; background: rgba(192,50,31,.16) !important; border: 1px solid rgba(236,106,82,.5) !important; color: #ffe3da !important; font-size: 14px; }
body#ipboard_body .message.unspecific { background: var(--a26-card-2) !important; border-color: var(--a26-line) !important; color: var(--a26-text-2) !important; }
body#ipboard_body .message.error { background: rgba(192,50,31,.22) !important; }
body#ipboard_body .ipsBadge { border-radius: 6px; font-weight: 700; }
body#ipboard_body .ipsUserPhoto { border-radius: 12px !important; }

/* ---------- footer utilities & footer ---------- */
body#ipboard_body #footer_utilities { max-height: none !important; margin: 28px 0 0 !important; padding: 14px 0 0 !important; border-top: 1px solid var(--a26-line); background: none !important;
  font-size: 13px !important; text-shadow: none !important; }
body#ipboard_body #footer_utilities a { color: #c2c1bf !important; }
body#ipboard_body #footer_utilities a:hover { color: #fff !important; }
body#ipboard_body #backtotop { opacity: .7; }

.a26-footer { position: relative; z-index: 2; border-top: 1px solid #464441; padding: 40px 32px 34px; background: rgba(28,27,25,.6); }
.a26-footer-in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px 28px; }
.a26-footer h2 { margin: 0 0 12px; font: 700 15px/1.2 var(--a26-serif); letter-spacing: .08em; text-transform: uppercase; color: var(--a26-head); }
.a26-footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
body#ipboard_body .a26-footer a { color: #c2c1bf; font-size: 14px; }
body#ipboard_body .a26-footer a:hover { color: #fff; }
.a26-footer-social { display: flex; gap: 10px; }
body#ipboard_body .a26-footer-social a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--a26-line-3); background: rgba(55,53,50,.8); font-size: 16px; }
.a26-footer-base { max-width: 1240px; margin: 30px auto 0; padding-top: 20px; border-top: 1px solid #3d3b39; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 13px; color: var(--a26-muted); }
.a26-footer-base img { width: 130px; height: auto; display: block; }

/* misc */
.a26-mobile-note { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255,176,102,.4); background: rgba(255,138,76,.1); color: #ffe2c4; font-size: 14px; }
@media (prefers-reduced-motion: reduce) {
  .a26-root, .a26-spore, .a26-topbar, .a26-hdr-pad, .a26-wall-img { animation: none !important; }
}

/* ==========================================================================
   Tune-up fixes (v2) — responses to first review pass
   ========================================================================== */

/* [3a] Member pill: slim it so it nests inside the 38px top bar instead of
   filling the full height. */
body#ipboard_body .a26-account .a26-tlink { min-height: 24px; }
body#ipboard_body .a26-user { height: 26px; padding: 0 12px 0 3px; line-height: 1; }
.a26-user img { width: 20px; height: 20px; }

/* [3b] Double icons: IPB's inherited skin paints its own sprite as a background
   (and sometimes injects an <img>) on the inbox/notify links, doubling up with
   our Font Awesome icons. Strip the inherited sprite; keep our <i> only. */
body#ipboard_body #inbox_link, body#ipboard_body #notify_link {
  background: none !important; padding-left: 8px !important; text-indent: 0 !important; }
body#ipboard_body #inbox_link > img, body#ipboard_body #notify_link > img { display: none !important; }
body#ipboard_body #inbox_link::before, body#ipboard_body #notify_link::before { content: none !important; display: none !important; }

/* [2] Shoutbox: my global ipb_table padding bloated each shout row. Compact the
   rows inside any shoutbox mod (matched by id/class containing "shout") so ~5-6
   shouts show again without growing the box. */
body#ipboard_body [id*="shout"] table.ipb_table td,
body#ipboard_body [class*="shout"] table.ipb_table td,
body#ipboard_body [id*="shout"] .ipb_table td,
body#ipboard_body [class*="shout"] .ipb_table td { padding: 4px 12px !important; vertical-align: middle; }
body#ipboard_body [id*="shout"] .ipb_table tr,
body#ipboard_body [class*="shout"] .ipb_table tr { line-height: 1.35 !important; }
body#ipboard_body [id*="shout"] li, body#ipboard_body [class*="shout"] li { padding-top: 3px !important; padding-bottom: 3px !important; }

/* [1] Lottery strip: equalise the gap above/below (matched by id/class
   containing "lotter"). */
body#ipboard_body [id*="lotter"], body#ipboard_body [class*="lotter"] {
  margin-top: 16px !important; margin-bottom: 16px !important; }

/* [5] Topic view "Posted <date>": the inherited date element carries a sprite
   + negative offset that our rounded-corner overflow:hidden was clipping.
   Reset it so the text sits inside the post header. */
body#ipboard_body .post_block h3 .post_date,
body#ipboard_body .post_block h3 a .post_date,
body#ipboard_body .post_block .post_date,
body#ipboard_body .post_block h3 abbr.published {
  background: none !important; padding-left: 0 !important; margin-left: 0 !important; text-indent: 0 !important; left: 0 !important; }

/* [6] Post header right side (#num, checkbox, rate star): vertically centre the
   lot so the multiquote checkbox lines up. */
body#ipboard_body .post_block h3 .right,
body#ipboard_body .post_block h3 span.right { display: inline-flex !important; align-items: center !important; gap: 8px; }
body#ipboard_body .post_block h3 input[type="checkbox"],
body#ipboard_body .post_block .right input[type="checkbox"] { vertical-align: middle !important; margin: 0 !important; }

/* [4] Member hovercard: our global button height inflated the action buttons and
   pushed them over the info list. Make them static + compact inside the card.
   (If the layout is still off, the card's exact markup will let me pin it.) */
body#ipboard_body [class*="hovercard"] .ipsButton,
body#ipboard_body [class*="hovercard"] .ipsButton_secondary,
body#ipboard_body [id*="hovercard"] .ipsButton,
body#ipboard_body [id*="hovercard"] a.ipsButton_secondary {
  position: static !important; height: auto !important; min-height: 0 !important;
  padding: 6px 12px !important; font-size: 12px !important; letter-spacing: 0 !important; }

/* ==========================================================================
   Tune-up fixes (v3)
   ========================================================================== */

/* [5b] Rank glow: it's an inline box-shadow on .post_wrap for special groups.
   Our overflow:hidden on .post_block clipped it at the rounded corners. Stop the
   card clipping, and round .post_wrap itself so the glow follows the corners and
   the postbit art is still masked to the card shape. */
/* Clip the inner content to the rounded card (fixes the dark square poking out at
   the bottom corners). An element's own OUTSET box-shadow is not clipped by its
   own overflow:hidden, so the rank glow still shows. */
body#ipboard_body .post_block { overflow: hidden !important; }
/* the author column (fixed 200px) gets a slightly darker, recessed shade. Painting
   it as a gradient on the rounded+clipped .post_wrap (instead of on the author_info
   table-cell) means it follows the card's rounded corners with no square poking out. */
body#ipboard_body .post_block .post_wrap {
  border-radius: 18px !important; overflow: hidden;
  background: linear-gradient(90deg, var(--a26-pb-dark) 0, var(--a26-pb-dark) 231px, transparent 231px) !important; }

/* [1] Post controls: the left text links (@Mention/Report/Edit/Hide/Delete) now
   sit on the same centre line as the MultiQuote/Quote buttons (handled by the
   flex rule above); make the link items match the button height so nothing rides high. */
body#ipboard_body ul.post_controls > li > a,
body#ipboard_body ul.post_controls > li > span { display: inline-flex; align-items: center; }

/* [3] Forum toolbar: the icon now lives INSIDE the <a>, so the whole link is the
   pill and the entire button is clickable. li is just a flex wrapper. */
body#ipboard_body #admin_bar li { display: contents !important; }
body#ipboard_body #admin_bar a {
  display: inline-flex !important; align-items: center; gap: 4px; height: 40px; padding: 0 14px !important;
  box-sizing: border-box; border: 1px solid var(--a26-line-3) !important; border-radius: 10px !important;
  background: rgba(55,53,50,.8) !important; color: var(--a26-text) !important; font-weight: 600; white-space: nowrap;
  transition: background .2s ease, border-color .2s ease; }
body#ipboard_body #admin_bar a:hover { background: rgba(255,255,255,.08) !important; border-color: #b0aeab !important; color: #fff !important; }
body#ipboard_body #admin_bar li.active a { border-color: var(--a26-red-edge) !important; background: rgba(192,50,31,.28) !important; }
body#ipboard_body #admin_bar .fa, body#ipboard_body #admin_bar .fas { color: var(--a26-ember); }

/* ==========================================================================
   Tune-up fixes (v4)
   ========================================================================== */

/* [1] Messenger/notify overlap: inherited skin forced width:18px + a big
   !important padding (for the old sprite) onto these links, collapsing them so
   the bell rode over "Messenger". Reset to normal inline links. */
body#ipboard_body #inbox_link, body#ipboard_body #notify_link {
  width: auto !important; height: auto !important; min-width: 0 !important;
  padding: 0 8px !important; position: static !important; background: none !important; text-indent: 0 !important; }

/* [2] Double dropdown arrow: IPB injects its own arrow into #user_link_dd and we
   also render a themed caret. Hide IPB's; keep ours. (Menu still toggles on #user_link.) */
body#ipboard_body #user_link_dd { display: none !important; }

/* [3] Posted date: inherited inline margin-left:-36px pushed it under the card
   edge and got clipped. Pull it back and inset it to the card padding. */
body#ipboard_body .post_wrap .posted_info { margin-left: 0 !important; padding-left: 0 !important; }

/* [4] Postbit art: fill the 200px author column (was showing at natural size). */
body#ipboard_body .author_info { background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; }

/* [5] Topic "X replies" header + posts: the posts sit inside a boxed .ipsBox
   wrapper, so each rounded post card notches against the square wrapper. Drop the
   wrapper so the post cards stand alone, and make the reply-count bar a clean
   rounded header with a gap. (:has — modern browsers; degrades gracefully.) */
body#ipboard_body .ipsBox:has(#ips_Posts) { background: none !important; border: 0 !important; border-radius: 0 !important; }
body#ipboard_body #ips_Posts { background: none !important; border: 0 !important; padding: 0 !important; }
body#ipboard_body .maintitle:has(+ .ipsBox #ips_Posts) { border-radius: 16px !important; margin-bottom: 16px !important; }

/* ==========================================================================
   Tune-up fixes (v5)
   ========================================================================== */

/* [1] User dropdown panel sat under the header wings: the top bar was a lower
   stacking context than the header. Lift the whole top bar above it. */
body#ipboard_body .a26-topbar { z-index: 60 !important; }

/* [2] Notifications label to match "Messenger" (originally both were icon-only;
   the envelope got a label, so the bell gets one too). Hidden on mobile like the rest. */
body#ipboard_body #notify_link::after { content: "Notifications"; font-weight: 500; }
@media (max-width: 640px) { body#ipboard_body #notify_link::after { display: none; } }

/* [3/4] Posts: square top, rounded bottom. Kills the stray card background showing
   behind the old rounded TOP corners, and lets the top strip reach both corners. */
body#ipboard_body .post_block { border-radius: 0 0 18px 18px !important; }
body#ipboard_body .post_block .post_wrap { border-radius: 0 0 18px 18px !important; }

/* [secondary postbit] Names/titles now carry their own group markup (colour,
   stroke, shadow). Only nudge weight for readability — do NOT strip text-shadow,
   or ranks like Immortal Donator lose their gold stroke. */
body#ipboard_body .a26-pb-boost { font-weight: 700 !important; }

/* ==========================================================================
   Tune-up fixes (v6)
   ========================================================================== */

/* Posts: CLIP the card (square top, rounded bottom) so no inner element pokes a
   square corner and the top strip reaches both corners. The rank glow now lives on
   .post_block itself as an inline box-shadow (set per group in the post template) —
   a box-shadow is NOT clipped by the element's own overflow, so the thin coloured
   line + soft glow extend out onto the page, matching the homepage content cards. */
body#ipboard_body .post_block { overflow: hidden !important; border-radius: 0 0 18px 18px !important; }
body#ipboard_body .post_block .post_wrap { border-radius: 0 !important; overflow: visible !important; }

/* Top bar: even spacing across the account links. Drive the gaps from one flex gap
   instead of per-link padding, so Messenger -> Notifications -> Omicron are uniform. */
body#ipboard_body .a26-account { gap: 14px; }
body#ipboard_body .a26-account .a26-tlink { padding-left: 0 !important; padding-right: 0 !important; }
body#ipboard_body .a26-account .a26-user { padding: 0 12px 0 4px !important; }

/* ==========================================================================
   Tune-up fixes (v7)
   ========================================================================== */

/* [2] Topic button bar: centre the Reply (tall) and Topic Moderation (short)
   buttons on one line instead of baseline-aligning them. */
body#ipboard_body ul.topic_buttons { display: flex !important; align-items: center !important; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
body#ipboard_body ul.topic_buttons > li { float: none !important; margin: 0 !important; display: inline-flex; align-items: center; }

/* [4] Posted date: pin it to the LEFT of the post header (was drifting right). */
body#ipboard_body .posted_info { float: left !important; display: block !important; width: auto !important;
  margin: 0 !important; padding: 12px 20px !important; text-align: left !important; position: static !important; }

/* ==========================================================================
   Tune-up fixes (v8)
   ========================================================================== */

/* [1] Postbit art: fill the author column width without zoom/crop (cover spilled). */
body#ipboard_body .author_info { background-size: 100% auto !important; background-position: center top !important; background-repeat: no-repeat !important; }

/* [3] Glow spill: let the post ancestors overflow so the card's box-shadow radiates
   on all four sides, not just top/bottom. */
body#ipboard_body #ips_Posts, body#ipboard_body .ipsBox:has(#ips_Posts) { overflow: visible !important; }

/* [5] Posted date: the header is an <h3 class='row2'> that inherits padding-left:50px;
   style the h3 as a clean strip (overriding that) and let the date sit inline-left. */
body#ipboard_body .post_wrap h3, body#ipboard_body .post_block h3 {
  display: block !important; height: auto !important; min-height: 0 !important; overflow: hidden;
  padding: 10px 20px !important; line-height: 1.5 !important; text-align: left !important; }
body#ipboard_body .posted_info { float: none !important; display: inline !important;
  margin: 0 !important; padding: 0 !important; text-align: left !important; }

/* [FIX-1] Member hover card: flex layout — full-width name row, then photo+buttons
   column beside the info column. Flex avoids the float pulling the photo over the name. */
body#ipboard_body .userpopup { display: flex !important; flex-wrap: wrap; align-items: flex-start; }
body#ipboard_body .userpopup h3 { flex: 0 0 100%; margin: 0 !important; padding: 12px 16px !important; background: var(--a26-card-2) !important;
  border-bottom: 1px solid var(--a26-line) !important; font: 700 16px/1.2 var(--a26-serif) !important; box-sizing: border-box; }
body#ipboard_body .userpopup .side.left { flex: 0 0 150px; float: none !important; position: static !important; margin-top: 0 !important; box-sizing: border-box; padding: 14px; text-align: center; margin: 0 !important; }
body#ipboard_body .userpopup .side.left .ipsUserPhoto { max-width: 110px; height: auto; }
body#ipboard_body .userpopup .side.left .ipsButton_secondary { display: block; margin-top: 10px; }
body#ipboard_body .userpopup > .ipsPad:not(.side) { flex: 1; min-width: 0; margin: 0 !important; padding: 14px 16px; }
body#ipboard_body .userpopup .user_status { background: none !important; border: 0 !important; padding: 0 0 10px !important; color: var(--a26-text-3) !important; font-size: 13px; }
body#ipboard_body .userpopup .info dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; }
body#ipboard_body .userpopup .info dt { font-weight: 700; color: var(--a26-text-3); }
body#ipboard_body .userpopup .info dd { margin: 0; color: var(--a26-text-2); }
body#ipboard_body .userpopup .user_controls { clear: both; margin: 10px 0 0; padding: 0; list-style: none; display: flex; gap: 8px; flex-wrap: wrap; }

/* [FIX-2] Follow control: centre the button + follower count on one line (button left). */
body#ipboard_body .__like { display: inline-flex !important; flex-direction: row-reverse; align-items: center !important; gap: 10px; }
body#ipboard_body .__like .ipsButton_extra { float: none !important; display: inline-flex !important; align-items: center; gap: 6px;
  background: none !important; border: 0 !important; padding: 0 !important; color: var(--a26-text-2) !important; font-weight: 700; }
body#ipboard_body .__like .ipsButton_extra img { vertical-align: middle; }

/* [FIX-3] Shoutbox header: keep "Shoutbox" as the title; make toggle + popup small on
   the right so nothing overlaps the heading. */
/* every section toggle is a simple chevron on the right (like the shoutbox) */
body#ipboard_body .maintitle a.toggle { float: none; order: 3; margin-left: auto;
  width: 28px; min-width: 28px; height: 28px; padding: 0; border: 0; background: none;
  border-radius: 7px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0 !important; text-indent: 0 !important; overflow: hidden; }
body#ipboard_body .maintitle a.toggle::after { content: "\f078"; font-family: "Font Awesome 5 Free";
  font-weight: 900; font-size: 13px; color: var(--a26-muted); text-indent: 0; }
body#ipboard_body .collapsed .maintitle a.toggle::after { content: "\f077"; }
/* match the shoutbox toggle: no hover box, just brighten the arrow */
body#ipboard_body .maintitle a.toggle:hover { background: none; }
body#ipboard_body .maintitle a.toggle:hover::after { color: #fff; }
body#ipboard_body .maintitle #shoutbox-popup-button { float: right; margin-left: 8px; }
body#ipboard_body .maintitle #shoutbox-popup-button img { width: 18px; height: auto; vertical-align: middle; }

/* ==========================================================================
   Tune-up fixes (v11)
   ========================================================================== */

/* [1] Lottery bar: text wasn't centred against the progress-fill. The container
   (#shoutbox-announcement-text.message) holds a <p> + an absolute .progressbar;
   flex-centre the text and even the padding. */
/* ONLY the lottery (has the .progressbar) gets the flex-centre + bar padding. */
body#ipboard_body #shoutbox-announcement-text.message:has(.progressbar) {
  display: flex !important; align-items: center; justify-content: center;
  padding: 14px 22px !important; text-align: center; overflow: hidden; }
body#ipboard_body #shoutbox-announcement-text:has(.progressbar) .bbc_center { margin: 0 !important; width: 100%; }
/* The Welcome banner (no progressbar) is much shorter. */
body#ipboard_body #shoutbox-announcement-text.message:not(:has(.progressbar)) { padding: 7px 18px !important; }
body#ipboard_body #shoutbox-announcement-text.message:not(:has(.progressbar)) .bbc_center { margin: 0 !important; }

/* [2] Forum topic list: the filter bar (.ipsFilterbar.maintitle) and the list box
   (.ipsBox) were different widths. Make them equal and connect them cleanly. */
body#ipboard_body .ipsFilterbar.maintitle { box-sizing: border-box; width: 100% !important; margin: 0 !important; border-radius: 16px 16px 0 0 !important; }
body#ipboard_body .ipsFilterbar.maintitle + .ipsBox { box-sizing: border-box; width: 100% !important; margin: 0 !important; border-top: 0 !important; border-radius: 0 0 16px 16px !important; }

/* [3] Custom filter popup: drop the <br> spacers and use real margins, so each
   label has a gap above its dropdown and the fields are evenly spaced. */
body#ipboard_body #filter_form { padding: 14px 16px; }
body#ipboard_body #filter_form strong { display: block; margin: 0 0 6px; font-weight: 700; color: var(--a26-text); }
body#ipboard_body #filter_form br { display: none !important; }
body#ipboard_body #filter_form .input_select { display: block; width: 100%; box-sizing: border-box; margin: 0 0 14px; }
body#ipboard_body #filter_form .input_check { margin-right: 6px; vertical-align: middle; }
body#ipboard_body #filter_form label { display: inline; }
body#ipboard_body #filter_form .input_submit { display: block; width: 100%; margin-top: 12px; }

/* [4] Search sidebar: lay the input + section picker + submit on one row, stop the
   cog dropping below, and let the section menu draw outside the block (it's absolute). */
body#ipboard_body .__xX20search, body#ipboard_body .__xX20search ._sbcollapsable, body#ipboard_body .__xX20search #search { overflow: visible !important; }
body#ipboard_body .__xX20search #search { float: none !important; width: 100%; box-sizing: border-box; }
body#ipboard_body #search-box fieldset { display: flex !important; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; }
body#ipboard_body #search-box #search_wrap { position: relative; display: flex !important; align-items: stretch; flex: 1 1 auto; min-width: 0;
  border: 1px solid var(--a26-line-3); border-radius: 10px; background: var(--a26-card-2); overflow: visible; float: none !important; }
body#ipboard_body #search-box #main_search { flex: 1 1 auto; min-width: 0; border: 0 !important; background: none !important; margin: 0 !important; box-shadow: none !important; }
body#ipboard_body #search-box #search_options { display: inline-flex; align-items: center; padding: 0 10px; white-space: nowrap; cursor: pointer;
  border-left: 1px solid var(--a26-line-3); color: var(--a26-text-2); font-size: 12px; }
body#ipboard_body #search-box .submit_input { flex: 0 0 36px; width: 36px; border: 0 !important; border-left: 1px solid var(--a26-line-3) !important; background-color: transparent !important; cursor: pointer; }
body#ipboard_body #search_options_menucontent { top: calc(100% + 4px) !important; right: 0 !important; left: auto !important; }
body#ipboard_body #search-box #adv_search { float: none !important; margin: 0 !important; align-self: center; }

/* ==========================================================================
   Tune-up fixes (v12)
   ========================================================================== */

/* Rainbow "color-effect" rank (group 32): fill the author column instead of the
   fixed 200x451 box, for both primary and secondary. */
body#ipboard_body .author_info { position: relative; }
body#ipboard_body .color-effect { width: 100% !important; height: 100% !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  background-size: 100% auto !important; background-position: center top !important; }

/* Hover-card buttons: vertically centre the label. */
body#ipboard_body .userpopup .side.left .ipsButton_secondary {
  display: flex !important; align-items: center; justify-content: center; }

/* Shoutbox header: flex so the title is left and the toggle + popup controls sit
   right without overlapping (only the shoutbox maintitle has a .toggle link). */
body#ipboard_body .maintitle:has(a.toggle) { display: flex !important; align-items: center; gap: 8px; }
body#ipboard_body .maintitle a.toggle, body#ipboard_body .maintitle #shoutbox-popup-button { float: none !important; }
body#ipboard_body .maintitle #shoutbox-popup-button { margin-left: auto; order: 2; display: inline-flex; align-items: center; }
body#ipboard_body .maintitle a.toggle { order: 3; }

/* Search sidebar: round the input's left edge so the wrap's top-left border shows,
   and give the section picker a caret. */
body#ipboard_body #search-box #main_search { border-radius: 10px 0 0 10px; }
body#ipboard_body #search-box #search_options::after { content: ""; display: inline-block; margin-left: 6px;
  border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; }

/* Forum topic list: force the filter bar and the list box to equal width + connect
   (the hidden filter menu sits between them, so target the box via :has). */
body#ipboard_body .ipsFilterbar.maintitle, body#ipboard_body .ipsBox:has(#forum_table) {
  width: 100% !important; margin: 0 !important; box-sizing: border-box; }
body#ipboard_body .ipsFilterbar.maintitle { border-radius: 16px 16px 0 0 !important; }
body#ipboard_body .ipsBox:has(#forum_table) { border-top: 0 !important; border-radius: 0 0 16px 16px !important; }

/* Custom filter popup: size selects to content + a close chevron, so the arrow sits
   next to the text instead of at the far popup edge. */
body#ipboard_body #filter_form .input_select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23c8c4bd' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 12px center !important;
  width: auto; min-width: 170px; max-width: 100%; padding-right: 30px !important; }

/* ==========================================================================
   Tune-up fixes (v13)
   ========================================================================== */

/* Lottery: breathing room below (it was glued to the category box). */
body#ipboard_body #shoutbox-announcement-text.message { margin: 0 0 16px !important; }

/* Posted date: nudge a little further left. */
body#ipboard_body .post_wrap h3, body#ipboard_body .post_block h3 { padding-left: 14px !important; }

/* Search section picker: room so the caret isn't jammed against the divider. */
body#ipboard_body #search-box #search_options { padding: 0 14px !important; }

/* Forum filter bar: vertically centre its contents (taller feel, checkbox not glued
   to the bottom) and connect flush to the list box. */
body#ipboard_body .ipsFilterbar.maintitle { display: flex !important; align-items: center !important;
  padding-top: 13px !important; padding-bottom: 13px !important; margin-bottom: 0 !important; }
body#ipboard_body .ipsFilterbar.maintitle > .right, body#ipboard_body .ipsFilterbar.maintitle span.right { margin-left: auto; float: none !important; }
body#ipboard_body .ipsBox:has(#forum_table) { margin-top: 0 !important; }

/* Forum rows are now click-to-open (JS), so the row hover is honest — keep it. */
body#ipboard_body .col_c_forum, body#ipboard_body tr:has(.col_c_forum) { cursor: pointer; }

/* ==========================================================================
   Tune-up fixes (v14)
   ========================================================================== */

/* Filter bar: tabs were ending up on the right because the checkbox span is first
   in the DOM. Order the tab list first, keep the checkbox pushed right; and trim
   the height a touch. */
body#ipboard_body .ipsFilterbar.maintitle { padding-top: 9px !important; padding-bottom: 9px !important; }
body#ipboard_body .ipsFilterbar.maintitle > ul { order: -1; }

/* Lottery: equal gap above and below (was glued/huge-gapped). The bar's own margin
   gives the bottom gap; zero the shoutbox block's bottom margin and give the bar a
   matching top margin. */
body#ipboard_body #shoutbox-announcement-text.message { margin: 0 0 16px !important; }
body#ipboard_body #category_shoutbox { margin-bottom: 0 !important; }

/* Shoutbox header (scoped to #category_shoutbox): title left, popup + toggle right,
   nothing overlapping, popup icon constrained. */
body#ipboard_body #category_shoutbox .maintitle { display: flex !important; align-items: center !important; gap: 10px; }
body#ipboard_body #category_shoutbox .maintitle > a { float: none !important; position: static !important; }
body#ipboard_body #category_shoutbox .maintitle #shoutbox-popup-button { order: 2; margin-left: auto; display: inline-flex; align-items: center; }
body#ipboard_body #category_shoutbox .maintitle #shoutbox-popup-button img { width: 18px; height: auto; display: block; }
/* === Shoutbox header redesign (to match mock-up) ===
   Bolder title + chat icon; remove the popup button; toggle becomes a plain arrow;
   a placeholder "600 players online" (injected by JS) sits before the arrow. */
body#ipboard_body #category_shoutbox .maintitle a[href*="shoutbox/"] { order: 0; font-weight: 900 !important; display: inline-flex; align-items: center; }
body#ipboard_body #category_shoutbox .maintitle a[href*="shoutbox/"]::before {
  content: "\f075"; font-family: "Font Awesome 5 Free"; font-weight: 900; color: var(--a26-ember); margin-right: 12px; font-size: .8em; }
body#ipboard_body #category_shoutbox .maintitle #shoutbox-popup-button { display: none !important; }
/* toggle -> arrow */
body#ipboard_body #category_shoutbox .maintitle a.toggle {
  visibility: visible !important; order: 3; float: none !important; flex: 0 0 auto; width: auto !important; height: auto !important;
  overflow: visible !important; background: none !important; padding: 0 !important; border: 0 !important; font-size: 0 !important;
  color: var(--a26-text-2) !important; text-indent: 0 !important; margin-left: 2px; }
body#ipboard_body #category_shoutbox .maintitle a.toggle::after {
  content: "\f078"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 13px; }
body#ipboard_body #category_shoutbox.collapsed .maintitle a.toggle::after, body#ipboard_body .collapsed .maintitle a.toggle::after { content: "\f077"; }
body#ipboard_body #category_shoutbox .maintitle a.toggle:hover::after { color: #fff; }
/* player count (JS-injected placeholder) */
body#ipboard_body #category_shoutbox .maintitle .a26-pcount { order: 2; margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  font: 500 13px/1 var(--a26-sans); color: var(--a26-muted); text-transform: none; letter-spacing: 0; }
body#ipboard_body #category_shoutbox .maintitle .a26-pcount strong { color: var(--a26-text); font-weight: 700; }
body#ipboard_body #category_shoutbox .maintitle .a26-pcount .a26-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }

/* Search sidebar: let the input shrink so the cog stays inside the block; round the
   block's corners (and header/footer) so nothing pokes; centre the section label. */
body#ipboard_body #search-box fieldset { flex-wrap: nowrap !important; }
body#ipboard_body #search-box #main_search { width: auto !important; min-width: 0 !important; }
body#ipboard_body #search-box #adv_search { flex: 0 0 auto; }
body#ipboard_body #search-box #search_options { justify-content: center; padding: 0 12px !important; }
body#ipboard_body .__xX20search { border-radius: 14px !important; }
body#ipboard_body .__xX20search > h3 { border-radius: 14px 14px 0 0 !important; }
body#ipboard_body .__xX20search > ._sbcollapsable { border-radius: 0 0 14px 14px !important; }

/* ==========================================================================
   Tune-up fixes (v15) — search sidebar, verified via local render
   ========================================================================== */
/* The submit button inherits position:absolute, dropping it out of the row. Force
   the whole search into one flex row that fits the narrow sidebar: input shrinks,
   section picker + magnifier + cog have fixed small widths. */
body#ipboard_body .__xX20search, body#ipboard_body .__xX20search ._sbcollapsable, body#ipboard_body .__xX20search #search { overflow: visible !important; }
body#ipboard_body .__xX20search #search { float: none !important; width: 100% !important; box-sizing: border-box; padding: 0 12px 12px !important; }
body#ipboard_body #search-box fieldset { display: flex !important; align-items: stretch; gap: 6px; margin: 0; padding: 0; border: 0; flex-wrap: nowrap !important; }
body#ipboard_body #search-box #search_wrap { position: relative; display: flex !important; align-items: stretch; flex: 1 1 auto; min-width: 0; height: 38px;
  border: 1px solid var(--a26-line-3); border-radius: 10px; background: var(--a26-card-2); overflow: visible; float: none !important; }
body#ipboard_body #search-box #main_search { flex: 1 1 30px; min-width: 0; width: auto !important; border: 0 !important; background: none !important; margin: 0 !important; padding: 0 10px !important; box-shadow: none !important; border-radius: 10px 0 0 10px; }
body#ipboard_body #search-box #search_options { flex: 0 0 auto; display: inline-flex !important; align-items: center; justify-content: center; gap: 4px; padding: 0 8px !important; white-space: nowrap;
  border-left: 1px solid var(--a26-line-3); color: var(--a26-text-2); font-size: 11px; position: static !important; float: none !important; margin: 0 !important; height: auto !important; line-height: normal !important; }
body#ipboard_body #search-box #search_options::after { content: ""; display: inline-block; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; }
body#ipboard_body #search-box .submit_input { flex: 0 0 34px; width: 34px !important; height: auto !important; border: 0 !important; border-left: 1px solid var(--a26-line-3) !important;
  background-color: transparent !important; cursor: pointer; position: static !important; }
body#ipboard_body #search-box #adv_search { flex: 0 0 22px; float: none !important; margin: 0 !important; align-self: center; }
body#ipboard_body #search_options_menucontent { top: calc(100% + 4px) !important; right: 0 !important; left: auto !important; }

/* v15b: constrain the search form to the block width and let the input shrink to 0. */
body#ipboard_body .__xX20search #search, body#ipboard_body #search-box, body#ipboard_body #search-box fieldset {
  width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; float: none !important; }
body#ipboard_body #search-box #search_wrap { flex: 1 1 0 !important; min-width: 0 !important; }
body#ipboard_body #search-box #main_search { flex: 1 1 0 !important; width: 0 !important; min-width: 0 !important; }

/* Welcome banner: shrink the surrounding announcement cell so the chat rows gain
   the space. The grey band was: td padding + an empty leading <p> + paragraph
   margins + the banner's own padding. Collapse all of them. */
body#ipboard_body #shoutbox-announcement-row td { padding: 3px 8px !important; }
body#ipboard_body #shoutbox-announcement-row #shoutbox-announcement-text.message { margin: 0 !important; }
/* the maroon box itself (no progressbar) sits tight to its text */
body#ipboard_body #shoutbox-announcement-text.message:not(:has(.progressbar)) { padding: 5px 18px !important; }
/* kill the empty leading <p> and squeeze the gap between the two text lines */
body#ipboard_body #shoutbox-announcement-text.message:not(:has(.progressbar)) > p:empty { display: none !important; }
body#ipboard_body #shoutbox-announcement-text.message:not(:has(.progressbar)) > p { margin: 1px 0 !important; line-height: 1.35 !important; }

/* ==========================================================================
   Item 1: top search bar
   ========================================================================== */
body#ipboard_body .a26-toolrow { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 4px 0 18px; }
/* match the mock-up exactly: compact warm field, single box, inline magnifier */
body#ipboard_body .a26-topsearch { flex: 1 1 260px; max-width: 380px; min-width: 0; display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px; box-sizing: border-box;
  background: rgba(55,53,50,.85); border: 1px solid #575552; border-radius: 10px;
  transition: border-color .2s ease, background .2s ease; }
body#ipboard_body .a26-topsearch:focus-within { border-color: #7a7672; background: rgba(55,53,50,.95); }
body#ipboard_body .a26-ts-ico { color: var(--a26-muted); flex: 0 0 auto; }
/* the input is only the text — strip every bit of IPB's default field chrome so
   there is no box-inside-a-box */
body#ipboard_body .a26-topsearch .a26-ts-input {
  flex: 1; min-width: 0; height: auto !important;
  background: transparent !important; background-image: none !important;
  border: 0 !important; outline: 0 !important; box-shadow: none !important; border-radius: 0 !important;
  -webkit-appearance: none !important; appearance: none !important;
  margin: 0 !important; padding: 0 !important;
  color: #e7ede8 !important; font: inherit; font-size: 15px; line-height: 44px; }
body#ipboard_body .a26-topsearch .a26-ts-input::placeholder { color: var(--a26-muted); opacity: 1; }
body#ipboard_body .a26-topsearch .a26-ts-input::-webkit-search-decoration,
body#ipboard_body .a26-topsearch .a26-ts-input::-webkit-search-cancel-button { -webkit-appearance: none; }
body#ipboard_body .a26-toolrow #admin_bar { margin: 0 !important; flex: 1 1 auto; justify-content: flex-end; }
@media (max-width: 760px) { body#ipboard_body .a26-topsearch { flex-basis: 100%; max-width: none; } }

/* ==========================================================================
   Item 2: topic rating -> compact pill  ("★★★★★ 4.8 · 312 ratings")
   ========================================================================== */
body#ipboard_body span.rating.ipsType_smaller {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 10px; border-radius: 999px;
  border: 1px solid var(--a26-line-3); background: rgba(47,45,43,.75);
  font-size: 13px; color: #c2c1bf; line-height: 1; vertical-align: middle; }
/* drop the "Rate Topic" label — the stars are the control (but keep our avg chip) */
body#ipboard_body span.rating.ipsType_smaller > strong:not(.a26-rate-avg) { display: none; }
body#ipboard_body span.rating.ipsType_smaller .rate_img { vertical-align: middle; margin: 0; }
body#ipboard_body span.rating.ipsType_smaller a { line-height: 0; }
body#ipboard_body span.rating.ipsType_smaller #rating_text { color: var(--a26-muted); font-size: 13px; margin: 0; }
body#ipboard_body .a26-rate-avg { color: var(--a26-gold); font-weight: 800; font-size: 13px; }
body#ipboard_body .a26-rate-avg::after { content: "·"; margin: 0 5px; color: var(--a26-muted); font-weight: 400; }

/* ==========================================================================
   Items 3 + 4: "Faster answers on Discord" card  &  "Who's online" board
   ========================================================================== */
/* --- Discord card: text on the left, live online members over a faded logo on the right --- */
body#ipboard_body .a26-discord-card {
  position: relative; overflow: hidden; margin: 18px 0;
  padding: 15px 22px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  background: #373532; border: 1px solid #575552; border-radius: 18px; }
body#ipboard_body .a26-dc-glow {
  position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%;
  /* match the blurple glow-diamond on the left box (.a26-dc-title::before) */
  background: radial-gradient(circle, rgba(88,101,242,.28), rgba(88,101,242,0) 65%); pointer-events: none; }
body#ipboard_body .a26-dc-left {
  position: relative; z-index: 2; flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
body#ipboard_body .a26-dc-title {
  position: relative; margin: 0; font-family: var(--a26-serif); font-size: 19px; color: #f3efe2; }
body#ipboard_body .a26-dc-text {
  position: relative; margin: 0; font-size: 14px; line-height: 1.55; color: #c2c1bf; }
body#ipboard_body .a26-dc-btn {
  position: relative; align-self: flex-start; padding: 11px 18px;
  border: 1px solid #696663; border-radius: 10px; color: #e7ede8 !important;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .2s, background .2s; }
body#ipboard_body .a26-dc-btn:hover { border-color: var(--a26-ember); background: rgba(255,176,102,.08); color: #fff !important; }
/* right side */
body#ipboard_body .a26-dc-right { position: relative; flex: 1 1 300px; align-self: center;
  display: flex; flex-direction: column; justify-content: center; }
/* the logo sits behind, smaller + sharper, its left edge faded into the card */
body#ipboard_body .a26-dc-right .a26-dc-logo {
  position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 150px; height: auto;
  color: var(--a26-blurple); opacity: .42; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 60%);
          mask-image: linear-gradient(90deg, transparent 4%, #000 60%); }
body#ipboard_body .a26-dc-count { position: relative; z-index: 2; text-align: right; margin-bottom: 11px;
  font-size: 13px; color: #c2c1bf; display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
body#ipboard_body .a26-dc-count .a26-dc-num { color: #fff; font-weight: 800; }
body#ipboard_body .a26-dc-count .a26-dc-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; animation: a26dcwp 2s infinite; }
body#ipboard_body .a26-dc-avatars { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
body#ipboard_body .a26-dc-avatars a { width: 36px; height: 36px; border-radius: 50%; display: block; position: relative; }
body#ipboard_body .a26-dc-avatars img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #3a3734; background: #241f1c; display: block; }
body#ipboard_body .a26-dc-avatars .a26-dc-more { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.45); border: 2px solid #3a3734; font-size: 11px; font-weight: 700; color: #e7ede8; }
@media (max-width: 760px) { body#ipboard_body .a26-dc-count, body#ipboard_body .a26-dc-avatars { justify-content: flex-start; } }

/* --- Who's online board --- */
body#ipboard_body #board_statistics.a26-online-board {
  display: flex; flex-direction: column; gap: 16px; margin: 18px 0;
  padding: 11px 24px 22px; border-radius: 18px; border: 1px solid #4b4946; background: rgba(55,53,50,.94); }
body#ipboard_body .a26-ob-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
body#ipboard_body .a26-ob-title {
  margin: 0; display: flex; align-items: center; gap: 10px;
  font-family: var(--a26-serif); font-size: 20px; color: #f3efe2; }
body#ipboard_body .a26-ob-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 10px #4ade80; animation: a26pulse 2s infinite; }
@keyframes a26pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
body#ipboard_body .a26-ob-count { font-size: 14px; color: #b9b8b6; }
body#ipboard_body .a26-ob-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr)); gap: 12px; }
body#ipboard_body .a26-ob-stat {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px;
  border-radius: 12px; background: rgba(40,39,37,.75); border: 1px solid #4b4946; }
body#ipboard_body .a26-ob-k {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #a5a3a1; }
body#ipboard_body .a26-ob-v {
  font-family: var(--a26-serif); font-weight: 700; font-size: 22px; color: #f3efe2;
  background: none !important; padding: 0 !important; margin: 0 !important; border-radius: 0 !important; }
body#ipboard_body a.a26-ob-newest { color: var(--a26-ember) !important; font-size: 20px; text-decoration: none; }
body#ipboard_body a.a26-ob-newest:hover { text-decoration: underline; }
body#ipboard_body .a26-ob-pills { display: flex; flex-wrap: wrap; gap: 6px; }
body#ipboard_body .a26-online-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px;
  border-radius: 999px; background: #2f2d2b; border: 1px solid #504e4b; font-size: 12px; line-height: 1.4; }
body#ipboard_body .a26-online-pill a { text-decoration: none; }
body#ipboard_body .a26-ob-brief { margin: 0; color: var(--a26-muted); font-size: 13px; }
body#ipboard_body .a26-ob-links {
  margin: 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06);
  display: flex; flex-wrap: wrap; gap: 6px 18px; }
body#ipboard_body .a26-ob-links li { float: none; margin: 0; }
body#ipboard_body .a26-ob-links a { color: var(--a26-muted); font-size: 12px; }
body#ipboard_body .a26-ob-links a:hover { color: var(--a26-ember); }

/* ==========================================================================
   Item 5: shout action icons  (pencil -> reply arrow, folder -> report flag)
   ========================================================================== */
/* hide the original pencil / folder images */
body#ipboard_body a[onclick*="editShout"] img,
body#ipboard_body a[onclick*="modOptsLoadShout"] img { display: none !important; }
/* redraw the two anchors as themed glyphs (survives the shoutbox AJAX refresh) */
body#ipboard_body a[onclick*="editShout"],
body#ipboard_body a[onclick*="modOptsLoadShout"] {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 7px; vertical-align: middle;
  background-repeat: no-repeat; background-position: center; background-size: 15px 15px;
  transition: background-color .15s ease; }
body#ipboard_body a[onclick*="editShout"]:hover,
body#ipboard_body a[onclick*="modOptsLoadShout"]:hover { background-color: rgba(255,255,255,.06); }
body#ipboard_body a[onclick*="editShout"]      { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2215%22%20height%3D%2215%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23a5a3a1%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2014L4%209l5-5M4%209h11a5%205%200%200%201%205%205v6%22/%3E%3C/svg%3E"); }
body#ipboard_body a[onclick*="editShout"]:hover { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2215%22%20height%3D%2215%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffb066%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2014L4%209l5-5M4%209h11a5%205%200%200%201%205%205v6%22/%3E%3C/svg%3E"); }
body#ipboard_body a[onclick*="modOptsLoadShout"]      { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2215%22%20height%3D%2215%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23a5a3a1%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2022V4M4%204h13l-2%204%202%204H4%22/%3E%3C/svg%3E"); }
body#ipboard_body a[onclick*="modOptsLoadShout"]:hover { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2215%22%20height%3D%2215%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffb066%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2022V4M4%204h13l-2%204%202%204H4%22/%3E%3C/svg%3E"); }

/* ==========================================================================
   Who's-online board: fold in the "Members Online Today" mod + group legend
   (reorder so the members/guests line sits right after the active-now names,
   tighten the gaps, theme the injected blocks to match the card)
   ========================================================================== */
/* kill the <br> spacers the mod injects; the flex gap handles spacing */
body#ipboard_body #board_statistics.a26-online-board > br { display: none !important; }
/* flex order: head, stats, active pills, members/guests line, then the
   "online today" header + list + group legend + quick links */
body#ipboard_body #board_statistics.a26-online-board > .a26-ob-head      { order: 1; }
body#ipboard_body #board_statistics.a26-online-board > .a26-ob-stats     { order: 2; }
body#ipboard_body #board_statistics.a26-online-board > .a26-ob-pills     { order: 3; }
body#ipboard_body #board_statistics.a26-online-board > .a26-ob-brief     { order: 4; }
body#ipboard_body #board_statistics.a26-online-board > .statistics_head  { order: 5; }
body#ipboard_body #board_statistics.a26-online-board > #mot_body         { order: 6; }
body#ipboard_body #board_statistics.a26-online-board > ul:not(#stat_links) { order: 7; }
body#ipboard_body #board_statistics.a26-online-board > #stat_links       { order: 8; }

/* "Members Online Today: N [Collapse]" -> a themed sub-header with a divider */
body#ipboard_body #board_statistics .statistics_head {
  margin: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06);
  font-family: var(--a26-serif); font-size: 15px; font-weight: 700; color: #f3efe2; }
body#ipboard_body #board_statistics .statistics_head a {
  font-family: var(--a26-sans); font-weight: 500; font-size: 12px; color: var(--a26-muted); }
body#ipboard_body #board_statistics .statistics_head a:hover { color: var(--a26-ember); }

/* the "visited today" name list: flowing themed text, names keep group colours */
body#ipboard_body #board_statistics #mot_body {
  margin: 0; font-size: 13px; line-height: 1.95; color: var(--a26-muted); }
body#ipboard_body #board_statistics #mot_body .name a { text-decoration: none; }
body#ipboard_body #board_statistics #mot_body .name a:hover { text-decoration: underline; }

/* group-colour legend: themed wrapped row with a divider above */
body#ipboard_body #board_statistics > ul:not(#stat_links) {
  margin: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06);
  list-style: none; font-size: 12px; }
/* lay the group legend out as an even 5-column grid; a gold diamond is drawn to
   the left of every rank (first column included) so they line up in neat columns
   instead of floating around (the server's "|" are stripped in JS) */
/* hide the legend until JS has stripped the server's literal "|" separators, so the
   pipes never flash on first paint; JS adds .a26-legend-ready the moment it's cleaned */
body#ipboard_body #board_statistics > ul:not(#stat_links):not(.a26-legend-ready) { visibility: hidden; }
body#ipboard_body #board_statistics > ul:not(#stat_links) li {
  margin: 0; padding: 0; float: none; list-style: none;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px 0; align-items: center; }
body#ipboard_body #board_statistics > ul:not(#stat_links) li > a {
  white-space: nowrap; display: inline-flex; align-items: center; min-width: 0; }
body#ipboard_body #board_statistics > ul:not(#stat_links) li > a::before {
  content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin: 0 14px 0 2px;
  background: var(--a26-gold); transform: rotate(45deg); box-shadow: 0 0 6px rgba(230,184,92,.55); }
@media (max-width: 900px) {
  body#ipboard_body #board_statistics > ul:not(#stat_links) li { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* the members/guests line now sits under the active-now pills */
body#ipboard_body #board_statistics .a26-ob-brief { order: 4; padding: 0; }

/* The Discord card sits below the two-column forum layout: force it to clear
   both floats so it is always full width (never squeezed beside the sidebar). */
body#ipboard_body .a26-discord-card { clear: both; margin-top: 18px; }
/* Tighten the gap to the last forum section: the forum column ends each
   category with a trailing <br> + box margin, which left a big empty band. */
body#ipboard_body #board_index { margin-bottom: 0 !important; }
body#ipboard_body #categories > .category_block:last-child > br { display: none !important; }
body#ipboard_body #categories > .category_block:last-child { margin-bottom: 0 !important; }

/* ==========================================================================
   New batch: section glow-diamonds, dividers, discord logo, cleanups
   ========================================================================== */
:root, body#ipboard_body { --a26-section-dot: var(--a26-gold); --a26-blurple: #5865f2;
  /* postbit author column: a warm, slightly-darker recessed shade vs the card (#373532) */
  --a26-pb-dark: #2c2621; }

/* Image 2: glowing diamond before each section title — same gold as the lottery dividers */
body#ipboard_body .category_block:not(#category_shoutbox) > .maintitle a:not(.toggle)::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 12px;
  background: var(--a26-section-dot); transform: rotate(45deg); vertical-align: 1px;
  box-shadow: 0 0 7px rgba(230,184,92,.75), 0 0 14px rgba(230,184,92,.5); }

/* Image 3: small orange diamond divider (replaces the "|" via JS) */
body#ipboard_body .a26-div { display: inline-block; width: 6px; height: 6px; margin: 0 11px;
  background: var(--a26-gold); transform: rotate(45deg); vertical-align: 2px;
  box-shadow: 0 0 6px rgba(230,184,92,.6); }
body#ipboard_body #board_statistics > ul:not(#stat_links) .a26-div { flex: 0 0 auto; margin: 0 13px 0 7px; }

/* Image 8: purple glow-diamond before the Discord title + Discord logo on the right */
body#ipboard_body .a26-dc-title::before {
  content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 13px;
  background: var(--a26-blurple); transform: rotate(45deg); vertical-align: 2px;
  box-shadow: 0 0 8px var(--a26-blurple), 0 0 16px rgba(88,101,242,.6); }
body#ipboard_body .a26-discord-card { position: relative; }
/* (the old single right-hand logo is replaced by the .a26-dc-right faded logo + member grid) */

/* Task 1: remove the sidebar search block (search now lives at the top) */
body#ipboard_body .ipsSideBlock.__xX20search { display: none !important; }

/* Task 2: shoutbox rows + the red announcement banner are not clickable -> no hover highlight */
body#ipboard_body #category_shoutbox .ipb_table tr:hover td,
body#ipboard_body .shoutbox_table tr:hover td,
body#ipboard_body #shoutbox-announcement-row:hover td,
body#ipboard_body #shoutbox-announcement-row td:hover { background: transparent !important; }

/* ==========================================================================
   Images 5-7: topic prefixes / badges -> glossy translucent pill (like +30% SALE)
   keep each tag's own hue, just restyle the form
   ========================================================================== */
/* shape for every badge (no colour here, so nothing flashes before JS) */
body#ipboard_body .ipsBadge {
  position: static !important; display: inline-block !important; vertical-align: middle;
  padding: 2px 8px !important; border-radius: 6px !important; width: auto !important; height: auto !important;
  font: 700 10px/1.5 var(--a26-sans) !important; letter-spacing: .05em !important; text-transform: uppercase !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12) !important; text-shadow: none !important; }
/* variant (class) badges: glossy translucent, tinted by the class — pure CSS */
body#ipboard_body .ipsBadge_green, body#ipboard_body .ipsBadge_orange, body#ipboard_body .ipsBadge_purple,
body#ipboard_body .ipsBadge_red, body#ipboard_body .ipsBadge_grey, body#ipboard_body .ipsBadge_lightgrey {
  background: color-mix(in srgb, var(--a26-badge) 20%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--a26-badge) 50%, transparent) !important;
  color: color-mix(in srgb, var(--a26-badge) 35%, #ffffff) !important; }
body#ipboard_body .ipsBadge_green     { --a26-badge: #8fce14; }
body#ipboard_body .ipsBadge_orange    { --a26-badge: #ff9d2e; }
body#ipboard_body .ipsBadge_purple    { --a26-badge: #d868ab; }
body#ipboard_body .ipsBadge_red       { --a26-badge: #ef4d2e; }
body#ipboard_body .ipsBadge_grey      { --a26-badge: #9aa0a6; }
body#ipboard_body .ipsBadge_lightgrey { --a26-badge: #b0b4b8; }
/* inline-coloured prefixes (style="background:…"): keep their own hue and mute it
   to match the glossy look with an inset overlay — pure CSS, so no grey->colour flash */
body#ipboard_body .ipsBadge[style*="background"] {
  box-shadow: inset 0 0 0 999px rgba(43,40,38,.70), inset 0 1px 0 rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.14) !important; color: #f2ede4 !important; }

/* ==========================================================================
   Image 1: search-results filter bar ("Sort by [fields]   Order [dirs]")
   The forum-index rule reorders a single tab-list; the search bar instead has
   two label+list groups, so lay it out in natural order with the checkbox right.
   Scoped to the search bar via its standalone <span class="ipsType_small"> labels.
   ========================================================================== */
body#ipboard_body .ipsFilterbar.maintitle:has(> span.ipsType_small) {
  display: flex !important; align-items: center; flex-wrap: wrap; gap: 2px; }
body#ipboard_body .ipsFilterbar.maintitle:has(> span.ipsType_small) > ul {
  order: 0 !important; display: inline-flex !important; align-items: center; margin: 0 6px 0 2px !important; padding: 0; }
body#ipboard_body .ipsFilterbar.maintitle:has(> span.ipsType_small) > span.ipsType_small {
  order: 0; color: var(--a26-muted); font-weight: 600; letter-spacing: .02em; }
body#ipboard_body .ipsFilterbar.maintitle:has(> span.ipsType_small) > span.right {
  order: 99; margin-left: auto !important; float: none !important; display: inline-flex; align-items: center; }

/* Topic header: keep the prefix badge + rating pill vertically centred together */
body#ipboard_body .ipsBox_withphoto > .ipsBadge,
body#ipboard_body .ipsBox_withphoto > span.rating { vertical-align: middle !important; }

/* ==========================================================================
   Profile avatars (postbit): letter-avatar default, rank bubble, circular glow
   ========================================================================== */
/* postbit avatars: rounded square + rank-coloured glow painted from the
   --a26-rank var the template sets (so it shows immediately, no JS flash) */
body#ipboard_body .author_info li.avatar .ipsUserPhoto,
body#ipboard_body .author_info li.avatar .a26-letter-avatar {
  border-radius: 18px !important; width: 112px !important; height: 112px !important;
  object-fit: cover !important; box-sizing: border-box;
  box-shadow: 0 4px 13px rgba(0,0,0,.5) !important;
  border: 1px solid rgba(0,0,0,.3) !important; }
body#ipboard_body .author_info li.avatar .a26-letter-avatar { font-size: 48px; }
/* letter-avatar (first letter of the name), tinted by the --a26-rank var (no JS).
   The postbit rule above pins its own 112px/18px with !important; these sizes are for
   every OTHER place an avatar shows (member list, online now, PMs, hovercards, profile). */
body#ipboard_body .a26-letter-avatar {
  display: inline-flex !important; align-items: center; justify-content: center;
  box-sizing: border-box; overflow: hidden; padding: 0 !important; line-height: 1;
  width: 50px; height: 50px; border-radius: 12px; vertical-align: middle;
  box-shadow: 0 2px 6px rgba(0,0,0,.4); border: 1px solid rgba(0,0,0,.3);
  background: #241f1c !important; color: var(--a26-rank, #8d8982);
  font-family: var(--a26-serif); font-weight: 700; font-size: 22px; text-shadow: none; }
body#ipboard_body .a26-letter-avatar.ipsUserPhoto_large { width: 100px; height: 100px; border-radius: 16px; font-size: 40px; }
body#ipboard_body .a26-letter-avatar.ipsUserPhoto_medium { width: 50px; height: 50px; border-radius: 12px; font-size: 24px; }
body#ipboard_body .a26-letter-avatar.ipsUserPhoto_mini { width: 30px; height: 30px; border-radius: 8px; font-size: 14px; border-width: 1px; }
/* hide default avatars everywhere until JS swaps in the letter tile (no silhouette flash);
   a <noscript> rule in the global template reveals them again when JS is off. */
body#ipboard_body img.ipsUserPhoto[src*="default"] { visibility: hidden; }
/* INSTANT letter-avatar with ZERO old-photo flash.
   (1) The attribute selector hides any DEFAULT avatar image from the very first
   paint — it matches the server-rendered src before JS runs, so the stock photo
   never shows. It needs no template change, so it works even on cached pages.
   (2) Where the browser supports :has() AND the postbit template supplied
   --a26-initial, the letter tile is painted instantly over that slot.
   (3) Otherwise alora2026.js fills the (already-hidden) slot with the letter —
   still no old-photo flash, just a letter that appears a tick later. */
body#ipboard_body .author_info li.avatar img[src*="default"] { display: none !important; }
body#ipboard_body .author_info li.avatar a:has(img[src*="default"])::before {
  content: var(--a26-initial);           /* unset (no template) -> pseudo not generated, JS fills in */
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  vertical-align: middle; width: 112px; height: 112px; border-radius: 18px;
  background: #241f1c; color: var(--a26-rank, #8d8982);
  font-family: var(--a26-serif); font-weight: 700; font-size: 44px; line-height: 1;
  text-transform: uppercase; text-shadow: none;
  box-shadow: 0 4px 13px rgba(0,0,0,.5); border: 1px solid rgba(0,0,0,.3); }
/* rank subtitle -> compact bubble (like the mockup's "Divine Donator" pill) */
body#ipboard_body .a26-pb-rank {
  display: inline-block; margin-top: 6px; padding: 2px 11px;
  border: 1px solid var(--a26-line-3); border-radius: 999px; background: rgba(0,0,0,.22);
  line-height: 1.5; }
body#ipboard_body .a26-pb-rank, body#ipboard_body .a26-pb-rank * { font-size: 11px !important; font-weight: 600; }
body#ipboard_body .a26-pb-rank:empty { display: none; }

/* ==========================================================================
   Themed Discord sidebar widget (markup lives in a custom HTML block;
   styling + data come from here + alora2026.js, since the block strips
   <style>/<script>)
   ========================================================================== */
body#ipboard_body .a26-dcw { box-sizing: border-box; padding: 4px 2px; font-family: var(--a26-sans); color: var(--a26-text); }
body#ipboard_body .a26-dcw * { box-sizing: border-box; }
body#ipboard_body .a26-dcw-head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
body#ipboard_body .a26-dcw-logo { width: 24px !important; height: auto !important; color: var(--a26-blurple); flex: 0 0 auto;
  filter: drop-shadow(0 0 10px rgba(88,101,242,.5)); }
body#ipboard_body .a26-dcw-title { font-family: var(--a26-serif); font-size: 16px; font-weight: 700; color: #f3efe2; }
body#ipboard_body .a26-dcw-online { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #b9b8b6; white-space: nowrap; }
body#ipboard_body .a26-dcw-online .a26-dcw-count { color: #f3efe2; font-weight: 800; }
body#ipboard_body .a26-dcw-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; animation: a26dcwp 2s infinite; }
@keyframes a26dcwp { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
body#ipboard_body .a26-dcw-grid { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; min-height: 36px; }
body#ipboard_body .a26-dcw-av { position: relative; width: 34px; height: 34px; border-radius: 50%; display: block; }
body#ipboard_body .a26-dcw-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 1px solid #504e4b; background: #241f1c; display: block; }
body#ipboard_body .a26-dcw-av::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #373532; background: #747f8d; }
body#ipboard_body .a26-dcw-av[data-status="online"]::after { background: #4ade80; }
body#ipboard_body .a26-dcw-av[data-status="idle"]::after { background: #faa61a; }
body#ipboard_body .a26-dcw-av[data-status="dnd"]::after { background: #ef5350; }
body#ipboard_body .a26-dcw-more { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.3); border: 1px solid #504e4b; font-size: 11px; font-weight: 700; color: #b9b8b6; }
body#ipboard_body a.a26-dcw-join { display: block; text-align: center; padding: 10px 14px; border-radius: 10px; background: var(--a26-blurple); color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .15s ease, box-shadow .15s ease; }
body#ipboard_body a.a26-dcw-join:hover { background: #4954e6; box-shadow: 0 0 16px rgba(88,101,242,.5); color: #fff !important; }

/* "View full list" button for the Members-Online-Today list */
body#ipboard_body .a26-mot-morewrap { margin-top: 12px; }
body#ipboard_body .a26-mot-more {
  display: inline-block; padding: 8px 16px; border-radius: 9px;
  border: 1px solid var(--a26-line-3); background: rgba(0,0,0,.25);
  color: var(--a26-text); font: 600 12px/1 var(--a26-sans); cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease; }
body#ipboard_body .a26-mot-more:hover { border-color: var(--a26-ember); color: #fff; background: rgba(255,176,102,.08); }

/* ==========================================================================
   Member hovercard (the .vcard.userpopup popup) — tidy two-column layout,
   no label wrapping, themed, boxed right-aligned controls
   ========================================================================== */
body#ipboard_body .popupInner:has(.vcard.userpopup) { background: transparent !important; border: 0 !important; padding: 0 !important; }
body#ipboard_body .vcard.userpopup {
  background: var(--a26-card) !important; border: 1px solid var(--a26-line); border-radius: 14px; overflow: hidden;
  color: var(--a26-text); box-shadow: 0 18px 50px rgba(0,0,0,.5); }
body#ipboard_body .vcard.userpopup h3 {
  margin: 0; padding: 12px 18px; background: var(--a26-card-2); border-bottom: 1px solid var(--a26-line-2);
  font-family: var(--a26-serif); font-size: 18px; }
body#ipboard_body .vcard.userpopup h3 a { color: var(--a26-head) !important; }
/* left column: photo + action buttons */
body#ipboard_body .vcard.userpopup .side.left { padding: 16px !important; box-sizing: border-box; }
body#ipboard_body .vcard.userpopup .ipsUserPhoto { width: 104px !important; height: 104px !important; border-radius: 14px; object-fit: cover; border: 1px solid var(--a26-line-2); }
body#ipboard_body .vcard.userpopup .side.left .ipsButton_secondary {
  display: block; margin: 9px 0 0; text-align: center; padding: 8px 10px; border: 1px solid var(--a26-line-3) !important;
  border-radius: 9px; background: rgba(0,0,0,.22) !important; color: var(--a26-text) !important; font-weight: 600; text-decoration: none; }
body#ipboard_body .vcard.userpopup .side.left .ipsButton_secondary:hover { border-color: var(--a26-ember) !important; color: #fff !important; }
/* right column */
body#ipboard_body .vcard.userpopup .ipsPad { padding: 16px 18px !important; box-sizing: border-box; }
body#ipboard_body .vcard.userpopup .user_status { margin: 0 0 12px; font-style: italic; color: var(--a26-muted); }
/* the info list -> neat grid, labels never wrap */
body#ipboard_body .vcard.userpopup .info dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 20px; margin: 0; }
body#ipboard_body .vcard.userpopup .info dt { white-space: nowrap; font-weight: 700; color: var(--a26-muted); margin: 0; }
body#ipboard_body .vcard.userpopup .info dd { margin: 0; color: var(--a26-text); }
body#ipboard_body .vcard.userpopup .info dd a { color: var(--a26-link); }
/* flag / friend controls -> boxed buttons, right-aligned */
body#ipboard_body .vcard.userpopup .user_controls { display: flex !important; justify-content: flex-end; gap: 8px; margin: 14px 0 0 !important; padding: 12px 0 0; border-top: 1px solid var(--a26-line-2); list-style: none; }
body#ipboard_body .vcard.userpopup .user_controls li { margin: 0 !important; float: none !important; list-style: none; }
body#ipboard_body .vcard.userpopup .user_controls a {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border: 1px solid var(--a26-line-3); border-radius: 8px; background: rgba(0,0,0,.22); transition: border-color .15s ease; }
body#ipboard_body .vcard.userpopup .user_controls a:hover { border-color: var(--a26-ember); }