Module:GameInfo/styles.css: Difference between revisions
From SpiritVale Wiki
More actions
No edit summary Tags: 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 */ | ||
/* GameInfo Box v1 — TemplateStyles-safe (no CSS vars / no var()) */ | /* GameInfo Box v1 — TemplateStyles-safe (no CSS vars / no var()) */ | ||
/* Phase 4.1 — Reuse | /* Phase 4.1 — Reuse + Theme Match + Mobile Opaque */ | ||
/* ---------------------------------------------------------------------------- | /* ---------------------------------------------------------------------------- | ||
LAYOUT (no theme colors here) | |||
---------------------------------------------------------------------------- */ | ---------------------------------------------------------------------------- */ | ||
| Line 12: | Line 12: | ||
margin: 18px auto; | margin: 18px auto; | ||
border-radius: 22px; | border-radius: 22px; | ||
border: 1px solid | border: 1px solid; | ||
overflow: visible; | overflow: visible; | ||
font-size: 15px; | font-size: 15px; | ||
line-height: 1.35; | line-height: 1.35; | ||
box-shadow: 0 16px 38px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08); | |||
} | } | ||
| Line 35: | Line 30: | ||
.sv-skill-bottom { | .sv-skill-bottom { | ||
padding: 10px 14px 12px; | padding: 10px 14px 12px; | ||
border-top: 1px solid | border-top: 1px solid; | ||
border-radius: 0 0 22px 22px; | border-radius: 0 0 22px 22px; | ||
} | } | ||
| Line 48: | Line 42: | ||
} | } | ||
/* Error capsule */ | |||
/* | |||
.sv-gi-error { | .sv-gi-error { | ||
max-width: 600px; | max-width: 600px; | ||
| Line 65: | Line 48: | ||
padding: 10px 12px; | padding: 10px 12px; | ||
border-radius: 14px; | border-radius: 14px; | ||
border: 1px solid | border: 1px solid; | ||
} | } | ||
/* Remove default details marker */ | |||
/* Remove default details marker | |||
.sv-gi-card summary, | .sv-gi-card summary, | ||
.sv-skill-card summary { | .sv-skill-card summary { | ||
list-style: none; | list-style: none; | ||
} | } | ||
/* NOTE: | |||
- .sv-hidden and [hidden] are now global in Common.css | |||
- .sv-miss is now global in Common.css | |||
- .sv-img is now global in Common.css | |||
- .sv-pill is now global in Common.css | |||
- Tabs + Disclosure are now global in Common.css | |||
*/ | |||
/* ---------------------------------------------------------------------------- | /* ---------------------------------------------------------------------------- | ||
ICON-TEXT HARDENING (prevents clipped link/text inside icon squares) | |||
---------------------------------------------------------------------------- */ | ---------------------------------------------------------------------------- */ | ||
| Line 114: | Line 98: | ||
} | } | ||
/* | /* Keep image shadow inside cards (global .sv-img handles rounding) */ | ||
*/ | |||
.sv-gi-card .sv-img img, | .sv-gi-card .sv-img img, | ||
.sv-skill-card .sv-img img { | .sv-skill-card .sv-img img { | ||
box-shadow: 0 10px 18px rgba(0,0,0,0. | box-shadow: 0 10px 18px rgba(0,0,0,0.25); | ||
} | } | ||
/* Focus | /* Focus outline (no markup change required) */ | ||
.sv-gi-card .sv-tip-btn:focus, | .sv-gi-card .sv-tip-btn:focus, | ||
.sv-skill-card .sv-tip-btn:focus, | .sv-skill-card .sv-tip-btn:focus, | ||
| Line 145: | Line 111: | ||
.sv-gi-card .sv-tab:focus, | .sv-gi-card .sv-tab:focus, | ||
.sv-skill-card .sv-tab:focus { | .sv-skill-card .sv-tab:focus { | ||
outline: 2px solid | outline: 2px solid; | ||
outline-offset: 2px; | outline-offset: 2px; | ||
} | } | ||
| Line 165: | Line 131: | ||
height: 64px; | height: 64px; | ||
border-radius: 16px; | border-radius: 16px; | ||
border: 1px solid | border: 1px solid; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
| Line 189: | Line 154: | ||
font-size: 22px; | font-size: 22px; | ||
line-height: 1.10; | line-height: 1.10; | ||
min-width: 0; | min-width: 0; | ||
word-wrap: break-word; | word-wrap: break-word; | ||
| Line 196: | Line 160: | ||
.sv-skill-desc { | .sv-skill-desc { | ||
margin-top: 6px; | margin-top: 6px; | ||
font-size: 14px; | font-size: 14px; | ||
line-height: 1.35; | line-height: 1.35; | ||
| Line 203: | Line 166: | ||
/* ---------------------------------------------------------------------------- | /* ---------------------------------------------------------------------------- | ||
NOTES TIP ( | NOTES TIP (module-owned for now) | ||
---------------------------------------------------------------------------- */ | ---------------------------------------------------------------------------- */ | ||
| Line 220: | Line 183: | ||
height: 28px; | height: 28px; | ||
border-radius: 999px; | border-radius: 999px; | ||
border: 1px solid | border: 1px solid; | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
.sv-gi-card .sv-tip-btn[aria-expanded="true"], | .sv-gi-card .sv-tip-btn[aria-expanded="true"], | ||
.sv-skill-card .sv-tip-btn[aria-expanded="true"] { | .sv-skill-card .sv-tip-btn[aria-expanded="true"] { | ||
border-color: inherit; | |||
border-color: | |||
} | } | ||
| Line 247: | Line 203: | ||
font-size: 12px; | font-size: 12px; | ||
line-height: 1; | line-height: 1; | ||
border: 1px solid; | |||
border: 1px solid | |||
} | } | ||
| Line 263: | Line 217: | ||
max-width: 92vw; | max-width: 92vw; | ||
border-radius: 16px; | border-radius: 16px; | ||
border: 1px solid | border: 1px solid; | ||
box-shadow: 0 18px 40px rgba(0,0,0,0.35); | |||
box-shadow: 0 18px 40px rgba(0,0,0,0. | |||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
| Line 277: | Line 228: | ||
justify-content: space-between; | justify-content: space-between; | ||
padding: 10px 12px; | padding: 10px 12px; | ||
border-bottom: 1px solid | border-bottom: 1px solid; | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
| Line 287: | Line 237: | ||
font-size: 13px; | font-size: 13px; | ||
letter-spacing: 0.2px; | letter-spacing: 0.2px; | ||
} | } | ||
| Line 293: | Line 242: | ||
.sv-skill-card .sv-tip-pop-hint { | .sv-skill-card .sv-tip-pop-hint { | ||
font-size: 12px; | font-size: 12px; | ||
} | } | ||
| Line 300: | Line 248: | ||
padding: 10px 12px; | padding: 10px 12px; | ||
font-size: 13px; | font-size: 13px; | ||
line-height: 1.4; | line-height: 1.4; | ||
word-wrap: break-word; | word-wrap: break-word; | ||
| Line 323: | Line 270: | ||
padding: 9px 10px; | padding: 9px 10px; | ||
border-radius: 16px; | border-radius: 16px; | ||
border: 1px solid | border: 1px solid; | ||
} | } | ||
| Line 333: | Line 279: | ||
height: 28px; | height: 28px; | ||
border-radius: 10px; | border-radius: 10px; | ||
border: 1px solid | border: 1px solid; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
| Line 356: | Line 301: | ||
.sv-skill-card .sv-meta-text { | .sv-skill-card .sv-meta-text { | ||
font-weight: 900; | font-weight: 900; | ||
font-size: 15px; | font-size: 15px; | ||
line-height: 1.10; | line-height: 1.10; | ||
| Line 370: | Line 314: | ||
/* ---------------------------------------------------------------------------- | /* ---------------------------------------------------------------------------- | ||
REQUIREMENTS / USERS ROW (layout | REQUIREMENTS / USERS ROW (layout only; disclosure component is global) | ||
---------------------------------------------------------------------------- */ | ---------------------------------------------------------------------------- */ | ||
| Line 386: | Line 330: | ||
min-width: 220px; | min-width: 220px; | ||
} | } | ||
/* ---------------------------------------------------------------------------- | /* ---------------------------------------------------------------------------- | ||
LEVEL SELECTOR (module-owned | LEVEL SELECTOR (module-owned) | ||
---------------------------------------------------------------------------- */ | ---------------------------------------------------------------------------- */ | ||
| Line 399: | Line 339: | ||
padding: 10px 12px; | padding: 10px 12px; | ||
border-radius: 16px; | border-radius: 16px; | ||
border: 1px solid | border: 1px solid; | ||
} | } | ||
| Line 413: | Line 352: | ||
.sv-gi-card .sv-level-label, | .sv-gi-card .sv-level-label, | ||
.sv-skill-card .sv-level-label | .sv-skill-card .sv-level-label, | ||
.sv-gi-card .sv-level-num, | .sv-gi-card .sv-level-num, | ||
.sv-skill-card .sv-level-num { | .sv-skill-card .sv-level-num { | ||
font-weight: 900; | font-weight: 900; | ||
} | } | ||
| Line 441: | Line 375: | ||
height: 26px; | height: 26px; | ||
border-radius: 999px; | border-radius: 999px; | ||
border: 1px solid | border: 1px solid; | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
| Line 455: | Line 388: | ||
height: 8px; | height: 8px; | ||
border-radius: 999px; | border-radius: 999px; | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
| Line 465: | Line 397: | ||
width: 0%; | width: 0%; | ||
border-radius: 999px; | border-radius: 999px; | ||
} | } | ||
| Line 478: | Line 409: | ||
height: 18px; | height: 18px; | ||
border-radius: 999px; | border-radius: 999px; | ||
border: 2px solid | border: 2px solid; | ||
box-shadow: 0 10px 18px rgba(0,0,0,0.35); | |||
box-shadow: 0 10px 18px rgba(0,0,0,0. | |||
} | } | ||
.sv-gi-card .sv-level-range--custom:focus, | .sv-gi-card .sv-level-range--custom:focus, | ||
.sv-skill-card .sv-level-range--custom:focus { | .sv-skill-card .sv-level-range--custom:focus { | ||
outline: 2px solid | outline: 2px solid; | ||
outline-offset: 2px; | outline-offset: 2px; | ||
} | } | ||
| Line 497: | Line 427: | ||
font-weight: 900; | font-weight: 900; | ||
font-size: 12px; | font-size: 12px; | ||
line-height: 1.1; | line-height: 1.1; | ||
min-height: 12px; | min-height: 12px; | ||
| Line 514: | Line 443: | ||
padding: 10px 12px; | padding: 10px 12px; | ||
border-radius: 16px; | border-radius: 16px; | ||
border: 1px solid | border: 1px solid; | ||
} | } | ||
| Line 536: | Line 464: | ||
font-size: 18px; | font-size: 18px; | ||
line-height: 1.10; | line-height: 1.10; | ||
word-wrap: break-word; | word-wrap: break-word; | ||
} | } | ||
| Line 546: | Line 473: | ||
font-weight: 900; | font-weight: 900; | ||
letter-spacing: 0.25px; | letter-spacing: 0.25px; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
| Line 561: | Line 487: | ||
padding: 8px 10px; | padding: 8px 10px; | ||
border-radius: 14px; | border-radius: 14px; | ||
border: 1px solid | border: 1px solid; | ||
font-weight: 800; | font-weight: 800; | ||
font-size: 13px; | font-size: 13px; | ||
| Line 580: | Line 504: | ||
padding: 10px 12px; | padding: 10px 12px; | ||
border-radius: 16px; | border-radius: 16px; | ||
border: 1px solid | border: 1px solid; | ||
} | } | ||
| Line 595: | Line 518: | ||
padding: 10px 10px 9px; | padding: 10px 10px 9px; | ||
border-radius: 14px; | border-radius: 14px; | ||
border: 1px solid | border: 1px solid; | ||
min-width: 0; | min-width: 0; | ||
} | } | ||
| Line 613: | Line 535: | ||
font-size: 17px; | font-size: 17px; | ||
line-height: 1.10; | line-height: 1.10; | ||
min-width: 0; | min-width: 0; | ||
word-wrap: break-word; | word-wrap: break-word; | ||
| Line 622: | Line 543: | ||
font-weight: 900; | font-weight: 900; | ||
font-size: 12px; | font-size: 12px; | ||
} | } | ||
| Line 632: | Line 552: | ||
letter-spacing: 0.25px; | letter-spacing: 0.25px; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
| Line 641: | Line 560: | ||
/* ---------------------------------------------------------------------------- | /* ---------------------------------------------------------------------------- | ||
TABS | TABS WRAPPER (tabs component is global) | ||
---------------------------------------------------------------------------- */ | ---------------------------------------------------------------------------- */ | ||
| Line 660: | Line 579: | ||
padding: 10px 10px 9px; | padding: 10px 10px 9px; | ||
border-radius: 14px; | border-radius: 14px; | ||
border: 1px solid | border: 1px solid; | ||
} | } | ||
| Line 670: | Line 588: | ||
letter-spacing: 0.25px; | letter-spacing: 0.25px; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
| Line 678: | Line 595: | ||
font-size: 15px; | font-size: 15px; | ||
font-weight: 900; | font-weight: 900; | ||
word-wrap: break-word; | word-wrap: break-word; | ||
} | } | ||
| Line 708: | Line 624: | ||
padding: 10px 10px; | padding: 10px 10px; | ||
border-radius: 16px; | border-radius: 16px; | ||
border: 1px solid | border: 1px solid; | ||
min-width: 0; | min-width: 0; | ||
} | } | ||
| Line 720: | Line 634: | ||
height: 52px; | height: 52px; | ||
border-radius: 16px; | border-radius: 16px; | ||
border: 1px solid | border: 1px solid; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
| Line 745: | Line 658: | ||
font-size: 15px; | font-size: 15px; | ||
line-height: 1.15; | line-height: 1.15; | ||
word-wrap: break-word; | word-wrap: break-word; | ||
} | } | ||
| Line 763: | Line 675: | ||
padding: 3px 8px; | padding: 3px 8px; | ||
border-radius: 999px; | border-radius: 999px; | ||
border: 1px solid | border: 1px solid; | ||
font-weight: 900; | font-weight: 900; | ||
font-size: 12px; | font-size: 12px; | ||
} | } | ||
| Line 775: | Line 685: | ||
font-weight: 900; | font-weight: 900; | ||
font-size: 13px; | font-size: 13px; | ||
} | } | ||
/* ---------------------------------------------------------------------------- | /* ---------------------------------------------------------------------------- | ||
THEME: Citizen NIGHT (matches exported token palette) | |||
---------------------------------------------------------------------------- */ | |||
:root.skin-theme-clientpref-night .sv-gi-card, | |||
:root.skin-theme-clientpref-night .sv-skill-card { | |||
background-color: #071225; | |||
background-image: linear-gradient(180deg, #10264b, #071225); | |||
border-color: #203e6f; | |||
color: #eaf2ff; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-card a, | |||
:root.skin-theme-clientpref-night .sv-skill-card a { | |||
color: #5aa6ff; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-error { | |||
border-color: #203e6f; | |||
background: #10264b; | |||
color: #eaf2ff; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-bottom, | |||
:root.skin-theme-clientpref-night .sv-skill-bottom { | |||
border-top-color: #203e6f; | |||
background-color: #071225; | |||
} | |||
:root.skin-theme-clientpref-night .sv-skill-icon, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-meta-card, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-meta-card, | |||
:root.skin-theme-clientpref-night .sv-skill-level, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-scaling-row, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-scaling-row, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-core-row, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-core-row, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-ref-card, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-ref-card, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-tabpanel, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-tabpanel { | |||
background-color: #0b1a33; | |||
border-color: #203e6f; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-meta-icon, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-meta-icon, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-ref-ico, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-ref-ico { | |||
background-color: #071225; | |||
border-color: #203e6f; | |||
} | |||
:root.skin-theme-clientpref-night .sv-skill-title { | |||
color: #eaf2ff; | |||
} | |||
:root.skin-theme-clientpref-night .sv-skill-desc { | |||
color: #c9d8f2; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-meta-text, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-meta-text, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-ref-title, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-ref-title, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-scaling-value, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-scaling-value, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-core-num, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-core-num, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-kw-value, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-kw-value { | |||
color: #eaf2ff; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-core-unit, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-core-unit, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-ref-sub, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-ref-sub { | |||
color: #9fb3d8; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-core-label, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-core-label, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-scaling-label, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-scaling-label, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-kw-label, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-kw-label { | |||
color: #9fb3d8; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-level-range--custom, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-level-range--custom, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-level-track, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-level-track { | |||
background-color: #071225; | |||
border-color: #203e6f; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-level-fill, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-level-fill { | |||
background-color: #5aa6ff; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-level-thumb, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-level-thumb { | |||
background-color: #eaf2ff; | |||
border-color: #2b5596; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-tip-btn, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-tip-btn, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-ico, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-ico { | |||
background-color: #0b1a33; | |||
border-color: #203e6f; | |||
color: #eaf2ff; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-tip-pop, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-tip-pop { | |||
background-color: #071225; | |||
border-color: #203e6f; | |||
color: #eaf2ff; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-tip-pop-head, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-tip-pop-head { | |||
background-color: #0b1a33; | |||
border-bottom-color: #203e6f; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-tip-pop-hint, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-tip-pop-hint { | |||
color: #9fb3d8; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-ref-stat, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-ref-stat, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-scaling-item, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-scaling-item, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-core-cell, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-core-cell, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-kw-cell, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-kw-cell { | |||
background-color: #071225; | |||
border-color: #203e6f; | |||
color: #c9d8f2; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-level-ticklabels, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-level-ticklabels { | |||
color: #9fb3d8; | |||
} | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-tab:focus, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-tab:focus, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-disclose-btn:focus, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-disclose-btn:focus, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-tip-btn:focus, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-tip-btn:focus, | |||
:root.skin-theme-clientpref-night .sv-gi-card .sv-level-range--custom:focus, | |||
:root.skin-theme-clientpref-night .sv-skill-card .sv-level-range--custom:focus { | |||
outline-color: #7bb8ff; | |||
} | |||
/* ---------------------------------------------------------------------------- | |||
THEME: Citizen DAY (matches exported token palette) | |||
---------------------------------------------------------------------------- */ | |||
:root.skin-theme-clientpref-day .sv-gi-card, | |||
:root.skin-theme-clientpref-day .sv-skill-card { | |||
background-color: #e8f2ff; | |||
background-image: linear-gradient(180deg, #cfe3ff, #f3f8ff); | |||
border-color: #bdd7ff; | |||
color: #0b1a33; | |||
box-shadow: 0 16px 38px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.85); | |||
} | |||
:root.skin-theme-clientpref-day .sv-gi-card a, | |||
:root.skin-theme-clientpref-day .sv-skill-card a { | |||
color: #0b63f0; | |||
} | |||
:root.skin-theme-clientpref-day .sv-gi-error { | |||
border-color: #bdd7ff; | |||
background: #f3f8ff; | |||
color: #0b1a33; | |||
} | |||
:root.skin-theme-clientpref-day .sv-gi-bottom, | |||
:root.skin-theme-clientpref-day .sv-skill-bottom { | |||
border-top-color: #bdd7ff; | |||
background-color: #f3f8ff; | |||
} | |||
:root.skin-theme-clientpref-day .sv-skill-icon, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-meta-card, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-meta-card, | |||
:root.skin-theme-clientpref-day .sv-skill-level, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-scaling-row, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-scaling-row, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-core-row, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-core-row, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-ref-card, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-ref-card, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-tabpanel, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-tabpanel { | |||
background-color: #f3f8ff; | |||
border-color: #bdd7ff; | |||
} | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-meta-icon, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-meta-icon, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-ref-ico, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-ref-ico { | |||
background-color: #cfe3ff; | |||
border-color: #bdd7ff; | |||
} | |||
:root.skin-theme-clientpref-day .sv-skill-title { | |||
color: #0b1a33; | |||
} | |||
:root.skin-theme-clientpref-day .sv-skill-desc { | |||
color: #1f3556; | |||
} | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-meta-text, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-meta-text, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-ref-title, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-ref-title, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-scaling-value, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-scaling-value, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-core-num, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-core-num, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-kw-value, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-kw-value { | |||
color: #0b1a33; | |||
} | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-core-unit, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-core-unit, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-ref-sub, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-ref-sub, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-core-label, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-core-label, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-scaling-label, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-scaling-label, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-kw-label, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-kw-label { | |||
color: #456083; | |||
} | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-level-range--custom, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-level-range--custom, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-level-track, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-level-track { | |||
background-color: #e8f2ff; | |||
border-color: #bdd7ff; | |||
} | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-level-fill, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-level-fill { | |||
background-color: #0b63f0; | |||
} | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-level-thumb, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-level-thumb { | |||
background-color: #0b1a33; | |||
border-color: #9fc4ff; | |||
} | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-tip-btn, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-tip-btn, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-ico, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-ico { | |||
background-color: #cfe3ff; | |||
border-color: #bdd7ff; | |||
color: #0b1a33; | |||
} | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-tip-pop, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-tip-pop { | |||
background-color: #f3f8ff; | |||
border-color: #bdd7ff; | |||
color: #0b1a33; | |||
} | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-tip-pop-head, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-tip-pop-head { | |||
background-color: #e8f2ff; | |||
border-bottom-color: #bdd7ff; | |||
} | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-tip-pop-hint, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-tip-pop-hint { | |||
color: #456083; | |||
} | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-ref-stat, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-ref-stat, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-scaling-item, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-scaling-item, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-core-cell, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-core-cell, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-kw-cell, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-kw-cell { | |||
background-color: #e8f2ff; | |||
border-color: #bdd7ff; | |||
color: #1f3556; | |||
} | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-level-ticklabels, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-level-ticklabels { | |||
color: #456083; | |||
} | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-tab:focus, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-tab:focus, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-disclose-btn:focus, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-disclose-btn:focus, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-tip-btn:focus, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-tip-btn:focus, | |||
:root.skin-theme-clientpref-day .sv-gi-card .sv-level-range--custom:focus, | |||
:root.skin-theme-clientpref-day .sv-skill-card .sv-level-range--custom:focus { | |||
outline-color: #0b63f0; | |||
} | |||
/* ---------------------------------------------------------------------------- | |||
THEME: Citizen OS (match via prefers-color-scheme) | |||
---------------------------------------------------------------------------- */ | |||
@media (prefers-color-scheme: light) { | |||
:root.skin-theme-clientpref-os .sv-gi-card, | |||
:root.skin-theme-clientpref-os .sv-skill-card { background-color: #e8f2ff; background-image: linear-gradient(180deg, #cfe3ff, #f3f8ff); border-color: #bdd7ff; color: #0b1a33; box-shadow: 0 16px 38px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.85); } | |||
:root.skin-theme-clientpref-os .sv-gi-card a, | |||
:root.skin-theme-clientpref-os .sv-skill-card a { color: #0b63f0; } | |||
} | |||
@media (prefers-color-scheme: dark) { | |||
:root.skin-theme-clientpref-os .sv-gi-card, | |||
:root.skin-theme-clientpref-os .sv-skill-card { background-color: #071225; background-image: linear-gradient(180deg, #10264b, #071225); border-color: #203e6f; color: #eaf2ff; } | |||
:root.skin-theme-clientpref-os .sv-gi-card a, | |||
:root.skin-theme-clientpref-os .sv-skill-card a { color: #5aa6ff; } | |||
} | |||
/* ---------------------------------------------------------------------------- | |||
RESPONSIVE | |||
---------------------------------------------------------------------------- */ | ---------------------------------------------------------------------------- */ | ||
| Line 802: | Line 1,057: | ||
} | } | ||
.sv-skill-title { | .sv-skill-title { font-size: 20px; } | ||
.sv-skill-meta { | .sv-skill-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } | ||
.sv-gi-card .sv-core-grid, | .sv-gi-card .sv-core-grid, | ||
.sv-skill-card .sv-core-grid { | .sv-skill-card .sv-core-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } | ||
.sv-gi-card .sv-ref-grid, | .sv-gi-card .sv-ref-grid, | ||
.sv-skill-card .sv-ref-grid { | .sv-skill-card .sv-ref-grid { grid-template-columns: 1fr; } | ||
.sv-gi-card .sv-tip-pop, | .sv-gi-card .sv-tip-pop, | ||
| Line 833: | Line 1,080: | ||
/* Mobile */ | /* Mobile */ | ||
@media (max-width: 520px) { | @media (max-width: 520px) { | ||
.sv-skill-head { | .sv-skill-head { gap: 10px; } | ||
.sv-skill-icon { | .sv-skill-icon { | ||
| Line 843: | Line 1,088: | ||
} | } | ||
.sv-skill-title { | .sv-skill-title { font-size: 18px; } | ||
.sv-skill-desc { font-size: 13px; } | |||
.sv-skill-desc { | |||
.sv-gi-card .sv-scaling-grid, | .sv-gi-card .sv-scaling-grid, | ||
.sv-skill-card .sv-scaling-grid { | .sv-skill-card .sv-scaling-grid { grid-template-columns: 1fr; } | ||
.sv-gi-card .sv-kw-grid, | .sv-gi-card .sv-kw-grid, | ||
.sv-skill-card .sv-kw-grid { | .sv-skill-card .sv-kw-grid { grid-template-columns: 1fr; } | ||
.sv-gi-card .sv-disclose, | .sv-gi-card .sv-disclose, | ||
Revision as of 16:51, 25 February 2026
/* Module:GameInfo/styles.css */
/* GameInfo Box v1 — TemplateStyles-safe (no CSS vars / no var()) */
/* Phase 4.1 — Reuse + Theme Match + Mobile Opaque */
/* ----------------------------------------------------------------------------
LAYOUT (no theme colors here)
---------------------------------------------------------------------------- */
.sv-gi-card,
.sv-skill-card {
max-width: 600px;
margin: 18px auto;
border-radius: 22px;
border: 1px solid;
overflow: visible;
font-size: 15px;
line-height: 1.35;
box-shadow: 0 16px 38px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
}
/* Locked split zones */
.sv-gi-top,
.sv-skill-top {
padding: 14px 14px 4px;
border-radius: 22px 22px 0 0;
overflow: visible;
}
.sv-gi-bottom,
.sv-skill-bottom {
padding: 10px 14px 12px;
border-top: 1px solid;
border-radius: 0 0 22px 22px;
}
/* Predictable sizing */
.sv-gi-card,
.sv-gi-card *,
.sv-skill-card,
.sv-skill-card * {
box-sizing: border-box;
}
/* Error capsule */
.sv-gi-error {
max-width: 600px;
margin: 18px auto;
padding: 10px 12px;
border-radius: 14px;
border: 1px solid;
}
/* Remove default details marker */
.sv-gi-card summary,
.sv-skill-card summary {
list-style: none;
}
/* NOTE:
- .sv-hidden and [hidden] are now global in Common.css
- .sv-miss is now global in Common.css
- .sv-img is now global in Common.css
- .sv-pill is now global in Common.css
- Tabs + Disclosure are now global in Common.css
*/
/* ----------------------------------------------------------------------------
ICON-TEXT HARDENING (prevents clipped link/text inside icon squares)
---------------------------------------------------------------------------- */
.sv-skill-icon,
.sv-meta-icon,
.sv-ref-ico {
font-size: 0;
line-height: 0;
}
.sv-skill-icon a,
.sv-meta-icon a,
.sv-ref-ico a {
text-decoration: none;
}
/* Size bumps for “?” badge inside icon boxes */
.sv-skill-icon .sv-miss {
width: 22px;
height: 22px;
font-size: 13px;
line-height: 1;
}
.sv-meta-icon .sv-miss,
.sv-ref-ico .sv-miss {
width: 18px;
height: 18px;
font-size: 12px;
line-height: 1;
}
/* Keep image shadow inside cards (global .sv-img handles rounding) */
.sv-gi-card .sv-img img,
.sv-skill-card .sv-img img {
box-shadow: 0 10px 18px rgba(0,0,0,0.25);
}
/* Focus outline (no markup change required) */
.sv-gi-card .sv-tip-btn:focus,
.sv-skill-card .sv-tip-btn:focus,
.sv-gi-card .sv-disclose-btn:focus,
.sv-skill-card .sv-disclose-btn:focus,
.sv-gi-card .sv-tab:focus,
.sv-skill-card .sv-tab:focus {
outline: 2px solid;
outline-offset: 2px;
}
/* ----------------------------------------------------------------------------
SKILL HEADER (ICON + TITLE + NOTES + DESCRIPTION)
---------------------------------------------------------------------------- */
.sv-skill-head {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 2px 0 10px;
}
.sv-skill-icon {
flex: 0 0 auto;
width: 64px;
height: 64px;
border-radius: 16px;
border: 1px solid;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.sv-skill-headtext {
min-width: 0;
flex: 1 1 auto;
}
.sv-skill-title-row {
display: flex;
align-items: center;
gap: 10px;
}
.sv-skill-title {
font-weight: 900;
letter-spacing: 0.2px;
font-size: 22px;
line-height: 1.10;
min-width: 0;
word-wrap: break-word;
}
.sv-skill-desc {
margin-top: 6px;
font-size: 14px;
line-height: 1.35;
word-wrap: break-word;
}
/* ----------------------------------------------------------------------------
NOTES TIP (module-owned for now)
---------------------------------------------------------------------------- */
.sv-gi-card .sv-tip,
.sv-skill-card .sv-tip {
position: relative;
flex: 0 0 auto;
}
.sv-gi-card .sv-tip-btn,
.sv-skill-card .sv-tip-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 999px;
border: 1px solid;
cursor: pointer;
}
.sv-gi-card .sv-tip-btn[aria-expanded="true"],
.sv-skill-card .sv-tip-btn[aria-expanded="true"] {
border-color: inherit;
}
.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-size: 12px;
line-height: 1;
border: 1px solid;
}
/* IMPORTANT: do NOT use display:none; JS controls via .sv-hidden + [hidden] */
.sv-gi-card .sv-tip-pop,
.sv-skill-card .sv-tip-pop {
display: block;
position: absolute;
z-index: 50;
top: 34px;
right: 0;
width: 360px;
max-width: 92vw;
border-radius: 16px;
border: 1px solid;
box-shadow: 0 18px 40px rgba(0,0,0,0.35);
overflow: hidden;
}
.sv-gi-card .sv-tip-pop-head,
.sv-skill-card .sv-tip-pop-head {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 12px;
border-bottom: 1px solid;
cursor: pointer;
}
.sv-gi-card .sv-tip-pop-title,
.sv-skill-card .sv-tip-pop-title {
font-weight: 900;
font-size: 13px;
letter-spacing: 0.2px;
}
.sv-gi-card .sv-tip-pop-hint,
.sv-skill-card .sv-tip-pop-hint {
font-size: 12px;
}
.sv-gi-card .sv-tip-pop-body,
.sv-skill-card .sv-tip-pop-body {
padding: 10px 12px;
font-size: 13px;
line-height: 1.4;
word-wrap: break-word;
}
/* ----------------------------------------------------------------------------
META ROW (4 CARDS)
---------------------------------------------------------------------------- */
.sv-skill-meta {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
margin: 8px 0 10px;
}
.sv-gi-card .sv-meta-card,
.sv-skill-card .sv-meta-card {
display: flex;
align-items: center;
gap: 10px;
padding: 9px 10px;
border-radius: 16px;
border: 1px solid;
}
.sv-gi-card .sv-meta-icon,
.sv-skill-card .sv-meta-icon {
flex: 0 0 auto;
width: 28px;
height: 28px;
border-radius: 10px;
border: 1px solid;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.sv-gi-card .sv-meta-icon img,
.sv-skill-card .sv-meta-icon img {
border-radius: 8px;
box-shadow: none;
}
.sv-gi-card .sv-meta-textwrap,
.sv-skill-card .sv-meta-textwrap {
min-width: 0;
flex: 1 1 auto;
}
.sv-gi-card .sv-meta-text,
.sv-skill-card .sv-meta-text {
font-weight: 900;
font-size: 15px;
line-height: 1.10;
letter-spacing: 0.2px;
min-width: 0;
word-wrap: break-word;
}
.sv-gi-card .sv-meta-lines span,
.sv-skill-card .sv-meta-lines span {
display: block;
}
/* ----------------------------------------------------------------------------
REQUIREMENTS / USERS ROW (layout only; disclosure component is global)
---------------------------------------------------------------------------- */
.sv-gi-card .sv-reqrow,
.sv-skill-card .sv-reqrow {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin: 6px 0 8px;
}
.sv-gi-card .sv-disclose,
.sv-skill-card .sv-disclose {
flex: 1 1 220px;
min-width: 220px;
}
/* ----------------------------------------------------------------------------
LEVEL SELECTOR (module-owned)
---------------------------------------------------------------------------- */
.sv-skill-level {
margin: 8px 0 10px;
padding: 10px 12px;
border-radius: 16px;
border: 1px solid;
}
.sv-gi-card .sv-level-ui,
.sv-skill-card .sv-level-ui {
display: flex;
align-items: baseline;
justify-content: center;
gap: 6px;
margin-bottom: 8px;
}
.sv-gi-card .sv-level-label,
.sv-skill-card .sv-level-label,
.sv-gi-card .sv-level-num,
.sv-skill-card .sv-level-num {
font-weight: 900;
}
.sv-gi-card .sv-level-slider,
.sv-skill-card .sv-level-slider {
position: relative;
}
.sv-gi-card .sv-level-range,
.sv-skill-card .sv-level-range {
width: 100%;
margin: 0;
}
.sv-gi-card .sv-level-range--custom,
.sv-skill-card .sv-level-range--custom {
display: block;
position: relative;
height: 26px;
border-radius: 999px;
border: 1px solid;
cursor: pointer;
}
.sv-gi-card .sv-level-track,
.sv-skill-card .sv-level-track {
position: absolute;
left: 8px;
right: 8px;
top: 50%;
margin-top: -4px;
height: 8px;
border-radius: 999px;
overflow: hidden;
}
.sv-gi-card .sv-level-fill,
.sv-skill-card .sv-level-fill {
display: block;
height: 100%;
width: 0%;
border-radius: 999px;
}
.sv-gi-card .sv-level-thumb,
.sv-skill-card .sv-level-thumb {
position: absolute;
left: 0%;
top: 50%;
margin-top: -9px;
margin-left: -9px;
width: 18px;
height: 18px;
border-radius: 999px;
border: 2px solid;
box-shadow: 0 10px 18px rgba(0,0,0,0.35);
}
.sv-gi-card .sv-level-range--custom:focus,
.sv-skill-card .sv-level-range--custom:focus {
outline: 2px solid;
outline-offset: 2px;
}
.sv-gi-card .sv-level-ticklabels,
.sv-skill-card .sv-level-ticklabels {
display: flex;
justify-content: space-between;
gap: 10px;
margin-top: 7px;
font-weight: 900;
font-size: 12px;
line-height: 1.1;
min-height: 12px;
}
/* ----------------------------------------------------------------------------
SCALING TOP
---------------------------------------------------------------------------- */
.sv-skill-scaling {
margin: 10px 0 10px;
}
.sv-gi-card .sv-scaling-row,
.sv-skill-card .sv-scaling-row {
padding: 10px 12px;
border-radius: 16px;
border: 1px solid;
}
.sv-gi-card .sv-scaling-grid,
.sv-skill-card .sv-scaling-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
align-items: start;
}
.sv-gi-card .sv-scaling-col--scaling,
.sv-skill-card .sv-scaling-col--scaling {
grid-column: 1 / -1;
}
.sv-gi-card .sv-scaling-value,
.sv-skill-card .sv-scaling-value {
font-weight: 900;
font-size: 18px;
line-height: 1.10;
word-wrap: break-word;
}
.sv-gi-card .sv-scaling-label,
.sv-skill-card .sv-scaling-label {
margin-top: 3px;
font-size: 12px;
font-weight: 900;
letter-spacing: 0.25px;
text-transform: uppercase;
}
.sv-gi-card .sv-scaling-list,
.sv-skill-card .sv-scaling-list {
display: grid;
gap: 6px;
margin-top: 2px;
}
.sv-gi-card .sv-scaling-item,
.sv-skill-card .sv-scaling-item {
padding: 8px 10px;
border-radius: 14px;
border: 1px solid;
font-weight: 800;
font-size: 13px;
}
/* ----------------------------------------------------------------------------
CORE STATS GRID
---------------------------------------------------------------------------- */
.sv-skill-core {
margin: 10px 0 10px;
}
.sv-gi-card .sv-core-row,
.sv-skill-card .sv-core-row {
padding: 10px 12px;
border-radius: 16px;
border: 1px solid;
}
.sv-gi-card .sv-core-grid,
.sv-skill-card .sv-core-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
}
.sv-gi-card .sv-core-cell,
.sv-skill-card .sv-core-cell {
padding: 10px 10px 9px;
border-radius: 14px;
border: 1px solid;
min-width: 0;
}
.sv-gi-card .sv-core-top,
.sv-skill-card .sv-core-top {
display: flex;
align-items: baseline;
gap: 6px;
min-width: 0;
}
.sv-gi-card .sv-core-num,
.sv-skill-card .sv-core-num {
font-weight: 900;
font-size: 17px;
line-height: 1.10;
min-width: 0;
word-wrap: break-word;
}
.sv-gi-card .sv-core-unit,
.sv-skill-card .sv-core-unit {
font-weight: 900;
font-size: 12px;
}
.sv-gi-card .sv-core-label,
.sv-skill-card .sv-core-label {
margin-top: 6px;
font-size: 12px;
font-weight: 900;
letter-spacing: 0.25px;
text-transform: uppercase;
}
.sv-gi-card .sv-core-label--tight,
.sv-skill-card .sv-core-label--tight {
letter-spacing: 0.12px;
}
/* ----------------------------------------------------------------------------
TABS WRAPPER (tabs component is global)
---------------------------------------------------------------------------- */
.sv-skill-tabs {
margin: 10px 0 0;
}
/* Mechanics grid (tabpanel content) */
.sv-gi-card .sv-kw-grid,
.sv-skill-card .sv-kw-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.sv-gi-card .sv-kw-cell,
.sv-skill-card .sv-kw-cell {
padding: 10px 10px 9px;
border-radius: 14px;
border: 1px solid;
}
.sv-gi-card .sv-kw-label,
.sv-skill-card .sv-kw-label {
font-size: 12px;
font-weight: 900;
letter-spacing: 0.25px;
text-transform: uppercase;
}
.sv-gi-card .sv-kw-value,
.sv-skill-card .sv-kw-value {
margin-top: 6px;
font-size: 15px;
font-weight: 900;
word-wrap: break-word;
}
/* Keyword pills panel */
.sv-gi-card .sv-tab-pills,
.sv-skill-card .sv-tab-pills {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
/* ----------------------------------------------------------------------------
EFFECT / EVENT CARDS
---------------------------------------------------------------------------- */
.sv-gi-card .sv-ref-grid,
.sv-skill-card .sv-ref-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.sv-gi-card .sv-ref-card,
.sv-skill-card .sv-ref-card {
display: flex;
gap: 10px;
align-items: flex-start;
padding: 10px 10px;
border-radius: 16px;
border: 1px solid;
min-width: 0;
}
.sv-gi-card .sv-ref-ico,
.sv-skill-card .sv-ref-ico {
flex: 0 0 auto;
width: 52px;
height: 52px;
border-radius: 16px;
border: 1px solid;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.sv-gi-card .sv-ref-ico img,
.sv-skill-card .sv-ref-ico img {
border-radius: 14px;
box-shadow: none;
}
.sv-gi-card .sv-ref-text,
.sv-skill-card .sv-ref-text {
min-width: 0;
flex: 1 1 auto;
}
.sv-gi-card .sv-ref-title,
.sv-skill-card .sv-ref-title {
font-weight: 900;
font-size: 15px;
line-height: 1.15;
word-wrap: break-word;
}
.sv-gi-card .sv-ref-stats,
.sv-skill-card .sv-ref-stats {
display: flex;
gap: 8px;
margin-top: 8px;
flex-wrap: wrap;
}
.sv-gi-card .sv-ref-stat,
.sv-skill-card .sv-ref-stat {
display: inline-flex;
align-items: center;
padding: 3px 8px;
border-radius: 999px;
border: 1px solid;
font-weight: 900;
font-size: 12px;
}
.sv-gi-card .sv-ref-sub,
.sv-skill-card .sv-ref-sub {
margin-top: 6px;
font-weight: 900;
font-size: 13px;
}
/* ----------------------------------------------------------------------------
THEME: Citizen NIGHT (matches exported token palette)
---------------------------------------------------------------------------- */
:root.skin-theme-clientpref-night .sv-gi-card,
:root.skin-theme-clientpref-night .sv-skill-card {
background-color: #071225;
background-image: linear-gradient(180deg, #10264b, #071225);
border-color: #203e6f;
color: #eaf2ff;
}
:root.skin-theme-clientpref-night .sv-gi-card a,
:root.skin-theme-clientpref-night .sv-skill-card a {
color: #5aa6ff;
}
:root.skin-theme-clientpref-night .sv-gi-error {
border-color: #203e6f;
background: #10264b;
color: #eaf2ff;
}
:root.skin-theme-clientpref-night .sv-gi-bottom,
:root.skin-theme-clientpref-night .sv-skill-bottom {
border-top-color: #203e6f;
background-color: #071225;
}
:root.skin-theme-clientpref-night .sv-skill-icon,
:root.skin-theme-clientpref-night .sv-gi-card .sv-meta-card,
:root.skin-theme-clientpref-night .sv-skill-card .sv-meta-card,
:root.skin-theme-clientpref-night .sv-skill-level,
:root.skin-theme-clientpref-night .sv-gi-card .sv-scaling-row,
:root.skin-theme-clientpref-night .sv-skill-card .sv-scaling-row,
:root.skin-theme-clientpref-night .sv-gi-card .sv-core-row,
:root.skin-theme-clientpref-night .sv-skill-card .sv-core-row,
:root.skin-theme-clientpref-night .sv-gi-card .sv-ref-card,
:root.skin-theme-clientpref-night .sv-skill-card .sv-ref-card,
:root.skin-theme-clientpref-night .sv-gi-card .sv-tabpanel,
:root.skin-theme-clientpref-night .sv-skill-card .sv-tabpanel {
background-color: #0b1a33;
border-color: #203e6f;
}
:root.skin-theme-clientpref-night .sv-gi-card .sv-meta-icon,
:root.skin-theme-clientpref-night .sv-skill-card .sv-meta-icon,
:root.skin-theme-clientpref-night .sv-gi-card .sv-ref-ico,
:root.skin-theme-clientpref-night .sv-skill-card .sv-ref-ico {
background-color: #071225;
border-color: #203e6f;
}
:root.skin-theme-clientpref-night .sv-skill-title {
color: #eaf2ff;
}
:root.skin-theme-clientpref-night .sv-skill-desc {
color: #c9d8f2;
}
:root.skin-theme-clientpref-night .sv-gi-card .sv-meta-text,
:root.skin-theme-clientpref-night .sv-skill-card .sv-meta-text,
:root.skin-theme-clientpref-night .sv-gi-card .sv-ref-title,
:root.skin-theme-clientpref-night .sv-skill-card .sv-ref-title,
:root.skin-theme-clientpref-night .sv-gi-card .sv-scaling-value,
:root.skin-theme-clientpref-night .sv-skill-card .sv-scaling-value,
:root.skin-theme-clientpref-night .sv-gi-card .sv-core-num,
:root.skin-theme-clientpref-night .sv-skill-card .sv-core-num,
:root.skin-theme-clientpref-night .sv-gi-card .sv-kw-value,
:root.skin-theme-clientpref-night .sv-skill-card .sv-kw-value {
color: #eaf2ff;
}
:root.skin-theme-clientpref-night .sv-gi-card .sv-core-unit,
:root.skin-theme-clientpref-night .sv-skill-card .sv-core-unit,
:root.skin-theme-clientpref-night .sv-gi-card .sv-ref-sub,
:root.skin-theme-clientpref-night .sv-skill-card .sv-ref-sub {
color: #9fb3d8;
}
:root.skin-theme-clientpref-night .sv-gi-card .sv-core-label,
:root.skin-theme-clientpref-night .sv-skill-card .sv-core-label,
:root.skin-theme-clientpref-night .sv-gi-card .sv-scaling-label,
:root.skin-theme-clientpref-night .sv-skill-card .sv-scaling-label,
:root.skin-theme-clientpref-night .sv-gi-card .sv-kw-label,
:root.skin-theme-clientpref-night .sv-skill-card .sv-kw-label {
color: #9fb3d8;
}
:root.skin-theme-clientpref-night .sv-gi-card .sv-level-range--custom,
:root.skin-theme-clientpref-night .sv-skill-card .sv-level-range--custom,
:root.skin-theme-clientpref-night .sv-gi-card .sv-level-track,
:root.skin-theme-clientpref-night .sv-skill-card .sv-level-track {
background-color: #071225;
border-color: #203e6f;
}
:root.skin-theme-clientpref-night .sv-gi-card .sv-level-fill,
:root.skin-theme-clientpref-night .sv-skill-card .sv-level-fill {
background-color: #5aa6ff;
}
:root.skin-theme-clientpref-night .sv-gi-card .sv-level-thumb,
:root.skin-theme-clientpref-night .sv-skill-card .sv-level-thumb {
background-color: #eaf2ff;
border-color: #2b5596;
}
:root.skin-theme-clientpref-night .sv-gi-card .sv-tip-btn,
:root.skin-theme-clientpref-night .sv-skill-card .sv-tip-btn,
:root.skin-theme-clientpref-night .sv-gi-card .sv-ico,
:root.skin-theme-clientpref-night .sv-skill-card .sv-ico {
background-color: #0b1a33;
border-color: #203e6f;
color: #eaf2ff;
}
:root.skin-theme-clientpref-night .sv-gi-card .sv-tip-pop,
:root.skin-theme-clientpref-night .sv-skill-card .sv-tip-pop {
background-color: #071225;
border-color: #203e6f;
color: #eaf2ff;
}
:root.skin-theme-clientpref-night .sv-gi-card .sv-tip-pop-head,
:root.skin-theme-clientpref-night .sv-skill-card .sv-tip-pop-head {
background-color: #0b1a33;
border-bottom-color: #203e6f;
}
:root.skin-theme-clientpref-night .sv-gi-card .sv-tip-pop-hint,
:root.skin-theme-clientpref-night .sv-skill-card .sv-tip-pop-hint {
color: #9fb3d8;
}
:root.skin-theme-clientpref-night .sv-gi-card .sv-ref-stat,
:root.skin-theme-clientpref-night .sv-skill-card .sv-ref-stat,
:root.skin-theme-clientpref-night .sv-gi-card .sv-scaling-item,
:root.skin-theme-clientpref-night .sv-skill-card .sv-scaling-item,
:root.skin-theme-clientpref-night .sv-gi-card .sv-core-cell,
:root.skin-theme-clientpref-night .sv-skill-card .sv-core-cell,
:root.skin-theme-clientpref-night .sv-gi-card .sv-kw-cell,
:root.skin-theme-clientpref-night .sv-skill-card .sv-kw-cell {
background-color: #071225;
border-color: #203e6f;
color: #c9d8f2;
}
:root.skin-theme-clientpref-night .sv-gi-card .sv-level-ticklabels,
:root.skin-theme-clientpref-night .sv-skill-card .sv-level-ticklabels {
color: #9fb3d8;
}
:root.skin-theme-clientpref-night .sv-gi-card .sv-tab:focus,
:root.skin-theme-clientpref-night .sv-skill-card .sv-tab:focus,
:root.skin-theme-clientpref-night .sv-gi-card .sv-disclose-btn:focus,
:root.skin-theme-clientpref-night .sv-skill-card .sv-disclose-btn:focus,
:root.skin-theme-clientpref-night .sv-gi-card .sv-tip-btn:focus,
:root.skin-theme-clientpref-night .sv-skill-card .sv-tip-btn:focus,
:root.skin-theme-clientpref-night .sv-gi-card .sv-level-range--custom:focus,
:root.skin-theme-clientpref-night .sv-skill-card .sv-level-range--custom:focus {
outline-color: #7bb8ff;
}
/* ----------------------------------------------------------------------------
THEME: Citizen DAY (matches exported token palette)
---------------------------------------------------------------------------- */
:root.skin-theme-clientpref-day .sv-gi-card,
:root.skin-theme-clientpref-day .sv-skill-card {
background-color: #e8f2ff;
background-image: linear-gradient(180deg, #cfe3ff, #f3f8ff);
border-color: #bdd7ff;
color: #0b1a33;
box-shadow: 0 16px 38px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.85);
}
:root.skin-theme-clientpref-day .sv-gi-card a,
:root.skin-theme-clientpref-day .sv-skill-card a {
color: #0b63f0;
}
:root.skin-theme-clientpref-day .sv-gi-error {
border-color: #bdd7ff;
background: #f3f8ff;
color: #0b1a33;
}
:root.skin-theme-clientpref-day .sv-gi-bottom,
:root.skin-theme-clientpref-day .sv-skill-bottom {
border-top-color: #bdd7ff;
background-color: #f3f8ff;
}
:root.skin-theme-clientpref-day .sv-skill-icon,
:root.skin-theme-clientpref-day .sv-gi-card .sv-meta-card,
:root.skin-theme-clientpref-day .sv-skill-card .sv-meta-card,
:root.skin-theme-clientpref-day .sv-skill-level,
:root.skin-theme-clientpref-day .sv-gi-card .sv-scaling-row,
:root.skin-theme-clientpref-day .sv-skill-card .sv-scaling-row,
:root.skin-theme-clientpref-day .sv-gi-card .sv-core-row,
:root.skin-theme-clientpref-day .sv-skill-card .sv-core-row,
:root.skin-theme-clientpref-day .sv-gi-card .sv-ref-card,
:root.skin-theme-clientpref-day .sv-skill-card .sv-ref-card,
:root.skin-theme-clientpref-day .sv-gi-card .sv-tabpanel,
:root.skin-theme-clientpref-day .sv-skill-card .sv-tabpanel {
background-color: #f3f8ff;
border-color: #bdd7ff;
}
:root.skin-theme-clientpref-day .sv-gi-card .sv-meta-icon,
:root.skin-theme-clientpref-day .sv-skill-card .sv-meta-icon,
:root.skin-theme-clientpref-day .sv-gi-card .sv-ref-ico,
:root.skin-theme-clientpref-day .sv-skill-card .sv-ref-ico {
background-color: #cfe3ff;
border-color: #bdd7ff;
}
:root.skin-theme-clientpref-day .sv-skill-title {
color: #0b1a33;
}
:root.skin-theme-clientpref-day .sv-skill-desc {
color: #1f3556;
}
:root.skin-theme-clientpref-day .sv-gi-card .sv-meta-text,
:root.skin-theme-clientpref-day .sv-skill-card .sv-meta-text,
:root.skin-theme-clientpref-day .sv-gi-card .sv-ref-title,
:root.skin-theme-clientpref-day .sv-skill-card .sv-ref-title,
:root.skin-theme-clientpref-day .sv-gi-card .sv-scaling-value,
:root.skin-theme-clientpref-day .sv-skill-card .sv-scaling-value,
:root.skin-theme-clientpref-day .sv-gi-card .sv-core-num,
:root.skin-theme-clientpref-day .sv-skill-card .sv-core-num,
:root.skin-theme-clientpref-day .sv-gi-card .sv-kw-value,
:root.skin-theme-clientpref-day .sv-skill-card .sv-kw-value {
color: #0b1a33;
}
:root.skin-theme-clientpref-day .sv-gi-card .sv-core-unit,
:root.skin-theme-clientpref-day .sv-skill-card .sv-core-unit,
:root.skin-theme-clientpref-day .sv-gi-card .sv-ref-sub,
:root.skin-theme-clientpref-day .sv-skill-card .sv-ref-sub,
:root.skin-theme-clientpref-day .sv-gi-card .sv-core-label,
:root.skin-theme-clientpref-day .sv-skill-card .sv-core-label,
:root.skin-theme-clientpref-day .sv-gi-card .sv-scaling-label,
:root.skin-theme-clientpref-day .sv-skill-card .sv-scaling-label,
:root.skin-theme-clientpref-day .sv-gi-card .sv-kw-label,
:root.skin-theme-clientpref-day .sv-skill-card .sv-kw-label {
color: #456083;
}
:root.skin-theme-clientpref-day .sv-gi-card .sv-level-range--custom,
:root.skin-theme-clientpref-day .sv-skill-card .sv-level-range--custom,
:root.skin-theme-clientpref-day .sv-gi-card .sv-level-track,
:root.skin-theme-clientpref-day .sv-skill-card .sv-level-track {
background-color: #e8f2ff;
border-color: #bdd7ff;
}
:root.skin-theme-clientpref-day .sv-gi-card .sv-level-fill,
:root.skin-theme-clientpref-day .sv-skill-card .sv-level-fill {
background-color: #0b63f0;
}
:root.skin-theme-clientpref-day .sv-gi-card .sv-level-thumb,
:root.skin-theme-clientpref-day .sv-skill-card .sv-level-thumb {
background-color: #0b1a33;
border-color: #9fc4ff;
}
:root.skin-theme-clientpref-day .sv-gi-card .sv-tip-btn,
:root.skin-theme-clientpref-day .sv-skill-card .sv-tip-btn,
:root.skin-theme-clientpref-day .sv-gi-card .sv-ico,
:root.skin-theme-clientpref-day .sv-skill-card .sv-ico {
background-color: #cfe3ff;
border-color: #bdd7ff;
color: #0b1a33;
}
:root.skin-theme-clientpref-day .sv-gi-card .sv-tip-pop,
:root.skin-theme-clientpref-day .sv-skill-card .sv-tip-pop {
background-color: #f3f8ff;
border-color: #bdd7ff;
color: #0b1a33;
}
:root.skin-theme-clientpref-day .sv-gi-card .sv-tip-pop-head,
:root.skin-theme-clientpref-day .sv-skill-card .sv-tip-pop-head {
background-color: #e8f2ff;
border-bottom-color: #bdd7ff;
}
:root.skin-theme-clientpref-day .sv-gi-card .sv-tip-pop-hint,
:root.skin-theme-clientpref-day .sv-skill-card .sv-tip-pop-hint {
color: #456083;
}
:root.skin-theme-clientpref-day .sv-gi-card .sv-ref-stat,
:root.skin-theme-clientpref-day .sv-skill-card .sv-ref-stat,
:root.skin-theme-clientpref-day .sv-gi-card .sv-scaling-item,
:root.skin-theme-clientpref-day .sv-skill-card .sv-scaling-item,
:root.skin-theme-clientpref-day .sv-gi-card .sv-core-cell,
:root.skin-theme-clientpref-day .sv-skill-card .sv-core-cell,
:root.skin-theme-clientpref-day .sv-gi-card .sv-kw-cell,
:root.skin-theme-clientpref-day .sv-skill-card .sv-kw-cell {
background-color: #e8f2ff;
border-color: #bdd7ff;
color: #1f3556;
}
:root.skin-theme-clientpref-day .sv-gi-card .sv-level-ticklabels,
:root.skin-theme-clientpref-day .sv-skill-card .sv-level-ticklabels {
color: #456083;
}
:root.skin-theme-clientpref-day .sv-gi-card .sv-tab:focus,
:root.skin-theme-clientpref-day .sv-skill-card .sv-tab:focus,
:root.skin-theme-clientpref-day .sv-gi-card .sv-disclose-btn:focus,
:root.skin-theme-clientpref-day .sv-skill-card .sv-disclose-btn:focus,
:root.skin-theme-clientpref-day .sv-gi-card .sv-tip-btn:focus,
:root.skin-theme-clientpref-day .sv-skill-card .sv-tip-btn:focus,
:root.skin-theme-clientpref-day .sv-gi-card .sv-level-range--custom:focus,
:root.skin-theme-clientpref-day .sv-skill-card .sv-level-range--custom:focus {
outline-color: #0b63f0;
}
/* ----------------------------------------------------------------------------
THEME: Citizen OS (match via prefers-color-scheme)
---------------------------------------------------------------------------- */
@media (prefers-color-scheme: light) {
:root.skin-theme-clientpref-os .sv-gi-card,
:root.skin-theme-clientpref-os .sv-skill-card { background-color: #e8f2ff; background-image: linear-gradient(180deg, #cfe3ff, #f3f8ff); border-color: #bdd7ff; color: #0b1a33; box-shadow: 0 16px 38px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.85); }
:root.skin-theme-clientpref-os .sv-gi-card a,
:root.skin-theme-clientpref-os .sv-skill-card a { color: #0b63f0; }
}
@media (prefers-color-scheme: dark) {
:root.skin-theme-clientpref-os .sv-gi-card,
:root.skin-theme-clientpref-os .sv-skill-card { background-color: #071225; background-image: linear-gradient(180deg, #10264b, #071225); border-color: #203e6f; color: #eaf2ff; }
:root.skin-theme-clientpref-os .sv-gi-card a,
:root.skin-theme-clientpref-os .sv-skill-card a { color: #5aa6ff; }
}
/* ----------------------------------------------------------------------------
RESPONSIVE
---------------------------------------------------------------------------- */
/* Tablet / compact desktop */
@media (max-width: 720px) {
.sv-gi-card,
.sv-skill-card {
margin: 14px 10px;
border-radius: 20px;
}
.sv-gi-top,
.sv-skill-top {
padding: 12px 12px 4px;
border-radius: 20px 20px 0 0;
}
.sv-gi-bottom,
.sv-skill-bottom {
padding: 10px 12px 12px;
border-radius: 0 0 20px 20px;
}
.sv-skill-title { font-size: 20px; }
.sv-skill-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sv-gi-card .sv-core-grid,
.sv-skill-card .sv-core-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sv-gi-card .sv-ref-grid,
.sv-skill-card .sv-ref-grid { grid-template-columns: 1fr; }
.sv-gi-card .sv-tip-pop,
.sv-skill-card .sv-tip-pop,
.sv-gi-card .sv-disclose-pop,
.sv-skill-card .sv-disclose-pop {
right: 0;
left: auto;
width: 92vw;
max-width: 520px;
}
}
/* Mobile */
@media (max-width: 520px) {
.sv-skill-head { gap: 10px; }
.sv-skill-icon {
width: 56px;
height: 56px;
border-radius: 14px;
}
.sv-skill-title { font-size: 18px; }
.sv-skill-desc { font-size: 13px; }
.sv-gi-card .sv-scaling-grid,
.sv-skill-card .sv-scaling-grid { grid-template-columns: 1fr; }
.sv-gi-card .sv-kw-grid,
.sv-skill-card .sv-kw-grid { grid-template-columns: 1fr; }
.sv-gi-card .sv-disclose,
.sv-skill-card .sv-disclose {
min-width: 0;
flex: 1 1 100%;
}
}