:root {
--bg-primary: #f6f6f3;
--bg-secondary: #ffffff;
--bg-tertiary: #ededeb;
--bg-card: #ffffff;
--bg-card-hover: #ffffff;
--bg-glass: rgba(246, 246, 243, 0.92);
--bg-glass-card: rgba(0, 0, 0, 0.025);
--text-primary: #111827;
--text-secondary: #4b5563;
--text-muted: #6b7280;
--border-color: #e4e4df;
--border-color-hover: #111827;
--accent-primary: #4f46e5;
--accent-secondary: #d97706;
--accent-hover: #1f2937;
--accent-glow: rgba(79, 70, 229, 0.1);
--success: #16a34a;
--warning: #d97706;
--danger: #dc2626;
--radius-xs: 5px;
--radius-sm: 8px;
--radius-md: 14px;
--radius-lg: 18px;
--radius-xl: 22px;
--shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.05), 0 1px 2px rgba(17, 24, 39, 0.03);
--shadow-md: 0 8px 20px -4px rgba(17, 24, 39, 0.08), 0 4px 8px -2px rgba(17, 24, 39, 0.04);
--shadow-lg: 0 16px 36px -6px rgba(17, 24, 39, 0.12), 0 6px 14px -3px rgba(17, 24, 39, 0.05);
--font-serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
--font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
--font-mono: ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
}
[data-theme="dark"] {
--bg-primary: #0f1115;
--bg-secondary: #181b22;
--bg-tertiary: #232730;
--bg-card: #181b22;
--bg-card-hover: #1f242d;
--bg-glass: rgba(15, 17, 21, 0.92);
--bg-glass-card: rgba(255, 255, 255, 0.03);
--text-primary: #f3f4f6;
--text-secondary: #9ca3af;
--text-muted: #6b7280;
--border-color: #2a2f3a;
--border-color-hover: #e5e7eb;
--accent-primary: #818cf8;
--accent-secondary: #f59e0b;
--accent-hover: #e5e7eb;
--accent-glow: rgba(129, 140, 248, 0.15);
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.45);
--shadow-md: 0 8px 22px rgba(0, 0, 0, 0.55);
--shadow-lg: 0 16px 38px rgba(0, 0, 0, 0.65);
}
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
-webkit-text-size-adjust: 100%;
}
body {
font-family: var(--font-sans);
background-color: var(--bg-primary);
color: var(--text-primary);
line-height: 1.6;
min-height: 100vh;
display: flex;
flex-direction: column;
overflow-x: hidden;
transition: background-color 0.25s ease, color 0.25s ease;
letter-spacing: -0.01em;
}
button, a, .interactive {
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
font-family: inherit;
}
a {
color: inherit;
text-decoration: none;
}
.site-header {
position: sticky;
top: 0;
z-index: 100;
background: var(--bg-glass);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-bottom: 1px solid var(--border-color);
}
.masthead-top {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.45rem 1.5rem;
border-bottom: 1px solid var(--border-color);
font-size: 0.8rem;
color: var(--text-muted);
}
.masthead-meta {
display: flex;
align-items: center;
gap: 0.5rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.masthead-date {
font-weight: 700;
color: var(--text-primary);
}
.masthead-dot {
color: var(--border-color);
}
.masthead-edition {
font-family: var(--font-serif);
font-style: italic;
}
.header-inner {
max-width: 1200px;
margin: 0 auto;
padding: 0.7rem 1.5rem;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.brand-logo,
.puzzle-brand-logo {
display: flex;
align-items: center;
gap: 0.7rem;
text-decoration: none;
color: var(--text-primary);
flex-shrink: 0;
}
.puzzle-logo-icon {
width: 40px;
height: 40px;
border-radius: 10px;
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
box-shadow: 0 3px 10px rgba(79, 70, 229, 0.22);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.puzzle-brand-logo:hover .puzzle-logo-icon {
transform: rotate(-3deg) scale(1.04);
box-shadow: 0 5px 14px rgba(217, 119, 6, 0.32);
}
.puzzle-logo-svg {
width: 40px;
height: 40px;
display: block;
}
.puzzle-logo-text {
display: flex;
flex-direction: column;
line-height: 1.15;
}
.puzzle-logo-main {
font-family: var(--font-serif);
font-weight: 800;
font-size: 1.25rem;
letter-spacing: -0.03em;
color: var(--text-primary);
}
.puzzle-logo-badge {
display: inline-block;
align-self: flex-start;
margin-top: 2px;
font-family: var(--font-sans);
font-size: 0.65rem;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
padding: 1px 6px;
border-radius: 4px;
background: linear-gradient(135deg, #4f46e5 0%, #d97706 100%);
color: #ffffff;
}
.nav-links {
display: flex;
align-items: center;
gap: 0.2rem;
flex-wrap: wrap;
}
.nav-link {
padding: 0.38rem 0.58rem;
border-radius: var(--radius-sm);
font-size: 0.82rem;
font-weight: 600;
color: var(--text-secondary);
transition: all 0.18s ease;
white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
color: var(--text-primary);
background: var(--bg-tertiary);
}
.nav-link-daily {
color: var(--accent-secondary);
font-weight: 700;
background: rgba(217, 119, 6, 0.08);
}
.nav-link-daily:hover {
background: rgba(217, 119, 6, 0.16);
color: var(--accent-secondary);
}
.header-zone-pills {
display: inline-flex;
align-items: center;
gap: 0.35rem;
margin-left: 0.25rem;
padding-left: 0.45rem;
border-left: 1px solid var(--border-color);
}
.zone-nav-pill {
display: inline-flex;
align-items: center;
gap: 0.3rem;
padding: 0.34rem 0.7rem;
border-radius: 999px;
font-size: 0.78rem;
font-weight: 800;
letter-spacing: 0.01em;
transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
white-space: nowrap;
}
.zone-nav-pill.arcade-pill {
background: linear-gradient(135deg, #1e1b4b 0%, #3b0764 100%);
color: #ffe600;
border: 1.5px solid #ff007f;
box-shadow: 0 2px 8px rgba(255, 0, 127, 0.22);
}
.zone-nav-pill.threed-pill {
background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
color: #00f0ff;
border: 1.5px solid #00f0ff;
box-shadow: 0 2px 8px rgba(0, 240, 255, 0.2);
}
.zone-nav-pill:hover {
transform: translateY(-1px);
filter: brightness(1.1);
}
.header-actions {
display: flex;
align-items: center;
gap: 0.5rem;
}
.icon-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.4rem;
height: 38px;
padding: 0 0.85rem;
border-radius: var(--radius-sm);
border: 1px solid var(--border-color);
background: var(--bg-secondary);
color: var(--text-primary);
font-size: 0.85rem;
font-weight: 600;
cursor: pointer;
touch-action: manipulation;
transition: all 0.2s ease;
}
.icon-btn:hover {
border-color: var(--border-color-hover);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1.5rem;
width: 100%;
}
.zones-portal-strip {
display: grid;
grid-template-columns: repeat(2, 1fr);
align-items: stretch;
gap: 1rem;
margin-top: 1.35rem;
margin-bottom: 1.25rem;
}
@media (max-width: 960px) {
.zones-portal-strip {
grid-template-columns: 1fr;
}
}
.zone-portal-card {
display: flex;
align-items: center;
gap: 0.9rem;
padding: 1rem 1.15rem;
height: 100%;
border-radius: var(--radius-md);
border: 1.5px solid var(--border-color);
background: var(--bg-secondary);
box-shadow: var(--shadow-sm);
transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
text-decoration: none;
color: var(--text-primary);
}
.zone-portal-card:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
.zone-portal-card.puzzle-zone.active {
border-color: var(--accent-primary);
background: linear-gradient(135deg, rgba(79, 70, 229, 0.06) 0%, rgba(217, 119, 6, 0.06) 100%), var(--bg-secondary);
}
.zone-portal-card.arcade-zone {
background: linear-gradient(135deg, #130d26 0%, #241038 100%);
border-color: #ff007f;
color: #ffffff;
}
.zone-portal-card.arcade-zone .zone-portal-title {
color: #ffffff;
}
.zone-portal-card.arcade-zone .zone-portal-desc {
color: #e2e8f0;
opacity: 0.92;
}
.zone-portal-card.arcade-zone:hover {
box-shadow: 0 8px 22px rgba(255, 0, 127, 0.28);
}
.zone-portal-card.threed-zone {
background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #3b0764 100%);
border-color: #00f0ff;
color: #ffffff;
}
.zone-portal-card.threed-zone .zone-portal-title {
color: #ffffff;
}
.zone-portal-card.threed-zone .zone-portal-desc {
color: #e2e8f0;
opacity: 0.92;
}
.zone-portal-card.threed-zone:hover {
box-shadow: 0 8px 22px rgba(0, 240, 255, 0.28);
}
.zone-portal-icon {
font-size: 2rem;
line-height: 1;
flex-shrink: 0;
width: 46px;
height: 46px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.08);
}
.zone-portal-card.puzzle-zone .zone-portal-icon {
background: rgba(79, 70, 229, 0.1);
}
.zone-portal-info {
flex: 1;
min-width: 0;
}
.zone-portal-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.45rem;
margin-bottom: 0.2rem;
flex-wrap: wrap;
}
.zone-portal-title {
font-family: var(--font-serif);
font-weight: 800;
font-size: 1rem;
letter-spacing: -0.02em;
}
.zone-portal-tag {
font-size: 0.65rem;
font-weight: 800;
letter-spacing: 0.06em;
text-transform: uppercase;
padding: 0.15rem 0.5rem;
border-radius: 999px;
white-space: nowrap;
}
.zone-portal-tag.active-tag {
background: var(--accent-primary);
color: #ffffff;
}
.zone-portal-tag.arcade-tag {
background: #ff007f;
color: #ffffff;
}
.zone-portal-tag.threed-tag {
background: #00f0ff;
color: #090714;
}
.zone-portal-desc {
font-size: 0.78rem;
line-height: 1.35;
opacity: 0.85;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.fullscreen-tip-banner {
display: flex;
align-items: center;
justify-content: center;
gap: 0.55rem;
padding: 0.6rem 1.15rem;
margin-bottom: 1.25rem;
border-radius: var(--radius-sm);
background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(217, 119, 6, 0.08) 100%);
border: 1px solid rgba(79, 70, 229, 0.25);
color: var(--text-primary);
font-size: 0.85rem;
font-weight: 600;
text-align: center;
}
.fullscreen-tip-banner.arcade-tip {
background: rgba(0, 240, 255, 0.08);
border: 1.5px solid rgba(0, 240, 255, 0.45);
color: #e2e8f0;
margin-bottom: 1.75rem;
box-shadow: 0 0 15px rgba(0, 240, 255, 0.12);
}
.fullscreen-tip-banner strong {
color: var(--accent-primary);
}
.fullscreen-tip-banner.arcade-tip strong {
color: #ffe600;
}
.stage-fullscreen-hint {
display: flex;
align-items: center;
justify-content: center;
gap: 0.4rem;
padding: 0.35rem 0.85rem;
background: rgba(79, 70, 229, 0.06);
border-bottom: 1px solid var(--border-color);
color: var(--text-secondary);
font-size: 0.76rem;
font-weight: 600;
text-align: center;
}
body.zone-arcade .stage-fullscreen-hint {
background: rgba(0, 240, 255, 0.06);
border-bottom: 1px solid #2e2652;
color: #cbd5e1;
}
:fullscreen .stage-fullscreen-hint,
:-webkit-full-screen .stage-fullscreen-hint,
body.is-fullscreen-active .stage-fullscreen-hint {
display: none !important;
}
.spotlight-hero {
margin-top: 1rem;
margin-bottom: 1.75rem;
padding: 1.5rem 1.75rem;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-left: 5px solid var(--accent-secondary);
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
display: flex;
flex-direction: column;
gap: 1.1rem;
cursor: pointer;
transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.spotlight-hero:hover {
box-shadow: var(--shadow-md);
border-color: var(--border-color-hover);
}
.spotlight-top {
display: flex;
justify-content: space-between;
align-items: center;
}
.spotlight-kicker {
font-size: 0.78rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--accent-secondary);
}
.spotlight-badge {
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
padding: 0.2rem 0.65rem;
border-radius: var(--radius-xs);
font-size: 0.72rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--text-secondary);
}
.spotlight-main {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1.5rem;
flex-wrap: wrap;
}
.spotlight-icon-col {
flex-shrink: 0;
}
.spotlight-icon-box {
width: 68px;
height: 68px;
border-radius: var(--radius-sm);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
overflow: hidden;
}
.spotlight-icon-box svg {
width: 100%;
height: 100%;
display: block;
}
.spotlight-text-col {
flex: 1;
min-width: 260px;
}
.spotlight-title {
font-family: var(--font-serif);
font-size: clamp(1.4rem, 3.2vw, 1.85rem);
font-weight: 700;
letter-spacing: -0.02em;
margin-bottom: 0.35rem;
color: var(--text-primary);
}
.spotlight-desc {
color: var(--text-secondary);
font-size: 0.95rem;
line-height: 1.5;
margin-bottom: 0.75rem;
}
.spotlight-tags {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
}
.spotlight-cta-col {
flex-shrink: 0;
}
.spotlight-btn {
padding: 0.85rem 1.8rem;
font-size: 1.02rem;
font-weight: 700;
border-radius: var(--radius-sm);
min-height: 50px;
display: inline-flex;
align-items: center;
justify-content: center;
touch-action: manipulation;
}
.filter-bar {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.45rem;
margin-bottom: 1.75rem;
}
.filter-pill {
padding: 0.55rem 1.1rem;
border-radius: 999px;
border: 1px solid var(--border-color);
background: var(--bg-secondary);
color: var(--text-secondary);
font-size: 0.86rem;
font-weight: 600;
cursor: pointer;
touch-action: manipulation;
min-height: 42px;
display: inline-flex;
align-items: center;
justify-content: center;
transition: all 0.15s ease;
}
.filter-pill:hover {
border-color: var(--border-color-hover);
color: var(--text-primary);
}
.filter-pill.active {
background: var(--text-primary);
border-color: var(--text-primary);
color: var(--bg-primary);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.ad-slot {
width: 100%;
margin: 2rem auto;
border-radius: var(--radius-sm);
border: 1px dashed var(--border-color);
background: var(--bg-tertiary);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 1rem;
overflow: hidden;
}
.ad-slot-leaderboard {
min-height: 96px;
max-width: 980px;
}
.ad-slot-sidebar {
min-height: 300px;
width: 100%;
}
.ad-slot-label {
font-size: 0.65rem;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--text-muted);
margin-bottom: 0.25rem;
font-weight: 700;
}
.ad-slot-placeholder-box {
font-size: 0.78rem;
color: var(--text-muted);
font-family: var(--font-mono);
}
.rubric-section {
margin-bottom: 3.25rem;
}
.daily-rubric-section {
background: linear-gradient(135deg, rgba(217, 119, 6, 0.06) 0%, rgba(79, 70, 229, 0.06) 100%);
border: 1.5px solid rgba(217, 119, 6, 0.32);
border-radius: var(--radius-lg);
padding: 1.5rem 1.5rem 1.65rem;
margin-bottom: 2.5rem;
box-shadow: var(--shadow-sm);
}
.daily-rubric-section .rubric-header {
border-bottom-color: rgba(217, 119, 6, 0.35);
}
.daily-live-pill {
display: inline-flex;
align-items: center;
gap: 0.35rem;
background: var(--accent-secondary);
color: #ffffff;
font-size: 0.75rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.05em;
padding: 0.28rem 0.75rem;
border-radius: 999px;
white-space: nowrap;
}
.rubric-header {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 1rem;
margin-bottom: 1.25rem;
border-bottom: 2px solid var(--text-primary);
padding-bottom: 0.5rem;
}
.rubric-header h2 {
font-family: var(--font-serif);
font-size: 1.55rem;
font-weight: 700;
letter-spacing: -0.02em;
}
.rubric-header p {
color: var(--text-muted);
font-size: 0.9rem;
margin-top: 0.15rem;
}
.swipe-hint {
display: none;
font-size: 0.74rem;
font-weight: 700;
color: var(--accent-secondary);
text-transform: uppercase;
letter-spacing: 0.05em;
white-space: nowrap;
padding-bottom: 0.2rem;
}
.games-carousel-track {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
align-items: stretch;
gap: 1.25rem;
}
.daily-grid-track {
grid-template-columns: repeat(3, 1fr);
align-items: stretch;
}
@media (max-width: 920px) {
.daily-grid-track {
grid-template-columns: 1fr;
}
}
.game-card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-top: 3.5px solid var(--card-accent, var(--accent-primary));
border-radius: var(--radius-md);
padding: 1.35rem;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 1.1rem;
box-shadow: var(--shadow-sm);
transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
position: relative;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
}
.game-card-daily {
border-top-width: 4px;
box-shadow: var(--shadow-md);
}
.game-card:hover {
transform: translateY(-4px);
border-color: var(--border-color-hover);
border-top-color: var(--card-accent, var(--accent-primary));
box-shadow: var(--shadow-md);
}
.game-card:active {
transform: scale(0.985);
}
.game-card-content {
flex: 1;
display: flex;
flex-direction: column;
}
.game-card-top {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 0.75rem;
min-height: 52px;
}
.game-icon-wrap {
width: 52px;
height: 52px;
border-radius: var(--radius-sm);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
overflow: hidden;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.game-icon-wrap svg {
width: 100%;
height: 100%;
display: block;
}
.game-title-icon-wrap {
width: 36px;
height: 36px;
display: inline-flex;
align-items: center;
justify-content: center;
vertical-align: middle;
flex-shrink: 0;
margin-right: 0.4rem;
}
.game-title-icon-wrap svg {
width: 100%;
height: 100%;
display: block;
}
.game-badges {
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
justify-content: flex-end;
min-width: 0;
}
.meta-pill {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.2rem 0.55rem;
border-radius: var(--radius-xs);
font-size: 0.72rem;
font-weight: 700;
background: var(--bg-tertiary);
color: var(--text-secondary);
border: 1px solid var(--border-color);
letter-spacing: 0.02em;
white-space: nowrap;
}
.meta-pill.duration {
font-family: var(--font-mono);
color: var(--text-primary);
}
.badge {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.2rem 0.55rem;
border-radius: var(--radius-xs);
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
background: var(--bg-tertiary);
color: var(--text-secondary);
border: 1px solid var(--border-color);
white-space: nowrap;
}
.badge-2p {
background: #eef2ff;
border-color: #c7d2fe;
color: #4338ca;
}
[data-theme="dark"] .badge-2p {
background: #1e1b4b;
border-color: #3730a3;
color: #a5b4fc;
}
.badge-daily {
background: #fef3c7;
border-color: #fcd34d;
color: #b45309;
}
[data-theme="dark"] .badge-daily {
background: #451a03;
border-color: #b45309;
color: #fcd34d;
}
.game-card h3 {
font-family: var(--font-serif);
font-size: 1.25rem;
font-weight: 700;
letter-spacing: -0.02em;
margin-top: 0.75rem;
margin-bottom: 0.35rem;
}
.game-card p {
font-size: 0.88rem;
color: var(--text-secondary);
line-height: 1.5;
}
.game-card-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
padding-top: 0.8rem;
margin-top: auto;
min-height: 52px;
border-top: 1px solid var(--border-color);
}
.game-category-label {
flex: 1;
min-width: 0;
font-size: 0.72rem;
line-height: 1.25;
color: var(--text-muted);
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.04em;
overflow-wrap: break-word;
}
.play-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.35rem;
padding: 0.45rem 0.95rem;
border-radius: var(--radius-sm);
background: var(--text-primary);
color: var(--bg-primary);
font-weight: 700;
font-size: 0.84rem;
height: 38px;
min-height: 38px;
white-space: nowrap;
flex-shrink: 0;
transition: all 0.15s ease;
}
.roadmap-section {
margin-bottom: 3.5rem;
}
.roadmap-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.25rem;
}
.roadmap-card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
padding: 1.6rem;
box-shadow: var(--shadow-sm);
position: relative;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.roadmap-card:hover {
border-color: var(--border-color-hover);
box-shadow: var(--shadow-md);
}
.roadmap-card.arcade {
border-left: 5px solid #ec4899;
}
.roadmap-card.threed {
border-left: 5px solid #06b6d4;
}
.roadmap-badge {
display: inline-block;
font-size: 0.72rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
padding: 0.25rem 0.65rem;
border-radius: var(--radius-xs);
margin-bottom: 0.85rem;
}
.roadmap-card.arcade .roadmap-badge {
background: rgba(236, 72, 153, 0.12);
color: #ec4899;
border: 1px solid rgba(236, 72, 153, 0.3);
}
.roadmap-card.threed .roadmap-badge {
background: rgba(6, 182, 212, 0.12);
color: #06b6d4;
border: 1px solid rgba(6, 182, 212, 0.3);
}
.roadmap-card h3 {
font-family: var(--font-serif);
font-size: 1.35rem;
font-weight: 700;
margin-bottom: 0.4rem;
}
.roadmap-card p {
color: var(--text-secondary);
font-size: 0.92rem;
line-height: 1.55;
}
.mobile-bottom-nav {
display: none;
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: calc(58px + env(safe-area-inset-bottom, 0px));
padding-bottom: env(safe-area-inset-bottom, 0px);
background: var(--bg-glass);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
border-top: 1px solid var(--border-color);
z-index: 1000;
justify-content: space-around;
align-items: center;
box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.06);
}
.mobile-nav-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.15rem;
flex: 1;
height: 100%;
color: var(--text-secondary);
background: transparent;
border: none;
cursor: pointer;
text-decoration: none;
font-size: 0.72rem;
font-weight: 600;
padding: 0.25rem 0;
min-height: 48px;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
}
.mobile-nav-item:active, .mobile-nav-item.active {
color: var(--text-primary);
transform: scale(0.95);
}
.mnav-icon {
font-size: 1.25rem;
line-height: 1;
}
.mnav-label {
letter-spacing: 0.02em;
}
.game-card:hover .play-btn {
background: var(--accent-secondary);
color: #ffffff;
}
.stats-panel {
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
padding: 2rem;
margin: 3rem 0;
box-shadow: var(--shadow-sm);
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 1.25rem;
margin-top: 1.5rem;
}
.stat-card {
background: var(--bg-primary);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
padding: 1.25rem;
text-align: center;
}
.stat-value {
font-size: 2.2rem;
font-weight: 700;
font-family: var(--font-serif);
color: var(--text-primary);
line-height: 1.1;
margin-bottom: 0.3rem;
}
.stat-label {
font-size: 0.8rem;
color: var(--text-muted);
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.06em;
}
.game-page-layout {
display: grid;
grid-template-columns: 1fr 300px;
gap: 2rem;
margin: 1.5rem 0 3.5rem;
align-items: start;
}
@media (max-width: 1024px) {
.game-page-layout {
grid-template-columns: 1fr;
}
}
.game-stage-card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
overflow: hidden;
position: relative;
}
:fullscreen,
:-webkit-full-screen {
background: var(--bg-primary) !important;
}
:fullscreen .game-stage-card,
:-webkit-full-screen .game-stage-card,
body.is-fullscreen-active .game-stage-card.is-fullscreen-stage {
width: 100vw !important;
height: 100vh !important;
height: 100dvh !important;
max-width: 100vw !important;
margin: 0 !important;
border-radius: 0 !important;
border: none !important;
box-shadow: none !important;
display: flex !important;
flex-direction: column !important;
overflow-y: auto !important;
-webkit-overflow-scrolling: touch !important;
background: var(--bg-primary) !important;
z-index: 999999 !important;
position: fixed !important;
inset: 0 !important;
}
.stage-fullscreen-close-btn {
display: none;
position: fixed;
top: max(12px, env(safe-area-inset-top, 12px));
right: max(12px, env(safe-area-inset-right, 12px));
z-index: 1000000;
background: rgba(15, 23, 42, 0.94);
color: #ffffff;
border: 1.5px solid rgba(255, 255, 255, 0.35);
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
padding: 0.45rem 0.95rem;
border-radius: 999px;
font-size: 0.82rem;
font-weight: 800;
cursor: pointer;
touch-action: manipulation;
align-items: center;
gap: 0.4rem;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
transition: transform 0.15s ease, background-color 0.15s ease;
}
:fullscreen .stage-fullscreen-close-btn,
:-webkit-full-screen .stage-fullscreen-close-btn,
body.is-fullscreen-active .stage-fullscreen-close-btn {
display: inline-flex !important;
}
.stage-fullscreen-close-btn:hover {
background: #0f172a;
border-color: #38bdf8;
transform: scale(1.04);
}
.stage-fullscreen-close-btn:active {
transform: scale(0.96);
}
body.is-fullscreen-active {
overflow: hidden !important;
}
body.is-fullscreen-active .mobile-bottom-nav,
:fullscreen .mobile-bottom-nav,
:-webkit-full-screen .mobile-bottom-nav {
display: none !important;
}
.game-topbar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.9rem 1.25rem;
background: var(--bg-secondary);
border-bottom: 1px solid var(--border-color);
}
.game-topbar-left {
display: flex;
align-items: center;
gap: 0.75rem;
}
.back-pill {
padding: 0.4rem 0.8rem;
border-radius: var(--radius-sm);
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
font-size: 0.82rem;
font-weight: 700;
color: var(--text-secondary);
}
.back-pill:hover {
color: var(--text-primary);
border-color: var(--border-color-hover);
}
.game-title-inline {
display: flex;
align-items: center;
gap: 0.5rem;
font-family: var(--font-serif);
font-size: 1.3rem;
font-weight: 700;
letter-spacing: -0.02em;
}
.game-controls-bar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 0.65rem;
padding: 0.75rem 1.25rem;
background: var(--bg-primary);
border-bottom: 1px solid var(--border-color);
}
.btn-settings-toggle {
display: none;
}
.control-group,
.seg-btn-group,
.arcade-control-group {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.4rem;
}
.control-label {
font-size: 0.78rem;
font-weight: 700;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.04em;
margin-right: 0.15rem;
}
.arcade-settings-bar {
background: #0d0a1a;
border-top: 2px solid #251a42;
padding: 0.65rem 1rem;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 0.75rem;
}
body.zone-arcade .seg-btn,
body.zone-3d .seg-btn {
background: rgba(255, 255, 255, 0.07);
border-color: rgba(255, 255, 255, 0.2);
color: #cbd5e1;
}
body.zone-arcade .seg-btn:hover,
body.zone-3d .seg-btn:hover {
border-color: #00f0ff;
color: #ffffff;
}
body.zone-arcade .seg-btn.active {
background: #ff007f;
border-color: #ff007f;
color: #ffffff;
box-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
}
body.zone-3d .seg-btn.active {
background: #00f0ff;
border-color: #00f0ff;
color: #090714;
box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}
.seg-btn, .action-btn {
padding: 0.45rem 0.9rem;
border-radius: var(--radius-sm);
border: 1px solid var(--border-color);
background: var(--bg-secondary);
color: var(--text-secondary);
font-size: 0.84rem;
font-weight: 700;
cursor: pointer;
transition: all 0.15s ease;
}
.seg-btn:hover, .action-btn:hover {
border-color: var(--border-color-hover);
color: var(--text-primary);
}
.seg-btn.active {
background: var(--text-primary);
border-color: var(--text-primary);
color: var(--bg-primary);
}
.action-btn.primary {
background: var(--accent-secondary);
border-color: var(--accent-secondary);
color: #ffffff;
}
.action-btn.primary:hover {
background: #b45309;
}
.game-status-bar {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.75rem;
padding: 0.75rem 1.25rem;
border-bottom: 1px solid var(--border-color);
font-weight: 700;
font-size: 0.94rem;
}
.status-turn-pill {
display: inline-flex;
align-items: center;
gap: 0.45rem;
padding: 0.35rem 0.85rem;
border-radius: var(--radius-sm);
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
}
.status-metrics {
display: flex;
align-items: center;
gap: 1.15rem;
font-family: var(--font-mono);
font-size: 0.9rem;
color: var(--text-secondary);
}
.game-board-viewport {
padding: 1.75rem;
min-height: 480px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
touch-action: manipulation;
overscroll-behavior: contain;
-webkit-user-select: none;
user-select: none;
}
.ttt-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
width: min(100%, 350px);
aspect-ratio: 1 / 1;
}
.ttt-cell {
background: var(--bg-secondary);
border: 2px solid var(--border-color);
border-radius: var(--radius-sm);
font-size: clamp(2.5rem, 8vw, 3.4rem);
font-weight: 800;
font-family: var(--font-serif);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.15s ease;
}
.ttt-cell:hover:not(:disabled) {
border-color: var(--text-primary);
}
.ttt-cell.x-mark { color: #0284c7; }
.ttt-cell.o-mark { color: #dc2626; }
.ttt-cell.win-cell { background: #dcfce7; border-color: var(--success); }
.c4-wrapper { width: min(100%, 460px); }
.c4-board {
background: #334155;
padding: 12px;
border-radius: var(--radius-md);
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 8px;
}
.c4-cell {
aspect-ratio: 1 / 1;
border-radius: 50%;
background: var(--bg-primary);
cursor: pointer;
}
.c4-cell.p1 { background: #dc2626; }
.c4-cell.p2 { background: #f59e0b; }
.c4-cell.win-disc { outline: 3px solid #ffffff; outline-offset: -1px; }
.memory-grid {
display: grid;
gap: 10px;
width: min(100%, 480px);
}
.memory-card {
aspect-ratio: 1 / 1;
border-radius: var(--radius-sm);
border: 2px solid var(--border-color);
background: var(--bg-secondary);
font-size: clamp(1.4rem, 4.5vw, 2.2rem);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.15s ease;
}
.memory-card:hover:not(.flipped):not(.matched) {
border-color: var(--text-primary);
}
.memory-card.flipped {
background: var(--bg-tertiary);
border-color: var(--text-primary);
}
.memory-card.matched {
background: #dcfce7;
border-color: var(--success);
}
.sudoku-layout { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100%; }
.sudoku-board {
display: grid;
grid-template-columns: repeat(9, 1fr);
width: min(100%, 440px);
aspect-ratio: 1 / 1;
border: 2px solid var(--text-primary);
background: var(--bg-secondary);
}
.sudoku-cell {
border: 1px solid var(--border-color);
display: flex;
align-items: center;
justify-content: center;
font-size: clamp(1.15rem, 3.8vw, 1.45rem);
font-weight: 700;
cursor: pointer;
color: var(--text-primary);
}
.sudoku-cell:nth-child(3n):not(:nth-child(9n)) { border-right: 2px solid var(--text-primary); }
.sudoku-cell.row-border-bottom { border-bottom: 2px solid var(--text-primary); }
.sudoku-cell.fixed { font-weight: 800; font-family: var(--font-serif); }
.sudoku-cell.user-val { color: #0284c7; }
.sudoku-cell.selected { background: #e0f2fe !important; }
.sudoku-cell.peer { background: #f8fafc; }
.sudoku-cell.same-num { background: #fef3c7; }
.sudoku-cell.conflict { background: #fee2e2 !important; color: #dc2626; }
.sudoku-numpad { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.45rem; width: min(100%, 440px); }
.numpad-btn {
padding: 0.65rem 0.4rem;
border-radius: var(--radius-sm);
border: 1px solid var(--border-color);
background: var(--bg-secondary);
color: var(--text-primary);
font-size: 1.15rem;
font-weight: 700;
cursor: pointer;
}
.g2048-wrapper { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100%; }
.g2048-board {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
width: min(100%, 390px);
aspect-ratio: 1 / 1;
background: var(--bg-tertiary);
padding: 10px;
border-radius: var(--radius-sm);
touch-action: none;
}
.g2048-tile {
border-radius: var(--radius-xs);
font-weight: 800;
display: flex;
align-items: center;
justify-content: center;
}
.mobile-dpad { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.dpad-mid { display: flex; gap: 0.35rem; }
.dpad-btn {
width: 54px;
height: 46px;
border-radius: var(--radius-sm);
border: 1px solid var(--border-color);
background: var(--bg-secondary);
font-size: 1.15rem;
font-weight: 700;
cursor: pointer;
}
.chess-wrapper { width: min(100%, 460px); display: flex; flex-direction: column; gap: 0.65rem; }
.chess-player-bar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.45rem 0.85rem;
border-radius: var(--radius-sm);
background: var(--bg-secondary);
border: 1px solid var(--border-color);
font-size: 0.88rem;
font-weight: 700;
}
.chess-board {
display: grid;
grid-template-columns: repeat(8, 1fr);
width: 100%;
aspect-ratio: 1 / 1;
border: 2px solid var(--text-primary);
}
.chess-sq {
aspect-ratio: 1 / 1;
display: flex;
align-items: center;
justify-content: center;
font-size: clamp(1.65rem, 6vw, 2.45rem);
cursor: pointer;
position: relative;
padding: 0;
border: none;
}
.chess-sq.light { background: #fdfdfc; color: #121212; }
.chess-sq.dark { background: #dcdcd6; color: #121212; }
.chess-sq.selected { background: #fde68a !important; }
.chess-sq.legal-move::after {
content: ''; width: 28%; height: 28%; border-radius: 50%; background: #15803d; position: absolute;
}
.chess-sq.legal-capture::after {
content: ''; width: 84%; height: 84%; border-radius: 50%; border: 3px solid #dc2626; position: absolute;
}
.checkers-disc {
width: 76%; height: 76%; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.disc-red { background: #dc2626; color: white; }
.disc-white { background: #ffffff; border: 2px solid #737373; color: #121212; }
.disc-selectable { outline: 3px solid #f59e0b; }
.reversi-board {
display: grid;
grid-template-columns: repeat(8, 1fr);
gap: 2px;
width: 100%;
aspect-ratio: 1 / 1;
background: #1e3a29;
padding: 6px;
border: 2px solid #14281c;
}
.reversi-sq {
background: #2d5a3f;
border: none;
aspect-ratio: 1 / 1;
display: flex;
align-items: center;
justify-content: center;
position: relative;
cursor: pointer;
}
.reversi-sq.legal-move::after {
content: ''; width: 30%; height: 30%; border-radius: 50%; background: rgba(255, 255, 255, 0.4);
}
.reversi-disc { width: 78%; height: 78%; border-radius: 50%; }
.rev-black { background: #121212; }
.rev-white { background: #ffffff; }
.dots-board {
display: grid;
width: min(100%, 400px);
aspect-ratio: 1 / 1;
background: var(--bg-secondary);
padding: 16px;
border-radius: var(--radius-sm);
border: 1px solid var(--border-color);
}
.dots-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--text-primary); place-self: center; }
.dots-edge { border: none; background: #e5e5e0; cursor: pointer; border-radius: 2px; position: relative; }
.dots-edge::before { content: ''; position: absolute; inset: -10px; }
.dots-h { height: 8px; width: 100%; align-self: center; }
.dots-v { width: 8px; height: 100%; justify-self: center; }
.dots-edge.edge-p1 { background: #0284c7; }
.dots-edge.edge-p2 { background: #d97706; }
.dots-box { display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; border-radius: 2px; }
.dots-box.box-p1 { background: #e0f2fe; color: #0284c7; }
.dots-box.box-p2 { background: #fef3c7; color: #d97706; }
.sliding-board {
display: grid;
gap: 8px;
width: min(100%, 380px);
aspect-ratio: 1 / 1;
background: var(--bg-tertiary);
padding: 10px;
border-radius: var(--radius-sm);
}
.sliding-tile {
border-radius: var(--radius-xs);
border: 1px solid var(--border-color);
background: var(--bg-secondary);
color: var(--text-primary);
font-size: clamp(1.2rem, 4vw, 1.8rem);
font-family: var(--font-serif);
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.sliding-tile.tile-correct { background: #dcfce7; border-color: #86efac; }
.mill-board {
position: relative;
width: min(100%, 400px);
aspect-ratio: 1 / 1;
background: var(--bg-secondary);
border-radius: var(--radius-sm);
border: 2px solid var(--border-color);
}
.mill-svg { width: 100%; height: 100%; display: block; }
.mill-node {
position: absolute;
width: 32px;
height: 32px;
transform: translate(-50%, -50%);
border-radius: 50%;
border: 2px solid var(--border-color);
background: var(--bg-primary);
cursor: pointer;
}
.mill-node.mill-p1 { background: #ffffff; border: 2px solid #121212; }
.mill-node.mill-p2 { background: #121212; border: 2px solid #737373; }
.mill-node.mill-selected { outline: 3px solid #d97706; }
.mill-node.mill-removable { outline: 3px solid #dc2626; }
.mancala-board {
display: grid;
grid-template-columns: 66px 1fr 66px;
gap: 10px;
width: min(100%, 540px);
background: var(--bg-secondary);
border: 2px solid var(--border-color);
border-radius: var(--radius-sm);
padding: 12px;
}
.mancala-store {
background: var(--bg-primary);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.store-count { font-size: 1.65rem; font-weight: 700; font-family: var(--font-serif); }
.mancala-rows { display: flex; flex-direction: column; gap: 10px; }
.mancala-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.mancala-pit {
aspect-ratio: 1 / 1.15;
border-radius: var(--radius-sm);
border: 1px solid var(--border-color);
background: var(--bg-primary);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
cursor: pointer;
}
.pit-count { font-size: 1.1rem; font-weight: 700; }
.mm-wrapper { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; width: min(100%, 380px); }
.mm-secret-box { display: flex; gap: 10px; padding: 8px 16px; border-radius: var(--radius-sm); background: var(--bg-secondary); border: 1px solid var(--border-color); }
.mm-board { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.mm-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; border-radius: var(--radius-sm); background: var(--bg-secondary); border: 1px solid var(--border-color); }
.mm-row-active { border-color: var(--text-primary); }
.mm-row-num { font-size: 0.78rem; font-family: var(--font-mono); color: var(--text-muted); width: 28px; }
.mm-pegs { display: flex; gap: 10px; }
.mm-peg { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-color); cursor: pointer; }
.mm-peg.peg-selected { border: 2px solid var(--text-primary); }
.mm-hints { display: grid; grid-template-columns: repeat(2, 10px); gap: 4px; }
.mm-pin { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-tertiary); }
.mm-pin.pin-exact { background: var(--text-primary); }
.mm-pin.pin-partial { background: #ffffff; border: 1px solid var(--text-muted); }
.mm-palette { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 0.35rem; }
.mm-color-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15); cursor: pointer; }
.simon-wrapper { display: flex; flex-direction: column; align-items: center; }
.simon-board {
position: relative;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
width: min(82vw, 320px);
aspect-ratio: 1 / 1;
padding: 12px;
border-radius: 50%;
background: var(--bg-secondary);
border: 3px solid var(--border-color);
}
.simon-pad { border: none; border-radius: 20px; background: var(--pad-bg); opacity: 0.6; cursor: pointer; }
.simon-pad.pad-lit { opacity: 1; }
.simon-center {
position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
width: 78px; height: 78px; border-radius: 50%; background: var(--bg-primary);
border: 2px solid var(--border-color); display: flex; align-items: center; justify-content: center;
font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
}
.ms-grid { display: grid; gap: 3px; background: var(--border-color); padding: 4px; border-radius: var(--radius-xs); width: min(100%, 460px); }
.ms-cell {
aspect-ratio: 1 / 1; border-radius: 2px; border: none; background: var(--bg-secondary);
font-weight: 700; font-size: clamp(0.85rem, 2.8vw, 1.1rem); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.ms-cell.unrevealed { background: var(--bg-tertiary); }
.ms-cell.revealed { background: var(--bg-primary); }
.ms-cell.mine-hit { background: #fee2e2; }
.bs-grids-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; width: 100%; }
.bs-panel { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; }
.bs-panel-title { font-size: 0.88rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; }
.bs-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; width: min(100%, 320px); aspect-ratio: 1 / 1; background: #e5e5e0; padding: 4px; border: 1px solid var(--border-color); }
.bs-cell { background: #fdfdfc; border: none; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; cursor: pointer; }
.bs-cell.ship-own { background: #52525b; color: white; }
.bs-cell.hit { background: #dc2626 !important; color: white; }
.bs-cell.miss { background: #a1a1aa !important; color: white; }
.bs-cell.sunk { background: #7f1d1d !important; color: white; }
.chimp-intro-card, .stroop-intro-card, .schulte-intro-card, .math-intro-card, .nback-intro-card,
.chimp-gameover-card, .stroop-results-card, .schulte-results-card, .math-results-card, .nback-summary-card,
.hanoi-win-card, .wordle-gameover-card, .conn-gameover-card {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
max-width: 440px;
margin: 0 auto;
padding: 1.75rem 1.25rem;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg, 12px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.chimp-intro-icon, .stroop-intro-icon, .nback-intro-icon {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
.chimp-intro-title, .stroop-intro-title, .nback-intro-title, .nback-summary-title {
font-family: var(--font-serif);
font-size: 1.35rem;
font-weight: 700;
margin-bottom: 0.5rem;
color: var(--text-primary);
}
.chimp-intro-text, .stroop-intro-text, .nback-intro-text, .nback-feedback {
font-size: 0.92rem;
line-height: 1.5;
color: var(--text-secondary);
margin-bottom: 1rem;
}
.chimp-facts, .nback-rules-box {
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
border-radius: var(--radius-md, 8px);
padding: 0.75rem 1rem;
font-size: 0.85rem;
color: var(--text-secondary);
text-align: left;
width: 100%;
margin-bottom: 1.25rem;
}
.chimp-container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.chimp-grid-wrapper {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 440px;
}
.chimp-board-header {
display: flex;
justify-content: space-between;
width: 100%;
margin-bottom: 0.75rem;
}
.chimp-stat-pill {
font-size: 0.88rem;
font-weight: 600;
color: var(--text-secondary);
background: var(--bg-secondary);
padding: 0.35rem 0.75rem;
border-radius: 999px;
border: 1px solid var(--border-color);
}
.chimp-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(5, 1fr);
gap: 10px;
width: 100%;
aspect-ratio: 4 / 5;
background: var(--bg-tertiary);
padding: 12px;
border-radius: var(--radius-lg, 12px);
border: 1px solid var(--border-color);
box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.chimp-cell {
background: transparent;
border: 1px solid transparent;
border-radius: var(--radius-md, 8px);
cursor: default;
display: flex;
align-items: center;
justify-content: center;
user-select: none;
touch-action: manipulation;
min-height: 56px;
transition: transform 0.1s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s, box-shadow 0.15s;
}
.chimp-cell.empty {
visibility: hidden;
}
.chimp-cell.solved {
visibility: hidden;
opacity: 0;
}
.chimp-cell.active {
cursor: pointer;
box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}
.chimp-cell.active:active {
transform: scale(0.92);
}
.chimp-cell.active.numbered {
background: var(--bg-primary);
border: 2px solid var(--text-primary);
color: var(--text-primary);
}
.chimp-cell.active.masked {
background: var(--bg-primary);
border: 2px solid var(--border-color);
color: transparent !important;
box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.chimp-cell.active.masked::after {
content: '';
width: 14px;
height: 14px;
border-radius: 50%;
background: var(--border-color);
opacity: 0.5;
}
.chimp-num {
font-size: 1.85rem;
font-weight: 800;
font-family: var(--font-mono, monospace);
line-height: 1;
}
.chimp-cell.wrong {
background: #fef2f2;
border-color: #ef4444;
color: #ef4444;
}
.wordle-container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 440px;
margin: 0 auto;
}
.wordle-board {
display: flex;
flex-direction: column;
gap: 6px;
width: min(100%, 330px);
margin-bottom: 1.25rem;
}
.wordle-row {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 6px;
}
.wordle-row.wordle-shake {
animation: wordleShake 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes wordleShake {
10%, 90% { transform: translateX(-4px); }
20%, 80% { transform: translateX(5px); }
30%, 50%, 70% { transform: translateX(-6px); }
40%, 60% { transform: translateX(6px); }
}
.wordle-tile {
aspect-ratio: 1 / 1;
border: 2px solid var(--border-color);
background: var(--bg-primary);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.6rem;
font-weight: 800;
text-transform: uppercase;
color: var(--text-primary);
border-radius: 4px;
user-select: none;
transition: transform 0.1s;
}
.wordle-tile.pop {
border-color: var(--text-primary);
transform: scale(1.05);
}
.wordle-tile.revealed {
color: #ffffff !important;
border-color: transparent !important;
}
.wordle-tile.correct { background: #16a34a !important; }
.wordle-tile.present { background: #d97706 !important; }
.wordle-tile.absent { background: #6b7280 !important; }
.wordle-keyboard {
display: flex;
flex-direction: column;
gap: 6px;
width: 100%;
max-width: 440px;
user-select: none;
touch-action: manipulation;
}
.wordle-key-row {
display: flex;
justify-content: center;
gap: 4px;
width: 100%;
}
.wordle-key {
flex: 1;
min-height: 48px;
padding: 0 4px;
background: var(--bg-tertiary);
color: var(--text-primary);
font-size: 0.95rem;
font-weight: 700;
border: 1px solid var(--border-color);
border-radius: 4px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
touch-action: manipulation;
}
.wordle-key:active {
background: var(--border-color);
transform: scale(0.96);
}
.wordle-key.wide {
flex: 1.5;
font-size: 0.82rem;
}
.wordle-key.correct { background: #16a34a !important; color: #fff !important; }
.wordle-key.present { background: #d97706 !important; color: #fff !important; }
.wordle-key.absent { background: #4b5563 !important; color: #fff !important; opacity: 0.6; }
.stroop-container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 440px;
margin: 0 auto;
}
.stroop-play-area {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.stroop-stats-row {
display: flex;
justify-content: space-between;
width: 100%;
margin-bottom: 1rem;
}
.stroop-stat-pill {
font-size: 0.88rem;
font-weight: 600;
color: var(--text-secondary);
background: var(--bg-secondary);
padding: 0.35rem 0.75rem;
border-radius: 999px;
border: 1px solid var(--border-color);
}
.stroop-prompt-box {
width: 100%;
background: var(--bg-secondary);
border: 2px solid var(--border-color);
border-radius: var(--radius-lg, 12px);
padding: 2.5rem 1rem;
text-align: center;
margin-bottom: 1.5rem;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.stroop-word-display {
font-size: 2.75rem;
font-weight: 900;
letter-spacing: 0.04em;
line-height: 1.1;
text-transform: uppercase;
transition: transform 0.1s ease;
}
.stroop-buttons-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem;
width: 100%;
}
.stroop-color-btn {
min-height: 54px;
border: 2px solid var(--border-color);
border-radius: var(--radius-md, 8px);
font-size: 1.05rem;
font-weight: 700;
cursor: pointer;
background: var(--bg-primary);
color: var(--text-primary);
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
touch-action: manipulation;
transition: transform 0.08s, box-shadow 0.08s;
}
.stroop-color-btn:active {
transform: scale(0.96);
}
.schulte-container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 440px;
margin: 0 auto;
}
.schulte-play-area {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.schulte-header-bar {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
margin-bottom: 1rem;
}
.schulte-target-banner {
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: 999px;
padding: 0.4rem 1rem;
font-size: 0.95rem;
font-weight: 600;
}
.schulte-target-num {
font-size: 1.35rem;
font-weight: 900;
color: var(--accent-secondary);
margin-left: 0.25rem;
}
.schulte-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 6px;
width: 100%;
aspect-ratio: 1 / 1;
background: var(--bg-tertiary);
padding: 8px;
border-radius: var(--radius-md, 8px);
border: 1px solid var(--border-color);
}
.schulte-cell {
background: var(--bg-primary);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm, 6px);
font-size: 1.35rem;
font-weight: 700;
color: var(--text-primary);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
touch-action: manipulation;
user-select: none;
transition: background 0.15s, transform 0.08s;
}
.schulte-cell:active {
transform: scale(0.94);
}
.schulte-cell.correct-flash {
background: #dcfce7 !important;
color: #166534 !important;
}
.schulte-cell.wrong-flash {
background: #fee2e2 !important;
color: #991b1b !important;
}
.conn-container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 520px;
margin: 0 auto;
}
.conn-board {
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
margin-bottom: 1.15rem;
}
.conn-solved-group {
padding: 0.75rem 0.85rem;
border-radius: var(--radius-sm, 8px);
text-align: center;
color: #111827;
font-weight: 700;
animation: fadeIn 0.25s ease;
box-shadow: var(--shadow-sm);
}
.conn-group-title {
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 0.04em;
margin-bottom: 0.15rem;
}
.conn-group-words {
font-size: 0.82rem;
font-weight: 600;
opacity: 0.92;
}
.conn-tiles-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 8px;
width: 100%;
}
.conn-tile {
min-height: 60px;
height: 64px;
background: var(--bg-tertiary);
border: 1.5px solid var(--border-color);
border-radius: var(--radius-sm, 8px);
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 6px 5px;
font-size: 0.82rem;
font-weight: 800;
line-height: 1.15;
text-transform: uppercase;
color: var(--text-primary);
cursor: pointer;
user-select: none;
touch-action: manipulation;
word-break: break-word;
hyphens: auto;
overflow: hidden;
transition: background-color 0.14s ease, transform 0.08s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}
.conn-tile.conn-tile-sm {
font-size: 0.71rem;
letter-spacing: -0.02em;
}
.conn-tile.conn-tile-xs {
font-size: 0.62rem;
letter-spacing: -0.03em;
}
.conn-tile:hover:not(:disabled) {
border-color: var(--text-primary);
}
.conn-tile:active {
transform: scale(0.96);
}
.conn-tile.selected {
background: #3f3f46 !important;
color: #ffffff !important;
border-color: #27272a !important;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}
.conn-banner {
background: #18181b;
color: #ffffff;
padding: 0.45rem 1rem;
border-radius: 999px;
font-size: 0.85rem;
font-weight: 600;
margin-bottom: 0.75rem;
}
.conn-mistakes-row {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 1rem;
font-size: 0.88rem;
color: var(--text-secondary);
}
.conn-mistakes-dots {
display: flex;
gap: 6px;
}
.conn-mistake-dot {
width: 12px;
height: 12px;
border-radius: 50%;
background: #52525b;
}
.conn-mistake-dot.used {
background: var(--border-color);
}
.conn-action-bar {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
justify-content: center;
}
.math-container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 400px;
margin: 0 auto;
}
.math-play-area {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.math-stats-row {
display: flex;
justify-content: space-between;
width: 100%;
margin-bottom: 1rem;
}
.math-stat-pill {
font-size: 0.88rem;
font-weight: 600;
color: var(--text-secondary);
background: var(--bg-secondary);
padding: 0.35rem 0.75rem;
border-radius: 999px;
border: 1px solid var(--border-color);
}
.math-equation-box {
width: 100%;
background: var(--bg-secondary);
border: 2px solid var(--border-color);
border-radius: var(--radius-lg, 12px);
padding: 1.5rem 1rem;
text-align: center;
margin-bottom: 1rem;
}
.math-prompt {
font-size: 2.25rem;
font-weight: 800;
color: var(--text-primary);
margin-bottom: 0.5rem;
}
.math-answer-display {
min-height: 44px;
background: var(--bg-primary);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm, 6px);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
font-weight: 700;
color: var(--text-primary);
max-width: 180px;
margin: 0 auto;
}
.math-numpad-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
width: 100%;
}
.math-pad-btn {
min-height: 52px;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--radius-md, 8px);
font-size: 1.35rem;
font-weight: 700;
color: var(--text-primary);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
touch-action: manipulation;
}
.math-pad-btn:active {
background: var(--border-color);
transform: scale(0.96);
}
.math-pad-btn.action {
font-size: 1rem;
background: var(--bg-tertiary);
}
.nback-container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 420px;
margin: 0 auto;
}
.nback-letter-display {
min-height: 52px;
font-size: 2.2rem;
font-weight: 900;
color: var(--text-primary);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 0.75rem;
transition: opacity 0.15s;
}
.nback-letter-display.blank {
opacity: 0.1;
}
.nback-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
width: min(100%, 300px);
aspect-ratio: 1 / 1;
background: var(--bg-tertiary);
padding: 8px;
border-radius: var(--radius-md, 8px);
border: 1px solid var(--border-color);
margin-bottom: 1.25rem;
}
.nback-cell {
background: var(--bg-primary);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm, 6px);
display: flex;
align-items: center;
justify-content: center;
transition: background 0.1s;
}
.nback-cell.lit {
background: #6366f1 !important;
border-color: #4f46e5 !important;
box-shadow: 0 0 16px rgba(99, 102, 241, 0.4);
}
.nback-cell-dot {
width: 16px;
height: 16px;
border-radius: 50%;
background: #ffffff;
}
.nback-actions-row {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem;
width: 100%;
margin-bottom: 0.75rem;
}
.nback-action-btn {
min-height: 52px;
padding: 0.5rem 0.75rem;
border: 2px solid var(--border-color);
border-radius: var(--radius-md, 8px);
background: var(--bg-secondary);
color: var(--text-primary);
font-size: 0.92rem;
font-weight: 700;
cursor: pointer;
touch-action: manipulation;
transition: all 0.15s;
}
.nback-action-btn:active {
transform: scale(0.96);
}
.nback-action-btn.pressed {
background: #6366f1;
color: #ffffff;
border-color: #4f46e5;
box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}
.nback-help-hint {
font-size: 0.78rem;
color: var(--text-muted);
text-align: center;
}
.nback-score-circle {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 120px;
height: 120px;
border-radius: 50%;
border: 4px solid #6366f1;
background: var(--bg-primary);
margin: 1rem 0;
}
.nback-score-val {
font-size: 1.8rem;
font-weight: 900;
color: var(--text-primary);
}
.nback-score-lbl {
font-size: 0.72rem;
color: var(--text-secondary);
text-transform: uppercase;
}
.nback-metric-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem;
width: 100%;
margin-top: 0.5rem;
}
.nback-metric-card {
background: var(--bg-primary);
border: 1px solid var(--border-color);
border-radius: var(--radius-md, 8px);
padding: 0.75rem 0.5rem;
text-align: center;
}
.metric-title { font-size: 0.82rem; font-weight: 700; color: var(--text-secondary); }
.metric-num { font-size: 1.4rem; font-weight: 900; color: var(--text-primary); margin: 0.2rem 0; }
.metric-detail { font-size: 0.72rem; color: var(--text-muted); }
.hanoi-container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 500px;
margin: 0 auto;
}
.hanoi-error-banner {
background: #fef2f2;
color: #dc2626;
border: 1px solid #fecaca;
padding: 0.45rem 1rem;
border-radius: 999px;
font-size: 0.85rem;
font-weight: 600;
margin-bottom: 0.75rem;
}
.hanoi-board {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
width: 100%;
min-height: 230px;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--radius-md, 8px);
padding: 12px 6px;
margin-bottom: 1rem;
}
.hanoi-peg-container {
display: flex;
flex-direction: column;
align-items: center;
cursor: pointer;
border-radius: var(--radius-sm, 6px);
padding: 4px;
transition: background 0.15s;
outline: none;
}
.hanoi-peg-container:hover, .hanoi-peg-container.selected {
background: var(--bg-tertiary);
}
.hanoi-peg-label {
font-size: 0.75rem;
font-weight: 700;
color: var(--text-secondary);
text-transform: uppercase;
margin-bottom: 0.5rem;
}
.hanoi-peg-stage {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
width: 100%;
height: 180px;
}
.hanoi-rod {
position: absolute;
bottom: 8px;
width: 8px;
height: 160px;
background: #a1a1aa;
border-radius: 4px 4px 0 0;
z-index: 1;
}
.hanoi-base {
width: 90%;
height: 8px;
background: #52525b;
border-radius: 4px;
z-index: 3;
}
.hanoi-disk-stack {
position: relative;
display: flex;
flex-direction: column-reverse;
align-items: center;
width: 100%;
bottom: 8px;
z-index: 2;
gap: 2px;
}
.hanoi-disk {
height: 22px;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
color: #ffffff;
font-size: 0.75rem;
font-weight: 800;
box-shadow: 0 1px 3px rgba(0,0,0,0.15);
transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hanoi-disk.lifted {
transform: translateY(-24px);
box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}
.hanoi-hint-bar {
font-size: 0.85rem;
color: var(--text-secondary);
text-align: center;
}
.hanoi-perfect-pill {
background: #ecfdf5;
color: #065f46;
border: 1px solid #a7f3d0;
padding: 0.35rem 0.85rem;
border-radius: 999px;
font-size: 0.82rem;
font-weight: 700;
margin: 0.5rem 0;
}
.game-overlay {
position: absolute;
inset: 0;
background: rgba(247, 247, 245, 0.92);
backdrop-filter: blur(8px);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 1.5rem;
text-align: center;
z-index: 30;
}
[data-theme="dark"] .game-overlay {
background: rgba(18, 18, 20, 0.92);
}
.overlay-card {
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
padding: 1.75rem;
max-width: 380px;
width: 100%;
box-shadow: var(--shadow-lg);
}
.overlay-icon { font-size: 2.8rem; margin-bottom: 0.5rem; }
.overlay-card h3 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; margin-bottom: 0.4rem; }
.overlay-card p { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 1.25rem; }
.seo-article {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
padding: 2rem;
margin-top: 2rem;
}
.seo-article h2 {
font-family: var(--font-serif);
font-size: 1.35rem;
font-weight: 700;
margin: 1.5rem 0 0.75rem;
}
.seo-article h2:first-child { margin-top: 0; }
.seo-list {
padding-left: 1.25rem;
display: flex;
flex-direction: column;
gap: 0.55rem;
color: var(--text-secondary);
}
.faq-list { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 0.75rem; }
.faq-item {
background: var(--bg-primary);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
padding: 1.1rem 1.3rem;
}
.faq-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.faq-item p { color: var(--text-secondary); font-size: 0.9rem; }
.site-footer {
margin-top: auto;
border-top: 1px solid var(--border-color);
background: var(--bg-secondary);
padding: 2.5rem 0;
}
.footer-inner {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 1rem;
font-size: 0.88rem;
color: var(--text-muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.footer-links a:hover { color: var(--text-primary); text-decoration: underline; }
.footer-link-btn {
background: transparent;
border: 1px solid var(--border-color);
border-radius: var(--radius-xs);
padding: 0.25rem 0.65rem;
color: var(--text-muted);
font-size: 0.82rem;
font-weight: 600;
cursor: pointer;
transition: all 0.15s ease;
}
.footer-link-btn:hover {
color: var(--text-primary);
border-color: var(--text-primary);
}
.protected-canvas-wrap {
margin: 1.25rem 0 1.75rem;
padding: 1.25rem;
background: var(--bg-tertiary);
border: 1.5px solid var(--border-color);
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
display: inline-block;
max-width: 100%;
overflow-x: auto;
}
.protected-info-canvas {
display: block;
max-width: 100%;
height: auto;
border-radius: var(--radius-xs);
background: transparent;
}
.cw-container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 760px;
margin: 0 auto;
}
.cw-active-clue-bar {
width: 100%;
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1rem;
background: var(--bg-secondary);
border: 1.5px solid var(--border-color);
border-radius: var(--radius-sm);
margin-bottom: 1.25rem;
box-shadow: var(--shadow-sm);
}
.cw-active-dir-badge {
background: var(--accent-primary);
color: #ffffff;
font-weight: 800;
font-size: 0.8rem;
padding: 0.2rem 0.6rem;
border-radius: 999px;
white-space: nowrap;
}
.cw-active-clue-text {
font-size: 0.95rem;
font-weight: 700;
color: var(--text-primary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.cw-layout-columns {
display: grid;
grid-template-columns: minmax(280px, 360px) 1fr;
gap: 1.5rem;
width: 100%;
align-items: start;
}
@media (max-width: 768px) {
.cw-layout-columns {
grid-template-columns: 1fr;
}
}
.cw-board-wrap {
display: flex;
justify-content: center;
}
.cw-grid {
display: grid;
gap: 3px;
background: var(--border-color);
border: 2px solid var(--text-primary);
border-radius: var(--radius-xs);
padding: 3px;
width: 100%;
max-width: 460px;
aspect-ratio: 1 / 1;
}
.cw-grid.cw-grid-size-7 {
gap: 2.5px;
}
.cw-grid.cw-grid-size-7 .cw-cell {
font-size: clamp(0.9rem, 2.8vw, 1.25rem);
}
.cw-grid.cw-grid-size-7 .cw-cell-num {
font-size: 0.55rem;
top: 1px;
left: 2px;
}
.cw-grid.cw-grid-size-9 {
gap: 2px;
}
.cw-grid.cw-grid-size-9 .cw-cell {
font-size: clamp(0.72rem, 2.2vw, 1.05rem);
}
.cw-grid.cw-grid-size-9 .cw-cell-num {
font-size: 0.48rem;
top: 1px;
left: 2px;
}
.cw-cell {
background: var(--bg-secondary);
border: none;
aspect-ratio: 1 / 1;
position: relative;
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-sans);
font-size: clamp(1.1rem, 3.8vw, 1.45rem);
font-weight: 800;
color: var(--text-primary);
cursor: pointer;
touch-action: manipulation;
padding: 0;
transition: background-color 0.1s ease;
}
.cw-cell.cw-block {
background: #18181b;
cursor: default;
}
[data-theme="dark"] .cw-cell.cw-block {
background: #000000;
}
.cw-cell.cw-selected {
background: #fde047 !important;
color: #111827 !important;
}
.cw-cell.cw-highlighted {
background: #fef9c3;
}
[data-theme="dark"] .cw-cell.cw-highlighted {
background: #3f3f20;
}
.cw-cell.cw-wrong {
color: var(--danger);
background: #fee2e2;
}
.cw-cell-num {
position: absolute;
top: 2px;
left: 3px;
font-size: 0.6rem;
font-weight: 800;
line-height: 1;
color: var(--text-muted);
}
.cw-clues-column {
display: flex;
flex-direction: column;
gap: 1rem;
}
.cw-clues-section {
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
padding: 0.85rem 1rem;
max-height: 200px;
overflow-y: auto;
}
.cw-clues-section h3 {
font-size: 0.82rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
margin-bottom: 0.45rem;
}
.cw-clues-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.cw-clue-item {
font-size: 0.85rem;
line-height: 1.35;
color: var(--text-secondary);
padding: 0.25rem 0.45rem;
border-radius: var(--radius-xs);
cursor: pointer;
transition: all 0.12s ease;
}
.cw-clue-item:hover {
background: var(--bg-tertiary);
color: var(--text-primary);
}
.cw-clue-item.active {
background: #fef08a;
color: #713f12;
font-weight: 700;
}
[data-theme="dark"] .cw-clue-item.active {
background: #422006;
color: #fef08a;
}
.cw-keyboard {
display: flex;
flex-direction: column;
gap: 5px;
width: 100%;
max-width: 520px;
margin-top: 1.25rem;
user-select: none;
}
.cw-kb-row {
display: flex;
justify-content: center;
gap: 4px;
}
.cw-kb-key {
flex: 1;
min-height: 44px;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--radius-xs);
font-size: 0.92rem;
font-weight: 700;
color: var(--text-primary);
cursor: pointer;
touch-action: manipulation;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.08s ease;
}
.cw-kb-key:active {
background: var(--accent-primary);
color: #ffffff;
transform: scale(0.95);
}
.cw-kb-key.wide {
flex: 1.4;
font-size: 0.82rem;
}
.nono-container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 620px;
margin: 0 auto;
}
.nono-board-wrap {
display: flex;
flex-direction: column;
align-items: center;
background: var(--bg-secondary);
border: 2px solid var(--text-primary);
border-radius: var(--radius-sm);
padding: 10px;
box-shadow: var(--shadow-sm);
touch-action: none;
}
.nono-cell {
aspect-ratio: 1 / 1;
background: var(--bg-primary);
border: 1px solid var(--border-color);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
touch-action: none;
font-weight: 900;
font-size: 1rem;
transition: background-color 0.08s ease;
}
.nono-cell.filled {
background: var(--text-primary) !important;
}
.nono-cell.crossed {
color: var(--danger);
}
.nono-clue-cell {
background: var(--bg-tertiary);
font-family: var(--font-mono);
font-size: 0.76rem;
font-weight: 800;
color: var(--text-secondary);
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.ws-container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 680px;
margin: 0 auto;
}
.ws-board {
display: grid;
gap: 3px;
background: var(--border-color);
border: 2px solid var(--text-primary);
border-radius: var(--radius-sm);
padding: 4px;
width: 100%;
max-width: 440px;
aspect-ratio: 1 / 1;
touch-action: none;
user-select: none;
}
.ws-cell {
aspect-ratio: 1 / 1;
background: var(--bg-secondary);
border: none;
border-radius: 2px;
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-sans);
font-size: clamp(0.95rem, 3.2vw, 1.25rem);
font-weight: 800;
color: var(--text-primary);
cursor: pointer;
transition: background-color 0.1s ease;
}
.ws-cell.selected {
background: var(--accent-primary) !important;
color: #ffffff !important;
}
.ws-word-list {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
justify-content: center;
margin-top: 1.25rem;
padding: 0.85rem;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
width: 100%;
}
.ws-word-item {
padding: 0.3rem 0.75rem;
border-radius: 999px;
background: var(--bg-tertiary);
font-size: 0.82rem;
font-weight: 700;
letter-spacing: 0.04em;
color: var(--text-secondary);
border: 1px solid var(--border-color);
transition: all 0.15s ease;
}
.ws-word-item.found {
background: #dcfce7;
border-color: #86efac;
color: #166534;
text-decoration: line-through;
opacity: 0.75;
}
.consent-banner {
position: fixed;
bottom: 1rem;
left: 1rem;
right: 1rem;
max-width: 660px;
margin: 0 auto;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
padding: 1rem 1.25rem;
box-shadow: var(--shadow-lg);
z-index: 200;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 1rem;
font-size: 0.85rem;
}
@media (max-width: 768px) {
body {
padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}
.nav-links {
display: none;
}
.mobile-bottom-nav {
display: flex;
}
.swipe-hint {
display: inline-block;
}
.zones-portal-strip {
grid-template-columns: 1fr;
gap: 0.65rem;
}
.filter-bar {
flex-wrap: nowrap;
overflow-x: auto;
justify-content: flex-start;
padding-bottom: 0.65rem;
margin-bottom: 1.25rem;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
scroll-snap-type: x proximity;
}
.filter-bar::-webkit-scrollbar {
display: none;
}
.filter-pill {
flex-shrink: 0;
scroll-snap-align: start;
font-size: 0.85rem;
padding: 0.5rem 0.95rem;
}
.swipe-hint {
display: none !important;
}
.masthead-top {
padding: 0.35rem 0.75rem !important;
}
.masthead-edition,
.masthead-dot {
display: none !important;
}
.masthead-date {
font-size: 0.75rem !important;
white-space: nowrap !important;
}
.header-actions {
gap: 0.35rem !important;
}
.header-actions .icon-btn {
height: 32px !important;
padding: 0 0.55rem !important;
font-size: 0.78rem !important;
}
.header-inner {
padding: 0.55rem 0.75rem !important;
}
.puzzle-logo-main {
font-size: 1.15rem !important;
}
.puzzle-logo-icon {
width: 34px !important;
height: 34px !important;
}
.rubric-header {
flex-direction: column !important;
align-items: flex-start !important;
gap: 0.35rem !important;
margin-bottom: 0.85rem !important;
padding-bottom: 0.4rem !important;
}
.rubric-header h2 {
font-size: 1.35rem !important;
}
.rubric-header p {
font-size: 0.82rem !important;
line-height: 1.35 !important;
}
.daily-live-pill {
order: -1 !important;
font-size: 0.72rem !important;
padding: 0.2rem 0.65rem !important;
margin-bottom: 0.25rem !important;
}
.games-carousel-track {
display: grid !important;
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
gap: 0.65rem !important;
margin: 0 !important;
padding: 0 0 0.5rem 0 !important;
overflow-x: visible !important;
scroll-snap-type: none !important;
}
.games-carousel-track::-webkit-scrollbar {
display: none;
}
.games-carousel-track .game-card {
flex: initial !important;
width: 100% !important;
min-width: 0 !important;
scroll-snap-align: none !important;
padding: 0.75rem 0.65rem !important;
display: flex !important;
flex-direction: column !important;
justify-content: space-between !important;
gap: 0.65rem !important;
}
.games-carousel-track .game-card-top {
display: flex !important;
align-items: flex-start !important;
justify-content: space-between !important;
gap: 0.35rem !important;
min-height: 44px !important;
}
.games-carousel-track .game-icon-wrap {
width: 36px !important;
height: 36px !important;
}
.games-carousel-track .game-icon-wrap svg {
width: 36px !important;
height: 36px !important;
}
.games-carousel-track .game-badges {
display: flex !important;
flex-direction: column !important;
align-items: flex-end !important;
gap: 0.25rem !important;
min-width: 0 !important;
}
.games-carousel-track .game-badges .meta-pill,
.games-carousel-track .game-badges .badge {
font-size: 0.62rem !important;
padding: 0.14rem 0.38rem !important;
white-space: nowrap !important;
line-height: 1.2 !important;
}
.games-carousel-track .game-card-title {
font-size: 0.94rem !important;
line-height: 1.25 !important;
margin-top: 0.35rem !important;
margin-bottom: 0.2rem !important;
}
.games-carousel-track .game-card-desc {
font-size: 0.76rem !important;
line-height: 1.35 !important;
margin-bottom: 0.35rem !important;
display: -webkit-box !important;
-webkit-line-clamp: 2 !important;
-webkit-box-orient: vertical !important;
overflow: hidden !important;
}
.games-carousel-track .game-card-footer {
display: flex !important;
flex-direction: column !important;
align-items: stretch !important;
gap: 0.4rem !important;
padding-top: 0.45rem !important;
border-top: 1px solid var(--border-color) !important;
margin-top: auto !important;
}
.games-carousel-track .game-category-label {
font-size: 0.66rem !important;
letter-spacing: 0.02em !important;
white-space: nowrap !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
text-align: left !important;
}
.games-carousel-track .play-btn {
width: 100% !important;
justify-content: center !important;
text-align: center !important;
padding: 0.4rem 0.5rem !important;
font-size: 0.78rem !important;
min-height: 34px !important;
border-radius: var(--radius-sm) !important;
box-sizing: border-box !important;
white-space: nowrap !important;
}
@media (max-width: 350px) {
.games-carousel-track {
grid-template-columns: 1fr !important;
}
}
.spotlight-hero {
padding: 1.25rem;
margin-top: 0.75rem;
margin-bottom: 1.25rem;
}
.spotlight-main {
flex-direction: column;
align-items: stretch;
gap: 1rem;
}
.spotlight-cta-col {
width: 100%;
}
.spotlight-btn {
width: 100%;
min-height: 52px;
}
.container {
padding: 0 1rem;
}
.consent-banner {
bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}
body.is-game-view .site-header,
body:has(.game-stage-card) .site-header,
body:has(.arcade-cabinet-stage) .site-header,
body:has(#arcade-cabinet) .site-header {
display: none !important;
}
body.is-game-view .site-header.is-header-open {
display: block !important;
animation: slideDownOptions 0.2s ease-out;
}
body.is-game-view .mobile-bottom-nav,
body:has(.game-stage-card) .mobile-bottom-nav,
body:has(.arcade-cabinet-stage) .mobile-bottom-nav,
body:has(#arcade-cabinet) .mobile-bottom-nav {
display: none !important;
}
body.is-game-view {
padding-bottom: max(16px, env(safe-area-inset-bottom, 16px)) !important;
}
body.is-game-view .ad-slot-leaderboard {
display: none !important;
}
body.is-game-view .game-page-layout {
margin-top: 0.35rem !important;
margin-bottom: 1.5rem !important;
}
body.is-game-view .container {
padding-left: 0.35rem !important;
padding-right: 0.35rem !important;
}
.btn-settings-toggle {
display: inline-flex !important;
align-items: center;
gap: 0.35rem;
padding: 0.28rem 0.55rem !important;
font-size: 0.76rem !important;
min-height: 32px !important;
border-radius: 6px !important;
font-weight: 700;
}
.btn-settings-toggle.active {
background: var(--text-primary) !important;
color: var(--bg-primary) !important;
border-color: var(--text-primary) !important;
}
.game-options-site-row {
display: flex;
align-items: center;
gap: 0.5rem;
padding-top: 0.5rem;
margin-top: 0.35rem;
border-top: 1px dashed var(--border-color);
}
.game-options-site-row .seg-btn {
flex: 1;
font-size: 0.74rem !important;
padding: 0.3rem 0.4rem !important;
text-align: center;
}
.arcade-zone-container {
padding: 0.35rem 0.5rem 1.5rem !important;
}
.arcade-game-topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
margin-bottom: 0.5rem;
flex-wrap: wrap;
}
.arcade-topbar-left {
display: flex;
align-items: center;
gap: 0.5rem;
}
.arcade-game-title {
font-family: 'Press Start 2P', monospace;
font-size: 0.85rem !important;
margin: 0 !important;
color: #ffe600 !important;
text-shadow: 0 0 8px #ff007f !important;
display: flex;
align-items: center;
gap: 0.35rem;
}
.arcade-topbar-right {
display: flex;
align-items: center;
gap: 0.35rem;
}
.arcade-mode-toggle {
display: inline-flex;
background: #0e0a1f;
border: 1.5px solid #2e2652;
border-radius: 8px;
padding: 2px;
gap: 2px;
}
.arcade-toggle-btn {
background: transparent;
border: none;
color: #94a3b8;
font-size: 0.72rem;
font-weight: 700;
padding: 0.22rem 0.5rem;
border-radius: 6px;
cursor: pointer;
user-select: none;
transition: all 0.15s ease;
}
.arcade-toggle-btn.is-active {
background: #ff007f;
color: #ffffff;
box-shadow: 0 0 8px rgba(255, 0, 127, 0.6);
}
.arcade-cabinet-stage {
border-width: 2px !important;
border-radius: 12px !important;
margin-bottom: 1rem !important;
}
.arcade-cabinet-marquee {
padding: 0.4rem 0.75rem !important;
}
.arcade-marquee-brand {
font-size: 0.75rem !important;
}
.arcade-marquee-meta {
font-size: 0.65rem !important;
gap: 0.5rem !important;
}
.arcade-screen-bezel {
padding: 0.35rem !important;
}
.arcade-cabinet-stage.swipe-mode .arcade-deck {
display: none !important;
}
.arcade-cabinet-stage .arcade-deck {
padding: 0.65rem !important;
gap: 0.75rem !important;
}
.arcade-dpad {
grid-template-columns: repeat(3, 40px) !important;
grid-template-rows: repeat(3, 40px) !important;
gap: 3px !important;
}
.arcade-dpad-btn {
font-size: 1rem !important;
}
.arcade-round-btn {
width: 48px !important;
height: 48px !important;
font-size: 0.72rem !important;
}
.arcade-round-btn.btn-fire {
min-width: 76px !important;
height: 46px !important;
font-size: 0.74rem !important;
}
.arcade-hud-bar {
padding: 0.45rem 0.75rem !important;
gap: 0.5rem !important;
}
.arcade-label {
font-size: 0.55rem !important;
}
.arcade-val {
font-size: 0.85rem !important;
}
.arcade-settings-bar {
padding: 0.35rem 0.65rem !important;
}
.game-topbar {
padding: 0.5rem 0.75rem !important;
gap: 0.5rem !important;
}
.game-topbar-left {
gap: 0.5rem !important;
}
.game-title-inline {
font-size: 1.05rem !important;
}
.game-title-icon-wrap svg {
width: 26px !important;
height: 26px !important;
}
.back-pill {
padding: 0.28rem 0.55rem !important;
font-size: 0.74rem !important;
}
body.is-game-view .game-controls-bar,
.game-controls-bar {
display: none !important;
}
body.is-game-view .game-controls-bar.is-open,
.game-controls-bar.is-open {
display: flex !important;
flex-direction: column !important;
align-items: stretch !important;
gap: 0.55rem !important;
padding: 0.65rem 0.85rem !important;
background: var(--bg-secondary) !important;
border-bottom: 2px solid var(--border-color) !important;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
animation: slideDownOptions 0.18s ease-out;
}
@keyframes slideDownOptions {
from {
opacity: 0;
transform: translateY(-8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.control-group,
.seg-btn-group {
gap: 0.25rem !important;
flex-wrap: wrap !important;
}
.seg-btn, .action-btn {
padding: 0.28rem 0.55rem !important;
font-size: 0.76rem !important;
min-height: 32px !important;
border-radius: 6px !important;
}
.game-status-bar {
padding: 0.35rem 0.65rem !important;
font-size: 0.8rem !important;
gap: 0.35rem !important;
}
.status-turn-pill {
padding: 0.22rem 0.55rem !important;
font-size: 0.76rem !important;
}
.status-metrics {
gap: 0.6rem !important;
font-size: 0.76rem !important;
}
.game-board-viewport {
padding: 0.5rem 0.35rem !important;
min-height: unset !important;
}
.mm-wrapper {
width: min(100%, 360px) !important;
gap: 0.35rem !important;
}
.mm-board {
gap: 3px !important;
}
.mm-row {
padding: 3px 8px !important;
}
.mm-row-num {
font-size: 0.72rem !important;
width: 22px !important;
}
.mm-pegs {
gap: 6px !important;
}
.mm-peg {
width: 28px !important;
height: 28px !important;
}
.mm-palette {
gap: 6px !important;
margin-top: 0.25rem !important;
}
.mm-color-btn {
width: 32px !important;
height: 32px !important;
}
.mm-hints {
gap: 3px !important;
}
.mm-pin {
width: 8px !important;
height: 8px !important;
}
.cw-active-clue-bar {
padding: 0.35rem 0.6rem !important;
margin-bottom: 0.35rem !important;
gap: 0.45rem !important;
}
.cw-active-dir-badge {
font-size: 0.72rem !important;
padding: 0.15rem 0.45rem !important;
}
.cw-active-clue-text {
font-size: 0.82rem !important;
}
.cw-grid {
max-width: min(84vw, 310px) !important;
}
.cw-keyboard {
margin-top: 0.35rem !important;
gap: 3px !important;
max-width: 100% !important;
}
.cw-kb-key {
min-height: 34px !important;
font-size: 0.8rem !important;
}
.sudoku-layout {
gap: 0.45rem !important;
}
.sudoku-board {
width: min(92vw, 330px) !important;
}
.sudoku-cell {
font-size: clamp(0.95rem, 3.2vw, 1.25rem) !important;
}
.sudoku-numpad {
width: min(92vw, 330px) !important;
gap: 0.3rem !important;
}
.numpad-btn {
padding: 0.4rem 0.2rem !important;
font-size: 1rem !important;
}
}
.pop-3d-zone-container {
width: 100%;
max-width: 1100px;
margin: 0 auto;
padding: 1.5rem 1rem 3rem;
}
.pop-3d-hero {
background: linear-gradient(135deg, #4338ca 0%, #a21caf 50%, #f43f5e 100%);
border-radius: var(--radius-lg, 16px);
padding: 2.25rem 1.5rem;
color: #ffffff;
margin-bottom: 2rem;
position: relative;
overflow: hidden;
box-shadow: 0 10px 30px rgba(162, 28, 175, 0.25);
border: 3px solid #18181b;
}
.pop-hero-kicker {
display: inline-flex;
align-items: center;
gap: 0.4rem;
background: #ffe600;
color: #18181b;
font-size: 0.8rem;
font-weight: 800;
text-transform: uppercase;
padding: 0.3rem 0.85rem;
border-radius: 999px;
border: 2px solid #18181b;
box-shadow: 2px 2px 0px #18181b;
margin-bottom: 0.85rem;
}
.pop-hero-title {
font-family: var(--font-serif);
font-size: clamp(1.8rem, 4vw, 2.75rem);
font-weight: 900;
line-height: 1.15;
margin-bottom: 0.75rem;
text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.pop-hero-subtitle {
font-size: clamp(0.95rem, 1.8vw, 1.1rem);
opacity: 0.95;
max-width: 680px;
line-height: 1.5;
}
.pop-games-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 1.5rem;
margin-bottom: 2.5rem;
}
.pop-game-card {
background: var(--bg-secondary);
border: 3px solid #18181b;
border-radius: var(--radius-lg, 16px);
overflow: hidden;
box-shadow: 5px 5px 0px #18181b;
transition: transform 0.15s, box-shadow 0.15s;
display: flex;
flex-direction: column;
text-decoration: none;
color: var(--text-primary);
}
.pop-game-card:hover {
transform: translate(-2px, -2px);
box-shadow: 7px 7px 0px #18181b;
}
.pop-game-banner {
height: 160px;
display: flex;
align-items: center;
justify-content: center;
font-size: 4.5rem;
position: relative;
}
.pop-game-banner.jenga {
background: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
}
.pop-game-banner.minigolf {
background: linear-gradient(135deg, #059669 0%, #10b981 55%, #38bdf8 100%);
}
.pop-game-banner.stacker {
background: linear-gradient(135deg, #4f46e5 0%, #a855f7 55%, #ec4899 100%);
}
.pop-game-banner.bowling {
background: linear-gradient(135deg, #b45309 0%, #ef4444 55%, #6366f1 100%);
}
.pop-card-body {
padding: 1.25rem;
flex: 1;
display: flex;
flex-direction: column;
}
.pop-card-badge {
align-self: flex-start;
font-size: 0.75rem;
font-weight: 800;
text-transform: uppercase;
background: #e0e7ff;
color: #3730a3;
padding: 0.25rem 0.65rem;
border-radius: 999px;
margin-bottom: 0.5rem;
border: 1px solid #c7d2fe;
}
.pop-card-headline {
font-family: var(--font-serif);
font-size: 1.35rem;
font-weight: 800;
margin-bottom: 0.4rem;
}
.pop-card-description {
font-size: 0.9rem;
color: var(--text-secondary);
line-height: 1.5;
margin-bottom: 1.25rem;
flex: 1;
}
.pop-card-cta {
display: flex;
align-items: center;
justify-content: space-between;
font-weight: 700;
font-size: 0.95rem;
color: var(--text-primary);
border-top: 1px solid var(--border-color);
padding-top: 0.75rem;
}
.pop-3d-stage {
width: 100%;
background: #131127;
border: 3px solid #18181b;
border-radius: var(--radius-lg, 16px);
box-shadow: 6px 6px 0px #18181b;
overflow: hidden;
margin-bottom: 1.5rem;
}
.pop-3d-canvas-wrap {
width: 100%;
height: clamp(380px, 60vh, 580px);
position: relative;
touch-action: none;
}
.pop-3d-canvas-wrap canvas {
width: 100% !important;
height: 100% !important;
display: block;
}
.pop-3d-hud {
background: #1f1b3c;
color: #ffffff;
padding: 1rem;
border-top: 2px solid #332d5e;
}
.pop-hud-hint {
font-size: 0.8rem;
color: #a5b4fc;
text-align: center;
margin-top: 0.5rem;
}
.pop-jenga-hud-bar {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.pop-hud-stats {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
justify-content: center;
}
.pop-badge {
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 999px;
padding: 0.35rem 0.85rem;
font-size: 0.85rem;
font-weight: 700;
}
.pop-hud-actions {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
.pop-btn {
border: 2px solid #18181b;
border-radius: 8px;
padding: 0.55rem 1.15rem;
font-weight: 800;
font-size: 0.92rem;
cursor: pointer;
box-shadow: 2px 2px 0px #18181b;
transition: transform 0.08s, box-shadow 0.08s;
display: inline-flex;
align-items: center;
justify-content: center;
touch-action: manipulation;
}
.pop-btn:active {
transform: translate(2px, 2px);
box-shadow: 0px 0px 0px #18181b;
}
.pop-btn.disabled {
opacity: 0.4;
cursor: not-allowed;
}
.pop-btn-primary { background: #ffe600; color: #18181b; }
.pop-btn-neon { background: #00f0ff; color: #18181b; }
.pop-btn-accent { background: #ff007a; color: #ffffff; }
.pop-btn-sub {
background: #332d5e;
color: #ffffff;
border: 2px solid #47407a;
border-radius: 8px;
padding: 0.5rem 0.85rem;
font-weight: 700;
font-size: 0.85rem;
cursor: pointer;
}
.pop-nudge-group {
display: inline-flex;
gap: 0.25rem;
}
.pop-3d-card {
background: #1f1b3c;
color: #ffffff;
border: 3px solid #ffe600;
border-radius: var(--radius-lg, 16px);
padding: 1.5rem;
text-align: center;
max-width: 440px;
margin: 0.5rem auto;
box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.pop-card-title {
font-family: var(--font-serif);
font-size: 1.45rem;
font-weight: 800;
margin-bottom: 0.25rem;
}
.pop-card-sub {
font-size: 0.88rem;
color: #cbd5e1;
}
.pop-stats-row {
display: flex;
gap: 0.5rem;
justify-content: center;
}
.pop-stat-pill {
background: rgba(255,255,255,0.1);
padding: 0.35rem 0.75rem;
border-radius: 8px;
font-size: 0.85rem;
}
.pop-worms-hud-bar {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.pop-hud-top {
display: flex;
justify-content: space-between;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
}
.pop-player-badge {
background: rgba(255,255,255,0.06);
border: 1px solid rgba(255,255,255,0.15);
border-radius: 10px;
padding: 0.45rem 0.75rem;
min-width: 120px;
}
.pop-player-badge.active-turn {
border-color: #ffe600;
box-shadow: 0 0 12px rgba(255, 230, 0, 0.3);
}
.pop-pname {
font-size: 0.8rem;
font-weight: 800;
margin-bottom: 0.25rem;
}
.pop-hp-bar {
width: 100%;
height: 8px;
background: rgba(255,255,255,0.15);
border-radius: 4px;
overflow: hidden;
}
.pop-hp-fill.blue { background: #38bdf8; height: 100%; }
.pop-hp-fill.red { background: #f43f5e; height: 100%; }
.pop-hp-text { font-size: 0.75rem; opacity: 0.85; margin-top: 0.2rem; }
.pop-wind-badge {
background: #332d5e;
border: 1px solid #47407a;
border-radius: 999px;
padding: 0.3rem 0.85rem;
font-size: 0.82rem;
font-weight: 700;
display: flex;
align-items: center;
gap: 0.35rem;
}
.pop-control-row {
display: flex;
gap: 0.5rem;
justify-content: center;
flex-wrap: wrap;
}
.pop-aim-actions {
display: flex;
gap: 1rem;
align-items: center;
justify-content: center;
flex-wrap: wrap;
}
.pop-slider-col {
display: flex;
flex-direction: column;
gap: 0.25rem;
min-width: 160px;
}
.pop-slider-label {
font-size: 0.82rem;
font-weight: 700;
}
.pop-slider {
accent-color: #ffe600;
cursor: pointer;
}
.pop-btn-fire {
background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
color: #ffffff;
border: 2px solid #18181b;
border-radius: 12px;
padding: 0.75rem 1.6rem;
font-size: 1.1rem;
font-weight: 900;
cursor: pointer;
box-shadow: 3px 3px 0px #18181b;
touch-action: manipulation;
transition: transform 0.08s, background-color 0.15s;
}
.pop-btn-fire.charging {
background: linear-gradient(135deg, #f59e0b 0%, #10b981 100%);
transform: scale(1.05);
box-shadow: 0 0 16px rgba(16, 185, 129, 0.6);
}
.pop-turn-note {
font-size: 0.9rem;
font-weight: 700;
color: #fde047;
text-align: center;
padding: 0.5rem;
}
.pop-btn-sub.active {
background: #00f0ff;
color: #090714;
border-color: #00f0ff;
}
.arcade-zone-container {
width: 100%;
max-width: 1100px;
margin: 0 auto;
padding: 1.5rem 1rem 3.5rem;
}
.arcade-hero {
background: radial-gradient(circle at 50% 20%, #1e1b4b 0%, #090714 80%);
border-radius: var(--radius-lg, 16px);
padding: 2.5rem 1.5rem;
color: #ffffff;
margin-bottom: 2rem;
position: relative;
overflow: hidden;
border: 3px solid #ff007f;
box-shadow: 0 0 25px rgba(255, 0, 127, 0.35), inset 0 0 40px rgba(0, 240, 255, 0.15);
text-align: center;
}
.arcade-hero::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; height: 100%;
background: linear-gradient(rgba(18, 16, 38, 0) 50%, rgba(0, 0, 0, 0.4) 50%),
linear-gradient(90deg, rgba(255, 0, 127, 0.05), rgba(0, 240, 255, 0.05));
background-size: 100% 4px, 40px 100%;
pointer-events: none;
opacity: 0.6;
}
.arcade-hero-kicker {
display: inline-block;
background: #ff007f;
color: #ffffff;
font-family: monospace;
font-size: 0.78rem;
font-weight: 900;
letter-spacing: 2px;
text-transform: uppercase;
padding: 0.25rem 0.85rem;
border-radius: 4px;
margin-bottom: 0.75rem;
box-shadow: 0 0 12px rgba(255, 0, 127, 0.6);
animation: arcade-blink 1.4s infinite;
}
@keyframes arcade-blink {
0%, 100% { opacity: 1; }
50% { opacity: 0.75; }
}
.arcade-hero-title {
font-family: 'Press Start 2P', 'Courier New', monospace;
font-size: clamp(1.4rem, 4vw, 2.3rem);
font-weight: 900;
letter-spacing: 2px;
color: #ffe600;
text-shadow: 0 0 10px #ff007f, 0 0 20px #ff007f, 0 0 40px #ff007f;
margin: 0.25rem 0 0.75rem;
line-height: 1.3;
}
.arcade-hero-subtitle {
font-size: 1.05rem;
color: #cbd5e1;
max-width: 720px;
margin: 0 auto;
line-height: 1.6;
}
.arcade-games-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
margin-bottom: 2.5rem;
}
.arcade-card {
background: #0d0a1a;
border: 3px solid #00f0ff;
border-radius: var(--radius-lg, 16px);
overflow: hidden;
text-decoration: none;
color: #ffffff;
display: flex;
flex-direction: column;
transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
box-shadow: 6px 6px 0px #090714, 0 0 15px rgba(0, 240, 255, 0.15);
position: relative;
}
.arcade-card:hover {
transform: translateY(-4px);
border-color: #ff007f;
box-shadow: 6px 10px 0px #090714, 0 0 25px rgba(255, 0, 127, 0.4);
}
.arcade-card-marquee {
height: 130px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
border-bottom: 3px solid #18181b;
}
.arcade-card-marquee.pacman { background: linear-gradient(135deg, #1e1b4b 0%, #1e3a8a 100%); }
.arcade-card-marquee.pong { background: linear-gradient(135deg, #052e16 0%, #064e3b 100%); }
.arcade-card-marquee.starfighter { background: linear-gradient(135deg, #311042 0%, #0f172a 100%); }
.arcade-card-marquee.snake { background: linear-gradient(135deg, #022c22 0%, #14532d 100%); }
.arcade-card-marquee.breakout { background: linear-gradient(135deg, #4c0519 0%, #831843 100%); }
.arcade-card-marquee.tetris { background: linear-gradient(135deg, #083344 0%, #1e1b4b 100%); }
.arcade-card-marquee.asteroids { background: linear-gradient(135deg, #18181b 0%, #3f3f46 100%); }
.arcade-card-marquee.invaders { background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%); }
.arcade-card-marquee.frogger { background: linear-gradient(135deg, #064e3b 0%, #0c4a6e 100%); }
.arcade-card-marquee.pinball { background: linear-gradient(135deg, #3b0764 0%, #831843 100%); }
.arcade-marquee-icon {
font-size: 3.2rem;
margin-bottom: 0.25rem;
filter: drop-shadow(0 0 12px rgba(255, 230, 0, 0.6));
}
.arcade-card-body {
padding: 1.25rem;
display: flex;
flex-direction: column;
flex: 1;
}
.arcade-badge {
display: inline-block;
align-self: flex-start;
font-family: monospace;
font-size: 0.72rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 1px;
padding: 0.2rem 0.6rem;
border-radius: 4px;
background: rgba(0, 240, 255, 0.15);
color: #00f0ff;
border: 1px solid #00f0ff;
margin-bottom: 0.65rem;
}
.arcade-card-title {
font-family: 'Press Start 2P', monospace;
font-size: 1.15rem;
font-weight: 900;
color: #ffe600;
margin-bottom: 0.5rem;
}
.arcade-card-desc {
font-size: 0.88rem;
color: #94a3b8;
line-height: 1.5;
margin-bottom: 1rem;
flex: 1;
}
.arcade-card-footer {
display: flex;
align-items: center;
justify-content: space-between;
border-top: 1px solid #1e1b4b;
padding-top: 0.75rem;
font-family: monospace;
font-weight: 800;
font-size: 0.85rem;
color: #ff007f;
}
.arcade-game-topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
margin-bottom: 1rem;
flex-wrap: wrap;
}
.arcade-topbar-left {
display: flex;
align-items: center;
gap: 0.85rem;
}
.arcade-game-title {
font-family: 'Press Start 2P', monospace;
font-size: 1.15rem;
font-weight: 800;
margin: 0;
color: #ffe600;
text-shadow: 0 0 8px #ff007f;
display: flex;
align-items: center;
gap: 0.5rem;
}
.arcade-topbar-right {
display: flex;
align-items: center;
gap: 0.65rem;
}
.arcade-mode-toggle {
display: inline-flex;
background: #0e0a1f;
border: 2px solid #2e2652;
border-radius: 10px;
padding: 3px;
gap: 3px;
}
.arcade-toggle-btn {
background: transparent;
border: none;
color: #94a3b8;
font-size: 0.8rem;
font-weight: 700;
padding: 0.35rem 0.75rem;
border-radius: 7px;
cursor: pointer;
user-select: none;
transition: all 0.15s ease;
}
.arcade-toggle-btn:hover {
color: #ffffff;
}
.arcade-toggle-btn.is-active {
background: #ff007f;
color: #ffffff;
box-shadow: 0 0 10px rgba(255, 0, 127, 0.6);
}
.arcade-fs-btn {
background: #191233;
border: 1.5px solid #00f0ff;
color: #00f0ff;
box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
padding: 0.35rem 0.65rem;
border-radius: 8px;
font-size: 0.85rem;
cursor: pointer;
}
.arcade-fs-btn:hover {
background: #00f0ff;
color: #090714;
}
.arcade-cabinet-stage {
background: #080612;
border: 4px solid #ff007f;
border-radius: 20px;
box-shadow: 0 0 30px rgba(255, 0, 127, 0.35), inset 0 0 20px rgba(0, 0, 0, 0.8);
overflow: hidden;
margin-bottom: 1.75rem;
position: relative;
touch-action: manipulation;
}
.arcade-cabinet-marquee {
background: linear-gradient(180deg, #18181b 0%, #090714 100%);
border-bottom: 3px solid #ff007f;
padding: 0.85rem 1.25rem;
display: flex;
align-items: center;
justify-content: space-between;
color: #ffffff;
}
.arcade-marquee-brand {
font-family: 'Press Start 2P', monospace;
font-size: 1.1rem;
color: #ffe600;
text-shadow: 0 0 8px #ff007f;
display: flex;
align-items: center;
gap: 0.5rem;
}
.arcade-marquee-meta {
font-family: monospace;
font-size: 0.82rem;
color: #00f0ff;
display: flex;
gap: 1rem;
align-items: center;
}
.arcade-screen-bezel {
padding: 1rem;
background: radial-gradient(circle at center, #110d24 0%, #06040d 100%);
display: flex;
justify-content: center;
}
.arcade-screen-wrap {
position: relative;
max-width: 100%;
border-radius: 12px;
overflow: hidden;
box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 240, 255, 0.2);
border: 2px solid #2e2652;
touch-action: none !important;
overscroll-behavior: none !important;
}
.arcade-screen-wrap canvas {
display: block;
max-width: 100%;
height: auto;
image-rendering: pixelated;
image-rendering: crisp-edges;
margin: 0 auto;
touch-action: none !important;
overscroll-behavior: none !important;
}
.crt-scanlines {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: linear-gradient(rgba(18, 16, 38, 0) 50%, rgba(0, 0, 0, 0.35) 50%);
background-size: 100% 4px;
pointer-events: none;
opacity: 0.85;
}
.arcade-hud-bar {
background: #090714;
border-top: 2px solid #2e2652;
padding: 0.75rem 1.25rem;
display: flex;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
gap: 0.75rem;
}
.arcade-score-item {
display: flex;
flex-direction: column;
align-items: center;
font-family: 'Press Start 2P', monospace;
}
.arcade-label {
font-size: 0.65rem;
color: #ff007f;
margin-bottom: 0.25rem;
}
.arcade-val {
font-size: 1.05rem;
color: #00f0ff;
text-shadow: 0 0 6px #00f0ff;
}
.arcade-deck {
background: #0e0a1c;
border-top: 3px solid #ff007f;
padding: 1.25rem;
display: flex;
align-items: center;
justify-content: space-around;
gap: 1.5rem;
flex-wrap: wrap;
touch-action: pan-y;
}
.arcade-dpad {
display: grid;
grid-template-columns: repeat(3, 48px);
grid-template-rows: repeat(3, 48px);
gap: 4px;
justify-content: center;
touch-action: manipulation;
}
.arcade-dpad-btn {
background: #1e1b4b;
border: 2px solid #3b82f6;
border-radius: 8px;
color: #ffffff;
font-size: 1.2rem;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
user-select: none;
touch-action: manipulation;
transition: transform 0.05s, background-color 0.1s;
}
.arcade-dpad-btn:active {
background: #3b82f6;
transform: scale(0.92);
}
.arcade-dpad-center {
background: #0f172a;
border-radius: 8px;
}
.arcade-action-buttons {
display: flex;
gap: 1rem;
align-items: center;
}
.arcade-round-btn {
width: 58px;
height: 58px;
border-radius: 50%;
border: 3px solid #ffffff;
font-family: 'Press Start 2P', monospace;
font-size: 0.85rem;
font-weight: 900;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
user-select: none;
touch-action: manipulation;
box-shadow: 0 4px 0 #000, 0 0 12px rgba(255,255,255,0.4);
transition: transform 0.05s;
}
.arcade-round-btn:active {
transform: translateY(3px);
box-shadow: 0 1px 0 #000;
}
.arcade-round-btn.btn-a {
background: radial-gradient(circle at 35% 35%, #ff4b81, #d6004b);
color: #ffffff;
}
.arcade-round-btn.btn-b {
background: radial-gradient(circle at 35% 35%, #ffe600, #ca8a04);
color: #18181b;
}
.arcade-round-btn.btn-fire {
width: auto;
min-width: 90px;
height: 54px;
border-radius: 12px;
background: radial-gradient(circle at 35% 35%, #ff007f, #b91c1c);
color: #ffffff;
padding: 0 1rem;
}
html[data-zone="arcade"],
body.zone-arcade {
--bg-primary: #06040d;
--bg-secondary: #0d0a1a;
--bg-surface: #0e0a1f;
--bg-elevated: #16102e;
--border-color: #251a42;
--border-subtle: #1e1338;
--text-primary: #f8fafc;
--text-secondary: #cbd5e1;
--text-muted: #94a3b8;
background-color: #06040d !important;
color: #f8fafc !important;
}
body.zone-arcade {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.site-header.header-arcade {
background: #090714 !important;
border-bottom: 2px solid #ff007f !important;
box-shadow: 0 4px 25px rgba(255, 0, 127, 0.25) !important;
}
.header-arcade .masthead-top {
background: #06040d !important;
border-bottom: 1px solid #1e1338 !important;
}
.arcade-brand-logo {
display: flex;
align-items: center;
gap: 0.65rem;
text-decoration: none;
}
.arcade-logo-icon {
font-size: 1.6rem;
filter: drop-shadow(0 0 8px #ff007f);
}
.arcade-logo-text {
display: flex;
align-items: center;
gap: 0.5rem;
}
.arcade-logo-main {
font-family: 'Press Start 2P', monospace;
font-size: 1.05rem;
color: #ffe600;
text-shadow: 0 0 10px #ff007f, 0 0 20px #ff007f;
letter-spacing: 0.5px;
}
.arcade-logo-badge {
background: #ff007f;
color: #ffffff;
font-family: monospace;
font-size: 0.72rem;
font-weight: 900;
letter-spacing: 1px;
padding: 2px 7px;
border-radius: 4px;
box-shadow: 0 0 10px rgba(255, 0, 127, 0.8);
}
.arcade-nav-links {
display: flex;
align-items: center;
gap: 0.75rem;
}
.arcade-switch-pill {
display: inline-flex;
align-items: center;
gap: 0.4rem;
background: rgba(255, 255, 255, 0.05);
border: 1.5px solid;
border-radius: 999px;
padding: 0.42rem 1rem;
font-weight: 800;
font-size: 0.88rem;
text-decoration: none;
transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.arcade-switch-pill:hover {
transform: translateY(-2px);
box-shadow: 0 0 15px currentColor;
background: rgba(255, 255, 255, 0.12);
}
.arcade-action-btn {
background: #191233 !important;
border-color: #ff007f !important;
color: #ffffff !important;
}
body.zone-arcade .seo-article {
background: #0d0a1a !important;
border: 2px solid #1e1338 !important;
border-radius: var(--radius-lg, 16px);
color: #cbd5e1 !important;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6) !important;
}
body.zone-arcade .seo-article h2 {
color: #ffe600 !important;
font-family: 'Press Start 2P', monospace;
font-size: 1.05rem;
margin-bottom: 1rem;
letter-spacing: 0.5px;
}
body.zone-arcade .seo-article strong {
color: #00f0ff !important;
}
body.zone-arcade .back-pill {
background: #191233;
color: #00f0ff;
border: 1.5px solid #00f0ff;
box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}
body.zone-arcade .back-pill:hover {
background: #00f0ff;
color: #090714;
}
.site-footer.footer-arcade {
background: #090714 !important;
border-top: 2px solid #ff007f !important;
color: #94a3b8 !important;
margin-top: auto;
}
.footer-arcade .footer-links a {
color: #00f0ff !important;
font-weight: 700;
}
.mobile-bottom-nav.mnav-arcade {
background: #090714 !important;
border-top: 2px solid #ff007f !important;
box-shadow: 0 -4px 20px rgba(255, 0, 127, 0.25) !important;
}
.mnav-arcade .mobile-nav-item {
color: #94a3b8 !important;
}
.mnav-arcade .mobile-nav-item.active {
color: #ffe600 !important;
}
html[data-zone="3d"],
body.zone-3d {
--bg-primary: #0f0d22;
--bg-secondary: #171434;
--bg-surface: #131127;
--bg-elevated: #201c45;
--border-color: #2b2656;
--border-subtle: #231f45;
--text-primary: #f8fafc;
--text-secondary: #cbd5e1;
--text-muted: #94a3b8;
background-color: #0f0d22 !important;
color: #f8fafc !important;
}
body.zone-3d .pop-game-card {
background: #171434 !important;
border: 2px solid #332d5e !important;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
color: #f8fafc !important;
}
body.zone-3d .pop-game-card:hover {
border-color: #00f0ff !important;
box-shadow: 0 12px 35px rgba(0, 240, 255, 0.25) !important;
}
body.zone-3d .pop-card-headline {
color: #ffffff !important;
}
body.zone-3d .pop-card-badge {
background: rgba(0, 240, 255, 0.15) !important;
color: #00f0ff !important;
border-color: rgba(0, 240, 255, 0.4) !important;
}
body.zone-3d .pop-card-description {
color: #cbd5e1 !important;
}
body.zone-3d .pop-card-cta {
color: #00f0ff !important;
font-weight: 700;
}
body.zone-3d .pop-3d-hero {
border: 2px solid rgba(255, 255, 255, 0.15) !important;
box-shadow: 0 10px 40px rgba(67, 56, 202, 0.4) !important;
}
body.zone-3d {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.site-header.header-3d {
background: #131127 !important;
border-bottom: 2px solid #00f0ff !important;
box-shadow: 0 4px 25px rgba(0, 240, 255, 0.25) !important;
}
.header-3d .masthead-top {
background: #0b091c !important;
border-bottom: 1px solid #231f45 !important;
}
.threed-brand-logo {
display: flex;
align-items: center;
gap: 0.65rem;
text-decoration: none;
}
.threed-logo-icon {
font-size: 1.6rem;
filter: drop-shadow(0 0 10px #00f0ff);
}
.threed-logo-text {
display: flex;
align-items: center;
gap: 0.5rem;
}
.threed-logo-main {
font-family: var(--font-serif);
font-weight: 900;
font-size: 1.35rem;
color: #ffffff;
letter-spacing: -0.5px;
}
.threed-logo-badge {
background: #00f0ff;
color: #090714;
font-family: monospace;
font-size: 0.75rem;
font-weight: 900;
letter-spacing: 1px;
padding: 2px 7px;
border-radius: 4px;
box-shadow: 0 0 12px rgba(0, 240, 255, 0.7);
}
.threed-nav-links {
display: flex;
align-items: center;
gap: 0.75rem;
}
.threed-switch-pill {
display: inline-flex;
align-items: center;
gap: 0.4rem;
background: rgba(255, 255, 255, 0.05);
border: 1.5px solid;
border-radius: 999px;
padding: 0.42rem 1rem;
font-weight: 800;
font-size: 0.88rem;
text-decoration: none;
transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.threed-switch-pill:hover {
transform: translateY(-2px);
box-shadow: 0 0 15px currentColor;
background: rgba(255, 255, 255, 0.12);
}
.threed-action-btn {
background: #1f1b3c !important;
border-color: #00f0ff !important;
color: #ffffff !important;
}
body.zone-3d .seo-article {
background: #181534 !important;
border: 2px solid #282352 !important;
border-radius: var(--radius-lg, 16px);
color: #cbd5e1 !important;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6) !important;
}
body.zone-3d .seo-article h2 {
color: #00f0ff !important;
font-family: var(--font-serif);
font-size: 1.3rem;
margin-bottom: 1rem;
}
body.zone-3d .seo-article strong {
color: #ffe600 !important;
}
body.zone-3d .back-pill {
background: #1f1b3c;
color: #c084fc;
border: 1.5px solid #a855f7;
box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}
body.zone-3d .back-pill:hover {
background: #a855f7;
color: #ffffff;
}
.site-footer.footer-3d {
background: #131127 !important;
border-top: 2px solid #00f0ff !important;
color: #94a3b8 !important;
margin-top: auto;
}
.footer-3d .footer-links a {
color: #c084fc !important;
font-weight: 700;
}
.mobile-bottom-nav.mnav-3d {
background: #131127 !important;
border-top: 2px solid #00f0ff !important;
box-shadow: 0 -4px 20px rgba(0, 240, 255, 0.25) !important;
}
.mnav-3d .mobile-nav-item {
color: #94a3b8 !important;
}
.mnav-3d .mobile-nav-item.active {
color: #00f0ff !important;
}
@media (max-width: 768px) {
.arcade-nav-links,
.threed-nav-links {
display: none !important;
}
}
:focus-visible {
outline: 3px solid #6366f1;
outline-offset: 2px;
}
button:focus-visible, a:focus-visible, [role="button"]:focus-visible, .seg-btn:focus-visible {
outline: 3px solid #6366f1;
outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.001ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.001ms !important;
scroll-behavior: auto !important;
}
}
