/* Inter (SIL Open Font License, fonts/OFL.txt), served with the site */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap;
    src: url(fonts/inter-latin-400-normal.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap;
    src: url(fonts/inter-latin-ext-400-normal.woff2) format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap;
    src: url(fonts/inter-latin-500-normal.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap;
    src: url(fonts/inter-latin-ext-500-normal.woff2) format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap;
    src: url(fonts/inter-latin-600-normal.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap;
    src: url(fonts/inter-latin-ext-600-normal.woff2) format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap;
    src: url(fonts/inter-latin-700-normal.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap;
    src: url(fonts/inter-latin-ext-700-normal.woff2) format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Anime.se — Go rebuild.
   Every number and colour below comes from capture.json: the design token
   counts, the measured boxes of the home / news / submit / opinion /
   modcp-announcements captures and their layout blocks at 1425, 768 and 390. */

:root {
    --bar: #1265a1;           /* main navigation bar */
    --btn: #177ec9;           /* buttons */
    --btn-ink: #0e4c79;       /* button icon on white */
    --surface: #ffffff;
    --page: #edf2f7;          /* the 6 elements that are not white */
    --deep: #2d3748;          /* site title */
    --head: #1a202c;          /* headings and forum links */
    --text: #353c41;          /* body copy */
    --muted: #718096;         /* dates, authors, meta */
    --crumb: #718096b3;       /* breadcrumbs */
    --inactive: #353c4199;    /* inactive sub-navigation items */
    --bar-link: #ffffffb3;    /* main bar items other than the first */
    --danger: #c0392b;
    --radius: 4px;
    --pill: 500px;
    --content: 1340px;
    --shadow: rgba(45, 55, 72, .1) 0 2px 4px -1px;
    --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--surface);
    color: var(--text);
    font: 400 13px/1.5 var(--font);
}

a { color: var(--head); text-decoration: none; }
a:hover { color: var(--bar); }
img { border: 0; max-width: 100%; }
/* the board sets paragraph spacing in em, which measures 7.2px at its 12px text */
p { margin: 0 0 .6em; }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; color: var(--head); }
ul, ol { margin: 0; padding: 0; list-style: none; }
form { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; }

/* the hidden attribute wins over any display rule below */
[hidden] { display: none !important; }

.visuallyHidden {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- header */

/* header 0,0 1425x80, background white, title 22px/500 */
.siteHeader { background: var(--surface); }
.headerInner {
    display: flex; align-items: center;
    width: 100%; max-width: var(--content); min-height: 80px; margin: 0 auto; padding: 0 15px;
}
.siteTitle { font-size: 22px; font-weight: 500; color: var(--deep); }

.userNav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.userNav > li > a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--deep); }
.userNav .icon { width: 20px; height: 20px; border-radius: var(--pill); background: var(--page); }
/* the unread counter: a 20x20 pill, measured as #36ab80 behind the "1" at
   x 1160..1197, y 21..38 */
.userNav .badge {
    min-width: 20px; height: 20px; padding: 0 4px; border-radius: var(--pill);
    background: #36ab80; color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.userNav .avatar img, .userNav .avatar .avatarBadge { width: 26px; height: 26px; border-radius: 50%; display: block; }
.userMenu { position: relative; }
.userMenu > summary { cursor: pointer; list-style: none; }
.userMenu > summary::-webkit-details-marker { display: none; }
.menu {
    position: absolute; right: 0; top: 100%; z-index: 60; min-width: 180px;
    background: var(--surface); border: 1px solid var(--page); box-shadow: var(--shadow);
    border-radius: 0 0 var(--radius) var(--radius);
}
.menu li a { display: block; padding: 8px 12px; font-size: 12px; font-weight: 400; color: var(--muted); }
.menu li a:hover { background: var(--page); color: var(--head); }
.menu li.head { padding: 8px 12px; font-size: 12px; font-weight: 700; color: var(--head); }
.menu li.sep { border-top: 1px solid var(--page); }

/* ----------------------------------------------------------- main bar */

/* nav 0,80 1425x52, background #1265a1; items 13px, first one white/600. The
   section row (ul 43,132 1340x50, white) is part of the same list in the page's
   own order, so it is a row pinned under the blue bar. */
.mainBar { position: relative; background: var(--bar); }
.barInner {
    display: flex; align-items: flex-start;
    width: 100%; max-width: var(--content); min-height: 52px; margin: 0 auto; padding: 0 15px;
}
.barList { display: flex; align-items: center; }
.barInner a { display: flex; align-items: center; height: 52px; padding: 0 12px; color: var(--bar-link); }
.barInner a:hover { color: #fff; }
.barInner a.top { font-weight: 600; color: #fff; }

.barSearch { display: flex; align-items: center; width: 350px; height: 32px; margin: 10px 0 0 auto; }
.barSearch input {
    width: 223px; height: 32px; padding: 0 10px; border: 0; color: #222;
    border-radius: var(--radius) 0 0 var(--radius); background: #fff; font: 400 13px/32px var(--font);
}
/* the magnifier is drawn from the board's icon font at 11px: the capture's design
   notes exactly one 11px element on every page, and this is the only chrome
   control small enough to be it */
.barSearch button {
    width: 44px; height: 32px; background: #edf0f4; color: #222; font-size: 11px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* the section row: white, right under the blue bar, and hidden on the pages
   whose capture has no such ul at all */
/* the bar is 102 tall where that row exists, 52 where it does not */
.mainBar.hasSub .barInner { min-height: 102px; }
.subBarHost {
    position: absolute; left: 0; right: 0; top: 52px;
    background: var(--surface);
}
.subInner {
    display: flex; align-items: center;
    width: 100%; max-width: var(--content); min-height: 50px; margin: 0 auto;
}
.subInner a { display: flex; align-items: center; height: 50px; padding: 0 14px; color: var(--inactive); }
.subInner a.active { color: var(--text); font-weight: 700; }
.subInner a:hover { color: var(--text); }

/* --------------------------------------------------------- container */

/* main 43,182 1340x3225: x 43, w 1340; content column x 58 w 970; sidebar x 1048 w 320 */
#ipsLayout_body { width: 100%; max-width: var(--content); margin: 0 auto; padding: 0 15px; }

.crumbs { display: flex; align-items: center; min-height: 44px; padding: 12px 0; }
.crumbs li { display: inline; font-size: 13px; color: var(--crumb); }
.crumbs li + li:before { content: "\00bb"; margin: 0 4px; color: var(--crumb); }
.crumbs a { color: var(--crumb); }
.crumbs .crumbRight { margin-left: auto; max-width: 500px; }
/* the sidebar column in the capture has a 340px max width */
.sidebar { max-width: 340px; }
.crumbs .crumbRight li { margin-left: 20px; }

.pageTitle { display: flex; align-items: center; gap: 16px; min-height: 44px; padding-left: 20px; }
.pageTitle h1 { font-size: 24px; color: var(--deep); }
.pageActions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.buttonGroup { display: flex; }

.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-width: 32px; min-height: 44px; padding: 0 16px;
    background: var(--btn); color: #fff; border-radius: var(--radius);
    font-size: 14px; font-weight: 500;
}
.button:hover { background: #146ba9; color: #fff; }
.button.quiet { background: #fff; color: var(--btn-ink); }
.button.quiet:hover { background: var(--page); color: var(--btn-ink); }
.button.small { min-height: 32px; padding: 0 10px; font-size: 13px; }
.button.danger { background: var(--danger); color: #fff; }
.buttonGroup .button { border-radius: 0; }
.buttonGroup .button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.buttonGroup .button:last-child { border-radius: 0 var(--radius) var(--radius) 0; }

.layoutRow { display: flex; align-items: flex-start; }
.content { flex: 0 1 970px; min-width: 0; }
/* pages with no sidebar (the article lists measured at 1309 wide) */
.content.full { flex: 1 1 auto; padding: 0 20px; }
.pageDesc { flex: 1 1 auto; font-size: 13px; color: var(--muted); }
/* the search bar's scope menu: the bar is 350 wide and the field shrinks to
   188 with a "Nyhetsartiklar" label and 178 with "Opinionsartiklar". */
.barScope { height: 32px; border: 1px solid #e2e8f0; border-radius: var(--radius) 0 0 var(--radius);
   background: #fff; font-size: 13px; padding: 0 6px; }
/* the moderation centre's row of message tools: a 56x20 accent link and a 13x13 box */
.aEdit { color: #880e4f; }
/* the moderation centre's counters are 34 tall round badges filled with #718096
   (measured circles at x 1055..1085 and x 1229..1259, y 270..291), 10px/700 */
.countChip {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; height: 34px; padding: 0 8px; border-radius: 100px;
    background: var(--muted); color: #fff;
    font-size: 10px; font-weight: 700; text-align: center;
}
.countChip.alert { background: #c53030; }
.aCheck { width: 13px; height: 13px; }
.sidebar { flex: 0 0 320px; margin-left: 18px; }

/* ------------------------------------------------------- board index */

/* category heading h2 58,310 970x49: 16px/700 */
/* measured 970x49 with the name at x 78 and the collapse icon at x 988: 20px of
   side padding inside the heading row */
.forumSection > h2 {
    display: flex; align-items: center; gap: 8px;
    min-height: 49px; font-size: 16px; padding: 0 20px;
}
.forumSection > h2 a { font-size: 16px; }
.forumSection > h2 .collapse { margin-left: auto; }
.forumSection > h2 .intro { flex: 1 1 auto; max-width: 430px; font-size: 13px; font-weight: 400; color: var(--muted); }

/* forum row: icon a 74,388 40x24; title 18px/700; subs 13px; desc 13px;
   count 13px; the last-post block is ul 758,359 270x104 (0 12 0 12) with a 40x40
   avatar at x 770, a 14px title link at x 820 and a 13px meta line under it; the
   text column is at most 196 wide (the widest measured box in the category). */
/* measured: the icon link's box is 40 wide at x 74 (16px into the row) and the
   title starts at x 136, so the row has 16px of side padding and 22px between the
   icon and the text column. */
.forumRow {
    display: flex; align-items: center; gap: 22px;
    padding: 12px 16px; border-top: 1px solid var(--page);
}
.forumIcon { flex: 0 0 40px; width: 40px; display: flex; align-items: center; color: var(--head); }
.forumIcon svg { width: 24px; height: 24px; }
/* the title's box is the text itself (measured 57..239 wide), never the full
   column, and every text line in the column is capped at 500 */
.forumMain { flex: 1 1 auto; min-width: 0; }
.forumMain h4 { font-size: 18px; display: inline-block; max-width: 500px; }
.forumMain h4.plain { font-weight: 400; }
/* measured: the sub-forum line sits 5px under the title, its links are 15px and
   20px apart; the whole line is capped at 500 */
.forumSubs { display: flex; flex-wrap: wrap; gap: 2px 20px; margin: 5px 0; max-width: 500px; }
.forumSubs a { font-size: 15px; font-weight: 400; }
.forumSubs a.bold { font-weight: 700; }
/* one line box per row: the description and the post figure share a paragraph
   measured 500x21 (13px text, 1.6 line-height) */
.forumMain .desc { font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 500px; }
.forumMain .postCount, .forumMain .noPosts { color: var(--muted); }
/* the category's own description, measured as a 500x21 paragraph under h2 */
.categoryIntro { max-width: 500px; font-size: 13px; color: var(--ink); }
/* measured: 270 wide, 12px side padding and 26px above and below; the 40px
   avatar sits at x 770 and the text column starts 10px later at x 820, 196 wide.
   A row with only a date measures 72 tall, one with a title 104-111. */
.forumLast { flex: 0 0 270px; display: flex; align-items: center; gap: 10px; padding: 26px 12px; }
.forumLast img, .forumLast .avatarBadge { width: 40px; height: 40px; border-radius: 50%; display: block; }
.forumLast .lfText { max-width: 196px; }
.forumLast .lfTitle { display: block; font-size: 14px; font-weight: 400; color: var(--head); }
.forumLast .lfMeta { display: block; font-size: 13px; line-height: 1.3; color: var(--muted); }
.forumLast .lfMeta a { color: var(--muted); }
.forumLast .noPosts { font-size: 13px; color: var(--muted); }

/* --------------------------------------------- online widget + sidebar */

.onlineWidget { margin-top: 24px; }
.onlineWidget > h3, .widget > h3 {
    display: flex; align-items: center; gap: 6px;
    min-height: 49px; font-size: 16px;
}
.onlineWidget .count { font-size: 13px; font-weight: 400; color: var(--muted); }
.onlineWidget .count a { color: var(--muted); }
.onlineBody { padding: 9px 0; }
.commaList li { display: inline; font-size: 14px; }
.commaList li:after { content: ", "; }
.commaList li:last-child:after { content: ""; }

/* widgets: h3 1048,246 320x49; the body is a #edf2f7 panel (the measured fill runs
   1055..1374 x 295..1230, i.e. behind every list) whose list is 296 wide and starts
   at x 1060 (12px inside); items are a 34x34 avatar at x 1074 plus text */
.widget { margin-bottom: 24px; }
.widget > h3 { padding: 9px 12px; border-radius: 4px 4px 0 0; }
.widgetBody { padding: 12px; background: var(--page); border-radius: 0 0 4px 4px; }
.widgetList li { display: flex; gap: 12px; margin-bottom: 12px; }
.widgetList li:last-child { margin-bottom: 0; }
.widgetList .wAvatar { flex: 0 0 34px; }
.widgetList img, .widgetList .avatarBadge { width: 34px; height: 34px; border-radius: 50%; display: block; }
.widgetList .line { min-width: 0; font-size: 13px; }
.widgetList .wTitle { display: inline-block; font-size: 13px; font-weight: 400; color: var(--head); }
.widgetList .who { font-size: 13px; font-weight: 700; }
.widgetList .meta, .widgetList .meta a { font-size: 12px; color: var(--muted); }
.none { font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------- footer */

/* footer 0,1253 1425x120 with padding 0 0 0 0: rows at 20 and 5 apart */
.siteFooter { padding: 0; }
.footerInner { width: 100%; max-width: var(--content); margin: 0 auto; padding: 0 15px; }
.socialRow { display: flex; justify-content: center; gap: 18px; min-height: 37px; }
.socialRow a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: var(--radius); color: #fff; font-size: 12px;
}
.socialRow .fb { background: #3b5998; }
.socialRow .tw { background: #00aced; }
.socialRow .yt { background: #e62117; }
.socialRow .dc { background: #404eed; }
.footerLinks { display: flex; justify-content: center; gap: 20px; min-height: 27px; margin-top: 20px; }
.footerLinks a { font-size: 14px; }
.footerNote { margin-top: 5px; min-height: 40px; display: flex; align-items: flex-start; justify-content: center; text-align: center; font-size: 12px; color: var(--text); }

/* -------------------------------------------------------------- cms
   /news/ is full width (the section is 1309 wide at x 58, no sidebar). The lead
   article is 1269 wide: header 1269x50 with a 54x54 avatar, title 24px/700 in
   #000, meta line 14px in #718096, body 14px, then a 23px tall footer with
   "Läs mer…" in 14px/700. The other records sit in a grid of 378-wide cards.
   (The board drew those in its accent, a #fcf7f9 wash with #880e4f text, which
   reads as hidden content here: they now look like the lead article.) */

.recordList { display: block; }
/* the lead article has no card of its own: nothing was measured behind it */
.recordLead { margin-bottom: 20px; }
.recordLead > header { display: flex; align-items: center; gap: 16px; min-height: 50px; }
.recordLead > header h2 { font-size: 24px; color: #000; }
.recordLead .rMeta { font-size: 14px; color: var(--muted); }
.recordLead .rBody { font-size: 14px; }
.recordFoot { display: flex; gap: 16px; padding: 12px; font-size: 14px; }
.recordFoot a { color: #1a202c; }
.recordFoot .more { color: #1a202c; font-weight: 700; }

.recordGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
/* The teaser is the whole article body; the board hands it to a script that trims
   it to 7 line boxes (7 x the computed line-height). web/clamp.js does that, and
   the max-height below is the same budget in CSS for when no script runs: the
   measured body boxes are 179 and 157 tall at 1440, 157 at 390, 179 at 768. */
/* 7 line boxes at 1.6 line-height: the measured teaser boxes are 179 tall in the
   big card (7 x 1.6 x 16px) and 157 in the small ones (7 x 1.6 x 14px). */
.recordLead .rBody { font-size: 16px; }
.recordCard .rBody { font-size: 14px; }
/* the body box itself measures 179 in the big card (7 x 1.6 x 16px) and 157 in
   the small ones (7 x 1.6 x 14px), 146 at 390 (7 x 1.6 x 13px); it starts 20px
   under the header and the link row sits 36px under it */
.recordCard .rBody, .recordLead .rBody { line-height: 1.6; margin: 20px 0 0; }
/* only the teasers in the lists are cut (data-clamp, here and the line clamp
   further down); the article page shows the whole text and its pictures */
.rBody[data-clamp] { max-height: calc(7 * 1.6 * 1em); overflow: hidden; }
/* seven line boxes hold only text in the capture: a stored picture, video or
   embed adds no height inside the teaser (its caption line does), so those
   elements are collapsed here and the paragraph and caption lines are what the
   script counts. */
.rBody[data-clamp] :is(img, iframe, embed, video, center) { max-height: 0; height: 0; margin: 0; padding: 0; overflow: hidden; }
.rBody.article :is(img, video) { max-width: 100%; height: auto; }
.rBody.article iframe { max-width: 100%; }
.rBody figure { margin: 0; }
/* (a teaser is too narrow for an article's justified paragraphs) */
.rBody [style*="justify"] { text-align: left !important; }
.rBody .e { font-style: normal; }
.recordCard .rFoot, .recordLead .rFoot { margin-top: 36px; padding: 0; }
/* the list is wrapped in the groups the capture measures: 1309x363 for the newest
   record and 1309x359 for the rest */
.recordGroup { margin-bottom: 0; }
.recordLeadList { margin-bottom: 0; }
.recordCard .rBody p, .recordLead .rBody p { margin: 0 0 .6em; }
.recordCard { color: var(--text); border-radius: var(--radius); }
.recordCard > header { min-height: 39px; }
.recordCard h2 { font-size: 16px; color: #000; }
.recordCard .rMeta { font-size: 12px; color: var(--muted); }
.recordCard .rMeta a { color: var(--head); }
.recordCard .rBody { font-size: 14px; }
.rFoot li { white-space: nowrap; }
.recordCard { padding-bottom: 0; }
.recordCard .rFoot a { color: var(--text); }
.recordCard .rFoot .more { font-weight: 700; }
.recordCard a, .recordLead a { color: inherit; }

.articleBody { font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.articleBody p { margin: 0 0 12px; }

/* ---------------------------------------------------------- topics */

.topicList li {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0; border-top: 1px solid var(--page);
}
.topicList .tMain { flex: 1 1 auto; min-width: 0; }
.topicList .tTitle { font-size: 16px; font-weight: 700; }
.topicList .tMeta { font-size: 13px; color: var(--muted); }
.topicList .tStats { flex: 0 0 90px; text-align: right; font-size: 13px; color: var(--muted); }

.post { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--page); }
.post .side { flex: 0 0 120px; text-align: center; }
.post .side .who { font-size: 14px; font-weight: 700; }
.post .side .title { font-size: 12px; color: var(--muted); }
.post .postBody { flex: 1 1 auto; min-width: 0; font-size: 13px; }
.post .postBody p { margin: 0 0 12px; }
.post .postMeta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }

/* ------------------------------------------------------ moderation
   modcp 1425x2218: counters 58,182 1310x44; the menu is on the LEFT (its
   headings and items sit at x 78 and are 228 wide) and the panel starts at
   x 350 and is 1018 wide. Headings are 13px/700 upper case in #000; items are
   228x36; the current item is #ffffff on #2d3748. */

.modcpCounters { display: flex; gap: 24px; align-items: center; }
.modcpCounters li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.modcpRow { display: flex; align-items: flex-start; padding-left: 20px; }
.modcpSide { flex: 0 0 228px; margin-right: 44px; }
/* the group headings in the side menu sit 25px apart with 5px to their list */
.modcpSide { display: flex; flex-direction: column; gap: 22px; }
.modcpSide h4 {
    display: flex; align-items: center; min-height: 32px;
    font-size: 13px; font-weight: 700; text-transform: uppercase; color: #000;
}
.modcpSide > ul { margin-bottom: 12px; }
.modcpSide li a { display: flex; align-items: center; min-height: 36px; padding: 0 10px; font-size: 13px; color: var(--deep); }
.modcpSide li a.active { background: var(--deep); color: #fff; }
.modcpMain { flex: 1 1 auto; min-width: 0; }
/* measured: the heading area above the panel (h3, the add button and the intro
   line) is 149 tall, the panel itself 1661 at 1440 and at 768 */
.modcpHead { min-height: 149px; }
.modcpHead > h3 { font-size: 16px; min-height: 32px; }
.modcpHead > .button { margin: 8px 0 14px; }
.modcpPanel > h2 { font-size: 16px; min-height: 49px; display: flex; align-items: center; }
.modcpIntro { font-size: 13px; color: var(--muted); min-height: 21px; margin: 0 0 14px; }
.announcementItem {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 0; border-top: 1px solid var(--page);
}
/* the moderation centre's rows alternate a #fcf7f9 wash */
.announcementItem:nth-child(odd) { background: #fcf7f9; }
.modcpRow { border-radius: 5px; }
/* measured: the panel is 1018 wide starting at x 350, its text at x 412 */
.modcpPanel { border-radius: 5px; padding-left: 0; }
.modcpPanel > * { margin-left: 62px; }
.announcementItem .aMeta { margin: 2px 0; }
.announcementItem img, .announcementItem .avatarBadge { width: 40px; height: 40px; border-radius: 50%; }
.announcementItem .aMain { flex: 1 1 auto; min-width: 0; }
.announcementItem h4 { font-size: 16px; }
.announcementItem .aState { font-size: 12px; font-weight: 400; color: var(--muted); }
.announcementItem .aMeta { font-size: 12px; color: var(--muted); }
.announcementItem .aBody { font-size: 13px; margin-top: 6px; }
.announcementItem .aTools { flex: 0 0 auto; display: flex; gap: 5px; align-items: center; }
.announcementItem .aDelete {
    width: 26px; height: 26px; border-radius: var(--radius);
    background: #c53030; color: #fff;
}
.announcementItem .aDelete svg { width: 12px; height: 12px; }
.announcementItem .aAvatar img { width: 34px; height: 34px; border-radius: 50%; display: block; }
.announcementList { display: block; }
.modcpHead { display: flex; align-items: center; min-height: 44px; }

/* --------------------------------------------------------------- misc */

/* the header's user name and the icon-only links in it */
.userNav .userName a { font-weight: 700; }
.userNav .iconLink { position: relative; }
.userNav .ico { display: inline-flex; width: 20px; height: 20px; }
.i { width: 20px; height: 20px; display: block; }

/* breadcrumb sides */
.crumbLeft, .crumbRight { display: flex; align-items: center; }

/* forum rows: the icon column and the last-post column parts */
.forumIcon.empty { visibility: hidden; }
.forumLast .lfAvatar { flex: 0 0 auto; }
.forumLast .lfText { min-width: 0; }

/* an article page */
.article { padding: 12px; }
.articleHead { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.articleHead .aAvatar img { width: 34px; height: 34px; border-radius: 50%; display: block; }
.articleHead .aMeta { font-size: 13px; color: var(--muted); }
.articleHead .aState { color: var(--muted); }

/* a coloured initial shown when a member has no photo */
.avatarBadge {
    display: inline-block; border-radius: 50%; text-align: center;
    font-weight: 700; vertical-align: middle;
}

/* ------------------------------------------------------------ form */

.formPanel, .submitForm {
    padding: 12px; box-shadow: var(--shadow); border-radius: var(--radius); max-width: 560px;
}

/* a plain boxed panel */
.panel { padding: 12px; margin-bottom: 24px; box-shadow: var(--shadow); border-radius: var(--radius); }
.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; }
.field input[type=text], .field input[type=search], .field input[type=password],
.field input[type=email], .field textarea, .field select {
    width: 100%; padding: 8px 10px; border: 1px solid var(--page); border-radius: var(--radius);
    background: #fff; color: var(--text); font: 400 14px/1.5 var(--font);
}
.field textarea { min-height: 120px; }
.submitRow { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.pickerList { max-width: 560px; margin-bottom: 12px; }
.pickerList li { padding: 4px 0; font-size: 13px; }
.pickerList li.child { padding-left: 24px; }
.notice { padding: 12px; background: var(--page); border-radius: var(--radius); font-size: 13px; margin-bottom: 12px; }
.notice.error { background: #fbeaea; color: var(--danger); }

/* ------------------------------------------------------------ admin */

.adminRow { display: flex; align-items: flex-start; }
.adminNav { flex: 0 0 320px; margin-left: 18px; }
.adminNav h4 {
    display: flex; align-items: center; min-height: 36px; padding: 0 10px;
    font-size: 12px; text-transform: uppercase; color: #fff; background: var(--deep);
}
.adminNav a { display: block; padding: 8px 10px; font-size: 13px; }
.adminNav a.active { background: var(--page); font-weight: 700; }
.adminMain { flex: 1 1 auto; min-width: 0; }
.adminPanelTitle { font-size: 18px; min-height: 49px; display: flex; align-items: center; gap: 8px; }
.statsGrid { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.statsGrid div { flex: 1 1 140px; padding: 12px; box-shadow: var(--shadow); border-radius: var(--radius); }
.statsGrid b { display: block; font-size: 18px; }
.statsGrid span { font-size: 12px; color: var(--muted); text-transform: uppercase; }
.ipsTable { width: 100%; font-size: 13px; }
.ipsTable th, .ipsTable td { padding: 8px 10px; border-bottom: 1px solid var(--page); text-align: left; vertical-align: top; }
.ipsTable th { font-size: 12px; color: var(--muted); text-transform: uppercase; }
.ipsTable tr.depth1 td:first-child { padding-left: 28px; }
.ipsTable tr.depth2 td:first-child { padding-left: 48px; }
.inlineForm { display: inline; }
.inlineForm input[type=text] { width: 160px; padding: 4px 6px; border: 1px solid var(--page); border-radius: var(--radius); }

/* ------------------------------------------------------------ mobile
   Blocks measured at 768 and 390: the container goes full width, the
   sidebar moves under the content, the last-post column and the sub
   navigation disappear. */

@media (max-width: 1380px) {
    /* below the full content width, keep a gutter so nothing touches the
       window edge (phones go edge to edge again in the 768 block) */
    .headerInner, .barInner, .subInner, .footerInner, .footerRow { padding-left: 15px; padding-right: 15px; }
    #ipsLayout_body { padding: 0 15px; }
    .pageTitle, .modcpRow, .adminRow { padding-left: 0; }
    /* nothing may push the page sideways at a narrow width */
    .barInner { flex-wrap: wrap; }
    .userNav { flex-wrap: wrap; }
    .barSearch { width: 350px; max-width: 100%; min-width: 0; }
    .content, .sidebar, .forumMain, .modcpMain, .adminMain { min-width: 0; }
    .forumLast { flex: 0 1 270px; }
    .layoutRow { flex-wrap: wrap; }
    .content { flex: 1 1 auto; }
    /* measured at 768: the forum list and the sidebar stay side by side
       (content 970 wide at x 58, sidebar 320 wide at x 1048) */
    .layoutRow { flex-wrap: nowrap; }
    .sidebar { margin-left: 18px; }
    .modcpRow, .adminRow { padding-left: 0; }
    .adminRow { flex-wrap: wrap; }
    .adminPanel { padding-left: 0; }
    .adminNav { flex: 1 1 100%; margin-left: 0; margin-right: 0; }
}

@media (max-width: 768px) {
    .headerInner { min-height: 55px; }
    /* measured at 390 and 768: the navigation bar stays one row of 50 (at 768)
       or 52; items that do not fit are clipped, never wrapped to a new row */
    .barInner { flex-wrap: nowrap; min-height: auto; overflow: hidden; }
    .barList { flex-wrap: nowrap; }
    /* measured at 768: the moderation centre keeps its 228-wide menu beside a
       full-height panel (the original's section is 723 wide and 1661 tall, the
       same as at 1440) */
    .modcpRow { flex-wrap: nowrap; }
    .modcpSide { flex: 0 0 228px; margin-right: 44px; }
    .barInner a { height: 40px; }
    .barSearch { margin: 8px 0; width: 100%; }
    .barSearch input { flex: 1 1 auto; width: auto; }
    .subBarHost { display: none; }
    .mainBar .barInner, .mainBar.hasSub .barInner { min-height: 52px; align-items: center; }
    .barList { flex-wrap: wrap; }
    .forumLast { display: none; }
    /* measured at 390: the forum list takes the whole width and the sidebar
       drops below it (the original's section is 370 wide, rows one per row) */
    .layoutRow { flex-wrap: wrap; }
    .content { flex: 1 1 100%; }
    .sidebar { flex: 1 1 100%; margin-left: 0; }
    .forumRow { padding: 12px 0; }
    .forumRow { align-items: flex-start; }
    .pageTitle { flex-wrap: wrap; }
    /* measured: three cards side by side at every width (378 wide at 1440, ~196 at
       768, 330 at 390) */
    .userNav { gap: 12px; }
    /* phones: the panels run edge to edge */
    .barInner, .subInner, .footerInner, .footerRow { padding-left: 0; padding-right: 0; }
    #ipsLayout_body { padding: 0; }
}

@media (max-width: 599px) {
    .pageTitle h1, .recordLead > header h2 { font-size: 20px; }
    /* measured at 390: the list is 370 wide with 20px of padding, so a card that
       spans the row is 330 wide; the grid keeps its three tracks (the capture
       counts three per row at this width too) and the cards span all of them */
    .content.full { padding: 0 20px; }
    .recordGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
    .recordGrid > li { grid-column: 1 / -1; }
    /* the measured teaser box is 146 tall at 390 = 7 x 1.6 x 13px */
    .recordCard .rBody { font-size: 13px; }
    .userNav { flex-wrap: wrap; row-gap: 4px; }
    .barScope { width: auto; }
    .barSearch { min-width: 0; }
    .modcpCounters { flex-wrap: wrap; }
    /* measured at 390: the moderation centre shows the panel alone (the capture
       has no menu box at that width) and the page is 1455 tall in all */
    .modcpSide { display: none; }
    .modcpPanel { padding-left: 0; }
    .modcpPanel > * { margin-left: 20px; }
    .modcpHead { min-height: 100px; }

    .forumMain h4 { font-size: 16px; }
    .forumRow { padding: 12px 0; gap: 12px; }
    .topicList .tStats { display: none; }
    .post { flex-direction: column; }
    .post .side { flex-basis: auto; display: flex; flex-wrap: wrap; min-width: 0; gap: 8px; align-items: center; text-align: left; }
    .footerLinks { flex-wrap: wrap; }
    .statsGrid div { flex: 1 1 100%; }
}

/* =====================================================================
   Visual pass, read off the screenshots at 1440 / 768 / 390: grey page
   with white cards, round forum icons, the post-count column, letter
   avatars, the icon header and the phone header with a menu button.
   ===================================================================== */

body { background: var(--page); }
.siteHeader { background: #fff; }
.subBarHost { border-bottom: 1px solid #e2e8f0; }
.mainBar.hasSub { margin-bottom: 1px; }

/* header: + Skapa ▾ | bell mail warning | avatar root ▾ */
.userNav { gap: 20px; }
.userNav > li > a { color: var(--head); }
.userNav .ico { width: 20px; height: 20px; color: var(--head); }
.userNav .ico.sm { width: 14px; height: 14px; }
.userNav .ico .i, .userNav .caret .i { width: 100%; height: 100%; }
.userNav .caret { display: inline-flex; width: 10px; height: 10px; margin-left: -2px; }
.userNav .iconLink .badge { position: absolute; top: -9px; right: -9px; min-width: 18px; height: 18px; line-height: 18px; font-size: 11px; padding: 0 4px; }
.navDivider { width: 1px; height: 36px; background: #e2e8f0; }
.userNav .userMenu { margin-right: -12px; }
.userNav .userName a { gap: 4px; }
.mobileMenu, .mobileBar { display: none; }

/* main bar: white pill search on the right */
.barInner a .i { display: none; }
.barSearch {
    background: #fff; border-radius: 16px; overflow: hidden; width: 350px;
}
.barSearch input { flex: 1 1 auto; width: auto; min-width: 0; border-radius: 0; padding: 0 16px; background: transparent; }
.barSearch button { width: 44px; background: transparent; color: var(--head); }
.barSearch button .i { width: 14px; height: 14px; margin: 0 auto; }
.barScope { border: 0; border-right: 1px solid #e2e8f0; border-radius: 0; height: 32px; padding: 0 10px; background: #fff; }

/* breadcrumbs with their small icons */
.crumbs .crumbRight a { display: inline-flex; align-items: center; gap: 6px; }
.crumbs .crumbRight .i { width: 13px; height: 13px; }
.crumbs .crumbRight li + li:before { content: none; }

/* page title row sits in the content column, 20px above the first card */
.layoutRow { gap: 20px; }
.sidebar { margin-left: 0; flex: 0 0 320px; }
.content > .pageTitle { padding-left: 0; margin-bottom: 20px; }
.pageTitle h1 { color: #000; }
.viewToggle .button { min-width: 31px; width: 31px; padding: 0; box-shadow: 0 0 0 1px #e2e8f0 inset; }
.viewToggle .button:first-child { box-shadow: none; }
.viewToggle .button .i { width: 14px; height: 14px; }
.viewToggle .button.quiet { color: var(--btn); }
.startTopic .button { width: 193px; }

/* category cards */
.forumSection {
    background: #fff; border-radius: var(--radius); margin-bottom: 20px;
    box-shadow: rgba(0, 0, 0, .05) 0 1px 2px;
}
.forumSection > h2 { border-bottom: 1px solid #edf2f7; }
.forumSection > h2 .collapse { display: inline-flex; width: 18px; height: 18px; color: #cbd5e0; }
.forumSection > h2 .collapse .i { width: 18px; height: 18px; }
.forumRow { border-top: 0; padding: 16px; min-height: 96px; }
.forumRow + .forumRow { border-top: 1px solid #edf2f7; }
.forumIcon {
    flex: 0 0 40px; height: 40px; border-radius: 50%; justify-content: center;
    background: #1265a1; color: #fff;
}
.forumIcon .i, .forumIcon svg { width: 18px; height: 18px; }
.forumIcon.empty { visibility: visible; background: #d8e6f3; color: #fff; }
.forumMain h4 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.forumMain h4.plain { font-weight: 400; }
.forumMain h4 a { color: var(--head); }
.forumMain .desc { margin: 2px 0 0; color: var(--muted); }
.forumMain .mCount { display: none; margin: 0; font-size: 13px; color: var(--muted); }
.forumSubs { display: block; margin: 2px 0 0; padding-left: 18px; position: relative; }
.forumSubs:before {
    content: ""; position: absolute; left: 3px; top: 3px; width: 8px; height: 6px;
    border-left: 1px solid #a0aec0; border-bottom: 1px solid #a0aec0;
}
.forumSubs li { display: inline; font-size: 13px; }
.forumSubs li a { font-size: 13px; color: var(--head); }
.forumSubs li.bold a { font-weight: 700; }
.forumSubs li.bold:before {
    content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 4px;
    border-radius: 50%; background: #1265a1; vertical-align: 1px;
}
.forumSubs li.bold:not(:last-child) a:after { content: ","; }
.forumSubs li + li { margin-left: 8px; }
.forumStats {
    flex: 0 0 60px; margin: 0; display: flex; flex-direction: column; align-items: flex-end;
    line-height: 1.2; text-align: right;
}
.forumStats b { font-size: 18px; font-weight: 400; color: var(--head); }
.forumStats span { font-size: 13px; color: var(--muted); }
.forumLast { padding: 0 0 0 0; margin-left: 2px; flex: 0 0 258px; }
.forumLast.empty { padding-left: 50px; }
.forumLast .lfAvatar { display: flex; flex-direction: column; align-items: center; }
.forumLast .lfTiny { display: none; font-size: 11px; color: var(--muted); margin-top: 4px; }
.forumLast .lfText { max-width: 208px; }
.forumLast .lfTitle { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* sidebar: white cards, white list rows */
.widget { background: #fff; border-radius: var(--radius); margin-bottom: 15px; box-shadow: rgba(0, 0, 0, .05) 0 1px 2px; }
.widget > h3 { padding: 0 16px; min-height: 49px; border-bottom: 1px solid #edf2f7; }
.widgetBody { background: #fff; padding: 0 12px; }
.statusPrompt { margin: 0 -12px; padding: 12px; background: #f7f9fb; }
.statusPrompt span {
    display: flex; align-items: center; height: 34px; padding: 0 10px;
    background: #fff; border: 1px solid #e2e8f0; color: var(--muted); font-size: 13px;
}
.widgetList li { margin: 0; padding: 16px 4px; border-top: 1px solid #edf2f7; }
.widgetList li:first-child { border-top: 0; }
.widgetList .line { flex: 1 1 auto; line-height: 1.55; }
.widgetList .line .body { margin: 0; }
.widgetList .statusText { display: block; color: var(--text); }
.widgetList .meta { display: block; margin: 0; }
.widgetList .meta .by, .widgetList .meta .started { display: block; }
.widgetList .meta .by { color: var(--text); }
.widgetList .meta .by a { color: var(--text); font-size: 13px; }
.widgetList .wTitle { display: block; }
.wBadge {
    flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: #edf2f7; font-size: 12px; color: var(--head);
}
.wBadge.zero { background: #fff; border: 1px solid #edf2f7; color: #cbd5e0; }
.wComments { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--head); }
.wComments .i { width: 13px; height: 13px; }
.widgetBody > .none { display: block; padding: 16px 4px; }
.onlineWidget { background: #fff; border-radius: var(--radius); padding: 0 16px 12px; margin: 0 0 20px; }
.onlineWidget > h3 { border-bottom: 1px solid #edf2f7; margin: 0 -16px; padding: 0 16px; }


@media (max-width: 1380px) {
    .layoutRow { gap: 20px; }
    .sidebar { margin-left: 0; }
}
@media (max-width: 1100px) {
    .forumStats { display: none; }
}

/* ------------------------------------------------- phone (390 measured) */
@media (max-width: 768px) {
    .headerInner { min-height: 55px; padding: 0 15px; }
    .userNav { display: none; }
    .headerInner { position: relative; }
    .mobileMenu { display: inline-flex; margin-left: auto; color: var(--deep); }
    .mobileMenu.dropMenu { position: static; }
    .mobileMenu summary { position: relative; padding: 8px 0 8px 8px; color: var(--deep); }
    .mobileMenu summary .ico, .mobileMenu summary .i { width: 22px; height: 22px; }
    .mobileMenu .menu.mobileDrawer {
        top: 100%; left: 0; right: 0; min-width: 0; border-radius: 0; padding: 6px 0 10px;
        max-height: calc(100vh - 55px); overflow-y: auto; overscroll-behavior: contain;
    }
    .mobileMenu .menu.mobileDrawer::before { display: none; }
    .mobileDrawer .mdUser { display: flex; align-items: center; gap: 12px; padding: 10px 18px 12px; color: var(--head); border-bottom: 1px solid #edf2f7; }
    .mobileDrawer .mdUser img, .mobileDrawer .mdUser .avatarBadge { width: 36px; height: 36px; border-radius: 50%; display: block; }
    .mobileDrawer .mdUser b { display: block; font-size: 15px; }
    .mobileDrawer .mdUser small { display: block; font-size: 12px; color: var(--muted); }
    .mobileDrawer h4 { margin: 10px 0 2px; padding: 0 18px; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
    .mobileMenu.dropMenu .mobileDrawer li a { display: flex; align-items: center; gap: 10px; padding: 11px 18px; font-size: 15px; }
    .mobileDrawer li a .i { flex: 0 0 16px; display: block; width: 16px; height: 16px; color: var(--muted); }
    .mobileDrawer .mdCount { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #36ab80; color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
    .mobileDrawer ul.sep { border-top: 1px solid #edf2f7; margin-top: 8px; padding-top: 4px; }
    .mobileMenu .badge {
        position: absolute; top: -8px; right: -9px; min-width: 18px; height: 18px; border-radius: 9px;
        background: #36ab80; color: #fff; font-size: 11px; line-height: 18px; text-align: center;
    }
    .mainBar .barInner, .mainBar.hasSub .barInner { min-height: 50px; justify-content: flex-end; }
    .barList, .barSearch, .subBarHost { display: none; }
    .mobileBar { display: flex; align-items: center; gap: 22px; height: 50px; margin-left: auto; padding-right: 15px; }
    .mobileBar a.mobileSignIn { align-items: center; font-size: 14px; font-weight: 600; }
    .mobileBar a { display: flex; padding: 0; height: 50px; color: #fff; }
    .mobileBar .i { display: block; width: 22px; height: 22px; }
    #ipsLayout_body { padding: 0; }
    #ipsLayout_body > .crumbs:first-child { display: none; }
    .crumbs { padding: 12px 15px; }
    .crumbs .crumbRight { display: none; }
    .layoutRow { gap: 0; }
    .content > .pageTitle { flex-wrap: wrap; padding: 10px 10px 15px; margin: 0; gap: 0; }
    .content > .pageTitle h1 { font-size: 20px; flex: 1 1 auto; }
    .content > .pageTitle .pageActions { display: contents; }
    .content > .pageTitle .startTopic { flex: 1 1 100%; margin-top: 20px; }
    .startTopic .button { width: 100%; }
    .forumSection { border-radius: 0; margin-bottom: 20px; }
    .forumRow { padding: 18px 12px; gap: 10px; min-height: 0; align-items: flex-start; }
    .forumIcon { flex: 0 0 30px; width: 30px; height: 30px; }
    .forumIcon .i, .forumIcon svg { width: 14px; height: 14px; }
    .forumMain h4 { font-size: 18px; }
    .forumMain .desc { font-size: 13px; }
    .forumMain .mCount { display: block; }
    .forumSubs { padding-left: 20px; }
    .forumStats { display: none; }
    .forumLast { display: flex; flex: 0 0 auto; margin: 0; padding: 0; }
    .forumLast .lfText, .forumLast.empty { display: none; }
    .forumLast img { width: 34px; height: 34px; }
    .forumLast .lfTiny { display: block; }
    .sidebar { flex: 1 1 100%; max-width: none; }
    .widget { border-radius: 0; margin-bottom: 20px; }
    .onlineWidget { border-radius: 0; }
}
/* the scope menu is not drawn in the bar; its label stays in the page text */
.barScope { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; border: 0; }
#ipsLayout_body > .crumbs:first-child { margin-bottom: 19px; }
.barInner a.top { position: relative; }

@media (max-width: 768px) {
    .barInner .mobileBar a .i { display: block; }
    .content > .pageTitle .viewToggle .button { min-height: 32px; height: 32px; }
    .forumSubs { padding-left: 16px; }
}

/* footer: round social buttons, menus with a caret, two-line note */
.socialRow { gap: 18px; padding-top: 10px; }
.socialRow a { width: 30px; height: 30px; border-radius: 50%; }
.socialRow a .i { width: 16px; height: 16px; }
.socialRow .tw { background: #1da1f2; }
.socialRow .dc { background: #5865f2; }
.footerLinks a { display: inline-flex; align-items: center; gap: 2px; color: var(--head); }
.footerLinks .caret { display: inline-flex; width: 10px; height: 10px; }
.footerLinks .caret .i { width: 10px; height: 10px; }
.footerNote { flex-direction: column; align-items: center; color: var(--muted); line-height: 1.5; }
.footerNote a { color: var(--muted); }
.siteFooter { padding: 0; } .footerInner { padding-top: 20px; padding-bottom: 20px; }
.wBlog { display: block; }
.widgetBody > .none { text-align: center; padding: 30px 4px; }
@media (max-width: 768px) {
    .sidebar { padding: 0 10px; }
    .widget { border-radius: var(--radius); }
    .widgetBody { padding: 0 16px; }
    .statusPrompt { margin: 0 -16px; padding: 12px; }
    main > .crumbs:last-child { display: none; }
}

.blogList .wTitle { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
.forumRow.noPostsRow { min-height: 0; padding-top: 14px; padding-bottom: 14px; }
/* the administrators' group colour on the online list */
.commaList a { color: #c0392b; }
.onlineBody { padding: 16px 0 12px; }

/* 600..768: the phone frame, with a 15px page margin and the title row on one line */
@media (min-width: 600px) and (max-width: 768px) {
    #ipsLayout_body { padding: 0 15px; }
    .content > .pageTitle { flex-wrap: nowrap; padding: 15px 0 20px; gap: 12px; }
    .content > .pageTitle h1 { font-size: 24px; }
    .content > .pageTitle .pageActions { display: flex; margin-left: auto; }
    .content > .pageTitle .viewToggle .button { min-height: 44px; height: 44px; }
    .content > .pageTitle .startTopic { flex: 0 0 auto; margin-top: 0; }
    .startTopic .button { width: 193px; }
    .forumSection, .widget, .onlineWidget { border-radius: var(--radius); }
    .forumRow { padding: 18px 20px; gap: 12px; }
    .sidebar { padding: 0; }
}
@media (min-width: 600px) and (max-width: 768px) {
    .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 15px; align-items: stretch; }
    .sidebar .widget { margin: 0; }
}
@media (max-width: 768px) {
    .forumMain .desc, .forumMain h4, .forumSubs { max-width: none; }
}

/* breadcrumbs: a small chevron between items, the current page lighter */
.crumbs li + li:before { content: "\203A"; margin: 0 8px; font-size: 15px; }
.crumbs .crumbLeft li:last-child:not(:first-child), .crumbs .crumbLeft li:last-child:not(:first-child) a { color: #a0aec0; }

/* article lists: a white heading card, the add button under it, white cards */
.pageTitle.cmsHead {
    display: block; background: #fff; border-radius: var(--radius); padding: 20px 20px 25px;
    margin-bottom: 20px; box-shadow: rgba(0, 0, 0, .05) 0 1px 2px;
}
.cmsHead h1 { font-size: 24px; color: #000; }
.cmsHead .pageDesc { margin: 2px 0 0; }
.cmsActions { display: flex; justify-content: flex-end; margin: 0 0 20px; }
.cmsActions .button { min-width: 193px; }
.content.full { padding: 0; }
.recordLead {
    background: #fff; border-radius: var(--radius); padding: 20px 15px 15px; margin-bottom: 20px;
    box-shadow: rgba(0, 0, 0, .05) 0 1px 2px; color: var(--text);
}
.recordLead > header { align-items: flex-start; gap: 12px; }
.recordLead .rAvatar img { width: 54px; height: 54px; border-radius: 50%; display: block; }
.recordLead > header h2 { font-size: 22px; line-height: 1.3; }
.recordLead .rMeta { margin: 0; font-size: 13px; color: var(--muted); }
.recordLead .rMeta a { color: var(--head); }
.recordLead .rMeta a:last-of-type { color: var(--head); }
.recordLead .rBody, .recordCard .rBody { font-size: 14px; color: var(--text); margin-top: 15px; }
.dot { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: #1265a1; vertical-align: 3px; }
.recordCard .dot { width: 8px; height: 8px; vertical-align: 2px; margin-right: 4px; }
.recordLead .rFoot, .recordCard .rFoot {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 20px; padding-top: 16px;
    border-top: 1px solid #edf2f7; font-size: 13px;
}
.rFoot .cm { display: inline-flex; align-items: center; gap: 4px; }
.rFoot .cm .i { width: 13px; height: 13px; }
.rFoot .views a { color: var(--muted); }
.recordGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.recordGrid > li { background: #fff; border-radius: var(--radius); padding: 15px; box-shadow: rgba(0, 0, 0, .05) 0 1px 2px; }
.recordCard { padding: 0 0 15px; }
.recordCard > header { padding: 0; }
.recordCard h2 { font-size: 15px; }
.recordCard .rFoot { margin-top: 20px; }
@media (max-width: 599px) {
    .content.full { padding: 0; }
    .recordGrid { grid-template-columns: minmax(0, 1fr); }
    .recordGrid > li { grid-column: auto; }
}
@media (min-width: 600px) and (max-width: 768px) {
    .recordGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
    .recordGrid > li { grid-column: auto; padding: 20px; }
    .recordCard .rFoot { display: block; }
    .recordCard .rFoot li { display: block; line-height: 1.6; }
    .recordLead { padding: 20px; }
    .recordLead > header h2 { font-size: 24px; }
    .recordLead .rMeta { font-size: 14px; }
    .recordCard h2 { font-size: 16px; }
    .recordCard .rMeta { font-size: 12px; }
    .recordLead .rFoot, .recordCard .rFoot { font-size: 14px; }
    .recordLead .rFoot .more { font-weight: 700; }
}

/* pages without the section row still draw its empty white strip */
.subStrip { height: 50px; background: #fff; border-bottom: 1px solid #e2e8f0; }
.barList > li > a { padding: 0 18px; }
.userMenu summary { list-style: none; display: flex; align-items: center; }
.userMenu summary::-webkit-details-marker, .userMenu summary::marker { display: none; content: ""; }
.pageTitle.cmsHead { padding: 20px; }
.cmsActions .button { padding: 0 41px; }
@media (max-width: 768px) {
    .subStrip { display: none; }
}

/* moderation centre: one white card, a header row, the white menu on the left
   and a grey work area on the right holding the white list panel */
.modcpCard { background: #fff; border-radius: var(--radius); box-shadow: rgba(0, 0, 0, .05) 0 1px 2px; overflow: hidden; }
.modcpTitle { display: flex; align-items: center; min-height: 68px; padding: 0 20px; border-bottom: 1px solid #e2e8f0; }
.modcpTitle h1 { display: flex; align-items: center; gap: 6px; font-size: 22px; color: #000; }
.modcpTitle .lock { display: inline-flex; width: 16px; height: 16px; }
.modcpTitle .lock .i { width: 16px; height: 16px; }
.modcpTitle .modcpCounters { margin-left: auto; gap: 16px; }
.modcpTitle .countChip { min-width: 22px; height: 18px; padding: 0 7px; background: #edf2f7; color: var(--muted); font-size: 10px; font-weight: 400; }
.modcpTitle .modcpCounters a { color: var(--muted); font-size: 12px; }
.modcpRow { padding-left: 0; align-items: stretch; }
.modcpSide { flex: 0 0 270px; margin: 0; padding: 20px 20px 30px; gap: 0; background: #fff; }
.modcpSide h4 { min-height: 0; margin: 26px 0 8px 10px; font-size: 12px; }
.modcpSide h4:first-child { margin-top: 0; }
.modcpSide > ul { margin: 0; }
.modcpSide > ul:first-of-type { padding-bottom: 20px; border-bottom: 1px solid #e2e8f0; }
.modcpSide li a { min-height: 37px; padding: 0 10px; font-size: 12px; border-radius: var(--radius); }
.modcpMain { background: #edf2f7; padding: 20px; }
.modcpHead { min-height: 0; justify-content: flex-end; margin-bottom: 15px; }
.modcpHead > .button { margin: 0; }
.modcpPanel { background: #fff; border-radius: var(--radius); box-shadow: rgba(0, 0, 0, .05) 0 1px 2px; }
.modcpPanel > * { margin-left: 0; }
.modcpPanel > h2 { padding: 0 20px; min-height: 52px; border-bottom: 1px solid #edf2f7; }
.modcpToolbar { display: flex; justify-content: flex-end; padding: 8px 10px; border-bottom: 1px solid #edf2f7; }
.selAll { display: inline-flex; align-items: center; height: 24px; padding: 0 6px; border: 1px solid #e2e8f0; border-radius: var(--radius); }
.selAll .i { width: 12px; height: 12px; }
.selAll .i + .i { width: 8px; height: 8px; }
.announcementItem { padding: 20px 20px 20px 15px; border-top: 0; border-bottom: 1px solid #edf2f7; background: #fff; }
.announcementItem:nth-child(odd) { background: #fff; }
.announcementItem.inactive { background: #fdf9fb; }
.announcementItem.inactive .aAvatar, .announcementItem.inactive .aMain { opacity: .4; }
.announcementItem h4 a { color: #880e4f; }
.announcementItem .aState { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 10px; background: #fbe3ec; color: #c53030; font-size: 9px; vertical-align: 3px; }
.announcementItem .aMeta { color: var(--muted); }
.announcementItem .aMeta a { color: var(--muted); }
.announcementItem .aBody { color: var(--text); }
.announcementItem .aBody img { max-height: 1.2em; width: auto; vertical-align: middle; }
.announcementItem .aTools { align-self: center; gap: 12px; }
.announcementItem .aEdit { display: inline-flex; align-items: center; gap: 2px; color: #a0aec0; }
.announcementItem .aEdit .i { width: 13px; height: 13px; }
.announcementItem .aEdit .i + .i { width: 8px; height: 8px; }
.announcementItem .aDelete { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; border: 0; }
.announcementItem .aCheck { opacity: .6; }
@media (max-width: 768px) {
    .modcpSide { flex-basis: 228px; padding: 20px 10px; }
}
@media (max-width: 599px) {
    .modcpCard { border-radius: 0; }
    .modcpRow { display: block; }
    .modcpMain { padding: 15px 10px; }
    .modcpTitle { flex-wrap: wrap; padding: 15px; gap: 8px; }
    .modcpTitle .modcpCounters { margin-left: 0; }
}
.modcpMain { padding: 20px 0 20px 20px; }
.modcpSide li a { font-size: 13px; }
.modcpSide h4 { font-size: 13px; }
.announcementItem .aEdit .i { width: 15px; height: 15px; }
@media (max-width: 599px) { .modcpMain { padding: 15px 10px; } }
@media (min-width: 600px) and (max-width: 768px) {
    #ipsLayout_body { padding: 0; }
    #ipsLayout_body > * { margin-left: 15px; margin-right: 15px; }
}
@media (max-width: 599px) {
    .cmsHead h1, .modcpTitle h1 { font-size: 20px; }
}

.mobileBack { display: none; }
@media (max-width: 768px) {
    .barInner .mobileBack {
        display: inline-flex; align-items: center; align-self: center; height: 30px; margin-right: auto; padding: 0 12px 0 14px;
        background: #0e4c79; color: #fff; font-size: 12px; font-weight: 700; border-radius: 0 4px 4px 0;
        clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%);
    }
}
@media (max-width: 599px) {
    .cmsActions { display: none; }
    .content.full { padding: 0 10px; }
    .content.full > * { margin-left: 0; margin-right: 0; }
    .recordLead, .recordGrid > li { border-radius: var(--radius); padding: 20px; }
    .recordLead .rAvatar { display: none; }
    .recordLead > header h2 { font-size: 20px; }
    .recordLead .rBody, .recordCard .rBody { font-size: 13px; }
    .pageTitle.cmsHead { margin-bottom: 20px; }
}

.modcpMenuToggle { display: none; }
@media (max-width: 599px) {
    .modcpTitle { border-bottom: 0; padding-bottom: 8px; }
    .modcpTitle .modcpCounters { display: none; }
    .modcpMenuToggle {
        display: flex; align-items: center; gap: 8px; margin: 0 8px 12px; padding: 0 12px; height: 52px;
        background: #f7fafc; color: var(--muted); font-size: 13px;
    }
    .modcpMenuToggle .i { width: 12px; height: 12px; }
    .modcpMenuToggle::after { content: "Moderatorsektioner \25BE"; }
    .modcpMain { padding: 15px 0 0; }
    .modcpPanel { border-radius: 0; }
    .announcementItem { flex-wrap: wrap; padding: 20px; }
    .announcementItem .aAvatar { display: none; }
    .announcementItem .aMain { flex: 1 1 100%; }
    .announcementItem .aTools { flex: 1 1 100%; padding-top: 12px; }
}
@media (min-width: 769px) {
    .forumRow { padding: 20px 16px; min-height: 104px; }
    .forumRow.noPostsRow { padding: 16px; }
    .forumLast { flex: 0 0 246px; gap: 10px; margin-left: 8px; }
    .forumLast .lfText { max-width: 196px; }
    .forumMain h4 { font-weight: 500; }
    .widgetList .line { line-height: 1.6; }
}
.recordCard { padding-bottom: 30px; }
.recordCard .rBody p { margin: 0; }
@media (max-width: 599px) {
    .recordLead .rBody { margin-top: 30px; }
    .recordCard .rBody { margin-top: 30px; }
    .pageTitle.cmsHead { padding: 25px 20px; }
    .content.full { padding-bottom: 30px; }
}
@media (max-width: 768px) {
    .blogList .wTitle { white-space: normal; max-width: none; }
    .widgetList .line, .widgetList .wTitle, .widgetList .statusText { font-size: 13px; }
}

@media (max-width: 599px) {
    .forumSubs li { display: block; margin-left: 0 !important; }
}
@media (min-width: 600px) and (max-width: 768px) {
    .forumRow { padding: 17px 20px; }
}
@media (max-width: 768px) {
    .mobileBar { gap: 20px; }
    .barInner .mobileBar a .i { width: 24px; height: 24px; }
    .forumSection > h2 .collapse { color: #b8c2cc; }
}
@media (min-width: 600px) and (max-width: 768px) {
    .forumMain .desc { max-width: 600px; }
}
.modcpTitle h1 { font-size: 24px; }
@media (min-width: 600px) and (max-width: 768px) {
    .modcpSide { flex: 0 0 268px; padding: 20px 20px 30px; }
    .modcpTitle { min-height: 68px; }
    .modcpMain { padding: 20px 0 20px 23px; }
    .announcementItem { position: relative; flex-wrap: wrap; padding: 20px 12px; }
    .announcementItem .aAvatar { position: absolute; left: 12px; top: 20px; }
    .announcementItem .aMain { flex: 1 1 100%; }
    .announcementItem .aMain h4, .announcementItem .aMain .aMeta { padding-left: 38px; }
    .announcementItem .aBody { margin-top: 18px; }
    .announcementItem .aTools { flex: 1 1 100%; padding: 8px 0 0 10px; }
    .announcementItem h4 { font-size: 17px; }
}
.socialRow a .i { width: 18px; height: 18px; }
.footerLinks .caret, .footerLinks .caret .i { width: 12px; height: 12px; }
@media (max-width: 599px) { .modcpTitle h1 { font-size: 20px; } }
@media (min-width: 769px) {
    .forumMain h4 { font-weight: 600; }
    .forumLast { flex: 0 0 242px; margin-left: 2px; }
    .forumLast .lfText { max-width: 192px; }
}
.viewToggle .button .i { width: 16px; height: 16px; }
.forumMain h4 { line-height: 1.2; }
@media (max-width: 599px) {
    .forumRow { padding: 18px 16px 18px 12px; }
    .content > .pageTitle { padding-top: 8px; }
}

.forumRow.noPostsRow { min-height: 65px; }
@media (max-width: 599px) {
    .onlineWidget { margin: 0 10px 20px; border-radius: var(--radius); }
    .onlineWidget > h3 { display: block; padding: 12px 16px; line-height: 1.5; }
    .onlineWidget .count { margin-left: 6px; }
    .onlineBody { padding: 16px 4px 12px; }
}
@media (max-width: 599px) { .forumRow.noPostsRow { min-height: 0; } }
.statusPrompt { background: #edf2f7; }
@media (max-width: 599px) {
    .forumSection, .widget, .onlineWidget { margin-bottom: 14px; }
    .content > .pageTitle { padding-bottom: 13px; }
}
@media (max-width: 599px) {
    .widgetBody { padding: 0 12px; }
    .statusPrompt { margin: 0 -12px; }
    .widgetList li { padding: 16px 2px; gap: 4px; }
    .widgetList li .wBadge { margin-left: 8px; }
}
@media (max-width: 599px) {
    .forumSection, .widget, .onlineWidget { margin-bottom: 16px; }
    .forumRow.noPostsRow { min-height: 65px; padding-top: 16px; padding-bottom: 16px; }
    .widgetList .line { line-height: 1.6; }
    .onlineWidget > h3 { padding: 14px 16px; }
}
@media (max-width: 599px) {
    .sidebar .widget + .widget .widgetList .line { line-height: 1.5; }
}
@media (min-width: 600px) {
    .forumSection, .onlineWidget { margin-bottom: 14px; }
    .sidebar .widget { margin-bottom: 14px; }
    .content > .pageTitle { margin-bottom: 18px; }
}
@media (min-width: 769px) {
    .forumRow { padding: 0 16px; min-height: 0; align-items: center; }
    .forumRow .forumMain { padding: 22px 0; }
    .forumRow .forumLast { padding: 26px 0; align-self: stretch; }
    .forumRow.noPostsRow { padding: 0 16px; }
    .forumRow.noPostsRow .forumMain { padding: 18px 0; }
}
@media (min-width: 769px) {
    .forumRow .forumLast { padding: 29px 0; }
    .forumRow .forumMain { padding: 24px 0; }
}
@media (min-width: 769px) {
    .forumLast { flex: 0 0 246px; margin-left: 0; }
    .forumLast .lfText { max-width: 196px; }
}
@media (min-width: 769px) {
    .forumRow { min-height: 97px; }
    .forumRow .forumLast { padding: 23px 0; }
    .forumRow .forumMain h4 { font-weight: 600; }
    .forumRow.noPostsRow { min-height: 0; }
}
@media (min-width: 769px) {
    .forumRow { min-height: 98px; }
    .forumRow.noPostsRow { min-height: 75px; }
}
@media (min-width: 769px) {
    .sidebar .widget:first-child .widgetList .line { line-height: 1.7; }
    .sidebar .widget + .widget .widgetList .line { line-height: 1.5; }
    .sidebar .widget + .widget .widgetList li { padding-top: 14px; padding-bottom: 14px; }
}
@media (min-width: 769px) {
    .sidebar .widget:first-child .widgetList .line { line-height: 1.65; }
    .sidebar .widget + .widget .widgetList li { padding-top: 16px; padding-bottom: 16px; }
    .sidebar .widget + .widget .widgetList .line { line-height: 1.55; }
}
@media (min-width: 600px) and (max-width: 768px) {
    .content > .pageTitle { margin-bottom: 0; padding-bottom: 19px; }
}

/* teasers: seven line boxes, cut with an ellipsis by the browser itself */
.rBody[data-clamp] {
    max-height: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden;
}
.rBody[data-clamp] br + br { display: none; }
@media (max-width: 599px) {
    .recordLead .rBody, .recordCard .rBody { margin-top: 18px; }
    .recordLead .rFoot, .recordCard .rFoot { margin-top: 18px; }
}
@media (min-width: 600px) and (max-width: 768px) {
    .recordGroup { margin-top: 14px; }
    .recordLead .rBody { margin-top: 23px; }
    .recordLead .rFoot { margin-top: 30px; }
    .content.full { padding-bottom: 46px; }
}
@media (min-width: 769px) {
    .recordLead { padding: 20px; }
    .recordLead > header h2 { font-size: 24px; }
    .recordLead .rMeta { font-size: 14px; }
    .recordGrid { gap: 26px; }
    .recordGrid > li { padding: 20px; }
    .recordLead .rFoot { font-size: 14px; }
    .recordCard .rFoot { font-size: 13px; } /* (fits one line in a third of the row) */
    .recordLead .rFoot .more, .recordCard .rFoot .more { font-weight: 700; }
}
@media (min-width: 600px) and (max-width: 768px) {
    .forumRow { padding: 19px 20px; }
}
@media (min-width: 600px) and (max-width: 768px) {
    .forumRow { padding: 18px 20px; }
    .forumMain .desc { max-width: 625px; }
    .forumSubs { margin: 1px 0 -2px; line-height: 1.5; }
}
@media (min-width: 600px) and (max-width: 768px) {
    .forumSection, .onlineWidget, .sidebar .widget { margin-bottom: 15px; }
    .sidebar { row-gap: 15px; }
    .sidebar .widget { margin-bottom: 0; }
    .widgetList .line { line-height: 1.5; }
}

/* ---------------------------------------------- forum, topic and list pages */
.barInner .mobileBack { display: none; }
@media (max-width: 768px) { .barInner .mobileBack { display: inline-flex; } }
.forumSection > h2:only-child, .topicCard > h2, .listCard > h2 { padding: 0 20px; }
.padded { padding: 20px; }
.topicList li { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-top: 1px solid #edf2f7; }
.topicList li:first-child { border-top: 0; }
.topicList .tAvatar img { width: 34px; height: 34px; border-radius: 50%; display: block; }
.topicList .tMain { flex: 1 1 auto; min-width: 0; }
.topicList h4 { font-size: 15px; font-weight: 600; line-height: 1.3; }
.topicList .tTitle { font-size: 15px; font-weight: 600; color: var(--head); }
.topicList .tMeta { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.topicList .tMeta a { color: var(--muted); }
.pinned { display: inline-block; padding: 0 6px; border-radius: 3px; background: #36ab80; color: #fff; font-size: 11px; font-weight: 600; vertical-align: 2px; }
.topicList .tStats { flex: 0 0 110px; text-align: right; font-size: 13px; color: var(--muted); line-height: 1.5; }
.topicList .tStats li { display: block; padding: 0; border: 0; }
.topicList .tStats b { color: var(--head); font-weight: 400; }
.tLast { flex: 0 0 200px; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.tLast img { width: 34px; height: 34px; border-radius: 50%; display: block; }
.tLast .who { display: block; color: var(--head); }
.tLast span { display: block; color: var(--muted); }
.pager { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-bottom: 1px solid #edf2f7; font-size: 13px; }
.pager + * { border-top: 0; }
.topicList + .pager, .itemList + .pager { border-bottom: 0; border-top: 1px solid #edf2f7; }
.pager ul { display: flex; gap: 4px; }
.pager a, .pager span { display: inline-flex; align-items: center; min-width: 28px; height: 28px; padding: 0 8px; justify-content: center; border-radius: var(--radius); color: var(--head); }
.pager a.active { background: var(--btn); color: #fff; }
.pager .pPrev, .pager .pNext { background: #edf2f7; }
.pager .pOf { margin-left: auto; color: var(--muted); }
.content.full > .pager { background: #fff; border-radius: var(--radius); margin-bottom: 14px; border: 0; }
.post { background: #fff; border-radius: var(--radius); border-top: 0; margin-bottom: 14px; padding: 0; box-shadow: rgba(0,0,0,.05) 0 1px 2px; }
.post .side { flex: 0 0 170px; padding: 20px 15px; background: #f7f9fb; border-radius: var(--radius) 0 0 var(--radius); }
.post .side .who { margin: 0 0 10px; font-size: 15px; }
.post .side .who a { color: var(--head); }
.post .pAvatar img { width: 90px; height: 90px; border-radius: 50%; display: block; margin: 0 auto 8px; object-fit: cover; }
.post .side .title { margin: 2px 0; }
.post .postBody { padding: 16px 20px 20px; font-size: 14px; }
.post .postMeta { padding-bottom: 10px; border-bottom: 1px solid #edf2f7; margin-bottom: 14px; }
.articleBody img { max-width: 100%; height: auto; }
/* a picture placed beside the text (the board's settings, and the editor's):
   the post keeps its floats inside it, and on a phone the picture gets its
   own line, where a column of text beside it would be a few words wide */
.articleBody::after { content: ""; display: block; clear: both; }
.articleBody img.ipsAttachLink_left, .rteArea img.ipsAttachLink_left { float: left; margin: 4px 16px 10px 0; }
.articleBody img.ipsAttachLink_right, .rteArea img.ipsAttachLink_right { float: right; margin: 4px 0 10px 16px; }
@media (max-width: 599px) {
    .articleBody img.ipsAttachLink_left, .articleBody img.ipsAttachLink_right { float: none !important; display: block; margin: 8px auto; }
}
.articleBody blockquote { margin: 10px 0; padding: 10px 14px; border-left: 3px solid #cbd5e0; background: #f7f9fb; }
.profileHead { display: flex; align-items: center; gap: 16px; }
.threadHead .rAvatar img, .profileHead .pPhoto img { border-radius: 50%; display: block; object-fit: cover; }
.threadHead .pageDesc a { color: var(--head); }
.profileStats { display: flex; gap: 28px; margin-left: auto; }
.profileStats li { display: flex; flex-direction: column; font-size: 13px; }
.profileStats span { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.profileStats b { font-size: 15px; font-weight: 600; color: var(--head); }
.itemList > li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-top: 1px solid #edf2f7; }
.itemList > li:first-child { border-top: 0; }
.iAvatar img { width: 40px; height: 40px; border-radius: 50%; display: block; }
.iMain { flex: 1 1 auto; min-width: 0; }
.iMain h4 { font-size: 16px; font-weight: 600; }
.iMain h4 a { color: var(--head); }
.iMeta { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.iSnippet { margin: 6px 0 0; font-size: 13px; color: var(--text); overflow-wrap: anywhere; }
.rank { flex: 0 0 30px; height: 30px; border-radius: 50%; background: #edf2f7; display: flex; align-items: center; justify-content: center; font-weight: 700; }
@media (max-width: 768px) {
    .tLast, .topicList .tStats { display: none; }
    .post { flex-direction: column; gap: 0; }
    .post .side { flex-basis: auto; display: flex; align-items: center; gap: 10px; padding: 10px 15px; border-radius: var(--radius) var(--radius) 0 0; }
    .post .pAvatar img { width: 34px; height: 34px; margin: 0; }
    .post .pAvatar { order: -2; }
    .post .side .who { margin: 0; order: -1; }
    .post .side .title { display: none; }
    .profileHead { flex-wrap: wrap; }
    .profileStats { margin-left: 0; flex-wrap: wrap; gap: 16px; }
    .pager .pOf { display: none; }
    .content.full > .post, .content.full > .pager { margin-left: 0; margin-right: 0; }
}
.pageTitle.cmsHead.profileHead { display: flex; align-items: center; gap: 16px; }
.profileHead .pPhoto img { width: 90px; height: 90px; }
@media (max-width: 768px) {
    .announcementItem h4 { line-height: 1.25; }
    .announcementItem .aMeta { margin: 0; }
    .announcementItem .aBody { margin-top: 14px; }
    .announcementItem .aBody p { margin: 0 0 .9em; }
    .announcementItem .aTools { padding-top: 0; }
}
@media (min-width: 600px) and (max-width: 768px) {
    .modcpCard { margin-top: 15px; }
    .modcpSide { padding-top: 28px; }
    .announcementItem { padding: 16px 12px; }
}
.announcementItem .aBody > :last-child { margin-bottom: 0; }
.announcementItem .aBody img { max-height: 13px; }
.announcementItem .aBody iframe, .announcementItem .aBody embed { display: none; }
@media (max-width: 768px) {
    .announcementItem .aTools { margin-top: 6px; }
}
@media (max-width: 599px) {
    .modcpCard { margin-top: 10px; }
    .modcpTitle { padding-top: 20px; padding-bottom: 12px; }
    .modcpMenuToggle { height: 50px; margin-bottom: 10px; }
}
.announcementItem .aBody img { width: auto; height: 13px; border-radius: 0; }
.announcementItem .aEdit .i:first-child { width: 16px; height: 16px; }
@media (max-width: 768px) {
    .announcementItem { row-gap: 2px; }
    .announcementItem .aTools { margin-top: 4px; }
}
@media (max-width: 599px) {
    .announcementItem { padding: 20px; row-gap: 8px; }
    .announcementItem .aBody { margin-top: 20px; }
    .announcementItem .aTools { margin-top: 12px; }
}
@media (min-width: 600px) and (max-width: 768px) {
    .widgetBody { padding: 0 12px; }
    .statusPrompt { margin: 0 -12px; }
    .widgetList li { padding: 16px 2px; gap: 4px; }
    .widgetList li .wBadge { margin-left: 8px; }
    .sidebar .widget:first-child .widgetList .line { line-height: 1.6; }
    .sidebar .widget + .widget .widgetList .line { line-height: 1.55; }
    .blogList .wTitle { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
    .blogList .line { min-width: 0; }
}
@media (min-width: 600px) and (max-width: 768px) {
    .forumMain .desc { max-width: 640px; }
    .forumRow { padding: 19px 20px 18px; }
    .onlineBody { padding: 18px 4px 16px; }
}
@media (min-width: 600px) and (max-width: 768px) {
    .pageTitle.cmsHead { margin-top: 15px; }
    .recordGroup { margin-top: 0; }
    .recordLead > header h2 { font-size: 25px; }
    .recordLead .rBody { margin-top: 20px; }
    .recordLead .rFoot { margin-top: 40px; }
}
@media (max-width: 599px) {
    .modcpTitle { padding-top: 14px; }
    .modcpToolbar { padding: 13px 12px; }
    .announcementItem .aBody { margin-top: 16px; line-height: 1.6; }
    .announcementItem .aTools { margin-top: 6px; padding-left: 10px; }
    .announcementItem .aEdit .i:first-child { width: 17px; height: 17px; }
    .announcementItem .aEdit .i + .i { width: 10px; height: 10px; }
}
@media (min-width: 600px) and (max-width: 768px) {
    .recordLead > header h2 { font-size: 24px; }
}
@media (max-width: 599px) {
    .recordLead { margin-bottom: 14px; }
    .recordCard .rBody { margin-top: 14px; }
    .recordGrid > li { padding-bottom: 14px; }
}
@media (min-width: 769px) {
    .subInner a { padding: 0 18px; }
    .userNav .ico { width: 21px; height: 21px; }
    .userNav .caret, .userNav .caret .i { width: 12px; height: 12px; }
    .sidebar .widget + .widget .widgetList .meta, .sidebar .widget + .widget .widgetList .meta a { font-size: 13px; }
    .widgetList .wAvatar { margin-left: 4px; }
}
@media (min-width: 769px) {
    .widgetList .wAvatar { margin-left: 0; }
    .sidebar .blogList .line { line-height: 1.45; }
}
@media (min-width: 769px) {
    .sidebar .widget + .widget .widgetList .meta, .sidebar .widget + .widget .widgetList .meta a { font-size: 12px; }
    .sidebar .widget + .widget .blogList .meta, .sidebar .widget + .widget .blogList .meta a { font-size: 13px; }
    .sidebar .widget + .widget .blogList .line { line-height: 1.42; }
}
@media (min-width: 769px) { .sidebar .widget + .widget .blogList .line { line-height: 1.47; } }
.embedWrap { max-height: 29px; overflow: hidden; margin: 12px 0 0; }
.embedCard { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid #e2e8f0; border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; color: var(--text); }
.announcementItem .aBody .embedCard img { width: 30px; height: 30px; border-radius: 50%; }
.embedCard b { display: block; font-size: 14px; font-weight: 600; }
.embedCard small { display: block; font-size: 12px; color: var(--muted); }
.announcementItem .aBody .embedMore { margin: 10px 0 0; text-align: center; font-size: 12px; }
.embedMore a { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.embedMore .i { width: 10px; height: 10px; }
.embedCard { align-items: flex-start; padding: 14px 16px; }
.announcementItem .aBody .embedMore + p { display: none; }
.editorCard { background: #fff; border-radius: var(--radius); padding: 20px; margin-bottom: 14px; box-shadow: rgba(0,0,0,.05) 0 1px 2px; }
.editorCard .field input, .editorCard .field textarea { border-color: #d5dde6; }
.editorCard .field textarea { min-height: 140px; resize: vertical; }
.replyForm { margin-top: 14px; }
.profileHead .button { min-height: 34px; }

/* ---------------------------------------------- header dropdown menus */
.dropMenu { position: relative; }
.dropMenu details > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700; color: var(--head); user-select: none; }
.dropMenu details > summary::-webkit-details-marker { display: none; }
.dropMenu details > summary::marker { content: ""; }
.userNav .userMenu { margin-right: 0; }
.userMenu summary .avatar img { width: 26px; height: 26px; border-radius: 50%; display: block; }
.dropMenu .menu {
    position: absolute; top: calc(100% + 14px); right: -8px; z-index: 100; min-width: 220px;
    background: #fff; border: 0; border-radius: var(--radius); padding: 6px 0;
    box-shadow: rgba(0, 0, 0, .18) 0 6px 24px, rgba(0, 0, 0, .06) 0 0 0 1px;
}
.dropMenu .menu::before {
    content: ""; position: absolute; top: -7px; right: 22px; width: 14px; height: 14px;
    background: #fff; transform: rotate(45deg); box-shadow: rgba(0, 0, 0, .06) -1px -1px 0;
}
.createNew .menu { right: auto; left: -12px; min-width: 260px; }
.createNew .menu::before { right: auto; left: 30px; }
.dropMenu .menu li a { display: block; padding: 9px 18px; font-size: 13px; font-weight: 400; color: var(--head); }
.dropMenu .menu li a:hover { background: #f4f7fa; color: var(--head); }
.menuHint { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.accountMenu { width: 310px; padding: 0 0 6px; }
.accountMenu .rankBox { display: flex; gap: 14px; align-items: center; padding: 18px 18px 16px; }
.accountMenu .rankBox img { width: 44px; height: 44px; border-radius: 50%; display: block; }
.accountMenu .rankBox p { margin: 0; }
.rankLabel { font-size: 12px; color: var(--muted); }
.rankName { font-size: 15px; font-weight: 700; color: var(--head); }
.rankPosts { font-size: 12px; color: var(--muted); }
.accountMenu h4 { margin: 0; padding: 10px 18px; background: #edf2f7; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--head); }
.accountMenu ul.sep { border-top: 1px solid #edf2f7; margin-top: 4px; padding-top: 4px; }
.lockIco { display: inline-flex; width: 11px; height: 11px; margin-right: 4px; vertical-align: -1px; }
.lockIco .i { width: 11px; height: 11px; }
.userNav .signIn { font-weight: 700; }

/* ---------------------------------------------- topic page */
/* the topic head is a block; "Dela" and "Följ" sit in its lower right corner
   (on their own row on phones, see the 599 block) */
.threadHead { display: block; position: relative; }
.threadTitle h1 { font-size: 22px; }
.byline { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #edf2f7; }
.byline img { width: 40px; height: 40px; border-radius: 50%; display: block; }
.byline p { margin: 0; }
.byline .who { font-size: 13px; font-weight: 700; }
.byline .who a, .byline .pageDesc a { color: var(--head); }
.threadActions { align-items: center; gap: 20px; }
.textButton { color: var(--btn); font-size: 14px; }
.post .side { text-align: center; }
.post .side .group { color: var(--head); }
.post .side .title .i { display: inline-block; width: 12px; height: 12px; vertical-align: -1px; color: var(--muted); }
.post .postMeta a { color: var(--muted); }
.postTools { margin-top: 16px; padding-top: 12px; border-top: 1px solid #edf2f7; }
.quoteBtn { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.quoteBtn .i { width: 22px; height: 22px; padding: 6px; border-radius: 3px; background: #edf2f7; color: var(--btn); }
.articleBody .ipsQuote { margin: 10px 0; padding: 0; border: 1px solid #e2e8f0; border-left: 3px solid #a0aec0; background: #f7f9fb; }
.articleBody .ipsQuote_citation { padding: 6px 12px; background: #edf2f7; font-size: 12px; font-weight: 700; color: var(--head); }
.articleBody .ipsQuote_contents { padding: 8px 12px; }
/* the bar folds the quote; the arrow at its right goes to the quoted post */
.articleBody .ipsQuote_citation[role=button] { display: flex; align-items: center; gap: 4px; cursor: pointer; user-select: none; }
.articleBody .ipsQuote_citation[role=button]::before { content: ""; flex: none; width: 0; height: 0; margin-right: 4px; border: 4px solid transparent; border-top: 5px solid #718096; border-bottom: 0; transition: transform .15s; }
.articleBody .ipsQuote_closed > .ipsQuote_citation[role=button]::before { transform: rotate(-90deg); }
.articleBody .ipsQuote_citation[role=button]:focus-visible { outline: 2px solid #177ec9; outline-offset: -2px; }
.articleBody .ipsQuote_citation time { font-weight: 400; }
.articleBody .ipsQuote_citation .quoteGo { display: inline-flex; margin-left: auto; padding: 2px; border-radius: 3px; color: #718096; }
.articleBody .ipsQuote_citation .quoteGo:hover { color: var(--head); background: rgba(0, 0, 0, .06); }
.articleBody .ipsQuote_citation .quoteGo svg { width: 15px; height: 15px; }
.articleBody .ipsQuote_closed > .ipsQuote_contents { display: none; }
.replyBox { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; margin-top: 14px; }
.replyBox .replyAvatar img { width: 48px; height: 48px; border-radius: 50%; display: block; }
.replyMain { flex: 1 1 auto; min-width: 0; }
.replyBox textarea { width: 100%; min-height: 52px; height: 52px; padding: 14px 16px; border: 1px solid #d5dde6; border-radius: 2px;
    font: 400 14px/1.5 var(--font); color: var(--text); resize: vertical; transition: height .15s; }
.replyBox.open textarea, .replyBox textarea:focus { height: 180px; }
.replyTools { display: none; align-items: center; gap: 12px; margin-top: 10px; }
.replyBox.open .replyTools, .replyBox:focus-within .replyTools { display: flex; }
.replyTools .hint { flex: 1 1 auto; font-size: 12px; color: var(--muted); }
.replyBox.guest { display: block; text-align: center; }
.replyBox.guest p { margin-bottom: 12px; }
.threadNav { margin: 20px 0 0; font-size: 13px; }
.threadNav a { color: var(--head); }
@media (max-width: 599px) {
    .replyBox .replyAvatar { display: none; }
    .replyTools { flex-wrap: wrap; }
}
.threadHead .byline { display: flex; flex-direction: row; }
.threadHead .byline .rAvatar { flex: 0 0 40px; }
.post .side p.title .i { display: inline-block; }
.post .side p.title { display: block; }
.postTools { display: flex; align-items: center; gap: 16px; }
.ownTools { margin-left: auto; display: inline-flex; align-items: center; gap: 14px; font-size: 13px; }
.ownTools a, .ownTools button { color: var(--muted); font-size: 13px; }
.ownTools a:hover, .ownTools button:hover { color: var(--btn); }
.ownTools form { display: inline; }
.followForm { position: absolute; right: 20px; bottom: 22px; }
.likeForm { margin-left: auto; }
.ownTools + .likeForm { margin-left: 14px; }
.likeBtn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 2px; color: #a0aec0; font-size: 13px; }
.likeBtn .i { width: 30px; height: 30px; padding: 5px; border-radius: 50%; border: 2px solid #cbd5e0; }
.likeBtn.liked .i { color: #e53e3e; border-color: #e53e3e; }
.likeBtn.liked .i path { fill: currentColor; }
.likeStatic .likeBtn { cursor: default; }
.likeStatic[hidden] { display: none; }
.modMenu summary.textButton { font-weight: 400; color: var(--btn); }
.modActions { left: 0; right: auto; width: 280px; padding: 10px 14px; }
.modActions::before { left: 40px; right: auto; }
.modActions form { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.modActions button { padding: 6px 12px; border-radius: 3px; background: #edf2f7; color: var(--head); font-size: 13px; }
.modActions .moveForm label { display: block; width: 100%; font-size: 12px; color: var(--muted); }
.modActions select { display: block; width: 100%; margin-top: 4px; padding: 5px; font: inherit; color: var(--head); }

/* ---------------------------------------------- rich text editor */
.rteHidden { display: none !important; }
.rte { position: relative; border: 1px solid #c9d4df; border-radius: 3px; background: #fff; }
.rte:focus-within { border-color: #177ec9; box-shadow: 0 0 0 2px rgba(23, 126, 201, .15); }
.rte.dragging { border-color: #177ec9; background: #f3f8fd; }
.rteBar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 8px 10px; border-bottom: 1px solid #edf2f7; }
.rteBtn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 32px; height: 32px; padding: 0 7px;
    border-radius: 3px; color: #353c41; font-size: 15px; line-height: 1; }
.rteBtn svg { width: 18px; height: 18px; display: block; }
.rteBtn b, .rteBtn i, .rteBtn u, .rteBtn s { font-family: Georgia, "Times New Roman", serif; font-size: 16px; }
.rteBtn span { font-size: 13px; }
.rteBtn:hover { background: #edf2f7; }
.rteBtn.on { background: #d5dde6; }
.rteBtn .swatch { fill: #000; }
.rteSep { width: 1px; height: 22px; margin: 0 6px; background: #e2e8f0; }
/* (.rte in front: an editor inside a .field would otherwise get the form's
   full-width select, which pushed the buttons after it onto rows of their own) */
.rte .rteStyle { width: auto; height: 32px; padding: 0 6px; border: 0; border-radius: 0; background: transparent; font: 400 13px var(--font); color: #353c41; cursor: pointer; }
.rteArea { min-height: 170px; max-height: 60vh; overflow: auto; padding: 14px 16px; font: 400 14px/1.6 var(--font); color: var(--text); outline: none; }
.rteArea:empty::before { content: attr(data-placeholder); color: #a0aec0; }
.rteArea.needText:empty::before { color: #c53030; }
.rteArea p { margin: 0 0 .8em; }
.rteArea img { max-width: 100%; height: auto; cursor: pointer; }
.rteArea::after { content: ""; display: block; clear: both; }
.rteArea img.rteImgSel { outline: 2px solid #177ec9; outline-offset: 1px; }
/* the selected picture's settings */
.rteImgBar { position: absolute; z-index: 55; max-width: calc(100% - 12px); padding: 6px 8px 8px; background: #fff; border-radius: 4px;
    box-shadow: rgba(0,0,0,.18) 0 6px 24px, rgba(0,0,0,.06) 0 0 0 1px; }
.rteImgBar .row { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.rteImgBar .fields { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.rteImgBar label { display: flex; flex-direction: column; gap: 3px; flex: 1 1 200px; margin: 0; font-size: 12px; font-weight: 400; color: var(--muted); }
.rte .rteImgBar input[type=text] { width: 100%; padding: 5px 8px; border: 1px solid #cbd5e0; border-radius: 3px; font: inherit; font-size: 13px; color: var(--head); }
.rteImgHandle { position: absolute; z-index: 56; width: 14px; height: 14px; border: 2px solid #fff; border-radius: 3px; background: #177ec9;
    box-shadow: 0 0 0 1px rgba(0,0,0,.25); cursor: nwse-resize; touch-action: none; }
.rteArea blockquote, .rtePreview blockquote { margin: 10px 0; padding: 8px 12px; border: 1px solid #e2e8f0; border-left: 3px solid #a0aec0; background: #f7f9fb; }
.rteArea pre, .articleBody pre.ipsCode { padding: 10px 12px; background: #f4f6f8; border: 1px solid #e2e8f0; font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; }
.ipsSpoiler { margin: 10px 0; border: 1px solid #e2e8f0; border-left: 3px solid #d69e2e; background: #fffaf0; }
.ipsSpoiler_header { padding: 6px 12px; font-size: 12px; font-weight: 700; color: #975a16; cursor: pointer; }
.ipsSpoiler_contents { padding: 0 12px 8px; }
.articleBody .ipsSpoiler:not(.open) .ipsSpoiler_contents { display: none; }
.rteSource { display: none; width: 100%; min-height: 220px; padding: 12px 16px; border: 0; font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace; resize: vertical; }
.rte.sourceMode .rteSource { display: block; }
.rte.sourceMode .rteArea { display: none; }
.rteDrop { display: flex; align-items: flex-start; gap: 14px; margin: 0 6px 6px; padding: 14px 16px; background: #f5f8fb; border-radius: 3px; font-size: 13px; color: var(--text); }
.rteDrop .clip svg { width: 26px; height: 26px; color: #353c41; }
.rteDrop > div { flex: 1 1 auto; }
.rteDrop p { margin: 0 0 4px; }
/* (not the "Våra val" card that .pick alone is, nor a .field's label) */
.rteDrop .pick { display: inline; margin: 0; padding: 0; border-radius: 0; background: none; font-size: inherit; font-weight: inherit; text-decoration: underline; cursor: pointer; }
.rteDrop .limit { font-size: 12px; color: var(--muted); }
.rteDrop .files { margin-top: 6px; }
.rteDrop .files li { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.rteDrop .files li.err { color: #c53030; }
.rteDrop .files img { width: 36px; height: 36px; object-fit: cover; border-radius: 2px; }
.otherMedia { flex: 0 0 auto; padding: 7px 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 3px; font-size: 13px; color: var(--head); }
.rtePop { position: absolute; z-index: 50; min-width: 220px; padding: 10px; background: #fff; border-radius: 4px; box-shadow: rgba(0,0,0,.18) 0 6px 24px, rgba(0,0,0,.06) 0 0 0 1px; }
.rteEmoji { display: grid; grid-template-columns: repeat(10, 30px); gap: 2px; max-height: 200px; overflow: auto; }
.rteEmoji button { width: 30px; height: 30px; font-size: 18px; border-radius: 3px; }
.rteEmoji button:hover { background: #edf2f7; }
.rteColors { display: grid; grid-template-columns: repeat(7, 24px); gap: 6px; }
.rteColors button { width: 24px; height: 24px; border-radius: 3px; border: 1px solid #cbd5e0; }
.rteLink { display: flex; align-items: flex-end; gap: 8px; }
.rteLink label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.rteLink input { width: 260px; padding: 6px 8px; border: 1px solid #cbd5e0; border-radius: 3px; font: inherit; color: var(--head); }
.rtePreview { max-height: 50vh; overflow: auto; font-size: 14px; }
/* reply box: the editor replaces the plain field */
.replyBox .rte { margin: 0; }
.replyBox:not(.open) .rteBar, .replyBox:not(.open) .rteDrop { display: none; }
.replyBox:not(.open) .rteArea { min-height: 52px; padding: 14px 16px; }
.replyTools { justify-content: space-between; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle span { position: relative; width: 36px; height: 20px; border-radius: 10px; background: #cbd5e0; transition: background .15s; }
.toggle span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.toggle input:checked + span { background: var(--btn); }
.toggle input:checked + span::after { left: 18px; }
.toggle input:focus-visible + span { outline: 2px solid var(--btn); outline-offset: 2px; }
@media (max-width: 599px) {
    .rteDrop { flex-wrap: wrap; }
    .rteSep { display: none; }
}
.toggles { display: inline-flex; gap: 18px; }
.post .articleBody img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(10, 14, 20, .88); cursor: zoom-out; }
.lightbox img { max-width: 94vw; max-height: 92vh; box-shadow: rgba(0,0,0,.5) 0 10px 40px; }
.lightbox button { position: absolute; top: 14px; right: 20px; color: #fff; font-size: 34px; line-height: 1; }
.hiddenPost { background: #fff8f0; }
.hiddenPost .postBody { opacity: .8; }
.hiddenTag { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 10px; background: #fed7aa; color: #9c4221; font-size: 11px; font-weight: 600; }
.reportCase { padding: 16px 20px 20px; }
.reportContent { margin: 12px 0; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 3px; background: #f7f9fb; max-height: 320px; overflow: auto; }
.reportCase h3 { margin: 16px 0 8px; font-size: 14px; }
.reportMsgs li { padding: 10px 0; border-top: 1px solid #edf2f7; }
.reportActions { display: flex; gap: 8px; margin: 16px 0; }
.modcpPanel .ipsTable { margin: 0; }
.modcpPanel .ipsTable th:first-child, .modcpPanel .ipsTable td:first-child { padding-left: 20px; }
.queueList > li { padding: 16px 20px; border-top: 1px solid #edf2f7; }
.queueList > li:first-child { border-top: 0; }
.queueHead { margin: 0; }
.rteMentions { position: absolute; z-index: 60; min-width: 200px; padding: 4px 0; background: #fff; border-radius: 4px;
    box-shadow: rgba(0,0,0,.18) 0 6px 24px, rgba(0,0,0,.06) 0 0 0 1px; }
.rteMentions li { display: flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.rteMentions li.on, .rteMentions li:hover { background: #edf2f7; }
.rteMentions img, .rteMentions .ph { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.rteMentions .ph { display: inline-flex; align-items: center; justify-content: center; background: #8a5ec8; color: #fff; font-size: 12px; }
.memberHits li { white-space: nowrap; }
/* the message's "Till" field: each member picked is a name of its own */
.memberPick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 5px 6px; border: 1px solid var(--page); border-radius: var(--radius); background: #fff; cursor: text; }
.memberPick:focus-within { border-color: #177ec9; box-shadow: 0 0 0 2px rgba(23, 126, 201, .15); }
.field .memberPick input[type=text] { flex: 1 1 140px; width: auto; min-width: 0; padding: 3px 4px; border: 0; outline: none; }
.memberPick.full input[type=text] { flex-basis: 0; }
.pickChip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 4px 2px 3px; border-radius: 14px; background: #edf2f7; font-size: 13px; cursor: default; user-select: none; }
.pickChip img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.pickChip.sel { background: #177ec9; color: #fff; }
.pickX { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; color: inherit; font-size: 15px; line-height: 1; opacity: .7; cursor: pointer; }
.pickX:hover, .pickX:focus-visible { opacity: 1; background: rgba(0, 0, 0, .12); }
a.ipsMention { padding: 0 3px; border-radius: 3px; background: #e7f1fa; color: var(--btn); font-weight: 600; }
.post .signature { margin-top: 18px; padding-top: 10px; border-top: 1px dashed #e2e8f0; font-size: 12px; color: var(--muted); max-height: 200px; overflow: hidden; }
.post .signature img { max-height: 120px; width: auto; }
.photoField { display: flex; gap: 18px; align-items: center; }
.photoField .photoNow img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; display: block; }
.photoField input[type=file] { display: block; margin: 6px 0; font: inherit; }
.inlineCheck { display: flex !important; align-items: center; gap: 6px; font-weight: 400 !important; }

/* ---------------------------------------------- member profile */
.profileCard { position: relative; margin-bottom: 14px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: rgba(0,0,0,.05) 0 1px 2px; }
.profileCover { height: 120px; background: linear-gradient(120deg, #1265a1, #177ec9 55%, #36ab80); }
.profileTop { display: flex; align-items: flex-end; gap: 18px; padding: 0 24px; margin-top: -48px; }
.profileTop .pPhoto img { width: 120px; height: 120px; border-radius: 50%; border: 4px solid #fff; object-fit: cover; display: block; background: #fff; }
.profileTop .pName { flex: 1 1 auto; padding-bottom: 6px; }
.profileTop h1 { font-size: 26px; color: #000; }
.profileTop .pButtons { display: flex; gap: 8px; padding-bottom: 10px; }
.profileCard .profileStats { margin: 16px 24px 0; padding: 14px 0; border-top: 1px solid #edf2f7; gap: 36px; }
.profileTabs { display: flex; gap: 4px; padding: 0 16px; border-top: 1px solid #edf2f7; }
.profileTabs a { padding: 14px 14px 12px; font-size: 14px; color: var(--muted); border-bottom: 3px solid transparent; }
.profileTabs a.on { color: var(--head); font-weight: 600; border-bottom-color: var(--btn); }
.profileTabs b { margin-left: 4px; padding: 0 7px; border-radius: 10px; background: #edf2f7; font-size: 11px; color: var(--head); }
.statusCompose { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid #edf2f7; background: #f7f9fb; }
.statusCompose img { width: 40px; height: 40px; border-radius: 50%; display: block; }
.statusCompose textarea { flex: 1 1 auto; min-height: 44px; padding: 10px 12px; border: 1px solid #d5dde6; border-radius: 3px; font: 400 14px/1.5 var(--font); resize: vertical; }
.statusFeed > li { padding: 18px 20px; border-top: 1px solid #edf2f7; }
.statusFeed > li:first-child { border-top: 0; }
.sHead { display: flex; align-items: center; gap: 12px; }
.sHead img { width: 40px; height: 40px; border-radius: 50%; display: block; }
.sHead p { margin: 0; }
.sHead .who, .sReplies .who { font-weight: 700; color: var(--head); }
.sHead > div { flex: 1 1 auto; }
.sDelete button { color: var(--muted); font-size: 12px; }
.sBody { margin: 10px 0 0 52px; font-size: 14px; }
.sReplies { margin: 10px 0 0 52px; }
.sReplies > li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: #f7f9fb; border-top: 1px solid #fff; font-size: 13px; }
.sReplies > li > a img { width: 28px; height: 28px; border-radius: 50%; display: block; }
.sReplies > li > div { flex: 1 1 auto; }
.sReplies .articleBody p { margin: 2px 0 0; }
/* (pictures in a reply are often the reply itself: shown at a readable size) */
.sReplies .articleBody img:not(.emoticon) { max-width: min(100%, 400px); height: auto; }
.latestStatus > .sHead { padding: 16px 20px 0; }
.latestStatus > .sBody { margin: 10px 20px 18px 72px; }
.iThumb { display: inline-block; margin: 8px 0 2px; }
.iThumb img { display: block; max-width: 160px; max-height: 160px; border-radius: 4px; object-fit: cover; }
.iBody { margin-top: 10px; }
.iBody img { max-width: 100%; height: auto; }
.sReplyForm form { display: flex; gap: 8px; width: 100%; }
.sReplyForm input { flex: 1 1 auto; padding: 6px 10px; border: 1px solid #d5dde6; border-radius: 3px; font: inherit; }
.aboutList { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; padding: 16px 20px; font-size: 14px; }
.aboutList dt { color: var(--muted); }
.aboutList dd { margin: 0; color: var(--head); }
.aboutCard h3 { padding: 0 20px; font-size: 14px; }
.aboutSig { padding: 8px 20px 20px; }
@media (max-width: 599px) {
    .profileTop { flex-wrap: wrap; padding: 0 16px; }
    .profileTop .pPhoto img { width: 90px; height: 90px; }
    /* the smaller photo leaves too little room under the cover for the name,
       which then hid behind it: start the name below the cover's edge */
    .profileTop { align-items: flex-start; }
    .profileTop .pName { margin-top: 54px; padding-bottom: 0; min-width: 0; }
    .profileTop h1 { font-size: 22px; overflow-wrap: anywhere; }
    .profileCard .profileStats { margin: 12px 16px 0; gap: 16px; }
    .sBody, .sReplies { margin-left: 0; }
    .latestStatus > .sBody { margin-left: 20px; }
    .aboutList { grid-template-columns: 1fr; }
}
form.statusPrompt { display: flex; gap: 6px; }
form.statusPrompt input[type=text] { flex: 1 1 auto; min-width: 0; height: 34px; padding: 0 10px; background: #fff; border: 1px solid #e2e8f0; font: 400 13px var(--font); color: var(--head); }
form.statusPrompt input[type=text]::placeholder { color: var(--muted); }
form.statusPrompt .button { display: none; min-height: 34px; }
form.statusPrompt:focus-within .button { display: inline-flex; }
form.statusPrompt .promptBox { position: relative; flex: 1 1 auto; display: flex; }
form.statusPrompt .promptBox input { width: 100%; }
form.statusPrompt .promptBox label { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--muted); pointer-events: none; }
form.statusPrompt .promptBox input:not(:placeholder-shown) + label, form.statusPrompt .promptBox:focus-within label { display: none; }
.memberFilter { display: flex; gap: 8px; margin-bottom: 14px; }
.memberFilter input, .memberFilter select { height: 32px; padding: 0 10px; border: 1px solid #d5dde6; border-radius: 3px; background: #fff; font: 400 13px var(--font); }
.memberFilter input { flex: 1 1 auto; max-width: 360px; }
.bdayField select, .bdayField input { width: auto; display: inline-block; margin-right: 6px; padding: 6px 8px; border: 1px solid #d5dde6; border-radius: 3px; font: inherit; }
.bdayField input { width: 130px; }
.leaveForm { margin-top: 14px; text-align: right; }
.pollCard { margin-bottom: 14px; padding: 18px 20px; background: #fff; border-radius: var(--radius); box-shadow: rgba(0,0,0,.05) 0 1px 2px; }
.pollCard h2 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin-bottom: 12px; }
.pollCard h2 .i { width: 16px; height: 16px; color: var(--btn); }
.pollState { padding: 0 8px; border-radius: 10px; background: #edf2f7; font-size: 11px; font-weight: 600; color: var(--muted); }
.pollQ { margin: 0 0 14px; padding: 0; border: 0; }
.pollQ legend, .pollQ h3 { margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--head); }
.pollOpt { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.pollResults li { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr 90px; gap: 12px; align-items: center; padding: 5px 0; font-size: 13px; }
.pBar { height: 10px; border-radius: 5px; background: #edf2f7; overflow: hidden; }
.pBar span { display: block; height: 100%; background: var(--btn); }
.pNum { color: var(--muted); text-align: right; }
.pollFoot { display: flex; align-items: center; gap: 12px; margin: 4px 0 0; }
@media (max-width: 599px) { .pollResults li { grid-template-columns: 1fr 80px; } .pBar { grid-column: 1 / -1; grid-row: 2; } }
.pollEditor { margin: 6px 0 14px; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 3px; background: #f7f9fb; }
.pollEditor summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--btn); }
.pollEditor[open] summary { margin-bottom: 12px; }
.pollOpts { display: flex; flex-wrap: wrap; gap: 18px; }
.pollOpts input[type=number] { width: 64px !important; display: inline-block; margin: 0 4px; padding: 4px 6px !important; }
.profileCover { position: relative; overflow: hidden; }
.profileCover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profileCover:has(img) { height: 200px; }
.coverNow { display: block; width: 260px; height: 70px; object-fit: cover; border-radius: 3px; margin: 4px 0; }
.photoField > div > label { display: block; margin-top: 10px; font-size: 13px; font-weight: 700; }
.pollModForm { margin-top: 10px; }
.visitors { display: flex; align-items: center; gap: 6px; margin: 0 24px 12px; }
.visitors .pageDesc { margin-right: 6px; font-size: 12px; }
.visitors img { width: 28px; height: 28px; border-radius: 50%; display: block; }
.ignoreOpts { display: flex; flex-wrap: wrap; gap: 16px; }
.ignoredPost { margin-bottom: 14px; background: #fff; border-radius: var(--radius); box-shadow: rgba(0,0,0,.05) 0 1px 2px; }
.ignoredPost > summary { padding: 14px 20px; font-size: 13px; color: var(--muted); cursor: pointer; }
.ignoredPost[open] > summary { border-bottom: 1px solid #edf2f7; }
.ignoredPost .post { margin: 0; box-shadow: none; }

/* ---------------------------------------------- forum index views */
.forumSection.folded .forumList { display: none; }
.forumSection.folded > h2 .collapse { transform: rotate(-90deg); }
.forumSection > h2 .collapse { transition: transform .15s; }
/* grid: each forum a card, three per row */
.view-grid .forumList { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #edf2f7; }
.view-grid .forumRow { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0 !important; padding: 18px !important; background: #fff; border: 0 !important; }
.view-grid .forumRow .forumMain, .view-grid .forumRow .forumLast { padding: 0 !important; flex: 1 1 auto; width: 100%; }
.view-grid .forumStats { flex-direction: row; gap: 6px; align-items: baseline; }
.view-grid .forumStats b { font-size: 15px; }
.view-grid .forumLast { margin: 0 !important; padding-top: 10px !important; border-top: 1px solid #edf2f7; }
.view-grid .forumLast .lfText { max-width: none !important; }
.view-grid .forumMain .mCount { display: none; }
/* compact: one line per forum */
.view-compact .forumRow { min-height: 0 !important; padding: 8px 16px !important; gap: 12px; }
.view-compact .forumRow .forumMain { padding: 0 !important; }
.view-compact .forumIcon { flex-basis: 24px; width: 24px; height: 24px; }
.view-compact .forumIcon .i { width: 12px; height: 12px; }
.view-compact .forumMain h4 { font-size: 15px; }
.view-compact .forumMain .desc, .view-compact .forumSubs, .view-compact .forumMain .mCount { display: none; }
.view-compact .forumStats { flex-direction: row; gap: 4px; align-items: baseline; flex-basis: 90px; }
.view-compact .forumStats b { font-size: 13px; }
.view-compact .forumLast { padding: 0 !important; }
.view-compact .forumLast .lfAvatar img { width: 24px; height: 24px; }
.view-compact .forumLast .lfMeta { display: none; }
@media (max-width: 768px) { .view-grid .forumList { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .view-grid .forumList { grid-template-columns: 1fr; } }
.warnForm { padding: 16px 20px; border-bottom: 1px solid #edf2f7; background: #fffaf0; }
.warnForm select, .warnForm input[type=number] { padding: 6px 8px; border: 1px solid #d5dde6; border-radius: 3px; font: inherit; }
.postMeta { display: flex; align-items: center; gap: 8px; }
.postPick { margin-left: auto; width: 15px; height: 15px; }
.modActions input[type=text] { display: block; width: 100%; margin-top: 4px; padding: 5px 8px; border: 1px solid #cbd5e0; border-radius: 3px; font: inherit; }
.topicList h4 .tTitle { font-weight: 500; }
.topicList h4.unread .tTitle { font-weight: 700; }
.unreadDot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #1265a1; vertical-align: 2px; }
.cmsActions { align-items: center; gap: 18px; }

.guestSignIn { font-size: 13px; color: var(--muted); font-weight: 400; }
.guestSignIn a { display: inline !important; font-weight: 700; color: var(--head); }
.userNav .registerBtn { min-height: 36px; padding: 0 16px; color: #fff !important; font-size: 13px; }
.statusPrompt.guest { font-size: 13px; color: var(--muted); padding: 10px 12px; }
.loginOpts { display: flex; flex-direction: column; gap: 6px; }
.submitRow .pageDesc { margin-left: 12px; }
.formPanel { background: #fff; }
.eventWhen { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.eventWhen label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; }
.eventWhen input[type=datetime-local], .eventWhen input[type=text] { padding: 6px 8px; border: 1px solid #d5dde6; border-radius: 3px; font: inherit; font-weight: 400; }
.eventCard .aboutList { padding: 0 0 10px; }
.goingList { display: flex; gap: 4px; flex-wrap: wrap; }
.goingList img { width: 28px; height: 28px; border-radius: 50%; display: block; }
.rsvpForm { display: flex; gap: 8px; }
.articleComments { margin: 20px 0; } .articleComments > h2 { font-size: 18px; margin-bottom: 12px; }
.inviteForm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding: 14px 20px; background: #fff; border-radius: var(--radius); }
.inviteForm label { font-size: 13px; font-weight: 700; margin-right: 6px; }
.inviteForm input[type=text] { padding: 6px 10px; border: 1px solid #d5dde6; border-radius: 3px; font: inherit; }
.inviteForm .notice { flex-basis: 100%; margin: 6px 0 0; }

/* ---------------------------------------------- topic extras */
.threadLayout { display: flex; gap: 20px; align-items: flex-start; }
.threadLayout > .content.full { flex: 1 1 auto; min-width: 0; }
.topicSide { flex: 0 0 300px; background: #fff; border-radius: var(--radius); box-shadow: rgba(0,0,0,.05) 0 1px 2px; padding: 0 18px 18px; }
.tsStats { display: flex; justify-content: space-between; margin: 0 -18px 6px; padding: 16px 18px; background: #f7f9fb; text-align: center; }
.tsStats li { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); }
.tsStats b { font-size: 17px; color: var(--head); font-weight: 600; }
.topicSide h3 { margin: 16px 0 10px; padding-bottom: 6px; border-bottom: 1px solid #edf2f7; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--head); }
.tsPosters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tsPosters li, .tsWho { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; }
.tsPosters img, .tsWho img { width: 32px; height: 32px; border-radius: 50%; display: block; }
.tsWho img { width: 28px; height: 28px; }
.tsPosters span, .tsWho span, .tsDays span { display: block; color: var(--muted); font-size: 12px; }
.tsPosters .who, .tsWho .who { font-weight: 700; color: var(--head); font-size: 13px; }
.tsDays { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 13px; }
.tsDays b { font-weight: 600; color: var(--head); }
.tsPopular li { margin-bottom: 12px; }
.tsWho .when { display: block; color: var(--muted); font-size: 12px; }
.tsDays a { display: block; color: inherit; }
.tsDays a:hover b, .tsWho .when:hover { text-decoration: underline; }
.tsPopular .tsPost { display: block; margin: 6px 0 0; font-size: 12px; color: var(--text); }
.tsPopular .tsPost:hover { color: var(--head); text-decoration: underline; }
/* a locked topic, to the staff who may still reply in it */
.replyBox .notice.replyLocked { margin: 0 0 10px; border-left: 3px solid #c53030; background: #fff5f5; color: #9b2c2c; }
.tsImages { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tsImages img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.postGap { margin: 0 0 14px 166px; }
.postGap span { display: inline-block; padding: 6px 14px; background: #fff; border-radius: 3px; font-size: 13px; color: var(--head); box-shadow: rgba(0,0,0,.05) 0 1px 2px; }
.topicTags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 3px; background: #e7f1fa; color: var(--btn) !important; font-size: 11px; font-weight: 600; }
.tag.prefix { background: var(--btn); color: #fff !important; }
.addTag summary { display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px; border-radius: 3px; background: #e7f1fa; color: var(--btn); font-size: 11px; font-weight: 600; cursor: pointer; list-style: none; }
.addTag summary .i { width: 10px; height: 10px; }
.addTag summary::-webkit-details-marker { display: none; }
.addTag form { display: flex; gap: 6px; margin-top: 6px; }
.addTag input { padding: 4px 8px; border: 1px solid #d5dde6; border-radius: 3px; font: inherit; font-size: 12px; }
.threadNav { display: flex; justify-content: space-between; }
@media (max-width: 1100px) { .threadLayout { flex-direction: column; } .topicSide { flex-basis: auto; width: 100%; } }
@media (max-width: 768px) { .postGap { margin-left: 0; } }
.cmsList + .crumbs { margin-top: 35px; }

/* pager: first/last and the page jump */
.pager .pFirst, .pager .pLast { background: #edf2f7; font-size: 15px; }
.pager .pJump { margin-left: auto; position: relative; }
.pager .pJump summary { cursor: pointer; list-style: none; color: var(--muted); }
.pager .pJump summary::-webkit-details-marker { display: none; }
.pager .pJump summary:after { content: ""; display: inline-block; margin-left: 5px; border: 4px solid transparent; border-top-color: currentColor; vertical-align: -2px; }
.pager .pJumpForm { position: absolute; right: 0; top: 26px; z-index: 30; display: flex; gap: 6px; align-items: center; padding: 10px; background: #fff; border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0,0,0,.18); white-space: nowrap; }
.pager .pJumpForm label { display: flex; align-items: center; gap: 6px; height: auto; padding: 0; min-width: 0; }
.pager .pJumpForm input { width: 70px; padding: 4px 6px; border: 1px solid #d5dde6; border-radius: 3px; font: inherit; }
@media (max-width: 768px) { .pager .pJump { display: none; } }

/* member hover card */
.hoverCard { position: absolute; z-index: 200; width: 300px; background: #fff; border-radius: 4px; box-shadow: 0 6px 24px rgba(0,0,0,.22); overflow: hidden; font-size: 13px; }
.hoverCard .hcHead { height: 70px; background: #2d6ca2 center/cover no-repeat; }
.hoverCard .hcTop { display: flex; gap: 12px; align-items: flex-end; padding: 0 16px; margin-top: -30px; }
.hoverCard .hcTop img { width: 64px; height: 64px; border-radius: 50%; border: 3px solid #fff; background: #fff; object-fit: cover; }
.hoverCard .hcName { display: block; font-size: 17px; font-weight: 700; color: var(--head); }
.hoverCard .hcGroup { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.hoverCard .hcStats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 16px 0; padding: 10px 0; border-top: 1px solid #edf2f7; }
.hoverCard .hcStats li { display: flex; flex-direction: column; }
.hoverCard .hcStats span { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.hoverCard .hcStats b { color: var(--head); font-weight: 600; font-size: 12px; }
.hoverCard .hcTools { padding: 10px 16px 14px; display: flex; gap: 8px; }

/* quote and multi-quote */
.quoteTools { display: inline-flex; align-items: center; gap: 8px; }
.mqBtn { display: inline-flex; padding: 0; border: 0; background: none; cursor: pointer; }
.mqBtn .i { width: 22px; height: 22px; padding: 6px; border-radius: 3px; background: #edf2f7; color: var(--btn); }
.mqBtn.on .i { background: var(--btn); color: #fff; transform: rotate(45deg); }
.quoteBtn { padding: 0; border: 0; background: none; cursor: pointer; }
.mqBar { position: fixed; right: 24px; bottom: 24px; z-index: 150; display: flex; align-items: stretch; border-radius: 4px; box-shadow: 0 6px 20px rgba(0,0,0,.25); overflow: hidden; }
.mqBar button { border: 0; font: inherit; cursor: pointer; color: #fff; background: var(--btn); }
.mqBar .mqGo { padding: 12px 18px; font-weight: 600; font-size: 14px; }
.mqBar .mqClear { padding: 0 14px; font-size: 18px; background: #1e5a8a; }

/* live topics: the notice about new replies, and the posts it adds */
.liveToast { position: fixed; left: 50%; bottom: 24px; z-index: 160; transform: translateX(-50%); display: flex; align-items: center; gap: 4px;
    max-width: calc(100vw - 32px); padding: 6px 6px 6px 18px; border-radius: 4px; background: var(--deep); color: #fff; font-size: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,.25); animation: liveIn .2s ease-out; }
.liveToast .liveText { flex: 1 1 auto; padding-right: 8px; }
.liveToast .liveGo { flex: none; padding: 8px 14px; border: 0; border-radius: 3px; font: inherit; font-weight: 600; color: #fff; background: var(--btn); cursor: pointer; text-decoration: none; }
.liveToast .liveClose { flex: none; padding: 4px 10px; border: 0; font-size: 18px; color: #fff; background: none; cursor: pointer; opacity: .7; }
.liveToast .liveClose:hover { opacity: 1; }
.liveToast.busy { opacity: .7; }
@media (max-width: 599px) { .liveToast { bottom: 84px; } }
@keyframes liveIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translateX(-50%); } }
.post.liveNew { animation: liveNew 3s ease-out; }
@keyframes liveNew { from { box-shadow: 0 0 0 3px var(--btn); } to { box-shadow: 0 0 0 3px transparent; } }
.liveState { margin: 0 0 10px; padding: 8px 12px; border-radius: 3px; background: #fff4c2; color: var(--text); font-size: 13px; }
.liveState.busy { opacity: .6; }
.liveState .liveReload { font-size: inherit; font-weight: 600; }
.post.liveGone .liveState { background: var(--page); color: var(--muted); }
.post.liveGone .articleBody, .post.liveGone .signature, .post.liveGone .side { opacity: .4; }
.post.liveGone .postTools { display: none; }
@media (prefers-reduced-motion: reduce) { .liveToast, .post.liveNew { animation: none; } }

/* notifications */
.notifList { background: #fff; border-radius: var(--radius); box-shadow: rgba(0,0,0,.05) 0 1px 2px; }
.notifList .note { display: flex; gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid #edf2f7; }
.notifList .note:last-child { border-bottom: 0; }
.notifList .note.unread { background: #f2f8fd; }
.notifList .nPic img { width: 40px; height: 40px; border-radius: 50%; display: block; }
.notifList .nIcon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #e7f1fa; color: var(--btn); }
.notifList .nIcon .i { width: 18px; height: 18px; }
.notifList .nText { flex: 1; font-size: 14px; }
.notifList .nText a { color: var(--text); }
.notifList .nText b { color: var(--head); }
.notifList .nDate { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.notifList .nDot { width: 9px; height: 9px; border-radius: 50%; background: var(--btn); }
.notifList .none { padding: 30px; text-align: center; color: var(--muted); }
.pageActions form { display: inline; }
.pageActions .button .i { width: 13px; height: 13px; vertical-align: -2px; }
.noteOptions table { width: 100%; border-collapse: collapse; font-size: 14px; }
.noteOptions th, .noteOptions td { padding: 10px; border-bottom: 1px solid #edf2f7; text-align: center; }
.noteOptions th:first-child, .noteOptions td:first-child { text-align: left; }
.noteOptions .pushBox { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 0 0 14px; padding: 12px 14px; background: #f5f8fb; border-radius: 4px; }
.noteOptions .pushBox[hidden] { display: none; }
.noteOptions .pushState { flex: 1 1 240px; margin: 0; }
.noteOptions > .pageDesc { margin: 10px 0 0; }
.noteOptions .formFoot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
/* the bell's drop-down panel */
.notePanel { position: absolute; z-index: 300; width: 380px; background: #fff; border-radius: 4px; box-shadow: 0 6px 24px rgba(0,0,0,.22); overflow: hidden; }
.notePanel h4 { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 12px 16px; font-size: 14px; color: var(--head); border-bottom: 1px solid #edf2f7; }
.notePanel h4 a { font-size: 12px; font-weight: 400; color: var(--btn); }
.notePanel .notifList { box-shadow: none; border-radius: 0; max-height: 380px; overflow-y: auto; }
.notePanel .notifList .note { padding: 10px 16px; }
.notePanel .notifList .nText { font-size: 13px; }
.notePanel .foot { display: block; padding: 10px; text-align: center; font-size: 13px; background: #f7f9fb; color: var(--btn); }
.statusFeed > li:target { box-shadow: inset 3px 0 0 var(--btn); background: #f2f8fd; }
/* on its own line under the sign-in link (the rule above would otherwise keep it inline, glued to it) */
.guestSignIn a.lostPass { display: block !important; margin-top: 2px; font-size: 11px; font-weight: 400; color: var(--muted); text-align: right; }
.footMenu { position: relative; }
.footMenu .menu { bottom: 100%; top: auto; left: 0; min-width: 190px; }
.footMenu summary { list-style: none; cursor: pointer; }
.footMenu summary::-webkit-details-marker { display: none; }

/* follow box (forum, topic and profile): button plus follower count;
   forum page: sort, feed, row page jumps and tags */
.followBox { display: inline-flex; align-items: stretch; }
.followBox form { display: flex; }
.followBtn { display: inline-flex; align-items: center; padding: 0 14px; height: 36px; border: 1px solid #d5dde6; border-right: 0; border-radius: 3px 0 0 3px; background: #fff; color: var(--btn); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.followBtn.on { background: var(--btn); color: #fff; border-color: var(--btn); }
.followCount { display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid #d5dde6; border-radius: 0 3px 3px 0; background: #fff; font-size: 13px; color: var(--head); }
.topicHead { display: flex; align-items: center; gap: 12px; }
.topicHead h2 { flex: 1; }
.sortMenu { position: relative; font-size: 13px; }
.sortMenu summary { color: var(--muted); }
.sortMenu .menu { right: 0; left: auto; min-width: 170px; }
.sortMenu .menu a.on { color: var(--head); font-weight: 600; }
.feedLink { display: inline-flex; color: #f26522; }
.feedLink .i { width: 16px; height: 16px; }
.tPages { display: inline-flex; gap: 3px; margin-left: 8px; }
.tPages a, .tPages span { display: inline-block; min-width: 18px; padding: 0 4px; text-align: center; border-radius: 2px; background: #edf2f7; font-size: 11px; color: var(--head); }
.tTags { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 0; }
.tLast .lastDate { display: block; color: var(--muted); font-size: 12px; }
.topicHead { padding: 0 20px; border-bottom: 1px solid #edf2f7; }
.topicHead h2 { margin: 0; min-height: 49px; display: flex; align-items: center; font-size: 16px; }
.topicHead .menu { position: absolute; z-index: 40; }
.sortMenu summary .caret .i { width: 8px; height: 8px; }

/* topic: poster column, edit marker, share menus */
.post .side .postCount { color: inherit; }
.post .side .badgeRow a { display: inline-flex; gap: 3px; align-items: center; }
.post .side .badgeRow img { width: 20px; height: 20px; }
.post .side .badgeRow span { font-size: 11px; color: var(--muted); }
.post .side .location span { color: var(--muted); }
.editedTag { color: var(--muted); font-size: 12px; }
.editLine { margin: 14px 0 0; padding: 8px 12px; background: #f7f9fb; border-radius: 3px; font-size: 12px; color: var(--muted); font-style: italic; }
.postMeta { position: relative; }
.postShare { float: right; margin-left: 10px; }
.postShare summary, .topicShare summary { list-style: none; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.postShare summary::-webkit-details-marker, .topicShare summary::-webkit-details-marker { display: none; }
.postShare summary .i { width: 15px; height: 15px; }
.postShare .menu, .topicShare .menu { right: 0; left: auto; min-width: 230px; z-index: 60; }
.shareMenu a { display: flex !important; align-items: center; gap: 8px; }
.shareMenu .i { width: 14px; height: 14px; }
.shareUrl { width: calc(100% - 24px); margin: 4px 12px 8px; padding: 5px 7px; border: 1px solid #d5dde6; border-radius: 3px; font: inherit; font-size: 12px; }
.topicShare { position: relative; margin-right: 10px; }
.badgeImg { border-radius: 0 !important; }
.postShare { float: none; margin-left: auto; order: 9; }
.postMeta .postPick { order: 10; }
.topicShare { order: 1; margin: 0 12px 0 auto; align-self: center; }
.topicShare + * , .followForm { order: 2; }
/* same box and baseline as the 36px follow box beside it */
.threadHead .topicShare { position: absolute; right: 130px; bottom: 22px; margin: 0; }
.threadHead .topicShare summary { height: 36px; }
.postMeta .postPick { margin-left: 10px; }

/* attachments and calendar */
.attachTable { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); font-size: 13px; }
.attachTable th, .attachTable td { padding: 10px 12px; border-bottom: 1px solid #edf2f7; text-align: left; vertical-align: middle; }
.attachTable th { font-size: 11px; text-transform: uppercase; color: var(--muted); }
.attachTable .aThumb { width: 56px; }
.attachTable .aThumb img { width: 48px; height: 48px; object-fit: cover; border-radius: 3px; display: block; }
.attachTable .aIcon .i { width: 24px; height: 24px; color: var(--muted); }
.attachTable .none { text-align: center; color: var(--muted); padding: 30px; }
.calHead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.calHead h1 { text-transform: capitalize; }
.calGrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: #e2e8f0; border-radius: var(--radius); overflow: hidden; }
.calWd { background: #f7f9fb; padding: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.calDay { background: #fff; min-height: 96px; padding: 6px; font-size: 12px; }
.calDay.out { background: #fafbfc; color: #cbd5e0; }
.calDay.today .calNum { background: var(--btn); color: #fff; border-radius: 50%; }
.calNum { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; font-weight: 600; }
.calEvent { display: block; margin-top: 4px; padding: 2px 6px; border-radius: 3px; background: #e7f1fa; color: var(--btn); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 768px) { .calDay { min-height: 60px; } .calEvent { font-size: 10px; } }

/* settings area */
.settingsLayout { display: flex; gap: 20px; align-items: flex-start; }
.settingsNav { flex: 0 0 230px; background: #fff; border-radius: var(--radius); padding: 8px 0; }
.settingsNav a { display: block; padding: 9px 16px; color: var(--text); font-size: 13px; }
.settingsNav a.on { background: #e7f1fa; color: var(--btn); font-weight: 600; box-shadow: inset 3px 0 0 var(--btn); }
.settingsMain { flex: 1; min-width: 0; }
.settingsMain .editorCard + .editorCard, .settingsMain > section { margin-bottom: 16px; }
.settingsMain h2 { font-size: 16px; margin: 0 0 6px; }
.plainList li { padding: 6px 0; border-bottom: 1px solid #edf2f7; }
@media (max-width: 768px) { .settingsLayout { flex-direction: column; } .settingsNav { flex-basis: auto; width: 100%; } }

/* profile bar: badges, activity, follow */
.profileBar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 20px; border-top: 1px solid #edf2f7; }
.profileBar .followBox { margin-left: auto; }
.profileBar .followCount { text-decoration: none; }
.badgeSummary { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.badgeSummary img { width: 28px; height: 28px; }
.badgeSummary span { margin-left: 6px; }
.profileStats b a { color: inherit; }
.listTabs { background: #fff; border-radius: var(--radius); margin-bottom: 14px; padding: 0 12px; }
.post .side .authorTag { display: inline-block; margin: 4px 0 6px; padding: 1px 8px; border-radius: 3px; background: #e7f1fa; color: var(--btn); font-size: 11px; font-weight: 600; }

/* messenger */
.msgLayout { display: flex; gap: 20px; align-items: flex-start; }
.msgSide { flex: 0 0 240px; }
.msgFolders a { display: flex !important; justify-content: space-between; }
.msgFolders .fCount { color: var(--muted); font-size: 12px; font-weight: 400; }
.addFolder { padding: 8px 16px; font-size: 13px; }
.addFolder summary { cursor: pointer; color: var(--btn); list-style: none; display: inline-flex; gap: 4px; align-items: center; }
.addFolder summary .i { width: 11px; height: 11px; }
.addFolder form, .folderMenu form { display: flex; gap: 6px; margin-top: 8px; }
.addFolder input, .folderMenu input, .msgFilter input, .msgFilter select, .bulkBar select { padding: 5px 8px; border: 1px solid #d5dde6; border-radius: 3px; font: inherit; font-size: 13px; min-width: 0; }
.msgQuota { margin-top: 12px; padding: 12px 16px; background: #fff; border-radius: var(--radius); font-size: 12px; color: var(--muted); }
.msgQuota p { margin: 0 0 6px; }
.qBar { display: block; height: 6px; background: #edf2f7; border-radius: 3px; overflow: hidden; }
.qBar span { display: block; height: 100%; background: var(--btn); }
.msgMain { flex: 1; min-width: 0; background: #fff; border-radius: var(--radius); }
.msgHead { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid #edf2f7; }
.msgHead h2 { margin: 0; font-size: 16px; }
.folderMenu { position: relative; }
.folderMenu .menu { right: 0; left: auto; padding: 10px; min-width: 260px; }
.msgFilter { display: flex; gap: 8px; padding: 10px 18px; border-bottom: 1px solid #edf2f7; flex-wrap: wrap; }
.msgFilter input[type=search] { flex: 1; }
.msgList .conv { display: flex; align-items: center; gap: 12px; }
.msgList .conv.unread h4 a { font-weight: 700; }
.msgList .none { padding: 30px; text-align: center; color: var(--muted); }
.bulkBar { display: flex; gap: 8px; justify-content: flex-end; padding: 10px 18px; border-top: 1px solid #edf2f7; }
.draftRow { margin-top: 8px; }
@media (max-width: 768px) { .msgLayout { flex-direction: column; } .msgSide { flex-basis: auto; width: 100%; } }
.modNotice { margin: 0 0 14px; background: #fff7e6; border-left: 3px solid #e8a33d; }
.featuredTag { background: #36ab80 !important; }
.modActions .danger { color: #c53030; }
.inlineForm { display: inline; margin-left: 6px; }
.editVersion { margin-bottom: 14px; }
.evCols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.evCols h3 { font-size: 12px; text-transform: uppercase; color: var(--muted); margin: 8px 0; }
@media (max-width: 768px) { .evCols { grid-template-columns: 1fr; } }

/* activity streams */
.streamLayout { display: flex; gap: 20px; align-items: flex-start; }
.streamNav { flex: 0 0 230px; }
.streamMain { flex: 1; min-width: 0; background: #fff; border-radius: var(--radius); }
.streamFilters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 18px; border-bottom: 1px solid #edf2f7; }
.sf { position: relative; font-size: 13px; }
.sf summary { padding: 5px 10px; border: 1px solid #d5dde6; border-radius: 3px; background: #fff; }
.sfMenu { padding: 10px 12px !important; min-width: 230px; display: flex; flex-direction: column; gap: 6px; }
.sfMenu label { font-size: 13px; }
.sfMenu hr { border: 0; border-top: 1px solid #edf2f7; margin: 4px 0; }
.sfMenu form { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.sfMenu input[type=text] { padding: 5px 8px; border: 1px solid #d5dde6; border-radius: 3px; font: inherit; width: 100%; }
.streamTools { display: flex; gap: 14px; align-items: center; justify-content: flex-end; padding: 8px 18px; border-bottom: 1px solid #edf2f7; font-size: 13px; }
.streamTools { justify-content: space-between; flex-wrap: wrap; }
.streamSave, .streamSave form, .streamView { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.streamSave form.streamSaveNew { gap: 6px; }
.streamSave input[type=text] { width: 180px; max-width: 100%; height: 30px; padding: 0 8px; font-size: 13px; }
.streamView { margin-left: auto; }
.streamList li { display: flex; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #edf2f7; }
.streamList .sLine { margin: 0; font-size: 14px; }
.streamList .sTitle { font-weight: 600; }
.streamList .iSnippet { margin: 4px 0; font-size: 13px; color: var(--text); }
.streamList .iMeta { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.streamList.condensed li { padding: 8px 18px; }
.streamList .none { padding: 30px; text-align: center; color: var(--muted); display: block; }
@media (max-width: 768px) { .streamLayout { flex-direction: column; } .streamNav { flex-basis: auto; width: 100%; } }
.sf summary { list-style: none; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.sf summary::-webkit-details-marker { display: none; }
.sf .menu { position: absolute; z-index: 50; top: 100%; left: 0; margin-top: 4px; }
.streamList .iAvatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; }
.streamList .iAvatar { flex: 0 0 40px; }
.streamList .sPeriod { display: block; padding: 14px 18px 6px; border-bottom: 0; }
.streamList .sPeriod h2 { display: inline-block; margin: 0; padding: 3px 12px; border-radius: 999px; background: #2d3748; color: #fff; font-size: 12px; font-weight: 600; }
.streamList .sAvatar { position: relative; flex: 0 0 40px; height: 40px; }
.streamList .sKind { position: absolute; right: -5px; bottom: -5px; display: flex; width: 20px; height: 20px; border-radius: 50%; background: #2d3748; color: #fff; border: 2px solid #fff; }
.streamList .sKind .i { width: 10px; height: 10px; margin: auto; }
.streamList .iMeta { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.streamList .iMeta span { display: inline-flex; align-items: center; gap: 4px; }
.streamList .iMeta .i { width: 13px; height: 13px; }
.streamList .sThumb { display: inline-block; margin: 6px 0 2px; }
.streamList .sThumb img { display: block; max-width: 120px; max-height: 120px; border-radius: 4px; object-fit: cover; }
.pollQEdit { border: 1px solid #edf2f7; border-radius: 3px; padding: 8px 12px; margin: 0 0 10px; }
.pollQEdit legend { font-size: 12px; font-weight: 700; color: var(--head); padding: 0 4px; }
.pVoters { display: block; flex-basis: 100%; font-size: 11px; color: var(--muted); }
.pollEditLink, .addPollLink { margin: 8px 0 0; font-size: 13px; }
.addPollLink { margin: 0 0 12px; }
.removePoll { margin-top: 10px; color: #c53030; }

/* search */
.searchBox { background: #fff; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 14px; }
.searchRow { display: flex; gap: 8px; }
.searchRow input { flex: 1; padding: 8px 10px; border: 1px solid #d5dde6; border-radius: 3px; font: inherit; }
.moreSearch { margin-top: 10px; font-size: 13px; }
.moreSearch summary { cursor: pointer; color: var(--btn); }
.msGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 10px; }
.msGrid fieldset { border: 1px solid #edf2f7; border-radius: 3px; padding: 8px 12px; display: flex; flex-direction: column; gap: 5px; }
.msGrid legend { font-weight: 700; color: var(--head); font-size: 12px; }
.msGrid input[type=text], .msGrid input[type=date], .msGrid select { padding: 4px 6px; border: 1px solid #d5dde6; border-radius: 3px; font: inherit; font-size: 12px; margin-left: 4px; }
.sortList { padding: 6px 0 !important; min-width: 220px; }
.sortList ul { margin: 0; }
.customSort { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; border-top: 1px solid #edf2f7; }
.customSort .head { width: 100%; margin: 0; font-size: 12px; font-weight: 700; color: var(--head); }
.customSort select { padding: 4px 6px; border: 1px solid #d5dde6; border-radius: 3px; font: inherit; font-size: 12px; }
.topicHead .sortMenu + .sortMenu { margin-left: 4px; }

/* events */
.eventTabs { display: flex; align-items: center; }
.eventTabs .icalLink { margin-left: auto; display: inline-flex; gap: 4px; align-items: center; }
.eventTabs .icalLink .i { width: 13px; height: 13px; }
.eventFilter { background: #fff; border-radius: var(--radius); margin-bottom: 14px; }
.eventFilter label { display: inline-flex; gap: 4px; align-items: center; font-size: 13px; }
.eventList { background: #fff; border-radius: var(--radius); }
.eventList li { display: flex; gap: 16px; padding: 14px 18px; border-bottom: 1px solid #edf2f7; }
.eventList .evDate { flex: 0 0 52px; text-align: center; border: 1px solid #e2e8f0; border-radius: 4px; padding: 4px 0; height: fit-content; }
.eventList .evDate b { display: block; font-size: 20px; color: var(--head); }
.eventList .evDate span { font-size: 11px; text-transform: uppercase; color: var(--btn); }
.eventList h4 { margin: 0 0 2px; font-size: 15px; }
.eventList .none { display: block; padding: 30px; text-align: center; color: var(--muted); }
.dayBoxes.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.dayBox { background: #fff; border-radius: var(--radius); padding: 10px; min-height: 120px; }
.dayBox.today { box-shadow: inset 0 3px 0 var(--btn); }
.dayBox h3 { margin: 0 0 8px; font-size: 12px; text-transform: capitalize; }
.dayBox .calEvent { white-space: normal; }
.dayBox .calEvent span { color: var(--muted); }
.dayBox .none { font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .dayBoxes.week { grid-template-columns: 1fr; } }
.recordTools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 14px 0; } .recordTools form { display: inline-flex; gap: 6px; }
.listViewToggle { display: flex; justify-content: flex-end; margin: 0 0 8px; font-size: 13px; }
.listViewToggle .i { width: 13px; height: 13px; vertical-align: -2px; }
.itemList.gridList { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; background: none; box-shadow: none; }
.itemList.gridList > li { flex-direction: column; align-items: flex-start; background: #fff; border-radius: var(--radius); border: 0; padding: 16px; }

/* staff, picks, leaderboard, online */
.staffGroup h2 { padding: 0 20px; }
.staffGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; padding: 14px 20px 18px; }
.staffGrid li { display: flex; gap: 10px; align-items: center; }
.staffGrid img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.staffGrid .who { display: block; font-weight: 700; color: var(--head); }
.staffGrid span { font-size: 12px; color: var(--muted); }
.picksGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.pick { background: #fff; border-radius: var(--radius); padding: 16px; }
.pick img { width: 100%; max-height: 180px; object-fit: cover; border-radius: 3px; }
.pick h3 { margin: 4px 0 8px; font-size: 16px; }
.pickText { font-size: 13px; }
.picksGrid .none { padding: 30px; color: var(--muted); }
.leaderLayout { display: flex; gap: 20px; align-items: flex-start; }
.leaderLayout > section { flex: 1; }
.leaderSide { flex: 0 0 320px; display: flex; flex-direction: column; gap: 14px; }
.onlineTable img { width: 28px; height: 28px; border-radius: 50%; vertical-align: middle; }
@media (max-width: 900px) { .leaderLayout { flex-direction: column; } .leaderSide { flex-basis: auto; width: 100%; } }
.adminForm { margin: 14px 0; }
.adminForm h3 { margin: 0 0 10px; font-size: 15px; }
.adminForm input[type=text], .adminForm input[type=email], .adminForm input[type=password], .adminForm select { padding: 5px 8px; border: 1px solid #d5dde6; border-radius: 3px; font: inherit; font-size: 13px; }
.limitRow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid #edf2f7; font-size: 13px; }
.profileCover { position: relative; }
.coverEdit { position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 3px; background: rgba(0,0,0,.55); color: #fff !important; font-size: 13px; }
.coverEdit .i, .photoEdit .i { width: 13px; height: 13px; }
.pPhoto { position: relative; display: inline-block; }
.photoEdit { position: absolute; right: 4px; bottom: 4px; display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: var(--btn); color: #fff !important; box-shadow: 0 0 0 3px #fff; }
.coverNow { display: block; width: 100%; max-height: 160px; object-fit: cover; border-radius: 3px; margin: 6px 0; }
#photoField.flash, #coverField.flash { animation: flashField 1.6s ease-out; }
@keyframes flashField { from { background: #fff4c2; } to { background: transparent; } }
.topicList > li { position: relative; }
.topicPick { margin-right: 4px; align-self: center; }
.topicBulk { position: sticky; bottom: 0; display: none; background: #fff; box-shadow: 0 -2px 8px rgba(0,0,0,.08); }
.topicBulk.on { display: flex; }
.topicBulk select { padding: 4px 6px; }
.recBox { background: #fff; border-radius: var(--radius); padding: 12px 18px; margin-bottom: 14px; box-shadow: inset 3px 0 0 #36ab80; }
.recBox h2 { margin: 0 0 8px; font-size: 15px; display: flex; gap: 6px; align-items: center; }
.recBox h2 .i, .recTag .i { width: 13px; height: 13px; color: #36ab80; }
.recItem { padding: 8px 0; border-top: 1px solid #edf2f7; font-size: 13px; }
.recWho { display: flex; gap: 8px; align-items: center; margin: 0 0 4px; }
.recWho img { width: 28px; height: 28px; border-radius: 50%; }
.recNote { color: var(--muted); font-style: italic; margin: 4px 0 0; }
.recTag { display: inline-flex; gap: 3px; align-items: center; font-size: 12px; color: #36ab80; }
.ipTag { font-size: 11px; color: var(--muted) !important; font-family: monospace; }
.recForm { display: inline; }
.recPick { display: inline; }
.recPick summary { display: inline; list-style: none; cursor: pointer; }
.recPick summary::-webkit-details-marker { display: none; }
.recPick[open] input { margin: 0 6px; padding: 3px 6px; border: 1px solid #d5dde6; border-radius: 3px; font: inherit; font-size: 12px; }
.acpLogin { max-width: 420px; }
.mfaPanel { max-width: 420px; }
.mfaCode { font-size: 20px; letter-spacing: .2em; max-width: 9em; font-variant-numeric: tabular-nums; }
.mfaSetup { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 12px 0; }
.mfaQR { flex: none; max-width: 100%; height: auto; border-radius: 3px; }
.mfaSecret { font-size: 15px; letter-spacing: .05em; user-select: all; }
.mfaForm { margin-top: 12px; max-width: 420px; }
.mfaRecover { margin-top: 12px; }
.pfieldSet { border: 1px solid #edf2f7; border-radius: 3px; padding: 8px 14px; margin-top: 12px; } .pfieldSet legend { font-weight: 700; font-size: 13px; color: var(--head); }
.dangerZone { border-left: 3px solid #c53030; } .button.danger { background: #c53030; }
.banBanner { margin: 10px 0; }
.memberHits { background: #fff; border-radius: var(--radius); padding: 10px 18px; margin-bottom: 14px; }
.memberHits h3 { margin: 0 0 6px; font-size: 13px; }
.memberHits ul { display: flex; flex-wrap: wrap; gap: 14px; }
.memberHits img { width: 32px; height: 32px; border-radius: 50%; vertical-align: middle; }

/* a moderator's notice, shown until the member closes it */
.siteAlert { max-width: 1340px; margin: 16px auto; padding: 16px 20px; background: #fff; border: 1px solid #d9dde3; border-left: 4px solid #36ab80; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.siteAlert h2 { margin: 0 0 8px; font-size: 16px; }
.siteAlert form { margin-top: 10px; }
.modcpSub { margin: 16px 0 6px; font-size: 14px; }
.tagChip { display: inline-flex; align-items: center; gap: 2px; }
.tagChip .tagRemove { border: 0; background: none; color: #8a94a3; cursor: pointer; font-size: 14px; line-height: 1; padding: 0 4px 0 0; }
.tagChip .tagRemove:hover { color: #c0392b; }
.aMeta .aToggle { font-size: inherit; padding: 0; }
.annStrip { max-width: 1340px; margin: 12px auto 0; padding: 0 20px; box-sizing: border-box; }
.annStrip p { margin: 0 0 6px; padding: 10px 14px; background: #fff8e1; border: 1px solid #f0d58c; border-radius: 4px; font-size: 14px; }
.annStrip a { font-weight: 600; color: #2d3748; }
.rImage { margin: 0 0 14px; }
.rImage img { max-width: 100%; height: auto; border-radius: 4px; display: block; }
.rThumb { max-width: 100%; max-height: 260px; object-fit: cover; border-radius: 4px; display: block; margin: 0 0 10px; }
.rFields { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 14px 0 0; font-size: 14px; }
.rFields dt { font-weight: 600; color: #4a5568; }
.rFields dd { margin: 0; }

/* the placeholder robot check: two answers drawn as buttons */
.fakeCaptcha { border: 1px dashed #c8ced8; border-radius: 6px; padding: 10px 12px; }
.fakeCaptcha legend { font-size: 13px; color: #4a5568; padding: 0 4px; }
.fcBtn { display: inline-flex; align-items: center; gap: 6px; margin: 4px 8px 4px 0; padding: 8px 14px; border: 1px solid #cbd2dc; border-radius: 4px; background: #f7f9fb; cursor: pointer; font-weight: 600; }
.fcBtn:has(input:checked) { border-color: #36ab80; background: #e9f7f1; }
.statTiles { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.statTiles li { background: #f7f9fb; border: 1px solid #e2e6ec; border-radius: 4px; padding: 10px 12px; }
.statTiles b { display: block; font-size: 20px; color: #2d3748; }
.statTiles span { font-size: 13px; color: #4a5568; }
.statusTiles li.warn { border-color: #f6c5c5; background: #fff5f5; }
.statusTiles li.warn b { color: #c53030; }
.statusTable code { font-size: 12px; overflow-wrap: anywhere; }
.statusTable td:first-child { white-space: nowrap; }
.sinkClear { margin: 0 0 12px; }
.sinkLetter { background: var(--surface); border: 1px solid var(--page); border-radius: var(--radius); margin: 0 0 8px; padding: 8px 12px; }
.sinkLetter summary { cursor: pointer; overflow-wrap: anywhere; }
.sinkBody { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; margin: 10px 0 0; }
.sinkBody a { color: var(--btn); text-decoration: underline; }
.statTable td { white-space: nowrap; }
.statBar { display: inline-block; height: 8px; max-width: 120px; background: #36ab80; border-radius: 2px; vertical-align: middle; }

/* Phones: the topic head's "Dela" and "Följ" sit on their own row under the
   byline instead of on top of its text. */
@media (max-width: 599px) {
    .pageTitle.cmsHead.threadHead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
    .pageTitle.threadHead .threadTitle { flex: 1 1 100%; min-width: 0; }
    .pageTitle.threadHead .followForm, .pageTitle.threadHead .topicShare { position: static; flex: 0 0 auto; }
    .pageTitle.threadHead .topicShare { margin: 0 0 0 auto; }
}

/* Phones, small fixes: a plain page title keeps off the screen edge; a
   submit button never breaks into two lines; the settings form is as wide
   as the menu above it; the message filter's search field keeps a usable
   width (the selects wrap under it instead). */
.submitRow .button { white-space: nowrap; flex: 0 0 auto; }
.msgFilter input[type=search] { flex: 1 1 140px; }
@media (max-width: 768px) {
    .pageTitle.plainTitle h1 { margin-left: 12px; margin-right: 12px; }
    .settingsLayout { align-items: stretch; }
    .settingsLayout > * { min-width: 0; max-width: none; }
    .settingsLayout .settingsNav { width: auto; overflow: hidden; }
    .settingsLayout .formPanel { max-width: none; }
}

/* Keyboard users can jump past the menus: the link shows only when focused. */
.skipLink { position: absolute; left: -9999px; top: 0; z-index: 1000; padding: 10px 16px; background: #fff; color: var(--btn); font-weight: 600; border-radius: 0 0 4px 0; box-shadow: rgba(0,0,0,.2) 0 2px 6px; }
.skipLink:focus { left: 0; }

/* Phones: a moderator's row of post tools wraps instead of widening the page. */
@media (max-width: 768px) {
    .postTools { flex-wrap: wrap; row-gap: 6px; }
    .postTools .ownTools { flex-wrap: wrap; gap: 4px 12px; min-width: 0; }
}

/* Phones: a table wider than the screen scrolls sideways inside its own box
   instead of making the whole page scroll. */
@media (max-width: 768px) {
    table.ipsTable, table.attachTable { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
/* the contact form: the field only robots fill in stays out of sight */
.contactHp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contactAs { margin: 0 0 12px; font-size: 14px; }
.contactDone h2 { margin: 0 0 8px; font-size: 18px; }
.contactPreview { margin: 0 0 12px; padding: 10px 14px; border-left: 3px solid #cbd5e0; background: #f7f9fb; }
.contactPreviewFrom { margin: 0 0 6px; font-size: 14px; }
.contactPreviewText { white-space: pre-wrap; overflow-wrap: anywhere; }

/* /offline/: the page the service worker shows when a page cannot be loaded */
.offlinePage { max-width: 560px; margin: 15vh auto 0; padding: 0 16px; text-align: center; }
.offlinePage h1 { margin: 0 0 12px; font-size: 26px; }
.offlinePage p { margin: 0 0 18px; line-height: 1.6; }
