body[data-page="colors"] { min-height: 100vh; margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #fffaf4; background: radial-gradient(900px 600px at 15% -10%, rgba(98,111,230,.25), transparent 65%), radial-gradient(850px 600px at 100% 18%, rgba(246,118,176,.16), transparent 62%), #10152a; }
.colors-shell { width: min(1070px, 100%); margin-inline: auto; padding: 0 28px; }
.colors-header { min-height: 74px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); }
.colors-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; letter-spacing: -.05em; }.colors-brand .brand-mark { width: 33px; height: 33px; }.colors-brand .brand-period { color: #d8f879; }
.colors-back { padding: 10px 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; color: #dce3f3; text-decoration: none; font-size: 12px; }.colors-back span,.colors-footer b { color: #d8f879; }
.colors-main { padding: 37px 0 54px; }.colors-intro { margin: 0 0 24px; }
.colors-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #d8f879; font-size: 10px; font-weight: 850; letter-spacing: .18em; }.colors-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #d8f879; box-shadow: 0 0 14px #d8f879; }
.colors-intro h1 { margin: 0; font-size: clamp(42px, 7vw, 70px); line-height: 1; letter-spacing: -.075em; }.colors-intro h1 > span { color: #8ee9dc; }.colors-intro > p:last-child { max-width: 540px; margin: 11px 0 0; color: #c2c9d8; font-size: 14px; line-height: 1.65; }
.colors-layout { display: grid; grid-template-columns: minmax(0,1fr) 260px; align-items: stretch; gap: 16px; }
.colors-arena { padding: 19px; border: 1px solid rgba(235,241,255,.13); border-radius: 26px; background: linear-gradient(150deg,rgba(29,38,61,.95),rgba(18,24,42,.97)); box-shadow: 0 24px 66px rgba(0,0,0,.23); }
.colors-arena-top { display: flex; align-items: center; justify-content: space-between; color: #aab5c8; font-size: 9px; font-weight: 850; letter-spacing: .16em; }.colors-arena-top span:last-child { color: #d8f879; }
.color-pads { display: grid; width: min(100%, 490px); grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin: 19px auto 10px; }
.color-pad { display: grid; min-height: clamp(128px, 18vw, 190px); place-items: center; border: 4px solid rgba(255,255,255,.38); border-radius: 30px; color: rgba(255,255,255,.93); font-size: clamp(36px, 6vw, 60px); cursor: pointer; box-shadow: inset 0 -12px 0 rgba(26,31,54,.12), 0 10px 24px rgba(0,0,0,.16); opacity: .82; transition: transform .16s ease, filter .16s ease, opacity .16s ease, box-shadow .16s ease; }
.color-pad:hover:not(:disabled) { opacity: 1; transform: translateY(-2px); filter: brightness(1.08); }.color-pad:disabled { cursor: default; }
.pad-berry { background: linear-gradient(145deg,#ff7ea8,#ed447c); }.pad-sun { background: linear-gradient(145deg,#ffdf72,#ffab40); }.pad-mint { background: linear-gradient(145deg,#89e99a,#40bd80); }.pad-sky { background: linear-gradient(145deg,#76d8f7,#4a92f0); }
.color-pad.is-lit { opacity: 1; transform: scale(1.035); filter: brightness(1.22); box-shadow: 0 0 0 5px rgba(255,255,255,.5), 0 0 36px rgba(255,255,255,.43), inset 0 -7px 0 rgba(26,31,54,.08); }
.color-pad.is-mistake { animation: pad-shake .3s ease-in-out; }
.colors-status { min-height: 25px; margin: 14px 0 0; color: #d3dcec; text-align: center; font-size: 13px; font-weight: 650; }
.colors-panel { display: flex; flex-direction: column; padding: 20px; border: 1px solid rgba(235,241,255,.12); border-radius: 23px; background: rgba(19,26,42,.86); box-shadow: 0 22px 56px rgba(0,0,0,.2); }
.colors-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.colors-stats > div { padding: 13px; border: 1px solid rgba(235,241,255,.1); border-radius: 15px; background: rgba(7,11,20,.28); }.colors-stats span,.colors-how > span { display: block; color: #a8b2c4; font-size: 9px; font-weight: 850; letter-spacing: .14em; }.colors-stats strong { display: block; margin-top: 4px; color: #d8f879; font-size: 28px; font-variant-numeric: tabular-nums; }
.colors-cheer { display: flex; align-items: center; gap: 10px; margin: 16px 0; padding: 13px; border: 1px solid rgba(255,255,255,.09); border-radius: 15px; background: rgba(255,255,255,.035); }.colors-cheer > span { font-size: 27px; }.colors-cheer strong,.colors-cheer small { display: block; }.colors-cheer strong { font-size: 13px; }.colors-cheer small { margin-top: 4px; color: #aeb9cc; font-size: 10px; line-height: 1.5; }
.colors-start { min-height: 52px; border: 0; border-radius: 15px; color: #1b2335; background: linear-gradient(100deg,#8ee9dc,#d8f879 55%,#ffe06c); font: inherit; font-size: 14px; font-weight: 900; cursor: pointer; box-shadow: 0 10px 22px rgba(142,233,220,.13); transition: transform .18s ease,filter .18s ease; }.colors-start:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.07); }.colors-start:disabled { opacity: .62; cursor: wait; }.colors-start span { margin-left: 4px; }
.colors-how { margin-top: auto; padding-top: 23px; }.colors-how > span { color: #d8f879; }.colors-how p { margin: 8px 0 0; color: #b8c2d2; font-size: 11px; line-height: 1.7; }
.colors-footer { display: flex; min-height: 70px; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #dbe1ec; font-size: 11px; }.colors-footer > span:nth-child(2) { color: #aab4c6; }.colors-footer > a { margin-left: auto; color: #dce3f3; text-decoration: none; }.colors-footer b { margin-left: 4px; }
@keyframes pad-shake { 25% { translate: -5px 0; } 75% { translate: 5px 0; } }
@media (max-width: 760px) { .colors-shell { padding-inline: 17px; }.colors-layout { grid-template-columns: 1fr; }.colors-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.colors-stats { grid-column: 1/-1; }.colors-cheer { margin: 0; }.colors-start { align-self: center; }.colors-how { grid-column: 1/-1; padding-top: 8px; } }
@media (max-width: 430px) { .colors-shell { padding-inline: 13px; }.colors-arena { padding: 14px; }.color-pads { gap: 9px; }.color-pad { min-height: 128px; border-radius: 23px; }.colors-panel { padding: 14px; }.colors-footer { gap: 9px; font-size: 9px; }.colors-footer > span:nth-child(2) { display: none; } }
@media (prefers-reduced-motion: reduce) { .color-pad { transition: none; } @keyframes pad-shake { to { translate: 0 0; } } }
