:root {
    color-scheme: light;
    --game-page: #f5f6f8;
    --game-surface: #fff;
    --game-text: #101828;
    --game-muted: #667085;
    --game-border: #e4e7ec;
    --game-primary: #c91858;
    --game-primary-hover: #a91149;
}

* { box-sizing: border-box; }

body.jssg-page {
    min-width: 320px;
    margin: 0;
    background: var(--game-page);
    color: var(--game-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.jssg-page .sosg-site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(14px);
}

.jssg-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.jssg-hero { padding: 30px 0 56px; }

.jssg-hero-panel {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    border-radius: 28px;
    background: #08111a center / cover no-repeat;
    box-shadow: 0 30px 80px rgba(16, 24, 40, .2);
}

.jssg-hero-panel::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 12, 20, .98) 0%, rgba(5, 12, 20, .86) 38%, rgba(5, 12, 20, .13) 76%);
    content: "";
}

.jssg-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(600px, 58%);
    min-height: 590px;
    padding: 68px;
    color: #fff;
}

.jssg-identity { display: flex; align-items: center; margin-bottom: 28px; gap: 16px; }
.jssg-icon { width: 68px; height: 68px; border: 2px solid rgba(255,255,255,.22); border-radius: 16px; object-fit: cover; box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.jssg-kicker { margin: 0 0 5px; color: #fbd1df; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.jssg-platform { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; }
.jssg-hero h1 { margin: 0 0 14px; font-size: clamp(48px, 6vw, 78px); line-height: 1.05; letter-spacing: -.045em; }
.jssg-tagline { margin: 0 0 18px; color: #fff; font-size: clamp(20px, 3vw, 28px); font-weight: 700; }
.jssg-summary { max-width: 540px; margin: 0 0 26px; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.75; }
.jssg-tags { display: flex; flex-wrap: wrap; margin-bottom: 32px; gap: 8px; }
.jssg-tag { padding: 7px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.84); font-size: 13px; font-weight: 650; }
.jssg-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.jssg-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-size: 15px; font-weight: 750; text-decoration: none; }
.jssg-button:hover, .jssg-button:focus-visible { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.15); color: #fff; outline: none; }
.jssg-button-primary { border-color: var(--game-primary); background: var(--game-primary); }
.jssg-button-primary:hover, .jssg-button-primary:focus-visible { border-color: var(--game-primary-hover); background: var(--game-primary-hover); }

.jssg-content { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr); align-items: start; padding-bottom: 26px; gap: 22px; }
.jssg-card { padding: 30px; border: 1px solid var(--game-border); border-radius: 20px; background: var(--game-surface); box-shadow: 0 10px 30px rgba(16,24,40,.055); }
.jssg-card h2 { margin: 0 0 12px; font-size: 25px; letter-spacing: -.025em; }
.jssg-card p { margin: 0; color: var(--game-muted); line-height: 1.8; }
.jssg-facts { display: grid; grid-template-columns: 86px minmax(0,1fr); margin: 0; gap: 0 14px; }
.jssg-facts dt,
.jssg-facts dd { padding: 14px 0; border-bottom: 1px solid #eaecf0; }
.jssg-facts dt { color: var(--game-muted); font-size: 13px; font-weight: 650; }
.jssg-facts dd { margin: 0; overflow-wrap: anywhere; color: var(--game-text); font-size: 14px; font-weight: 650; }
.jssg-facts dt:last-of-type,
.jssg-facts dd:last-of-type { border-bottom: 0; }

.jssg-gallery-section { padding: 46px 0 74px; }
.jssg-section-heading { margin-bottom: 22px; }
.jssg-section-heading h2 { margin: 0 0 7px; font-size: 32px; letter-spacing: -.035em; }
.jssg-section-heading p { margin: 0; color: var(--game-muted); }
.jssg-gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.jssg-shot { margin: 0; overflow: hidden; border: 1px solid var(--game-border); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(16,24,40,.06); }
.jssg-shot img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }

.jssg-bottom-cta { margin-bottom: 72px; padding: 34px; border-radius: 22px; background: #101828; color: #fff; text-align: center; }
.jssg-bottom-cta h2 { margin: 0 0 8px; font-size: 28px; }
.jssg-bottom-cta p { margin: 0 0 22px; color: #98a2b3; }
.jssg-bottom-cta .jssg-actions { justify-content: center; }
.jssg-footer { border-top: 1px solid var(--game-border); background: #fff; }
.jssg-footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 96px; color: var(--game-muted); font-size: 13px; gap: 20px; }
.jssg-footer a { color: #475467; font-weight: 650; text-decoration: none; }
.jssg-footer a:hover { color: var(--game-primary); }

@media (max-width: 900px) {
    .jssg-hero-panel, .jssg-hero-content { min-height: 540px; }
    .jssg-hero-content { width: 72%; padding: 48px; }
    .jssg-content { grid-template-columns: 1fr; }
    .jssg-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 620px) {
    .jssg-shell { width: min(100% - 28px, 1180px); }
    .jssg-hero { padding-top: 18px; padding-bottom: 38px; }
    .jssg-hero-panel { display: flex; min-height: 650px; align-items: flex-end; border-radius: 22px; background-position: 66% center; }
    .jssg-hero-panel::after { background: linear-gradient(0deg, rgba(5,12,20,.99) 0%, rgba(5,12,20,.9) 55%, rgba(5,12,20,.14) 86%); }
    .jssg-hero-content { justify-content: flex-end; width: 100%; min-height: auto; padding: 34px 24px 28px; }
    .jssg-identity { margin-bottom: 20px; }
    .jssg-icon { width: 58px; height: 58px; border-radius: 14px; }
    .jssg-hero h1 { font-size: 43px; }
    .jssg-tagline { font-size: 21px; }
    .jssg-summary { font-size: 14px; }
    .jssg-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
    .jssg-button { width: 100%; }
    .jssg-card { padding: 23px; }
    .jssg-gallery-section { padding-top: 38px; }
    .jssg-gallery { gap: 11px; }
    .jssg-shot { border-radius: 13px; }
    .jssg-bottom-cta { margin-bottom: 50px; padding: 28px 20px; }
    .jssg-footer-inner { align-items: flex-start; flex-direction: column; padding: 25px 0; }
}
