MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
(3:27pm 7/9/26 - The MediaWiki:Common.css ran rampant with inefficiencies stacked into patches as patches were adjusted in layouts on a case by case basis, this is a clean sweep that will operate as a blanket coverage based on anticipated page adjustments.)
Line 1: Line 1:
/* ============================================================
/* ============================================================
   Sinfar Wiki Visual System v2.0
   Sinfar Wiki Visual System v3.0
   Used by redesigned player-resource / mechanics pages.
   Unified Common.css Framework
  Scope doctrine:
  - New/refit pages use: <div class="sf-page">
  - Legacy pages may still use .sinfar-page / .sf-card / .sf-heading
   ============================================================ */
   ============================================================ */


/* ---------- Core Page Shell ---------- */


.sinfar-page {
/* ============================================================
background: #0b090a;
  1. DESIGN TOKENS
border: 1px solid #6f5730;
  ============================================================ */
color: #f4efe6;
padding: 16px;
box-shadow: 0 0 22px rgba(0,0,0,0.35);
font-size: 14px;
line-height: 1.5;
}


.sinfar-page a {
:root {
color: #8fc6ff;
  --sf-bg-page: #0f141b;
}
  --sf-bg-shell: #11161d;
  --sf-bg-panel: rgba(18, 14, 12, .78);
  --sf-bg-panel-solid: #181214;
  --sf-bg-panel-soft: rgba(216, 180, 106, .08);
  --sf-bg-hero: linear-gradient(135deg, #21150f, #3a2417);


.sinfar-page code {
  --sf-border: rgba(216, 180, 106, .28);
background: #120d10;
  --sf-border-strong: rgba(216, 180, 106, .48);
color: #f0d28a;
  --sf-border-muted: rgba(244, 239, 230, .09);
border: 1px solid #6f5730;
padding: 1px 4px;
}


/* ---------- Hero / Title Banner ---------- */
  --sf-text: #f4efe6;
  --sf-text-muted: #c9bda9;
  --sf-gold: #d8b46a;
  --sf-gold-bright: #f0d28a;
  --sf-link: #8fc6ff;
  --sf-link-hover: #b8d6ff;


.sf-hero {
  --sf-red: #9f4b3e;
text-align: center;
  --sf-green: #2f5d3a;
border: 1px solid #8b6b3a;
  --sf-blue: #334e7a;
background: linear-gradient(180deg,#181214,#0b090a);
  --sf-purple: #60456f;
padding: 12px 14px;
margin-bottom: 10px;
}


.sf-title {
  --sf-radius-sm: 7px;
font-family: Georgia, serif;
  --sf-radius-md: 10px;
font-size: 30px;
  --sf-gap: 8px;
letter-spacing: 3px;
color: #d8b46a;
text-shadow: 0 0 10px rgba(143,36,50,0.55);
}
}


.sf-subtitle {
margin-top: 5px;
color: #f4efe6;
}


/* ---------- Headings ---------- */
/* ============================================================
  2. SOVEREIGN PAGE SHELL
  ============================================================ */


.sf-heading {
.sf-page,
font-family: Georgia, serif;
.sinfar-page {
font-size: 21px;
  background: var(--sf-bg-shell);
color: #d8b46a;
  color: var(--sf-text);
border-bottom: 1px solid #6f5730;
  border: 1px solid var(--sf-border);
padding-bottom: 4px;
  border-radius: var(--sf-radius-md);
margin: 9px 0 5px 0;
  padding: 16px;
  line-height: 1.45;
  font-size: 14px;
  box-shadow: 0 0 22px rgba(0,0,0,.35);
}
}


.sf-heading:first-of-type {
.sf-page *,
margin-top: 8px;
.sinfar-page * {
  box-sizing: border-box;
}
}


.sf-heading--gold { color: #d8b46a; border-bottom-color: #6f5730; }
.sf-page a,
.sf-heading--green { color: #91d38f; border-bottom-color: #446b35; }
.sf-page a:visited,
.sf-heading--blue { color: #8fc6ff; border-bottom-color: #34577a; }
.sf-page a.external,
.sf-heading--red { color: #ff9c8f; border-bottom-color: #7a342f; }
.sf-page a.external:visited,
.sf-heading--purple { color: #c49cff; border-bottom-color: #5b3b78; }
.sinfar-page a,
 
.sinfar-page a:visited,
.sf-subheading {
.sinfar-page a.external,
font-family: Georgia, serif;
.sinfar-page a.external:visited {
font-size: 18px;
  color: var(--sf-link);
color: #f0d28a;
margin-bottom: 6px;
}
}


/* ---------- Cards / Callouts ---------- */
.sf-page a:hover,
 
.sinfar-page a:hover {
.sf-card {
  color: var(--sf-link-hover);
background: #181214;
  text-decoration: underline;
border: 1px solid #6f5730;
color: #f4efe6;
padding: 10px 12px;
margin-bottom: 8px;
}
}


.sf-card--gold {
.sf-page code,
background: #181214;
.sinfar-page code {
border-color: #6f5730;
  background: #120d10;
  color: var(--sf-gold-bright);
  border: 1px solid var(--sf-border);
  border-radius: 4px;
  padding: 1px 4px;
}
}


.sf-card--green {
background: #111a12;
border-color: #446b35;
}


.sf-card--blue {
/* ============================================================
background: #101820;
  3. TYPOGRAPHY
border-color: #34577a;
  ============================================================ */
}


.sf-card--red {
.sf-page h1,
background: #1a1010;
.sf-page h2,
border-color: #7a342f;
.sf-page h3,
.sinfar-page h1,
.sinfar-page h2,
.sinfar-page h3 {
  color: var(--sf-gold-bright);
}
}


.sf-card--purple {
.sf-section-title,
background: #19111d;
.sf-heading {
border-color: #5b3b78;
  color: var(--sf-gold-bright);
  border-bottom: 1px solid var(--sf-border-strong);
  margin: 18px 0 8px;
  padding-bottom: 3px;
  font-size: 1.45rem;
  line-height: 1.2;
}
}


.sf-note {
.sf-subheading {
background: #120d10;
  color: var(--sf-gold-bright);
border-left: 4px solid #d8b46a;
  margin: 10px 0 6px;
color: #f4efe6;
  font-size: 1.15rem;
padding: 8px 10px;
margin: 8px 0;
}
 
.sf-note--red {
border-left-color: #8f2432;
}
 
.sf-label {
color: #f0d28a;
font-weight: bold;
}
}


.sf-muted {
.sf-muted {
color: #c9bda9;
  color: var(--sf-text-muted);
}
}


/* ---------- Grids ---------- */
.sf-label,
 
.sf-name {
.sf-grid-2,
  color: var(--sf-gold-bright);
.sf-grid-3,
  font-weight: 700;
.sf-grid-4,
.sf-grid-5 {
display: grid;
gap: 8px;
margin-bottom: 8px;
}
}


.sf-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sf-center {
.sf-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  text-align: center;
.sf-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sf-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
 
@media screen and (max-width: 900px) {
.sf-grid-4,
.sf-grid-5 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
}


@media screen and (max-width: 650px) {
.sf-grid-2,
.sf-grid-3,
.sf-grid-4,
.sf-grid-5 {
grid-template-columns: 1fr;
}
}


/* ---------- Lists ---------- */
/* ============================================================
  4. HEROES
  ============================================================ */


.sinfar-page ul,
.sf-hero,
.sinfar-page ol {
.sf-hero-compact {
margin: 6px 0 8px 0;
  background: var(--sf-bg-hero);
padding-left: 22px;
  border: 1px solid var(--sf-border-strong);
  border-radius: var(--sf-radius-md);
  padding: 14px 18px;
  margin: 0 0 12px;
  text-align: center;
}
}


.sinfar-page li {
.sf-hero h1,
margin: 2px 0;
.sf-hero-compact h1,
.sf-title {
  color: var(--sf-gold-bright);
  margin: 0 0 4px;
  font-size: 1.85rem;
  line-height: 1.15;
}
}


/* ---------- Tables ---------- */
.sf-hero p,
 
.sf-hero-compact p,
.sf-table {
.sf-subtitle {
width: 100%;
  color: var(--sf-text);
border-collapse: collapse;
  margin: 0;
color: #f4efe6;
margin-bottom: 8px;
}
}


.sf-table th {
.sf-eyebrow {
color: #d8b46a;
  color: var(--sf-gold);
padding: 7px 8px;
  text-transform: uppercase;
text-align: center;
  font-size: .75rem;
  letter-spacing: .08em;
  font-weight: 800;
}
}


.sf-table td {
.sf-hero-main {
padding: 6px 8px;
  padding: 22px;
}
}


.sf-table--gold {
.sf-hero-main h1 {
background: #181214;
  font-size: 2.35rem;
border: 1px solid #6f5730;
}
}


.sf-table--gold th {
background: #2a2113;
border-bottom: 1px solid #6f5730;
}


.sf-table--green {
/* ============================================================
background: #111a12;
  5. GRIDS / STATUS TILES
border: 1px solid #446b35;
  ============================================================ */
}


.sf-table--green th {
.sf-grid-2,
background: #183618;
.sf-grid-3,
border-bottom: 1px solid #446b35;
.sf-grid-4,
.sf-grid-5,
.sf-status-grid,
.sf-start-status {
  display: grid;
  gap: var(--sf-gap);
  margin-bottom: 14px;
}
}


.sf-table--blue {
.sf-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
background: #101820;
.sf-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
border: 1px solid #34577a;
.sf-grid-4,
}
.sf-status-grid,
.sf-start-status { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sf-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }


.sf-table--blue th {
.sf-status-grid > div,
background: #17324a;
.sf-start-status > div {
border-bottom: 1px solid #34577a;
  background: var(--sf-bg-panel);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius-sm);
  padding: 8px 10px;
}
}


.sf-table--red {
.sf-status-grid b,
background: #1a1010;
.sf-start-status b {
border: 1px solid #7a342f;
  color: var(--sf-gold-bright);
}
}


.sf-table--red th {
.sf-status-grid span,
background: #4a1717;
.sf-start-status span {
border-bottom: 1px solid #7a342f;
  color: var(--sf-text);
}
}


.sf-table--purple {
background: #19111d;
border: 1px solid #5b3b78;
}


.sf-table--purple th {
/* ============================================================
background: #301842;
  6. QUICKBARS / INDEX GRIDS
border-bottom: 1px solid #5b3b78;
  ============================================================ */
}


.sf-name {
.sf-quickbar,
color: #f0d28a;
.sf-index-grid {
  display: grid;
  gap: var(--sf-gap);
  margin: 0 0 14px;
}
}


.sf-value {
.sf-quickbar {
color: #f4c96b;
  grid-template-columns: repeat(2, minmax(0, 1fr));
text-align: center;
}
}


.sf-good {
.sf-index-grid {
color: #9fe6bd;
  grid-template-columns: repeat(3, minmax(0, 1fr));
text-align: center;
}
}


.sf-center {
.sf-quickbar > div,
text-align: center;
.sf-index-grid > div,
.sf-pathline {
  background: var(--sf-bg-panel);
  border: 1px solid var(--sf-border);
  border-left: 4px solid var(--sf-gold);
  border-radius: var(--sf-radius-sm);
  padding: 8px 10px;
  color: var(--sf-text);
}
}


/* Standard PP table column widths */
.sf-quickbar b,
.sf-pp-table col.sf-col-name {
.sf-index-grid b {
width: 42%;
  color: var(--sf-gold-bright);
}
}


.sf-pp-table col.sf-col-pp {
width: 8%;
}


/* Armor / property table column helpers */
/* ============================================================
.sf-armor-pp col.sf-col-armor-name { width: 30%; }
  7. DECISION PANELS
.sf-armor-pp col.sf-col-armor-type { width: 20%; }
  ============================================================ */
.sf-armor-pp col.sf-col-armor-ac { width: 15%; }
.sf-armor-pp col.sf-col-armor-dex { width: 20%; }
.sf-armor-pp col.sf-col-armor-pp { width: 15%; }


.sf-property-table col.sf-col-property { width: 42%; }
.sf-decision-grid {
.sf-property-table col.sf-col-bonus { width: 18%; }
  display: grid;
.sf-property-table col.sf-col-max { width: 20%; }
  grid-template-columns: 1.25fr 1fr 1fr;
.sf-property-table col.sf-col-cost { width: 20%; }
  gap: var(--sf-gap);
 
  margin-bottom: 14px;
/* ---------- Collapsible Dockets ---------- */
 
.sf-docket {
width: 100%;
background: #181214;
color: #f4efe6;
border: 1px solid #6f5730;
margin: 9px 0 8px 0;
}
}


.sf-docket th {
.sf-decision,
background: #2a2113;
.sf-card,
color: #d8b46a;
.sf-panel {
font-family: Georgia, serif;
  background: var(--sf-bg-panel);
font-size: 21px;
  border: 1px solid var(--sf-border);
text-align: left;
  border-radius: var(--sf-radius-md);
padding: 9px 12px;
  color: var(--sf-text);
border-bottom: 1px solid #6f5730;
  padding: 12px;
}
}


.sf-docket td {
.sf-decision-primary {
background: #0f0b0d;
  border-color: rgba(240,210,138,.58);
color: #f4efe6;
  background: linear-gradient(135deg, rgba(60,38,20,.88), rgba(18,14,12,.78));
padding: 10px 12px;
}
}


.sf-docket--green {
.sf-decision-kicker {
border-color: #446b35;
  color: var(--sf-gold);
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .07em;
  font-weight: 800;
}
}


.sf-docket--green th {
.sf-decision h3 {
background: #183618;
  color: var(--sf-gold-bright);
border-bottom-color: #446b35;
  margin: 4px 0 6px;
}
}


.sf-docket--blue {
.sf-decision p {
border-color: #34577a;
  margin: 0 0 10px;
  color: var(--sf-text);
}
}


.sf-docket--blue th {
background: #17324a;
border-bottom-color: #34577a;
}
.sf-docket--red {
border-color: #7a342f;
}
.sf-docket--red th {
background: #4a1717;
border-bottom-color: #7a342f;
}
.sf-docket--purple {
border-color: #5b3b78;
}
.sf-docket--purple th {
background: #301842;
border-bottom-color: #5b3b78;
}
/* ---------- Footer ---------- */
.sf-footer {
margin-top: 14px;
padding: 12px 14px;
text-align: center;
background: #120d10;
border-top: 1px solid #6f5730;
color: #f4efe6;
}


/* ============================================================
/* ============================================================
   Sinfar Wiki Visual System v2.1 Utility Patch
   8. ACTION LISTS / BUTTONS
  Add below v2.0. Keeps Feat Changes as baseline.
   ============================================================ */
   ============================================================ */


/* ---------- Link Consistency ---------- */
.sf-action-list,
 
.sf-link-stack {
.sinfar-page a,
  display: grid;
.sinfar-page a:visited,
  grid-template-columns: 1fr;
.sinfar-page a.external,
  gap: 8px;
.sinfar-page a.external:visited {
  margin-top: 12px;
color: #72a7ff;
}
}


.sinfar-page a:hover {
.sf-action-list a,
color: #9fc4ff;
.sf-action-list a:visited,
text-decoration: underline;
.sf-action-list a.external,
.sf-action-list a.external:visited,
.sf-link-stack a,
.sf-link-stack a:visited,
.sf-link-stack a.external,
.sf-link-stack a.external:visited {
  display: block;
  width: 100%;
  background: rgba(216,180,106,.10);
  border: 1px solid rgba(216,180,106,.32);
  border-radius: var(--sf-radius-sm);
  padding: 8px 11px;
  color: var(--sf-link);
  font-weight: 800;
  text-align: left;
  text-decoration: none;
}
}


/* ---------- Utility Panels ---------- */
.sf-action-list a:hover,
 
.sf-link-stack a:hover {
.sf-panel {
  background: rgba(216,180,106,.16);
background: #181214;
  border-color: rgba(240,210,138,.48);
border: 1px solid #6f5730;
  color: var(--sf-link-hover);
color: #f4efe6;
  text-decoration: none;
padding: 12px 14px;
margin-bottom: 8px;
line-height: 1.55;
}
}


.sf-panel--intro {
.sf-action-row {
border-left: 4px solid #8f2432;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
}


.sf-warning {
.sf-action-row a,
background: #120d10;
.sf-action-row a:visited,
border: 1px solid #8f2432;
.sf-action-row a.external,
color: #f4efe6;
.sf-action-row a.external:visited {
padding: 12px 14px;
  display: inline-block;
margin-bottom: 8px;
  background: rgba(216,180,106,.12);
line-height: 1.55;
  border: 1px solid rgba(216,180,106,.35);
  border-radius: var(--sf-radius-sm);
  padding: 8px 12px;
  color: var(--sf-link);
  font-weight: 800;
  text-decoration: none;
}
}


.sf-codebox {
.sf-action-row a:hover {
background: #21171a;
  background: rgba(216,180,106,.18);
border: 1px solid #6f5730;
  color: var(--sf-link-hover);
color: #f4efe6;
  text-decoration: none;
font-family: monospace;
padding: 8px 10px;
margin: 8px 0;
overflow-wrap: anywhere;
}
 
/* ---------- Compact Landing Utility ---------- */
 
.sf-card-title {
color: #f0d28a;
font-weight: bold;
}
}


.sf-card-link {
/* Remove external-link icon clutter inside framework buttons */
margin-top: 10px;
.sf-page .sf-action-list a.external,
.sf-page .sf-link-stack a.external,
.sf-page .sf-action-row a.external {
  background-image: none;
  padding-right: 11px;
}
}


/* ---------- Performance Preference ---------- */


.sinfar-page * {
/* ============================================================
box-sizing: border-box;
  9. TABLES
}
  ============================================================ */


.sf-page {
.sf-table {
   color: #f4efe6;
  width: 100%;
   line-height: 1.45;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--sf-bg-panel);
  border: 1px solid var(--sf-border);
   color: var(--sf-text);
   margin-bottom: 12px;
}
}


.sf-hero-compact {
.sf-table th {
   background: linear-gradient(135deg, #21150f, #3a2417);
   color: var(--sf-gold-bright);
   border: 1px solid rgba(216,180,106,.45);
   background: rgba(216,180,106,.14);
   border-radius: 10px;
   border-bottom: 1px solid var(--sf-border-strong);
   padding: 14px 18px;
   padding: 8px 10px;
   margin: 0 0 12px 0;
   text-align: left;
}
}


.sf-hero-compact h1 {
.sf-table td {
   color: #f0d28a;
   color: var(--sf-text);
   margin: 0 0 4px 0;
  border-bottom: 1px solid var(--sf-border-muted);
   font-size: 1.85rem;
   padding: 7px 10px;
   vertical-align: top;
}
}


.sf-hero-compact p {
.sf-table tr:last-child td {
   margin: 0;
   border-bottom: 0;
  color: #f4efe6;
}
}


.sf-eyebrow {
.sf-table-scroll {
   color: #d8b46a;
   width: 100%;
  text-transform: uppercase;
   overflow-x: auto;
  font-size: .75rem;
   margin-bottom: 12px;
   letter-spacing: .08em;
   font-weight: 700;
}
}


.sf-quickbar {
.sf-table-scroll .sf-table {
   display: grid;
   min-width: 760px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
   margin-bottom: 0;
  gap: 6px;
   margin: 0 0 14px 0;
}
}


.sf-quickbar div,
.sf-value,
.sf-pathline,
.sf-good {
.sf-note {
   text-align: center;
   background: rgba(18,14,12,.72);
  border: 1px solid rgba(216,180,106,.24);
  border-left: 4px solid #d8b46a;
  border-radius: 7px;
  padding: 7px 10px;
}
}


.sf-section-title {
.sf-value {
   color: #f0d28a;
   color: #f4c96b;
  border-bottom: 1px solid rgba(216,180,106,.35);
  margin: 18px 0 8px;
  padding-bottom: 3px;
}
}


.sf-table {
.sf-good {
   width: 100%;
   color: #9fe6bd;
  border-collapse: collapse;
  table-layout: fixed;
  background: rgba(18,14,12,.72);
  border: 1px solid rgba(216,180,106,.25);
  margin-bottom: 12px;
}
}


.sf-table th {
  color: #f0d28a;
  background: rgba(216,180,106,.14);
  border-bottom: 1px solid rgba(216,180,106,.35);
  padding: 8px 10px;
  text-align: left;
}
.sf-table td {
  color: #f4efe6;
  border-bottom: 1px solid rgba(244,239,230,.08);
  padding: 7px 10px;
  vertical-align: top;
}


/* Standard table column helpers */
.sf-channel-table th:nth-child(1),
.sf-channel-table th:nth-child(1),
.sf-channel-table td:nth-child(1) {
.sf-channel-table td:nth-child(1) { width: 14%; }
  width: 14%;
}


.sf-channel-table th:nth-child(2),
.sf-channel-table th:nth-child(2),
.sf-channel-table td:nth-child(2) {
.sf-channel-table td:nth-child(2) { width: 31%; }
  width: 31%;
}


.sf-channel-table th:nth-child(3),
.sf-channel-table th:nth-child(3),
.sf-channel-table td:nth-child(3) {
.sf-channel-table td:nth-child(3) { width: 37%; }
  width: 37%;
}


.sf-channel-table th:nth-child(4),
.sf-channel-table th:nth-child(4),
.sf-channel-table td:nth-child(4) {
.sf-channel-table td:nth-child(4) { width: 18%; }
  width: 18%;
 
}
.sf-setup-table th:nth-child(1),
.sf-setup-table td:nth-child(1) { width: 24%; }
 
.sf-setup-table th:nth-child(2),
.sf-setup-table td:nth-child(2) { width: 52%; }
 
.sf-setup-table th:nth-child(3),
.sf-setup-table td:nth-child(3) { width: 24%; }
 
 
/* ============================================================
  10. BADGES
  ============================================================ */


.sf-badge {
.sf-badge {
Line 535: Line 471:
   margin: 1px 2px 1px 0;
   margin: 1px 2px 1px 0;
   font-size: .78rem;
   font-size: .78rem;
   font-weight: 700;
   font-weight: 800;
   white-space: nowrap;
   white-space: nowrap;
}
}
Line 547: Line 483:
.sf-badge-best { background: #6a5423; color: #fff0bd; }
.sf-badge-best { background: #6a5423; color: #fff0bd; }


.sf-rule {
  border-left: 4px solid #9f4b3e;
  background: rgba(80,30,25,.30);
  border-radius: 7px;
  padding: 7px 10px;
  margin: 6px 0;
}


.sf-footerlinks {
/* ============================================================
  margin-top: 14px;
  11. ALERTS / NOTES / RULES
  padding-top: 10px;
  ============================================================ */
  border-top: 1px solid rgba(216,180,106,.28);
  color: #d8b46a;
}


@media screen and (max-width: 720px) {
.sf-note,
  .sf-quickbar {
.sf-alert,
    grid-template-columns: 1fr;
.sf-warning,
  }
.sf-rule {
 
  color: var(--sf-text);
  .sf-table {
   border-radius: var(--sf-radius-sm);
    table-layout: auto;
   padding: 8px 11px;
    font-size: .92rem;
   margin: 8px 0;
   }
 
  .sf-channel-table th:nth-child(n),
  .sf-channel-table td:nth-child(n) {
    width: auto;
   }
}
.sf-chan {
  font-weight: 800;
   text-shadow: 0 1px 2px rgba(0,0,0,.75);
}
}


.sf-chan-shout  { color: #feef50; }
.sf-note {
.sf-chan-dm      { color: #f67271; }
   background: var(--sf-bg-panel);
.sf-chan-event   { color: #ab23f2; }
   border: 1px solid var(--sf-border);
.sf-chan-action  { color: #b56a23; }
   border-left: 4px solid var(--sf-gold);
.sf-chan-ooc    { color: #b1a2bd; }
.sf-chan-pvp    { color: #fe5f2e; }
.sf-chan-sex    { color: #f520e1; }
.sf-chan-build   { color: #b7f520; }
.sf-chan-ffa    { color: #20bff0; }
 
.sf-chan-talk    { color: #fefefe; }
.sf-chan-whisper { color: #b0b0b0; }
.sf-chan-quiet   { color: #404040; }
.sf-chan-silent  { color: #303030; }
.sf-chan-yell    { color: #d92324; }
.sf-chan-party  { color: #fefefe; }
.sf-start-status {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 14px 0;
}
}


.sf-start-status div {
.sf-alert,
   background: rgba(18,14,12,.72);
.sf-warning {
   background: rgba(94,63,18,.35);
   border: 1px solid rgba(216,180,106,.24);
   border: 1px solid rgba(216,180,106,.24);
   border-radius: 8px;
   border-left: 4px solid #d8a447;
  padding: 8px 10px;
}
}


.sf-start-status b {
.sf-alert b,
   color: #f0d28a;
.sf-warning b {
  display: block;
   color: var(--sf-gold-bright);
  margin-bottom: 3px;
}
}


.sf-start-status span {
.sf-alert-info {
   color: #f4efe6;
   background: rgba(38,58,92,.34);
  border-left-color: #6fa8dc;
}
}


.sf-decision-grid {
.sf-alert-warning {
   display: grid;
   background: rgba(94,63,18,.35);
   grid-template-columns: 1.25fr 1fr 1fr;
   border-left-color: #d8a447;
  gap: 8px;
  margin-bottom: 14px;
}
}


.sf-decision {
.sf-alert-danger,
   background: rgba(18,14,12,.72);
.sf-note--red {
   border: 1px solid rgba(216,180,106,.26);
   background: rgba(80,30,25,.30);
  border-radius: 10px;
   border-left-color: var(--sf-red);
  padding: 12px;
}
}


.sf-decision-primary {
.sf-rule {
   border-color: rgba(240,210,138,.58);
   border-left: 4px solid var(--sf-red);
   background: linear-gradient(135deg, rgba(60,38,20,.88), rgba(18,14,12,.78));
   background: rgba(80,30,25,.30);
}
}


.sf-decision-kicker {
  color: #d8b46a;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .07em;
  font-weight: 700;
}


.sf-decision h3 {
/* ============================================================
  color: #f0d28a;
  12. PROGRESS LINES
  margin: 4px 0 6px;
  ============================================================ */
}
 
.sf-decision p {
  margin: 0 0 9px;
  color: #f4efe6;
}
 
.sf-link-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
 
.sf-link-stack a {
  display: inline-block;
  background: rgba(216,180,106,.12);
  border: 1px solid rgba(216,180,106,.28);
  border-radius: 999px;
  padding: 3px 8px;
}
 
.sf-action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}


.sf-progress-line {
.sf-progress-line {
   display: grid;
   display: grid;
   grid-template-columns: repeat(5, minmax(0, 1fr));
   grid-template-columns: repeat(5, minmax(0, 1fr));
   gap: 6px;
   gap: var(--sf-gap);
   margin: 0 0 14px;
   margin: 0 0 14px;
}
}


.sf-progress-line div {
.sf-progress-line div {
   background: rgba(18,14,12,.72);
   background: var(--sf-bg-panel);
   border: 1px solid rgba(216,180,106,.22);
   border: 1px solid var(--sf-border);
   border-radius: 9px;
   border-radius: var(--sf-radius-sm);
   padding: 8px;
   padding: 8px;
   text-align: center;
   text-align: center;
Line 700: Line 566:
   line-height: 24px;
   line-height: 24px;
   background: rgba(216,180,106,.24);
   background: rgba(216,180,106,.24);
   color: #f0d28a;
   color: var(--sf-gold-bright);
   margin-bottom: 4px;
   margin-bottom: 4px;
}
}
Line 706: Line 572:
.sf-progress-line span {
.sf-progress-line span {
   display: block;
   display: block;
   color: #f4efe6;
   color: var(--sf-text);
   font-size: .88rem;
   font-size: .88rem;
}
}


.sf-alert {
 
   border-radius: 8px;
/* ============================================================
   padding: 9px 11px;
  13. CODE / SCRIPTING DOCS
   margin: 10px 0;
  ============================================================ */
 
.sf-codeblock,
.sf-codebox,
.sf-page pre,
.sinfar-page pre {
  background: #120d10;
  color: var(--sf-text);
  border: 1px solid var(--sf-border);
   border-radius: var(--sf-radius-sm);
   padding: 10px 12px;
   overflow-x: auto;
  line-height: 1.45;
}
}


.sf-alert b {
.sf-codeblock code,
   display: block;
.sf-codebox code,
   color: #f0d28a;
.sf-page pre code,
   margin-bottom: 3px;
.sinfar-page pre code {
   background: transparent;
  border: 0;
   padding: 0;
   color: var(--sf-text);
}
}


.sf-alert span {
  color: #f4efe6;
}


.sf-alert-warning {
/* ============================================================
  border-left: 4px solid #d8a447;
  14. IMAGES / SCREENSHOTS
  background: rgba(94,63,18,.35);
  ============================================================ */
  border-top: 1px solid rgba(216,180,106,.22);
  border-right: 1px solid rgba(216,180,106,.22);
  border-bottom: 1px solid rgba(216,180,106,.22);
}


.sf-setup-table th:nth-child(1),
.sf-img-frame {
.sf-setup-table td:nth-child(1) {
  background: var(--sf-bg-panel);
   width: 24%;
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius-sm);
  padding: 6px;
   margin: 8px 0 12px;
}
}


.sf-setup-table th:nth-child(2),
.sf-img-frame img {
.sf-setup-table td:nth-child(2) {
  max-width: 100%;
   width: 52%;
  height: auto;
  display: block;
   border-radius: 4px;
}
}


.sf-setup-table th:nth-child(3),
.sf-setup-table td:nth-child(3) {
  width: 24%;
}


@media screen and (max-width: 820px) {
  .sf-start-status,
  .sf-decision-grid,
  .sf-progress-line {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
/* ============================================================
   Sinfar Wiki Visual System v2.2
   15. CHAT CHANNEL COLOR LOCKS
   App-Style Utility Page Authority Patch
   Match in-game channel color identity.
  Add at very bottom of MediaWiki:Common.css.
   ============================================================ */
   ============================================================ */


/* ---------- New Page Authority ---------- */
.sf-chan {
 
   font-weight: 900;
.sf-page {
   text-shadow: 0 1px 2px rgba(0,0,0,.8);
   color: #f4efe6;
   line-height: 1.45;
}
}


.sf-page * {
.sf-chan-shout  { color: #feef50; }
   box-sizing: border-box;
.sf-chan-dm      { color: #f67271; }
}
.sf-chan-event   { color: #ab23f2; }
.sf-chan-action  { color: #b56a23; }
.sf-chan-ooc    { color: #b1a2bd; }
.sf-chan-pvp    { color: #fe5f2e; }
.sf-chan-sex    { color: #f520e1; }
.sf-chan-build  { color: #b7f520; }
.sf-chan-ffa    { color: #20bff0; }


/* ---------- Notes: detach from quickbar inheritance ---------- */
.sf-chan-talk    { color: #fefefe; }
.sf-chan-whisper { color: #b0b0b0; }
.sf-chan-quiet  { color: #777777; }
.sf-chan-silent  { color: #666666; }
.sf-chan-yell    { color: #d92324; }
.sf-chan-party  { color: #fefefe; }


.sf-note {
  background: rgba(18,14,12,.72);
  border: 1px solid rgba(216,180,106,.24);
  border-left: 4px solid #d8b46a;
  border-radius: 7px;
  padding: 8px 11px;
  margin: 10px 0;
  color: #f4efe6;
}


/* ---------- Decision Card Link Shelves ---------- */
/* ============================================================
  16. FOOTERS
  ============================================================ */


.sf-link-stack {
.sf-footerlinks,
   display: grid;
.sf-footer {
   grid-template-columns: 1fr;
   margin-top: 14px;
   gap: 6px;
   padding-top: 10px;
   margin-top: 10px;
   border-top: 1px solid var(--sf-border);
   color: var(--sf-gold);
}
}


.sf-link-stack a,
.sf-footer {
.sf-link-stack a:visited,
   text-align: center;
.sf-link-stack a.external,
   background: #120d10;
.sf-link-stack a.external:visited {
   padding: 12px 14px;
   display: block;
  width: 100%;
  box-sizing: border-box;
   background: rgba(216,180,106,.10);
  border: 1px solid rgba(216,180,106,.28);
  border-radius: 7px;
   padding: 7px 10px;
  color: #8fc6ff;
  text-align: left;
  font-weight: 700;
  text-decoration: none;
}
}


.sf-link-stack a:hover {
 
   background: rgba(216,180,106,.17);
/* ============================================================
   border-color: rgba(240,210,138,.45);
  17. LEGACY COMPATIBILITY
  color: #b8d6ff;
  Keeps older remaster pages readable without preserving chaos.
  text-decoration: none;
  ============================================================ */
 
.sf-card--gold,
.sf-table--gold {
   background: var(--sf-bg-panel);
   border-color: var(--sf-border);
}
}


/* Optional: prevent support shelves from becoming huge */
.sf-card--green,
.sf-decision .sf-link-stack {
.sf-table--green {
   max-width: 280px;
   background: rgba(17,26,18,.82);
  border-color: rgba(68,107,53,.72);
}
}


/* ---------- Primary Download Row ---------- */
.sf-card--blue,
 
.sf-table--blue {
.sf-action-row {
   background: rgba(16,24,32,.82);
   display: grid;
   border-color: rgba(52,87,122,.72);
   grid-template-columns: minmax(0, max-content) auto;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
}


.sf-action-row a,
.sf-card--red,
.sf-action-row a:visited,
.sf-table--red {
.sf-action-row a.external,
   background: rgba(26,16,16,.82);
.sf-action-row a.external:visited {
   border-color: rgba(122,52,47,.72);
  display: inline-block;
   background: rgba(216,180,106,.12);
   border: 1px solid rgba(216,180,106,.30);
  border-radius: 7px;
  padding: 8px 12px;
  color: #8fc6ff;
  font-weight: 800;
  text-decoration: none;
}
}


.sf-action-row a:hover {
.sf-card--purple,
   background: rgba(216,180,106,.18);
.sf-table--purple {
   color: #b8d6ff;
   background: rgba(25,17,29,.82);
  text-decoration: none;
   border-color: rgba(91,59,120,.72);
}
}


/* ---------- Table Authority ---------- */
.sf-heading--gold { color: var(--sf-gold-bright); border-bottom-color: var(--sf-border); }
.sf-heading--green { color: #91d38f; border-bottom-color: #446b35; }
.sf-heading--blue { color: #8fc6ff; border-bottom-color: #34577a; }
.sf-heading--red { color: #ff9c8f; border-bottom-color: #7a342f; }
.sf-heading--purple { color: #c49cff; border-bottom-color: #5b3b78; }


.sf-table {
.sf-docket {
   width: 100%;
   width: 100%;
   border-collapse: collapse;
   background: var(--sf-bg-panel);
   table-layout: fixed;
   color: var(--sf-text);
   background: rgba(18,14,12,.72);
   border: 1px solid var(--sf-border);
   border: 1px solid rgba(216,180,106,.25);
   border-radius: var(--sf-radius-sm);
   margin-bottom: 12px;
   margin: 9px 0 8px;
}
}


.sf-table th {
.sf-docket th {
  color: #f0d28a;
   background: rgba(216,180,106,.14);
   background: rgba(216,180,106,.14);
   border-bottom: 1px solid rgba(216,180,106,.35);
   color: var(--sf-gold-bright);
  padding: 8px 10px;
   text-align: left;
   text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--sf-border);
}
.sf-docket td {
  background: rgba(18,14,12,.72);
  color: var(--sf-text);
  padding: 10px 12px;
}
/* ============================================================
  18. LISTS
  ============================================================ */
.sf-page ul,
.sf-page ol,
.sinfar-page ul,
.sinfar-page ol {
  margin: 6px 0 8px;
  padding-left: 22px;
}
}


.sf-table td {
.sf-page li,
  color: #f4efe6;
.sinfar-page li {
  border-bottom: 1px solid rgba(244,239,230,.08);
   margin: 2px 0;
  padding: 7px 10px;
   vertical-align: top;
}
}


/* ---------- Mobile Safety ---------- */


@media screen and (max-width: 820px) {
/* ============================================================
   .sf-start-status,
  19. MOBILE RULES
  ============================================================ */
 
@media screen and (max-width: 900px) {
  .sf-grid-4,
  .sf-grid-5,
  .sf-status-grid,
   .sf-start-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
 
   .sf-decision-grid,
   .sf-decision-grid,
   .sf-progress-line,
   .sf-index-grid {
  .sf-quickbar {
     grid-template-columns: 1fr;
     grid-template-columns: 1fr;
   }
   }
}


   .sf-action-row {
@media screen and (max-width: 720px) {
     grid-template-columns: 1fr;
   .sf-page,
  .sinfar-page {
     padding: 12px;
   }
   }


   .sf-decision .sf-link-stack {
   .sf-quickbar,
     max-width: none;
  .sf-grid-2,
  .sf-grid-3,
  .sf-grid-4,
  .sf-grid-5,
  .sf-status-grid,
  .sf-start-status,
  .sf-progress-line {
     grid-template-columns: 1fr;
   }
   }


Line 901: Line 794:
     font-size: .92rem;
     font-size: .92rem;
   }
   }
}
.sf-link-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 10px;
}


.sf-link-stack a,
  .sf-channel-table th:nth-child(n),
.sf-link-stack a:visited,
  .sf-channel-table td:nth-child(n),
.sf-link-stack a.external,
  .sf-setup-table th:nth-child(n),
.sf-link-stack a.external:visited {
  .sf-setup-table td:nth-child(n) {
  display: block;
    width: auto;
  width: 100%;
   }
   box-sizing: border-box;
  border-radius: 7px;
  padding: 7px 10px;
  text-align: left;
}
}

Revision as of 19:28, 9 July 2026

/* ============================================================
   Sinfar Wiki Visual System v3.0
   Unified Common.css Framework
   Scope doctrine:
   - New/refit pages use: <div class="sf-page">
   - Legacy pages may still use .sinfar-page / .sf-card / .sf-heading
   ============================================================ */


/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

:root {
  --sf-bg-page: #0f141b;
  --sf-bg-shell: #11161d;
  --sf-bg-panel: rgba(18, 14, 12, .78);
  --sf-bg-panel-solid: #181214;
  --sf-bg-panel-soft: rgba(216, 180, 106, .08);
  --sf-bg-hero: linear-gradient(135deg, #21150f, #3a2417);

  --sf-border: rgba(216, 180, 106, .28);
  --sf-border-strong: rgba(216, 180, 106, .48);
  --sf-border-muted: rgba(244, 239, 230, .09);

  --sf-text: #f4efe6;
  --sf-text-muted: #c9bda9;
  --sf-gold: #d8b46a;
  --sf-gold-bright: #f0d28a;
  --sf-link: #8fc6ff;
  --sf-link-hover: #b8d6ff;

  --sf-red: #9f4b3e;
  --sf-green: #2f5d3a;
  --sf-blue: #334e7a;
  --sf-purple: #60456f;

  --sf-radius-sm: 7px;
  --sf-radius-md: 10px;
  --sf-gap: 8px;
}


/* ============================================================
   2. SOVEREIGN PAGE SHELL
   ============================================================ */

.sf-page,
.sinfar-page {
  background: var(--sf-bg-shell);
  color: var(--sf-text);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius-md);
  padding: 16px;
  line-height: 1.45;
  font-size: 14px;
  box-shadow: 0 0 22px rgba(0,0,0,.35);
}

.sf-page *,
.sinfar-page * {
  box-sizing: border-box;
}

.sf-page a,
.sf-page a:visited,
.sf-page a.external,
.sf-page a.external:visited,
.sinfar-page a,
.sinfar-page a:visited,
.sinfar-page a.external,
.sinfar-page a.external:visited {
  color: var(--sf-link);
}

.sf-page a:hover,
.sinfar-page a:hover {
  color: var(--sf-link-hover);
  text-decoration: underline;
}

.sf-page code,
.sinfar-page code {
  background: #120d10;
  color: var(--sf-gold-bright);
  border: 1px solid var(--sf-border);
  border-radius: 4px;
  padding: 1px 4px;
}


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */

.sf-page h1,
.sf-page h2,
.sf-page h3,
.sinfar-page h1,
.sinfar-page h2,
.sinfar-page h3 {
  color: var(--sf-gold-bright);
}

.sf-section-title,
.sf-heading {
  color: var(--sf-gold-bright);
  border-bottom: 1px solid var(--sf-border-strong);
  margin: 18px 0 8px;
  padding-bottom: 3px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.sf-subheading {
  color: var(--sf-gold-bright);
  margin: 10px 0 6px;
  font-size: 1.15rem;
}

.sf-muted {
  color: var(--sf-text-muted);
}

.sf-label,
.sf-name {
  color: var(--sf-gold-bright);
  font-weight: 700;
}

.sf-center {
  text-align: center;
}


/* ============================================================
   4. HEROES
   ============================================================ */

.sf-hero,
.sf-hero-compact {
  background: var(--sf-bg-hero);
  border: 1px solid var(--sf-border-strong);
  border-radius: var(--sf-radius-md);
  padding: 14px 18px;
  margin: 0 0 12px;
  text-align: center;
}

.sf-hero h1,
.sf-hero-compact h1,
.sf-title {
  color: var(--sf-gold-bright);
  margin: 0 0 4px;
  font-size: 1.85rem;
  line-height: 1.15;
}

.sf-hero p,
.sf-hero-compact p,
.sf-subtitle {
  color: var(--sf-text);
  margin: 0;
}

.sf-eyebrow {
  color: var(--sf-gold);
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .08em;
  font-weight: 800;
}

.sf-hero-main {
  padding: 22px;
}

.sf-hero-main h1 {
  font-size: 2.35rem;
}


/* ============================================================
   5. GRIDS / STATUS TILES
   ============================================================ */

.sf-grid-2,
.sf-grid-3,
.sf-grid-4,
.sf-grid-5,
.sf-status-grid,
.sf-start-status {
  display: grid;
  gap: var(--sf-gap);
  margin-bottom: 14px;
}

.sf-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sf-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sf-grid-4,
.sf-status-grid,
.sf-start-status { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sf-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.sf-status-grid > div,
.sf-start-status > div {
  background: var(--sf-bg-panel);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius-sm);
  padding: 8px 10px;
}

.sf-status-grid b,
.sf-start-status b {
  color: var(--sf-gold-bright);
}

.sf-status-grid span,
.sf-start-status span {
  color: var(--sf-text);
}


/* ============================================================
   6. QUICKBARS / INDEX GRIDS
   ============================================================ */

.sf-quickbar,
.sf-index-grid {
  display: grid;
  gap: var(--sf-gap);
  margin: 0 0 14px;
}

.sf-quickbar {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sf-index-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf-quickbar > div,
.sf-index-grid > div,
.sf-pathline {
  background: var(--sf-bg-panel);
  border: 1px solid var(--sf-border);
  border-left: 4px solid var(--sf-gold);
  border-radius: var(--sf-radius-sm);
  padding: 8px 10px;
  color: var(--sf-text);
}

.sf-quickbar b,
.sf-index-grid b {
  color: var(--sf-gold-bright);
}


/* ============================================================
   7. DECISION PANELS
   ============================================================ */

.sf-decision-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: var(--sf-gap);
  margin-bottom: 14px;
}

.sf-decision,
.sf-card,
.sf-panel {
  background: var(--sf-bg-panel);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius-md);
  color: var(--sf-text);
  padding: 12px;
}

.sf-decision-primary {
  border-color: rgba(240,210,138,.58);
  background: linear-gradient(135deg, rgba(60,38,20,.88), rgba(18,14,12,.78));
}

.sf-decision-kicker {
  color: var(--sf-gold);
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .07em;
  font-weight: 800;
}

.sf-decision h3 {
  color: var(--sf-gold-bright);
  margin: 4px 0 6px;
}

.sf-decision p {
  margin: 0 0 10px;
  color: var(--sf-text);
}


/* ============================================================
   8. ACTION LISTS / BUTTONS
   ============================================================ */

.sf-action-list,
.sf-link-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.sf-action-list a,
.sf-action-list a:visited,
.sf-action-list a.external,
.sf-action-list a.external:visited,
.sf-link-stack a,
.sf-link-stack a:visited,
.sf-link-stack a.external,
.sf-link-stack a.external:visited {
  display: block;
  width: 100%;
  background: rgba(216,180,106,.10);
  border: 1px solid rgba(216,180,106,.32);
  border-radius: var(--sf-radius-sm);
  padding: 8px 11px;
  color: var(--sf-link);
  font-weight: 800;
  text-align: left;
  text-decoration: none;
}

.sf-action-list a:hover,
.sf-link-stack a:hover {
  background: rgba(216,180,106,.16);
  border-color: rgba(240,210,138,.48);
  color: var(--sf-link-hover);
  text-decoration: none;
}

.sf-action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.sf-action-row a,
.sf-action-row a:visited,
.sf-action-row a.external,
.sf-action-row a.external:visited {
  display: inline-block;
  background: rgba(216,180,106,.12);
  border: 1px solid rgba(216,180,106,.35);
  border-radius: var(--sf-radius-sm);
  padding: 8px 12px;
  color: var(--sf-link);
  font-weight: 800;
  text-decoration: none;
}

.sf-action-row a:hover {
  background: rgba(216,180,106,.18);
  color: var(--sf-link-hover);
  text-decoration: none;
}

/* Remove external-link icon clutter inside framework buttons */
.sf-page .sf-action-list a.external,
.sf-page .sf-link-stack a.external,
.sf-page .sf-action-row a.external {
  background-image: none;
  padding-right: 11px;
}


/* ============================================================
   9. TABLES
   ============================================================ */

.sf-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--sf-bg-panel);
  border: 1px solid var(--sf-border);
  color: var(--sf-text);
  margin-bottom: 12px;
}

.sf-table th {
  color: var(--sf-gold-bright);
  background: rgba(216,180,106,.14);
  border-bottom: 1px solid var(--sf-border-strong);
  padding: 8px 10px;
  text-align: left;
}

.sf-table td {
  color: var(--sf-text);
  border-bottom: 1px solid var(--sf-border-muted);
  padding: 7px 10px;
  vertical-align: top;
}

.sf-table tr:last-child td {
  border-bottom: 0;
}

.sf-table-scroll {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 12px;
}

.sf-table-scroll .sf-table {
  min-width: 760px;
  margin-bottom: 0;
}

.sf-value,
.sf-good {
  text-align: center;
}

.sf-value {
  color: #f4c96b;
}

.sf-good {
  color: #9fe6bd;
}


/* Standard table column helpers */
.sf-channel-table th:nth-child(1),
.sf-channel-table td:nth-child(1) { width: 14%; }

.sf-channel-table th:nth-child(2),
.sf-channel-table td:nth-child(2) { width: 31%; }

.sf-channel-table th:nth-child(3),
.sf-channel-table td:nth-child(3) { width: 37%; }

.sf-channel-table th:nth-child(4),
.sf-channel-table td:nth-child(4) { width: 18%; }

.sf-setup-table th:nth-child(1),
.sf-setup-table td:nth-child(1) { width: 24%; }

.sf-setup-table th:nth-child(2),
.sf-setup-table td:nth-child(2) { width: 52%; }

.sf-setup-table th:nth-child(3),
.sf-setup-table td:nth-child(3) { width: 24%; }


/* ============================================================
   10. BADGES
   ============================================================ */

.sf-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 7px;
  margin: 1px 2px 1px 0;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

.sf-badge-ic { background: #2f5d3a; color: #eaffef; }
.sf-badge-ooc { background: #334e7a; color: #eef4ff; }
.sf-badge-dm { background: #6f3b3b; color: #fff0f0; }
.sf-badge-range { background: #5f4c27; color: #fff2c2; }
.sf-badge-area { background: #60456f; color: #f7eaff; }
.sf-badge-support { background: #4e5563; color: #f0f3f8; }
.sf-badge-best { background: #6a5423; color: #fff0bd; }


/* ============================================================
   11. ALERTS / NOTES / RULES
   ============================================================ */

.sf-note,
.sf-alert,
.sf-warning,
.sf-rule {
  color: var(--sf-text);
  border-radius: var(--sf-radius-sm);
  padding: 8px 11px;
  margin: 8px 0;
}

.sf-note {
  background: var(--sf-bg-panel);
  border: 1px solid var(--sf-border);
  border-left: 4px solid var(--sf-gold);
}

.sf-alert,
.sf-warning {
  background: rgba(94,63,18,.35);
  border: 1px solid rgba(216,180,106,.24);
  border-left: 4px solid #d8a447;
}

.sf-alert b,
.sf-warning b {
  display: block;
  color: var(--sf-gold-bright);
  margin-bottom: 3px;
}

.sf-alert-info {
  background: rgba(38,58,92,.34);
  border-left-color: #6fa8dc;
}

.sf-alert-warning {
  background: rgba(94,63,18,.35);
  border-left-color: #d8a447;
}

.sf-alert-danger,
.sf-note--red {
  background: rgba(80,30,25,.30);
  border-left-color: var(--sf-red);
}

.sf-rule {
  border-left: 4px solid var(--sf-red);
  background: rgba(80,30,25,.30);
}


/* ============================================================
   12. PROGRESS LINES
   ============================================================ */

.sf-progress-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sf-gap);
  margin: 0 0 14px;
}

.sf-progress-line div {
  background: var(--sf-bg-panel);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius-sm);
  padding: 8px;
  text-align: center;
}

.sf-progress-line b {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  line-height: 24px;
  background: rgba(216,180,106,.24);
  color: var(--sf-gold-bright);
  margin-bottom: 4px;
}

.sf-progress-line span {
  display: block;
  color: var(--sf-text);
  font-size: .88rem;
}


/* ============================================================
   13. CODE / SCRIPTING DOCS
   ============================================================ */

.sf-codeblock,
.sf-codebox,
.sf-page pre,
.sinfar-page pre {
  background: #120d10;
  color: var(--sf-text);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius-sm);
  padding: 10px 12px;
  overflow-x: auto;
  line-height: 1.45;
}

.sf-codeblock code,
.sf-codebox code,
.sf-page pre code,
.sinfar-page pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--sf-text);
}


/* ============================================================
   14. IMAGES / SCREENSHOTS
   ============================================================ */

.sf-img-frame {
  background: var(--sf-bg-panel);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius-sm);
  padding: 6px;
  margin: 8px 0 12px;
}

.sf-img-frame img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}


/* ============================================================
   15. CHAT CHANNEL COLOR LOCKS
   Match in-game channel color identity.
   ============================================================ */

.sf-chan {
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0,0,0,.8);
}

.sf-chan-shout   { color: #feef50; }
.sf-chan-dm      { color: #f67271; }
.sf-chan-event   { color: #ab23f2; }
.sf-chan-action  { color: #b56a23; }
.sf-chan-ooc     { color: #b1a2bd; }
.sf-chan-pvp     { color: #fe5f2e; }
.sf-chan-sex     { color: #f520e1; }
.sf-chan-build   { color: #b7f520; }
.sf-chan-ffa     { color: #20bff0; }

.sf-chan-talk    { color: #fefefe; }
.sf-chan-whisper { color: #b0b0b0; }
.sf-chan-quiet   { color: #777777; }
.sf-chan-silent  { color: #666666; }
.sf-chan-yell    { color: #d92324; }
.sf-chan-party   { color: #fefefe; }


/* ============================================================
   16. FOOTERS
   ============================================================ */

.sf-footerlinks,
.sf-footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--sf-border);
  color: var(--sf-gold);
}

.sf-footer {
  text-align: center;
  background: #120d10;
  padding: 12px 14px;
}


/* ============================================================
   17. LEGACY COMPATIBILITY
   Keeps older remaster pages readable without preserving chaos.
   ============================================================ */

.sf-card--gold,
.sf-table--gold {
  background: var(--sf-bg-panel);
  border-color: var(--sf-border);
}

.sf-card--green,
.sf-table--green {
  background: rgba(17,26,18,.82);
  border-color: rgba(68,107,53,.72);
}

.sf-card--blue,
.sf-table--blue {
  background: rgba(16,24,32,.82);
  border-color: rgba(52,87,122,.72);
}

.sf-card--red,
.sf-table--red {
  background: rgba(26,16,16,.82);
  border-color: rgba(122,52,47,.72);
}

.sf-card--purple,
.sf-table--purple {
  background: rgba(25,17,29,.82);
  border-color: rgba(91,59,120,.72);
}

.sf-heading--gold { color: var(--sf-gold-bright); border-bottom-color: var(--sf-border); }
.sf-heading--green { color: #91d38f; border-bottom-color: #446b35; }
.sf-heading--blue { color: #8fc6ff; border-bottom-color: #34577a; }
.sf-heading--red { color: #ff9c8f; border-bottom-color: #7a342f; }
.sf-heading--purple { color: #c49cff; border-bottom-color: #5b3b78; }

.sf-docket {
  width: 100%;
  background: var(--sf-bg-panel);
  color: var(--sf-text);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius-sm);
  margin: 9px 0 8px;
}

.sf-docket th {
  background: rgba(216,180,106,.14);
  color: var(--sf-gold-bright);
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--sf-border);
}

.sf-docket td {
  background: rgba(18,14,12,.72);
  color: var(--sf-text);
  padding: 10px 12px;
}


/* ============================================================
   18. LISTS
   ============================================================ */

.sf-page ul,
.sf-page ol,
.sinfar-page ul,
.sinfar-page ol {
  margin: 6px 0 8px;
  padding-left: 22px;
}

.sf-page li,
.sinfar-page li {
  margin: 2px 0;
}


/* ============================================================
   19. MOBILE RULES
   ============================================================ */

@media screen and (max-width: 900px) {
  .sf-grid-4,
  .sf-grid-5,
  .sf-status-grid,
  .sf-start-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sf-decision-grid,
  .sf-index-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 720px) {
  .sf-page,
  .sinfar-page {
    padding: 12px;
  }

  .sf-quickbar,
  .sf-grid-2,
  .sf-grid-3,
  .sf-grid-4,
  .sf-grid-5,
  .sf-status-grid,
  .sf-start-status,
  .sf-progress-line {
    grid-template-columns: 1fr;
  }

  .sf-table {
    table-layout: auto;
    font-size: .92rem;
  }

  .sf-channel-table th:nth-child(n),
  .sf-channel-table td:nth-child(n),
  .sf-setup-table th:nth-child(n),
  .sf-setup-table td:nth-child(n) {
    width: auto;
  }
}