Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Join the Playtest on Steam Now: SpiritVale

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
Tag: Reverted
No edit summary
Tags: Mobile edit Mobile web edit
 
(107 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* SpiritVale Wiki — Common.css */
/* Role: shared tokens, primitives, utilities, and interactive anatomy */
/* Scope: sitewide SpiritVale UI foundations only */
/* -------------------------------------------------------------------------- */
/* Canonical ownership map                                                    */
/* -------------------------------------------------------------------------- */
/* Common.css is the sitewide foundation layer. It owns:                      */
/* - canonical breakpoint definitions and responsive policy comments          */
/* - shared design tokens and utility primitives                              */
/* - reusable interactive anatomy used by multiple modules/templates          */
/* - global parser-output treatments that should behave the same everywhere    */
/*                                                                            */
/* Common.css does NOT own:                                                    */
/* - Citizen skin theme/chrome styling (Citizen.css)                          */
/* - module-specific card/layout rules (GameInfo, PatchHighlights, etc.)      */
/* - template-specific presentation rules (Definitions, ClassInfobox, etc.)  */
/*                                                                            */
/* Responsive cleanup note: this file is the source of truth for breakpoint    */
/* meaning. Its own responsive selectors should model the canonical ladder    */
/* and shared UI should follow that ladder everywhere else.                    */
/* -------------------------------------------------------------------------- */
/* Responsive policy (canonical)                                              */
/* -------------------------------------------------------------------------- */
/* SpiritVale uses a mobile-first six-viewpoint ladder aligned to Tailwind's  */
/* defaults.                                                                  */
/*                                                                            */
/* Viewpoints                                                                  */
/* - default: 0px-639px  (phones / smallest layout)                          */
/* - sm:      640px-767px (large phones / small tablets)                      */
/* - md:      768px-1023px(tablets / narrow landscape)                        */
/* - lg:      1024px-1279px(laptop / desktop start)                            */
/* - xl:      1280px-1535px(wide desktop)                                      */
/* - 2xl:    1536px+      (very wide desktop)                                */
/*                                                                            */
/* Implementation rule: write defaults for the smallest layout whenever        */
/* practical, then layer upward with canonical breakpoints.                    */
/* -------------------------------------------------------------------------- */


/*
@media (prefers-color-scheme: dark) {
  body, #mw-head {
    background-color: #1f2937;
  }


   a,
/* -------------------------------------------------------------------------- */
   .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a {
/* 1) SpiritVale tokens */
    color: oklch(62.3% 0.214 259.815);
/* -------------------------------------------------------------------------- */
   }
 
:root{
  /* Surface ladder.
    bg0 = site background only
    bg1 = main component surface
    bg2 = nested/grouped panel surface
    bg3 = deep inset / pill surface
    bg4 = highest emphasis / selected / strong highlight surface
  */
  --sv-ui-bg0:#0f172a;
  --sv-ui-bg1:#1f2937;
  --sv-ui-bg2:#273449;
  --sv-ui-bg3:#2e3f59;
  --sv-ui-bg4:#4e6d97;
 
  /* Border / frame ladder. */
  --sv-ui-line1:#3b4b63;
  --sv-ui-line2:#4b6388;
   --sv-ui-line3:#7d93b5;
 
   /* Text ladder. */
  --sv-ui-text1:#f5f9ff;
  --sv-ui-text2:#d7e2f4;
  --sv-ui-text3:#b6c6e0;
  --sv-ui-text4:#7f9fcc;
 
  /* Accent ladder. */
  --sv-ui-accent:#6aa6ff;
  --sv-ui-accent2:#8cbcff;
  --sv-ui-accent3:#e6f0ff;
 
  /* Popover tokens. */
  --sv-ui-pop-bg:var(--sv-ui-bg2);
  --sv-ui-pop-line:var(--sv-ui-line2);
  --sv-ui-pop-shadow:0 10px 30px rgba(0,0,0,0.35);
 
  /* Radius tokens. */
  --sv-ui-rad-sm:10px;
  --sv-ui-rad-md:14px;
  --sv-ui-rad-lg:18px;
  --sv-ui-rad-pill:999px;
 
  /* Shared shadow tokens. */
  --sv-ui-shadow1:0 10px 28px rgba(0,0,0,0.40);
 
  /* Shared pill tokens. */
  --sv-ui-pill-bg:var(--sv-ui-bg3);
  --sv-ui-pill-line:var(--sv-ui-line2);
  --sv-ui-pill-shadow:inset 0 1px 0 rgba(255,255,255,0.06);
   --sv-ui-pill-text:var(--sv-ui-text1);
}
 
/* Fallback light skin mapping. */
.mw-theme-light{
  --sv-ui-bg0:#1f2937;
  --sv-ui-bg1:#273449;
  --sv-ui-bg2:#2e3f59;
  --sv-ui-bg3:#364a69;
  --sv-ui-bg4:#6888b4;
 
  --sv-ui-line1:#4b6388;
  --sv-ui-line2:#5f7fb4;
  --sv-ui-line3:#8ea7ca;
 
  --sv-ui-text1:#f5f9ff;
  --sv-ui-text2:#d7e2f4;
  --sv-ui-text3:#b6c6e0;
  --sv-ui-text4:#8ba8d1;
 
  --sv-ui-accent:#8cbcff;
  --sv-ui-accent2:#b0d0ff;
  --sv-ui-accent3:#f2f7ff;
}


  a:visited,
/* -------------------------------------------------------------------------- */
  .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:visited {
/* 2) Sitewide link treatment */
    color: oklch(54.6% 0.245 262.881);
/* -------------------------------------------------------------------------- */
  }


   a:hover,
.mw-parser-output a{
   .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:hover {
   color:var(--color-link, var(--sv-ui-accent));
     color: oklch(70.7% 0.165 254.624);
   text-decoration:underline;
     text-decoration: none;
  text-decoration-thickness:2px;
  }
  text-underline-offset:2px;
  text-decoration-skip-ink:auto;
  transition:
     color 120ms ease,
     text-decoration-thickness 120ms ease,
    text-underline-offset 120ms ease;
}


  a.new {
.mw-parser-output a:visited{
    color: oklch(64.5% 0.246 16.439);
  color:var(--color-visited, var(--sv-ui-accent2));
  }
}
}
*/


/* ============================================================
.mw-parser-output a:hover{
  Global custom additions
  text-decoration-thickness:3px;
  ========================================================== */
  text-underline-offset:3px;
}


.playtest - info - box {
.mw-parser-output a:focus-visible{
    max - width: 100 %;
  outline:2px solid var(--sv-ui-accent3);
    margin - bottom: 10px;
  outline-offset:2px;
    border: 1px solid #ccc;
  border-radius:6px;
    border - radius: 6px;
  box-shadow:0 0 0 3px rgba(230,240,255,0.12);
    box - shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background: #f0f2f8;
    padding: 10px;
    text - align: center;
    color: #333;
    word - wrap: break-word;
    overflow - wrap: break-word;
}
}


.header - container - outer {
/* -------------------------------------------------------------------------- */
    max - width: 100 %;
/* 3) Shared primitives */
    margin: 1px;
/* -------------------------------------------------------------------------- */
    border: 2px solid #372b54;
 
    border - radius: 10px;
.sv-card,
    box - shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
.mw-parser-output .sv-card{
    background: #f0f2f8;
  background:var(--sv-ui-bg1);
  border:1px solid var(--sv-ui-line1);
  border-radius:var(--sv-ui-rad-md);
  box-shadow:var(--sv-ui-shadow1);
  color:var(--color-base, var(--sv-ui-text2));
}
}


.header - container - middle {
.sv-card :where(h1,h2,h3,h4,h5,h6,th,summary,.mw-headline),
    background: #f0f2f8;
.mw-parser-output .sv-card :where(h1,h2,h3,h4,h5,h6,th,summary,.mw-headline){
    color: white;
  color:var(--color-emphasized, var(--sv-ui-text1));
    text - align: center;
    padding: 1px;
    border - radius: 8px;
    word - wrap: break-word;
    overflow - wrap: break-word;
}
}


.header - container - inner {
.sv-tile,
    background: linear - gradient(180deg, #5a4e7c, #372b54);
.mw-parser-output .sv-tile{
    color: white;
  background:var(--sv-ui-bg2);
    text - align: center;
  border:1px solid var(--sv-ui-line2);
    padding: 1px;
  border-radius:var(--sv-ui-rad-sm);
    border - radius: 8px;
  color:var(--color-emphasized, var(--sv-ui-text1));
    word - wrap: break-word;
    overflow - wrap: break-word;
    font - size: 300 %;
}
}


table.custom - table {
.sv-pill,
    float: none;
.mw-parser-output .sv-pill{
    border: 2px solid #372b54;
  display:inline-flex;
    border - radius: 10px;
  align-items:center;
    padding: 2px;
  justify-content:center;
    box - shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  padding:0.18em 0.40em;
    margin: 1em auto;
  border-radius:var(--sv-ui-rad-sm);
    text - align: center;
  background:var(--sv-ui-pill-bg);
    border - collapse: separate;
  border:1px solid var(--sv-ui-pill-line);
    border - spacing: 0;
  box-shadow:var(--sv-ui-pill-shadow);
    overflow: hidden;
  background-image:linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.00));
    -webkit - user - select: text;
  color:var(--sv-ui-pill-text);
    user - select: text;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:0.03em;
  font-size:0.72em;
  line-height:1.15;
  white-space:nowrap;
}
}


table.custom - table > tbody > tr: nth - child(1) > th {
.sv-pill--compact,
    background: linear - gradient(180deg, #7a6fb0, #5a4e7c);
.mw-parser-output .sv-pill--compact{
    color: white;
  padding:0.15em 0.38em;
    text - align: center;
  border-radius:var(--sv-ui-rad-pill);
    padding: 6px;
    font - size: 120 %;
    border - top - left - radius: 8px;
    border - top - right - radius: 8px;
    word - wrap: break-word;
    overflow - wrap: break-word;
}
}


table.custom - table > tbody > tr: nth - child(2) > th {
.sv-pill--value,
    text - align: center;
.mw-parser-output .sv-pill--value{
    padding: 4px;
  border-radius:var(--sv-ui-rad-pill);
    border - bottom: 1px solid #555;
  font-weight:900;
  text-transform:none;
  letter-spacing:0.01em;
}
}


table.custom - table > tbody > tr > td {
.sv-focus-ring:focus-visible,
    text - align: center;
.mw-parser-output .sv-focus-ring:focus-visible{
    padding: 4px;
  outline:2px solid var(--sv-ui-accent3);
    border - bottom: 1px solid #555;
  outline-offset:2px;
  border-radius:var(--sv-ui-rad-sm);
}
}


table.custom - table > tbody > tr.middle - header > th {
/* -------------------------------------------------------------------------- */
    background: linear - gradient(180deg, #7a6fb0, #5a4e7c);
/* 3a) Hover lift utility */
    color: white;
/* -------------------------------------------------------------------------- */
    text - align: center;
 
    padding: 6px;
.sv-hover-lift{
    font - size: 110 %;
  transition:transform 0.15s ease-in-out;
  will-change:transform;
}
}


/* Put transition on the base state so it animates both ways */
.sv-hover-lift:hover{
.citizen - search - trigger {
  transform:translateY(-2px);
    transition: transform 0.15s ease -in -out;
}
}
.citizen - search - trigger:hover {
 
    transform: translateY(-2px);
/* -------------------------------------------------------------------------- */
/* 3b) Right infobox wrapper */
/* -------------------------------------------------------------------------- */
 
.sv-card.sv-infobox-right{
  float:right !important;
  width:100%;
  max-width:200px;
  margin:0 0 2em 2em;
  box-sizing:border-box;
  border-radius:var(--sv-ui-rad-lg);
  overflow:hidden;
  clear:right;
}
}


/* ============================================================
.sv-card.sv-infobox-right.sv-infobox-right--md{max-width:260px;}
  SpiritVale Infoboxes (Skills + Passives)
.sv-card.sv-infobox-right.sv-infobox-right--lg{max-width:320px;}
  ========================================================== */


/* Global size knobs */
/* -------------------------------------------------------------------------- */
:root {
/* 4) Shared utilities */
    --sv - passive - width: 540px;
/* -------------------------------------------------------------------------- */
    --sv - skill - width: 660px;
 
    --sv - infobox - max: 620px;
.sv-hidden,
.mw-parser-output .sv-hidden{
  display:none !important;
}
}


/* Shared base */
[hidden]{display:none !important;}
table.spiritvale - skill - infobox,
    table.spiritvale - passive - infobox {
    border - collapse: separate;
    border - spacing: 0;
    width: 100 %;
    max - width: var(--sv - infobox - max);
    margin: 1.5em auto;


    border - radius: 12px;
.sv-miss,
    overflow: hidden;
.mw-parser-output .sv-miss{
    border: 1px solid rgba(55, 43, 84, 0.65);
  display:inline-flex;
    box - shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:var(--sv-ui-rad-pill);
  border:1px solid var(--sv-ui-line2);
  background:var(--sv-ui-bg3);
  color:var(--sv-ui-text1);
  font-weight:900;
  font-size:12px;
  line-height:1;
}
 
.sv-img,
.mw-parser-output .sv-img{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}


    font - size: 0.95em;
.sv-img img,
.mw-parser-output .sv-img img{
  display:block;
  max-width:100%;
  height:auto;
  border-radius:var(--sv-ui-rad-sm);
}
}


/* Hero band background (supports both old + split hero rows) */
.sv-img--shadow img,
table.spiritvale - skill - infobox > tbody > tr.spiritvale - infobox - main > th,
.mw-parser-output .sv-img--shadow img{
    table.spiritvale - skill - infobox > tbody > tr.spiritvale - infobox - main > td,
  box-shadow:0 10px 18px rgba(0,0,0,0.35);
    table.spiritvale - passive - infobox > tbody > tr.spiritvale - infobox - main > th,
    table.spiritvale - passive - infobox > tbody > tr.spiritvale - infobox - main > td,
    table.spiritvale - skill - infobox > tbody > tr.sv - hero - title - row > th,
    table.spiritvale - skill - infobox > tbody > tr.sv - hero - desc - row > td {
    background: linear - gradient(135deg, #7a6fb0, #372b54);
    color: #fff;
    padding: 0.9em 1.1em;
    text - align: center;
    vertical - align: middle;
}
}


/* Icon spacing in hero row */
/* -------------------------------------------------------------------------- */
table.spiritvale - skill - infobox > tbody > tr: first - child > th.image,
/* 5) Shared level selector */
    table.spiritvale - passive - infobox > tbody > tr: first - child > th.image {
/* -------------------------------------------------------------------------- */
    margin - right: 0.6em;
 
    vertical - align: middle;
.sv-level-ui,
.mw-parser-output .sv-level-ui{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  text-align:center;
  margin:0;
}
}


/* Row separators (direct children only) */
.sv-level-label,
table.spiritvale - skill - infobox > tbody > tr,
.mw-parser-output .sv-level-label{
    table.spiritvale - passive - infobox > tbody > tr {
  margin:0;
    border - bottom: 1px solid rgba(148, 163, 184, 0.4);
}
}
table.spiritvale - skill - infobox > tbody > tr: last - child,
 
    table.spiritvale - passive - infobox > tbody > tr: last - child {
.sv-level-label[data-sv-helper-text],
    border - bottom: none;
.sv-level-ui .sv-level-label:not([data-sv-helper-text]),
.mw-parser-output .sv-level-label[data-sv-helper-text],
.mw-parser-output .sv-level-ui .sv-level-label:not([data-sv-helper-text]){
  display:inline-block;
  margin:0;
  padding:0;
  font-size:0;
  line-height:0;
}
}


/* Label cells (direct children only) */
.sv-level-ui .sv-level-label:not([data-sv-helper-text]),
table.spiritvale - skill - infobox > tbody > tr: not(.spiritvale - infobox - main) > th: not(.spiritvale - infobox - section - header),
.mw-parser-output .sv-level-ui .sv-level-label:not([data-sv-helper-text]){
    table.spiritvale - passive - infobox > tbody > tr: not(.spiritvale - infobox - main) > th: not(.spiritvale - infobox - section - header) {
  position:static;
    width: 26 %;
  top:auto;
    padding: 0.45em 0.85em;
  right:auto;
    text - align: left;
  bottom:auto;
    font - weight: 600;
  left:auto;
    white - space: nowrap;
  transform:none;
}
}


/* Value cells */
.sv-level-label[data-sv-helper-text]::after,
table.spiritvale - skill - infobox > tbody > tr > td,
.mw-parser-output .sv-level-label[data-sv-helper-text]::after{
    table.spiritvale - passive - infobox > tbody > tr > td {
  content:attr(data-sv-helper-text);
    padding: 0.45em 0.85em;
  display:inline-block;
    text - align: left;
  font-weight:900;
  font-size:12px;
  line-height:1.25;
  letter-spacing:0.15px;
  color:var(--sv-ui-text1);
}
}


/* Zebra striping */
.sv-level-ui .sv-level-label:not([data-sv-helper-text])::after,
table.spiritvale - skill - infobox > tbody > tr: nth - child(odd) > td,
.mw-parser-output .sv-level-ui .sv-level-label:not([data-sv-helper-text])::after{
    table.spiritvale - skill - infobox > tbody > tr: nth - child(odd) > th: not(.spiritvale - infobox - section - header),
  content:"Slide to set level";
        table.spiritvale - passive - infobox > tbody > tr: nth - child(odd) > td,
  display:inline-block;
            table.spiritvale - passive - infobox > tbody > tr: nth - child(odd) > th: not(.spiritvale - infobox - section - header) {
  font-weight:900;
    background - color: rgba(148, 163, 184, 0.05);
  font-size:12px;
  line-height:1.25;
  letter-spacing:0.15px;
  color:var(--sv-ui-text1);
}
}


/* Section headers */
.sv-level-slider,
.spiritvale - infobox - section - header {
.mw-parser-output .sv-level-slider{
    background: linear - gradient(135deg, #5a4e7c, #372b54);
  position:relative;
    color: #fff;
  display:flex;
    text - align: left;
  flex-direction:row;
    padding: 0.5em 0.9em;
  align-items:center;
    font - size: 0.9em;
  gap:10px;
    text - transform: uppercase;
  width:100%;
    letter - spacing: 0.05em;
  flex-wrap:nowrap;
  direction:ltr;
}
}


/* Hero content helpers */
.sv-level-slider input.sv-level-range[type="range"],
.spiritvale - infobox - main - left - inner {
.sv-level-slider .sv-level-range--custom,
    display: flex;
.sv-level-slider .sv-level-range[data-sv-slider="1"],
    flex - direction: column;
.mw-parser-output .sv-level-slider input.sv-level-range[type="range"],
    align - items: center;
.mw-parser-output .sv-level-slider .sv-level-range--custom,
    justify - content: center;
.mw-parser-output .sv-level-slider .sv-level-range[data-sv-slider="1"]{
    gap: 0.35em;
  flex:1 1 auto;
  min-width:0;
  width:auto;
  box-sizing:border-box;
  margin:0;
  order:1;
}
}


.spiritvale - infobox - title {
.sv-level-endvalue,
    font - size: 1.25em;
.mw-parser-output .sv-level-endvalue{
    font - weight: 600;
  flex:0 0 auto;
  order:2;
  min-width:28px;
  padding:1px 7px;
  border-radius:var(--sv-ui-rad-pill);
  border:1px solid var(--sv-ui-pill-line);
  background:var(--sv-ui-pill-bg);
  background-image:linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.00));
  box-shadow:var(--sv-ui-pill-shadow);
  color:var(--sv-ui-text2);
  font-weight:900;
  font-size:12px;
  line-height:1.25;
  letter-spacing:0.15px;
  text-align:center;
  white-space:nowrap;
}
}


.spiritvale - infobox - main - right - inner {
.sv-level--hide-ticks .sv-level-ticklabels,
    display: flex;
[data-sv-level-hide-ticks="1"] .sv-level-ticklabels,
    align - items: center;
.mw-parser-output .sv-level--hide-ticks .sv-level-ticklabels,
    justify - content: center;
.mw-parser-output [data-sv-level-hide-ticks="1"] .sv-level-ticklabels{
  display:none;
}
}


.spiritvale - infobox - description {
.sv-level-range--custom,
    font - size: 1.05em;
.sv-level-range[data-sv-slider="1"]{
    font - style: italic;
  display:block;
    text - align: center;
  position:relative;
    max - width: 32em;
  height:26px;
    margin: 0 auto;
  border-radius:var(--sv-ui-rad-pill);
  border:1px solid var(--sv-ui-line2);
  background:var(--sv-ui-bg1);
  cursor:pointer;
  box-sizing:border-box;
}
}


/* Skills hero split rows */
.sv-level-track{
table.spiritvale - skill - infobox > tbody > tr.sv - hero - title - row {
  position:absolute;
    border - bottom: none!important;
  left:8px;
  right:8px;
  top:50%;
  margin-top:-4px;
  height:8px;
  border-radius:var(--sv-ui-rad-pill);
  background:var(--sv-ui-bg2);
  overflow:hidden;
}
}
table.spiritvale - skill - infobox > tbody > tr.sv - hero - title - row > th {
 
    padding - bottom: 0.5em;
.sv-level-fill{
  display:block;
  height:100%;
  width:0%;
  border-radius:var(--sv-ui-rad-pill);
  background:linear-gradient(90deg, var(--sv-ui-accent), rgba(245,249,255,0.22));
}
}
table.spiritvale - skill - infobox > tbody > tr.sv - hero - desc - row > td {
 
    padding - top: 0.1em;
.sv-level-thumb{
    padding - bottom: 0.9em;
  position:absolute;
  left:0%;
  top:50%;
  margin-top:-9px;
  margin-left:-9px;
  width:18px;
  height:18px;
  border-radius:var(--sv-ui-rad-pill);
  border:2px solid var(--sv-ui-line3);
  background:rgba(245,249,255,0.92);
  box-shadow:0 10px 18px rgba(0,0,0,0.35);
}
}
table.spiritvale - skill - infobox > tbody > tr.sv - hero - desc - row.spiritvale - infobox - description {
 
    font - size: 1.0em;
.sv-level-ticklabels{
    opacity: 0.95;
  display:flex;
    max - width: 42em;
  justify-content:space-between;
  gap:10px;
  margin-top:7px;
  font-weight:900;
  font-size:12px;
  color:var(--sv-ui-text3);
  line-height:1.1;
  min-height:12px;
}
}


/* Passives */
.sv-level-tick{
table.spiritvale - passive - infobox {
  display:inline-flex;
    width: var(--sv - passive - width);
  align-items:center;
    max - width: var(--sv - passive - width);
  justify-content:center;
    margin: 1em auto;
  min-width:18px;
    table - layout: fixed;
}
}


table.spiritvale - passive - infobox > tbody > tr.spiritvale - infobox - main > th {
.sv-level-range--custom .sv-level-bubble,
    width: 42 %;
.sv-level-range[data-sv-slider="1"] .sv-level-bubble{
    white - space: normal;
  position:absolute;
  top:-45px;
  left:0%;
  transform:translateX(-50%);
  padding:9px 15px;
  border-radius:36px;
  border:1px solid var(--sv-ui-line3);
  background:var(--sv-ui-bg3);
  background-image:linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.00));
  box-shadow:0 10px 18px rgba(0,0,0,0.35);
  font-weight:900;
  font-size:36px;
  line-height:1;
  color:var(--sv-ui-text1);
  pointer-events:none;
  white-space:nowrap;
}
}
table.spiritvale - passive - infobox > tbody > tr.spiritvale - infobox - main > td {
 
    width: 58 %;
.sv-level-range--custom .sv-level-bubble:after,
.sv-level-range[data-sv-slider="1"] .sv-level-bubble:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-9px;
  width:14px;
  height:14px;
  margin-left:-7px;
  background:var(--sv-ui-bg3);
  border-left:1px solid var(--sv-ui-line3);
  border-bottom:1px solid var(--sv-ui-line3);
  transform:rotate(45deg);
}
}


table.spiritvale - passive - infobox > tbody > tr: not(.spiritvale - infobox - main) > th,
.sv-level-range--custom:focus-visible,
    table.spiritvale - passive - infobox > tbody > tr: not(.spiritvale - infobox - main) > td {
.sv-level-range[data-sv-slider="1"]:focus-visible{
    text - align: center;
  outline:2px solid var(--sv-ui-accent3);
    vertical - align: middle;
  outline-offset:2px;
    white - space: normal;
  border-radius:var(--sv-ui-rad-sm);
    overflow - wrap: anywhere;
    word -break: break-word;
}
}


table.spiritvale - passive - infobox > tbody > tr: not(.spiritvale - infobox - main)
/* -------------------------------------------------------------------------- */
    > th: not(.spiritvale - infobox - section - header) {
/* 6) Shared tabs */
    white - space: normal;
/* -------------------------------------------------------------------------- */
 
.sv-tabs,
.mw-parser-output .sv-tabs{
  margin:10px 0 0;
}
}


table.spiritvale - passive - infobox.spiritvale - infobox - section - header {
.sv-tabs-list,
    text - align: center;
.mw-parser-output .sv-tabs-list{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 10px 0;
  padding:0;
}
}


table.spiritvale - passive - infobox.spiritvale - infobox - description {
.sv-tab,
    max - width: 100 %;
.mw-parser-output .sv-tab{
    overflow - wrap: anywhere;
  display:inline-flex;
    word -break: break-word;
  align-items:center;
  justify-content:center;
  border-radius:var(--sv-ui-rad-pill);
  padding:7px 10px;
  border:1px solid var(--sv-ui-line2);
  background:var(--sv-ui-bg2);
  color:var(--sv-ui-text1);
  font-weight:900;
  font-size:13px;
  cursor:pointer;
  user-select:none;
}
}


.spiritvale - passive - list {
.sv-tab:hover,
    display: flex;
.mw-parser-output .sv-tab:hover{
    flex - direction: column;
  background:var(--sv-ui-bg3);
    align - items: center;
    gap: 1.25em;
}
}


.spiritvale - passive - list.mw - table - wrapper,
.sv-tab[aria-selected="true"],
.spiritvale - passive - list.table - overflow,
.mw-parser-output .sv-tab[aria-selected="true"]{
.spiritvale - passive - list.table - scroll,
  background:var(--sv-ui-bg3);
.spiritvale - passive - list.citizen - table {
  border-color:var(--sv-ui-accent);
    border: none!important;
    box - shadow: none!important;
    background: transparent!important;
    padding: 0!important;
    margin: 0!important;
}
}


@media(max - width: 768px) {
.sv-tabpanel,
    body.skin - citizen table.spiritvale - passive - infobox {
.mw-parser-output .sv-tabpanel{
        width: 100 %;
  padding:10px 12px;
        max - width: 100 %;
  border-radius:var(--sv-ui-rad-md);
        display: table!important;
  border:1px solid var(--sv-ui-line1);
    }
  background:var(--sv-ui-bg1);
}


    body.skin - citizen table.spiritvale - passive - infobox > tbody {
.sv-tab:focus-visible,
        display: table - row - group!important;
.mw-parser-output .sv-tab:focus-visible,
    }
.sv-disclose-btn:focus-visible,
.mw-parser-output .sv-disclose-btn:focus-visible{
  outline:2px solid var(--sv-ui-accent3);
  outline-offset:2px;
  border-radius:var(--sv-ui-rad-sm);
}


    body.skin - citizen table.spiritvale - passive - infobox > tbody > tr.spiritvale - infobox - main {
/* -------------------------------------------------------------------------- */
        display: table - row!important;
/* 7) Shared tip trigger */
    }
/* -------------------------------------------------------------------------- */


    body.skin - citizen table.spiritvale - passive - infobox > tbody > tr.spiritvale - infobox - main > th,
.sv-tip,
        body.skin - citizen table.spiritvale - passive - infobox > tbody > tr.spiritvale - infobox - main > td {
.mw-parser-output .sv-tip{
        display: table - cell!important;
  position:relative;
        float: none!important;
  display:inline-flex;
        box - sizing: border - box;
  align-items:center;
        vertical - align: middle;
  flex:0 0 auto;
        text - align: center;
}


        white - space: normal;
.sv-tip-btn,
        overflow - wrap: anywhere;
.mw-parser-output .sv-tip-btn{
        word -break: break-word;
  display:inline-flex;
    }
  align-items:center;
  justify-content:center;
  border:1px solid var(--sv-ui-line2);
  background:var(--sv-ui-bg2);
  color:var(--sv-ui-text1);
  cursor:pointer;
  user-select:none;
}


    body.skin - citizen table.spiritvale - passive - infobox > tbody > tr.spiritvale - infobox - main > th {
.sv-tip-btn:hover,
        width: 46 % !important;
.mw-parser-output .sv-tip-btn:hover{
        padding: 0.75em;
  background:var(--sv-ui-bg3);
    }
}


    body.skin - citizen table.spiritvale - passive - infobox > tbody > tr.spiritvale - infobox - main > td {
.sv-tip-btn:focus-visible,
        width: 54 % !important;
.mw-parser-output .sv-tip-btn:focus-visible{
        padding: 0.75em;
  outline:2px solid var(--sv-ui-accent3);
    }
  outline-offset:2px;
}


    body.skin - citizen table.spiritvale - passive - infobox > tbody > tr.spiritvale - infobox - main > th.image img {
.sv-tip-btn--icon,
        width: 64px!important;
.sv-tip-btn:not(.sv-tip-btn--pill),
        height: auto!important;
.mw-parser-output .sv-tip-btn--icon,
    }
.mw-parser-output .sv-tip-btn:not(.sv-tip-btn--pill){
  width:28px;
  height:28px;
  border-radius:var(--sv-ui-rad-pill);
}
}


/* Skills */
.sv-tip-btn--pill,
table.spiritvale - skill - infobox {
.sv-overcap-btn,
    width: 100 %;
.mw-parser-output .sv-tip-btn--pill,
    max - width: var(--sv - skill - width);
.mw-parser-output .sv-overcap-btn{
    margin: 1.25em auto;
  width:auto;
    table - layout: fixed;
  height:auto;
  min-width:0;
  min-height:0;
  padding:1px 8px;
  border-radius:var(--sv-ui-rad-pill);
  font-weight:900;
  font-size:13px;
  line-height:1.25;
  letter-spacing:0.15px;
  white-space:nowrap;
  background:var(--sv-ui-pill-bg);
  background-image:linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.00));
  box-shadow:var(--sv-ui-pill-shadow);
  border-color:var(--sv-ui-pill-line);
  color:var(--sv-ui-text2);
}
}


.sv - skill - collection {
.sv-ico--info,
    width: 100 %;
.mw-parser-output .sv-ico--info{
    max - width: var(--sv - skill - width);
  width:18px;
    margin: 0 auto!important;
  height:18px;
    padding: 0!important;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-style:normal;
  font-weight:900;
  font-size:12px;
  line-height:1;
}


    border: 2px solid #372b54;
/* -------------------------------------------------------------------------- */
    border - radius: 10px;
/* 8) Shared disclosure */
    box - shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
/* -------------------------------------------------------------------------- */
    background: transparent!important;


    overflow: hidden;
.sv-disclose,
    display: block!important;
.mw-parser-output .sv-disclose{
  position:relative;
}
}


.sv - skill - collection.mw - table - wrapper,
.sv-disclose-btn,
.sv - skill - collection.table - overflow,
.mw-parser-output .sv-disclose-btn{
.sv - skill - collection.table - scroll,
  display:flex;
.sv - skill - collection.citizen - table {
  align-items:center;
    border: none!important;
  justify-content:space-between;
    box - shadow: none!important;
  gap:12px;
    background: transparent!important;
  width:100%;
    padding: 0!important;
  padding:10px 12px;
    margin: 0!important;
  border-radius:var(--sv-ui-rad-md);
  border:1px solid var(--sv-ui-line1);
  background:var(--sv-ui-bg1);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.05);
  background-image:linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.00));
  color:var(--sv-ui-text1);
  font-weight:900;
  cursor:pointer;
  user-select:none;
}
}


.sv - skill - collection table.spiritvale - skill - infobox {
.sv-disclose-btn:hover,
    width: 100 %;
.mw-parser-output .sv-disclose-btn:hover{
    max - width: 100 %;
  background:var(--sv-ui-bg2);
    margin: 0!important;
}


    border: none!important;
.sv-disclose-btn--compact,
    box - shadow: none!important;
.mw-parser-output .sv-disclose-btn--compact{
    border - radius: 0!important;
  border-radius:var(--sv-ui-rad-pill);
  min-height:36px;
  padding:0 12px;
}
}


.sv - skill - collection > * + * {
.sv-disclose-count,
    border- top: 1px solid rgba(148, 163, 184, 0.25);
.mw-parser-output .sv-disclose-count{
  font-weight:800;
  font-size:13px;
  color:var(--sv-ui-text3);
  white-space:nowrap;
}
}


/* Top band */
/* -------------------------------------------------------------------------- */
table.spiritvale - skill - infobox.sv - topband - cell {
/* 9) Universal popups */
    padding: 0!important;
/* -------------------------------------------------------------------------- */
    background: linear - gradient(
 
        135deg,
.sv-tip-btn,
        rgba(90, 78, 124, 0.55),
.sv-disclose-btn,
        rgba(55, 43, 84, 0.55)
.sv-def,
    )!important;
.sv-uipop-head,
.sv-uipop-title,
.sv-uipop-title-link{
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  user-select:none;
  touch-action:manipulation;
}
}


table.spiritvale - skill - infobox.sv - topband - table {
.sv-tip-btn *,
    width: 100 % !important;
.sv-disclose-btn *,
    max - width: 100 % !important;
.sv-uipop-head *{
    margin: 0!important;
  -webkit-user-select:none;
  user-select:none;
}


    border: 0!important;
.sv-uipop{
    border - collapse: collapse!important;
  position:fixed;
    border - spacing: 0!important;
  z-index:9000;
     table - layout: fixed;
  top:0;
     background: transparent!important;
  left:0;
  box-sizing:border-box;
  border-radius:var(--sv-ui-rad-lg);
  border:1px solid var(--sv-ui-pop-line, var(--sv-ui-line2));
  background:var(--sv-ui-pop-bg, var(--sv-ui-bg2));
  background-image:
    radial-gradient(900px 260px at 35% 0, rgba(106,166,255,0.14), rgba(0,0,0,0) 60%),
     linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.00));
  color:var(--sv-ui-text1);
  box-shadow:
     var(--sv-ui-pop-shadow, 0 10px 30px rgba(0,0,0,0.35)),
    inset 0 1px 0 rgba(255,255,255,0.04);
  overflow:hidden;
}
}


table.spiritvale - skill - infobox.sv - topband - table > tbody > tr > td {
.sv-uipop[aria-hidden="true"]{display:none;}
    width: 50 %;
 
    padding: 0!important;
.sv-uipop--sm,
    vertical - align: middle;
.sv-uipop--lg{
  width:240px;
  max-width:calc(100vw - 20px);
}
}


table.spiritvale - skill - infobox.sv - topband - table > tbody > tr > td: first - child {
.sv-uipop--sm{max-height:min(45vh, 320px);}
    border - right: 1px solid rgba(148, 163, 184, 0.25);
.sv-uipop--lg{max-height:min(70vh, 560px);}
 
.sv-uipop-head{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 12px;
  border-bottom:1px solid var(--sv-ui-line2);
  background:var(--sv-ui-bg3);
}
}


table.spiritvale - skill - infobox.sv - level - ui {
.sv-uipop-head--clickable{cursor:pointer;}
    width: 100 %;
    margin: 0!important;
    padding: 0.75em 0.9em;


    display: flex;
.sv-uipop-title{
    flex - direction: column;
  width:100%;
    gap: 0.4em;
  text-align:center;
  font-weight:900;
  font-size:16px;
  letter-spacing:0.02em;
  color:var(--color-emphasized, var(--sv-ui-text1));
}
}


table.spiritvale - skill - infobox.sv - level - title {
.sv-uipop-title a.sv-uipop-title-link{
    font - weight: 700;
  color:inherit;
    text - transform: uppercase;
  text-decoration:none;
    letter - spacing: 0.05em;
    font - size: 0.85em;
    opacity: 0.95;
}
}


table.spiritvale - skill - infobox.sv - level - label {
.sv-uipop-title a.sv-uipop-title-link:hover{
    font - weight: 600;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:2px;
}
}


table.spiritvale - skill - infobox.sv - level - slider input[type = "range"] {
.sv-uipop-body{
    width: 100 %;
  padding:10px 12px 12px;
    box - sizing: border - box;
  font-size:13px;
  line-height:1.4;
  color:var(--sv-ui-text2);
  overflow:auto;
  overflow-wrap:anywhere;
  word-break:break-word;
  -webkit-user-select:text;
  user-select:text;
}
}


/* Type table (Option A integrated) */
.sv-uipop-body--pre{white-space:pre-line;}
table.spiritvale - skill - infobox.sv - type - table {
    width: 100 % !important;
    margin: 0!important;
    padding: 0.75em 0.9em;


    border: 0!important;
.sv-uipop-body p,
    border - collapse: collapse!important;
.sv-uipop-body ul,
    background: transparent!important;
.sv-uipop-body ol{margin:0;}


    table - layout: fixed;
.sv-uipop-body ul,
.sv-uipop-body ol{padding-left:1.15em;}
 
.sv-uipop-body li{margin:0;}
 
.sv-uipop a{
  color:var(--color-link, var(--sv-ui-accent));
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:2px;
}
}


table.spiritvale - skill - infobox.sv - type - table th,
.sv-uipop a:hover{
    table.spiritvale - skill - infobox.sv - type - table td {
  text-decoration-thickness:3px;
    background: transparent!important;
  text-underline-offset:3px;
    padding: 0.2em 0;
    vertical - align: top;
    line - height: 1.25;
}
}


table.spiritvale - skill - infobox.sv - type - table th {
.sv-uipop a:focus-visible,
    width: 6.75em;
.sv-uipop-title a.sv-uipop-title-link:focus-visible{
    font - weight: 700;
  outline:2px solid var(--sv-ui-accent3);
    white - space: nowrap;
  outline-offset:2px;
    padding - right: 0.6em;
  border-radius:6px;
    text - align: right;
}
}


table.spiritvale - skill - infobox.sv - type - table th::after {
.sv-uipop :where(.sv-disclose-list, .sv-uipop-list){
    content: ":";
  margin:0;
    opacity: 0.7;
  padding:0;
    margin - left: 0.25em;
  list-style:none;
}
}


table.spiritvale - skill - infobox.sv - type - table td {
.sv-uipop :where(.sv-disclose-list, .sv-uipop-list) > li{
    text - align: left!important;
  padding:6px 0;
    white - space: normal;
  border-top:1px solid var(--sv-ui-line1);
    overflow - wrap: anywhere;
  font-size:13px;
    word -break: break-word;
  color:var(--sv-ui-text2);
}
}


@media(max - width: 560px) {
.sv-uipop :where(.sv-disclose-list, .sv-uipop-list) > li:first-child{
    table.spiritvale - skill - infobox.sv - topband - table > tbody > tr > td {
  border-top:none;
        display: block;
  padding-top:0;
        width: 100 %;
}
    }


    table.spiritvale - skill - infobox.sv - topband - table > tbody > tr > td: first - child {
.sv-uipop :where(.sv-disclose-group-title, .sv-uipop-group-title){
        border - right: none;
  padding-top:10px;
        border - bottom: 1px solid rgba(148, 163, 184, 0.25);
  font-weight:900;
    }
  font-size:12px;
  letter-spacing:0.02em;
  color:var(--sv-ui-text1);
}
}


/* ============================================================
.sv-uipop .sv-disclose-sections{
  Top bar / callout compatibility (supports hyphenated OR split classes)
  display:flex;
  ========================================================== */
  flex-direction:column;
  gap:10px;
}


/* Playtest info box */
.sv-uipop .sv-disclose-sec + .sv-disclose-sec{
.playtest - info - box,
  padding-top:10px;
.playtest.info.box {
  border-top:1px solid var(--sv-ui-line1);
    max - width: 100 %;
    margin: 0 0 10px 0;
    border: 1px solid #ccc;
    border - radius: 6px;
    box - shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background: #f0f2f8;
    padding: 10px;
    text - align: center;
    color: #333;
    overflow - wrap: anywhere;
    word -break: break-word;
}
}


.playtest - info - box a,
.sv-uipop .sv-disclose-sec-title{
.playtest.info.box a {
  font-weight:900;
    text - decoration: none;
  font-size:13px;
  letter-spacing:0.02em;
  color:var(--sv-ui-text1);
  margin:0 0 4px 0;
}
}


/* Header container band */
.sv-uipop .sv-disclose-sec-items{
.header - container - outer,
  font-size:13px;
.header.container.outer {
  line-height:1.45;
    max - width: 100 %;
  color:var(--sv-ui-text2);
    margin: 1px;
    border: 2px solid #372b54;
    border - radius: 10px;
    box - shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    background: #f0f2f8;
}
}


.header - container - middle,
.sv-uipop .sv-disclose-item{display:inline;}
.header.container.middle {
.sv-uipop .sv-disclose-sfx{opacity:0.78;}
    background: #f0f2f8;
.sv-uipop .sv-tip-pop-body{white-space:pre-line;}
    color: white;
 
    text - align: center;
/* -------------------------------------------------------------------------- */
    padding: 1px;
/* 10) Motion */
    border - radius: 8px;
/* -------------------------------------------------------------------------- */
    overflow - wrap: anywhere;
 
    word -break: break-word;
@media (prefers-reduced-motion: reduce){
  .sv-hover-lift{transition:none;}
  .sv-hover-lift:hover{transform:none;}
}
}


.header - container - inner,
/* -------------------------------------------------------------------------- */
.header.container.inner {
/* 11) Responsive                                                              */
     background: linear - gradient(180deg, #5a4e7c, #372b54);
/* -------------------------------------------------------------------------- */
     color: white;
/* default (<640px): compact end value and helper text.                       */
     text - align: center;
/* sm and up (>=640px): restore the standard control sizing.                  */
     padding: 1px;
 
    border - radius: 8px;
@media (min-width:640px){
    overflow - wrap: anywhere;
  .sv-level-endvalue,
    word -break: break-word;
  .mw-parser-output .sv-level-endvalue{
     font - size: 300 %;
     padding:2px 8px;
     min-width:30px;
     font-size:13px;
     line-height:1.25;
  }
 
  .sv-level-label[data-sv-helper-text]::after,
  .sv-level-ui .sv-level-label:not([data-sv-helper-text])::after,
  .mw-parser-output .sv-level-label[data-sv-helper-text]::after,
  .mw-parser-output .sv-level-ui .sv-level-label:not([data-sv-helper-text])::after{
     font-size:13px;
  }
}
}