:root {
    /* Colors - Red and White/Black focused */
    --clr-bg: #050507;
    --clr-bg-surface: #0c0e12;
    --clr-text-main: #f0f2f5; 
    --clr-text-muted: #9499ad;
    --clr-accent: #e51d1d; 
    --clr-accent-dark: #8b0000;
    --clr-accent-glow: rgba(229, 29, 29, 0.3);
    --clr-border: #232733;
    
    /* Fonts */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Share Tech Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    font-family: var(--font-body);
    font-size: 14px; /* Sleeker general font size */
    line-height: 1.6;
    overflow-x: hidden;
}

/* Subtle scanlines effect over the whole page */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: repeating-linear-gradient(
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 2px,
        rgba(0, 0, 0, 0.15) 4px
    );
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}

.content-wrapper {
    max-width: 1050px; /* Expanded for 4 cards */
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Typography elements */
h1, h2, h3, .label, .btn, .track-id, .system-status, .data-label, .aurelio-tag {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

h2 {
    font-size: 1.25rem;
    color: #ffffff;
    display: flex;
    align-items: center;
}

h2::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 16px;
    background-color: var(--clr-accent);
    margin-right: 0.75rem;
}

.label {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
}

/* Header */
header {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--clr-border);
    padding-bottom: 0.75rem;
}

.system-status {
    font-size: 0.75rem;
    color: #ffffff; 
    background-color: var(--clr-accent-dark); 
    display: inline-block;
    padding: 0.2rem 0.6rem;
    letter-spacing: 0.15em;
    animation: blink 3s calc(var(--delay, 0) * 1s) infinite;
}

@keyframes blink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.5; }
}

/* Hero */
.hero {
    margin-bottom: 3.5rem;
}

.hero .logo {
    font-size: 5.5rem; 
    font-weight: normal;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.hero .intro {
    color: var(--clr-text-muted);
    max-width: 650px;
    margin-bottom: 2rem; 
    font-size: 0.95rem;
    min-height: 4.8rem;
    font-weight: 300;
    white-space: pre-wrap; /* Allows \n to break line natively */
    line-height: 1.7;
    letter-spacing: 0.02em;
}

.mobile-br {
    display: none;
}


/* Base Button */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: transparent;
    color: var(--clr-text-main);
    border: 1px solid var(--clr-border);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    letter-spacing: 0.15em;
}

.btn:hover {
    background: var(--clr-bg-surface);
    border-color: #ffffff;
    color: #ffffff;
}

.primary-btn {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

.primary-btn:hover {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    box-shadow: 0 0 20px var(--clr-accent-glow);
    color: #fff;
}

/* Sections */
.section-container {
    margin-bottom: 4.5rem;
    border-top: 1px solid var(--clr-border);
    padding-top: 2rem;
    scroll-margin-top: 4.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.latest-mv .section-header {
    margin-bottom: 1.25rem;
}

/* Latest MV Placeholder */
.video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--clr-bg-surface);
    border: 1px solid var(--clr-border);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.main-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.video-placeholder.is-playing .main-video {
    opacity: 1;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('assets/images/mv-capture.png') no-repeat center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    transition: all 0.5s ease;
    backdrop-filter: grayscale(0.2);
}

.video-placeholder.is-playing .video-overlay {
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(0);
}

.video-overlay-content {
    text-align: center;
    transition: transform 0.3s ease;
}

.video-placeholder:hover .video-overlay-content {
    transform: scale(1.05);
}

.play-icon {
    display: block;
    width: 60px; height: 60px; /* Balanced size for visibility */
    margin: 20px auto 0; /* Shifted slightly downward per request */
    border: 2px solid var(--clr-accent);
    position: relative;
    background: rgba(180, 0, 0, 0.4);
    clip-path: polygon(35% 25%, 85% 50%, 35% 75%);
    box-shadow: 0 0 15px var(--clr-accent-glow);
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.8));
    transition: all 0.3s ease;
}

.video-placeholder::before,
.video-placeholder::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--clr-text-muted);
    border-style: solid;
    opacity: 0.4;
    z-index: 10;
    pointer-events: none; /* Ensure HUD doesn't block video controls */
}

.video-placeholder::before {
    top: 20px; left: 20px;
    border-width: 1px 0 0 1px;
}

.video-placeholder::after {
    bottom: 20px; right: 20px;
    border-width: 0 1px 1px 0;
}

.placeholder-content {
    text-align: center;
    color: var(--clr-text-muted);
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    z-index: 10;
}

/* Music List */
.track-list {
    list-style: none;
    border: 1px solid var(--clr-border);
}

.track-item {
    display: flex;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--clr-border);
    transition: all 0.3s ease;
    align-items: center;
}

.track-item:last-child {
    border-bottom: none;
}

.track-item:hover {
    background: rgba(255,255,255,0.02);
}

.track-item.selected {
    background: rgba(229, 29, 29, 0.05); /* very faint red fill */
    border-left: 4px solid var(--clr-accent); /* solid red accent */
    padding-left: calc(1.5rem - 4px);
}

.track-item.selected .track-name {
    color: #ffffff;
    font-weight: 400;
}

.track-item.selected .track-status {
    color: var(--clr-accent);
}

.track-id {
    width: 100px;
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

.track-item.selected .track-id {
    color: var(--clr-accent);
}

.track-name {
    flex: 1;
    font-weight: 300;
    transition: color 0.3s;
}

.track-status {
    color: var(--clr-text-muted);
    font-size: 0.8rem;
    font-family: var(--font-heading);
}

/* Members - Forced 4 columns */
.member-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.member-card {
    background: var(--clr-bg-surface);
    border: 1px solid var(--clr-border);
    padding: 0;
    transition: border-color 0.3s ease, background 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.member-card:hover {
    border-color: #ffffff;
    background: #101217;
}

.member-photo-frame {
    width: 100%;
    aspect-ratio: 3 / 4;
    position: relative;
    overflow: hidden;
    background-color: var(--clr-bg);
    border-bottom: 1px solid var(--clr-border);
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

.member-card:hover .member-photo {
    transform: scale(1.05);
}

.member-photo-frame::before {
    content: '';
    position: absolute;
    bottom: -1px; left: -1px;
    width: 12px; height: 12px;
    border-left: 2px solid var(--clr-accent);
    border-bottom: 2px solid var(--clr-accent);
    z-index: 2;
}

.member-profile {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    border-bottom: 1px dashed var(--clr-border);
    padding-bottom: 0.25rem;
}

.data-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.data-label {
    color: var(--clr-text-muted);
    font-size: 0.65rem;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

.data-value {
    color: var(--clr-text-main);
    font-size: 0.8rem;
}

.data-row:first-child .data-value {
    font-weight: 600;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    text-align: right;
}

.tag-deployed {
    color: var(--clr-accent); 
    font-weight: 600;
}
.tag-standby {
    color: var(--clr-text-muted);
    opacity: 0.8;
}

/* Links */
.link-buttons {
    display: flex;
    gap: 1.25rem;
}

.comms-btn {
    flex: 1;
    text-align: center;
    min-width: 160px;
    white-space: nowrap;
    padding: 0.85rem 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
}

/* Footer */
footer {
    border-top: 1px solid var(--clr-border);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    margin-top: 5rem;
    font-family: var(--font-heading);
    color: var(--clr-text-muted);
    font-size: 0.75rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.aurelio-tag {
    color: var(--clr-accent);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    opacity: 1;
    font-weight: bold;
}

.footer-sub {
    font-size: 0.7rem;
    opacity: 0.4;
    letter-spacing: 0.05em;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .member-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 1.5rem;
    }
    
    .hero .logo {
        font-size: 3.5rem;
    }
    
    .link-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
/* Archive Page Specific */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.video-card {
    background: var(--clr-bg-surface);
    border: 1px solid var(--clr-border);
    overflow: hidden;
    position: relative;
    transition: border-color 0.3s ease;
}

.video-card:hover {
    border-color: var(--clr-accent);
}

.video-card-info {
    padding: 1.25rem;
}

.video-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.6rem;
    gap: 1rem;
}

.video-card-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: #ffffff;
    letter-spacing: 0.03em;
    flex: 1;
}

.video-card-code {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    color: var(--clr-accent);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.archive-btn {
    padding: 1rem 3.5rem;
    font-size: 1rem;
    letter-spacing: 0.2rem;
    border-width: 1.5px;
    border-color: var(--clr-accent-dark); /* 暗めの赤で視認性を確保 */
    color: var(--clr-text-main);
    background: rgba(139, 0, 0, 0.05); /* ごく僅かな赤の透かし */
}

.archive-btn:hover {
    background: var(--clr-accent-dark);
    border-color: var(--clr-accent);
    box-shadow: 0 0 15px var(--clr-accent-glow);
    color: #ffffff;
}

.support-link {
    display: inline-block;
    color: var(--clr-text-main);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    padding: 0.7rem 2.2rem;
    border: 1px solid var(--clr-border);
    border-right: 3px solid var(--clr-accent-dark);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.support-link:hover {
    color: #ffffff;
    border-color: var(--clr-accent);
    background: var(--clr-accent-dark);
    box-shadow: 0 0 10px var(--clr-accent-glow);
}

/* Support Personnel Photo Trimming */
#photo-silas {
    object-position: center 50%;
    transform: scale(1.15); /* 頭頂の余白確保のため拡大率を抑制 */
}
#photo-eld {
    object-position: center 10%;
}
#photo-karen {
    object-position: center 12%;
}

/* Data-centric Support Card */
.support-card .member-photo-frame {
    aspect-ratio: 5 / 6;
    filter: sepia(0.12) contrast(1.05) brightness(0.9);
    border-bottom: 2px solid var(--clr-border);
    overflow: hidden;
    background: #000; /* 余白（黒帯）を背景色として透過的に扱う */
}

.support-card .member-photo {
    transition: transform 0.6s ease, filter 0.6s ease;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 有機的な余白（黒帯）を許容する仕様 */
}

.support-card .member-card:hover .member-photo {
    transform: scale(1.03); /* 基本拡大 */
}

/* Support Card Alignment Fix */
.support-card .member-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.support-card .data-row:last-child {
    margin-top: auto !important;
    padding-top: 1.5rem;
    border: none;
}

#photo-silas.member-photo:hover {
    transform: scale(1.45); /* Silas専用のhover拡大率（ベース拡大に乗せる） */
}

.support-card .support-link {
    font-size: 0.55rem;
    padding: 0.4rem 0.8rem;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

.support-card .data-row {
    align-items: flex-start;
}

.support-card .data-value {
    font-size: 0.75rem;
    line-height: 1.62; /* 英語版基準の最小行送り */
    color: var(--clr-text-main);
    min-height: 3.8rem; /* 説明文エリアの重心を安定させるための最小高 */
}

/* 英語版表示時の密度調整 */
body.lang-en-active .support-card .data-value {
    font-size: 0.74rem;
    line-height: 1.68;
    letter-spacing: 0.01em;
}

/* 日本語表示時の密度調整 */
body.lang-jp-active .support-card .data-value {
    font-size: 0.72rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.support-card .data-label {
    margin-top: 0.2rem; /* ラベル位置を本文の1行目に合わせる */
}

/* Language Switching */
body.lang-en-active .lang-jp { display: none !important; }
body.lang-jp-active .lang-en { display: none !important; }

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    font-size: 0.65rem;
    font-family: var(--font-heading);
    color: var(--clr-text-muted);
}

.lang-btn {
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.lang-btn:hover {
    color: #ffffff;
}

.lang-btn.active {
    color: var(--clr-accent);
    border-color: var(--clr-accent-dark);
    background: rgba(139, 0, 0, 0.1);
}

.system-status-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.video-card-desc {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    min-height: 2.25rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--clr-text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}
/* Profile Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none; /* JSで制御 */
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: default;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

.modal-window {
    background: var(--clr-bg-surface);
    border: 1px solid var(--clr-border);
    border-right: 4px solid var(--clr-accent);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 0 50px rgba(139, 0, 0, 0.15);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active .modal-window {
    transform: scale(1);
}

.modal-header {
    background: rgba(139, 0, 0, 0.1);
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--clr-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.file-id {
    font-size: 0.7rem;
    color: var(--clr-accent);
    letter-spacing: 0.15em;
    font-family: var(--font-heading);
}

.close-btn {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: var(--font-heading);
}

.close-btn:hover {
    color: var(--clr-accent);
}

.modal-body {
    padding: 3rem;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
}

/* Modal Internal Layout */
.modal-photo-side {
    position: relative;
}

.modal-photo-side img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 1px solid var(--clr-border);
}

.modal-tags {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-tag {
    font-size: 0.6rem;
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--clr-border);
    color: var(--clr-accent);
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
}

.modal-info-side {
    display: flex;
    flex-direction: column;
}

.modal-name-group {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--clr-accent);
    padding-bottom: 1rem;
}

.modal-name {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.modal-sub-info {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    letter-spacing: 0.1em;
}

.modal-data-table {
    margin-bottom: 2.5rem;
}

.modal-bio {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--clr-text-main);
    white-space: pre-wrap;
}

/* Interaction */
.member-card {
    cursor: pointer;
}

/* Responsive Modal */
@media (max-width: 850px) {
    .modal-body {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
    
    .modal-photo-side {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .modal-name {
        font-size: 2rem;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.back-link:hover {
    color: #ffffff;
}

.back-link::before {
    content: '< ';
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
@media (max-width: 500px) {
    .hero .logo {
        font-size: 3.5rem;
    }
}

/* Story Archive Page Specific */
.story-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.story-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--clr-border);
    border-left: 3px solid var(--clr-accent-dark);
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    text-decoration: none;
}

.story-card:hover {
    background: rgba(139, 0, 0, 0.05);
    border-color: var(--clr-accent);
    transform: translateX(5px);
}

.story-card-content {
    flex: 1;
}

.story-card-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.story-card-code {
    font-size: 0.65rem;
    color: var(--clr-accent);
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
}

.story-card-title {
    font-size: 1.1rem;
    color: #ffffff;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

.story-card-lead {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
    max-width: 800px;
}

.story-link-btn {
    white-space: nowrap;
}

/* Individual Story Styling */
.story-container {
    max-width: 760px;
    margin: 3rem auto 6rem;
    padding: 0 1.5rem;
}

.story-header {
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--clr-border);
    padding-bottom: 2.5rem;
}

.story-id-label {
    display: block;
    font-size: 0.75rem;
    color: var(--clr-accent);
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
}

.story-main-title {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.story-lead-area {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--clr-text-main);
    opacity: 0.9;
    border-left: 2px solid var(--clr-accent);
    padding-left: 1.5rem;
    font-style: italic;
}

.story-body-content {
    font-size: 1.05rem;
    line-height: 2.2;
    color: var(--clr-text-main);
    letter-spacing: 0.03em;
}

.story-body-content p {
    margin-bottom: 2rem;
}

/* Responsive Story */
@media (max-width: 768px) {
    .story-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .story-main-title {
        font-size: 1.7rem;
    }

    /* 1. System Status & Language Toggle */
    .system-status {
        font-size: 0.58rem;
        padding: 0.2rem 0.4rem;
        letter-spacing: 0.05em;
        margin-right: 0.5rem;
        line-height: 1.4;
    }
    .lang-switcher {
        flex-shrink: 0; 
    }
    
    /* 2. Support Personnel Heading and Intro & Hero Fixes */
    .hero .intro {
        font-size: 0.82rem;
        line-height: 1.7;
        max-width: 100%;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .mobile-br {
        display: block;
        content: "";
        margin-top: 0;
    }
    
    #support-header .logo {
        margin-bottom: 0.4rem; /* Pack the intro text closer to the heading */
    }

    #support-header.hero {
        margin-bottom: 2rem;
    }

    #support-header .intro {
        max-width: 95%;
    }
    
    /* 3. & 4. Support Personnel Card Layout & Buttons */
    .support-card .member-profile {
        padding: 0.8rem;
    }
    .support-card .data-row {
        gap: 0.4rem;
    }
    body.lang-jp-active .support-card .data-value {
        font-size: 0.68rem;
        line-height: 1.6;
        letter-spacing: 0;
    }
    body.lang-en-active .support-card .data-value {
        font-size: 0.65rem;
        line-height: 1.5;
        letter-spacing: 0;
    }
    .support-card .data-row:last-child {
        padding-top: 2rem !important;
    }
    
    .support-card .support-link {
        font-size: 0.52rem; /* Slightly smaller to fit 06-07 */
        padding: 0.4rem 0.5rem;
        letter-spacing: 0.05em;
        white-space: nowrap;
        width: auto;
        display: inline-block;
    }

    /* 5. Top Page Bottom Links (Support / Story) & Archive Button */
    .archive-btn {
        width: 100%;
        max-width: 320px;
        padding: 0.8rem 1rem;
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        white-space: nowrap;
        margin: 0 auto;
    }

    .support-link-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem !important;
    }
    .support-link-container .support-link {
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        padding: 0.75rem 0.8rem;
        font-size: 0.68rem; /* Fit into 1 line */
        letter-spacing: 0.05em;
        white-space: nowrap;
    }
    .support-link-container a[href="story.html"].support-link {
        font-size: 0.65rem;
        padding: 0.6rem 0.8rem;
        opacity: 0.85;
        border-right-width: 1px;
    }
    
    /* 6. Personnel Data (Top Page Grid) */
    #members .member-profile {
        padding: 0.6rem;
    }
    #members .data-row {
        margin-bottom: 0.4rem;
        gap: 0.4rem;
    }
    #members .data-label {
        font-size: 0.55rem;
    }
    #members .data-value {
        font-size: 0.62rem;
        line-height: 1.3;
        white-space: normal;
        text-align: right;
    }
    #members .data-row:first-child .data-value {
        font-size: 0.62rem;
        max-width: none;
        overflow: visible;
    }
}

