/* Scorch.PvP — Ash & Ember. Append after NamelessMC DefaultRevamp custom.css.
 * Original design for Scorch.PvP; retains the native Fomantic UI behaviors.
 * Set --sc-hero-image: url('YOUR-IMAGE-URL') on .sc-hero or :root.
 */
:root {
  --sc-bg: #0b0d10;
  --sc-hero-image: url("../img/scorchpvp-fortress-hero.jpg");
  --sc-surface: #14171c;
  --sc-surface-raised: #1c2027;
  --sc-surface-hover: #242930;
  --sc-line: #2d323a;
  --sc-line-soft: rgba(255, 255, 255, .085);
  --sc-text: #f3f0e9;
  --sc-muted: #a8acb3;
  --sc-quiet: #858d98;
  --sc-ember: #ff7b35;
  --sc-ember-bright: #ffad72;
  --sc-ember-dark: #22150f;
  --sc-success: #92d6aa;
  --sc-radius: 5px;
  --sc-width: 1180px;
  --sc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --sc-display: "Arial Black", "Segoe UI", Arial, sans-serif;
  --sc-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  color-scheme: dark;
}
html { background: var(--sc-bg); scroll-behavior: smooth; }
:root body,
:root body > .pusher,
:root body.pushable > .pusher {
  background: var(--sc-bg);
  color: var(--sc-text);
  font-family: var(--sc-font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
:root body.pushable > .pusher { min-height: 100vh; }
:root body #wrapper { flex: 1 0 auto; margin-bottom: 64px; }
:root body .ui.container { width: min(var(--sc-width), calc(100% - 64px)); }
:root body a { color: var(--sc-ember-bright); }
:root body a:hover { color: #ffca9f; }
:root body a, :root body button, :root body input { -webkit-tap-highlight-color: transparent; }
:root body :focus-visible { outline: 2px solid var(--sc-ember-bright); outline-offset: 4px; }
:root body ::selection { background: #a4431a; color: #fff; }
:root body h1, :root body h2, :root body h3, :root body h4, :root body .ui.header {
  color: var(--sc-text);
  font-family: var(--sc-font);
  letter-spacing: -.025em;
}
:root body p { line-height: 1.75; }

/* The native menu, account popups and mobile sidebar remain functional. */
:root body #navbar.ui.secondary.menu {
  background: #101216;
  border-bottom: 1px solid var(--sc-line-soft);
  border-radius: 0;
  padding: 0;
  min-height: 82px;
  box-shadow: none;
  position: relative;
  z-index: 20;
}
:root body #navbar > .ui.container { align-items: center; gap: 5px; min-height: 82px; }
:root body #navbar .item { color: #b8bcc3; font-size: 13px; font-weight: 650; letter-spacing: .02em; padding: 13px 14px; border-radius: 3px; }
:root body #navbar .item:hover,
:root body #navbar .item.active { color: #fff; background: rgba(255, 123, 53, .09); }
:root body #navbar .item.active { box-shadow: inset 0 -2px var(--sc-ember); }
:root body #navbar .right.menu { align-items: center; gap: 8px; }
:root body #navbar .ui.button { margin: 0; border-radius: 3px; }
:root body #navbar .ui.image.label { background: var(--sc-surface-raised); color: var(--sc-text); border: 1px solid var(--sc-line); border-radius: 3px; }
:root body #navbar .sc-wordmark,
:root body .sc-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--sc-display);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.055em;
  color: #f8f3e9;
  white-space: nowrap;
  text-decoration: none;
}
:root body #navbar .sc-wordmark { margin-right: 27px; padding: 18px 0; }
:root body .sc-wordmark span,
:root body .sc-wordmark em { color: var(--sc-ember); font-style: normal; }
:root body .sc-wordmark small { font-family: var(--sc-font); font-size: 12px; font-weight: 800; letter-spacing: .04em; margin-left: 4px; }
:root body #toc.ui.sidebar { background: #101216; border-right: 1px solid var(--sc-line); }
:root body #toc.ui.sidebar .item { color: var(--sc-text); padding-top: 17px; padding-bottom: 17px; }
:root body #toc.ui.sidebar .active.item { background: var(--sc-ember-dark); color: var(--sc-ember-bright); }

/* Compact banner for functional pages: home uses the original custom hero. */
:root body .ui.masthead {
  background-color: #171510;
  background-image: linear-gradient(105deg, #221810, #14171c 62%, #15171b);
  background-position: center 50%;
  padding: 40px 0;
  margin-bottom: 40px;
  border-bottom: 1px solid #443023;
}
:root body .ui.masthead h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 850; color: #fff; }
:root body .ui.masthead .connect-server { background: #111418; border: 1px solid #4c382b; box-shadow: none; border-radius: 4px; text-align: left; }
:root body .ui.masthead .connect-server .ui.header { color: #e6ded5; font-size: 13px; line-height: 1.8; }

/* Home: image-led masthead with restrained industrial detail. */
.sc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 566px;
  background-color: #141312;
  background-image: linear-gradient(90deg, rgba(9,11,14,.95) 0%, rgba(9,11,14,.82) 28%, rgba(9,11,14,.23) 70%, rgba(9,11,14,.28) 100%), linear-gradient(0deg, #0b0d10 0%, transparent 38%), var(--sc-hero-image, none);
  background-size: cover;
  background-position: center, center, center 45%;
  border-bottom: 1px solid var(--sc-line-soft);
}
.sc-hero::after { content: ""; pointer-events: none; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, transparent, #bd5527 35%, #ff9b51 50%, transparent 90%); opacity: .55; }
.sc-hero > .ui.container,
.sc-hero-inner { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 566px; padding-top: 76px; padding-bottom: 78px; gap: 48px; }
.sc-hero-content { max-width: 660px; position: relative; z-index: 1; }
.sc-kicker,
.sc-brand-eyebrow,
.sc-card-label { display: block; color: var(--sc-ember-bright); font-family: var(--sc-mono); font-size: 11px; font-weight: 600; letter-spacing: .17em; line-height: 1.7; text-transform: uppercase; }
.sc-kicker { margin: 0 0 23px; }
.sc-kicker::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--sc-ember); margin-right: 12px; vertical-align: middle; }
:root body .sc-hero-title { color: #fff8ed; font-family: var(--sc-display); font-size: clamp(46px, 5.8vw, 76px); font-weight: 900; letter-spacing: -.045em; line-height: 1.02; margin: 0 0 24px; text-transform: uppercase; text-wrap: balance; }
.sc-hero-title span,
.sc-hero-title em { color: var(--sc-ember); font-style: normal; }
:root body .sc-hero-copy { max-width: 505px; color: #c2c0bd; font-size: 16px; line-height: 1.8; margin: 0 0 31px; }
.sc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
:root body .sc-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 14px 22px; border: 1px solid var(--sc-ember); border-radius: 3px; background: var(--sc-ember); color: #1a100a; font-family: var(--sc-font); font-size: 13px; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .16s ease, border-color .16s ease, color .16s ease; }
:root body .sc-button:hover { background: #ff995f; border-color: #ff995f; color: #120c08; }
:root body .sc-button-secondary { color: #f1eae1; background: rgba(15,17,20,.72); border-color: #5c5147; }
:root body .sc-button-secondary:hover { color: #fff; background: #29241f; border-color: #ab7859; }
.sc-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 24px; color: #a3a4a4; font-family: var(--sc-mono); font-size: 11px; line-height: 1.7; }
.sc-hero-meta strong { font-weight: 500; color: #d4d0c9; }
.sc-hero-aside { flex: 0 0 235px; align-self: flex-end; margin-bottom: 6px; border-left: 2px solid var(--sc-ember); padding: 17px 20px; background: rgba(11,13,16,.83); }
.sc-hero-aside strong { display: block; color: #fff2e4; font-size: 18px; letter-spacing: -.02em; }
.sc-hero-aside p { color: var(--sc-muted); font-size: 12px; margin: 8px 0 0; }
.sc-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid #4d3a2c; color: #dcb28f; background: #1e1712; font-family: var(--sc-mono); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; }
.sc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--sc-line-soft); }
.sc-stats > * { padding: 2px 24px; border-left: 1px solid var(--sc-line); }
.sc-stats > :first-child { padding-left: 0; border-left: 0; }
.sc-stats strong { display: block; color: var(--sc-text); font-size: 20px; font-weight: 750; letter-spacing: -.025em; }
.sc-stats span, .sc-stats small { display: block; color: var(--sc-quiet); font-family: var(--sc-mono); font-size: 10px; line-height: 1.7; letter-spacing: .1em; text-transform: uppercase; }

/* Editorial content and sidebar. */
.sc-page-shell { padding-top: 45px; }
.sc-home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 38px; margin: 48px 0 0; align-items: start; }
.sc-home-layout > * { min-width: 0; }
.sc-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 17px; margin: 0 0 22px; border-bottom: 1px solid var(--sc-line); }
:root body .sc-section-heading h2,
:root body h2.sc-section-heading { margin-top: 0; font-size: 22px; font-weight: 750; letter-spacing: -.035em; }
:root body .sc-section-heading h2 { margin-bottom: 0; }
.sc-section-heading small { color: var(--sc-quiet); font-family: var(--sc-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
:root body .sc-link { display: inline-flex; align-items: center; gap: 8px; color: var(--sc-ember-bright); font-size: 12px; font-weight: 750; text-decoration: none; }
:root body .sc-link:hover { color: #ffd5ae; text-decoration: underline; text-underline-offset: 4px; }
.sc-card { background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); margin-bottom: 20px; overflow: hidden; }
.sc-card-body { padding: 27px 29px; }
.sc-card-label { margin-bottom: 12px; }
:root body .sc-card-title { color: var(--sc-text); margin: 0 0 13px; font-size: 26px; line-height: 1.2; font-weight: 750; letter-spacing: -.035em; }
.sc-card p { color: #b5b7bc; font-size: 14px; line-height: 1.75; }
.sc-card-image { display: block; width: 100%; aspect-ratio: 2.6 / 1; object-fit: cover; }
.sc-card-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--sc-line-soft); font-family: var(--sc-mono); font-size: 10px; color: var(--sc-quiet); }
.sc-card-accent { border-top: 2px solid var(--sc-ember); }
.sc-sidebar-block { border-top: 2px solid #70452f; margin-bottom: 28px; padding-top: 20px; }
.sc-sidebar-block h3 { font-size: 17px; margin: 0 0 13px; }
.sc-sidebar-block p { color: var(--sc-muted); font-size: 13px; }
.sc-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 48px 0; padding: 32px 0; border-top: 1px solid var(--sc-line); border-bottom: 1px solid var(--sc-line); }
.sc-feature { padding-right: 16px; }
.sc-feature > i { display: block; color: var(--sc-ember); font-size: 20px; margin-bottom: 17px; }
.sc-feature h3 { font-size: 16px; margin: 0 0 8px; }
.sc-feature p { color: var(--sc-muted); font-size: 13px; margin: 0; }
.sc-server-address { display: block; font-family: var(--sc-mono); font-size: 14px; color: var(--sc-text); overflow-wrap: anywhere; }
.sc-notice { padding: 16px 19px; color: #cfb799; background: #201b15; border-left: 2px solid #aa7748; font-size: 13px; line-height: 1.75; }

/* Match native forum, profile, account and custom-page surfaces. */
:root body .ui.card,
:root body .ui.cards > .card,
:root body .ui.segment,
:root body .ui.segment.attached:not(.basic),
:root body .ui.vertical.menu,
:root body .ui.table,
:root body .ui.menu:not(.secondary):not(.inverted),
:root body .ui.modal { background: var(--sc-surface); color: var(--sc-text); border-color: var(--sc-line); border-radius: var(--sc-radius); box-shadow: 0 0 0 1px var(--sc-line); }
:root body .ui.basic.segment { background: transparent; border: 0; box-shadow: none; }
:root body .ui.secondary.segment.segment.segment.segment.segment:not(.inverted) { background: var(--sc-surface-raised); color: var(--sc-text); box-shadow: 0 0 0 1px var(--sc-line); }
:root body .ui.card > .content,
:root body .ui.cards > .card > .content { border-top-color: var(--sc-line-soft); }
:root body .ui.card > .content > .header,
:root body .ui.cards > .card > .content > .header,
:root body .ui.list .item .header,
:root body .ui.comments .comment .author { color: var(--sc-text); }
:root body .ui.card > .content > .description,
:root body .ui.cards > .card > .content > .description,
:root body .ui.comments .comment .text,
:root body .ui.list .item .description,
:root body .forum_post { color: #c2c4c9; }
:root body .ui.card .meta,
:root body .ui.card > .extra,
:root body .ui.cards > .card > .extra,
:root body .ui.comments .comment .metadata,
:root body .ui.comments .comment .actions a,
:root body .ui.header .sub.header,
:root body .ui.breadcrumb .icon.divider { color: var(--sc-muted); }
:root body .ui.segment a:not(.ui):not(.sc-button),
:root body .ui.card a:not(.ui):not(.sc-button),
:root body .ui.table a,
:root body .ui.comments .forum_post a,
:root body .ui.card > .content > .header a { color: var(--sc-ember-bright); }
:root body .ui.segment a:not(.ui):not(.sc-button):hover,
:root body .ui.table a:hover { color: #ffd0a9; }
:root body .ui.divider,
:root body .ui.horizontal.divider:before,
:root body .ui.horizontal.divider:after { border-color: var(--sc-line); }
:root body .ui.horizontal.divider { color: var(--sc-muted); }
:root body .ui.table thead th { background: #1b1f25; color: #e2e0db; border-color: var(--sc-line); font-size: 12px; font-weight: 700; }
:root body .ui.table tbody td { border-color: var(--sc-line-soft); }
:root body .ui.table tfoot th { background: #15191e; color: var(--sc-muted); border-color: var(--sc-line); }
:root body .ui.selectable.table tbody tr:hover,
:root body .ui.table tbody tr td.selectable:hover { background: #20252c !important; color: var(--sc-text) !important; }
:root body #forum-node { margin-bottom: 26px; border-top: 2px solid #9d522d; padding: 25px; }
:root body #forum-node > .ui.header { font-size: 19px; margin-bottom: 19px; }
:root body #forum-node > .ui.header a { color: var(--sc-text); }
:root body #forum-node .row + .row { border-top: 1px solid var(--sc-line-soft); }
:root body #forum-node .row { padding-top: 17px; padding-bottom: 17px; }
:root body #forum-node .description { font-size: 12px; color: var(--sc-quiet); margin-top: 5px; }
:root body #forum-node .large.comment.icon { color: #b76f48; }
:root body #news-post { margin-bottom: 26px; }
:root body #news-post > .content { padding: 25px 27px; }
:root body #news-post > .extra.content { padding: 17px 27px; background: rgba(0,0,0,.1); }
:root body #news-post > .content > .header { font-size: 24px; line-height: 1.3; }
:root body #news-post > .content > .meta { margin: 8px 0 18px; font-family: var(--sc-mono); font-size: 10px; }
:root body #news-post .forum_post { line-height: 1.85; }
:root body .forum_post blockquote { border-left: 3px solid #93613f; background: #1e2024; color: #bfc0c4; padding: 16px 20px; margin-left: 0; margin-right: 0; }
:root body .forum_post pre { background: #0d1014; color: #d9dcdf; border: 1px solid var(--sc-line); padding: 16px; border-radius: 3px; overflow: auto; }
:root body .forum_post code { color: #ffc593; }
:root body #profile-header.ui.segment { background-color: #26221e; }
:root body .ui.top.attached.header { background: #1d1f22; color: var(--sc-text); border-color: var(--sc-line); }

/* Controls keep their native layout, states and meaningful status colors. */
:root body .ui.button { font-family: var(--sc-font); border-radius: 3px; font-weight: 700; }
:root body .ui.primary.button,
:root body .ui.primary.buttons .button { background: var(--sc-ember); color: #1c1008; box-shadow: none; }
:root body .ui.primary.button:hover,
:root body .ui.primary.buttons .button:hover { background: #ff995f; color: #150b04; }
:root body .ui.default.button,
:root body .ui.basic.button,
:root body .ui.mini.icon.button:not(.primary):not(.red):not(.green) { background: var(--sc-surface-raised) !important; color: #e0e2e5 !important; box-shadow: inset 0 0 0 1px #414751 !important; }
:root body .ui.default.button:hover,
:root body .ui.basic.button:hover { background: #30353e !important; color: #fff !important; }
:root body .ui.form .field > label,
:root body .ui.checkbox label,
:root body .ui.checkbox + label { color: #d3d4d6; font-size: 13px; }
:root body .ui.form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
:root body .ui.form textarea,
:root body .ui.input > input,
:root body .ui.selection.dropdown { background: #0f1217; color: #e9e9e8; border: 1px solid #3c434e; border-radius: 3px; font-family: var(--sc-font); }
:root body .ui.form input::placeholder,
:root body .ui.form textarea::placeholder,
:root body .ui.input > input::placeholder { color: #87909c; opacity: 1; }
:root body .ui.form input:not(.button):focus,
:root body .ui.form textarea:focus,
:root body .ui.input > input:focus,
:root body .ui.selection.active.dropdown { color: #fff; background: #11161c; border-color: #d58351; }
:root body .ui.form .field.error input,
:root body .ui.form .field.error textarea { border-color: #d97973 !important; background: #28181a !important; color: #ffd1ce !important; }
:root body .ui.checkbox .box:before,
:root body .ui.checkbox label:before { background: #11161c; border-color: #56606d; }
:root body .ui.checkbox input:checked ~ label:before { background: var(--sc-ember); border-color: var(--sc-ember); }
:root body .ui.checkbox input:checked ~ label:after { color: #1a110a; }
:root body .ui.toggle.checkbox input:checked ~ label:before { background: #d8783e !important; }
:root body .ui.popup,
:root body .ui.secondary.menu .ui.popup,
:root body .ui.dropdown .menu,
:root body .ui.menu .dropdown.item .menu,
:root body .ui.search > .results { background: #1b2027; border: 1px solid #434951; color: #dce0e5; box-shadow: 0 16px 48px #0008; }
:root body .ui.popup:before,
:root body .ui.pointing.dropdown > .menu:after { background: #1b2027; box-shadow: 1px 1px 0 0 #434951; }
:root body .ui.dropdown .menu > .item,
:root body .ui.menu .ui.dropdown .menu > .item,
:root body .ui.dropdown .menu > .header:not(.ui),
:root body .ui.selection.visible.dropdown > .text:not(.default),
:root body .ui.search.dropdown.active > input.search { color: #e4e5e7; }
:root body .ui.secondary.inverted.menu .popup .list a.item { color: #e4e5e7 !important; }
:root body .ui.dropdown .menu > .item:hover,
:root body .ui.menu .ui.dropdown .menu > .item:hover,
:root body .ui.dropdown .menu > .selected.item { background: #333131; color: #ffb883; }
:root body .ui.popup .ui.header { color: #f5eee7; }
:root body .ui.modal > .header,
:root body .ui.modal > .actions { background: #191d23; color: var(--sc-text); border-color: var(--sc-line); }
:root body .ui.modal > .content { background: #12161b; color: #d0d3d8; }
:root body .ui.tabular.menu { background: transparent; border-bottom-color: var(--sc-line); box-shadow: none; }
:root body .ui.tabular.menu .item,
:root body .ui.vertical.menu .item,
:root body .ui.top.attached.menu:not(.inverted) .item { color: var(--sc-muted); }
:root body .ui.tabular.menu .active.item,
:root body .ui.vertical.menu .active.item { background: #1b2026; color: #ffc391; border-color: var(--sc-line); }
:root body .ui.pointing.vertical.menu .active.item:after { background: #1b2026; border-color: var(--sc-line); }
:root body .ui.pagination.menu .item { color: #c4c8ce; }
:root body .ui.pagination.menu .active.item { background: #392417; color: #ffbe8b; }
:root body .ui.pagination.menu .disabled.item { color: #626974; }
:root body .ui.message:not(.announcement) { background: #1c242e; color: #c0cddd; border: 1px solid #38495d; box-shadow: none; border-radius: 3px; }
:root body .ui.message:not(.announcement) .header { color: inherit; }
:root body .ui.positive.message,
:root body .ui.success.message { background: #17291e; color: #abd6b9; border-color: #3c654b; }
:root body .ui.negative.message,
:root body .ui.error.message { background: #2d1b1e; color: #f1b3b3; border-color: #7b4449; }
:root body .ui.warning.message { background: #2c2418; color: #e0c294; border-color: #78603b; }
:root body .ui.label:not(.red):not(.green):not(.blue):not(.yellow):not(.orange):not(.teal):not(.purple):not(.violet):not(.pink):not(.brown) { background: #292e36; color: #ccd1d8; border-color: #3a414b; }
:root body .ui.list .item .content .header { color: #eee9e2; }
:root body .ui.link.list.list .active.item a:not(.ui) { color: var(--sc-ember-bright) !important; }

/* TinyMCE chrome; the configured editor content stylesheet remains native. */
:root body .tox.tox-tinymce { border-color: #424954; border-radius: 3px; }
:root body .tox .tox-toolbar,
:root body .tox .tox-toolbar__primary,
:root body .tox .tox-menubar,
:root body .tox .tox-statusbar { background: #1c222a; border-color: #424954; }
:root body .tox .tox-tbtn svg { fill: #d4d9df; }
:root body .tox .tox-tbtn:hover,
:root body .tox .tox-tbtn--enabled { background: #39404b; }

/* Footer and cookie preferences. */
:root body #footer.ui.footer.segment,
.sc-footer { background: #101216; border: 0; border-top: 1px solid var(--sc-line); box-shadow: none; border-radius: 0; padding: 40px 0 28px; color: var(--sc-muted); text-align: left; }
.sc-footer-inner { display: flex; justify-content: space-between; gap: 48px; }
.sc-footer p { max-width: 430px; margin: 16px 0 0; font-size: 12px; color: var(--sc-quiet); line-height: 1.8; }
.sc-footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 16px 25px; }
.sc-footer-links a { color: #b9bec6; font-size: 12px; }
.sc-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; border-top: 1px solid var(--sc-line-soft); margin-top: 30px; padding-top: 20px; font-size: 11px; color: var(--sc-quiet); }
:root body #footer .ui.link.list .item { font-size: 12px; color: #a9afb8; line-height: 1.65; }
:root body #footer .ui.link.list a.item:hover { color: var(--sc-ember-bright); }
:root body .cc-window.cc-floating { background: #191e25; border: 1px solid #48505a; color: #d0d4da; box-shadow: 0 12px 50px #0008; }
:root body .cc-window .cc-btn.cc-allow { background: var(--sc-ember); color: #201209; border-color: var(--sc-ember); }
:root body .cc-window .cc-link { color: var(--sc-ember-bright); }

@media (min-width: 769px) and (max-width: 1100px) {
  :root body #navbar .sc-wordmark { font-size: 22px; margin-right: 14px; }
  :root body #navbar .item { padding-left: 10px; padding-right: 10px; font-size: 12px; }
  .sc-home-layout { grid-template-columns: minmax(0, 1fr) 265px; gap: 26px; }
  .sc-hero-aside { flex-basis: 205px; padding: 15px; }
}
@media (max-width: 768px) {
  :root body .ui.container { width: calc(100% - 36px) !important; margin-left: 18px !important; margin-right: 18px !important; }
  :root body #navbar.ui.secondary.menu,
  :root body #navbar > .ui.container { min-height: 68px; }
  :root body #navbar .sc-wordmark { display: inline-flex; margin-right: auto; font-size: 24px; }
  :root body #navbar .toc.item { display: flex; align-items: center; min-height: 42px; min-width: 42px; justify-content: center; margin-left: auto; border: 1px solid var(--sc-line); }
  :root body #navbar .right.menu { display: flex; margin-left: 5px !important; }
  :root body #navbar .right.menu > .ui.button { min-height: 38px; font-size: 11px; padding: 11px 12px; }
  :root body #navbar .right.menu > .ui.image.label { font-size: 11px; }
  :root body #navbar .right.menu > .ui.popup { position: absolute; }
  :root body #navbar .right.menu .list .item { display: block; }
  :root body #wrapper { margin-bottom: 40px; }
  .sc-hero, .sc-hero > .ui.container, .sc-hero-inner { min-height: 510px; }
  .sc-hero { background-position: center, center, 63% center; background-image: linear-gradient(90deg, rgba(9,11,14,.93), rgba(9,11,14,.61)), linear-gradient(0deg, #0b0d10, transparent 50%), var(--sc-hero-image, none); }
  .sc-hero > .ui.container, .sc-hero-inner { padding-top: 59px; padding-bottom: 53px; display: block; }
  :root body .sc-hero-title { font-size: clamp(42px, 10vw, 64px); max-width: 580px; }
  :root body .sc-hero-copy { font-size: 14px; max-width: 455px; }
  .sc-kicker { font-size: 10px; margin-bottom: 19px; }
  .sc-hero-aside { display: none; }
  .sc-hero-meta { font-size: 10px; gap: 8px 15px; }
  .sc-stats { gap: 0; padding: 21px 0; }
  .sc-stats > * { padding-left: 14px; padding-right: 10px; }
  .sc-stats strong { font-size: 16px; }
  .sc-stats span, .sc-stats small { font-size: 9px; letter-spacing: .025em; }
  .sc-home-layout { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .sc-section-heading { padding-bottom: 14px; margin-bottom: 18px; }
  :root body .sc-section-heading h2 { font-size: 21px; }
  .sc-card-body { padding: 23px; }
  :root body .sc-card-title { font-size: 24px; }
  .sc-feature-grid { grid-template-columns: 1fr; gap: 23px; margin: 30px 0; padding: 27px 0; }
  .sc-feature { padding: 0 0 20px; border-bottom: 1px solid var(--sc-line-soft); }
  .sc-feature:last-child { padding-bottom: 0; border-bottom: 0; }
  .sc-feature > i { float: left; margin: 2px 14px 24px 0; }
  .sc-footer-inner { flex-direction: column; gap: 24px; }
  .sc-footer-bottom { margin-top: 25px; }
  :root body .ui.masthead { padding: 28px 0; margin-bottom: 27px; }
  :root body .ui.masthead .connect-server { text-align: left; margin-left: 0; margin-right: auto; }
  :root body .ui.masthead .ui.grid .ui.row .column > * { text-align: left; }
  :root body #forum-node { padding: 20px; }
  :root body #news-post > .content { padding: 22px; }
  :root body #news-post > .extra.content { padding: 16px 22px; }
}
@media (max-width: 420px) {
  :root body #navbar .sc-wordmark { font-size: 21px; }
  :root body #navbar .right.menu { gap: 4px; }
  :root body #navbar .right.menu > .ui.button { padding: 10px 9px; }
  :root body #navbar .right.menu > .ui.image.label { max-width: 100px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .sc-actions { gap: 10px; }
  :root body .sc-button { padding: 14px 18px; font-size: 12px; }
  .sc-stats > * { padding-left: 10px; padding-right: 6px; }
  .sc-stats strong { font-size: 14px; }
  .sc-stats span, .sc-stats small { font-size: 8px; }
  .sc-section-heading small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Theme-specific finishing details and keyboard navigation. */
.sc-skip-link { position: absolute; top: 8px; left: 12px; z-index: 1000; padding: 10px 16px; background: #ffad72; color: #140d08 !important; transform: translateY(-170%); font-weight: 750; }
.sc-skip-link:focus { transform: translateY(0); }
:root body #navbar .sc-menu-toggle { font-family: var(--sc-font); border: 0; background: transparent; cursor: pointer; }
.sc-server-section { margin-top: 52px; scroll-margin-top: 24px; }
.sc-server-section .sc-feature-grid { margin-top: 0; padding-top: 8px; border-top: 0; }
.sc-support-strip { display: flex; align-items: center; justify-content: space-between; gap: 36px; background: linear-gradient(115deg, #261b14, #14171c 70%); border: 1px solid #59402d; border-left: 3px solid var(--sc-ember); padding: 30px 34px; scroll-margin-top: 24px; }
.sc-support-strip > div { max-width: 670px; }
.sc-support-strip .sc-card-label { margin-bottom: 8px; }
.sc-support-strip h2 { font-size: 27px; margin: 0 0 9px; }
.sc-support-strip p { color: #b9b0a7; font-size: 13px; margin: 0; }
.sc-support-strip .sc-button { flex-shrink: 0; }
.sc-hero-aside .sc-kicker { font-size: 9px; letter-spacing: .08em; margin-bottom: 11px; }
.sc-hero-aside .sc-kicker::before { display: none; }
:root body #footer .sc-wordmark { display: inline-flex; margin: 0 0 4px; }
:root body #footer .ui.inverted.divided.grid > .column { box-shadow: -1px 0 0 var(--sc-line-soft); }
@media (max-width: 768px) {
  .sc-server-section { margin-top: 35px; }
  .sc-support-strip { flex-direction: column; align-items: flex-start; gap: 22px; padding: 26px; }
  :root body #footer .ui.inverted.divided.grid > .column { box-shadow: none; }
  :root body #navbar .sc-menu-toggle { border: 1px solid var(--sc-line); }
}

.sc-guidelines { margin: 0 0 38px; scroll-margin-top: 24px; }
.sc-guidelines-intro { color: var(--sc-muted); max-width: 760px; font-size: 13px; margin: 0 0 23px; }
.sc-guidelines details { border-bottom: 1px solid var(--sc-line); padding: 0 2px; }
.sc-guidelines summary { padding: 17px 0; cursor: pointer; color: #dfdedb; font-size: 14px; font-weight: 650; }
.sc-guidelines summary::marker { color: var(--sc-ember); }
.sc-guidelines details[open] summary { color: var(--sc-ember-bright); }
.sc-guidelines details p { margin: 0; padding: 0 0 21px 20px; max-width: 890px; color: var(--sc-muted); font-size: 13px; }
@media (min-width: 769px) and (max-width: 991px) {
  :root body #navbar > .ui.container > .item:not(.sc-menu-toggle) { display: none; }
  :root body #navbar .sc-wordmark { margin-right: auto; }
  :root body #navbar .sc-menu-toggle { display: flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; border: 1px solid var(--sc-line); }
  :root body #navbar .right.menu { display: flex; margin-left: 6px !important; }
}
