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

Module:GameInfo/styles.css: Difference between revisions

From SpiritVale Wiki
No edit summary
Tags: Manual revert Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
Line 1: Line 1:
/* Module:GameInfo/styles.css */
/* Module:GameInfo/styles.css */
/* Phase 4.1 Mockup Match + TemplateStyles-safe (NO var(), NO vendor pseudos) */
/* GameInfo Box v1 — TemplateStyles-safe (no CSS vars / no var()) */


/* ----------------------------------------------------------------------------
/* ----------------------------------------------------------------------------
Line 7: Line 7:


.sv-gi-card,
.sv-gi-card,
.sv-skill-card {
.sv-skill-card
{
   max-width: 600px;
   max-width: 600px;
   margin: 18px auto;
   margin: 18px auto;
   border-radius: 22px;
   border-radius: 22px;
   border: 1px solid rgba(255,255,255,0.085);
   border: 1px solid rgba(255, 255, 255, 0.085);
 
   background-color: #0f1b33;
   background-color: #0f1b33;
   background-image:
   background-image: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)), linear-gradient(180deg, #0f1b33, #0c162b);
    radial-gradient(1200px 520px at 50% -20%, rgba(96,165,250,0.22), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    radial-gradient(900px 360px at 50% 0, rgba(255,255,255,0.06), transparent 55%),
    linear-gradient(180deg, #0f1b33, #0c162b);
 
   box-shadow: 0 16px 38px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.04);
   box-shadow: 0 16px 38px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.04);
   overflow: visible;
   overflow: visible;
 
   color: rgba(235, 244, 255, 0.92);
   color: rgba(235,244,255,0.92);
   font-size: 15px;
   font-size: 12px;
   line-height: 1.35;
   line-height: 1.35;
}
}


/* Locked split zones */
.sv-gi-top,
.sv-gi-top,
.sv-skill-top {
.sv-skill-top
{
   padding: 14px 14px 4px;
   padding: 14px 14px 4px;
   border-radius: 22px 22px 0 0;
   border-radius: 22px 22px 0 0;
Line 37: Line 32:


.sv-gi-bottom,
.sv-gi-bottom,
.sv-skill-bottom {
.sv-skill-bottom
{
   padding: 10px 14px 12px;
   padding: 10px 14px 12px;
   border-top: 1px solid rgba(255,255,255,0.050);
   border-top: 1px solid rgba(255, 255, 255, 0.050);
   border-radius: 0 0 22px 22px;
   border-radius: 0 0 22px 22px;
   background-image: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.08));
   background-image: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.08));
}
}


/* Predictable sizing */
.sv-gi-card,
.sv-gi-card,
.sv-gi-card *,
.sv-gi-card *,
.sv-skill-card,
.sv-skill-card,
.sv-skill-card * {
.sv-skill-card *
{
   box-sizing: border-box;
   box-sizing: border-box;
}
}


.sv-gi-card a,
.sv-gi-card a,
.sv-skill-card a {
.sv-skill-card a
   color: rgba(170,220,255,0.95);
{
   color: rgba(170, 220, 255, 0.92);
   text-decoration: none;
   text-decoration: none;
}
}
.sv-gi-card a:hover,
.sv-gi-card a:hover,
.sv-skill-card a:hover {
.sv-skill-card a:hover
{
   text-decoration: underline;
   text-decoration: underline;
}
}


/* Hide contract */
/* Simple error capsule (used by Lua when JSON missing / invalid) */
.sv-hidden { display: none !important; }
.sv-gi-error
[hidden] { display: none !important; }
{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 120, 120, 0.22);
  background: rgba(120, 30, 30, 0.18);
  color: rgba(255, 235, 235, 0.92);
  font-size: 14px;
}
 
/* IMPORTANT: Phase 4.1 hiding contract */
.sv-hidden
{
  display: none !important;
}
 
[hidden]
{
  display: none !important;
}


/* Safe details reset (NO ::marker / NO vendor marker pseudos) */
/* Remove default details marker (safe even if no <details> used) */
.sv-gi-card summary,
.sv-gi-card summary,
.sv-skill-card summary {
.sv-skill-card summary
{
   list-style: none;
   list-style: none;
}
}


/* Focus */
.sv-miss
.sv-tip-btn:focus,
{
.sv-disclose-btn:focus,
  display: inline-flex;
.sv-tab:focus,
  align-items: center;
.sv-level-range--custom:focus {
  justify-content: center;
   outline: 2px solid rgba(170,220,255,0.55);
  width: 20px;
   outline-offset: 2px;
  height: 20px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
   border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
   color: rgba(235,244,255,0.85);
}
}


/* Missing icon badge */
/* ----------------------------------------------------------------------------
.sv-miss {
  SHARED PILL (used across meta rows)
   display: inline-block;
---------------------------------------------------------------------------- */
   width: 18px;
 
   height: 18px;
.sv-gi-card .sv-pill,
.sv-skill-card .sv-pill
{
   display: inline-flex;
   align-items: center;
   padding: 3px 9px;
   border-radius: 999px;
   border-radius: 999px;
   border: 1px solid rgba(255,255,255,0.050);
   border: 1px solid rgba(255, 255, 255, 0.050);
   background: rgba(255,255,255,0.05);
   background: rgba(255, 255, 255, 0.04);
   font-weight: 900;
   color: rgba(235, 244, 255, 0.88);
   font-size: 12px;
   font-size: 12px;
   line-height: 18px;
   line-height: 1.1;
   text-align: center;
   white-space: nowrap;
}
 
/* Generic image wrapper (keep inside card to avoid global collisions) */
.sv-gi-card .sv-img,
.sv-skill-card .sv-img
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
}


/* Image wrapper produced by Lua */
.sv-gi-card .sv-img img,
.sv-img { display: inline-block; }
.sv-skill-card .sv-img img
.sv-img img {
{
   display: block;
   display: block;
   border-radius: 10px;
   border-radius: 10px;
Line 102: Line 143:
}
}


/* Shared “panel surface” */
/* Accessible focus for span-buttons */
.sv-skill-level,
.sv-gi-card .sv-tip-btn:focus,
.sv-scaling-row,
.sv-skill-card .sv-tip-btn:focus,
.sv-core-row,
.sv-gi-card .sv-disclose-btn:focus,
.sv-tabs {
.sv-skill-card .sv-disclose-btn:focus,
  border-radius: 12px;
.sv-gi-card .sv-tab:focus,
  border: 1px solid rgba(255,255,255,0.050);
.sv-skill-card .sv-tab:focus
   background: rgba(255,255,255,0.04);
{
   box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
   outline: 2px solid rgba(170, 220, 255, 0.55);
   outline-offset: 2px;
}
}


/* ----------------------------------------------------------------------------
/* ----------------------------------------------------------------------------
   HEADER (ICON + TITLE + NOTES + DESCRIPTION)
   SKILL HEADER (ICON + TITLE + NOTES + DESCRIPTION)
  - Skill icon shrunk ~25%
  - Description ~50% larger + uses full width (no early wrap)
---------------------------------------------------------------------------- */
---------------------------------------------------------------------------- */


.sv-skill-head {
.sv-skill-head
   display: grid;
{
   grid-template-columns: 92px 1fr;
   display: flex;
   align-items: flex-start;
   gap: 12px;
   gap: 12px;
  align-items: start;
   padding: 2px 0 10px;
   padding: 2px 0 10px;
}
}


.sv-skill-icon {
.sv-skill-icon
   width: 92px;
{
   height: 92px;
  flex: 0 0 auto;
   border-radius: 12px;
   width: 64px;
   border: 1px solid rgba(255,255,255,0.050);
   height: 64px;
   background: rgba(255,255,255,0.04);
   border-radius: 16px;
   box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
   border: 1px solid rgba(255,255,255,0.06);
   background: rgba(255,255,255,0.03);
   display: flex;
  align-items: center;
  justify-content: center;
   overflow: hidden;
   overflow: hidden;
}
}


.sv-skill-headtext { min-width: 0; }
.sv-skill-icon img
{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 
.sv-skill-head-main
{
  min-width: 0;
  flex: 1 1 auto;
}


.sv-skill-title-row {
.sv-skill-title-row
{
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
  justify-content: space-between;
   gap: 10px;
   gap: 10px;
  min-width: 0;
}
}


.sv-skill-title {
.sv-skill-title
   min-width: 0;
{
   font-size: 22px;
   font-weight: 900;
   font-weight: 900;
  font-size: 20px;
  line-height: 1.05;
   letter-spacing: 0.2px;
   letter-spacing: 0.2px;
   color: rgba(245,250,255,0.98);
   color: rgba(245, 250, 255, 0.96);
   text-shadow: 0 2px 0 rgba(0,0,0,0.35);
   margin: 0;
  word-wrap: break-word;
}
}


.sv-skill-desc {
.sv-skill-desc
   margin-top: 8px;
{
  max-width: none;
   margin-top: 6px;
  width: 100%;
   color: rgba(225, 238, 255, 0.82);
  font-size: 18px;
   font-size: 14px;
  line-height: 1.30;
   color: rgba(210,224,245,0.86);
   word-wrap: break-word;
}
}


/* ----------------------------------------------------------------------------
/* ----------------------------------------------------------------------------
   NOTES TIP (works with <details> OR span-button markup)
   NOTES TIP (PHASE 4.1: span button + div popover)
---------------------------------------------------------------------------- */
---------------------------------------------------------------------------- */


.sv-tip { position: relative; display: inline-block; }
.sv-gi-card .sv-tip,
.sv-tip > summary { cursor: pointer; }
.sv-skill-card .sv-tip
{
  position: relative;
  flex: 0 0 auto;
}


.sv-tip-btn {
.sv-gi-card .sv-tip-btn,
   display: inline-block;
.sv-skill-card .sv-tip-btn
   width: 30px;
{
   height: 30px;
   display: inline-flex;
  align-items: center;
  justify-content: center;
   width: 28px;
   height: 28px;
   border-radius: 999px;
   border-radius: 999px;
  background: rgba(255,255,255,0.10);
   border: 1px solid rgba(255,255,255,0.06);
   border: 1px solid rgba(255,255,255,0.050);
   background: rgba(255,255,255,0.04);
   box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  text-align: center;
  line-height: 30px;
   cursor: pointer;
   cursor: pointer;
}
}


.sv-tip-btn:hover { background: rgba(255,255,255,0.13); }
.sv-gi-card .sv-tip-btn:hover,
.sv-skill-card .sv-tip-btn:hover
{
  background: rgba(255,255,255,0.06);
}


.sv-ico,
/* Optional “active” feel */
.sv-ico--info {
.sv-gi-card .sv-tip-btn[aria-expanded="true"],
.sv-skill-card .sv-tip-btn[aria-expanded="true"],
.sv-gi-card .sv-disclose-btn[aria-expanded="true"],
.sv-skill-card .sv-disclose-btn[aria-expanded="true"]
{
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.10);
}
 
.sv-gi-card .sv-ico,
.sv-skill-card .sv-ico
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
   font-weight: 900;
   font-weight: 900;
   font-size: 12px;
   font-size: 12px;
   line-height: 1;
   line-height: 1;
   color: rgba(245,250,255,0.95);
   background: rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.08);
}
}


/* Popovers (fixed width + percent max-width; NO min()/calc()/vw) */
/* IMPORTANT: do NOT use display:none here; JS controls visibility via .sv-hidden + [hidden] */
.sv-tip-pop,
.sv-gi-card .sv-tip-pop,
.sv-disclose-pop {
.sv-skill-card .sv-tip-pop
{
  display: block;
   position: absolute;
   position: absolute;
   z-index: 200;
   z-index: 50;
   padding: 10px 10px 8px;
   top: 34px;
 
  right: 0;
   border-radius: 12px;
  width: 360px;
   border: 1px solid rgba(255,255,255,0.050);
  max-width: 92vw;
   background:
   border-radius: 16px;
    radial-gradient(700px 260px at 40% 0, rgba(96,165,250,0.12), transparent 55%),
   border: 1px solid rgba(255,255,255,0.08);
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
   background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)), rgba(10, 14, 24, 0.92);
    linear-gradient(180deg, #0b1428, #0a1326);
   box-shadow: 0 18px 40px rgba(0,0,0,0.60);
   box-shadow: 0 16px 36px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.04);
   overflow: hidden;
 
  width: 380px;
   max-width: 92%;
}
 
.sv-tip-pop { top: 40px; right: 0; }
.sv-disclose-pop { top: 46px; left: 0; }
 
.sv-tip-pop:before,
.sv-disclose-pop:before {
  content: "";
  position: absolute;
  top: -6px;
  width: 11px;
  height: 11px;
  transform: rotate(45deg);
  background: rgba(18,28,52,0.98);
  border-left: 1px solid rgba(255,255,255,0.050);
  border-top: 1px solid rgba(255,255,255,0.050);
}
}
.sv-tip-pop:before { right: 14px; }
.sv-disclose-pop:before { left: 20px; }


.sv-tip-pop-head,
.sv-gi-card .sv-tip-pop-head,
.sv-disclose-pop-head {
.sv-skill-card .sv-tip-pop-head
{
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   justify-content: space-between;
   justify-content: space-between;
   gap: 10px;
   padding: 10px 12px;
   margin-bottom: 6px;
   border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
}
}


.sv-tip-pop-title,
.sv-gi-card .sv-tip-pop-title,
.sv-disclose-pop-title {
.sv-skill-card .sv-tip-pop-title
{
   font-weight: 900;
   font-weight: 900;
   font-size: 12px;
   font-size: 13px;
   letter-spacing: 0.10em;
   letter-spacing: 0.2px;
  text-transform: uppercase;
   color: rgba(245,250,255,0.96);
   color: rgba(255,255,255,0.62);
}
}


.sv-tip-pop-hint,
.sv-gi-card .sv-tip-pop-hint,
.sv-disclose-pop-hint {
.sv-skill-card .sv-tip-pop-hint
{
   font-size: 12px;
   font-size: 12px;
   color: rgba(255,255,255,0.50);
   color: rgba(210,224,245,0.65);
}
}


.sv-tip-pop-body {
.sv-gi-card .sv-tip-pop-body,
   color: rgba(255,255,255,0.82);
.sv-skill-card .sv-tip-pop-body
   font-size: 12px;
{
   line-height: 1.35;
   padding: 10px 12px;
   font-size: 13px;
   color: rgba(230,244,255,0.86);
}
}
.sv-tip-pop-body ul { margin: 8px 0 0; padding-left: 18px; }
.sv-tip-pop-body li { margin: 6px 0; }


/* ----------------------------------------------------------------------------
/* ----------------------------------------------------------------------------
   META (SEGMENTED STRIP)
   META ROW GRID (pills)
---------------------------------------------------------------------------- */
---------------------------------------------------------------------------- */


.sv-skill-meta {
.sv-skill-meta
  margin-top: 10px;
{
   display: grid;
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: 0;
   gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.050);
   margin: 6px 0 10px;
   border-bottom: 1px solid rgba(255,255,255,0.050);
}
}


.sv-meta-card {
.sv-skill-meta .sv-pill
   min-height: 52px;
{
   display: grid;
   justify-content: center;
  grid-template-columns: 40px 1fr;
   width: 100%;
   align-items: center;
}
   padding: 5px 6px;
 
   border-right: 1px solid rgba(255,255,255,0.050);
/* ----------------------------------------------------------------------------
  META CARD (icon + text)
---------------------------------------------------------------------------- */
 
.sv-gi-card .sv-meta-card,
.sv-skill-card .sv-meta-card
{
  display: flex;
   align-items: flex-start;
  gap: 10px;
   padding: 10px 10px;
   border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.055);
  background: rgba(255,255,255,0.03);
  margin: 6px 0 10px;
}
}
.sv-meta-card:nth-child(4) { border-right: none; }


.sv-meta-icon {
.sv-gi-card .sv-meta-icon,
.sv-skill-card .sv-meta-icon
{
   width: 34px;
   width: 34px;
   height: 34px;
   height: 34px;
   border-radius: 10px;
   border-radius: 12px;
   background: rgba(255,255,255,0.04);
   border: 1px solid rgba(255,255,255,0.05);
   border: 1px solid rgba(255,255,255,0.050);
   background: rgba(0,0,0,0.16);
   box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
   display: flex;
  align-items: center;
  justify-content: center;
   overflow: hidden;
   overflow: hidden;
}
}


.sv-meta-textwrap {
.sv-gi-card .sv-meta-icon img,
   display: flex;
.sv-skill-card .sv-meta-icon img
   align-items: center;
{
   justify-content: center;
   width: 100%;
  height: 100%;
   object-fit: cover;
   display: block;
}
 
.sv-gi-card .sv-meta-textwrap,
.sv-skill-card .sv-meta-textwrap
{
  flex: 1 1 auto;
   min-width: 0;
   min-width: 0;
}
}


.sv-meta-text {
.sv-gi-card .sv-meta-text,
   font-weight: 700;
.sv-skill-card .sv-meta-text
{
   font-size: 13px;
  color: rgba(232,244,255,0.86);
}
 
.sv-gi-card .sv-meta-lines span,
.sv-skill-card .sv-meta-lines span
{
  display: inline-block;
  margin-right: 10px;
  color: rgba(210,224,245,0.72);
   font-size: 12px;
   font-size: 12px;
  line-height: 1.12;
  letter-spacing: 0.14px;
  color: rgba(235,244,255,0.92);
  text-align: center;
  word-wrap: break-word;
}
}
.sv-meta-lines span { display: block; }


/* ----------------------------------------------------------------------------
/* ----------------------------------------------------------------------------
   REQUIREMENTS / USERS (COMPACT, CENTERED, SHRINK-TO-FIT)
   REQUIREMENTS / DISCLOSURES (PHASE 4.1)
---------------------------------------------------------------------------- */
---------------------------------------------------------------------------- */


.sv-reqrow {
.sv-gi-card .sv-reqrow,
  margin: 6px 0;
.sv-skill-card .sv-reqrow
  display: flex;
{
  justify-content: center;
   margin: 6px 0 10px;
  align-items: center;
  gap: 10px;
}
 
.sv-reqrow > * {
   flex: 0 1 140px;
  max-width: 140px;
  min-width: 0;
}
}


.sv-reqrow > *:only-child {
.sv-gi-card .sv-disclose,
   flex: 0 1 280px;
.sv-skill-card .sv-disclose
  max-width: 280px;
{
   position: relative;
}
}


.sv-disclose { position: relative; }
.sv-gi-card .sv-disclose-btn,
.sv-disclose > summary { cursor: pointer; }
.sv-skill-card .sv-disclose-btn
 
{
.sv-disclose > summary,
   display: inline-flex;
.sv-disclose-btn {
   width: 100%;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.050);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  display: flex;
   align-items: center;
   align-items: center;
   justify-content: center;
   gap: 8px;
   gap: 6px;
   padding: 7px 10px;
   text-align: center;
   border-radius: 999px;
   color: rgba(235,244,255,0.92);
   border: 1px solid rgba(255,255,255,0.06);
   font-weight: 700;
   background: rgba(255,255,255,0.04);
  cursor: pointer;
   font-size: 12px;
   font-size: 12px;
   letter-spacing: 0.2px;
   color: rgba(235,244,255,0.86);
}
}


.sv-disclose-count {
.sv-gi-card .sv-disclose-btn:hover,
   color: rgba(255,255,255,0.70);
.sv-skill-card .sv-disclose-btn:hover
  font-weight: 900;
{
  font-size: 12px;
   background: rgba(255,255,255,0.06);
}
}


/* Requirements/Users list */
.sv-gi-card .sv-disclose-label,
.sv-disclose-list {
.sv-skill-card .sv-disclose-label
  margin: 0;
{
  padding-left: 18px;
   font-weight: 800;
  color: rgba(255,255,255,0.82);
   font-size: 12px;
  line-height: 1.35;
}
}
.sv-disclose-list li { margin: 6px 0; }


/* ----------------------------------------------------------------------------
.sv-gi-card .sv-disclose-count,
  LEVEL + SCALING + CORE (ONE GROUPED BUBBLE)
.sv-skill-card .sv-disclose-count
---------------------------------------------------------------------------- */
{
 
   font-weight: 900;
.sv-skill-level {
   opacity: 0.9;
   margin-top: 10px;
   padding: 6px 10px 6px;
  border-radius: 12px 12px 0 0;
  border-bottom: 0;
}
}


.sv-skill-scaling { margin-top: 0; }
.sv-gi-card .sv-disclose-pop,
.sv-skill-core { margin-top: 0; }
.sv-skill-card .sv-disclose-pop
 
{
.sv-scaling-row {
  display: block;
   border-radius: 0;
  position: absolute;
   border-top: 0;
  z-index: 40;
   border-bottom: 0;
  top: 34px;
}
  right: 0;
 
  width: 420px;
.sv-core-row {
  max-width: 92vw;
   border-radius: 0 0 12px 12px;
   border-radius: 16px;
   border-top: 0;
   border: 1px solid rgba(255,255,255,0.08);
   background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)), rgba(10, 14, 24, 0.92);
   box-shadow: 0 18px 40px rgba(0,0,0,0.60);
   overflow: hidden;
}
}


.sv-level-ui {
.sv-gi-card .sv-disclose-pop-head,
  width: 100%;
.sv-skill-card .sv-disclose-pop-head
{
   display: flex;
   display: flex;
  flex-direction: column;
  gap: 4px;
   align-items: center;
   align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
}
}


.sv-level-label {
.sv-gi-card .sv-disclose-pop-title,
   width: 100%;
.sv-skill-card .sv-disclose-pop-title
  text-align: center;
{
   font-weight: 800;
   font-weight: 900;
   opacity: 0.95;
   font-size: 13px;
  font-size: 14px;
   letter-spacing: 0.2px;
   white-space: nowrap;
   color: rgba(245,250,255,0.96);
}
}


.sv-level-label br { display: none; }
.sv-gi-card .sv-disclose-pop-hint,
.sv-skill-card .sv-disclose-pop-hint
{
  font-size: 12px;
  color: rgba(210,224,245,0.65);
}


.sv-level-label span,
.sv-gi-card .sv-disclose-list,
.sv-level-label b,
.sv-skill-card .sv-disclose-list
.sv-level-label strong,
{
.sv-level-label em,
   padding: 10px 12px 12px;
.sv-level-label i {
  margin: 0;
   display: inline;
   list-style: none;
   white-space: nowrap;
  font-size: 13px;
  color: rgba(230,244,255,0.86);
}
}


.sv-level-slider {
.sv-gi-card .sv-disclose-list li,
   width: 100%;
.sv-skill-card .sv-disclose-list li
  display: flex;
{
   justify-content: center;
   padding: 6px 0;
   border-bottom: 1px solid rgba(255,255,255,0.05);
}
}


/* Slider + Optional “additional controls” support:
.sv-gi-card .sv-disclose-list li:first-child,
  - supports a native <input type="range"> if present
.sv-skill-card .sv-disclose-list li:first-child
  - supports optional +/- buttons if Lua/JS emits them
{
  - keeps the custom track/thumb version working */
   padding-top: 0;
.sv-level-controls {
  width: 100%;
  display: flex;
  align-items: center;
   justify-content: center;
  gap: 8px;
}
}


.sv-level-step {
.sv-gi-card .sv-disclose-group-title,
  width: 34px;
.sv-skill-card .sv-disclose-group-title
  height: 26px;
{
  border-radius: 10px;
   margin: 8px 0 6px;
  border: 1px solid rgba(255,255,255,0.060);
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
   color: rgba(235,244,255,0.92);
   font-weight: 900;
   font-weight: 900;
   font-size: 14px;
   font-size: 12px;
   line-height: 26px;
   color: rgba(210,224,245,0.85);
  text-align: center;
  cursor: pointer;
}
}


.sv-level-step:hover { background: rgba(255,255,255,0.09); }
/* ----------------------------------------------------------------------------
  LEVEL UI (slider)
---------------------------------------------------------------------------- */
 
.sv-gi-card .sv-level-ui,
.sv-skill-card .sv-level-ui
{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 8px;
}


.sv-level-range {
.sv-gi-card .sv-level-label,
   width: 100%;
.sv-skill-card .sv-level-label
   max-width: 560px;
{
   font-weight: 900;
   font-size: 12px;
  color: rgba(210,224,245,0.85);
}
}


.sv-level-range input[type="range"] {
.sv-gi-card .sv-level-num,
   width: 100%;
.sv-skill-card .sv-level-num
   margin: 0;
{
  background: transparent;
   font-weight: 900;
   color: rgba(245,250,255,0.96);
}
}


.sv-level-range--custom {
.sv-gi-card .sv-level-slider,
  display: block;
.sv-skill-card .sv-level-slider
{
   position: relative;
   position: relative;
  width: 100%;
   height: 14px;
  max-width: 560px;
  margin: 0 auto;
 
   height: 22px;
   border-radius: 999px;
   border-radius: 999px;
 
   background: rgba(255,255,255,0.04);
   border: 0;
   border: 1px solid rgba(255,255,255,0.06);
   background: transparent;
   overflow: hidden;
   cursor: pointer;
}
}


.sv-level-track {
.sv-gi-card .sv-level-track,
.sv-skill-card .sv-level-track
{
   position: absolute;
   position: absolute;
   left: 0;
   left: 0;
   right: 0;
   top: 0;
   top: 50%;
   bottom: 0;
  margin-top: -5px;
   width: 100%;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.050);
   background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04)),
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent 10.8%,
      rgba(255,255,255,0.28) 10.8%,
      rgba(255,255,255,0.28) 11.11%
    );
  overflow: hidden;
}
}


.sv-level-fill {
.sv-gi-card .sv-level-fill,
   display: block;
.sv-skill-card .sv-level-fill
   height: 100%;
{
   position: absolute;
  left: 0;
  top: 0;
   bottom: 0;
   width: 0%;
   width: 0%;
  border-radius: 999px;
   background: rgba(96,165,250,0.50);
   background: linear-gradient(90deg, rgba(170,220,255,0.35), rgba(255,255,255,0.12));
}
}


.sv-level-thumb {
.sv-gi-card .sv-level-thumb,
.sv-skill-card .sv-level-thumb
{
   position: absolute;
   position: absolute;
  left: 0%;
   top: 50%;
   top: 50%;
   margin-top: -9px;
   transform: translate(-50%, -50%);
  margin-left: -9px;
   width: 18px;
   width: 18px;
   height: 18px;
   height: 18px;
   border-radius: 999px;
   border-radius: 999px;
   background: rgba(255,255,255,0.92);
   background: rgba(245,250,255,0.92);
   border: 1px solid rgba(0,0,0,0.35);
   border: 1px solid rgba(0,0,0,0.35);
   box-shadow: 0 6px 14px rgba(0,0,0,0.35);
   box-shadow: 0 8px 18px rgba(0,0,0,0.45);
}
}


.sv-level-ticklabels {
.sv-gi-card .sv-level-range,
  display: flex;
.sv-skill-card .sv-level-range
  justify-content: space-between;
{
  margin-top: 4px;
  padding: 0 2px;
 
   width: 100%;
   width: 100%;
  max-width: 560px;
   margin: 0;
  margin-left: auto;
   background: transparent;
   margin-right: auto;
   height: 18px;
 
  font-size: 12px;
  color: rgba(255,255,255,0.65);
   font-weight: 800;
   line-height: 1.1;
}
}
.sv-level-ticklabels span { min-width: 1ch; text-align: center; }


/* ----------------------------------------------------------------------------
.sv-gi-card .sv-level-range--custom,
  SKILL SCALING
.sv-skill-card .sv-level-range--custom
---------------------------------------------------------------------------- */
{
 
  display: block;
.sv-scaling-row { overflow: hidden; }
  width: 100%;
 
  opacity: 0;
.sv-scaling-grid {
   position: absolute;
   display: grid;
   inset: 0;
   grid-template-columns: 1fr 1fr 1.35fr;
   cursor: pointer;
   gap: 0;
}
}


.sv-scaling-col {
.sv-gi-card .sv-level-range--custom:focus,
  padding: 10px 10px 8px;
.sv-skill-card .sv-level-range--custom:focus
  min-width: 0;
{
}
   outline: none;
.sv-scaling-col + .sv-scaling-col {
   border-left: 1px solid rgba(255,255,255,0.050);
}
}


.sv-scaling-value {
.sv-gi-card .sv-level-ticklabels,
  font-weight: 800;
.sv-skill-card .sv-level-ticklabels
  font-size: 15px;
{
  line-height: 1.05;
   display: flex;
  color: rgba(235,244,255,0.92);
   justify-content: space-between;
  text-align: center;
   gap: 8px;
  word-wrap: break-word;
   font-size: 11px;
}
   margin-top: 6px;
 
   color: rgba(210,224,245,0.65);
.sv-scaling-label {
   margin-top: 4px;
  font-weight: 800;
  font-size: 12px;
   letter-spacing: 0.12em;
  text-transform: uppercase;
   color: rgba(255,255,255,0.62);
  text-align: center;
}
 
.sv-scaling-list { display: grid; gap: 4px; }
.sv-scaling-item {
  font-weight: 800;
   font-size: 12px;
   line-height: 1.15;
   color: rgba(255,255,255,0.82);
  text-align: center;
  word-wrap: break-word;
}
}


/* ----------------------------------------------------------------------------
/* ----------------------------------------------------------------------------
   CORE STATS
   CORE GRID
---------------------------------------------------------------------------- */
---------------------------------------------------------------------------- */


.sv-core-row { overflow: hidden; }
.sv-gi-card .sv-core-grid,
 
.sv-skill-card .sv-core-grid
.sv-core-grid {
{
   display: grid;
   display: grid;
   grid-template-columns: 1fr 1.25fr 1.25fr 1fr 1fr 1.25fr;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: 0;
   gap: 8px;
  margin: 8px 0 10px;
}
}


.sv-core-cell {
.sv-gi-card .sv-core-cell,
   padding: 5px;
.sv-skill-card .sv-core-cell
{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.055);
  background: rgba(255,255,255,0.03);
   padding: 10px 10px;
   min-width: 0;
   min-width: 0;
  overflow: hidden;
}
.sv-core-cell + .sv-core-cell {
  border-left: 1px solid rgba(255,255,255,0.050);
}
}


.sv-core-top {
.sv-gi-card .sv-core-top,
.sv-skill-card .sv-core-top
{
   display: flex;
   display: flex;
   align-items: baseline;
   align-items: baseline;
   justify-content: center;
   justify-content: space-between;
   gap: 6px;
   gap: 8px;
  margin-bottom: 6px;
}
}


.sv-core-num {
.sv-gi-card .sv-core-label,
   font-weight: 800;
.sv-skill-card .sv-core-label
   font-size: 15px;
{
  line-height: 1.05;
   font-weight: 900;
   color: rgba(235,244,255,0.92);
   font-size: 12px;
  word-wrap: break-word;
   color: rgba(210,224,245,0.85);
}
}


.sv-core-unit {
.sv-gi-card .sv-core-label--tight,
  font-weight: 800;
.sv-skill-card .sv-core-label--tight
  font-size: 12px;
{
  color: rgba(255,255,255,0.75);
   letter-spacing: 0;
   letter-spacing: 0.02em;
}
}


.sv-core-label {
.sv-gi-card .sv-core-num,
  margin-top: 4px;
.sv-skill-card .sv-core-num
   font-weight: 800;
{
   font-size: 12px;
   font-weight: 900;
  letter-spacing: 0.06em;
   font-size: 13px;
  text-transform: uppercase;
   color: rgba(245,250,255,0.96);
   color: rgba(255,255,255,0.62);
  text-align: center;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
}
}
.sv-core-label--tight { letter-spacing: 0.03em; }


/* ----------------------------------------------------------------------------
.sv-gi-card .sv-core-unit,
  TABS
.sv-skill-card .sv-core-unit
---------------------------------------------------------------------------- */
{
 
   font-size: 11px;
.sv-skill-tabs { margin-top: 10px; }
   color: rgba(210,224,245,0.65);
.sv-tabs { overflow: hidden; }
 
.sv-tabs-list {
   display: grid;
  grid-template-columns: repeat(4, 1fr);
   gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.050);
}
}


.sv-tab {
.sv-gi-card .sv-core-row,
  border: 0;
.sv-skill-card .sv-core-row
  margin: 0;
{
   padding: 10px 8px;
   display: flex;
 
   align-items: baseline;
   background: transparent;
   justify-content: space-between;
   color: rgba(255,255,255,0.78);
   gap: 10px;
 
   font-weight: 800;
   font-size: 12px;
   font-size: 12px;
   letter-spacing: 0.06em;
   color: rgba(230,244,255,0.80);
  text-transform: uppercase;
 
  cursor: pointer;
  line-height: 1.05;
 
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}
}
.sv-tab + .sv-tab { border-left: 1px solid rgba(255,255,255,0.050); }
.sv-tab[aria-selected="true"] {
  color: rgba(235,244,255,0.92);
  background:
    radial-gradient(600px 220px at 50% 0, rgba(96,165,250,0.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.sv-tabs-panels { padding: 10px 10px 12px; }
.sv-tabpanel { display: none; }
.sv-tabpanel[data-active="1"] { display: block; }


/* ----------------------------------------------------------------------------
/* ----------------------------------------------------------------------------
   KEYWORDS TAB (Mechanics-style bubbles + 3-col)
   KEYWORDS GRID
---------------------------------------------------------------------------- */
---------------------------------------------------------------------------- */


.sv-tab-pills {
.sv-gi-card .sv-kw-grid,
.sv-skill-card .sv-kw-grid
{
   display: grid;
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   grid-template-columns: 1fr;
   gap: 8px;
   gap: 8px;
   justify-content: center;
   margin: 8px 0 10px;
}
}


.sv-pill {
.sv-gi-card .sv-kw-cell,
  display: flex;
.sv-skill-card .sv-kw-cell
  align-items: center;
{
  justify-content: center;
   border-radius: 16px;
  gap: 8px;
   border: 1px solid rgba(255,255,255,0.055);
 
  padding: 6px 8px;
   border-radius: 12px;
   border: 1px solid rgba(255,255,255,0.050);
   background: rgba(255,255,255,0.03);
   background: rgba(255,255,255,0.03);
  padding: 10px 10px;
}


  color: rgba(235,244,255,0.92);
.sv-gi-card .sv-kw-label,
   font-weight: 800;
.sv-skill-card .sv-kw-label
   font-size: 15px;
{
   line-height: 1.05;
   font-weight: 900;
   font-size: 12px;
   color: rgba(210,224,245,0.85);
  margin-bottom: 6px;
}


   text-align: center;
.sv-gi-card .sv-kw-value,
   white-space: normal;
.sv-skill-card .sv-kw-value
   word-wrap: break-word;
{
   display: flex;
   flex-wrap: wrap;
   gap: 6px;
}
}


/* ----------------------------------------------------------------------------
/* ----------------------------------------------------------------------------
   MECHANICS GRID (value-on-top like Core) + ~20% shorter tiles
   TABS (Phase 4.1)
---------------------------------------------------------------------------- */
---------------------------------------------------------------------------- */


.sv-kw-root { display: grid; gap: 10px; }
.sv-tabs
{
  margin: 10px 0 8px;
}


.sv-kw-grid {
.sv-tabs-list
   display: grid;
{
  grid-template-columns: repeat(3, 1fr);
   display: flex;
   gap: 8px;
   gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
}


.sv-kw-cell {
.sv-gi-card .sv-tab,
  border-radius: 12px;
.sv-skill-card .sv-tab
  border: 1px solid rgba(255,255,255,0.050);
{
  background: rgba(255,255,255,0.03);
   display: inline-flex;
  padding: 6px 8px 6px;
   align-items: center;
  min-width: 0;
 
   display: flex;
   flex-direction: column;
   justify-content: center;
   justify-content: center;
   gap: 4px;
   padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  font-size: 12px;
  color: rgba(235,244,255,0.86);
}
}


.sv-kw-label {
.sv-gi-card .sv-tab:hover,
  order: 2;
.sv-skill-card .sv-tab:hover
 
{
  font-weight: 800;
   background: rgba(255,255,255,0.06);
  font-size: 12px;
}
  letter-spacing: 0.06em;
  text-transform: uppercase;
   color: rgba(255,255,255,0.62);
  text-align: center;
  line-height: 1.05;


   white-space: nowrap;
.sv-gi-card .sv-tab[aria-selected="true"],
   overflow: hidden;
.sv-skill-card .sv-tab[aria-selected="true"]
{
   background: rgba(96,165,250,0.22);
   border-color: rgba(96,165,250,0.35);
}
}


.sv-kw-value {
.sv-tabpanel
  order: 1;
{
 
   margin-top: 6px;
   margin-top: 0;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.05;
 
  color: rgba(235,244,255,0.92);
  text-align: center;
  word-wrap: break-word;
}
}


/* ----------------------------------------------------------------------------
/* ----------------------------------------------------------------------------
   EFFECTS / EVENTS (CARD GRID)
   REFERENCES GRID
---------------------------------------------------------------------------- */
---------------------------------------------------------------------------- */


.sv-ref-grid {
.sv-gi-card .sv-ref-grid,
.sv-skill-card .sv-ref-grid
{
   display: grid;
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 10px;
   gap: 8px;
  margin: 8px 0 10px;
}
}


.sv-ref-card {
.sv-gi-card .sv-ref-card,
  position: relative;
.sv-skill-card .sv-ref-card
  display: grid;
{
  grid-template-columns: 56px 1fr;
   border-radius: 16px;
  gap: 12px;
   border: 1px solid rgba(255,255,255,0.055);
  align-items: center;
 
  padding: 12px 12px 11px;
   border-radius: 14px;
   border: 1px solid rgba(255,255,255,0.050);
   background: rgba(255,255,255,0.03);
   background: rgba(255,255,255,0.03);
   box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
   padding: 10px 10px;
 
  min-height: 86px;
  color: rgba(235,244,255,0.92);
  text-decoration: none;
}
 
.sv-ref-card:hover { background: rgba(255,255,255,0.045); }
 
.sv-ref-ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.050);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
 
.sv-ref-text { min-width: 0; }
 
.sv-ref-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
   min-width: 0;
   min-width: 0;
}
}


.sv-ref-title {
.sv-gi-card .sv-ref-title,
.sv-skill-card .sv-ref-title
{
   font-weight: 900;
   font-weight: 900;
   font-size: 12px;
   font-size: 12px;
   line-height: 1.05;
   color: rgba(210,224,245,0.85);
   word-wrap: break-word;
   margin-bottom: 6px;
}
}


.sv-ref-inline {
.sv-gi-card .sv-ref-text,
  font-weight: 900;
.sv-skill-card .sv-ref-text
{
   font-size: 12px;
   font-size: 12px;
   line-height: 1.05;
   color: rgba(230,244,255,0.80);
   color: rgba(235,244,255,0.92);
}
   white-space: nowrap;
 
.sv-gi-card .sv-ref-sub,
.sv-skill-card .sv-ref-sub
{
  font-size: 11px;
   color: rgba(210,224,245,0.65);
   margin-top: 4px;
}
}


.sv-ref-title-row--stacked {
.sv-gi-card .sv-ref-stats,
   flex-direction: column;
.sv-skill-card .sv-ref-stats
   align-items: flex-start;
{
  justify-content: flex-start;
   display: flex;
   flex-wrap: wrap;
   gap: 6px;
   gap: 6px;
  margin-top: 6px;
}
}
.sv-ref-title-row--stacked .sv-ref-inline {
 
.sv-gi-card .sv-ref-stat,
.sv-skill-card .sv-ref-stat
{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.050);
  background: rgba(255, 255, 255, 0.04);
   font-size: 12px;
   font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
}


.sv-ref-stats {
.sv-gi-card .sv-ref-ico,
   margin-top: 6px;
.sv-skill-card .sv-ref-ico
   display: flex;
{
   justify-content: space-evenly;
   width: 16px;
   gap: 14px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.12);
   display: inline-flex;
  align-items: center;
   justify-content: center;
   font-size: 11px;
   font-weight: 900;
   font-weight: 900;
  font-size: 12px;
  color: rgba(235,244,255,0.92);
}
}
.sv-ref-stat { white-space: nowrap; }
.sv-ref-pop { display: none; }
.sv-ref-card:hover .sv-ref-pop { display: block; }


/* ----------------------------------------------------------------------------
/* ----------------------------------------------------------------------------
   RESPONSIVE (Project Standard)
   RESPONSIVE
  Desktop: > 850
  Tablet:  849–501
  Mobile:  <= 500
---------------------------------------------------------------------------- */
---------------------------------------------------------------------------- */


/* Tablet */
@media (max-width: 720px) {
@media (max-width: 849px) {
.sv-gi-card,
  .sv-gi-card,
.sv-skill-card
  .sv-skill-card {
{
     margin: 14px 10px;
     margin: 14px 10px;
     border-radius: 20px;
     border-radius: 20px;
   }
   }


  .sv-gi-top,
.sv-gi-top,
  .sv-skill-top {
.sv-skill-top
{
     padding: 12px 12px 4px;
     padding: 12px 12px 4px;
     border-radius: 20px 20px 0 0;
     border-radius: 20px 20px 0 0;
   }
   }


  .sv-gi-bottom,
.sv-gi-bottom,
  .sv-skill-bottom {
.sv-skill-bottom
{
     padding: 10px 12px 12px;
     padding: 10px 12px 12px;
     border-radius: 0 0 20px 20px;
     border-radius: 0 0 20px 20px;
   }
   }


  /* Header icon shrinks slightly for tablet */
.sv-skill-title
  .sv-skill-head {
{
     grid-template-columns: 84px 1fr;
     font-size: 20px;
    gap: 12px;
   }
   }
  .sv-skill-icon {
 
     width: 84px;
.sv-skill-meta
    height: 84px;
{
    border-radius: 12px;
     grid-template-columns: repeat(2, minmax(0, 1fr));
   }
   }
  .sv-skill-desc {
    font-size: 17px;
  }
  /* Meta becomes 2x2 segmented */
  .sv-skill-meta { grid-template-columns: repeat(2, 1fr); }


  .sv-meta-card {
.sv-gi-card .sv-core-grid,
    border-right: 1px solid rgba(255,255,255,0.050);
.sv-skill-card .sv-core-grid
     border-bottom: 1px solid rgba(255,255,255,0.050);
{
     grid-template-columns: repeat(2, minmax(0, 1fr));
   }
   }
  .sv-meta-card:nth-child(2),
  .sv-meta-card:nth-child(4) { border-right: none; }
  .sv-meta-card:nth-child(3),
  .sv-meta-card:nth-child(4) { border-bottom: none; }
  .sv-tab { padding: 8px 6px; }
  .sv-tabs-panels { padding: 9px 9px 10px; }


  /* Keep level slider full-width even on tablet */
.sv-gi-card .sv-ref-grid,
  .sv-level-range--custom,
.sv-skill-card .sv-ref-grid
  .sv-level-ticklabels {
{
     max-width: 520px;
     grid-template-columns: 1fr;
   }
   }
}
}


/* Mobile */
@media (max-width: 520px) {
@media (max-width: 500px) {
.sv-skill-head
 
{
  /* ========================================================================
     flex-direction: row;
    MOBILE: NO TRANSPARENCY (SOLID COLORS ONLY)
     align-items: flex-start;
    - Card slightly brighter than before
    - ALL bubbles/panels standardized to the same solid surface
    - Dividers/gridlines solid + visible
    - Tabs more visible
    ======================================================================== */
 
  /* Card background (solid) */
  .sv-skill-card,
  .sv-gi-card {
     background-color: #162a4e !important;
    background-image: none !important;
 
    border: 1px solid #3f587a !important;
    box-shadow: 0 16px 34px #000000 !important;
 
    color: #f5faff !important;
  }
 
  /* Standard surface for EVERY box/bubble/panel */
  .sv-skill-level,
  .sv-scaling-row,
  .sv-core-row,
  .sv-tabs,
  .sv-kw-cell,
  .sv-pill,
  .sv-ref-card,
  .sv-disclose > summary,
  .sv-disclose-btn,
  .sv-meta-card,
  .sv-meta-icon {
    background: #3a5476 !important;      /* ONE standardized surface color */
    border: 1px solid #556f92 !important; /* ONE standardized border color */
    box-shadow: none !important;
  }
 
  /* Dividers / gridlines (solid) */
  .sv-skill-meta,
  .sv-scaling-col + .sv-scaling-col,
  .sv-core-cell + .sv-core-cell,
  .sv-tabs-list,
  .sv-tab + .sv-tab,
  .sv-meta-card,
  .sv-core-cell,
  .sv-scaling-col {
    border-color: #506a8d !important;
  }
 
  /* Tabs: visible by default + stronger selected */
  .sv-tab {
    background: #355170 !important;
     color: #f8fbff !important;
  }
 
  .sv-tab[aria-selected="true"] {
    background: #4a6a8e !important;
    color: #ffffff !important;
    box-shadow: none !important;
  }
 
  /* Secondary label tone (solid) */
  .sv-scaling-label,
  .sv-core-label,
  .sv-kw-label,
  .sv-tip-pop-title,
  .sv-disclose-pop-title {
    color: #e6eef8 !important;
   }
   }


  /* Slider: brighten everything (solid) */
.sv-skill-icon
  .sv-level-range--custom {
{
     background: none !important;
     width: 56px;
     border: 0 !important;
    height: 56px;
     border-radius: 14px;
   }
   }


  .sv-level-track {
.sv-skill-desc
    border: 1px solid #6b86aa !important;
{
    background: #4a6a8e !important; /* solid track */
     font-size: 14px;
  }
 
  .sv-level-fill {
    background: #8fd3ff !important; /* solid fill */
  }
 
  .sv-level-thumb {
    background: #ffffff !important;
    border: 1px solid #0a0f18 !important;
    box-shadow: none !important;
  }
 
  .sv-level-ticklabels {
    color: #eaf2fb !important;
  }
 
  /* ------------------------------------------------------------------------
    KEEP YOUR EXISTING MOBILE LAYOUT RULES (structure)
    ------------------------------------------------------------------------ */
 
  .sv-skill-head { grid-template-columns: 68px 1fr; gap: 10px; }
  .sv-skill-icon { width: 68px; height: 68px; border-radius: 12px; }
 
  .sv-skill-title { font-size: 18px; }
  .sv-skill-desc { font-size: 15px; line-height: 1.28; }
 
  .sv-skill-title-row {
     display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 10px;
    row-gap: 6px;
    align-items: start;
  }
 
  .sv-meta-card { min-height: 44px; padding: 4px 6px; }
  .sv-meta-icon { width: 28px; height: 28px; border-radius: 9px; }
  .sv-meta-text { font-size: 12px; line-height: 1.10; }
 
  .sv-reqrow { gap: 8px; }
  .sv-reqrow > * { flex: 0 1 120px; max-width: 120px; }
  .sv-reqrow > *:only-child { flex: 0 1 240px; max-width: 240px; }
 
  .sv-disclose-pop { left: auto; right: 0; max-width: 92%; }
 
  .sv-level-label { font-size: 13px; }
  .sv-level-range--custom { height: 22px; }
 
  .sv-level-track { left: 8px; right: 8px; }
 
  .sv-level-thumb {
    width: 16px;
    height: 16px;
    margin-top: -8px;
    margin-left: -8px;
  }
 
  .sv-scaling-grid { grid-template-columns: 1fr 1fr; }
 
  .sv-scaling-col--damage {
    grid-column: 1;
    grid-row: 1;
    border-right: 1px solid #506a8d;
   }
   }


  .sv-scaling-col--modifier {
.sv-gi-card .sv-tip-pop,
    grid-column: 1;
.sv-skill-card .sv-tip-pop,
    grid-row: 2;
.sv-gi-card .sv-disclose-pop,
     border-top: 1px solid #506a8d;
.sv-skill-card .sv-disclose-pop
     border-right: 1px solid #506a8d;
{
     right: 0;
     width: 92vw;
   }
   }


  .sv-scaling-col--scaling {
.sv-gi-card .sv-core-grid,
    grid-column: 2;
.sv-skill-card .sv-core-grid
    grid-row: 1 / span 2;
{
    display: flex;
     grid-template-columns: 1fr;
     align-items: center;
    justify-content: center;
   }
   }
  .sv-core-grid { grid-template-columns: repeat(3, 1fr); }
  .sv-core-cell { border-left: 0; border-top: 1px solid #506a8d; }
  .sv-core-cell:nth-child(-n+3) { border-top: 0; }
  .sv-core-cell:nth-child(3n+2),
  .sv-core-cell:nth-child(3n+3) { border-left: 1px solid #506a8d; }
  .sv-tabs-list { grid-template-columns: repeat(2, 1fr); }
  .sv-tab { padding: 9px 6px; }
  .sv-tab + .sv-tab { border-left: 1px solid #506a8d; }
  .sv-tab:nth-child(2n+1) { border-left: 0; }
  .sv-tab:nth-child(n+3) { border-top: 1px solid #506a8d; }
  .sv-kw-grid { grid-template-columns: repeat(2, 1fr); }
  .sv-tab-pills { grid-template-columns: repeat(2, 1fr); }
  .sv-pill { font-size: 14px; }
  .sv-ref-grid { grid-template-columns: 1fr; }
  .sv-ref-card { grid-template-columns: 52px 1fr; }
  .sv-ref-ico { width: 52px; height: 52px; border-radius: 13px; }
  .sv-level-range--custom,
  .sv-level-ticklabels { max-width: 100%; }
}
/* --------------------------------------------------------------------------
  PATCH: Level selector final lockdown (wins even if markup uses spans/inline)
--------------------------------------------------------------------------- */
.sv-skill-card .sv-skill-level,
.sv-skill-card .sv-level-ui,
.sv-skill-card .sv-level-controls,
.sv-skill-card .sv-level-range,
.sv-skill-card .sv-level-slider,
.sv-skill-card .sv-level-range--custom,
.sv-skill-card .sv-level-ticklabels {
  width: 100% !important;
}
.sv-skill-card .sv-level-slider {
  display: block !important;
}
.sv-skill-card .sv-level-range--custom {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.sv-skill-card .sv-level-label {
  white-space: nowrap !important;
}
.sv-skill-card .sv-level-label br {
  display: none !important;
}
.sv-skill-card .sv-level-label span,
.sv-skill-card .sv-level-label b,
.sv-skill-card .sv-level-label strong,
.sv-skill-card .sv-level-label em,
.sv-skill-card .sv-level-label i {
  display: inline !important;
  white-space: nowrap !important;
}
/* --------------------------------------------------------------------------
  PATCH: Remove click highlight on the level scale
--------------------------------------------------------------------------- */
.sv-level-range--custom:focus {
  outline: none;
}
.sv-level-range--custom,
.sv-level-track,
.sv-level-fill,
.sv-level-thumb,
.sv-level-ticklabels {
  user-select: none;
}
}