:root {
    --bg-color: #0a0a0f;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-hover: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --primary: rgba(212, 175, 55, 0.3);
    --accent-gold: #d4af37;
    --accent-silver: #c0c0c0;
    --accent-bronze: #cd7f32;
    --accent-red: #ff4d4d;
    --font-main: 'Outfit', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Changed from center to allow scrolling */
    /* Enable scrolling */
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain; /* Prevent pull-to-refresh conflict */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.background-glob {
    position: fixed;
    /* Fixed so it stays while scrolling */
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(77, 121, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    top: -200px;
    left: -200px;
    z-index: -1;
    animation: pulse 10s infinite alternate;
}

.glob-2 {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    top: auto;
    bottom: -200px;
    left: auto;
    right: -200px;
    animation: pulse 15s infinite alternate-reverse;
}

.container {
    width: 100%;
    max-width: 95vw;
    /* Wider container */
    padding: 20px;
    text-align: center;
    z-index: 1;
}

header {
    margin-bottom: 20px;
    position: relative;
}

h1 {
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 1.45rem;
    margin: 0;
    background: linear-gradient(90deg, #ffffff 0%, #f3e8ff 50%, #f9a8d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 0.78rem;
    margin-top: 4px;
    letter-spacing: 0.04em;
    font-weight: 500;
}

/* Header removed, styles deleted */

.ranking-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
}

.ranking-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 10px 12px 12px 12px;
    height: 64px;
    min-height: 64px;
    max-height: 64px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.ranking-item:hover {
    background: var(--card-hover);
    transform: translateY(-2px);
}

.rank-badge {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 10px;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.store-info {
    flex-grow: 1;
    min-width: 0;
    text-align: left;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.store-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    height: 18px;
    overflow: hidden;
}

.area-tag {
    font-size: 0.68rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 6px;
    min-width: 36px;
    text-align: center;
    box-sizing: border-box;
    border-radius: 4px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    line-height: 1.3;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.brand-olg {
    background: rgba(212, 175, 55, 0.18);
    color: #f3d478;
    border-color: rgba(212, 175, 55, 0.4);
}

.brand-ag {
    background: rgba(56, 217, 169, 0.16);
    color: #63e6be;
    border-color: rgba(56, 217, 169, 0.4);
}

.brand-jis {
    background: rgba(177, 151, 252, 0.18);
    color: #d0bfff;
    border-color: rgba(177, 151, 252, 0.4);
}

.brand-xix {
    background: rgba(77, 171, 247, 0.18);
    color: #74c0fc;
    border-color: rgba(77, 171, 247, 0.4);
}

.brand-alfa {
    background: rgba(255, 135, 135, 0.18);
    color: #ffc9c9;
    border-color: rgba(255, 135, 135, 0.4);
}

.brand-yatakoi {
    background: rgba(255, 169, 77, 0.18);
    color: #ffd8a8;
    border-color: rgba(255, 169, 77, 0.4);
}

.brand-clovers {
    background: rgba(105, 219, 124, 0.18);
    color: #b2f2bb;
    border-color: rgba(105, 219, 124, 0.4);
}

.brand-other {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
}

.store-name {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 20px;
    height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stats-group {
    display: flex;
    gap: 8px;
    margin-left: 8px;
    min-width: 84px;
    justify-content: flex-end;
    z-index: 1;
    flex-shrink: 0;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 38px;
    min-width: 38px;
    flex-shrink: 0;
}

.stat .count {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1;
}

.stat .label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.stat.ladies .count {
    color: #ff8787;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.25);
}

.stat.men .count {
    color: #74c0fc;
}

/* Rank specific styles */
.ranking-item.rank-1 {
    border-color: rgba(212, 175, 55, 0.35);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.12), rgba(255, 255, 255, 0.03));
}

.rank-1 .rank-badge {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.5);
}

.ranking-item.rank-2 {
    border-color: rgba(192, 192, 192, 0.3);
}

.rank-2 .rank-badge {
    background: var(--accent-silver);
    color: #000;
}

.ranking-item.rank-3 {
    border-color: rgba(205, 127, 50, 0.3);
}

.rank-3 .rank-badge {
    background: var(--accent-bronze);
    color: #000;
}

/* Gender Ratio Bar */
.occupancy-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
}

.bar-fill-ladies {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ff8787);
    transition: width 0.4s ease;
}

.bar-fill-men {
    height: 100%;
    background: linear-gradient(90deg, #4dabf7, #339af0);
    transition: width 0.4s ease;
}

.info-bar {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    padding: 0 5px;
    gap: 8px;
}

.header-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
}

.header-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.78rem;
    font-family: var(--font-main);
    transition: all 0.2s ease;
}

.header-btn:hover {
    color: #fff;
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.15);
}

.header-btn:active {
    transform: scale(0.95);
}

.header-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.header-btn.spinning svg {
    animation: spin 0.6s linear infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px) rotate(-2deg); }
    75% { transform: translateX(2px) rotate(2deg); }
}

/* Report Table */
.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.report-table th, .report-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.report-table th {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-secondary);
    font-weight: 600;
}

.report-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Search and Sort UI */
.search-sort-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

#search-input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.9rem;
    box-sizing: border-box;
}

#search-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.1);
}

.sort-controls {
    display: flex;
    gap: 5px;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px;
    border-radius: 20px;
    justify-content: space-between;
}

.sort-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 6px 0;
    border-radius: 16px;
    cursor: pointer;
    font-size: 0.8rem;
    font-family: var(--font-main);
    transition: all 0.2s ease;
}

.sort-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-weight: 600;
}

/* Compact Mode */
body.compact-mode .ranking-item {
    flex-direction: row;
    align-items: center;
    padding: 10px 15px;
    gap: 15px;
}

body.compact-mode .store-info {
    flex: 1;
    margin-bottom: 0;
}

body.compact-mode .store-name {
    font-size: 1rem;
}

body.compact-mode .stats-group {
    width: auto;
    gap: 10px;
    padding-top: 0;
    border-top: none;
}

body.compact-mode .stat {
    flex-direction: row;
    gap: 5px;
    align-items: baseline;
}

body.compact-mode .stat .count {
    font-size: 1.1rem;
}

body.compact-mode .stat .label {
    display: none;
}

body.compact-mode .occupancy-bar {
    display: none;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--accent-red);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.dot {
    width: 5px;
    height: 5px;
    background-color: var(--accent-red);
    border-radius: 50%;
    animation: flash 2s infinite;
}

.hidden {
    display: none;
}

.loading-state {
    padding: 30px;
    color: var(--text-secondary);
}

.spinner {
    width: 25px;
    height: 25px;
    border: 2px solid var(--card-border);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    margin: 0 auto 10px auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

@keyframes flash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Filter Bar */
.filter-bar {
    display: flex;
    overflow-x: auto;
    padding: 10px 0;
    gap: 8px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.filter-bar::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: #fff;
    font-weight: 600;
}

/* Pinned Section */
.section-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 10px 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-align: left;
    padding-left: 5px;
}

.separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
    width: 100%;
}

.pinned-item {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
}

/* Card Actions */
.card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-left: 6px;
    margin-right: 2px;
    z-index: 2;
}

.pin-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.55;
    flex-shrink: 0;
}

.analysis-btn {
    background: rgba(77, 171, 247, 0.12);
    border: 1px solid rgba(77, 171, 247, 0.3);
    color: #74c0fc;
    cursor: pointer;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pin-btn:hover, .analysis-btn:hover {
    opacity: 1;
    transform: scale(1.06);
}

.analysis-btn:hover {
    background: rgba(77, 171, 247, 0.25);
    border-color: #74c0fc;
    color: #fff;
}

.pin-btn.active {
    color: var(--accent-gold);
    opacity: 1;
}

.pin-btn.star-icon.filled {
    fill: var(--accent-gold);
}

.pin-btn.active svg {
    fill: var(--accent-gold);
}

.error-message {
    color: var(--accent-red);
    text-align: center;
    padding: 20px;
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    border-radius: 8px;
    margin: 20px 0;
}

.star-icon {
    width: 17px;
    height: 17px;
}

.chart-icon {
    width: 15px;
    height: 15px;
}

/* Refresh Toast Notification */
.refresh-toast {
    position: fixed;
    top: calc(16px + env(safe-area-inset-top));
    left: 50%;
    transform: translate(-50%, -25px);
    opacity: 0;
    background: rgba(24, 28, 40, 0.96);
    border: 1px solid var(--accent-gold);
    color: #fff;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 0.82rem;
    font-weight: 600;
    z-index: 3000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    transition: all 0.25s ease;
    pointer-events: none;
    white-space: nowrap;
}

.refresh-toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}

@keyframes flashUpdateText {
    0% { color: var(--accent-gold); text-shadow: 0 0 8px rgba(212, 175, 55, 0.8); }
    100% { color: var(--text-secondary); text-shadow: none; }
}

.flash-update {
    animation: flashUpdateText 1.5s ease-out;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: #161620;
    padding: 0 18px 20px 18px;
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    max-height: 86vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    position: relative;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65);
    text-align: left;
    box-sizing: border-box;
}

/* Sticky Modal Header so Close button is always reachable */
.modal-header {
    position: sticky;
    top: 0;
    background: rgba(22, 22, 32, 0.95);
    backdrop-filter: blur(8px);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 0 12px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.close-btn-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.close-btn-pill:hover,
.close-btn-pill:active {
    background: rgba(255, 107, 107, 0.25);
    border-color: #ff8787;
}

.modal-bottom-close-btn {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-bottom-close-btn:hover,
.modal-bottom-close-btn:active {
    background: rgba(255, 255, 255, 0.16);
}

/* Live vs Historical Comparison Banner */
.comparison-banner {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    font-size: 0.82rem;
}

.live-banner-counts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ladies-text {
    color: #ff8787;
}

.men-text {
    color: #74c0fc;
}

.diff-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.diff-badge.hot {
    background: rgba(255, 107, 107, 0.2);
    color: #ffa8a8;
    border: 1px solid rgba(255, 107, 107, 0.4);
}

.diff-badge.up {
    background: rgba(81, 207, 102, 0.18);
    color: #8ce99a;
    border: 1px solid rgba(81, 207, 102, 0.35);
}

.diff-badge.down {
    background: rgba(77, 171, 247, 0.15);
    color: #a5d8ff;
}

.diff-badge.neutral {
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
}

.section-header-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.chart-hint {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.chart-container {
    margin-top: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 10px;
}

.chart-container h3 {
    font-size: 0.9rem;
    color: #e0e0e0;
    margin: 0 0 8px 0;
}

.section-header-row h3 {
    margin: 0;
}

.chart-filters {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.chart-filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    cursor: pointer;
    min-width: 35px;
    transition: all 0.2s;
}

.chart-filter-btn.active,
.chart-filter-btn:hover {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
    font-weight: bold;
}

/* Make charts readable on dark bg */
canvas {
    max-height: 250px;
}

/* Date Button Container */
.date-button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
    margin-bottom: 10px;
}

.date-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    cursor: pointer;
    min-width: 55px;
    transition: all 0.2s;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.date-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.date-btn.active {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
    font-weight: bold;
}

.date-btn .day-name {
    display: block;
    font-size: 0.65rem;
    opacity: 0.7;
}

/* Load More Button */
.load-more-btn {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    width: 100%;
    margin-top: 5px;
}

/* Pull to Refresh Indicator */
#pull-indicator {
    position: fixed;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    transition: top 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#pull-indicator.show {
    top: 20px;
}

#pull-indicator .spinner {
    width: 16px;
    height: 16px;
    margin: 0;
    border-width: 2px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .container {
        padding: 14px 10px;
    }
    .modal-content {
        padding: 0 14px 16px 14px;
        max-height: 84vh;
    }
}

/* --- Native In-Feed PR / Affiliate Card --- */
.pr-card-item {
    text-decoration: none;
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
    border: 1px solid rgba(236, 72, 153, 0.28);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.pr-card-item:hover {
    border-color: rgba(236, 72, 153, 0.55);
}

.pr-badge-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.45);
    color: #f9a8d4;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.pr-tag-pill {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1.3;
    background: rgba(212, 175, 55, 0.2);
    color: #fcd34d;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.pr-title {
    font-size: 0.92rem;
    color: #fff;
    margin: 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pr-cta-box {
    margin-left: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.pr-cta-btn {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 14px;
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

/* --- SNS Share Box & Buttons --- */
.share-banner-box {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.share-banner-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #e2e8f0;
}

.share-banner-buttons,
.modal-share-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.modal-share-bar {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.modal-share-label {
    font-size: 0.74rem;
    color: var(--text-secondary);
}

.share-pill-btn {
    border: none;
    border-radius: 18px;
    padding: 6px 13px;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s, transform 0.15s;
}

.share-pill-btn:active {
    transform: scale(0.96);
}

.share-pill-btn.line-btn {
    background: #06C755;
    color: #fff;
}

.share-pill-btn.x-btn {
    background: #1d9bf0;
    color: #fff;
}

.share-pill-btn.copy-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-pill-btn.official-btn {
    background: rgba(212, 175, 55, 0.18);
    color: #fde047;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

/* --- Modal PR Slot --- */
.modal-pr-box {
    margin-top: 10px;
}

.modal-pr-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(236, 72, 153, 0.12), rgba(59, 130, 246, 0.12));
    border: 1px solid rgba(236, 72, 153, 0.3);
    text-decoration: none;
    color: #f8fafc;
    font-size: 0.76rem;
    font-weight: 600;
}

.modal-pr-text {
    flex: 1;
    text-align: left;
    line-height: 1.3;
}

.modal-pr-arrow {
    font-size: 1rem;
    color: #f472b6;
    font-weight: 800;
}

/* --- Legal & Footer --- */
.app-footer {
    margin-top: 28px;
    padding: 18px 12px 24px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.68rem;
    color: #888899;
    line-height: 1.55;
    max-width: 640px;
    margin: 0 auto 10px auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.footer-link-btn {
    background: none;
    border: none;
    color: #a5b4fc;
    font-size: 0.72rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 2px 4px;
}

.footer-divider {
    opacity: 0.35;
}

.legal-body {
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.65;
    color: #d1d5db;
    padding: 4px 2px 10px 2px;
}

.legal-body h3 {
    font-size: 0.88rem;
    color: #f9a8d4;
    margin: 14px 0 6px 0;
    border-left: 3px solid #ec4899;
    padding-left: 8px;
}

.legal-body p {
    margin: 0 0 10px 0;
}

/* --- SEO & ASP Review Guide Section & Guide Modal --- */
.seo-guide-section {
    margin-top: 22px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    text-align: left;
}

.seo-guide-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.seo-guide-header h2 {
    margin: 0;
    font-size: 0.92rem;
    color: #f3e8ff;
}

.guide-open-btn {
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    border: none;
    border-radius: 18px;
    color: #fff;
    padding: 6px 13px;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

.seo-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.seo-guide-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px;
}

.seo-guide-card h3 {
    margin: 0 0 6px 0;
    font-size: 0.82rem;
    color: #f9a8d4;
}

.seo-guide-card p {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.55;
    color: #cbd5e1;
}

.guide-modal-body {
    text-align: left;
    padding: 4px 2px 12px 2px;
}

.guide-lead {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 14px 0;
}

.guide-app-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.guide-app-card {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.07) 0%, rgba(59, 130, 246, 0.07) 100%);
    border: 1px solid rgba(236, 72, 153, 0.28);
    border-radius: 12px;
    padding: 12px 14px;
}

.guide-app-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fde047;
    background: rgba(212, 175, 55, 0.16);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.guide-app-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.guide-app-info {
    flex: 1;
    min-width: 210px;
}

.guide-app-name {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    color: #fff;
}

.guide-app-target {
    margin: 0 0 4px 0;
    font-size: 0.74rem;
    font-weight: 600;
    color: #f9a8d4;
}

.guide-app-desc {
    margin: 0;
    font-size: 0.73rem;
    line-height: 1.45;
    color: #cbd5e1;
}

.guide-app-cta {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 20px;
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    color: #fff;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(236, 72, 153, 0.35);
}

.guide-tips-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 14px;
}

.guide-tips-box h4 {
    margin: 0 0 8px 0;
    font-size: 0.82rem;
    color: #93c5fd;
}

.guide-tips-box ul {
    margin: 0;
    padding-left: 18px;
    font-size: 0.74rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.guide-tips-box li {
    margin-bottom: 6px;
}

/* --- Official A8.net Banner Container --- */
.a8-banner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 14px auto;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(236, 72, 153, 0.22);
    max-width: 960px;
}

.a8-pr-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.a8-banner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.a8-banner-inner {
    line-height: 0;
}

.a8-banner-inner img[width="300"] {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

/* --- SNS Viral Post Generator Modal --- */
.sns-preset-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.sns-tab-btn {
    flex: 1;
    min-width: 110px;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.sns-tab-btn.active {
    background: linear-gradient(90deg, rgba(236, 72, 153, 0.28), rgba(59, 130, 246, 0.28));
    border-color: #ec4899;
    color: #fff;
}

.sns-preview-textarea {
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f8fafc;
    padding: 10px 12px;
    font-size: 0.78rem;
    line-height: 1.55;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 12px;
}

.sns-modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

/* --- SEO FAQ & Area Directory --- */
.seo-faq-block,
.seo-directory-block {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.seo-faq-block h3,
.seo-directory-block h3 {
    margin: 0 0 8px 0;
    font-size: 0.84rem;
    color: #93c5fd;
}

.seo-faq-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    margin-bottom: 6px;
    padding: 8px 11px;
}

.seo-faq-item summary {
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.45;
}

.seo-faq-item p {
    margin: 8px 0 2px 0;
    font-size: 0.73rem;
    line-height: 1.55;
    color: #cbd5e1;
}

.seo-dir-text {
    margin: 0 0 6px 0;
    font-size: 0.7rem;
    line-height: 1.6;
    color: #94a3b8;
}

/* --- 4-Mode Theme Switcher Bar --- */
.theme-switcher-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 10px;
    padding: 4px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-pill-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 5px 11px;
    border-radius: 18px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.theme-pill-btn:hover {
    color: var(--text-primary);
}

.theme-pill-btn.active {
    background: rgba(236, 72, 153, 0.25);
    color: #fff;
    box-shadow: 0 1px 6px rgba(236, 72, 153, 0.25);
}

/* ==========================================================================
   【案1】一覧リスト型（body.theme-list：1行スリム表・株価ボード風モード）
   ========================================================================== */
body.theme-list .background-glob {
    display: none;
}

body.theme-list header {
    margin-bottom: 12px;
}

body.theme-list .ranking-list {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(15, 17, 26, 0.85);
}

@media (max-width: 768px) {
    body.theme-list .ranking-list {
        grid-template-columns: 1fr;
    }
}

body.theme-list .ranking-item {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0 10px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    box-sizing: border-box;
    gap: 6px;
    background: transparent;
}

body.theme-list .ranking-item:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
}

body.theme-list .rank-badge {
    width: 22px;
    height: 20px;
    border-radius: 4px;
    font-size: 0.72rem;
    margin-right: 2px;
    flex-shrink: 0;
}

body.theme-list .brand-badge {
    min-width: 48px;
    text-align: center;
}

body.theme-list .store-info {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    height: 24px;
}

body.theme-list .store-meta-row {
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 4px;
    height: 20px;
}

body.theme-list .area-tag {
    display: none;
}

body.theme-list .store-name {
    font-size: 0.86rem;
    line-height: 20px;
    height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.theme-list .card-actions {
    margin-left: 2px;
    margin-right: 0;
    gap: 2px;
}

body.theme-list .stats-group {
    gap: 6px;
    margin-left: 4px;
    min-width: 92px;
    justify-content: flex-end;
}

body.theme-list .stat {
    flex-direction: row;
    align-items: baseline;
    width: 42px;
    min-width: 42px;
    justify-content: flex-end;
    gap: 2px;
}

body.theme-list .stat .count {
    font-size: 0.98rem;
    text-shadow: none;
}

body.theme-list .stat .label {
    display: inline;
    font-size: 0.6rem;
    opacity: 0.7;
}

body.theme-list .occupancy-bar {
    display: none;
}

body.theme-list .pr-card-item {
    background: rgba(236, 72, 153, 0.06);
}

body.theme-list .pr-cta-btn {
    padding: 3px 8px;
    font-size: 0.66rem;
}

body.theme-list .share-banner-box,
body.theme-list .seo-guide-grid,
body.theme-list .seo-faq-block,
body.theme-list .seo-directory-block {
    display: none;
}

body.theme-list .seo-guide-section {
    padding: 10px 14px;
    margin-top: 12px;
}

body.theme-list .seo-guide-header {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* ==========================================================================
   【案2】クリーン・フラット（body.theme-flat：装飾オフ・無印/Apple標準風）
   ========================================================================== */
body.theme-flat {
    --bg-color: #111318;
    --card-bg: #1a1d24;
    --card-hover: #22262f;
    --card-border: #2a2f3a;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
}

body.theme-flat .background-glob {
    display: none;
}

body.theme-flat h1 {
    background: none;
    -webkit-text-fill-color: #f8fafc;
    color: #f8fafc;
    letter-spacing: 0.04em;
}

body.theme-flat .theme-pill-btn.active {
    background: #334155;
    color: #f8fafc;
    box-shadow: none;
}

body.theme-flat .ranking-item,
body.theme-flat .ranking-item.rank-1,
body.theme-flat .ranking-item.rank-2,
body.theme-flat .ranking-item.rank-3 {
    background: #1a1d24;
    border-color: #2a2f3a;
    box-shadow: none;
}

body.theme-flat .rank-1 .rank-badge,
body.theme-flat .rank-2 .rank-badge,
body.theme-flat .rank-3 .rank-badge {
    background: #334155;
    color: #f8fafc;
    box-shadow: none;
}

body.theme-flat .brand-badge {
    background: #262b36 !important;
    color: #cbd5e1 !important;
    border-color: #363d4d !important;
}

body.theme-flat .stat.ladies .count {
    color: #f472b6;
    text-shadow: none;
}

body.theme-flat .stat.men .count {
    color: #60a5fa;
}

body.theme-flat .occupancy-bar {
    height: 3px;
    background: #262b36;
}

body.theme-flat .bar-fill-ladies {
    background: #db2777;
}

body.theme-flat .bar-fill-men {
    background: #2563eb;
}

body.theme-flat .pr-card-item {
    background: #1e222b;
    border-color: #334155;
}

body.theme-flat .pr-badge-circle,
body.theme-flat .pr-tag-pill {
    background: #334155;
    color: #e2e8f0;
    border-color: #475569;
}

body.theme-flat .pr-cta-btn,
body.theme-flat .guide-open-btn {
    background: #334155;
    color: #f8fafc;
    box-shadow: none;
}

body.theme-flat .filter-btn.active {
    background: #334155;
    border-color: #64748b;
}

/* ==========================================================================
   【案3】ライトモード（body.theme-light：白背景×黒文字の清潔感シンプルUI）
   ========================================================================== */
body.theme-light {
    --bg-color: #f1f5f9;
    --card-bg: #ffffff;
    --card-hover: #f8fafc;
    --card-border: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --primary: #0f172a;
}

body.theme-light .background-glob {
    display: none;
}

body.theme-light h1 {
    background: none;
    -webkit-text-fill-color: #0f172a;
    color: #0f172a;
}

body.theme-light .header-btn {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.theme-light .header-btn:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

body.theme-light .theme-switcher-bar {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

body.theme-light .theme-pill-btn {
    color: #475569;
}

body.theme-light .theme-pill-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

body.theme-light #search-input {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

body.theme-light .sort-controls {
    background: #e2e8f0;
}

body.theme-light .sort-btn {
    color: #475569;
}

body.theme-light .sort-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

body.theme-light .filter-btn {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #475569;
}

body.theme-light .filter-btn.active,
body.theme-light .filter-btn:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

body.theme-light .ranking-item {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

body.theme-light .ranking-item:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

body.theme-light .ranking-item.rank-1 {
    background: linear-gradient(90deg, #fffbeb, #ffffff);
    border-color: #fcd34d;
}

body.theme-light .rank-badge {
    background: #f1f5f9;
    color: #334155;
}

body.theme-light .store-name {
    color: #0f172a;
}

body.theme-light .brand-olg {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

body.theme-light .brand-ag {
    background: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

body.theme-light .brand-jis {
    background: #ede9fe;
    color: #5b21b6;
    border-color: #ddd6fe;
}

body.theme-light .brand-xix {
    background: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

body.theme-light .brand-alfa {
    background: #ffe4e6;
    color: #9f1239;
    border-color: #fecdd3;
}

body.theme-light .brand-yatakoi {
    background: #ffedd5;
    color: #9a3412;
    border-color: #fed7aa;
}

body.theme-light .brand-clovers {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

body.theme-light .stat.ladies .count {
    color: #e11d48;
    text-shadow: none;
}

body.theme-light .stat.men .count {
    color: #2563eb;
}

body.theme-light .occupancy-bar {
    background: #f1f5f9;
}

body.theme-light .pr-card-item {
    background: linear-gradient(135deg, #fdf2f8 0%, #eff6ff 100%);
    border-color: #f9a8d4;
}

body.theme-light .pr-badge-circle {
    background: #fce7f3;
    color: #be185d;
    border-color: #f9a8d4;
}

body.theme-light .pr-tag-pill {
    background: #fef3c7;
    color: #92400e;
    border-color: #fcd34d;
}

body.theme-light .pr-title {
    color: #0f172a;
}

body.theme-light .share-banner-box,
body.theme-light .seo-guide-section {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

body.theme-light .share-banner-title,
body.theme-light .seo-guide-header h2,
body.theme-light .seo-faq-item summary {
    color: #0f172a;
}

body.theme-light .seo-guide-card,
body.theme-light .seo-faq-item {
    background: #f8fafc;
    border-color: #e2e8f0;
}

body.theme-light .seo-guide-card h3,
body.theme-light .seo-faq-block h3,
body.theme-light .seo-directory-block h3 {
    color: #be185d;
}

body.theme-light .seo-guide-card p,
body.theme-light .seo-faq-item p,
body.theme-light .seo-dir-text {
    color: #334155;
}

body.theme-light .share-pill-btn.copy-btn {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

body.theme-light .modal-content {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

body.theme-light .modal-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: #e2e8f0;
}

body.theme-light .modal-header h2 {
    color: #0f172a;
}

body.theme-light .close-btn-pill {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

body.theme-light .guide-lead,
body.theme-light .guide-app-desc,
body.theme-light .guide-tips-box ul,
body.theme-light .legal-body {
    color: #334155;
}

body.theme-light .guide-app-name {
    color: #0f172a;
}

body.theme-light .guide-tips-box {
    background: #f8fafc;
    border-color: #e2e8f0;
}

body.theme-light .guide-tips-box h4 {
    color: #1d4ed8;
}