/* THEME:START — shared/themes.json의 "reaction". scripts/apply-themes.mjs가 씀, 여기 직접 고치지 말 것 */
:root {
  --accent: #be185d; --accent-2: #9d174d; --glow: #f472b6;
  --radius: 20px; --btn-radius: 999px; --head-weight: 900;
  --header-bg: rgba(255,255,255,.88); --header-top: 0px;
  --hero-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Ccircle cx='24' cy='24' r='10' fill='none' stroke='%23be185d' stroke-opacity='.14' stroke-width='2'/%3E%3Ccircle cx='24' cy='24' r='2' fill='%23be185d' fill-opacity='.2'/%3E%3C/svg%3E");
  --hero-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23be185d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='14' r='7'/%3E%3Cpath d='M12 14l3-3M10 3h4M12 3v4M19 7l-1.5 1.5'/%3E%3C/svg%3E");
}
/* THEME:END */
.rbox {
  min-height: 240px; border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 16px; margin: 12px 0; cursor: pointer; user-select: none; -webkit-user-select: none;
  touch-action: manipulation; color: #fff; border: 2px solid transparent;
}
.rbox:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.rbox.idle { background: #3b5bdb; }
.rbox.waiting { background: #c92a2a; }
.rbox.ready { background: #2b8a3e; }
.rbox.early { background: #e67700; }
.rbox.between { background: #3b5bdb; }
.rmsg { font-size: 1.8rem; font-weight: 800; }
.rsub { margin-top: 6px; font-size: .95rem; opacity: .95; }
.rlist { margin: 6px 0 12px; padding-left: 1.4em; }
.dist { display: grid; gap: 6px; margin: 8px 0 12px; }
.drow { display: grid; grid-template-columns: 5.5em 1fr 2em; gap: 8px; align-items: center; font-size: .9rem; }
.dbar { height: 16px; background: var(--accent-soft); border-radius: 4px; overflow: hidden; }
.dbar > span { display: block; height: 100%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .dbar > span { transition: width .3s; } }
@media (max-width: 560px) { .rmsg { font-size: 1.4rem; } .rbox { min-height: 200px; } }
