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 Pass 2 (restore surfaces + match site palette) */ | ||
/* ---------------------------------------------------------------------------- | /* ---------------------------------------------------------------------------- | ||
BASE CARD + SAFETY (fallback dark palette) | |||
---------------------------------------------------------------------------- */ | ---------------------------------------------------------------------------- */ | ||
| Line 11: | Line 11: | ||
max-width: 600px; | max-width: 600px; | ||
margin: 18px auto; | margin: 18px auto; | ||
border-radius: 22px; | border-radius: 22px; | ||
border: 1px solid; | border: 1px solid rgba(75, 99, 136, 0.55); | ||
background-color: #0f172a; | |||
background-image: | |||
radial-gradient(900px 360px at 40% -10%, rgba(106,166,255,0.18), rgba(0,0,0,0) 60%), | |||
linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)), | |||
linear-gradient(180deg, #0f172a, #0b1324); | |||
box-shadow: 0 16px 38px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05); | |||
overflow: visible; | overflow: visible; | ||
color: rgba(245, 249, 255, 0.94); | |||
font-size: 15px; | font-size: 15px; | ||
line-height: 1.35; | line-height: 1.35; | ||
} | } | ||
| Line 30: | Line 40: | ||
.sv-skill-bottom { | .sv-skill-bottom { | ||
padding: 10px 14px 12px; | padding: 10px 14px 12px; | ||
border-top: 1px solid; | border-top: 1px solid rgba(59, 75, 99, 0.80); | ||
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.10)); | |||
} | } | ||
| Line 40: | Line 51: | ||
.sv-skill-card * { | .sv-skill-card * { | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | |||
.sv-gi-card a, | |||
.sv-skill-card a { | |||
color: rgba(106,166,255,0.95); | |||
text-decoration: none; | |||
} | |||
.sv-gi-card a:hover, | |||
.sv-skill-card a:hover { | |||
text-decoration: underline; | |||
} | } | ||
| Line 48: | Line 70: | ||
padding: 10px 12px; | padding: 10px 12px; | ||
border-radius: 14px; | border-radius: 14px; | ||
border: 1px solid; | border: 1px solid rgba(75, 99, 136, 0.55); | ||
background: rgba(31, 41, 55, 0.80); | |||
color: rgba(245,249,255,0.92); | |||
} | } | ||
| Line 58: | Line 82: | ||
/* NOTE: | /* NOTE: | ||
- .sv-hidden and [hidden] are | - .sv-hidden and [hidden] are global in Common.css | ||
- .sv-miss is | - .sv-miss is global in Common.css | ||
- .sv-img is | - .sv-img is global in Common.css | ||
- .sv-pill | - .sv-pill / .sv-tab / .sv-tabpanel / .sv-disclose* are global in Common.css | ||
*/ | */ | ||
| Line 82: | Line 105: | ||
} | } | ||
.sv-skill-icon .sv-miss { | .sv-skill-icon .sv-miss { | ||
width: 22px; | width: 22px; | ||
| Line 98: | Line 120: | ||
} | } | ||
/* | /* Card image enhancement (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.30); | ||
} | } | ||
/* Focus outline | /* Focus outline */ | ||
.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 111: | Line 133: | ||
.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 rgba(106,166,255,0.85); | ||
outline-offset: 2px; | outline-offset: 2px; | ||
} | } | ||
/* ---------------------------------------------------------------------------- | /* ---------------------------------------------------------------------------- | ||
SKILL HEADER | SKILL HEADER | ||
---------------------------------------------------------------------------- */ | ---------------------------------------------------------------------------- */ | ||
| Line 131: | Line 153: | ||
height: 64px; | height: 64px; | ||
border-radius: 16px; | border-radius: 16px; | ||
border: 1px solid; | border: 1px solid rgba(75, 99, 136, 0.55); | ||
background: rgba(31,41,55,0.55); | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
| Line 154: | Line 177: | ||
font-size: 22px; | font-size: 22px; | ||
line-height: 1.10; | line-height: 1.10; | ||
color: rgba(245,249,255,0.98); | |||
min-width: 0; | min-width: 0; | ||
word-wrap: break-word; | word-wrap: break-word; | ||
| Line 160: | Line 184: | ||
.sv-skill-desc { | .sv-skill-desc { | ||
margin-top: 6px; | margin-top: 6px; | ||
color: rgba(215,226,244,0.92); | |||
font-size: 14px; | font-size: 14px; | ||
line-height: 1.35; | line-height: 1.35; | ||
| Line 166: | Line 191: | ||
/* ---------------------------------------------------------------------------- | /* ---------------------------------------------------------------------------- | ||
META ROW (supports either .sv-meta-card OR .sv-pill markup) | |||
.sv- | |||
---------------------------------------------------------------------------- */ | ---------------------------------------------------------------------------- */ | ||
| Line 263: | Line 201: | ||
} | } | ||
/* If meta row uses .sv-pill */ | |||
.sv-skill-meta .sv-pill { | |||
width: 100%; | |||
justify-content: flex-start; | |||
gap: 10px; | |||
padding: 9px 12px; | |||
border-radius: 16px; | |||
border-color: rgba(59, 75, 99, 0.85); | |||
background: rgba(31,41,55,0.70); | |||
background-image: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.00)); | |||
box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); | |||
} | |||
/* If meta row uses .sv-meta-card */ | |||
.sv-gi-card .sv-meta-card, | .sv-gi-card .sv-meta-card, | ||
.sv-skill-card .sv-meta-card { | .sv-skill-card .sv-meta-card { | ||
| Line 270: | Line 222: | ||
padding: 9px 10px; | padding: 9px 10px; | ||
border-radius: 16px; | border-radius: 16px; | ||
border: 1px solid; | border: 1px solid rgba(59, 75, 99, 0.85); | ||
background: rgba(31,41,55,0.70); | |||
background-image: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.00)); | |||
box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); | |||
} | } | ||
| Line 279: | Line 234: | ||
height: 28px; | height: 28px; | ||
border-radius: 10px; | border-radius: 10px; | ||
border: 1px solid; | border: 1px solid rgba(75, 99, 136, 0.55); | ||
background: rgba(15,23,42,0.55); | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
| Line 301: | Line 251: | ||
.sv-skill-card .sv-meta-text { | .sv-skill-card .sv-meta-text { | ||
font-weight: 900; | font-weight: 900; | ||
color: rgba(245,249,255,0.96); | |||
font-size: 15px; | font-size: 15px; | ||
line-height: 1.10; | line-height: 1.10; | ||
| Line 306: | Line 257: | ||
min-width: 0; | min-width: 0; | ||
word-wrap: break-word; | word-wrap: break-word; | ||
} | } | ||
/* ---------------------------------------------------------------------------- | /* ---------------------------------------------------------------------------- | ||
NOTES TIP (module-owned) | |||
---------------------------------------------------------------------------- */ | ---------------------------------------------------------------------------- */ | ||
.sv-gi-card .sv- | .sv-gi-card .sv-tip, | ||
.sv-skill-card .sv- | .sv-skill-card .sv-tip { | ||
position: relative; | |||
flex: 0 0 auto; | |||
flex | |||
} | } | ||
.sv-gi-card .sv- | .sv-gi-card .sv-tip-btn, | ||
.sv-skill-card .sv-tip-btn { | |||
display: inline-flex; | |||
align-items: center; | |||
.sv-skill-card .sv- | |||
display: flex; | |||
align-items: | |||
justify-content: center; | justify-content: center; | ||
width: 28px; | |||
height: 28px; | |||
width: | |||
height: | |||
border-radius: 999px; | border-radius: 999px; | ||
border: 1px solid; | border: 1px solid rgba(75, 99, 136, 0.55); | ||
background: rgba(31,41,55,0.55); | |||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
.sv-gi-card .sv- | .sv-gi-card .sv-ico, | ||
.sv-skill-card .sv- | .sv-skill-card .sv-ico { | ||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
width: 18px; | |||
height: 18px; | |||
height: | |||
border-radius: 999px; | border-radius: 999px; | ||
font-weight: 900; | |||
font-size: 12px; | |||
line-height: 1; | |||
color: rgba(245,249,255,0.96); | |||
background: rgba(15,23,42,0.35); | |||
border: 1px solid rgba(75, 99, 136, 0.55); | |||
} | } | ||
.sv-gi-card .sv- | /* IMPORTANT: do NOT use display:none; JS controls via .sv-hidden + [hidden] */ | ||
.sv-skill-card .sv- | .sv-gi-card .sv-tip-pop, | ||
.sv-skill-card .sv-tip-pop { | |||
display: block; | display: block; | ||
position: absolute; | position: absolute; | ||
z-index: 50; | |||
top: 34px; | |||
right: 0; | |||
width: 360px; | |||
width: | max-width: 92vw; | ||
border-radius: 16px; | |||
border-radius: | border: 1px solid rgba(75, 99, 136, 0.55); | ||
border: | background: #0f172a; | ||
box-shadow: 0 | background-image: radial-gradient(900px 260px at 35% 0, rgba(106,166,255,0.14), rgba(0,0,0,0) 60%); | ||
box-shadow: 0 18px 40px rgba(0,0,0,0.45); | |||
overflow: hidden; | |||
} | } | ||
.sv-gi-card .sv- | .sv-gi-card .sv-tip-pop-head, | ||
.sv-skill-card .sv- | .sv-skill-card .sv-tip-pop-head { | ||
display: flex; | display: flex; | ||
align-items: center; | |||
justify-content: space-between; | justify-content: space-between; | ||
padding: 10px 12px; | padding: 10px 12px; | ||
border- | border-bottom: 1px solid rgba(59, 75, 99, 0.85); | ||
background: rgba(31,41,55,0.70); | |||
cursor: pointer; | |||
} | } | ||
.sv-gi-card .sv- | .sv-gi-card .sv-tip-pop-hint, | ||
.sv-skill-card .sv-tip-pop-hint { | |||
.sv-skill-card .sv- | |||
font-size: 12px; | font-size: 12px; | ||
color: rgba(182,198,224,0.95); | |||
} | } | ||
.sv-gi-card .sv- | .sv-gi-card .sv-tip-pop-body, | ||
.sv-skill-card .sv- | .sv-skill-card .sv-tip-pop-body { | ||
padding: 10px 12px; | |||
padding: | |||
font-size: 13px; | font-size: 13px; | ||
color: rgba(215,226,244,0.92); | |||
line-height: 1.4; | |||
word-wrap: break-word; | |||
} | } | ||
/* ---------------------------------------------------------------------------- | /* ---------------------------------------------------------------------------- | ||
CORE | LEVEL / SCALING / CORE / REF PANELS (bring back “box color”) | ||
---------------------------------------------------------------------------- */ | ---------------------------------------------------------------------------- */ | ||
.sv-skill-core { | .sv-skill-level, | ||
.sv-gi-card .sv-scaling-row, | |||
.sv-skill-card .sv-scaling-row, | |||
.sv-gi-card .sv-core-row, | |||
.sv-skill-card .sv-core-row, | |||
.sv-gi-card .sv-ref-card, | |||
.sv-skill-card .sv-ref-card { | |||
border: 1px solid rgba(59, 75, 99, 0.85); | |||
background: rgba(31,41,55,0.70); | |||
background-image: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.00)); | |||
box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); | |||
} | } | ||
.sv-skill-level { | |||
.sv-skill- | margin: 8px 0 10px; | ||
padding: 10px 12px; | padding: 10px 12px; | ||
border-radius: 16px; | border-radius: 16px; | ||
} | } | ||
.sv-gi-card .sv-core-cell, | .sv-gi-card .sv-core-cell, | ||
.sv-skill-card .sv-core-cell | .sv-skill-card .sv-core-cell, | ||
.sv-gi-card .sv-kw-cell, | .sv-gi-card .sv-kw-cell, | ||
.sv-skill-card .sv-kw-cell | .sv-skill-card .sv-kw-cell, | ||
.sv-gi-card .sv-scaling-item, | |||
.sv-skill-card .sv-scaling-item, | |||
.sv-gi-card .sv- | |||
.sv-skill-card .sv- | |||
.sv-gi-card .sv-ref-stat, | .sv-gi-card .sv-ref-stat, | ||
.sv-skill-card .sv-ref-stat { | .sv-skill-card .sv-ref-stat { | ||
border: 1px solid rgba(59, 75, 99, 0.85); | |||
background: rgba(39,52,73,0.70); | |||
background-image: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.00)); | |||
box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); | |||
border: 1px solid | |||
background: | |||
background-image: linear-gradient(180deg, | |||
} | } | ||
| Line 1,037: | Line 383: | ||
---------------------------------------------------------------------------- */ | ---------------------------------------------------------------------------- */ | ||
@media (max-width: 720px) { | @media (max-width: 720px) { | ||
.sv-gi-card, | .sv-gi-card, | ||
| Line 1,078: | Line 423: | ||
} | } | ||
@media (max-width: 520px) { | @media (max-width: 520px) { | ||
.sv-skill-head { gap: 10px; } | .sv-skill-head { gap: 10px; } | ||
Revision as of 17:12, 25 February 2026
/* Module:GameInfo/styles.css */
/* GameInfo Box v1 — TemplateStyles-safe (no CSS vars / no var()) */
/* Phase 4.1 — Reuse Pass 2 (restore surfaces + match site palette) */
/* ----------------------------------------------------------------------------
BASE CARD + SAFETY (fallback dark palette)
---------------------------------------------------------------------------- */
.sv-gi-card,
.sv-skill-card {
max-width: 600px;
margin: 18px auto;
border-radius: 22px;
border: 1px solid rgba(75, 99, 136, 0.55);
background-color: #0f172a;
background-image:
radial-gradient(900px 360px at 40% -10%, rgba(106,166,255,0.18), rgba(0,0,0,0) 60%),
linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
linear-gradient(180deg, #0f172a, #0b1324);
box-shadow: 0 16px 38px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05);
overflow: visible;
color: rgba(245, 249, 255, 0.94);
font-size: 15px;
line-height: 1.35;
}
/* 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 rgba(59, 75, 99, 0.80);
border-radius: 0 0 22px 22px;
background-image: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.10));
}
/* Predictable sizing */
.sv-gi-card,
.sv-gi-card *,
.sv-skill-card,
.sv-skill-card * {
box-sizing: border-box;
}
.sv-gi-card a,
.sv-skill-card a {
color: rgba(106,166,255,0.95);
text-decoration: none;
}
.sv-gi-card a:hover,
.sv-skill-card a:hover {
text-decoration: underline;
}
/* Error capsule */
.sv-gi-error {
max-width: 600px;
margin: 18px auto;
padding: 10px 12px;
border-radius: 14px;
border: 1px solid rgba(75, 99, 136, 0.55);
background: rgba(31, 41, 55, 0.80);
color: rgba(245,249,255,0.92);
}
/* Remove default details marker */
.sv-gi-card summary,
.sv-skill-card summary {
list-style: none;
}
/* NOTE:
- .sv-hidden and [hidden] are global in Common.css
- .sv-miss is global in Common.css
- .sv-img is global in Common.css
- .sv-pill / .sv-tab / .sv-tabpanel / .sv-disclose* are 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;
}
.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;
}
/* Card image enhancement (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.30);
}
/* Focus outline */
.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 rgba(106,166,255,0.85);
outline-offset: 2px;
}
/* ----------------------------------------------------------------------------
SKILL HEADER
---------------------------------------------------------------------------- */
.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 rgba(75, 99, 136, 0.55);
background: rgba(31,41,55,0.55);
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;
color: rgba(245,249,255,0.98);
min-width: 0;
word-wrap: break-word;
}
.sv-skill-desc {
margin-top: 6px;
color: rgba(215,226,244,0.92);
font-size: 14px;
line-height: 1.35;
word-wrap: break-word;
}
/* ----------------------------------------------------------------------------
META ROW (supports either .sv-meta-card OR .sv-pill markup)
---------------------------------------------------------------------------- */
.sv-skill-meta {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
margin: 8px 0 10px;
}
/* If meta row uses .sv-pill */
.sv-skill-meta .sv-pill {
width: 100%;
justify-content: flex-start;
gap: 10px;
padding: 9px 12px;
border-radius: 16px;
border-color: rgba(59, 75, 99, 0.85);
background: rgba(31,41,55,0.70);
background-image: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.00));
box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
/* If meta row uses .sv-meta-card */
.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 rgba(59, 75, 99, 0.85);
background: rgba(31,41,55,0.70);
background-image: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.00));
box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.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 rgba(75, 99, 136, 0.55);
background: rgba(15,23,42,0.55);
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.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;
color: rgba(245,249,255,0.96);
font-size: 15px;
line-height: 1.10;
letter-spacing: 0.2px;
min-width: 0;
word-wrap: break-word;
}
/* ----------------------------------------------------------------------------
NOTES TIP (module-owned)
---------------------------------------------------------------------------- */
.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 rgba(75, 99, 136, 0.55);
background: rgba(31,41,55,0.55);
cursor: pointer;
}
.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;
color: rgba(245,249,255,0.96);
background: rgba(15,23,42,0.35);
border: 1px solid rgba(75, 99, 136, 0.55);
}
/* 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 rgba(75, 99, 136, 0.55);
background: #0f172a;
background-image: radial-gradient(900px 260px at 35% 0, rgba(106,166,255,0.14), rgba(0,0,0,0) 60%);
box-shadow: 0 18px 40px rgba(0,0,0,0.45);
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 rgba(59, 75, 99, 0.85);
background: rgba(31,41,55,0.70);
cursor: pointer;
}
.sv-gi-card .sv-tip-pop-hint,
.sv-skill-card .sv-tip-pop-hint {
font-size: 12px;
color: rgba(182,198,224,0.95);
}
.sv-gi-card .sv-tip-pop-body,
.sv-skill-card .sv-tip-pop-body {
padding: 10px 12px;
font-size: 13px;
color: rgba(215,226,244,0.92);
line-height: 1.4;
word-wrap: break-word;
}
/* ----------------------------------------------------------------------------
LEVEL / SCALING / CORE / REF PANELS (bring back “box color”)
---------------------------------------------------------------------------- */
.sv-skill-level,
.sv-gi-card .sv-scaling-row,
.sv-skill-card .sv-scaling-row,
.sv-gi-card .sv-core-row,
.sv-skill-card .sv-core-row,
.sv-gi-card .sv-ref-card,
.sv-skill-card .sv-ref-card {
border: 1px solid rgba(59, 75, 99, 0.85);
background: rgba(31,41,55,0.70);
background-image: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.00));
box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.sv-skill-level {
margin: 8px 0 10px;
padding: 10px 12px;
border-radius: 16px;
}
.sv-gi-card .sv-core-cell,
.sv-skill-card .sv-core-cell,
.sv-gi-card .sv-kw-cell,
.sv-skill-card .sv-kw-cell,
.sv-gi-card .sv-scaling-item,
.sv-skill-card .sv-scaling-item,
.sv-gi-card .sv-ref-stat,
.sv-skill-card .sv-ref-stat {
border: 1px solid rgba(59, 75, 99, 0.85);
background: rgba(39,52,73,0.70);
background-image: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.00));
box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
/* ----------------------------------------------------------------------------
RESPONSIVE
---------------------------------------------------------------------------- */
@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;
}
}
@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%;
}
}