.dashrath-fall {
  margin: 42px 0;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid #d7c8a9;
  border-radius: 18px;
  background: #f2ead8;
  color: #26362f;
}
.dashrath-fall__intro { max-width: 700px; margin-bottom: 20px; }
.dashrath-fall__eyebrow { margin: 0 0 5px !important; color: #8a6030; font-size: .76rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dashrath-fall h2 { margin: 0 0 8px; color: #26362f; font: 600 clamp(1.7rem, 4vw, 2.25rem) 'Playfair Display', Georgia, serif; }
.dashrath-fall__intro p:last-child { margin: 0; line-height: 1.6; }
.dashrath-fall__stage { position: relative; height: clamp(340px, 52vw, 460px); overflow: hidden; border: 1px solid #8b8f7d; border-radius: 12px; background: #5b7e75; }
.dashrath-fall__stage canvas { display: block; width: 100%; height: 100%; }
.dashrath-fall__hud { position: absolute; z-index: 2; inset: 10px 12px auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; color: #fff8e6; text-shadow: 0 1px 4px #17231e; font-size: .86rem; font-weight: 700; pointer-events: none; }
.dashrath-fall__hud > span { padding: 7px 9px; border-radius: 8px; background: #10221dbd; }
.dashrath-fall__hud > span:first-child { width: 23%; display: grid; grid-template-columns: 1fr auto; gap: 5px; }
.dashrath-fall__hud > span:first-child i { grid-column: 1 / -1; height: 7px; overflow: hidden; border: 1px solid #ffffff80; border-radius: 8px; background: #17231eaa; }
.dashrath-fall__hud > span:first-child i i { display: block; width: 100%; height: 100%; border-radius: inherit; background: #9bc27c; }
.dashrath-fall__hud > span:last-child { display: grid; justify-items: end; gap: 2px; }
.dashrath-fall__hud > span:last-child small { font-size: .76rem; }
.dashrath-fall__hud > span:last-child small b { color: #ffe2a0; }
.dashrath-fall__overlay { position: absolute; z-index: 4; inset: 0; display: grid; place-items: center; padding: 22px; background: #0f1b19b8; text-align: center; }
.dashrath-fall__overlay[hidden] { display: none; }
.dashrath-fall__overlay > div { max-width: 460px; color: #fff7e5; }
.dashrath-fall__overlay h3 { margin: 0 0 8px; font: 600 1.8rem 'Playfair Display', Georgia, serif; }
.dashrath-fall__overlay p { line-height: 1.55; }
.dashrath-fall button { min-height: 44px; border: 0; border-radius: 8px; padding: 9px 16px; background: #b87a36; color: white; font: inherit; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.dashrath-fall button:focus-visible { outline: 3px solid #f1c86f; outline-offset: 3px; }
.dashrath-fall__result { margin: 18px 0 6px; color: #ffe2a0; font-weight: 700; line-height: 1.8 !important; }
.dashrath-fall__result strong { font-size: 1.12rem; }
.dashrath-fall__new-record { margin: 8px 0 2px; color: #ffe2a0; line-height: 1.5 !important; }
.dashrath-fall__new-record button { margin-top: 5px; }
.dashrath-fall__controls { display: flex; justify-content: center; gap: 12px; margin-top: 12px; user-select: none; -webkit-tap-highlight-color: transparent; }
.dashrath-fall__controls button { display: grid; width: 64px; min-width: 64px; place-items: center; padding: 8px; }
.dashrath-fall__controls svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
@media (min-width: 760px) { .dashrath-fall__controls { display: none; } }
@media (max-width: 600px) {
  .dashrath-fall__stage { height: clamp(390px, 62vh, 540px); }
  .dashrath-fall__hud { inset: 7px 7px auto; gap: 5px; font-size: .72rem; }
  .dashrath-fall__hud > span { padding: 6px; }
  .dashrath-fall__hud > span:first-child { width: 25%; }
  .dashrath-fall__hud > span:last-child small { font-size: .68rem; }
  .dashrath-fall__overlay { padding: 8px; }
  .dashrath-fall__overlay > div { box-sizing: border-box; max-width: 100%; max-height: 100%; overflow-y: auto; padding: 8px; }
  .dashrath-fall__overlay h3 { margin-bottom: 5px; font-size: 1.3rem; line-height: 1.15; }
  .dashrath-fall__overlay p { margin: 6px 0; font-size: .82rem; line-height: 1.3; }
  .dashrath-fall__result { margin: 8px 0 4px; font-size: .82rem; line-height: 1.35 !important; }
  .dashrath-fall__result strong { font-size: .95rem; }
  .dashrath-fall__new-record { margin: 5px 0 0; font-size: .8rem; line-height: 1.25 !important; }
  .dashrath-fall__new-record button, .dashrath-fall__overlay button { min-height: 38px; margin-top: 6px; padding: 6px 11px; font-size: .82rem; }
}
