:root { --ink: #202624; --paper: #f7f3eb; --muted: #6d726e; --line: #ddd8ce; --coral: #ed7957; --lime: #f3c85b; --blue: #9fc6d3; --green: #b9dc9b; --purple: #b2a7d7; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Manrope, sans-serif; -webkit-tap-highlight-color: transparent; }
button, a { font: inherit; }
button { cursor: pointer; }
.app-shell { width: min(1180px, calc(100% - 48px)); margin: auto; }
.topbar { height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.04em; }
.update-anouncements { color: var(--muted); font: 10px 'DM Mono', monospace; font-weight: 400; letter-spacing: .04em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; background: var(--ink); color: var(--paper); border-radius: 4px; font-size: 13px; }
.topbar-actions { display: flex; align-items: center; gap: 15px; }
.status-pill { color: var(--muted); font: 11px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .08em; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #6eb35d; }
.icon-button { border: 0; background: transparent; width: 42px; height: 42px; color: var(--ink); font-size: 23px; border-radius: 50%; }
.icon-button:hover { background: #e9ebe4; }.icon-button[aria-pressed=true] { color: var(--coral); }
.hero { min-height: 480px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; }
.eyebrow { margin: 0 0 16px; color: var(--muted); font: 11px 'DM Mono', monospace; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; } h1 { margin-bottom: 22px; font-size: clamp(47px, 7vw, 86px); line-height: .96; letter-spacing: -.07em; font-weight: 800; } h1 em { color: var(--coral); font-family: 'Playfair Display', serif; font-weight: 600; letter-spacing: -.06em; }
.hero-text { max-width: 390px; margin-bottom: 30px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.primary-button { display: inline-flex; align-items: center; gap: 30px; padding: 14px 18px; border-radius: 5px; background: var(--ink); color: white; text-decoration: none; font-weight: 700; font-size: 13px; }.primary-button span { color: var(--lime); font-size: 19px; }
.hero-art { position: relative; height: 350px; overflow: hidden; }.sun-disc { position: absolute; right: 14%; top: 10%; width: 225px; height: 225px; border-radius: 50%; background: var(--lime); }.art-card { position: absolute; display: grid; place-items: center; width: 160px; height: 215px; border-radius: 6px; box-shadow: 0 22px 35px #1b2d2722; font-family: 'Playfair Display', serif; transform: rotate(11deg); }.art-card-back { right: 24%; top: 18%; background: var(--coral); color: #692d28; font-size: 80px; transform: rotate(-12deg); }.art-card-front { right: 12%; top: 22%; background: var(--ink); color: var(--lime); font-size: 64px; }.art-card-front small { color: white; font: 10px 'DM Mono', monospace; letter-spacing: .2em; }.art-spark { position: absolute; color: var(--coral); font-size: 30px; }.spark-one { top: 9%; right: 5%; }.spark-two { top: 74%; right: 22%; color: var(--ink); font-size: 35px; }.art-line { position: absolute; width: 140px; height: 1px; right: 2%; bottom: 13%; background: var(--ink); transform: rotate(-25deg); }
.games-section { padding: 32px 0 70px; }.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 27px; }.section-heading h2 { margin-bottom: 0; font-size: 32px; letter-spacing: -.06em; }.section-note { margin: 0; color: var(--muted); font-size: 13px; }.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.game-card { position: relative; min-height: 290px; border: 0; border-radius: 7px; padding: 25px; overflow: hidden; color: var(--ink); text-align: left; transition: transform .2s ease, box-shadow .2s ease; }.game-card:hover, .game-card:focus-visible { transform: translateY(-5px); box-shadow: 0 15px 25px #20342a20; outline: none; }.card-coral { background: var(--coral); }.card-lime { background: var(--lime); }.card-blue { background: var(--blue); }.card-index { font: 11px 'DM Mono', monospace; opacity: .65; }.game-card-content { position: absolute; left: 25px; bottom: 24px; display: flex; flex-direction: column; gap: 5px; }.game-card-content strong { font-size: 18px; letter-spacing: -.04em; }.game-card-content small { font-size: 12px; opacity: .7; }.play-arrow { position: absolute; right: 22px; bottom: 21px; font-size: 25px; }.game-illustration { position: absolute; top: 57px; left: 50%; transform: translateX(-50%); }.snake-art { width: 140px; height: 90px; border-bottom: 6px solid var(--ink); border-radius: 0 0 50% 50%; transform: translateX(-50%) rotate(-8deg); }.snake-art i { display: block; position: absolute; width: 38px; height: 38px; border: 5px solid var(--ink); border-radius: 50%; background: var(--coral); }.snake-art i:nth-child(1) { left: 1px; bottom: -22px; }.snake-art i:nth-child(2) { left: 33px; bottom: -8px; }.snake-art i:nth-child(3) { left: 67px; bottom: 13px; }.snake-art b { position: absolute; left: 104px; top: -12px; color: var(--ink); font-size: 34px; }.merge-art { display: flex; gap: 7px; align-items: end; }.merge-art i { display: grid; place-items: center; width: 50px; height: 50px; border: 3px solid var(--ink); background: var(--paper); border-radius: 4px; font: 22px 'DM Mono', monospace; font-style: normal; }.merge-art i:nth-child(2) { margin-bottom: 22px; background: var(--coral); }.merge-art i:nth-child(3) { margin-bottom: 43px; background: var(--blue); }.tic-art { display: grid; grid-template-columns: repeat(3, 45px); gap: 4px; border: 3px solid var(--ink); padding: 5px; transform: translateX(-50%) rotate(7deg); }.tic-art i { display: grid; place-items: center; width: 39px; height: 39px; font: 28px 'Playfair Display', serif; font-style: normal; }.tic-art i:nth-child(2) { background: var(--paper); }.footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 23px 0 30px; color: var(--muted); font: 10px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .06em; }
.game-overlay { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 18px; background: #172321d9; }.game-overlay[hidden] { display: none; }.game-modal { width: min(680px, 100%); max-height: calc(100vh - 36px); overflow: auto; padding: 24px 28px 30px; border-radius: 8px; background: var(--paper); }.modal-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }.back-button { border: 0; background: transparent; padding: 8px 0; color: var(--muted); font-weight: 700; font-size: 13px; }.back-button span { margin-right: 8px; font-size: 18px; }.modal-label { color: var(--muted); font: 10px 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }.icon-button.light { background: var(--ink); color: var(--lime); }.game-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; }.game-heading h2 { margin: 0; font-size: 36px; letter-spacing: -.07em; }.score-stack { text-align: right; }.score-stack span { display: block; color: var(--muted); font: 10px 'DM Mono', monospace; }.score-stack strong { font-size: 25px; }.game-stage { width: min(440px, 100%); margin: auto; }.game-message { min-height: 24px; margin: 17px 0 0; color: var(--coral); text-align: center; font-weight: 700; font-size: 13px; }
.board { display: grid; gap: 6px; touch-action: none; user-select: none; }.snake-board { grid-template-columns: repeat(15, 1fr); aspect-ratio: 1; padding: 6px; background: #dde5d3; border-radius: 6px; }.snake-cell { border-radius: 2px; }.snake-cell.snake { background: var(--ink); border-radius: 50%; }.snake-cell.head { background: var(--coral); }.snake-cell.food { position: relative; background: var(--coral); border-radius: 50%; }.snake-controls { display: grid; grid-template-columns: repeat(3, 60px); justify-content: center; gap: 7px; margin-top: 15px; }.control-button { min-height: 48px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--ink); font-size: 20px; font-weight: 800; }.control-button:active { background: var(--lime); }.control-up { grid-column: 2; }.control-left { grid-column: 1; grid-row: 2; }.control-down { grid-column: 2; grid-row: 2; }.control-right { grid-column: 3; grid-row: 2; }
.merge-board { grid-template-columns: repeat(4, 1fr); aspect-ratio: 1; padding: 7px; background: #d8dfc6; border-radius: 6px; }.tile { display: grid; place-items: center; border-radius: 4px; background: #e8eadf; color: var(--ink); font: 700 23px 'DM Mono', monospace; }.tile-2 { background: #fffdf6; }.tile-4 { background: #f1d7ac; }.tile-8 { background: var(--coral); color: white; }.tile-16 { background: #dd9c67; color: white; }.tile-32 { background: #cc624f; color: white; }.tile-64, .tile-128, .tile-256, .tile-512, .tile-1024, .tile-2048 { background: var(--ink); color: var(--lime); }.merge-controls { display: flex; justify-content: center; gap: 7px; margin-top: 15px; }.merge-controls .control-button { width: 60px; }.instructions { margin: 15px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
.tic-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; aspect-ratio: 1; }.tic-cell { border: 0; border-radius: 5px; background: var(--blue); color: var(--ink); font: 60px 'Playfair Display', serif; }.tic-cell:hover { background: var(--lime); }.tic-cell.x { color: var(--coral); }.tic-cell.o { color: var(--ink); }.tic-status { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
@media (max-width: 700px) { .app-shell { width: min(100% - 32px, 550px); }.topbar { height: 72px; }.status-pill { display: none; }.hero { min-height: auto; grid-template-columns: 1fr; padding: 64px 0 30px; }.hero-art { height: 225px; margin-top: -15px; }.sun-disc { width: 155px; height: 155px; right: 20%; }.art-card { width: 112px; height: 150px; }.art-card-back { right: 30%; }.art-card-front { right: 16%; }.section-heading { display: block; }.section-note { margin-top: 10px; }.game-grid { grid-template-columns: 1fr; gap: 10px; }.game-card { min-height: 220px; }.game-illustration { top: 35px; }.footer { margin-top: 10px; }.game-modal { padding: 18px 17px 25px; }.game-heading h2 { font-size: 29px; } }
@media (min-width: 701px) and (max-height: 760px) { .hero { min-height: 370px; }.games-section { padding-top: 0; } }
.game-card { border: 1px solid #cbd2ca; border-radius: 4px; }
.game-card:hover, .game-card:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 20px #20342a16; }
.card-slate { background: #b6c4c8; }
.connect-art { display: grid; grid-template-columns: repeat(4, 23px); gap: 5px; padding: 9px; background: var(--ink); border-radius: 5px; transform: translateX(-50%) rotate(-3deg); }
.connect-art i, .connect-art b { width: 23px; height: 23px; border-radius: 50%; background: var(--paper); }
.connect-art i:nth-child(1), .connect-art i:nth-child(3) { background: var(--coral); }.connect-art i:nth-child(2), .connect-art i:nth-child(4) { background: var(--blue); }
.request-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 45px; align-items: start; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }.request-panel h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.06em; }.request-note { margin: 0; color: var(--muted); font-size: 13px; }.request-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.request-form label { display: grid; gap: 7px; color: var(--muted); font: 10px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .08em; }.request-form label:nth-child(2) { grid-column: 1 / -1; }.request-form label span { text-transform: none; letter-spacing: 0; }.request-form input, .request-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 12px; background: #fffdf8; color: var(--ink); font: 14px Manrope, sans-serif; resize: vertical; }.request-form input:focus, .request-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }.submit-button { justify-self: start; border: 0; border-radius: 4px; padding: 12px 16px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; }.request-status { align-self: center; margin: 0; color: #5c7d5f; font-size: 12px; }
.owner-button { position: fixed; right: 18px; bottom: 18px; z-index: 3; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--muted); font-size: 18px; }.owner-overlay { position: fixed; z-index: 12; inset: 0; display: grid; place-items: center; padding: 18px; background: #202624d9; }.owner-overlay[hidden] { display: none; }.owner-modal { width: min(620px, 100%); max-height: calc(100vh - 36px); overflow: auto; padding: 24px 28px 30px; border-radius: 6px; background: var(--paper); }.owner-modal h2 { margin: 0 0 20px; font-size: 34px; letter-spacing: -.06em; }.request-list { display: grid; gap: 10px; }.request-item { padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: #fffdf8; }.request-item strong { display: block; margin-bottom: 5px; }.request-item p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }.request-item time { color: var(--muted); font: 10px 'DM Mono', monospace; }.empty-requests { color: var(--muted); font-size: 13px; }
.connect-board { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 10px; border-radius: 6px; background: #416a7b; }.connect-cell { aspect-ratio: 1; min-width: 0; border: 0; border-radius: 50%; background: #e6e0d4; box-shadow: inset 0 0 0 2px #345868; }.connect-cell.r { background: var(--coral); }.connect-cell.y { background: var(--blue); }.connect-cell:hover { filter: brightness(1.08); }
.card-darts { background: #d6c6df; }.darts-art { display: grid; place-items: center; width: 92px; height: 92px; border: 8px solid var(--ink); border-radius: 50%; background: var(--coral); transform: translateX(-50%) rotate(8deg); }.darts-art i { position: absolute; width: 52px; height: 52px; border: 5px solid var(--paper); border-radius: 50%; }.darts-art b { color: var(--paper); font-size: 24px; }.darts-target { position: relative; display: block; width: 100%; height: 150px; margin: 45px auto 22px; border: 0; border-radius: 6px; overflow: hidden; background: #e8e0d3; box-shadow: inset 0 0 0 2px #cfc2b0; }.darts-zone { position: absolute; left: 42%; top: 0; width: 16%; height: 100%; background: var(--coral); box-shadow: inset 0 0 0 2px #c65b3d; }.darts-marker { position: absolute; top: 8px; bottom: 8px; width: 5px; margin-left: -2px; border-radius: 3px; background: var(--ink); box-shadow: 0 0 0 3px #ffffff66; }.darts-target:active { transform: scale(.99); }
.darts-target { width: min(100%, 390px); height: min(72vw, 390px); margin: 25px auto 18px; border-radius: 50%; background: #d9e5e5; box-shadow: inset 0 0 0 10px #416a7b, inset 0 0 0 12px #f7f3eb; overflow: hidden; }.darts-ring { position: absolute; border-radius: 50%; pointer-events: none; }.darts-ring-outer { inset: 8%; border: 2px solid #416a7b; }.darts-ring-middle { inset: 26%; border: 2px solid #ed7957; }.darts-ring-center { inset: 42%; background: #ed7957; border: 3px solid #202624; }.darts-crosshair { position: absolute; z-index: 2; pointer-events: none; background: #202624; opacity: .8; }.darts-vertical { top: 8%; bottom: 8%; width: 3px; margin-left: -1px; }.darts-horizontal { left: 8%; right: 8%; height: 3px; margin-top: -1px; }.darts-dart { position: absolute; z-index: 3; left: 50%; top: 50%; color: #202624; font-size: 24px; transform: translate(-50%, -50%); opacity: 0; }.darts-dart.dart-thrown { opacity: 1; animation: dart-hit .18s ease-out; }.darts-target:active { transform: scale(.985); } @keyframes dart-hit { from { transform: translate(-50%, -50%) scale(1.6); } to { transform: translate(-50%, -50%) scale(1); } }
.darts-aim { position: absolute; z-index: 4; width: 24px; height: 24px; margin: -12px 0 0 -12px; border: 3px solid var(--ink); border-radius: 50%; background: #ffffff99; box-shadow: 0 0 0 4px #ed795766; pointer-events: none; }.darts-dart { opacity: 0; font-size: 30px; color: var(--ink); transform: translate(150px, 150px) rotate(40deg) scale(1.5); }.darts-dart.dart-thrown { opacity: 1; animation: dart-fly .5s cubic-bezier(.2,.8,.25,1) forwards; } @keyframes dart-fly { from { transform: translate(150px, 150px) rotate(40deg) scale(1.5); opacity: 0; } 65% { opacity: 1; } to { transform: translate(-50%, -50%) rotate(-18deg) scale(1); opacity: 1; } }
.darts-crosshair { display: none; }
.darts-aim { width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 0; background: transparent; box-shadow: none; }
.darts-aim::before, .darts-aim::after { content: ''; position: absolute; left: 13px; top: 0; width: 4px; height: 30px; border-radius: 2px; background: var(--ink); }
.darts-aim::before { transform: rotate(45deg); }.darts-aim::after { transform: rotate(-45deg); }
.darts-dart { font-size: 0; width: 30px; height: 30px; }.darts-dart::before, .darts-dart::after { content: ''; position: absolute; left: 13px; top: 0; width: 4px; height: 30px; border-radius: 2px; background: var(--coral); }.darts-dart::before { transform: rotate(45deg); }.darts-dart::after { transform: rotate(-45deg); }
.darts-aim { width: 24px; height: 24px; margin: -12px 0 0 -12px; border: 3px solid var(--ink); border-radius: 50%; background: #ffffff99; box-shadow: 0 0 0 4px #ed795766; }
.darts-aim::before, .darts-aim::after { display: none; }.darts-dart::before, .darts-dart::after { background: #202624; }
.darts-dart.dart-thrown { opacity: 1 !important; animation-fill-mode: both; }
.darts-target { background: repeating-conic-gradient(from -9deg, #202624 0deg 9deg, #efe5d2 9deg 18deg); }
.darts-ring-double { border-color: #ed7957; }.darts-ring-triple { border-color: #4c8b73; }.darts-ring-center { background: #ed7957; }.darts-label-double { color: #ed7957; }.darts-label-triple { color: #4c8b73; }
.darts-options { display: flex; justify-content: center; margin: 4px auto 10px; }.darts-options label { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 10px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .06em; }.darts-options select { border: 1px solid var(--line); border-radius: 4px; padding: 8px 24px 8px 8px; background: #fffdf8; color: var(--ink); font: 12px Manrope, sans-serif; }
.darts-target { background: conic-gradient(#202624 0deg 9deg, #efe5d2 9deg 18deg, #ed7957 18deg 27deg, #efe5d2 27deg 36deg, #202624 36deg 45deg, #efe5d2 45deg 54deg, #ed7957 54deg 63deg, #efe5d2 63deg 72deg, #202624 72deg 81deg, #efe5d2 81deg 90deg, #ed7957 90deg 99deg, #efe5d2 99deg 108deg, #202624 108deg 117deg, #efe5d2 117deg 126deg, #ed7957 126deg 135deg, #efe5d2 135deg 144deg, #202624 144deg 153deg, #efe5d2 153deg 162deg, #ed7957 162deg 171deg, #efe5d2 171deg 180deg, #202624 180deg 189deg, #efe5d2 189deg 198deg, #ed7957 198deg 207deg, #efe5d2 207deg 216deg, #202624 216deg 225deg, #efe5d2 225deg 234deg, #ed7957 234deg 243deg, #efe5d2 243deg 252deg, #202624 252deg 261deg, #efe5d2 261deg 270deg, #ed7957 270deg 279deg, #efe5d2 279deg 288deg, #202624 288deg 297deg, #efe5d2 297deg 306deg, #ed7957 306deg 315deg, #efe5d2 315deg 324deg, #202624 324deg 333deg, #efe5d2 333deg 342deg, #ed7957 342deg 351deg, #efe5d2 351deg 360deg); }
.darts-ring-double { inset: 10%; border: 6px solid var(--coral); }.darts-ring-triple { inset: 31%; border: 6px solid var(--coral); }.darts-ring-middle { inset: 22%; border: 2px solid #efe5d2; }.darts-label { position: absolute; z-index: 2; color: var(--paper); font: 700 11px 'DM Mono', monospace; }.darts-label-double { top: 8%; left: 50%; transform: translateX(-50%); }.darts-label-triple { top: 29%; left: 50%; transform: translateX(-50%); }
.card-reaction { background: #f0c5a8; }.reaction-art { display: grid; place-items: center; width: 78px; height: 78px; border: 5px solid var(--ink); border-radius: 50%; color: var(--ink); font-size: 46px; font-weight: 800; }.card-memory { background: #b9d5cf; }.memory-art { display: grid; grid-template-columns: repeat(2, 34px); gap: 6px; padding: 7px; background: var(--ink); border-radius: 5px; transform: translateX(-50%) rotate(-5deg); }.memory-art i { width: 34px; height: 34px; border-radius: 3px; background: var(--paper); }.memory-art i:nth-child(2), .memory-art i:nth-child(3) { background: var(--coral); }.reaction-target { display: block; width: min(100%, 300px); aspect-ratio: 1; margin: 35px auto 22px; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 30px; font-weight: 800; }.reaction-target.waiting { background: #b7c2c0; color: var(--ink); }.reaction-target.ready { background: #ed7957; }.reaction-target.ended { background: #f3c85b; color: var(--ink); }.memory-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; width: min(100%, 420px); margin: 25px auto 18px; }.memory-card { aspect-ratio: 1; border: 1px solid #b7c5bf; border-radius: 4px; background: #e9e4d9; color: var(--ink); font-size: 25px; font-weight: 800; }.memory-card.matched { background: var(--blue); }.memory-card:active { transform: scale(.96); }.memory-card.memory-coral { background: #ed7957; }.memory-card.memory-blue { background: #9fc6d3; }.memory-card.memory-lime { background: #f3c85b; }.memory-card.memory-purple { background: #b2a7d7; }.memory-card.memory-orange { background: #e5a15f; }.memory-card.memory-teal { background: #63aaa7; }.memory-card.memory-pink { background: #d99ab0; }.memory-card.memory-slate { background: #879ca6; }.memory-card:not(.memory-coral):not(.memory-blue):not(.memory-lime):not(.memory-purple):not(.memory-orange):not(.memory-teal):not(.memory-pink):not(.memory-slate) { background: #e9e4d9; }.memory-card:not(.matched) { color: transparent; }
.memory-card { transition: transform .2s ease, background-color .2s ease; transform-style: preserve-3d; }.memory-card.memory-hidden { background: var(--ink); color: var(--paper); }.memory-card.memory-hidden:active { transform: rotateY(12deg) scale(.96); }
.memory-card.memory-hidden { background: #202624 !important; color: #f7f3eb !important; }
.memory-options { display: flex; justify-content: center; gap: 10px; margin: 5px auto 12px; }.memory-options label { display: flex; align-items: center; gap: 7px; color: var(--muted); font: 10px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .06em; }.memory-options select { border: 1px solid var(--line); border-radius: 4px; padding: 8px 26px 8px 9px; background: #fffdf8; color: var(--ink); font: 12px Manrope, sans-serif; }.memory-options select:focus { outline: 2px solid var(--blue); outline-offset: 1px; }.memory-board:has(.memory-card:nth-child(36)) .memory-card { font-size: 18px; }
@media (max-width: 700px) { .request-panel { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }.request-form { grid-template-columns: 1fr; }.request-form label:nth-child(2) { grid-column: auto; }.owner-modal { padding: 18px 17px 25px; } }
.darts-target { background: repeating-conic-gradient(from -9deg, #202624 0deg 9deg, #efe5d2 9deg 18deg); }.darts-ring-double { border-color: #ed7957; }.darts-ring-triple { border-color: #4c8b73; }.darts-ring-center { background: #ed7957; }.darts-label-double { color: #ed7957; }.darts-label-triple { color: #4c8b73; }
.card-block { background: #c8c2e1; }.block-art { position: relative; width: 78px; height: 56px; background: #202624; border-radius: 4px; }.block-art i { position: absolute; width: 22px; height: 22px; background: var(--coral); border-radius: 2px; }.block-art i:nth-child(1) { left: 7px; top: 7px; }.block-art i:nth-child(2) { left: 31px; top: 7px; background: var(--blue); }.block-art i:nth-child(3) { left: 31px; top: 31px; background: var(--lime); }.block-art i:nth-child(4) { left: 55px; top: 31px; background: var(--coral); }.card-mine { background: #bdc9d0; }.mine-art { display: grid; place-items: center; width: 76px; height: 76px; border: 4px solid var(--ink); border-radius: 50%; color: var(--coral); font-size: 52px; }.card-fruit { background: #f0c6a4; }.fruit-art { display: flex; align-items: center; gap: 5px; color: var(--ink); font-size: 35px; }.fruit-art i { font-style: normal; color: var(--coral); }.fruit-art i:nth-child(2) { color: var(--lime); }.fruit-art b { font-size: 24px; }.block-board { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; width: min(100%, 400px); margin: 15px auto; padding: 6px; border-radius: 5px; background: #d8d2e9; }.block-cell { aspect-ratio: 1; min-width: 0; border: 0; border-radius: 2px; background: #eeeaf5; }.block-cell.coral { background: var(--coral); }.block-cell.blue { background: var(--blue); }.block-cell.lime { background: var(--lime); }.block-cell.purple { background: var(--purple); }.block-tray { display: flex; justify-content: center; gap: 10px; margin: 15px 0; }.block-piece { position: relative; width: 86px; height: 72px; border: 1px solid var(--line); border-radius: 5px; background: #fffdf8; }.block-piece.selected { outline: 3px solid var(--ink); }.block-piece i { position: absolute; width: 20px; height: 20px; border-radius: 2px; }.piece-coral { background: var(--coral); }.piece-blue { background: var(--blue); }.piece-lime { background: var(--lime); }.piece-purple { background: var(--purple); }.mine-controls { display: flex; justify-content: center; margin: 8px 0; }.mine-controls .control-button { min-height: 38px; padding: 7px 12px; font-size: 12px; }.mine-board { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; width: min(100%, 405px); margin: 16px auto; padding: 5px; border-radius: 4px; background: #8e9ca3; }.mine-cell { aspect-ratio: 1; min-width: 0; border: 1px solid #84929a; border-radius: 2px; background: #dce4e6; color: #315b83; font-size: 15px; font-weight: 800; }.mine-cell:active, .mine-cell.mine { background: var(--coral); color: var(--ink); }.fruit-board { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; width: min(100%, 390px); margin: 20px auto; padding: 6px; border-radius: 5px; background: #c8d8da; }.fruit-cell { aspect-ratio: 1; min-width: 0; border: 0; border-radius: 4px; background: #eaf0eb; color: var(--ink); font-size: clamp(18px, 5vw, 30px); }.fruit-cell:active { transform: scale(.95); }
.snake-canvas { display: block; width: 100%; aspect-ratio: 1; padding: 0; border-radius: 6px; touch-action: none; }
.snake-board { background: #efe5d2; }
body.halloween-mode { --ink: #2b1933; --paper: #fff3e3; --muted: #746477; --line: #dfc8d3; --coral: #f07824; --lime: #b9ce58; --blue: #ad83b7; --green: #a5bf61; --purple: #80529a; }
.theme-toggle { display: grid; place-items: center; overflow: hidden; padding: 4px; border: 1px solid var(--line); }
.theme-toggle img { display: block; width: 100%; height: 100%; object-fit: contain; }
.theme-toggle[aria-pressed=true] { background: var(--lime); }
body.halloween-mode .icon-button:hover { background: #eedfed; }
body.halloween-mode .control-button, body.halloween-mode .request-form input, body.halloween-mode .request-form textarea, body.halloween-mode .mine-level select, body.halloween-mode .request-item { background: #fff9ef; }
body.halloween-mode .snake-board { background: #d4dfad; }
body.halloween-mode .merge-board { background: #e6d2a9; }
body.halloween-mode .connect-board { background: #80529a; }
body.halloween-mode .connect-cell { background: #fff3e3; }
body.halloween-mode .connect-cell.r { background: #f07824; }
body.halloween-mode .connect-cell.y { background: #b9ce58; }
.block-piece.selected { box-shadow: 0 0 0 3px var(--ink); transform: translateY(-2px); }.block-piece:active { transform: scale(.96); }.mine-cell.covered { background: #9eabb1; color: transparent; box-shadow: inset 0 0 0 2px #bac5c9; }.mine-cell.covered:active { background: #cbd5d7; }.mine-cell.revealed { background: #eef2ed; }.mine-cell.mine { background: var(--coral); color: var(--ink); }.fruit-cell { box-shadow: inset 0 0 0 1px #d2ded8; }
.block-cell.preview { background: #6da78f; }.block-cell.invalid { background: #d98a78; }
.mine-cell.covered { color: var(--ink) !important; }.mine-cell.covered:has(+ .flagged) { color: var(--ink); }

/* Keep the block game comfortably inside a narrow phone modal. */
.block-board { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(2px, 1vw, 4px); padding: clamp(4px, 1.5vw, 6px); touch-action: none; }
.block-tray { gap: clamp(6px, 3vw, 10px); }
.block-piece { flex: 1 1 0; width: min(86px, 27vw); max-width: 86px; height: clamp(62px, 18vw, 72px); touch-action: none; }
.block-piece i { width: clamp(16px, 5vw, 20px); height: clamp(16px, 5vw, 20px); }
@media (max-width: 420px) {
	.game-modal { padding-inline: 12px; }
	.game-heading { margin-bottom: 12px; }
	.game-stage { width: 100%; }
}
.card-chess { background: #bed6c8; }
.card-pong { background: #9fc6d3; }
.pong-art { position: relative; width: 110px; height: 88px; border: 2px solid var(--ink); background: #c5e0dc; }
.pong-art::after { position: absolute; top: 12px; right: 8px; left: 8px; border-top: 2px dashed #20262477; content: ''; }
.pong-art i { position: absolute; bottom: 8px; left: 50%; width: 42px; height: 7px; background: var(--ink); transform: translateX(-50%); }
.pong-art em { position: absolute; top: 31px; left: 56px; width: 11px; height: 11px; border-radius: 50%; background: var(--lime); }
body:not(.chess-only-view) .game-card[data-game="chess"] { display: none; }
body:not(.chess-only-view) .game-card[data-game="pong"] { display: none; }
body.chess-only-view .game-card:not([data-game="chess"]):not([data-game="pong"]) { display: none; }
.chess-return-button { display: none; align-items: center; gap: 10px; width: max-content; min-height: 42px; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 4px; padding: 0 13px; color: var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; }
.chess-return-button span { color: var(--coral); font-size: 18px; }
.chess-return-button:hover { background: var(--lime); }
.chess-return-button:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
body.chess-only-view .chess-return-button { display: inline-flex; }
.chess-art { display: grid; place-items: center; width: 96px; height: 96px; color: var(--ink); font: 82px Georgia, serif; }
.chess-board { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); width: min(100%, 440px); aspect-ratio: 1; margin: 0 auto; overflow: hidden; border: 3px solid var(--ink); border-radius: 4px; }
.chess-square { position: relative; display: grid; place-items: center; min-width: 0; border: 0; padding: 0; font: clamp(24px, 7vw, 48px) Georgia, serif; line-height: 1; }
.chess-square.light { background: #f0e7d6; }
.chess-square.dark { background: #6b8b78; }
.chess-square.white-piece { color: #fffdf8; text-shadow: 0 1px 2px #202624, 1px 0 1px #202624, -1px 0 1px #202624; }
.chess-square.black-piece { color: #202624; text-shadow: 0 1px 1px #ffffff88; }
.chess-square.selected { box-shadow: inset 0 0 0 4px var(--coral); }
.chess-square.legal-target::after { position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #20262455; content: ''; }
.chess-square.capture-target::after { position: absolute; inset: 4px; border: 4px solid #ed7957bb; border-radius: 50%; content: ''; }
.chess-square:focus-visible { z-index: 1; outline: 3px solid var(--lime); outline-offset: -3px; }
body.halloween-mode .card-chess { background: #a5bf61; }
body.halloween-mode .chess-square.light { background: #f0e1cb; }
body.halloween-mode .chess-square.dark { background: #78984a; }
body.halloween-mode .chess-square.selected { box-shadow: inset 0 0 0 4px var(--coral); }
.mine-level { display: inline-flex; align-items: center; gap: 7px; margin-right: 6px; color: var(--muted); font: 10px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .05em; }.mine-level select { border: 1px solid var(--line); border-radius: 4px; padding: 7px 20px 7px 7px; background: #fffdf8; color: var(--ink); font: 12px Manrope, sans-serif; }.mine-controls .control-button.active { background: var(--lime); }
.support-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 20px 0 32px; border-top: 1px solid var(--line); }.support-panel h2 { margin: 0; font-size: 22px; letter-spacing: -.05em; }.support-panel .eyebrow { margin-bottom: 8px; }.support-link { display: inline-flex; align-items: center; gap: 18px; padding: 11px 14px; border-radius: 4px; background: #f3c85b; color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; }.support-link span { font-size: 20px; }.support-link:hover { background: #edb93f; }
@media (max-width: 700px) { .support-panel { display: grid; gap: 12px; } }
.bug-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 20px 0 32px; border-top: 1px solid var(--line); }.bug-panel h2 { margin: 0; font-size: 22px; letter-spacing: -.05em; }.bug-panel .eyebrow { margin-bottom: 8px; }.request-link { display: inline-flex; align-items: center; gap: 18px; color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; }.request-link span { color: var(--coral); font-size: 20px; }.request-link:hover { text-decoration: underline; }
@media (max-width: 700px) { .bug-panel { display: grid; gap: 12px; } }
.merge-board { background: #e7dfcf; }
.tile { background: #ede9df; }
.tile-4 { background: #f0c987; }
.tile-16 { background: #df965f; }
.tile-32 { background: #c96851; }
.merge-board .tile { border: 2px solid #c8bead; background: #d9d0c1; font-size: 24px; }
.merge-board .tile-2 { background: #fffdf6; border-color: #b9ad99; }
.merge-board .tile-4 { background: #f0c255; border-color: #d3a93e; }
.merge-board .tile-8 { background: #e56e4e; border-color: #c95236; color: #fff; }
.merge-board .tile-16 { background: #cc5d3e; border-color: #a9442f; color: #fff; }
.merge-board .tile-32 { background: #a84432; border-color: #883225; color: #fff; }
.merge-board .tile-64, .merge-board .tile-128, .merge-board .tile-256, .merge-board .tile-512, .merge-board .tile-1024, .merge-board .tile-2048 { background: var(--ink); border-color: var(--ink); color: var(--lime); }

body.halloween-mode {
	background: #ef7624;
	--ink: #2b1833;
	--paper: #fff4e4;
	--muted: #756174;
	--line: #d8bfd0;
	--coral: #ef7624;
	--lime: #bfd158;
	--blue: #aa7abc;
	--green: #78984a;
	--purple: #6a3678;
	--surface: #fffaf1;
	--surface-alt: #f0e1cb;
	--board: #e2d1b1;
	--deep: #43274b;
	--snake-board: #e2d1b1;
	--snake-grid: #c9ad85;
	--snake-body: #593e50;
}

:root {
	--snake-board: #efe5d2;
	--snake-grid: #d9cdb7;
	--snake-body: #43514c;
}

.theme-toggle,
.theme-toggle:hover,
.theme-toggle[aria-pressed=true] {
	width: 50px;
	height: 54px;
	flex: 0 0 50px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}
.theme-toggle img { width: 100%; height: 100%; object-fit: contain; }
.theme-toggle:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

body.halloween-mode .icon-button:hover { background: #f1dfd8; }
body.halloween-mode .game-card { border-color: var(--line); }
body.halloween-mode .card-slate,
body.halloween-mode .card-memory { background: #91a64e; }
body.halloween-mode .card-darts,
body.halloween-mode .card-block { background: #aa7abc; }
body.halloween-mode .card-reaction,
body.halloween-mode .card-fruit { background: #e7a13a; }
body.halloween-mode .card-mine { background: #78984a; }
body.halloween-mode .art-card-back { color: var(--ink); }
body.halloween-mode .art-card-front small { color: var(--paper); }
body.halloween-mode .art-card { box-shadow: 0 22px 35px #30173533; }
body.halloween-mode .primary-button { color: var(--paper); }
body.halloween-mode .game-overlay,
body.halloween-mode .owner-overlay { background: #2b1833e8; }
body.halloween-mode .control-button,
body.halloween-mode .request-form input,
body.halloween-mode .request-form textarea,
body.halloween-mode .request-item,
body.halloween-mode .darts-options select,
body.halloween-mode .memory-options select,
body.halloween-mode .mine-level select,
body.halloween-mode .block-piece {
	border-color: var(--line);
	background: var(--surface);
	color: var(--ink);
}
body.halloween-mode .control-button:active,
body.halloween-mode .mine-controls .control-button.active { background: var(--lime); }
body.halloween-mode .snake-board,
body.halloween-mode .merge-board,
body.halloween-mode .block-board { background: var(--board); }
body.halloween-mode .tile,
body.halloween-mode .merge-board .tile { border-color: #c6a783; background: var(--surface-alt); color: var(--ink); }
body.halloween-mode .merge-board .tile-2 { border-color: var(--line); background: var(--surface); }
body.halloween-mode .merge-board .tile-4 { border-color: #a6b849; background: var(--lime); }
body.halloween-mode .merge-board .tile-8 { border-color: #d95e1e; background: var(--coral); color: var(--paper); }
body.halloween-mode .merge-board .tile-16 { border-color: #a94f22; background: #d96527; color: var(--paper); }
body.halloween-mode .merge-board .tile-32 { border-color: #713543; background: #914352; color: var(--paper); }
body.halloween-mode .merge-board .tile-64,
body.halloween-mode .merge-board .tile-128,
body.halloween-mode .merge-board .tile-256,
body.halloween-mode .merge-board .tile-512,
body.halloween-mode .merge-board .tile-1024,
body.halloween-mode .merge-board .tile-2048 { border-color: var(--deep); background: var(--deep); color: var(--lime); }
body.halloween-mode .tic-cell { background: var(--blue); }
body.halloween-mode .tic-cell:hover { background: var(--lime); }
body.halloween-mode .connect-board { background: var(--deep); }
body.halloween-mode .connect-cell { background: var(--surface-alt); box-shadow: inset 0 0 0 2px var(--deep); }
body.halloween-mode .connect-cell.r { background: var(--coral); }
body.halloween-mode .connect-cell.y { background: var(--lime); }
body.halloween-mode .request-status { color: var(--green); }
body.halloween-mode .support-link { background: var(--lime); color: var(--ink); }
body.halloween-mode .support-link:hover { background: #a9bd45; }
body.halloween-mode .owner-button { border-color: var(--line); background: var(--surface); color: var(--muted); }
body.halloween-mode .reaction-target.waiting { background: #82918b; color: var(--ink); }
body.halloween-mode .reaction-target.ready { background: var(--coral); }
body.halloween-mode .reaction-target.ended { background: var(--lime); color: var(--ink); }
body.halloween-mode .memory-card { border-color: var(--line); background: var(--surface-alt); }
body.halloween-mode .memory-card.memory-hidden { background: var(--deep) !important; color: var(--paper) !important; }
body.halloween-mode .block-cell { background: #f4e7d3; }
body.halloween-mode .block-cell.coral { background: var(--coral); }
body.halloween-mode .block-cell.blue { background: var(--blue); }
body.halloween-mode .block-cell.lime { background: var(--lime); }
body.halloween-mode .block-cell.purple { background: var(--purple); }
body.halloween-mode .block-cell.preview { background: var(--green); }
body.halloween-mode .block-cell.invalid { background: #bb5048; }
body.halloween-mode .block-cell.preview:not(.invalid).coral { background: var(--coral); }
body.halloween-mode .block-cell.preview:not(.invalid).blue { background: var(--blue); }
body.halloween-mode .block-cell.preview:not(.invalid).lime { background: var(--lime); }
body.halloween-mode .block-cell.preview:not(.invalid).purple { background: var(--purple); }
body.halloween-mode .block-cell.coral,
body.halloween-mode .block-cell.blue,
body.halloween-mode .block-cell.lime,
body.halloween-mode .block-cell.purple { box-shadow: inset 0 0 0 2px #2b1833, 0 0 0 1px #2b1833; }
body.halloween-mode .mine-board { background: #8a7049; }
body.halloween-mode .mine-cell { border-color: #a88f68; background: #e9dcc6; color: #5d4774; }
body.halloween-mode .mine-cell.covered { background: #c6ad83; box-shadow: inset 0 0 0 2px #aa9068; }
body.halloween-mode .mine-cell.covered:active { background: #dfc69a; }
body.halloween-mode .mine-cell.revealed { background: var(--surface); }
body.halloween-mode .mine-cell.mine { background: var(--coral); color: var(--ink); }
body.halloween-mode .fruit-board { background: #a6b285; }
body.halloween-mode .fruit-cell { background: var(--surface); box-shadow: inset 0 0 0 1px #a6b285; }
body.halloween-mode .darts-target {
	background: repeating-conic-gradient(var(--deep) 0deg 9deg, var(--paper) 9deg 18deg, var(--coral) 18deg 27deg, var(--paper) 27deg 36deg);
	box-shadow: inset 0 0 0 10px var(--deep), inset 0 0 0 12px var(--paper);
}
body.halloween-mode .darts-ring-outer,
body.halloween-mode .darts-ring-double,
body.halloween-mode .darts-ring-triple { border-color: var(--lime); }
body.halloween-mode .darts-ring-middle { border-color: var(--paper); }
body.halloween-mode .darts-ring-center { border-color: var(--deep); background: var(--coral); }
body.halloween-mode .darts-label-double,
body.halloween-mode .darts-label-triple { color: var(--paper); }
body.halloween-mode .darts-aim { box-shadow: 0 0 0 4px #bfd15866; }
body.halloween-mode .darts-aim::before,
body.halloween-mode .darts-aim::after { background: #000; }
body.halloween-mode .darts-dart::before,
body.halloween-mode .darts-dart::after { background: var(--coral); }

.owner-login-form { display: grid; gap: 9px; }
.owner-login-form label { margin-top: 5px; color: var(--muted); font: 10px 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.owner-login-form input { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; background: #fffdf8; color: var(--ink); font: 14px Manrope, sans-serif; }
.owner-login-form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.owner-login-form .submit-button { margin-top: 10px; }
.owner-login-status { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
body.halloween-mode .owner-login-form input { border-color: var(--line); background: var(--surface); color: var(--ink); }

.card-clicker { background: #efd39a; }
.card-dash { background: #b9dc9b; }
.dash-art { display: flex; align-items: end; justify-content: center; gap: 5px; width: 76px; height: 54px; padding-bottom: 6px; border-bottom: 4px solid var(--ink); }
.dash-art i { display: block; width: 25px; height: 29px; border-radius: 8px 8px 5px 5px; background: var(--ink); transform: rotate(-8deg); }
.dash-art b { display: block; width: 13px; height: 24px; border-radius: 4px 6px 2px 2px; background: var(--coral); transform: skew(-8deg); }
.dash-canvas { display: block; width: 100%; height: 190px; border: 1px solid var(--line); border-radius: 5px; touch-action: manipulation; user-select: none; }
.dash-instructions { margin: 8px 0 0; }
body.halloween-mode .card-dash { background: #b9ce58; }
.card-checkers { background: #c6bdd8; }
.checkers-art { display: grid; grid-template-columns: repeat(2, 24px); align-content: center; justify-content: center; gap: 7px; width: 76px; height: 60px; padding: 7px; border-radius: 4px; background: var(--ink); transform: translateX(-50%) rotate(-5deg); }
.checkers-art i, .checkers-art b { width: 24px; height: 24px; border: 3px solid var(--paper); border-radius: 50%; background: var(--coral); }
.checkers-art b { background: var(--paper); }
.checkers-board { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); width: min(100%, 440px); aspect-ratio: 1; margin: 0 auto; overflow: hidden; border: 3px solid var(--ink); border-radius: 4px; }
.checkers-square { display: grid; place-items: center; min-width: 0; min-height: 0; aspect-ratio: 1; padding: 0; border: 0; border-radius: 0; }
.checkers-square.light { background: #eee7d9; }
.checkers-square.dark { background: #71616e; }
.checkers-square.dark:hover { filter: brightness(1.12); }
.checkers-square.selected { box-shadow: inset 0 0 0 4px var(--lime); }
.checkers-square.destination { box-shadow: inset 0 0 0 4px var(--green); }
.checkers-square.destination::after { content: ''; width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--green); }
.checkers-piece { display: grid; place-items: center; width: 76%; aspect-ratio: 1; border: 3px solid #342a32; border-radius: 50%; box-shadow: inset 0 -4px 0 #0003, 0 1px 2px #0004; font-size: clamp(12px, 4vw, 23px); line-height: 1; }
.checkers-piece.player-1 { background: var(--coral); color: #2b1833; }
.checkers-piece.player-2 { background: #f7f3eb; color: #2b1833; }
.checkers-piece.king { border-color: var(--lime); box-shadow: inset 0 -4px 0 #0003, 0 0 0 2px var(--lime); }
.checkers-status { margin: 0 0 10px; color: var(--ink); text-align: center; font-size: 13px; font-weight: 800; }
.checkers-status.player-1 { color: var(--coral); }
.checkers-status.player-2 { color: var(--purple); }
body.halloween-mode .card-checkers { background: #ad83b7; }
body.halloween-mode .checkers-square.light { background: #fff3e3; }
body.halloween-mode .checkers-square.dark { background: #43274b; }
body.halloween-mode .checkers-square.destination { box-shadow: inset 0 0 0 4px #b9ce58; }
body.halloween-mode .checkers-square.destination::after { background: #b9ce58; }
body.halloween-mode .checkers-piece.player-1 { background: #ef7624; }
body.halloween-mode .checkers-piece.player-2 { background: #fffaf1; }
.clicker-art { display: grid; place-items: center; width: 80px; height: 80px; border: 5px solid var(--ink); border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 54px; line-height: 1; }
.clicker-game { display: grid; gap: 15px; }
.clicker-stats { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
.clicker-stats div { display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface, #fffdf8); }
.clicker-stats span { color: var(--muted); font: 9px 'DM Mono', monospace; letter-spacing: .07em; }
.clicker-stats strong { overflow: hidden; color: var(--ink); font: 700 19px 'DM Mono', monospace; text-overflow: ellipsis; }
.clicker-target { display: grid; place-items: center; gap: 3px; width: min(100%, 230px); aspect-ratio: 1; justify-self: center; border: 3px solid var(--ink); border-radius: 50%; background: var(--lime); color: var(--ink); box-shadow: 0 8px 0 color-mix(in srgb, var(--ink) 22%, transparent); touch-action: manipulation; user-select: none; }
.clicker-target span { font-size: 92px; line-height: 1; filter: drop-shadow(0 5px 1px #2b183333); }
.clicker-target small { color: var(--ink); font-size: 12px; font-weight: 800; }
.clicker-target:hover { transform: translateY(-2px); }
.clicker-target:active { transform: translateY(5px) scale(.97); box-shadow: 0 2px 0 color-mix(in srgb, var(--ink) 22%, transparent); }
.clicker-shop { display: grid; gap: 8px; }
.clicker-shop h3 { margin: 0; color: var(--muted); font: 10px 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.clicker-upgrade { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface, #fffdf8); color: var(--ink); text-align: left; }
.clicker-upgrade:disabled { opacity: .55; cursor: not-allowed; }
.clicker-upgrade:not(:disabled):hover { border-color: var(--coral); background: var(--surface-alt, #f0e1cb); }
.upgrade-symbol { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 22px; font-weight: 800; }
.upgrade-copy { display: grid; gap: 4px; min-width: 0; }
.upgrade-copy strong { font-size: 13px; }
.upgrade-copy small, .upgrade-cost small { color: var(--muted); font-size: 10px; }
.upgrade-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upgrade-copy b { color: var(--ink); }
.upgrade-cost { display: grid; justify-items: end; gap: 3px; white-space: nowrap; }
.upgrade-cost b { font: 700 13px 'DM Mono', monospace; }
.clicker-total { margin: 0; color: var(--muted); text-align: center; font-size: 11px; }
.clicker-achievements { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.clicker-achievements h3 { margin: 0; color: var(--muted); font: 10px 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.achievement-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.clicker-achievement { display: grid; align-content: start; gap: 5px; min-width: 0; min-height: 54px; padding: 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-alt, #f0e1cb); opacity: .58; }
.clicker-achievement b { overflow: hidden; color: var(--ink); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.clicker-achievement span { color: var(--muted); font-size: 9px; line-height: 1.3; }
.clicker-achievement.earned { border-color: var(--green); background: color-mix(in srgb, var(--green) 22%, var(--surface, #fffdf8)); opacity: 1; }
body.halloween-mode .card-clicker { background: #ef7624; }
body.halloween-mode .clicker-target { border-color: var(--deep); background: var(--lime); }
body.halloween-mode .clicker-art { border-color: var(--deep); }
body.halloween-mode .clicker-upgrade,
body.halloween-mode .clicker-upgrade:disabled { border-color: #ddd8ce; background: #f7f3eb; color: #202624; }
body.halloween-mode .clicker-upgrade:not(:disabled):hover { border-color: #9fc6d3; background: #e9f0ef; }
body.halloween-mode .upgrade-symbol { background: #9fc6d3; color: #202624; }
body.halloween-mode .clicker-achievement { border-color: #ddd8ce; background: #f0ece3; }
body.halloween-mode .clicker-achievement.earned { border-color: #9fc6d3; background: #e9f0ef; }
body.halloween-mode .block-cell.coral,
body.halloween-mode .block-cell.blue,
body.halloween-mode .block-cell.lime,
body.halloween-mode .block-cell.purple { box-shadow: inset 0 0 0 2px #2b1833, 0 0 0 1px #2b1833; }

@media (max-width: 700px) {
	.brand .update-anouncements { display: none; }
	.topbar-actions { gap: 8px; }
}

.owner-tools { display: flex; align-items: center; gap: 16px; }
.owner-heading { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: 0; }
.owner-hack-button { min-width: 88px; min-height: 40px; border: 0; border-radius: 4px; padding: 0 14px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 800; }
.owner-hack-button:hover { background: #34423d; }
.owner-hack-button[aria-pressed="true"] { background: var(--coral); color: var(--ink); }
.owner-hack-button:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.owner-content { padding: 36px 0; }
.owner-content .eyebrow { margin-bottom: 8px; }
.owner-status { color: var(--muted); font-size: 14px; }
.owner-page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.owner-action-button { display: inline-flex; align-items: center; gap: 16px; min-height: 42px; border: 1px solid var(--ink); border-radius: 4px; padding: 0 14px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 800; text-decoration: none; }
.owner-action-button span { color: var(--lime); font-size: 18px; }
.owner-action-button.secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.owner-action-button.secondary span { color: var(--coral); }
.owner-score-panel { padding-top: 22px; border-top: 1px solid var(--line); }
.owner-score-panel[hidden] { display: none; }
.owner-score-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.owner-score-heading h2 { margin: 0; font-size: 22px; }
.owner-score-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.owner-score-list { display: grid; border-top: 1px solid var(--line); }
.owner-score-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 72px; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.owner-score-row label { font-size: 13px; font-weight: 700; }
.owner-score-row input { width: 100%; min-width: 0; min-height: 38px; border: 1px solid var(--line); border-radius: 4px; padding: 7px 9px; background: #fffdf8; color: var(--ink); font: 13px 'DM Mono', monospace; }
.owner-score-row input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.owner-score-row .submit-button { justify-self: stretch; padding: 10px; }
body.halloween-mode .owner-score-row input { border-color: var(--line); background: var(--surface); color: var(--ink); }
@media (max-width: 700px) { .owner-tools { gap: 10px; } }
@media (max-width: 480px) {
	.owner-score-heading { display: block; }
	.owner-score-heading p { margin-top: 5px; }
	.owner-score-row { grid-template-columns: minmax(0, 1fr) 88px; gap: 8px; }
	.owner-score-row label { grid-column: 1 / -1; }
	.owner-score-row .submit-button { grid-column: 2; }
}
