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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #000000;
            color: #ffffff;
            line-height: 1.6;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .container-narrow {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .container-extra-narrow {
            max-width: 600px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Background Decorations */
        .bg-decorations {
            position: fixed;
            inset: 0;
            pointer-events: none;
            overflow: hidden;
            z-index: 0;
        }

        .bg-circle {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
        }

        .bg-circle-cyan-1 {
            top: 5rem;
            right: 2.5rem;
            width: 16rem;
            height: 16rem;
            background-color: rgba(37, 244, 238, 0.1);
        }

        .bg-circle-cyan-2 {
            bottom: 10rem;
            left: 5rem;
            width: 24rem;
            height: 24rem;
            background-color: rgba(37, 244, 238, 0.05);
        }

        .bg-circle-cyan-3 {
            top: 50%;
            left: 25%;
            width: 8rem;
            height: 8rem;
            background-color: rgba(37, 244, 238, 0.2);
        }

        .bg-circle-pink-1 {
            top: 33%;
            left: 2.5rem;
            width: 20rem;
            height: 20rem;
            background-color: rgba(254, 44, 85, 0.1);
        }

        .bg-circle-pink-2 {
            bottom: 5rem;
            right: 25%;
            width: 18rem;
            height: 18rem;
            background-color: rgba(254, 44, 85, 0.05);
        }

        .bg-circle-pink-3 {
            top: 66%;
            right: 5rem;
            width: 10rem;
            height: 10rem;
            background-color: rgba(254, 44, 85, 0.15);
        }

        .bg-square {
            position: absolute;
            border: 2px solid;
        }

        .bg-square-cyan {
            top: 25%;
            right: 33%;
            width: 6rem;
            height: 6rem;
            border-color: rgba(37, 244, 238, 0.2);
            transform: rotate(45deg);
        }

        .bg-square-pink {
            bottom: 33%;
            left: 33%;
            width: 8rem;
            height: 8rem;
            border-color: rgba(254, 44, 85, 0.2);
            transform: rotate(12deg);
        }

        /* Header */
        .header {
            background: linear-gradient(to right, #25F4EE, #FE2C55, #25F4EE);
            padding: 0.5rem 1rem;
            border-bottom: 4px solid #FE2C55;
        }

        .header-content {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            align-items: center;
            text-align: center;
        }

        .header-top {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .badge {
            background-color: white;
            color: black;
            padding: 0.25rem 0.5rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: bold;
            white-space: nowrap;
        }

        .header-title {
            font-size: 1.125rem;
            font-weight: 900;
            line-height: 1.2;
            color: white;
        }

        .header-date {
            font-size: 0.75rem;
            font-weight: bold;
            color: white;
        }

        /* Event Image */
        .event-image-section {
            position: relative;
            width: 100%;
            height: auto;
            min-height: 200px;
            overflow: hidden;
            background-color: #000;
        }

        .event-image {
            width: 100%;
            height: auto;
            object-fit: contain;
            display: block;
        }

        .event-image-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2), transparent);
            pointer-events: none;
        }

        /* Sections */
        .section {
            padding: 2rem 1rem;
            position: relative;
            z-index: 10;
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 900;
            text-align: center;
            margin-bottom: 2rem;
        }

        /* Cards */
        .card {
            background: linear-gradient(to bottom right, rgba(37, 244, 238, 0.2), transparent);
            border: 2px solid #25F4EE;
            border-radius: 1rem;
            padding: 1rem;
            box-shadow: 0 25px 50px -12px rgba(37, 244, 238, 0.2);
        }

        .card-text {
            font-size: 0.875rem;
            line-height: 1.6;
            color: #d1d5db;
        }

        /* Point Rules */
        .point-rules-card {
            background: linear-gradient(to bottom right, #111827, #000000);
            border: 2px solid #FE2C55;
            border-radius: 1rem;
            padding: 1rem;
            box-shadow: 0 25px 50px -12px rgba(254, 44, 85, 0.2);
        }

        .point-list {
            list-style: none;
        }

        .point-item {
            display: flex;
            align-items: center;
            margin-bottom: 0.5rem;
            font-size: 0.875rem;
        }

        .point-bullet {
            color: #25F4EE;
            margin-right: 0.5rem;
            font-size: 1.25rem;
        }

        /* Missions */
        .mission-card-wrapper {
            background: linear-gradient(to bottom right, #111827, #000000);
            border: 2px solid #FE2C55;
            border-radius: 1rem;
            padding: 1rem;
            box-shadow: 0 25px 50px -12px rgba(254, 44, 85, 0.2);
        }
        
        .mission-card-wrapper ul,
        .mission-card-wrapper ol {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .mission-card-wrapper li {
            display: flex;
            align-items: flex-start;
            margin-bottom: 0.5rem;
            font-size: 0.875rem;
            color: #d1d5db;
            line-height: 1.6;
        }
        
        .mission-card-wrapper li:before {
            content: "•";
            color: #FE2C55;
            margin-right: 0.75rem;
            font-size: 1.25rem;
            flex-shrink: 0;
        }
        
        .mission-card-wrapper p {
            color: #d1d5db;
            font-size: 0.875rem;
            line-height: 1.6;
            margin-bottom: 0.5rem;
        }
        
        .mission-card-wrapper p:last-child {
            margin-bottom: 0;
        }
        
        /* 旧ミッションカードスタイル（互換性のため残す） */
        .mission-grid {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .mission-card {
            background: linear-gradient(to bottom right, rgba(254, 44, 85, 0.2), transparent);
            border: 2px solid #FE2C55;
            border-radius: 1rem;
            padding: 1rem;
            box-shadow: 0 25px 50px -12px rgba(254, 44, 85, 0.2);
            transition: transform 0.3s;
        }

        .mission-card:hover {
            transform: translateY(-5px);
        }

        .mission-title {
            font-size: 1.125rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
            color: #FE2C55;
        }

        .mission-description {
            color: #d1d5db;
            font-size: 0.875rem;
        }

        /* Team Rankings */
        .ranking-status-badge {
            display: block;
            background: linear-gradient(to right, #25F4EE, #FE2C55);
            color: black;
            padding: 1rem 3rem;
            border-radius: 9999px;
            font-weight: 900;
            font-size: 1.5rem;
            margin: 0 auto 2rem;
            text-align: center;
            box-shadow: 0 15px 30px rgba(37, 244, 238, 0.6);
            border: 3px solid white;
            max-width: fit-content;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }
        
        .ranking-status-progress {
            background: linear-gradient(to right, #6b7280, #4b5563);
            color: white;
            box-shadow: 0 15px 30px rgba(107, 114, 128, 0.6);
        }
        
        .ranking-grid {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .ranking-card {
            position: relative;
            background: linear-gradient(to right, #111827, #000000);
            border-radius: 1rem;
            padding: 1rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.5rem;
            transition: transform 0.3s;
            border-left: 5px solid white;
        }

        .ranking-card:hover {
            transform: translateX(0.5rem);
        }

        .ranking-card-winner {
            border: 4px solid #25F4EE;
            border-left: 4px solid #25F4EE;
            box-shadow: 0 0 30px rgba(37, 244, 238, 0.6);
        }

        .winner-badge {
            position: absolute;
            top: -0.75rem;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(to right, #25F4EE, #FE2C55);
            color: black;
            padding: 0.25rem 1rem;
            border-radius: 9999px;
            font-weight: 900;
            font-size: 0.875rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
            border: 2px solid white;
            z-index: 10;
        }

        .ranking-left {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .ranking-number {
            font-size: 2.5rem;
            font-weight: 900;
            color: white;
        }

        .ranking-team {
            font-size: 1.25rem;
            font-weight: bold;
        }

        .ranking-right {
            text-align: right;
        }

        .ranking-points {
            font-size: 1.5rem;
            font-weight: 900;
            color: #FE2C55;
        }

        .ranking-pts {
            font-size: 0.875rem;
            color: #9ca3af;
            margin-left: 0.25rem;
        }

        /* Top 3 Podium */
        .podium-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.5rem;
            align-items: end;
        }

        .podium-card {
            background: linear-gradient(to bottom right, rgba(37, 244, 238, 0.2), transparent);
            border-radius: 0.75rem;
            padding: 0.75rem;
            text-align: center;
            transition: transform 0.3s;
            border: 1px solid #374151;
        }

        .podium-card:hover {
            transform: translateY(-5px);
        }

        .podium-card-first {
            border: 2px solid #25F4EE;
            box-shadow: 0 0 15px rgba(37, 244, 238, 0.6);
            margin-top: 0;
        }

        .podium-card-second {
            margin-top: 20px;
        }

        .podium-card-third {
            margin-top: 30px;
        }

        .medal-badge {
            width: 3rem;
            height: 3rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 0.5rem;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .medal-gold {
            background: linear-gradient(to bottom right, #fef08a, #facc15, #ca8a04);
            box-shadow: 0 0 20px rgba(234, 179, 8, 0.8), inset 0 2px 10px rgba(255, 255, 255, 0.5), inset 0 -2px 10px rgba(0, 0, 0, 0.3);
        }

        .medal-silver {
            background: linear-gradient(to bottom right, #e5e7eb, #d1d5db, #6b7280);
            box-shadow: 0 0 20px rgba(156, 163, 175, 0.8), inset 0 2px 10px rgba(255, 255, 255, 0.5), inset 0 -2px 10px rgba(0, 0, 0, 0.3);
        }

        .medal-bronze {
            background: linear-gradient(to bottom right, #fdba74, #f97316, #c2410c);
            box-shadow: 0 0 20px rgba(234, 88, 12, 0.8), inset 0 2px 10px rgba(255, 255, 255, 0.5), inset 0 -2px 10px rgba(0, 0, 0, 0.3);
        }

        .medal-number {
            font-size: 1.5rem;
            font-weight: 900;
        }

        .medal-gold .medal-number {
            color: #713f12;
        }

        .medal-silver .medal-number {
            color: #374151;
        }

        .medal-bronze .medal-number {
            color: #7c2d12;
        }

        .podium-avatar {
            width: 3rem;
            height: 3rem;
            border-radius: 50%;
            margin: 0 auto 0.5rem;
            object-fit: cover;
            border: 2px solid #4b5563;
        }

        .podium-avatar-first {
            width: 4rem;
            height: 4rem;
            border: 2px solid #25F4EE;
        }

        .podium-label {
            font-size: 0.75rem;
            color: #9ca3af;
            margin-bottom: 0.25rem;
        }

        .podium-name {
            font-weight: bold;
            font-size: 0.875rem;
        }

        .podium-name-first {
            font-size: 0.875rem;
        }

        .podium-rank {
            color: #9ca3af;
            font-size: 0.75rem;
            margin-top: 0.25rem;
        }

        /* Team Details */
        .tabs {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 2rem;
            overflow-x: auto;
        }

        .tab-button {
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            font-weight: bold;
            white-space: nowrap;
            cursor: pointer;
            transition: all 0.3s;
            border: 1px solid #374151;
            background-color: black;
            color: #9ca3af;
        }

        .tab-button:hover {
            color: white;
        }

        .tab-button-active {
            color: white !important;
            border: none;
        }
        
        /* ACFカラーが設定されていない場合のデフォルト */
        .tab-button-active:not([style*="background"]) {
            background: linear-gradient(to right, #25F4EE, #FE2C55);
        }

        .team-section {
            margin-bottom: 1.5rem;
            border-radius: 0.75rem;
            padding: 1.5rem;
        }

        .team-section-leader {
            background: linear-gradient(to bottom right, rgba(37, 244, 238, 0.3), transparent);
            border: 2px solid rgba(37, 244, 238, 0.5);
        }

        .team-section-vice {
            background: linear-gradient(to bottom right, rgba(254, 44, 85, 0.3), transparent);
            border: 2px solid rgba(254, 44, 85, 0.5);
        }

        .team-section-members {
            background: linear-gradient(to bottom right, rgba(107, 114, 128, 0.3), transparent);
            border: 2px solid rgba(107, 114, 128, 0.5);
        }

        .team-section-title {
            font-size: 1.25rem;
            font-weight: bold;
            margin-bottom: 1rem;
        }

        .member-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .member-avatar {
            width: 3rem;
            height: 3rem;
            border-radius: 50%;
            object-fit: cover;
        }

        .member-info {
            flex: 1;
        }

        .member-name {
            font-weight: bold;
        }

        .member-id {
            font-size: 0.875rem;
            color: #9ca3af;
        }

        /* Prizes */
        .prize-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .prize-card {
            background: linear-gradient(to bottom right, rgba(37, 244, 238, 0.2), rgba(254, 44, 85, 0.2));
            border: 2px solid #25F4EE;
            border-radius: 1rem;
            padding: 1.5rem;
            box-shadow: 0 25px 50px -12px rgba(37, 244, 238, 0.2);
            transition: all 0.3s;
        }

        .prize-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 0 30px rgba(37, 244, 238, 0.6);
            border-color: #FE2C55;
        }

        .prize-badge {
            display: inline-block;
            background: linear-gradient(to right, #25F4EE, #FE2C55);
            color: black;
            padding: 0.25rem 1rem;
            border-radius: 9999px;
            font-weight: bold;
            font-size: 0.875rem;
            margin-bottom: 1rem;
        }

        .prize-image-container {
            position: relative;
            width: 100%;
            aspect-ratio: 1;
            margin-bottom: 1rem;
            overflow: hidden;
            border-radius: 0.75rem;
        }

        .prize-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .prize-title {
            font-size: 1.25rem;
            font-weight: bold;
            color: #25F4EE;
            margin-bottom: 0.75rem;
            min-height: 3.5rem;
        }

        .prize-target {
            display: inline-block;
            background-color: rgba(0, 0, 0, 0.5);
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.875rem;
            border: 1px solid rgba(37, 244, 238, 0.3);
        }

        .hidden {
            display: none;
        }

        /* Responsive */
        @media (min-width: 768px) {
            .header {
                padding: 1rem;
            }

            .header-content {
                gap: 0.5rem;
            }

            .header-top {
                gap: 1rem;
            }

            .badge {
                padding: 0.25rem 0.75rem;
                font-size: 0.875rem;
            }

            .header-title {
                font-size: 2.25rem;
            }

            .header-date {
                font-size: 1.125rem;
            }

            .event-image-section {
                height: 500px;
            }

            .section {
                padding: 5rem 1rem;
            }

            .section-title {
                font-size: 2.25rem;
            }

            .card {
                padding: 2rem;
            }

            .card-text {
                font-size: 1.125rem;
            }

            .point-rules-card {
                padding: 2rem;
            }

            .point-item {
                font-size: 1.125rem;
            }

            .point-bullet {
                margin-right: 0.75rem;
                font-size: 1.5rem;
            }

            .mission-card-wrapper {
                padding: 2rem;
            }
            
            .mission-card-wrapper li {
                font-size: 1.125rem;
            }
            
            .mission-card-wrapper p {
                font-size: 1.125rem;
            }

            .mission-grid {
                gap: 1.5rem;
            }

            .mission-card {
                padding: 2rem;
            }

            .mission-title {
                font-size: 1.5rem;
                margin-bottom: 0.75rem;
            }

            .mission-description {
                font-size: 1.125rem;
            }

            .ranking-status-badge {
                font-size: 2rem;
                padding: 1.25rem 4rem;
                margin-bottom: 3rem;
                border: 4px solid white;
                letter-spacing: 0.15em;
            }

            .ranking-card {
                padding: 1.5rem;
                gap: 1.5rem;
            }

            .ranking-number {
                font-size: 3.75rem;
            }

            .ranking-team {
                font-size: 1.875rem;
            }

            .ranking-points {
                font-size: 2.25rem;
            }

            .ranking-pts {
                font-size: 1.25rem;
                margin-left: 0.5rem;
            }

            .winner-badge {
                font-size: 1rem;
            }

            .podium-grid {
                gap: 1.5rem;
            }

            .podium-card {
                border-radius: 1rem;
                padding: 1.5rem;
            }

            .podium-card-first {
                border: 4px solid #25F4EE;
                box-shadow: 0 0 30px rgba(37, 244, 238, 0.8);
            }

            .medal-badge {
                width: 5rem;
                height: 5rem;
                border: 4px solid rgba(255, 255, 255, 0.3);
                margin-bottom: 1rem;
            }

            .medal-number {
                font-size: 2.25rem;
            }

            .podium-avatar {
                width: 6rem;
                height: 6rem;
                border: 4px solid #4b5563;
                margin-bottom: 1rem;
            }

            .podium-avatar-first {
                width: 8rem;
                height: 8rem;
                border: 4px solid #25F4EE;
            }

            .podium-label {
                font-size: 0.875rem;
            }

            .podium-name {
                font-size: 1.25rem;
            }

            .podium-name-first {
                font-size: 1.5rem;
            }

            .podium-rank {
                font-size: 0.875rem;
                margin-top: 0.5rem;
            }

            .prize-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .prize-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        /* TOP4-20 Section Styles */
        .top4-20-section {
            margin-top: 3rem;
        }

        .top-ranking-card {
            background: linear-gradient(to bottom right, rgba(37, 244, 238, 0.1), transparent);
            border: 2px solid rgba(37, 244, 238, 0.3);
            border-radius: 1rem;
            padding: 1rem;
            margin-bottom: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s;
        }

        .top-ranking-card:hover {
            border-color: #25F4EE;
            box-shadow: 0 0 20px rgba(37, 244, 238, 0.3);
            transform: translateX(5px);
        }

        .top-ranking-left {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex: 1;
        }

        .top-ranking-number {
            font-size: 1.5rem;
            font-weight: 900;
            color: #25F4EE;
            min-width: 2.5rem;
            text-align: center;
        }

        .top-ranking-profile {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex: 1;
        }

        .top-ranking-avatar {
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #25F4EE;
        }

        .top-ranking-info {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .top-ranking-name {
            font-size: 0.875rem;
            font-weight: bold;
            color: #ffffff;
            margin: 0;
        }

        .top-ranking-name a {
            color: #ffffff;
            text-decoration: none;
        }

        .top-ranking-name a:hover {
            color: #25F4EE;
        }

        .top-ranking-id {
            font-size: 0.75rem;
            color: #9ca3af;
            margin: 0;
        }

        .top-ranking-id a {
            color: #9ca3af;
            text-decoration: none;
        }

        .top-ranking-id a:hover {
            color: #25F4EE;
        }

        .top-ranking-right {
            display: flex;
            align-items: baseline;
            gap: 0.25rem;
        }

        .top-ranking-points {
            font-size: 1.25rem;
            font-weight: 900;
            color: #FE2C55;
        }

        .top-ranking-pts {
            font-size: 0.75rem;
            color: #9ca3af;
        }

        /* Responsive for TOP4-20 */
        @media (min-width: 768px) {
            .top4-20-section {
                margin-top: 4rem;
            }

            .top-ranking-card {
                padding: 1.5rem;
            }

            .top-ranking-number {
                font-size: 2rem;
                min-width: 3rem;
            }

            .top-ranking-avatar {
                width: 3.5rem;
                height: 3.5rem;
            }

            .top-ranking-name {
                font-size: 1.125rem;
            }

            .top-ranking-id {
                font-size: 0.875rem;
            }

            .top-ranking-points {
                font-size: 1.75rem;
            }

            .top-ranking-pts {
                font-size: 1rem;
            }
        }
        /* TOP4-20のポイント表示を非表示 */
        .top-ranking-right {
            display: none !important;
        }
/* 優勝チームTOP20 タブ切り替えスタイル */

/* タブナビゲーション */
.winner-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.winner-tab {
    padding: 0.75rem 2rem;
    border: 3px solid transparent;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 900;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.winner-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.winner-tab.active {
    border-color: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

/* チームタイトル */
.team-title {
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* コンテンツコンテナ */
.winner-content {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ */
@media (min-width: 768px) {
    .winner-tab {
        padding: 1rem 3rem;
        font-size: 1.25rem;
    }
    
    .team-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 640px) {
    .winner-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .winner-tab {
        width: 100%;
        padding: 1rem;
    }
}