.arc {
  position: fixed; inset: 0; z-index: 650; overflow: auto;
  color: #f7efe7; background: #060306;
  font-family: ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  opacity: 0; transition: opacity .28s ease;
}
.arc.is-open { opacity: 1; }
.arc[hidden] { display: none; }
.arc-noise {
  position: fixed; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.018) 4px),
    radial-gradient(70% 60% at 50% 5%, rgba(225,18,62,.3), transparent 70%),
    radial-gradient(80% 80% at 100% 100%, rgba(51,7,24,.75), transparent 65%);
}
.arc-shell { position: relative; width: min(980px, calc(100% - 36px)); margin: 0 auto; padding: 32px 0 54px; }
.arc-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 18px; border-bottom: 1px solid rgba(255,58,92,.34); padding-bottom: 18px; }
.arc-head > div:nth-child(2) { text-align: center; }
.arc-head span { color: #e7274d; font-size: 9px; letter-spacing: .35em; font-weight: 900; }
.arc-head h1 { margin: 5px 0 0; font: 900 clamp(28px,6vw,62px)/.95 Georgia, serif; letter-spacing: .08em; color: #fff2e6; text-shadow: 0 0 35px rgba(255,26,70,.32); }
.arc-token { justify-self: end; color: #ffbd62; font-size: 10px; font-weight: 900; letter-spacing: .25em; }
.arc-back { justify-self: start; cursor: pointer; color: #c9babb; background: transparent; border: 1px solid rgba(255,255,255,.16); padding: 10px 16px; font: 800 9px/1 inherit; letter-spacing: .25em; }
.arc-intro { margin: 18px auto 24px; text-align: center; color: #8e7e83; font: italic 14px/1.6 Georgia, serif; }
.arc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.arc-game {
  position: relative; min-height: 132px; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 16px;
  cursor: pointer; text-align: left; color: inherit; padding: 20px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.025);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.arc-game::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: #df173f; box-shadow: 0 0 24px #df173f; }
.arc-game:hover, .arc-game:focus-visible { transform: translateY(-2px); border-color: rgba(255,57,91,.55); background: rgba(152,9,39,.12); outline: none; }
.arc-game > span { font: 900 27px/1 Georgia, serif; color: #681124; }
.arc-game b { display: block; font-size: 15px; letter-spacing: .17em; color: #fff; }
.arc-game small { display: block; margin-top: 8px; color: #918087; font-size: 11px; line-height: 1.45; }
.arc-game > i { font-style: normal; font-size: 9px; letter-spacing: .18em; color: #b99b72; white-space: nowrap; }
.arc-game em { font-style: normal; color: #ffbd62; }
.arc-status { min-height: 18px; margin-top: 22px; text-align: center; color: #ffbd62; font-size: 10px; font-weight: 900; letter-spacing: .24em; opacity: 0; }
.arc-status.is-on { opacity: 1; }
.arc.is-playing .arc-game, .arc.is-playing .arc-back { pointer-events: none; opacity: .42; }
.arc-quit {
  position: fixed; z-index: 700; top: max(12px, env(safe-area-inset-top)); right: 14px;
  cursor: pointer; padding: 9px 12px; color: rgba(255,255,255,.72);
  background: rgba(4,3,8,.68); border: 1px solid rgba(255,255,255,.2);
  font: 800 9px/1 ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: .18em;
}
.arc-quit[hidden] { display: none; }
@media (max-width: 680px) {
  .arc-shell { width: min(100% - 22px, 980px); padding-top: 20px; }
  .arc-head { grid-template-columns: auto 1fr; align-items: center; }
  .arc-head > div:nth-child(2) { text-align: right; }
  .arc-token { display: none; }
  .arc-grid { grid-template-columns: 1fr; }
  .arc-game { min-height: 110px; grid-template-columns: 38px 1fr; padding: 16px; }
  .arc-game > i { display: none; }
}
