/* =========================================
   1. Global Settings
========================================= */
:root {
    --bg: #0b0f19;
    --card-bg: rgba(22, 29, 47, 0.9);
    --text: #e2e8f0;
    --accent: #FFFFFF;
    --border: #1e293b;
    --text-dim: #94a3b8;
    --glow: rgba(255, 255, 255, 0.8);
    --tw-purple: #9146ff;
    --yt-red: #ff0000;
    --transition: 0.3s ease-in-out;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.global-bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}

html {
    scrollbar-gutter: stable;
}

/* =========================================
   2. Shared Animations & Effects
========================================= */
.logo a,
.link-name,
.section-title {
    font-weight: 900;
    text-decoration: none;
    color: inherit;
    position: relative;
    display: inline-block;
}

.logo a::after,
.link-name::after,
.section-title::after {
    font-weight: 900;
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--glow);
    transition: width 0.3s ease-out;
}

.logo a:hover::after,
.link-item:hover .link-name::after,
.nav-card:hover .section-title::after,
.sidebar:hover .glow-title::after {
    width: 100%;
    font-weight: 900;
}

.logo a:visited {
    font-weight: 900;
}

/* =========================================
   3. Main Layout Structure
========================================= */
.main-wrapper {
    background-color: rgba(11, 15, 25, 0.85);
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    gap: 20px;
    align-items: start;
}

main {
    flex: 1;
    min-width: 0;
}

/* =========================================
   4. Header
========================================= */
header {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 15, 25, 0.9) 0%, rgba(11, 15, 25, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.header-content {
    max-width: 1600px;
    width: 100%;
    padding: 0 40px;
    padding-left: 40px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.logo {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 12px;
    text-transform: uppercase;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.quote-container {
    border-left: 2px solid var(--accent);
    padding-left: 25px;
    margin-top: 30px;
    transition: opacity 0.5s ease-in-out;
}

.subtitle {
    font-size: 2rem;
    font-weight: 650;
    margin: 5px 0;
}

/* =========================================
   5. Section Card Common
========================================= */
.section-title {
    margin: 0 0 0px 0;
    border-left: 2px solid var(--accent);
    padding-left: 20px;
    letter-spacing: 2px;
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.2;
}

.nav-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 20px;
    transition: var(--transition);
    text-decoration: none !important;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-card:hover {
    transform: translateX(5px);
    border-color: var(--accent);
    background: var(--card-bg);
}

.nav-card p {
    margin-top: 15px;
    margin-bottom: 0;
    color: var(--text-dim);
    font-weight: bold;
    line-height: 1.6;
    transition: color 0.3s ease-in-out;
}

.nav-card:hover p {
    color: var(--accent);
}

.grid-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

/* =========================================
   6. News Section
========================================= */
.news-item {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    margin-bottom: 5px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    height: 130px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.news-item:hover {
    border-color: var(--accent);
    background: var(--card-bg);
}

.news-body {
    padding: 15px;
    flex: 1;
    min-width: 0;
}

.news-img-element {
    width: 230px;
    height: 130px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-header-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 5px;
}

.news-date {
    font-size: 0.9rem;
    color: var(--text-dim);
    flex-shrink: 0;
    font-family: monospace;
}

.news-title {
    font-size: 1.15rem;
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-desc {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-desc strong {
    color: #fff;
    font-weight: 700;
}

.news-desc u {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 3px;
}

@media (max-width: 600px) {
    .news-header-row {
        flex-direction: column;
        gap: 2px;
    }
}

/* =========================================
   7. Sidebar & Stream Cards
========================================= */
.sidebar {
    width: 500px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border: 1px solid var(--border);
    height: fit-content;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.sidebar:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    background: var(--card-bg);
}

#combined-stream-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.stream-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    text-decoration: none;
    color: white;
    transition: 0.2s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stream-card:hover {
    transform: scale(1.02);
    border-color: var(--accent);
    background: var(--card-bg);
}

.thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.streamer-row {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 5px;
}

.live-badge {
    background: #ff0000;
    font-size: 0.6rem;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 2px;
}

/* Platform Labels */
.platform-label {
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 2px;
}

.bg-tw {
    background: var(--tw-purple);
}

.bg-yt {
    background: var(--yt-red);
}

/* 新規追加: サムネイル左上のバッジスタイル */
.badge-top-left {
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    z-index: 10 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stream-info {
    padding: 10px;
}

.streamer-name {
    font-size: 0.85rem;
    font-weight: bold;
    display: block;
    margin-bottom: 3px;
}

.stream-title {
    font-size: 0.75rem;
    color: var(--text-dim);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Viewer Count Overlay */
.viewer-count-overlay {
    position: absolute !important;
    top: 5px !important;
    right: 8px !important;
    color: #bbbbbb !important;
    font-size: 0.85em !important;
    font-weight: bold !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9) !important;
    z-index: 9999 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* =========================================
   8. Sidebar History
========================================= */
.sidebar-history {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.sidebar-history a {
    text-decoration: none;
    display: block;
    color: inherit;
}

.sidebar-history p {
    margin: 20px 0 0 0px;
    color: var(--text-dim);
    font-size: 1rem;
    font-weight: bold;
    transition: var(--transition);
}

.sidebar:hover .sidebar-history p {
    color: var(--accent);
}

/* =========================================
   9. External Links
========================================= */
.link-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0;
}

.link-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 15px 30px;
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.link-item:hover {
    transform: translateX(10px);
    border-color: var(--accent);
    background: var(--card-bg);
}

.link-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent);
}

.link-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: bold;
    margin-left: 20px;
    text-align: right;
    line-height: 1.2;
    transition: color 0.3s ease-in-out;
}

.link-item:hover .link-desc {
    color: var(--accent);
}

/* =========================================
   10. Footer & Responsive
========================================= */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.9);
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.community-badge {
    float: right;
    margin: 0px 0px 0px 5px;
}

.footer-bottom {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0px 0px 2px 0px;
    line-height: 1.5;
}


@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    header {
        height: 300px;
    }

    .header-content {
        padding: 0 20px;
    }

    .logo {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .grid-nav {
        grid-template-columns: 1fr;
    }

    #combined-stream-list {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
        height: auto;
    }

    .news-img-element {
        width: 100%;
        height: 180px;
    }
}

/* =========================================
   11. Activity
========================================= */
.activity-entry {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 8px 20px;
    margin-bottom: 2px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.activity-entry:hover {
    transform: translateX(10px);
    border-color: var(--accent);
    background: var(--card-bg);
}

.activity-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent);
}

.activity-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.activity-title {
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.4;
    margin: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
}

.activity-stats {
    font-size: 0.75rem;
    opacity: 0.6;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
}

@media (min-width: 1200px) {
    .activity-entry {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 8px 30px;
    }

    .activity-body {
        align-items: flex-end;
        text-align: right;
        max-width: 70%;
    }

    .activity-title {
        justify-content: flex-end;
        text-align: right;
    }
}

/* =========================================
   12. Cyber HUD Hover Effect
========================================= */

/* A. Dot anime */
@keyframes hud-dots-converge-stay {
    0% {
        transform: scale(1.8);
        opacity: 0;
    }

    100% {
        transform: scale(1.0);
        opacity: 0.5;
    }
}

.nav-card::before,
.stream-card::before,
.news-item::before,
.activity-entry::before,
.sidebar::before,
.link-item::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.nav-card:hover::before,
.stream-card:hover::before,
.news-item:hover::before,
.activity-entry:hover::before,
.sidebar:hover::before,
.link-item:hover::before {
    animation: hud-dots-converge-stay 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* B. Corner */
.nav-card::after,
.stream-card::after,
.news-item::after,
.activity-entry::after,
.sidebar::after,
.link-item::after {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;

    background:
        /* Left Up*/
        linear-gradient(var(--accent), var(--accent)) 0 0 / 10px 1px no-repeat,
        linear-gradient(var(--accent), var(--accent)) 0 0 / 1px 10px no-repeat,
        /* Roght Up*/
        linear-gradient(var(--accent), var(--accent)) 100% 0 / 10px 1px no-repeat,
        linear-gradient(var(--accent), var(--accent)) 100% 0 / 1px 10px no-repeat,
        /* Left Down */
        linear-gradient(var(--accent), var(--accent)) 0 100% / 10px 1px no-repeat,
        linear-gradient(var(--accent), var(--accent)) 0 100% / 1px 10px no-repeat,
        /* RightDown*/
        linear-gradient(var(--accent), var(--accent)) 100% 100% / 10px 1px no-repeat,
        linear-gradient(var(--accent), var(--accent)) 100% 100% / 1px 10px no-repeat;

    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
}

.nav-card:hover::after,
.stream-card:hover::after,
.news-item:hover::after,
.activity-entry:hover::after,
.sidebar:hover::after,
.link-item:hover::after {
    opacity: 1;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
}

/* C. INFO TAG */
.hud-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.65rem;
    font-weight: bold;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    pointer-events: none;
    letter-spacing: 1px;
}

.nav-card:hover .hud-tag,
.stream-card:hover .hud-tag,
.news-item:hover .hud-tag,
.activity-entry:hover .hud-tag,
.sidebar:hover .hud-tag,
#news:hover .hud-tag,
.link-item:hover .hud-tag {
    opacity: 1 !important;
}

/* =========================================
   13. FAQ
========================================= */
.about-sc-section {
    padding: 0 20px;
    max-width: 1550px;
    margin: 0 auto;
    color: var(--text);
}

.about-sc-section h2.section-title {
    font-size: 1.8rem;
    margin-bottom: 0;
    padding-bottom: 0px;
    width: 100%;
    color: var(--accent);
}

.about-sc-section h3.section-title {
    font-size: 1.3rem;
    margin: 0px 0 0px;
    color: var(--accent);
}

.about-sc-content {
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-dim);
}

.about-sc-content strong {
    color: var(--accent);
}

.about-sc-content p {
    margin-bottom: 20px;
}

.about-sc-content a {
    color: var(--accent);
    position: relative;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.about-sc-content a:hover {
    text-decoration-color: var(--accent);
}

.about-sc-content a::after {
    content: "LINK... [↗]";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, 5px);
    background-color: var(--bg);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 2px;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: all 0.2s ease-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.about-sc-content a:hover::after {
    opacity: 1;
    transform: translate(-50%, -2px);
}

.guide-card,
.faq-card {
    margin-bottom: 15px;
}

.guide-card {
    margin-top: 30px;
}

.guide-title,
.faq-q {
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 8px;
    font-size: 1.05rem;
    display: block;
}

.guide-text,
.faq-a {
    margin: 0;
    color: var(--text-dim);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.nav-card:hover .guide-text,
.nav-card:hover .faq-a {
    color: var(--accent);
}

.faq-list {
    margin: 0;
    padding: 0;
}

.faq-q-icon {
    color: var(--text-dim);
    margin-right: 5px;
}

.faq-a-icon {
    color: var(--accent);
    margin-right: 5px;
    font-weight: bold;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================
   14. News Archive
========================================= */
.archive-container {
    max-width: 1600px;
    margin: 40px auto;
    padding: 0 20px;
}

.archive-container .news-item {
    display: block;
    height: auto;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #333;
    margin-bottom: 8px;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.archive-container .news-header {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    user-select: none;
}

.archive-container .news-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.archive-container .news-date {
    color: #00d4ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85em;
    width: 110px;
    flex-shrink: 0;
}

.archive-container .news-title {
    margin: 0;
    font-size: 1em;
    color: #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.archive-container .news-body {
    max-height: 0;
    padding: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.4s;
}

.archive-container .news-item.active {
    border-color: #00d4ff;
}

.archive-container .news-item.active .news-body {
    max-height: 10000px;
    padding: 0 20px 20px 20px;
    transition: max-height 0.5s ease-in, padding 0.4s;
}

.archive-container .news-item.active .news-title {
    white-space: normal;
}

.archive-container .news-inner-content {
    padding-top: 15px;
    border-top: 1px solid #222;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.archive-container .news-image {
    width: 200px;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.archive-container .news-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
}

.archive-container .news-desc {
    color: #ccc;
    line-height: 1.7;
    white-space: pre-wrap;
    font-size: 0.95em;
    margin: 0;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.archive-rsi-link {
    color: var(--accent);
    position: relative;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    font-weight: bold;
    font-size: 0.95em;
    display: inline-block;
}

.archive-rsi-link:hover {
    text-decoration-color: var(--accent);
}

.archive-rsi-link::after {
    content: "LINK... [↗]";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, 5px);
    background-color: var(--bg);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 2px;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: all 0.2s ease-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.archive-rsi-link:hover::after {
    opacity: 1;
    transform: translate(-50%, -2px);
}

@media (max-width: 768px) {
    .archive-container .news-inner-content {
        flex-direction: column;
    }

    .archive-container .news-image {
        width: 100%;
    }
}

/* =========================================
   Latest News
========================================= */
a.section-title.clickable-title {
    transition: var(--transition);
}

a.section-title.clickable-title:hover::after {
    width: 100%;
}

a.section-title.clickable-title:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* =========================================
   Executive Hangar Timer
========================================= */
/* 2カラム幅設定 */
.hangar-wrapper-wide {
    grid-column: span 2;
    width: 100%;
}

/* 既存の nav-card スタイルを継承しているため、背景や枠線は自動で統一されます */
.hangar-timer-card {
    cursor: default;
    /* リンクではないため */
    padding: 20px 30px;
    /* 余白の微調整 */
}

.hangar-timer-body {
    margin-top: 15px;
}

/* ステータスとタイマーのレイアウト */
.hangar-main-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.status-group {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

#hangar-status {
    font-size: 2rem;
    font-weight: 900;
}

#hangar-phase-name {
    font-size: 1rem;
    color: var(--text-dim);
    text-transform: uppercase;
}

#hangar-time {
    font-size: 2.2rem;
    font-family: monospace;
    /* または Share Tech Mono */
    color: var(--accent);
}

/* 下部: LEDとルールの横並び */
.hangar-details-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: center;
}

/* LEDインジケーター */
.hangar-led-container {
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
}

.hangar-led {
    width: 30px;
    height: 10px;
    background: #1e293b;
    border-radius: 1px;
    transition: background 0.3s ease;
}

.led-green {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.led-red {
    background: #ef4444;
}

.led-orange {
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
    animation: led-blink 1s infinite;
}

@keyframes led-blink {
    50% {
        opacity: 0.3;
    }
}

.next-phase-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* ルール一覧 */
.phase-rule-item {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 5px;
    padding: 4px 10px;
    border-radius: 2px;
}

.phase-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent);
}