.idea-game { scroll-margin-top: 95px; }
.idea-game-shell { position: relative; padding: clamp(20px,4vw,48px); border: 1px solid #a7ff7955; border-radius: 30px; background: radial-gradient(ellipse at 100% 0,#72fd4e1c,transparent 65%),linear-gradient(125deg,#ffffff0d,#ffffff03); box-shadow: inset 0 2px #ffffff24,0 24px 60px #0005; backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.idea-game-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.idea-game h2 { font-size: clamp(2.5rem,4.7vw,4.6rem); font-weight: 850; letter-spacing: -.07em; }
.idea-game h2 em { color: #9cfd00; font-style: normal; }
.idea-game-intro > p { color: var(--ink-soft); }
.idea-game-tag { display: inline-block; padding: 6px 12px; color: #170f2d; background: #b8a0ff; font: 800 .72rem ui-monospace,monospace; transform: rotate(-3deg); margin-bottom: 24px; box-shadow: 4px 4px #38284f; }
.idea-game-rules { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.idea-game-rules span { padding: 7px 12px; background: #72fd4e0c; color: #bbffa1; border: 1px solid #72fd4e2a; border-radius: 999px; font-size: .78rem; }
.idea-game-rules span:nth-child(2) { background: #b8a0ff0e; color: #d4c5ff; border-color: #b8a0ff33; }
.idea-game-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.idea-game-controls .button { font-size: .84rem; min-height: 44px; padding: 10px 18px; }
.idea-game button:disabled { opacity: .4; cursor: default; transform: none; box-shadow: none; }
.idea-mode { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .8rem; margin: 0 0 18px; color: #d6e0d9; }
.idea-mode select { padding: 9px 12px; border: 1px solid #ffffff30; background: #142218; border-radius: 12px; color: #e8f3e8; font: inherit; max-width: 100%; }
.idea-game-hint { font-size: .76rem; }
.idea-game-link { display: inline-block; margin-top: 10px; color: #a8ff84; font-size: .87rem; text-underline-offset: 4px; }
.idea-scoreboard { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 16px; }
.idea-scoreboard > div { background: #ffffff07; border: 1px solid #ffffff1b; border-radius: 14px; padding: 10px 12px; text-align: center; }
.idea-scoreboard small { display: block; color: #aebdb3; font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; }
.idea-scoreboard strong { font: 800 1.5rem ui-monospace,monospace; color: #a4ff73; }
.idea-board { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 12px; border-radius: 22px; background: #01080880; border: 1px solid #ffffff20; box-shadow: inset 0 4px 22px #0005; }
.idea-cell { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; aspect-ratio: 1.15; min-width: 0; min-height: 70px; padding: 8px; background: #ffffff04; color: #788b80; border: 1px solid #ffffff12; border-radius: 15px; cursor: pointer; touch-action: manipulation; font: inherit; -webkit-tap-highlight-color: transparent; }
.idea-cell-icon { font: 700 2.1rem system-ui,sans-serif; line-height: 1.05; }
.idea-cell-label { font: 800 .65rem ui-monospace,monospace; margin-top: 5px; }
.idea-cell kbd { position: absolute; right: 7px; top: 4px; font-size: .6rem; opacity: .65; }
.idea-cell[data-kind="idea"] { color: #071105; background: linear-gradient(130deg,#afff62,#53f968); border-color: #d7ffad; box-shadow: inset 0 2px #fff8,0 0 25px #72fd4e30; }
.idea-cell[data-kind="noise"] { color: #ddcdff; background: linear-gradient(130deg,#b8a0ff25,#b8a0ff0b); border-color: #b8a0ff66; }
.idea-game[data-phase="paused"] .idea-board { opacity: .45; }
.idea-timing { display: flex; align-items: center; gap: 12px; margin: 12px 2px; }
.idea-timing progress { appearance: none; width: 100%; height: 5px; border: 0; border-radius: 10px; overflow: hidden; background: #ffffff15; }
.idea-timing progress::-webkit-progress-bar { background: #ffffff15; }
.idea-timing progress::-webkit-progress-value { background: #9cfd00; }
.idea-timing progress::-moz-progress-bar { background: #9cfd00; }
.idea-timing span { color: #c1d3c4; font: .7rem ui-monospace,monospace; white-space: nowrap; }
.idea-game-status { min-height: 4.5em; margin: 0; color: #d7e5d9; font-size: .8rem; line-height: 1.5; }
.idea-game-note { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid #ffffff16; color: #9caf9f; font-size: .71rem; }
@media (max-width: 900px) { .idea-game-layout { grid-template-columns: 1fr; gap: 26px; } .idea-game-arena { width: 100%; max-width: 460px; margin-inline: auto; } }
@media (max-width: 650px) { .idea-game-shell { padding: 22px 16px; border-radius: 22px; } .idea-board { padding: 8px; gap: 7px; } .idea-cell { min-height: 64px; border-radius: 10px; } .idea-cell-label { font-size: .55rem; } .idea-scoreboard > div { padding: 9px 5px; } .idea-scoreboard strong { font-size: 1.2rem; } .idea-game-controls .button { padding-inline: 12px; } }
@supports not (backdrop-filter:blur(1px)) { .idea-game-shell { background: #142019; } }
@media (prefers-reduced-transparency:reduce) { .idea-game-shell { background: #142019; backdrop-filter: none; -webkit-backdrop-filter: none; } }
