/* NF Creatix Play – 4.6.1 Private Dice Engine */
.game461{
  display:grid;
  gap:9px;
  max-width:760px;
  margin:0 auto;
}

.game461__status-strip{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding:9px 11px;
  border:1px solid rgba(244,119,0,.55);
  border-radius:14px;
  background:#160e08;
}
.game461__status-strip>div+div{border-left:1px solid rgba(255,255,255,.1);padding-left:11px}
.game461__status-strip small,.game461__status-strip strong{display:block}
.game461__status-strip small{color:#f47700;font-size:10px;font-weight:950;letter-spacing:.1em}
.game461__status-strip strong{margin-top:2px;color:#fff;font-size:13px}

.game461__reveal{
  padding:11px;
  border:1px solid #ef8423;
  border-radius:14px;
  background:linear-gradient(145deg,#281507,#130c08);
  text-align:center;
}
.game461__reveal small{color:#f47700;font-weight:950;letter-spacing:.1em}
.game461__reveal strong{display:block;margin:3px 0 6px;font-size:19px}
.game461__reveal p{margin:5px 0 0;color:#ffd4a7;font-weight:850}
.game461__reveal-dice{display:flex;justify-content:center;gap:8px}

.game461__waiting{
  min-height:0;
  display:grid;
  align-content:start;
  padding:10px;
  border:1px solid #353535;
  border-radius:18px;
  background:linear-gradient(145deg,#181818,#0d0d0d);
  text-align:center;
}
.game461__waiting h2{margin:8px 0 4px}
.game461__waiting p{max-width:420px;margin:0 auto;color:#aaa;line-height:1.45}

.game461__order{
  border:1px solid #303030;
  border-radius:13px;
  background:#111;
}
.game461__order summary{
  padding:11px 13px;
  color:#aaa;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}
.game461__order[open] summary{color:#f47700}

.dice461{
  display:grid;
  gap:9px;
  padding:11px;
  border:1px solid #343434;
  border-radius:18px;
  background:linear-gradient(150deg,#171717,#090909);
}
.dice461__heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.dice461__heading small{color:#f47700;font-size:9px;font-weight:950;letter-spacing:.12em}
.dice461__heading h2{margin:1px 0 0;font-size:22px}
.dice461__counter{
  display:inline-flex;
  min-width:48px;
  justify-content:center;
  padding:6px 8px;
  border-radius:999px;
  background:#34200f;
  color:#ff9d3b;
  font-size:12px;
  font-weight:950;
}

.dice461__zone{
  position:relative;
  min-height:118px;
  display:grid;
  place-items:center;
  padding:22px 8px 8px;
  border:1px solid rgba(244,119,0,.7);
  border-radius:15px;
  background:radial-gradient(circle at 50% 10%,rgba(244,119,0,.12),transparent 65%),#100c09;
}
.dice461__zone--locked{min-height:104px}
.dice461__zone-label{
  position:absolute;
  top:-1px;
  left:50%;
  transform:translateX(-50%);
  padding:5px 16px;
  border:1px solid rgba(244,119,0,.45);
  border-top:0;
  border-radius:0 0 10px 10px;
  color:#ff8b1f;
  background:#2b190d;
  font-size:10px;
  font-weight:950;
  letter-spacing:.07em;
}
.dice461__dice-row{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
}
.dice461__dice-row--slots::after{
  content:"";
  display:none;
}
.dice461__hint{color:#888;font-size:9px;text-align:center}

.dice461__die-wrap{position:relative;transition:transform .2s ease,opacity .2s ease}
.dice461__die-wrap.is-moving{transform:translateY(14px) scale(.9);opacity:.55}
.dice461__die-button{
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.dice461__die{
  width:72px;
  aspect-ratio:1;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-template-rows:repeat(3,1fr);
  padding:13px;
  border-radius:17px;
  background:linear-gradient(145deg,#fffdf7,#d9d3c8);
  box-shadow:0 9px 18px rgba(0,0,0,.45),inset -5px -6px 10px rgba(89,72,50,.16),0 0 13px rgba(244,119,0,.22);
}
.dice461__pip{
  width:11px;
  height:11px;
  place-self:center;
  border-radius:50%;
  background:#111;
  box-shadow:inset 0 1px 2px rgba(255,255,255,.18);
}
.dice461__die.is-rolling{animation:dice461-roll .12s linear infinite}
@keyframes dice461-roll{
  0%{transform:rotate(-4deg) translateY(0)}
  50%{transform:rotate(5deg) translateY(-4px)}
  100%{transform:rotate(-4deg) translateY(0)}
}
.dice461__placeholder{
  width:72px;
  aspect-ratio:1;
  display:grid;
  place-items:center;
  border:2px dashed #54351d;
  border-radius:17px;
  color:#62452f;
  font-size:24px;
}
.dice461__six-convert{
  position:absolute;
  right:-5px;
  bottom:-7px;
  min-width:42px;
  padding:5px 6px;
  border:1px solid #ff9d3b;
  border-radius:999px;
  color:#fff;
  background:#7d3900;
  font-size:9px;
  font-weight:950;
  cursor:pointer;
}

.dice461__status{
  min-height:31px;
  margin:0;
  color:#aaa;
  font-size:11px;
  line-height:1.35;
  text-align:center;
}
.dice461__status.is-important{color:#ffb56c;font-weight:850}

.dice461__actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.dice461__button{
  min-height:64px;
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-rows:auto auto;
  column-gap:9px;
  align-content:center;
  padding:9px 12px;
  border:1px solid #555;
  border-radius:14px;
  color:#fff;
  text-align:left;
  cursor:pointer;
}
.dice461__button>span{grid-row:1/3;font-size:25px;align-self:center}
.dice461__button strong{font-size:13px}
.dice461__button small{color:rgba(255,255,255,.78);font-size:9px}
.dice461__button--primary{border-color:#ffb05a;background:linear-gradient(180deg,#ff9f3e,#ec6900);box-shadow:0 8px 22px rgba(244,119,0,.22),inset 0 1px 0 rgba(255,255,255,.26)}
.dice461__button--danger{border-color:#d53b3b;background:linear-gradient(180deg,#b82121,#701313)}
.dice461__button:disabled{opacity:.33;cursor:not-allowed}
.dice461__button[hidden]{display:none!important}
.game461__host-reveal .dice461__button,.game461__round-summary .dice461__button{
  min-height:58px;display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 16px;text-align:center
}
.game461__host-reveal .dice461__button>span,.game461__round-summary .dice461__button>span{font-size:23px;line-height:1}
.game461__host-reveal .dice461__button strong,.game461__round-summary .dice461__button strong{font-size:14px;letter-spacing:.025em}
.game461__host-reveal .dice461__button small,.game461__round-summary .dice461__button small{display:none}

.game480__scoreboard{display:grid;gap:8px;width:100%;max-height:min(66dvh,620px);overflow-y:auto;overflow-x:hidden;padding:0 1px calc(8px + env(safe-area-inset-bottom))}
.game480__score-card{display:grid;gap:6px;padding:10px 11px;border:1px solid rgba(255,255,255,.12);border-radius:13px;background:linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.018));text-align:left}
.game480__score-card.is-active{border-color:var(--accent,#ff7a00);box-shadow:0 0 0 1px rgba(255,122,0,.25);background:rgba(255,122,0,.08)}
.game480__score-head,.game480__score-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.game480__score-head>div{display:grid;gap:2px}
.game480__score-head small,.game480__score-meta{color:var(--muted,#aaa);font-size:.78rem}
.game480__score-status{padding:3px 8px;border-radius:999px;background:rgba(255,255,255,.08);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.game480__score-card.is-active .game480__score-status{background:var(--accent,#ff7a00);color:#111}
.game480__held{display:flex;align-items:center;gap:6px;min-height:34px;flex-wrap:wrap}
.game480__hidden-die{display:inline-grid;place-items:center;width:30px;height:30px;border:1px dashed rgba(255,255,255,.28);border-radius:7px;color:var(--muted,#aaa);font-weight:900}
.game480__transfer-summary{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px}
.game480__transfer-summary.is-single{grid-template-columns:minmax(180px,330px);justify-content:center}
.game480__transfer-summary [hidden],.game480__deck-transfer[hidden]{display:none!important}
.game480__person-card,.game480__summary-highest{display:grid;justify-items:center;gap:5px;padding:13px;border:1px solid #333;border-radius:14px;background:linear-gradient(145deg,#181818,#101010)}
.game480__transfer-summary span,.game480__summary-highest span{color:#888;font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}
.game480__person-card strong,.game480__summary-highest strong{font-size:16px}
.game480__person-card>i{position:relative;width:27px;height:27px;color:transparent;border-radius:50%;background:currentColor}
.game480__person-card>i::after{content:"";position:absolute;left:3px;right:3px;bottom:-7px;height:12px;border-radius:12px 12px 5px 5px;background:inherit}
.game480__person-card--winner>span,.game480__person-card--winner>i{color:#38c77a}
.game480__person-card--winner{border-color:rgba(56,199,122,.42)}
.game480__person-card--loser>span,.game480__person-card--loser>i{color:#ff5a5f}
.game480__person-card--loser{border-color:rgba(255,90,95,.42)}
.game480__transfer-summary>b{color:#f47700;font-size:34px;line-height:1}
.game480__deck-transfer{display:grid;justify-items:center;gap:8px;padding:6px 0}
.game480__deck-stack{position:relative;width:56px;height:18px;border:2px solid #ff9b35;border-radius:50%;background:linear-gradient(180deg,#ffad50,#d95b00);box-shadow:0 6px 0 #8d3600,0 8px 14px rgba(244,119,0,.25)}
.game480__deck-stack::before,.game480__deck-stack::after{content:"";position:absolute;left:2px;right:2px;height:8px;border:2px solid #ff9b35;border-radius:50%;background:#c94d00}
.game480__deck-stack::before{top:-8px}.game480__deck-stack::after{top:-15px}
.game480__transfer-count{color:#ffd2a6;font-size:17px}
.game480__summary-dice{display:flex;justify-content:center;gap:7px;min-height:0}
.game480__summary-dice .dice461__die{width:46px;padding:8px;border-radius:11px}
.game480__summary-dice .dice461__pip{width:7px;height:7px}
.game461__round-summary>h2{text-transform:uppercase}
.game480__reveal-legacy{display:none!important}

.dice461__mini-die .dice461__die{
  width:42px;
  padding:8px;
  border-radius:10px;
}
.dice461__mini-die .dice461__pip{width:7px;height:7px}

@media(max-width:430px){
  .lobby4601__step.is-active{padding:10px 10px calc(22px + env(safe-area-inset-bottom))}
  .game461{gap:7px}
  .game461__status-strip{padding:8px 9px}
  .game461__status-strip strong{font-size:11px}
  .dice461{padding:9px;gap:7px}
  .dice461__zone{min-height:108px;padding-top:21px}
  .dice461__zone--locked{min-height:93px}
  .dice461__die{width:66px;padding:12px}
  .dice461__pip{width:10px;height:10px}
  .dice461__button{min-height:61px;padding:8px 9px}
  .game461__waiting{min-height:0;padding-top:8px}
  .game480__transfer-summary{gap:7px}
  .game480__person-card{padding:10px 7px}
  .game480__transfer-summary>b{font-size:27px}
}
@media(max-width:365px){
  .dice461__die{width:59px;padding:10px;border-radius:14px}
  .dice461__pip{width:9px;height:9px}
  .dice461__actions{grid-template-columns:1fr}
}

.game461__host-reveal,
.game461__personal-reveal,
.game461__round-summary{
  display:grid;
  gap:10px;
  padding:16px;
  border:1px solid #ef8423;
  border-radius:17px;
  background:linear-gradient(145deg,#251507,#100b08);
  text-align:center;
}
.game461__host-reveal small,
.game461__personal-reveal small,
.game461__round-summary small{
  color:#f47700;
  font-size:10px;
  font-weight:950;
  letter-spacing:.11em;
}
.game461__host-reveal h2,
.game461__personal-reveal h2,
.game461__round-summary h2{margin:0}
.game461__host-reveal p,
.game461__personal-reveal p{margin:0;color:#aaa}
.game461__personal-dice{display:flex;justify-content:center;gap:10px}
.game461__summary-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}
.game461__summary-grid>div{
  display:grid;
  gap:4px;
  padding:10px;
  border:1px solid #333;
  border-radius:12px;
  background:#151515;
}
.game461__summary-grid span{color:#888;font-size:10px}
.game461__summary-grid strong{font-size:14px}
@media(max-width:430px){
  .game461__summary-grid{grid-template-columns:1fr}
}

/* 4.6.1.2 – strict one-surface state machine */
#game461ActiveSurface[hidden],
#game461WaitingSurface[hidden],
#game461HostRevealPanel[hidden],
#game461PersonalRevealPanel[hidden],
#game461RoundSummary[hidden],
#game461RevealBanner[hidden],
#game472RevealComplete[hidden],
#game471EveningStatistics[hidden]{
  display:none!important;
}
.game461__host-reveal,
.game461__personal-reveal,
.game461__round-summary,
.game461__waiting,
.dice461{
  margin:0;
}

.game461__reveal-progress{display:grid;gap:6px;margin-top:4px}
.game461__reveal-progress span{color:#aaa;font-size:11px}
.game461__reveal-progress strong{color:#fff;font-size:16px}
.game461__reveal-progress-bar{height:7px;overflow:hidden;border-radius:999px;background:#2a2a2a}
.game461__reveal-progress-bar i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#f47700,#ffb15c);transition:width .25s ease}

.game473b__reveal-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:9px}
.game473b__reveal-result{display:grid;gap:7px;padding:11px;border:1px solid #383838;border-radius:13px;background:#121212}
.game473b__reveal-result>strong{color:#fff;font-size:14px}
.game473b__reveal-result>div{display:flex;justify-content:center;gap:5px}
.game473b__reveal-result>span{color:#ffb36b;font-size:10px;font-weight:800;line-height:1.3}

.game471__summary-message{margin:0;color:#ffd2a6;font-weight:800;line-height:1.45}
.game471__statistics{
  position:relative;
  display:grid;
  gap:12px;
  padding:18px;
  border:1px solid #ef8423;
  border-radius:18px;
  background:linear-gradient(145deg,#251507,#0c0907);
}
.game471__statistics-logo{
  position:absolute;top:14px;right:16px;width:58px;height:58px;
  object-fit:contain;filter:drop-shadow(0 4px 10px rgba(0,0,0,.45))
}
.game471__statistics>h2{padding-right:70px}
.game471__statistics>small{color:#f47700;font-size:10px;font-weight:950;letter-spacing:.12em}
.game471__statistics h2{margin:0}
.game471__statistics>p{margin:0;color:#bbb;line-height:1.45}
.game471__statistics-players{display:grid;gap:7px}
.game471__statistics-player{
  display:flex;justify-content:space-between;gap:12px;padding:10px 12px;
  border:1px solid #343434;border-radius:12px;background:#141414
}
.game471__statistics-player strong:last-child{color:#ff9b38}
.game471__statistics-highest{padding:12px;border-radius:12px;background:#2b180a;color:#ffd2a6!important;font-weight:850}
.game471__statistics-rounds{display:grid;gap:5px;margin:0;padding-left:24px;color:#aaa}
.game471__dialog{
  width:min(92vw,520px);padding:0;border:1px solid #ef8423;border-radius:18px;
  color:#fff;background:#111;box-shadow:0 24px 70px rgba(0,0,0,.75)
}
.game471__dialog::backdrop{background:rgba(0,0,0,.78)}
.game471__dialog form{display:grid;gap:10px;padding:20px}
.game471__dialog small{color:#f47700;font-weight:950;letter-spacing:.1em}
.game471__dialog h2,.game471__dialog p{margin:0}
.game471__dialog p{color:#bbb;line-height:1.45}
.game471__dialog button{width:100%;min-height:48px}
