/* Hilltop Roll (browser version): styles on top of the site stylesheet (/assets/site.css).
   Source: _src/hilltop/hilltop.css, copied to play/hilltop-roll/ by build.py. */
.hr { --soft: #F4F5FB; }
.hr .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; color: #fff; font-size: 14px; font-weight: 600; }
.hr .crumbs a { color: #fff; text-decoration: none; opacity: 0.9; }
.hr .crumbs a:hover { text-decoration: underline; opacity: 1; }
.hr .crumbs span { opacity: 0.6; }
.hr .page-title { padding-top: 6px; }
.hr-wrap { max-width: 860px; }
.hr-app { margin-top: 24px; display: grid; gap: 14px; }
.hr .btn { justify-content: center; border: 0; cursor: pointer; font-family: inherit; min-height: 48px; }
.hr .btn.ghost { background: var(--soft); color: var(--navy); }
.hr .btn:disabled { cursor: default; opacity: 0.75; }
.hr :focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.hr h2 { font-size: 19px; line-height: 1.3; }

.hr-stage { position: relative; padding: 0; overflow: hidden; }
#hr-canvas { display: block; width: 100%; height: clamp(360px, 62vw, 480px); touch-action: manipulation; cursor: pointer; }
.hr-hud { position: absolute; top: 10px; right: 12px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 70%; }
.hr-hud span { background: rgba(255, 255, 255, 0.88); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 700; color: var(--navy); }
.hr-msg { position: absolute; left: 50%; top: 56px; transform: translateX(-50%); width: min(90%, 420px); text-align: center; pointer-events: none;
  color: var(--navy); font-weight: 600; font-size: 15px; display: grid; gap: 2px; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); }
.hr-msg:empty { display: none; }
.hr-msg b { font-size: 34px; line-height: 1.15; }
.hr-msg span { font-size: 14px; }

.hr-controls { display: grid; gap: 6px; justify-items: center; }
.hr-main { width: min(100%, 360px); font-size: 17px; }
.hr-info { color: var(--navy); font-weight: 600; font-size: 14px; text-align: center; }
.hr-keys { font-size: 12.5px; color: var(--navy-soft); }
@media (hover: none) { .hr-keys { display: none; } }

.hr-up-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.hr-up-head span { font-weight: 700; color: var(--navy-soft); }
#hr-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
#hr-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--soft); }
#hr-list b { font-size: 15px; }
#hr-list .lv { font-size: 12.5px; font-weight: 700; color: #C8392B; margin-left: 4px; }
#hr-list small { display: block; font-size: 13px; color: var(--muted); }
#hr-list .btn { min-height: 40px; padding: 8px 14px; font-size: 13.5px; white-space: nowrap; flex-shrink: 0; }

.hr-static { display: grid; gap: 14px; margin-top: 14px; }
.hr-static ol, .hr-static ul { margin-left: 20px; display: grid; gap: 6px; color: var(--navy-soft); }
.hr-static li::marker { color: var(--coral); font-weight: 700; }
.hr-static p { color: var(--navy-soft); }
.hr-static p + p { margin-top: 10px; }
@media (max-width: 520px) {
  .hr-hud { left: 10px; right: 10px; max-width: none; justify-content: flex-start; }
  .hr-hud span { font-size: 12px; padding: 3px 8px; }
  .hr-msg { top: 48px; }
}
#hr-canvas { touch-action: none; user-select: none; -webkit-user-select: none; }
.hr-main { user-select: none; -webkit-user-select: none; touch-action: none; }
.hr-sound { background: rgba(255, 255, 255, 0.85); color: var(--navy); border: 0; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
