/* ================================================================
   TABLE OF CONTENTS
   ================================================================
   1.  DESIGN TOKENS
   2.  RESET & BASE
   3.  HEADER & NAVIGATION
       3a. Hamburger Button
       3b. Drawer Overlay
       3c. Drawer Menu
       3d. Mega Menu
   4.  PLATFORM BADGES
   5.  HERO SECTION (6-card grid)
       5b. Hero Bottom (4-column cards)
   6.  MAIN CONTENT
       6a. Section Header
   7.  ARTICLE CARDS
       7a. Load More Button
   8.  BREADCRUMB
   9.  PAGINATION
   10. ARTICLE DETAIL PAGE
       10a. Polygon-style Article Layout
   11. BOTTOM RECOMMENDED
   12. SIDEBAR
   13. CATEGORY BOXES
   14. FOOTER
   15. CATEGORY PAGE (List Grid & Filters)
   16. RESPONSIVE (General)
       16a. Responsive Category Page
   17. LIGHT THEME OVERRIDES
   18. GAME DATABASE PAGE
       18a. Game DB Responsive
   19. GAME HUB PAGE
       19a. Game Hub Responsive
   20. SCHEDULE PAGE
   22. MOBILE LAYOUT OVERRIDES
   ================================================================ */

/* ================================================================
   1. DESIGN TOKENS
   ================================================================ */
:root {
    /* Light background + Dark card palette */
    --bg-base: #eef0f4;
    --bg-surface: #f7f8fa;
    --bg-card: #14171e;
    --bg-card-hover: #1c2029;
    --bg-sidebar: #fefefe;
    --bg-header: #14171e;

    --text-primary: #f5f7fa;
    --text-secondary: #9da5b4;
    --text-on-light: #1a1d24;
    --text-on-light-muted: #5c6370;

    --accent-cyan: #00d4ff;
    --accent-cyan-dim: rgba(0, 212, 255, 0.15);
    --accent-glow: 0 0 20px rgba(0, 212, 255, 0.25);

    /* Platform colors */
    --ps-blue: #003791;
    --ps-bg: #0070d1;
    --xbox-green: #107c10;
    --xbox-bg: #0e7a0d;
    --switch-red: #e60012;
    --switch-bg: #e60012;
    --pc-amber: #f59e0b;
    --pc-bg: #d97706;
    --sp-gray: #374151;
    --sp-bg: #1f2937;

    /* Category colors */
    --cat-mmorpg: #8b5cf6;
    --cat-action: #ef4444;
    --cat-rpg: #10b981;
    --cat-fps: #f97316;
    --cat-indie: #ec4899;
    --cat-industry: #6366f1;
    --cat-mobile: #14b8a6;
    --cat-vr: #a855f7;

    /* Typography */
    --font-display: "Inter", "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --gap: 16px;
    --radius: 10px;
    --radius-sm: 6px;

}

/* ================================================================
   2. RESET & BASE
   ================================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-on-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Subtle noise texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.008) 2px,
            rgba(0, 0, 0, 0.008) 4px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.008) 2px,
            rgba(0, 0, 0, 0.008) 4px);
    pointer-events: none;
    z-index: 9999;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ol,
ul {
    list-style: none;
}

/* ================================================================
   3. HEADER & NAVIGATION
   ================================================================ */
.site-header {
    position: relative;
    z-index: 1000;
}

/* Sticky Top Bar (Polygon-style: hide on scroll down, show on scroll up) */
.top-bar-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    transform: translateY(0);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.top-bar-sticky.hidden {
    transform: translateY(-100%);
}

/* Top Bar: Hamburger + Logo + Search */
.top-bar {
    background: var(--bg-header);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Spacer to prevent content jump when top-bar becomes fixed */
.top-bar-spacer {
    height: 60px;
    display: none;
}

.top-bar-spacer.active {
    display: block;
}

.top-bar-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Nav Bar: Navigation + Platform */
.nav-bar {
    background: var(--bg-header);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.nav-bar-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo-icon {
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.4));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: 0.04em;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--accent-cyan);
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}

/* Logo Image */
.logo-img {
    height: 44px;
    max-height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-img-footer {
    height: 44px;
    max-height: 44px;
}

/* --- 3a. Hamburger Button --- */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    flex-shrink: 0;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* --- 3b. Drawer Overlay --- */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
    z-index: 999;
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* --- 3c. Drawer Menu --- */
.drawer-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: var(--bg-card);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.drawer-menu.open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    color: var(--text-secondary);
}

.drawer-search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: var(--font-main);
}

.drawer-search-input::placeholder {
    color: var(--text-secondary);
}

.drawer-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
}

.drawer-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Drawer Navigation List */
.drawer-nav-list {
    list-style: none;
    padding: 12px 0;
    flex: 1;
}

.drawer-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.drawer-nav-btn,
.drawer-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.drawer-nav-btn:hover,
.drawer-nav-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--accent-cyan);
}

.drawer-plus {
    transition: transform 0.3s;
    color: var(--accent-cyan);
}

.drawer-nav-item.open .drawer-plus {
    transform: rotate(45deg);
}

/* Sub-menu accordion */
.drawer-sub-list {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(0, 0, 0, 0.15);
}

.drawer-nav-item.open .drawer-sub-list {
    max-height: 400px;
}

.drawer-sub-list li a {
    display: block;
    padding: 10px 24px 10px 40px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.15s, padding-left 0.15s;
}

.drawer-sub-list li a:hover {
    color: var(--accent-cyan);
    padding-left: 48px;
}

/* Drawer Footer */
.drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.15s;
}

.drawer-footer-link:hover {
    color: var(--accent-cyan);
}

.main-nav {
    display: flex;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.03em;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
    color: var(--accent-cyan);
    background: var(--accent-cyan-dim);
}

/* --- 3d. Mega Menu (将来復活予定: コメントアウトで保存) --- */
/*
.nav-item {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 620px;
    padding-top: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 100;
}

.mega-menu-inner {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 28px 28px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 212, 255, 0.06);
    transform: translateY(-8px);
    transition: transform 0.25s ease;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.nav-item:hover .mega-menu-inner {
    transform: translateY(0);
}

.mega-heading {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-cyan);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mega-link {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 0;
    transition: color 0.15s, padding-left 0.15s;
}

.mega-link:hover {
    color: var(--text-primary);
    padding-left: 6px;
}

.mega-col-featured {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding-left: 24px;
}

.mega-featured-link {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: transform 0.3s;
}

.mega-featured-link:hover {
    transform: scale(1.02);
}

.mega-featured-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.mega-featured-link span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}
*/

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    border: 2px solid #ccc;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    width: 360px;
    height: 40px;
}

/* Mobile search icon button (hidden on desktop) */
.search-icon-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
}

.search-icon-btn:hover {
    color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.08);
}

/* Mobile search overlay (when toggled open) */
.search-bar.search-open {
    display: flex;
    position: absolute;
    top: 50%;
    left: 16px;
    right: 16px;
    transform: translateY(-50%);
    width: auto;
    z-index: 1200;
    border-color: var(--accent-cyan);
    animation: searchSlideIn 0.2s ease-out;
}

@keyframes searchSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 16px;
    font-size: 0.9rem;
    color: #333;
    background: transparent;
    height: 100%;
}

.search-input::placeholder {
    color: #999;
}

.search-bar-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.search-bar-btn:hover {
    color: var(--accent-cyan);
}

.platform-filters {
    display: flex;
    gap: 4px;
}

/* ================================================================
   4. PLATFORM BADGES
   ================================================================ */
.platform-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    border-radius: 4px;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.platform-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.platform-badge.ps {
    background: var(--ps-bg);
    color: #fff;
}

.platform-badge.xbox {
    background: var(--xbox-bg);
    color: #fff;
}

.platform-badge.switch {
    background: var(--switch-bg);
    color: #fff;
}

.platform-badge.pc {
    background: var(--pc-bg);
    color: #fff;
}

.platform-badge.sp {
    background: var(--sp-bg);
    color: #fff;
}

.platform-badge-sm {
    display: inline-flex;
    padding: 2px 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.platform-badge-sm.ps {
    background: var(--ps-bg);
    color: #fff;
}

.platform-badge-sm.xbox {
    background: var(--xbox-bg);
    color: #fff;
}

.platform-badge-sm.switch {
    background: var(--switch-bg);
    color: #fff;
}

.platform-badge-sm.pc {
    background: var(--pc-bg);
    color: #fff;
}

.platform-badge-sm.sp {
    background: var(--sp-bg);
    color: #fff;
}

/* ================================================================
   5. HERO SECTION (6-card grid)
   ================================================================ */
.hero-section {
    max-width: 1320px;
    margin: 24px auto 0;
    padding: 0 24px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 3fr 3fr 2fr 2fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    height: 480px;
}

/* Large portrait cards (span 2 rows each) */
.hero-grid-large {
    grid-row: span 2;
}

.hero-grid-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

/* TheGamer-style Hero Cut (Top-left only) */
.pg-hero-cut {
    position: relative;
    border-radius: 11px;
    overflow: hidden;
}

.pg-hero-cut .hero-grid-link {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 11px;
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 108px);
}

.pg-hero-cut::after {
    content: '';
    position: absolute;
    z-index: -1;
    background: #CC0000;
    /* 右下と同じ均等オフセットにして三角サイズを統一 */
    inset: 0.5rem;
    border-radius: 8px;
    opacity: 0.6;
}

/* TheGamer-style Hero Cut (Bottom-right only) */
.pg-hero-cut-br {
    position: relative;
    border-radius: 11px;
    overflow: hidden;
}

.pg-hero-cut-br .hero-grid-link {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 11px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 108px), calc(100% - 60px) 100%, 0 100%);
}

.pg-hero-cut-br::after {
    content: '';
    position: absolute;
    z-index: -1;
    background: #CC0000;
    /* Red accent */
    /* 左上と同じ8px均等マージンにして三角サイズを統一 */
    inset: 0.5rem;
    border-radius: 8px;
    opacity: 0.6;
}

.hero-grid-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-grid-card:hover .hero-grid-img {
    transform: scale(1.05);
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.3) 40%,
            transparent 70%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.hero-grid-title {
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-grid-large .hero-grid-title {
    font-size: 1.4rem;
}

.hero-grid-small .hero-grid-title {
    font-size: 1.05rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- 5b. Hero Bottom (4-column cards) --- */
.hero-quad-header {
    margin-top: 40px;
    margin-bottom: 16px;
}

.hero-quad {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 6px;
}

.quad-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: #1a1d25;
    transition: transform 0.3s, box-shadow 0.3s;
}

.quad-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.quad-card-link {
    display: block;
    text-decoration: none;
}

.quad-card-thumb {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.quad-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.quad-card:hover .quad-card-img {
    transform: scale(1.05);
}

.quad-card-body {
    padding: 12px 14px 14px;
}

.quad-card-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    color: #fff;
}

/* Glow edge (from DEGENESIS) */
.hero-section::after {
    content: '';
    display: block;
    height: 2px;
    margin-top: 24px;
    background: linear-gradient(90deg,
            transparent,
            var(--accent-cyan) 20%,
            var(--accent-cyan) 80%,
            transparent);
    opacity: 0.3;
    filter: blur(1px);
}

/* ================================================================
   6. MAIN CONTENT
   ================================================================ */
.main-content {
    max-width: 1320px;
    margin: 32px auto 0;
    padding: 0 24px 60px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
}

/* --- 6a. Section Header --- */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Oswald', var(--font-body);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #111827;
    /* 力強いダークカラー（Slate 900） */
    padding-top: 16px;
    border-top: 3px solid var(--text-primary);
    position: relative;
    margin-bottom: 8px;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--accent-cyan);
}

.section-icon {
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.3));
}

.see-all {
    font-size: 0.8rem;
    color: var(--text-on-light-muted);
    transition: color 0.2s;
}

.see-all:hover {
    color: var(--accent-cyan);
}

/* ================================================================
   7. ARTICLE CARDS
   ================================================================ */
.article-list {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.article-card {
    display: flex;
    gap: 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--text-primary);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-3px) scale(1.005);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.article-card:hover .article-title a {
    text-decoration: underline;
    text-decoration-color: var(--text-primary);
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.article-thumb {
    width: 220px;
    height: 200px;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    transition: transform 0.5s;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.article-card:hover .article-thumb {
    transform: scale(1.05);
}

.article-body {
    padding: 20px 24px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.article-meta time {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.category-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

.category-tag.mmorpg {
    background: color-mix(in srgb, var(--cat-mmorpg) 20%, var(--bg-card));
    color: var(--cat-mmorpg);
}

.category-tag.action {
    background: color-mix(in srgb, var(--cat-action) 20%, var(--bg-card));
    color: var(--cat-action);
}

.category-tag.rpg {
    background: color-mix(in srgb, var(--cat-rpg) 20%, var(--bg-card));
    color: var(--cat-rpg);
}

.category-tag.fps {
    background: color-mix(in srgb, var(--cat-fps) 20%, var(--bg-card));
    color: var(--cat-fps);
}

.category-tag.indie {
    background: color-mix(in srgb, var(--cat-indie) 20%, var(--bg-card));
    color: var(--cat-indie);
}

.category-tag.industry {
    background: color-mix(in srgb, var(--cat-industry) 20%, var(--bg-card));
    color: var(--cat-industry);
}

.category-tag.mobile {
    background: color-mix(in srgb, var(--cat-mobile) 20%, var(--bg-card));
    color: var(--cat-mobile);
}

.category-tag.vr {
    background: color-mix(in srgb, var(--cat-vr) 20%, var(--bg-card));
    color: var(--cat-vr);
}

.article-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-title a {
    color: inherit;
    text-decoration: none;
}

.article-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─────────────────────────────────────────
   PG-FLEX CARD (list.astro 用)
───────────────────────────────────────── */
.pg-flex-list {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.pg-flex-card {
    display: flex;
    gap: 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--text-primary);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
    cursor: pointer;
}

.pg-flex-card:hover {
    transform: translateY(-3px) scale(1.005);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.pg-flex-card:hover .pg-flex-title a {
    text-decoration: underline;
    text-decoration-color: var(--text-primary);
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.pg-flex-thumb {
    display: block;
    width: 220px;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
    text-decoration: none;
}

.pg-flex-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.pg-flex-card:hover .pg-flex-img {
    transform: scale(1.05);
}

.pg-flex-body {
    flex: 1;
    min-width: 0;
    padding: 16px 16px 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pg-flex-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pg-flex-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pg-flex-meta time {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
}

.pg-flex-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pg-flex-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.pg-flex-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

@media (max-width: 768px) {
    .pg-flex-card {
        flex-direction: row;
        padding: 12px;
        gap: 12px;
    }

    .pg-flex-thumb {
        width: 150px;
        min-width: 150px;
        height: 130px;
        max-height: 130px;
        aspect-ratio: auto;
    }

    .pg-flex-body {
        padding: 0;
    }

    .pg-flex-title {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .pg-flex-desc {
        display: none;
    }

    .pg-flex-meta time {
        flex-basis: 100%;
        margin-top: 2px;
    }
}

/* --- 7a. Load More Button --- */
.load-more-wrap {
    text-align: center;
    margin-top: 24px;
    padding-bottom: 8px;
}

.load-more-btn {
    display: inline-block;
    padding: 14px 48px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.2s;
}

.load-more-btn:hover {
    background: var(--accent-cyan);
    color: #fff;
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 16px rgba(41, 121, 255, 0.25);
}

/* ─────────────────────────────────────────
   UPCOMING RELEASES SECTION
───────────────────────────────────────── */
.upcoming-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px var(--content-padding) 48px;
}

.upcoming-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.upcoming-more {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.upcoming-more:hover {
    opacity: 0.7;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.upcoming-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

.upcoming-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.upcoming-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.upcoming-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.upcoming-card:hover .upcoming-card-img {
    transform: scale(1.08);
}

.upcoming-card-date {
    position: absolute;
    top: 8px;
    left: 8px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--accent-cyan);
    backdrop-filter: blur(4px);
}

.upcoming-card-body {
    padding: 10px 12px 14px;
}

.upcoming-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.upcoming-card-genre {
    font-size: 0.72rem;
    color: var(--text-muted);
}

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

@media (max-width: 640px) {
    .upcoming-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================================================
   8. BREADCRUMB
   ================================================================ */
.breadcrumb {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px var(--content-padding);
    font-size: 0.82rem;
    color: var(--text-on-light-muted);
}

.breadcrumb a {
    color: var(--text-on-light-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--accent-cyan);
}

.breadcrumb span {
    margin: 0 6px;
    opacity: 0.5;
}

/* ================================================================
   9. PAGINATION
   ================================================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 40px;
    padding-bottom: 40px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-on-light-muted);
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.page-link:hover {
    background: var(--accent-cyan-dim);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.page-link.active {
    background: var(--accent-cyan);
    color: #fff;
    border-color: var(--accent-cyan);
    font-weight: 700;
}

.page-link.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ================================================================
   10. ARTICLE DETAIL PAGE
   ================================================================ */
.article-detail-hero {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.article-detail-header {
    margin-bottom: 24px;
}

.article-detail-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--text-on-light);
    margin-bottom: 12px;
}

.article-detail-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-on-light-muted);
}

.article-detail-meta .author {
    font-weight: 600;
    color: var(--text-on-light);
}

.share-buttons {
    display: flex;
    gap: 8px;
    margin: 24px 0;
    padding: 16px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-btn.twitter {
    background: #1da1f2;
    color: #fff;
}

.share-btn.facebook {
    background: #1877f2;
    color: #fff;
}

.share-btn.line {
    background: #00b900;
    color: #fff;
}

.share-btn.copy {
    background: var(--bg-base);
    color: var(--text-on-light);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.article-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-on-light);
}

.article-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-cyan);
}

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

.article-content blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--accent-cyan);
    background: var(--accent-cyan-dim);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-on-light-muted);
}

.article-content img {
    width: 100%;
    border-radius: var(--radius);
    margin: 20px 0;
}

/* Related Articles */
.related-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--bg-base);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.related-card {
    text-decoration: none;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.related-card-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.related-card-body {
    padding: 12px;
}

.related-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-on-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- 10a. Polygon-style Article Layout (2-column) --- */
body.pg-page {
    background-color: #ffffff;
}

body.pg-page::before {
    display: none;
    /* ノイズテクスチャを非表示 */
}

.pg-article-wrapper {
    max-width: 1289px;
    /* 1225px (875+40+310) + padding(32px*2) */
    margin: 0 auto;
    padding: 32px 32px 0;
}

.pg-article-grid {
    display: grid;
    grid-template-columns: minmax(0, 875px) 310px;
    /* メインカラム875px、サイドバー310px */
    gap: 40px;
    /* ガター幅 40px */
    align-items: start;
    justify-content: center;
}

.pg-category {
    margin-bottom: 12px;
}

.pg-category-tag {
    display: inline-block;
    padding: 2px 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #111;
    background: #4ade80;
    border-radius: 2px;
}

.pg-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-on-light);
    margin-bottom: 12px;
}

.pg-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.4;
    color: #444;
    margin-bottom: 24px;
}

.pg-byline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.pg-byline-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pg-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-cyan);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.pg-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pg-author-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: #ff0066;
    text-decoration: none;
    text-transform: uppercase;
}

.pg-author-name:hover {
    opacity: 0.7;
}

.pg-date {
    font-size: 0.78rem;
    color: var(--text-on-light-muted);
}

.pg-byline-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.pg-action-text-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ff0066;
    text-decoration: none;
    transition: opacity 0.2s;
}

.pg-action-text-btn:hover {
    opacity: 0.7;
}

.pg-action-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    background: #ea4335;
    color: white;
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: bold;
}

.pg-comment-count {
    font-size: 0.8rem;
    color: var(--text-on-light-muted);
    margin-left: 4px;
}

.pg-hero-figure {
    margin: 0 0 32px;
    position: relative;
}

.pg-hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
}

.pg-hero-caption {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.5);
    padding: 3px 8px;
    border-radius: 4px;
}

.pg-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-on-light);
}

.pg-body h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 36px 0 16px;
    color: var(--text-on-light);
}

.pg-body p {
    margin-bottom: 24px;
}

.pg-body ul {
    margin: 0 0 24px 20px;
    padding: 0;
}

.pg-body li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.pg-pullquote {
    margin: 32px 0;
    padding: 0;
    border: none;
    background: none;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--accent-cyan);
    font-style: normal;
    text-align: center;
}

.pg-figure {
    margin: 32px 0;
}

.pg-figure img {
    width: 100%;
    border-radius: var(--radius);
    display: block;
}

.pg-figure figcaption {
    font-size: 0.78rem;
    color: var(--text-on-light-muted);
    margin-top: 8px;
    font-style: italic;
}

.pg-share-bottom {
    display: flex;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Polygon Sidebar */
.pg-sidebar {
    position: sticky;
    top: 80px;
}

.pg-sidebar-section {
    margin-bottom: 32px;
}

.pg-sidebar-heading {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff0066;
    padding-bottom: 8px;
    border-bottom: 2px solid #ff0066;
    margin-bottom: 12px;
}

.pg-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pg-sidebar-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    transition: opacity 0.2s;
}

.pg-sidebar-item:hover {
    opacity: 0.7;
}

.pg-sidebar-thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.pg-sidebar-link {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-on-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pg-sidebar-item-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.pg-sidebar-item-time {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: #999;
}

.pg-popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pg-popular-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pg-popular-rank {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ff0066;
    flex-shrink: 0;
    width: 24px;
    line-height: 1.2;
}

.pg-popular-thumb {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pg-popular-link {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-on-light);
    text-decoration: none;
    transition: color 0.2s;
}

.pg-popular-link:hover {
    color: var(--accent-cyan);
}

.pg-newsletter {
    background: var(--bg-base);
    border-radius: var(--radius);
    padding: 20px;
}

.pg-newsletter-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-on-light-muted);
    margin-bottom: 12px;
}

.pg-newsletter-btn {
    width: 100%;
    padding: 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: var(--accent-cyan);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.pg-newsletter-btn:hover {
    opacity: 0.85;
}

/* ================================================================
   11. BOTTOM RECOMMENDED
   ================================================================ */
.pg-recommended-section {
    background: var(--bg-surface);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 64px 0 80px;
    margin-top: 48px;
    width: 100%;
}

.pg-recommended-inner {
    max-width: 1289px;
    /* MATCH article width plus padding */
    margin: 0 auto;
    padding: 0 32px;
}

.pg-recommended-heading {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-on-light);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
}

.pg-recommended-icon {
    width: 28px;
    height: 28px;
    color: #6b7280;
}

.pg-recommended-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pg-recommended-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

/* TheGamer-style accent for card cut corner */
.pg-card-accent {
    position: relative;
}

.pg-card-accent::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    /* 画像と同じ比率にして、テキスト部分に貫通させない */
    aspect-ratio: 16 / 9;
    background: #CC0000;
    border-radius: 4px;
    opacity: 0.6;
    z-index: 0;
}

.pg-recommended-img-wrap {
    position: relative;
    padding: 0;
    background-color: transparent;
    clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 16px;
}

/* Polygon-style: SVGストロークで枠線を描画 */
.pg-recommended-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    /* ::afterにも同じclip-pathを適用して全辺の太さを統一 */
    clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 169' preserveAspectRatio='none'%3E%3Cpath d='M 0,0 L 252,0 L 300,48 L 300,169 L 0,169 Z' fill='none' stroke='%23DA0050' stroke-width='16' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    mix-blend-mode: overlay;
}

.pg-recommended-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(0 0, calc(100% - 47px) 0, 100% 47px, 100% 100%, 0 100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pg-recommended-card:hover .pg-recommended-img {
    transform: scale(1.05);
}

.pg-recommended-time {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.pg-recommended-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-on-light);
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
    text-decoration-color: var(--text-on-light);
    transition: color 0.2s, text-decoration-color 0.2s;
}

.pg-recommended-card:hover .pg-recommended-title {
    color: #ff0066;
    text-decoration-color: #ff0066;
}

/* ================================================================
   12. SIDEBAR
   ================================================================ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-block {
    background: var(--bg-sidebar);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sidebar-title {
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-base);
    color: var(--text-on-light);
}

/* Popular Section (thumbnail + text) */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.popular-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    transition: opacity 0.2s;
}

.popular-item:hover {
    opacity: 0.8;
}

.popular-thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.popular-link {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text-on-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* Ad Placeholder */
.sidebar-ad {
    padding: 0;
    border: none;
    box-shadow: none;
    background: none;
}

.ad-placeholder {
    width: 100%;
    height: 250px;
    background: #e8eaed;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 2px dashed #ccc;
}

.ad-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.1em;
}

.ad-size {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #bbb;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-chip {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-on-light);
    background: #f1f3f5;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
}

.tag-chip:hover {
    background: #ff0066;
    color: #fff;
    border-color: #ff0066;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 102, 0.2);
}

.category-chip.mmorpg {
    background: rgba(139, 92, 246, 0.1);
    color: var(--cat-mmorpg);
}

.category-chip.action {
    background: rgba(239, 68, 68, 0.1);
    color: var(--cat-action);
}

.category-chip.rpg {
    background: rgba(16, 185, 129, 0.1);
    color: var(--cat-rpg);
}

.category-chip.fps {
    background: rgba(249, 115, 22, 0.1);
    color: var(--cat-fps);
}

.category-chip.indie {
    background: rgba(236, 72, 153, 0.1);
    color: var(--cat-indie);
}

.category-chip.industry {
    background: rgba(99, 102, 241, 0.1);
    color: var(--cat-industry);
}

.category-chip.mobile {
    background: rgba(20, 184, 166, 0.1);
    color: var(--cat-mobile);
}

.category-chip.vr {
    background: rgba(168, 85, 247, 0.1);
    color: var(--cat-vr);
}

/* ================================================================
   13. CATEGORY BOXES
   ================================================================ */
.category-boxes {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 32px 48px;
}

.cat-box {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cat-box:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cat-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.cat-box-title {
    font-family: 'Oswald', var(--font-body);
    font-size: 1.45rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #111827;
    /* 力強いダークカラー（Slate 900） */
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.04em;
    padding-top: 16px;
    border-top: 3px solid var(--text-primary);
    position: relative;
}

.cat-box-title::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-cyan);
}

.cat-box-icon {
    font-size: 1.2em;
}

.cat-box-more {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 0.02em;
    transition: opacity 0.15s;
}

.cat-box-more:hover {
    opacity: 0.75;
}

.cat-box-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cat-box-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cat-box-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.cat-box-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius) var(--radius) 0 0;
    position: relative;
}

.cat-box-card:hover .cat-box-img {
    filter: brightness(1.1);
}

.cat-box-card-title {
    padding: 14px 16px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-card);
    border-radius: 0 0 var(--radius) var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top: none;
    flex: 1;
    display: flex;
    align-items: flex-start;
}

/* Badge: Release Date */
.cat-box-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    color: var(--accent-cyan);
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-mono);
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

/* Badge: Metascore */
.cat-box-score {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #66cc33, #44aa22);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    font-family: var(--font-mono);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Badge: Editor's Pick */
.cat-box-pick {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--accent-cyan);
    color: var(--bg-main);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Play Button Overlay */
.cat-box-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.2s, color 0.2s;
}

.cat-box-card:hover .cat-box-play {
    background: rgba(0, 0, 0, 0.45);
    color: var(--accent-cyan);
}

/* ================================================================
   14. FOOTER
   ================================================================ */
.site-footer {
    background: var(--bg-header);
    color: var(--text-primary);
    margin-top: 0;
}

.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: flex;
    gap: 60px;
}

.footer-brand {
    flex: 1;
}

.footer-brand .logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.footer-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 12px;
    max-width: 320px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 48px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 24px;
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-secondary);
}

/* ================================================================
   15. CATEGORY PAGE (List Grid & Filters)
   ================================================================ */

/* --- HERO SECTION --- */
.pg-category-hero {
    max-width: 1320px;
    margin: 24px auto 40px;
    padding: 0 24px;
}

.pg-category-header {
    margin-bottom: 24px;
}

.pg-category-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.pg-cat-line {
    width: 32px;
    height: 2px;
    background: var(--accent-cyan);
    display: block;
}

.pg-category-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.pg-category-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
}

.pg-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    height: 400px;
}

.pg-hero-primary,
.pg-hero-secondary {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pg-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.pg-hero-primary:hover .pg-hero-img,
.pg-hero-secondary:hover .pg-hero-img {
    transform: scale(1.05);
}

.pg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
}

.pg-hero-content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
}

.pg-hero-badge {
    background: var(--accent-cyan);
    color: #000;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    display: inline-block;
}

.pg-hero-h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.pg-hero-h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

.pg-hero-p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-top: 4px;
}

/* --- FILTER BAR RICH --- */
.pg-filter-bar-rich {
    z-index: 30;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.pg-page.dark .pg-filter-bar-rich {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.08);
}

.pg-filter-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.pg-filter-pills::-webkit-scrollbar {
    display: none;
}

.pg-pill-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.pg-pill-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.pg-pill-btn.active {
    background: rgba(37, 192, 244, 0.15);
    color: var(--accent-cyan);
    border-color: rgba(37, 192, 244, 0.3);
}

.pg-sort-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s;
}

.pg-sort-dropdown:hover {
    border-color: var(--accent-cyan);
}

.pg-sort-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
}

.pg-sort-select-rich {
    appearance: none;
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    color: #64748b;
    padding-right: 16px;
    cursor: pointer;
    outline: none;
    text-align: center;
}

.pg-sort-icon {
    position: absolute;
    right: 10px;
    color: #64748b;
    pointer-events: none;
}

/* --- HORIZONTAL LIST --- */
.pg-flex-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pg-flex-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s;
}

.pg-flex-card:hover {
    background: #fafafa;
    border-color: rgba(37, 192, 244, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pg-flex-thumb {
    position: relative;
    width: 280px;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}

.pg-flex-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.pg-flex-card:hover .pg-flex-img {
    transform: scale(1.03);
}

.pg-flex-score {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: var(--accent-cyan);
    border: 1px solid rgba(37, 192, 244, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pg-flex-play {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
}

.pg-flex-card:hover .pg-flex-play {
    opacity: 1;
}

.pg-flex-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.pg-flex-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pg-flex-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pg-flex-meta time {
    font-size: 0.75rem;
    color: var(--text-on-light-muted);
    font-family: var(--font-mono);
}

.pg-flex-badge {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

.pg-flex-badge.mmorpg {
    background: rgba(139, 92, 246, 0.2);
    color: var(--cat-mmorpg);
}

.pg-flex-badge.action {
    background: rgba(239, 68, 68, 0.2);
    color: var(--cat-action);
}

.pg-flex-badge.rpg {
    background: rgba(16, 185, 129, 0.2);
    color: var(--cat-rpg);
}

.pg-flex-badge.industry {
    background: rgba(99, 102, 241, 0.2);
    color: var(--cat-industry);
}

.pg-flex-badge.platform {
    background: var(--accent-cyan);
    color: #000;
}

.pg-flex-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #64748b;
}

.pg-flex-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
}

.pg-flex-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.pg-flex-card:hover .pg-flex-title a {
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.pg-flex-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pg-flex-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.pg-flex-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pg-author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.pg-author-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
}

.pg-flex-actions {
    display: flex;
    gap: 12px;
}

.pg-action-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.pg-action-btn:hover {
    color: var(--text-primary);
}

/* SIDEBAR NEW BLOCKS */
.pg-side-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.pg-side-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.pg-side-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.pg-side-video {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 12px;
}

.pg-side-video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.pg-side-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.pg-side-video-play {
    width: 48px;
    height: 48px;
    background: var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 192, 244, 0.4);
    transition: transform 0.2s;
}

.pg-side-video:hover .pg-side-video-play {
    transform: scale(1.1);
}

.pg-side-video-info h4 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.pg-side-video-info p {
    font-size: 0.75rem;
    color: #64748b;
}

.pg-rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pg-rank-item {
    display: flex;
    gap: 16px;
    cursor: pointer;
    padding: 8px 0;
}

.pg-rank-item:hover .pg-rank-title {
    color: var(--accent-cyan);
}

.pg-rank-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: #cbd5e1;
    line-height: 1;
    min-width: 24px;
    transition: color 0.3s;
}

.pg-rank-item:hover .pg-rank-num {
    color: var(--accent-cyan);
}

.pg-rank-num.top {
    color: rgba(37, 192, 244, 0.5);
}

.pg-rank-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}

.pg-rank-content.border-0 {
    border-bottom: none;
    padding-bottom: 0;
}

.pg-rank-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
    margin-bottom: 2px;
}

.pg-rank-meta {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pg-side-newsletter {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    padding: 24px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.pg-side-nl-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1552820728-8b83bb6b2b28?w=500&q=80');
    background-size: cover;
    background-position: center;
}

.pg-side-nl-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
}

.pg-side-nl-content {
    position: relative;
    z-index: 10;
}

.pg-side-nl-content h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.pg-side-nl-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.pg-side-nl-content button {
    width: 100%;
    padding: 12px;
    background: var(--accent-cyan);
    color: #000;
    font-weight: 800;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s;
}

.pg-side-nl-content button:hover {
    background: #fff;
}

@media (prefers-reduced-motion: no-preference) {

    .hero-card,
    .article-card,
    .sidebar-block {
        animation: fadeUp 0.6s ease-out both;
    }

    .hero-card:nth-child(1) {
        animation-delay: 0.05s;
    }

    .hero-card:nth-child(2) {
        animation-delay: 0.12s;
    }

    .hero-card:nth-child(3) {
        animation-delay: 0.19s;
    }

    .hero-card:nth-child(4) {
        animation-delay: 0.26s;
    }

    .article-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .article-card:nth-child(2) {
        animation-delay: 0.16s;
    }

    .article-card:nth-child(3) {
        animation-delay: 0.22s;
    }

    .article-card:nth-child(4) {
        animation-delay: 0.28s;
    }

    .article-card:nth-child(5) {
        animation-delay: 0.34s;
    }

    .sidebar-block:nth-child(1) {
        animation-delay: 0.15s;
    }

    .sidebar-block:nth-child(2) {
        animation-delay: 0.22s;
    }

    .sidebar-block:nth-child(3) {
        animation-delay: 0.29s;
    }

    .sidebar-block:nth-child(4) {
        animation-delay: 0.36s;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================================
   16. RESPONSIVE (General)
   ================================================================ */
@media (max-width: 1024px) {
    .hero-top {
        grid-template-columns: 1fr;
    }

    .polygon-area {
        grid-template-columns: 1.5fr 1fr;
    }

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

    .hero-sub {
        height: 180px;
    }

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

    .pg-list-grid {
        grid-template-columns: 1fr;
    }

    .pg-filter-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .search-bar {
        display: none;
    }

    .search-icon-btn {
        display: flex;
    }

    .header-inner {
        padding: 0 16px;
        gap: 12px;
    }

    .main-nav {
        display: none;
    }

    .platform-filters {
        display: none;
    }

    .hero-section {
        padding: 0 16px;
        margin-top: 16px;
    }

    .hero-top {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .polygon-area {
        grid-template-columns: 1fr;
    }

    .polygon-main .polygon-image-link {
        height: 200px;
    }

    .polygon-side-img-link {
        height: 140px;
    }

    .hero-quad {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .hero-sub {
        height: 160px;
    }

    .main-content {
        padding: 0 16px 40px;
    }

    .article-card {
        flex-direction: column;
    }

    .article-thumb {
        width: 100%;
        min-height: auto;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .article-body {
        padding: 16px;
    }

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

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        padding: 24px 16px;
    }

    .footer-desc {
        display: none;
    }

    .footer-brand .logo-text {
        font-size: 1.4rem;
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 12px;
    }

    .footer-col h4 {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .footer-col a {
        font-size: 0.8rem;
        padding: 2px 0;
    }

    .footer-bottom {
        padding: 12px 16px;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }
}

/* --- 16a. Responsive Category Page --- */
@media (max-width: 1024px) {
    .pg-hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .pg-hero-primary,
    .pg-hero-secondary {
        aspect-ratio: 16 / 9;
    }

    .pg-hero-h2 {
        font-size: 1.3rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pg-hero-h3 {
        font-size: 0.95rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pg-hero-p {
        font-size: 0.75rem;
    }

    .pg-hero-content {
        bottom: 12px;
        left: 16px;
        right: 16px;
    }
}

@media (max-width: 768px) {

    .pg-category-title,
    .gdb-page-title,
    .sch-page-title {
        font-size: 2rem;
    }

    .pg-filter-bar-rich {
        top: 56px;
    }

    .pg-flex-card {
        flex-direction: row;
        padding: 12px;
        gap: 16px;
    }

    .pg-flex-thumb {
        width: 150px;
        min-width: 150px;
        height: 130px;
        max-height: 130px;
        aspect-ratio: auto;
    }

    .pg-flex-title {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .pg-flex-desc {
        display: none;
    }

    .pg-flex-meta {
        margin-bottom: 6px;
    }

    .sidebar {
        margin-top: 48px;
    }
}

/* --- PAGINATION (Rich) --- */
.pg-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    margin-bottom: 32px;
}

.pg-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.pg-page-link:hover:not(.disabled) {
    background: #e2e8f0;
    color: #0f172a;
}

.pg-page-link.active {
    background: var(--accent-cyan);
    color: #000;
    font-weight: 800;
}

.pg-page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: transparent;
}

.pg-page-dots {
    color: #94a3b8;
    font-weight: 700;
    margin: 0 4px;
}

/* ================================================================
   17. LIGHT THEME OVERRIDES
   ================================================================ */
.pg-page .pg-category-title,
.pg-page .gdb-page-title,
.pg-page .sch-page-title,
.pg-page .pg-flex-title a,
.pg-page .pg-side-title,
.pg-page .pg-side-video-info h4,
.pg-page .pg-rank-title {
    color: #0f172a;
}

.pg-page .pg-category-desc,
.pg-page .pg-side-video-info p,
.pg-page .pg-rank-meta {
    color: #475569;
}

.pg-page .pg-rank-num {
    color: #cbd5e1;
}

.pg-page .pg-rank-item:hover .pg-rank-num {
    color: var(--accent-cyan);
}

.pg-page .pg-rank-num.top {
    color: rgba(37, 192, 244, 0.7);
}

.pg-page .pg-hero-primary,
.pg-page .pg-hero-secondary {
    border-color: rgba(0, 0, 0, 0.1);
}

.pg-page .pg-flex-card {
    border-color: rgba(0, 0, 0, 0.05);
}

.pg-page .pg-side-header,
.pg-page .pg-rank-content {
    border-color: #e2e8f0;
}

.pg-page .pg-flex-score {
    color: #0f172a;
    background: #f4d025;
    /* Use the accent yellow from categ.txt */
    border-color: #eab308;
}

/* ============================================================
   GAME DB LISTING PAGE (.gdb-)
   ================================================================ */

/* Page Header */
.gdb-page-header {
    max-width: 1320px;
    margin: 32px auto 0;
    padding: 0 24px;
}

.gdb-page-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .gdb-page-title {
        font-size: 2rem;
    }
}

.gdb-page-title svg {
    color: var(--accent-cyan);
}

.gdb-page-desc {
    font-size: 0.9rem;
    color: var(--text-on-light-muted);
    margin-top: 4px;
}

/* Filter Bar — Premium Panel Design matching wireframe */
.gdb-filter-bar {
    width: 100%;
}

.gdb-filter-panel {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Changed from space-between to bring elements closer */
    background: #fff;
    border-radius: var(--radius);
    padding: 10px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    flex-wrap: wrap;
    gap: 24px;
    /* Increased gap between major groups instead of pushing to edges */
}

.gdb-filter-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.gdb-filter-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    /* Push sort dropdown back to the right edge */
}

.gdb-filter-divider {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
}

/* Borderless transparent dropdowns for a seamless look */
.gdb-select-borderless {
    padding: 6px 28px 6px 4px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    background-color: transparent;
    color: var(--text-on-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.gdb-select-borderless:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.gdb-select-borderless:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background-color: transparent;
}

.gdb-select-sm {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Platform text buttons (flat, premium) */
.gdb-platform-btns {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gdb-plat-btn {
    padding: 6px 14px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-on-light-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: color 0.15s, background 0.15s;
}

.gdb-plat-btn:hover {
    color: var(--text-on-light);
    background: rgba(0, 0, 0, 0.04);
}

.gdb-plat-btn.active {
    color: var(--text-on-light);
    font-weight: 700;
    background: rgba(0, 0, 0, 0.06);
}

.gdb-sort-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-on-light-muted);
    white-space: nowrap;
}


/* Card Grid */
.gdb-grid-section {
    flex: 1;
    min-width: 0;
}

.gdb-card-grid {
    margin-top: 24px;
    /* Move spacing explicitly to the grid to increase distance from filter panel */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gdb-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-sidebar);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
    text-decoration: none;
}

.gdb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.gdb-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    flex-shrink: 0;
    /* Keep image ratio intact */
}

.gdb-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gdb-card:hover .gdb-card-img {
    transform: scale(1.06);
}

/* Score Badge */
.gdb-score {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gdb-score-green {
    background: #16a34a;
}

.gdb-score-yellow {
    background: #d97706;
}

.gdb-score-red {
    background: #dc2626;
}

.gdb-score-pending {
    background: #6b7280;
    font-size: 1rem;
}

/* Card Body */
.gdb-card-body {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gdb-card-title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-on-light);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.gdb-card-platforms {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    margin-top: auto;
    /* Force platform badge and meta details to bottom */
}

.gdb-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.gdb-card-genre {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
}

.gdb-card-date {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-on-light-muted);
}

/* Sidebar Popular List */
.gdb-popular-list {
    display: flex;
    flex-direction: column;
}

.gdb-popular-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eef0f4;
    transition: background 0.15s;
    text-decoration: none;
}

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

.gdb-popular-item:hover {
    background: rgba(0, 212, 255, 0.04);
}

.gdb-popular-rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-on-light-muted);
    flex-shrink: 0;
}

.gdb-popular-item:nth-child(1) .gdb-popular-rank {
    background: var(--accent-cyan);
    color: #fff;
}

.gdb-popular-item:nth-child(2) .gdb-popular-rank {
    background: #64748b;
    color: #fff;
}

.gdb-popular-item:nth-child(3) .gdb-popular-rank {
    background: #92400e;
    color: #fff;
}

.gdb-popular-thumb {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.gdb-popular-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.gdb-popular-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-on-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gdb-popular-score-sm {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: #16a34a;
    flex-shrink: 0;
}

.gdb-popular-score-pending {
    color: #9ca3af;
}

.gdb-popular-info .pg-popular-link {
    font-size: 1.05rem;
}

/* --- 18a. Game DB Responsive --- */
@media (max-width: 1024px) {
    .gdb-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gdb-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gdb-filter-panel {
        padding: 8px 12px;
        gap: 8px;
        flex-direction: column;
    }

    .gdb-filter-divider {
        display: none;
    }

    .gdb-filter-left {
        width: 100%;
        justify-content: flex-start;
        gap: 6px;
    }

    .gdb-platform-btns {
        flex-wrap: wrap;
        gap: 4px;
    }

    .gdb-platform-btn {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .gdb-genre-select {
        font-size: 0.8rem;
        padding: 4px 8px;
    }

    .gdb-filter-right {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }

    .gdb-sort-select {
        font-size: 0.8rem;
    }

}

@media (max-width: 480px) {
    .gdb-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gdb-card-title {
        font-size: 0.85rem;
    }

    .gdb-score {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}

/* ============================================================
   GAME HUB DETAIL PAGE (.gh-)
   ================================================================ */

/* Hero Banner */
.gh-hero {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.gh-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.4) 40%,
            rgba(0, 0, 0, 0.15) 100%);
    display: flex;
    align-items: flex-end;
}

.gh-hero-content {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px 64px;
}

.gh-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.gh-breadcrumb a {
    color: var(--accent-cyan);
    transition: opacity 0.15s;
}

.gh-breadcrumb a:hover {
    opacity: 0.8;
}

.gh-hero-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    color: #fff;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.gh-hero-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

/* Info Card */
.gh-info-wrap {
    max-width: 1320px;
    margin: -48px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.gh-info-card {
    background: var(--bg-sidebar);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.gh-info-cover {
    flex-shrink: 0;
}

.gh-info-cover-img {
    width: 100px;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gh-info-specs {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
}

.gh-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gh-info-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-on-light-muted);
    white-space: nowrap;
    min-width: 90px;
}

.gh-info-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-on-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.gh-info-score-area {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.gh-meta-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.gh-meta-score-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
}

.gh-meta-score-num {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.gh-meta-score-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-on-light-muted);
    text-align: center;
    white-space: nowrap;
}

/* Tab Bar */
.gh-tab-bar {
    max-width: 1320px;
    margin: 28px auto 0;
    padding: 0 24px;
    border-bottom: 2px solid #e2e8f0;
}

.gh-tab-inner {
    display: flex;
    gap: 0;
}

.gh-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-on-light-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.gh-tab:hover {
    color: var(--text-on-light);
}

.gh-tab.active {
    color: var(--accent-cyan);
    border-bottom-color: var(--accent-cyan);
}

.gh-tab svg {
    opacity: 0.6;
}

.gh-tab.active svg {
    opacity: 1;
    color: var(--accent-cyan);
}

/* Tab Content Panels */
.gh-tab-content {
    flex: 1;
    min-width: 0;
}

.gh-panel {
    display: none;
}

.gh-panel.active {
    display: block;
}

/* Article Cards */
.gh-article-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gh-article-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-sidebar);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.gh-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.gh-article-thumb {
    flex-shrink: 0;
    width: 200px;
    height: 130px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.gh-article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gh-article-card:hover .gh-article-img {
    transform: scale(1.05);
}

.gh-article-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gh-article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.gh-article-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gh-article-badge.news {
    background: rgba(0, 212, 255, 0.12);
    color: #0891b2;
}

.gh-article-badge.feature {
    background: rgba(139, 92, 246, 0.12);
    color: #7c3aed;
}

.gh-article-badge.preview {
    background: rgba(249, 115, 22, 0.12);
    color: #ea580c;
}

.gh-article-badge.guide {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.gh-article-time {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-on-light-muted);
}

.gh-article-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-on-light);
    line-height: 1.5;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gh-article-desc {
    font-size: 0.82rem;
    color: var(--text-on-light-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Reviews Tab */
.gh-reviews-header {
    padding: 20px 0 24px;
}

.gh-reviews-score-large {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gh-meta-score-lg {
    width: 80px;
    height: 80px;
}

.gh-meta-score-lg .gh-meta-score-num {
    font-size: 1.8rem;
}

.gh-reviews-score-desc {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gh-reviews-verdict {
    font-size: 1.1rem;
    font-weight: 700;
    color: #16a34a;
}

.gh-reviews-count {
    font-size: 0.8rem;
    color: var(--text-on-light-muted);
}

.gh-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gh-review-item {
    background: var(--bg-sidebar);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    padding: 16px 20px;
}

.gh-review-source {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.gh-review-outlet {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-on-light);
}

.gh-review-score-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    color: #fff;
}

.gh-review-score-badge.green {
    background: #16a34a;
}

.gh-review-score-badge.yellow {
    background: #d97706;
}

.gh-review-score-badge.red {
    background: #dc2626;
}

.gh-review-quote {
    font-size: 0.85rem;
    color: var(--text-on-light-muted);
    line-height: 1.7;
    font-style: italic;
    border-left: 3px solid #e2e8f0;
    padding-left: 12px;
}

.gh-reviews-source-note {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 16px;
}

.gh-reviews-source-note a {
    color: var(--accent-cyan);
}

/* Related Titles (sidebar) */
.gh-related-list {
    display: flex;
    flex-direction: column;
}

.gh-related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eef0f4;
    text-decoration: none;
    transition: background 0.15s;
}

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

.gh-related-item:hover {
    background: rgba(0, 212, 255, 0.04);
}

.gh-related-thumb {
    width: 133px;
    height: 75px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.gh-related-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gh-related-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-on-light);
}

.gh-related-genre {
    font-size: 0.85rem;
    color: var(--text-on-light-muted);
}

/* External Links */
.gh-links-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gh-ext-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-cyan);
    text-decoration: none;
    transition: opacity 0.15s;
}

.gh-ext-link:hover {
    opacity: 0.7;
}

.gh-ext-link svg {
    opacity: 0.5;
}

/* --- 19a. Game Hub Responsive --- */
@media (max-width: 1024px) {
    .gh-info-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gh-hero {
        height: 260px;
    }

    .gh-hero-title {
        font-size: 1.8rem;
    }

    .gh-info-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .gh-info-cover {
        display: none;
    }

    .gh-info-score-area {
        align-self: center;
    }

    .gh-tab {
        font-size: 0.8rem;
        padding: 10px 14px;
    }

    .gh-article-card {
        flex-direction: column;
    }

    .gh-article-thumb {
        width: 100%;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .gh-hero {
        height: 200px;
    }

    .gh-hero-title {
        font-size: 1.4rem;
    }

    .gh-hero-sub {
        font-size: 0.8rem;
    }

    .gh-info-wrap {
        margin-top: -32px;
    }

    .gh-tab-inner {
        overflow-x: auto;
    }
}

/* ================================================================
   20. SCHEDULE PAGE (.sch-)
   ================================================================ */
.sch-page-header {
    margin-bottom: 32px;
}

.sch-page-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .sch-page-title {
        font-size: 2rem;
    }
}

.sch-page-desc {
    color: var(--text-light);
    margin-top: 8px;
}

.sch-timeline-section {
    flex: 1;
    min-width: 0;
}

.sch-month-group {
    margin-bottom: 48px;
}

.sch-month-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.sch-month-title {
    font-size: 1.8rem;
    font-family: var(--font-display);
    color: #1a1d24;
}

.sch-month-badge {
    background: var(--accent-cyan);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.sch-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sch-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    gap: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.sch-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

.sch-item-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    overflow: hidden;
}

.sch-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sch-item-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sch-item-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1d24;
    margin-bottom: 8px;
}

.sch-item-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sch-item-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    text-align: right;
}

.sch-item-date {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1d24;
    font-family: var(--font-mono);
}

.sch-item-date small {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-left: 4px;
}

.sch-item-action {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 140px;
}

.sch-btn-primary {
    background: #1a1d24;
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
    text-align: center;
}

.sch-btn-primary:hover {
    background: var(--accent-cyan);
}

.sch-btn-secondary {
    background: var(--bg-body);
    color: #1a1d24;
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    text-align: center;
}

.sch-btn-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

/* Responsive for Schedule */
@media (max-width: 768px) {
    .sch-item {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        padding: 14px;
        gap: 12px;
        align-items: center;
    }

    .sch-item-thumb {
        width: 80px;
        height: 56px;
    }

    .sch-item-body {
        flex: 1;
        min-width: 0;
    }

    .sch-item-title {
        font-size: 0.9rem;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sch-item-meta {
        font-size: 0.75rem;
        gap: 6px;
    }

    .sch-item-meta span:last-child {
        display: none;
    }

    .sch-item-right {
        gap: 10px;
        flex-shrink: 0;
    }

    .sch-item-date {
        font-size: 0.95rem;
    }

    .sch-item-date small {
        display: none;
    }

    .sch-item-action {
        min-width: auto;
        gap: 4px;
    }

    .sch-btn-primary {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .sch-btn-secondary {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}


/* ================================================================
   21. STATIC PAGES (About, Contact, Privacy)
   ================================================================ */
.static-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.static-page-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-on-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.static-page-desc {
    color: var(--text-on-light-muted);
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.static-section {
    margin-bottom: 40px;
}

.static-section h2 {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-on-light);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-cyan);
    display: inline-block;
}

.static-section p,
.static-section li {
    font-size: 0.95rem;
    color: #3a3f4b;
    line-height: 1.9;
    margin-bottom: 12px;
}

.static-section ul {
    padding-left: 20px;
    list-style: disc;
}

.static-section ul li {
    margin-bottom: 8px;
}

/* Team cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.team-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), #ec4899);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
}

.team-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-on-light);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.8rem;
    color: var(--text-on-light-muted);
}

/* Contact form */
.contact-form {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-on-light);
    margin-bottom: 6px;
}

.form-label .required {
    color: #ef4444;
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-on-light);
    background: #fafbfc;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 160px;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1d24;
    color: #fff;
    padding: 12px 32px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.form-submit:hover {
    background: var(--accent-cyan);
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-on-light-muted);
    margin-top: 16px;
}

/* Privacy policy specific */
.privacy-update {
    font-size: 0.85rem;
    color: var(--text-on-light-muted);
    margin-bottom: 32px;
}

@media (max-width: 640px) {
    .static-page {
        padding: 32px 16px 60px;
    }

    .static-page-title {
        font-size: 1.5rem;
    }

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

    .contact-form {
        padding: 20px;
    }
}

/* ================================================================
   22. MOBILE LAYOUT OVERRIDES
   ================================================================ */
@media (max-width: 640px) {
    .hero-section {
        padding: 0 16px;
        margin-top: 16px;
    }

    .main-content {
        padding: 0 16px 40px;
    }

    /* 1. Top Hero: 1, 2 (portrait, 2x2) */
    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 8px;
        height: auto;
    }

    .hero-grid-card {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero-grid-large {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 3 / 4;
        height: auto;
    }

    .hero-grid-large .hero-grid-title {
        font-size: 1rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 2. Adjacent 4 Boxes: 3, 4, 5, 6 (square, 2x2) */
    .hero-grid-small {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 4 / 3;
        height: auto;
        position: relative;
        overflow: hidden;
        border-radius: var(--radius);
    }

    .hero-grid-small .hero-grid-card {
        border-radius: 0;
    }

    .hero-grid-small .hero-grid-link {
        display: block;
        height: 100%;
        margin-bottom: 0;
        border-bottom: none;
        padding-bottom: 0;
    }

    .hero-grid-small .hero-grid-img {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 0;
        object-fit: cover;
        z-index: 1;
    }

    .hero-grid-small .hero-grid-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 12px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
        width: 100%;
        height: 100%;
        z-index: 2;
    }

    .hero-grid-small .hero-grid-title {
        color: #fff;
        font-size: 0.95rem;
        font-weight: 700;
        margin: 0;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    }


    .hero-quad {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 8px;
    }

    .quad-card-thumb {
        height: 100px;
    }

    .quad-card-title {
        font-size: 0.85rem;
        line-height: 1.35;
    }

    .hero-sub {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    /* 3. Latest Articles (Row style / Horizontal rectangle) */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .article-card {
        flex-direction: row;
        align-items: stretch;
    }

    .article-thumb {
        width: 150px;
        min-width: 150px;
        height: auto;
        min-height: 130px;
        max-height: none;
        flex-shrink: 0;
        background-size: cover;
        background-position: center;
        overflow: hidden;
        border-radius: var(--radius-sm);
    }

    .article-body {
        padding: 10px 12px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .article-title {
        font-size: 0.88rem;
        margin-bottom: 4px;
        line-height: 1.35;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .article-desc {
        display: none;
    }

    .article-meta {
        font-size: 0.75rem;
        margin-top: 4px;
    }

    .article-meta time {
        flex-basis: 100%;
        margin-top: 2px;
    }

    .article-cat {
        font-size: 0.7rem;
        padding: 2px 6px;
    }

    /* 4. Hide Sidebar Tags */
    .pg-sidebar-section:has(.tag-cloud) {
        display: none;
    }

    /* 5. Article Page: 2-column → 1-column stack */
    .pg-article-wrapper {
        padding: 16px;
    }

    .pg-article-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pg-title {
        font-size: 1.4rem;
    }

    .pg-subtitle {
        font-size: 0.95rem;
    }

    .pg-hero-img {
        border-radius: var(--radius-sm);
    }

    .pg-body h2 {
        font-size: 1.2rem;
    }

    /* 6. Recommended articles grid → 2 columns on mobile */
    .pg-recommended-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pg-recommended-title {
        font-size: 1.5rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pg-recommended-section {
        padding: 32px 16px;
    }

    /* 7. Header: search bar shrink + nav bar hide filters */
    .top-bar-inner {
        padding: 0 12px;
        gap: 8px;
    }

    .search-input {
        font-size: 0.8rem;
    }

    .nav-bar-inner {
        padding: 0 12px;
        height: 38px;
        justify-content: center;
    }

    .nav-bar .platform-filters {
        display: none;
    }

    .nav-bar .main-nav {
        display: flex;
        gap: 0;
        justify-content: center;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav-bar .main-nav::-webkit-scrollbar {
        display: none;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 8px 10px;
        white-space: nowrap;
    }

    /* 8. Category page hero grid → 1 column */
    .pg-hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .pg-hero-primary,
    .pg-hero-secondary {
        aspect-ratio: 16 / 9;
    }

    /* 9. Game Hub page responsive */
    .gh-info-grid {
        grid-template-columns: 1fr;
    }

    .gh-hero {
        height: 280px;
    }
}

/* ================================================================
   23. BREADCRUMB NAVIGATION
   ================================================================ */
.breadcrumb-nav {
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
}

.breadcrumb-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: flex !important;
    align-items: center;
    font-size: 0.8rem;
    color: #94a3b8;
}

.breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--accent-cyan);
}

.breadcrumb-item.current {
    color: #475569;
    font-weight: 600;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #cbd5e1;
    font-size: 0.7rem;
}

.breadcrumb-home-icon {
    width: 14px;
    height: 14px;
    min-width: 14px;
    max-width: 14px;
    min-height: 14px;
    max-height: 14px;
    margin-right: 4px;
    vertical-align: -2px;
    flex-shrink: 0;
    display: inline-block;
}

@media (max-width: 640px) {
    .breadcrumb-nav {
        padding: 16px;
    }

    .breadcrumb-item {
        font-size: 0.75rem;
    }

    .breadcrumb-separator {
        margin: 0 6px;
    }
}

/* ================================================================
   24. AD SLOTS (Future AdSense Integration)
   ================================================================
   広告スロット用スタイル。現在は非表示。
   AdSense取得後、HTMLコメント位置に以下のクラスを使った
   div要素を追加し、中にAdSenseコードを貼り付ける。

   使用例:
   <div class="ad-slot ad-slot--sidebar">
       <ins class="adsbygoogle" ...></ins>
   </div>
   ================================================================ */

/* 共通スタイル */
.ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px auto;
    overflow: hidden;
    background: transparent;
}

/* サイドバー レクタングル (300x250) */
.ad-slot--sidebar {
    max-width: 300px;
    min-height: 250px;
}

/* インフィード (記事間) */
.ad-slot--infeed {
    max-width: 100%;
    min-height: 90px;
    margin: 16px 0;
}

/* リーダーボード / バナー (728x90) */
.ad-slot--banner {
    max-width: 728px;
    min-height: 90px;
}

/* モバイルバナー (320x100) */
.ad-slot--mobile-banner {
    max-width: 320px;
    min-height: 100px;
}

/* レスポンシブ広告（自動サイズ） */
.ad-slot--responsive {
    width: 100%;
    min-height: 90px;
}

@media (max-width: 640px) {
    .ad-slot--banner {
        max-width: 100%;
        min-height: 50px;
    }

    .ad-slot--sidebar {
        max-width: 100%;
    }
}

/* ===== Visually Hidden (Accessibility) ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}