/* Frequency's social side: flat editorial drawings, friendly ink and paper. */
.frequency-home {
  background:
    radial-gradient(ellipse at 4% 12%, rgba(145, 173, 90, .13), transparent 40%),
    radial-gradient(ellipse at 97% 80%, rgba(179, 153, 210, .06), transparent 35%), #0c110d;
}
.frequency-home::before { opacity: .5; }
.frequency-home::after { display: none; }
.frequency-kicker { color: #c1cbb4; }
.frequency-kicker i { box-shadow: none; }
.frequency-round,
.frequency-wall {
  border-color: rgba(207, 219, 187, .2);
  background: linear-gradient(150deg, rgba(211, 226, 183, .025), transparent 70%), #111810;
  box-shadow: none;
}
.frequency-round::before {
  background: radial-gradient(ellipse at 20% 30%, rgba(185, 207, 147, .055), transparent 52%);
}
.frequency-panel-top,
.frequency-wall-top { color: #a2b093; font-size: 9px; letter-spacing: .075em; }
.frequency-panel-top > span:last-child {
  padding: 4px 7px;
  border: 1px solid rgba(200, 255, 67, .2);
  border-radius: 4px;
  color: #cee1ae;
  font-size: 8px;
}
.frequency-round-stage {
  grid-template-columns: minmax(220px, .88fr) minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0 18px;
}
.frequency-round-orbit.is-illustrated {
  width: min(100%, 282px);
  aspect-ratio: 360 / 310;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.frequency-round-orbit.is-illustrated::before,
.frequency-round-orbit.is-illustrated::after { display: none; }
.social-table { display: block; width: 100%; height: 100%; overflow: visible; }
.social-seat-halo { fill: none; stroke: var(--seat-color); stroke-width: 2; stroke-dasharray: 3 4; opacity: 0; transition: opacity .25s ease; }
.social-seat-label rect { fill: #172219; stroke: #78886c; stroke-width: 1.3; transition: fill .25s ease; }
.social-seat-label text { fill: #c0cbb5; text-anchor: middle; font: 9px var(--font-mono); letter-spacing: .07em; }
.social-person-body { animation: social-person-breathe 6s ease-in-out infinite paused; transform-box: fill-box; transform-origin: center bottom; }
.social-person-a .social-person-body { animation-delay: -2s; }
.social-person-b .social-person-body { animation-delay: -4s; }
.social-eyes { animation: social-eye-blink 9s linear infinite paused; transform-box: fill-box; transform-origin: center; }
.social-person-a .social-eyes { animation-delay: -3.7s; }
.social-person-b .social-eyes { animation-delay: -6.1s; }
.social-drawing-playing .social-person-body,
.social-drawing-playing .social-eyes { animation-play-state: running; }
.social-vote-card { opacity: .25; transform: translateY(2px); transition: opacity .3s, transform .3s; }
.social-table-spark { opacity: 0; transition: opacity .3s; }
.has-pick .social-vote-card { opacity: 1; transform: translateY(0); }
.has-pick .social-table-spark { opacity: .85; }

.is-illustrated[data-selection="you"] [data-seat="you"] .social-seat-halo,
.is-illustrated[data-selection="friend-a"] [data-seat="friend-a"] .social-seat-halo,
.is-illustrated[data-selection="friend-b"] [data-seat="friend-b"] .social-seat-halo { opacity: .8; }
.is-illustrated[data-selection="you"] [data-seat="you"] .social-seat-label rect,
.is-illustrated[data-selection="friend-a"] [data-seat="friend-a"] .social-seat-label rect,
.is-illustrated[data-selection="friend-b"] [data-seat="friend-b"] .social-seat-label rect { fill: var(--seat-color); stroke: var(--seat-color); }
.is-illustrated[data-selection="you"] [data-seat="you"] .social-seat-label text,
.is-illustrated[data-selection="friend-a"] [data-seat="friend-a"] .social-seat-label text,
.is-illustrated[data-selection="friend-b"] [data-seat="friend-b"] .social-seat-label text { fill: #142010; }

.frequency-round-help { color: #a0ad95; font-size: 12px; line-height: 1.75; }
.frequency-round-meta { color: #b4ca93; line-height: 1.7; }
.frequency-seat-choice { --person-color: #c8ff43; min-height: 72px; background: #0e150e; border-color: rgba(203, 215, 185, .18); }
.frequency-seat-choice[data-frequency-seat="friend-a"] { --person-color: #c8b8e8; }
.frequency-seat-choice[data-frequency-seat="friend-b"] { --person-color: #e5ad8b; }
.frequency-seat-choice i { width: 33px; height: 33px; color: var(--person-color); border-color: color-mix(in srgb, var(--person-color) 50%, transparent); background: color-mix(in srgb, var(--person-color) 8%, #10170e); overflow: hidden; }
.frequency-seat-choice i svg { width: 30px; height: 30px; }
.frequency-seat-choice strong { font-size: 11px; }
.frequency-seat-choice small { font-size: 8px; color: #94a186; }
.frequency-seat-choice:hover,
.frequency-seat-choice[aria-pressed="true"] { border-color: var(--person-color); background: color-mix(in srgb, var(--person-color) 8%, #10170e); }
.frequency-seat-choice:focus-visible,
.frequency-next-question:focus-visible,
.frequency-wall-refresh:focus-visible,
.frequency-primary-action:focus-visible { outline: 2px solid #d5e7b4; outline-offset: 3px; }
.frequency-round-result { color: #a0ad94; font-size: 9px; padding-top: 3px; }
.frequency-next-question { color: #c4cfb8; }

.frequency-wall-art { width: 174px; height: 87px; margin: -5px auto 15px; }
.frequency-wall-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.frequency-wall-head { padding-top: 20px; }
.frequency-wall-head h3 { font-size: clamp(25px, 2.1vw, 31px); }
.frequency-wall-head p { color: #9eab94; font-size: 11px; line-height: 1.75; }
.frequency-wall-list { min-height: 178px; }
.frequency-wall-empty { min-height: 178px; padding: 15px 0 20px; }
.frequency-wall-empty strong { margin-top: 0; line-height: 1.45; font-size: 15px; }
.frequency-wall-empty p { color: #9ba98f; font-size: 11px; line-height: 1.8; }
.frequency-wall-status { color: #a7b09f; }
.social-wall-offline,
.social-wall-wave { display: none; }
.frequency-wall[data-state="offline"] .social-wall-offline { display: block; }
.frequency-wall[data-state="offline"] .social-wall-quiet,
.frequency-wall[data-state="live"] .social-wall-quiet { display: none; }
.frequency-wall[data-state="offline"] .social-wall-note-back { opacity: .45; }
.frequency-wall[data-state="offline"] .social-wall-spark { opacity: .35; }
.frequency-wall[data-state="live"] .social-wall-wave { display: block; }
.social-wall-note { animation: social-note-float 6s ease-in-out infinite alternate paused; }
.social-wall-note-back { animation-delay: -2.5s; }
.frequency-wall[data-state="live"].social-drawing-playing .social-wall-note { animation-play-state: running; }
.frequency-signal-avatar { border-radius: 10px 10px 10px 3px; box-shadow: none; }
.frequency-signal { padding-block: 14px; }
.frequency-signal-head strong { font-size: 11px; }
.frequency-signal-body p { color: #afbaa5; font-size: 11px; line-height: 1.65; }
.frequency-wall-foot { padding-top: 16px; }
.frequency-wall-foot a,
.frequency-wall-refresh { font-size: 9px; color: #c5dca8; }
.frequency-wall-refresh { min-height: 32px; padding: 0 3px; }
.frequency-home-strip { color: #a5b298; border-color: rgba(206, 219, 188, .15); }
.frequency-home-strip a { color: #c6d4b8; }

@keyframes social-person-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.6px); } }
@keyframes social-eye-blink { 0%, 40%, 42%, 100% { transform: scaleY(1); } 41% { transform: scaleY(.1); } }
@keyframes social-note-float { from { transform: translateY(0); } to { transform: translateY(-3px); } }

@media (max-width: 1050px) and (min-width: 651px) {
  .frequency-round-stage { grid-template-columns: minmax(220px, .65fr) minmax(0, 1fr); gap: 30px; }
  .frequency-wall-head { position: relative; padding: 27px 0 23px 200px; min-height: 130px; }
  .frequency-wall-art { position: absolute; left: 0; top: 21px; margin: 0; }
  .frequency-wall-empty { min-height: 128px; }
  .frequency-wall-list { min-height: 128px; }
}
@media (max-width: 650px) {
  .frequency-round-stage { grid-template-columns: 1fr; gap: 10px; padding-top: 14px; }
  .frequency-round-orbit.is-illustrated { width: min(100%, 258px); }
  .frequency-panel-top,
  .frequency-wall-top { font-size: 8px; gap: 10px; }
  .frequency-seat-choice { min-height: 88px; padding: 10px 5px; gap: 7px; }
  .frequency-seat-choice strong { font-size: 10px; }
  .frequency-seat-choice small { font-size: 7px; }
  .frequency-wall-art { margin-top: -1px; }
  .frequency-wall-list { min-height: 150px; }
  .frequency-wall-empty { min-height: 150px; }
  .frequency-home-strip { font-size: 9px; }
}
body.motion-paused .frequency-home .social-table *,
body.motion-paused .frequency-home .social-wall-note { animation-play-state: paused !important; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .social-person-body,
  .social-eyes,
  .social-wall-note { animation: none; }
  .social-seat-halo,
  .social-seat-label rect,
  .social-vote-card,
  .social-table-spark { transition: none; }
}
