.back-link { color: var(--muted); font-size: 12px; text-decoration: none; }
.back-link:hover { color: var(--lime); }
.home-intro { padding-bottom: 28px; }
.collection-label { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; color: var(--muted); font: 11px monospace; letter-spacing: 1px; }
.game-collection { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.game-choice { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.game-choice:hover { border-color: var(--lime); transform: translateY(-3px); }
.choice-art { height: 240px; background: #20281c; border-bottom: 1px solid var(--line); }
.number-art { display: grid; grid-template-columns: repeat(3, 54px); grid-template-rows: repeat(3, 54px); justify-content: center; align-content: center; gap: 7px; }
.number-art>span { display: grid; place-items: center; background: #303b28; color: #99ad85; border: 1px solid #415235; border-radius: 7px; font: bold 27px Arial; }
.number-art .lit { background: var(--lime); color: #18210e; box-shadow: 0 0 35px #d6ff6220; }
.choice-content { padding: 27px; }
.choice-content .eyebrow { font-size: 10px; }
.choice-content h2 { display: flex; align-items: center; justify-content: space-between; font-size: 29px; letter-spacing: -1px; margin: 0 0 15px; }
.choice-content h2 span { font-weight: 400; color: var(--lime); }
.choice-content>p:not(.eyebrow) { font-size: 13px; color: var(--muted); line-height: 1.9; }
.choice-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 26px; }
.choice-tags span { font-size: 10px; color: #b1baa7; padding: 6px 8px; background: #262d23; border-radius: 4px; }
.choice-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; gap: 10px; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); }
.choice-bottom strong { color: var(--text); font: bold 17px monospace; margin-left: 7px; }
.play-label { color: var(--lime); font-weight: bold; }
.reaction-art { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px; background: #1c2529; }
.signal-ring { display: grid; place-items: center; width: 135px; height: 135px; border: 1px solid #6eabb24a; border-radius: 50%; box-shadow: 0 0 0 17px #79e1ed06, 0 0 0 34px #79e1ed04; }
.signal-ring>span { display: grid; place-items: center; width: 94px; height: 94px; background: #8ce5ec; border-radius: 50%; color: #14292c; font-size: 44px; }
.art-caption { font: 10px monospace; letter-spacing: 3px; color: #8ab2b5; }
.home-note { color: var(--muted); font-size: 11px; text-align: center; line-height: 1.9; margin: 30px 0 58px; }
.reaction-pad { width: 100%; min-height: 315px; border: 1px solid #425239; border-radius: 12px; background: #252e20; color: var(--text); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; padding: 24px; touch-action: manipulation; user-select: none; }
.pad-icon { font-size: 42px; color: var(--lime); }
.pad-title { font-size: 32px; font-weight: 700; }
#pad-caption { font-size: 12px; line-height: 1.9; }
.reaction-pad[data-state="waiting"] { background: #382b22; border-color: #7a5840; }
.reaction-pad[data-state="waiting"] .pad-icon { color: #ffbd8b; }
.reaction-pad[data-state="ready"] { background: var(--lime); border-color: var(--lime); color: #16200d; }
.reaction-pad[data-state="ready"] .pad-icon { color: #16200d; }
.reaction-pad[data-state="early"] { background: #432a28; border-color: #9a5650; }
.pad-help { font-size: 10px; color: var(--muted); text-align: center; margin: 16px 0; }
.game-card:has(.reaction-pad) .metrics p { font-size: clamp(22px, 3vw, 36px); }
.game-card:has(.reaction-pad) .metrics small { display: block; margin: 8px 0 0; }
.best-number { overflow-wrap: anywhere; }
.attempts { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: 8px; margin: 20px 0 4px; }
.attempts li { flex: 1 0 90px; background: #252c21; padding: 10px 8px; border-radius: 5px; color: #b6c1ab; font-size: 10px; text-align: center; }
@media(max-width:740px) {
  .header .brand { font-size: 16px; gap: 8px; }
  .header .brand-dot { margin-left: -8px; }
  .back-link { font-size: 10px; }
  .game-collection { grid-template-columns: 1fr; gap: 20px; }
  .choice-art { height: 215px; }
  .choice-content { padding: 23px; }
  .choice-content h2 { font-size: 27px; }
  .home-note { font-size: 10px; margin-bottom: 35px; }
  .reaction-pad { min-height: 300px; padding: 18px; }
  .pad-title { font-size: 27px; }
  #pad-caption { font-size: 11px; }
  .header-note { max-width: 108px; text-align: right; line-height: 1.8; }
  .metrics p:has(#average), .metrics p:has(#last) { font-size: 28px; }
}
