#diceView .dd-switch, #diceView .dd-root {
  --dd-panel: #101a2c; --dd-panel-2: #0a0e18; --dd-line: rgba(88, 166, 255, .22); --dd-line-2: rgba(255, 255, 255, .08);
  --dd-accent: #58A6FF; --dd-accent-ink: #0b1630; --dd-text: #fff; --dd-muted: rgba(255, 255, 255, .64);
  --dd-win: #22C55E; --dd-lose: #ff6b6b; --dd-cta: linear-gradient(180deg, #FFDD5C 0%, #FFC93C 100%); --dd-cta-ink: #4a2e00;
  --dd-font: 'Baloo 2', 'Syne', system-ui, sans-serif; --dd-mono: 'DM Mono', ui-monospace, monospace;
}
body.season-halloween #diceView .dd-switch, body.season-halloween #diceView .dd-root {
  --dd-panel: #1F1A2A; --dd-panel-2: #17131F; --dd-line: rgba(255, 160, 72, .26); --dd-accent: #FFA048; --dd-accent-ink: #2a1204;
}

#diceView .dd-switch {
  position: relative; z-index: 2; display: flex; gap: 4px; width: min(440px, 100%); margin: 12px auto 0;
  padding: 4px; background: var(--dd-panel-2); border: 1px solid var(--dd-line-2); border-radius: 14px !important;
}
#diceView .dd-switch button {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; position: relative;
  border: 0; background: transparent; color: var(--dd-muted); font: 800 15px/1 var(--dd-font); letter-spacing: .02em; cursor: pointer;
  border-radius: 10px !important; transition: background-color .16s ease, color .16s ease;
}
#diceView .dd-switch button.is-on { background: var(--dd-panel); color: var(--dd-text); box-shadow: inset 0 0 0 1px var(--dd-line); }
#diceView .dd-switch button:focus-visible { outline: 2px solid var(--dd-accent); outline-offset: 2px; }
#diceView .dice-main-col > .dd-switch { margin: 0 auto; order: 0; }
#diceView .dd-ico { width: 18px; height: 18px; }
#diceView .dd-dot {
  position: absolute; top: 9px; right: calc(50% - 46px); width: 8px; height: 8px; border-radius: 50% !important;
  background: var(--dd-accent); box-shadow: 0 0 0 2px var(--dd-panel-2);
}

#diceView .dd-root { display: none; }
#diceView.dd-on .dd-root { display: block; }
#diceView.dd-on #diceTray, #diceView.dd-on #diceSpinOverlay { display: none !important; }

.dd-root { width: min(560px, 100%); margin: 12px auto 40px; color: var(--dd-text); font-family: var(--dd-font); }
.dd-card {
  position: relative; margin: 0 0 12px; padding: 18px 16px; overflow: hidden;
  background: radial-gradient(ellipse at 50% -30%, rgba(88, 166, 255, .10) 0%, transparent 60%), linear-gradient(165deg, var(--dd-panel) 0%, var(--dd-panel-2) 100%);
  border: 1px solid var(--dd-line); border-radius: 22px !important; box-shadow: 0 18px 40px rgba(0, 0, 0, .42);
}
body.season-halloween .dd-card { background: radial-gradient(ellipse at 50% -30%, rgba(255, 160, 72, .10) 0%, transparent 60%), linear-gradient(165deg, var(--dd-panel) 0%, var(--dd-panel-2) 100%); }
.dd-loading, .dd-empty { color: var(--dd-muted); font-size: 15px; text-align: center; padding: 18px 8px; }
.dd-card.dd-empty, .dd-card.dd-loading { padding: 28px 16px; }

.dd-title { margin: 0 0 6px; font: 800 26px/1.1 var(--dd-font); text-align: center; }
.dd-title-sm { font-size: 20px; margin: 0; flex: 1; text-align: center; padding-right: 64px; }
.dd-lead { margin: 0 auto 14px; max-width: 34ch; color: var(--dd-muted); font-size: 15px; line-height: 1.4; text-align: center; }
.dd-h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 800 17px/1.2 var(--dd-font); }
.dd-count { min-width: 24px; padding: 2px 7px; font: 700 12px/1.4 var(--dd-mono); color: var(--dd-accent); background: rgba(255, 255, 255, .06); border-radius: 8px !important; text-align: center; }
.dd-note { margin: 12px 0 0; color: var(--dd-muted); font-size: 13px; line-height: 1.45; text-align: center; font-family: 'Syne', system-ui, sans-serif; }

.dd-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.dd-facts li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; background: rgba(255, 255, 255, .04); border: 1px solid var(--dd-line-2); border-radius: 14px !important; text-align: center; }
.dd-facts b { font: 800 17px/1.1 var(--dd-font); color: var(--dd-accent); }
.dd-facts span { font-size: 12px; line-height: 1.25; color: var(--dd-muted); }

.dd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px;
  border: 1px solid var(--dd-line); background: rgba(255, 255, 255, .06); color: var(--dd-text);
  font: 800 16px/1 var(--dd-font); letter-spacing: .02em; cursor: pointer; border-radius: 14px !important;
  transition: transform .12s ease, opacity .15s ease, background-color .15s ease;
}
.dd-btn:active { transform: translateY(1px) scale(.99); }
.dd-btn:focus-visible { outline: 2px solid var(--dd-accent); outline-offset: 2px; }
.dd-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.dd-btn.is-busy { opacity: .7; }
.dd-btn-main { width: 100%; min-height: 54px; border: 0; background: var(--dd-cta); color: var(--dd-cta-ink); font-size: 19px; box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
.dd-btn-main:disabled { background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .35); box-shadow: none; }
.dd-btn-sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
.dd-btn-ghost { background: transparent; }
.dd-back {
  min-height: 44px; min-width: 64px; padding: 0 8px 0 2px; border: 0; background: none; color: var(--dd-muted);
  font: 700 15px/1 var(--dd-font); cursor: pointer; text-align: left;
}
.dd-back:focus-visible { outline: 2px solid var(--dd-accent); }
.dd-top { display: flex; align-items: center; gap: 8px; margin: -6px 0 10px; }

.dd-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dd-row { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 8px 8px 10px; background: rgba(255, 255, 255, .035); border: 1px solid var(--dd-line-2); border-radius: 16px !important; }
.dd-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dd-row-name { font: 800 15px/1.15 var(--dd-font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-row-sub { font-size: 12.5px; color: var(--dd-muted); font-family: var(--dd-mono); }
.dd-row-items { display: flex; gap: 4px; min-height: 26px; }
.dd-row-val { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.dd-row-val b { font: 800 16px/1 var(--dd-mono); }
.dd-row-val span { font-size: 11px; color: var(--dd-muted); font-family: var(--dd-mono); }
.dd-thumb { width: 26px; height: 26px; display: inline-grid; place-items: center; background: rgba(0, 0, 0, .28); border-radius: 7px !important; overflow: hidden; flex-shrink: 0; }
.dd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.dd-more { font: 700 11px/1 var(--dd-mono); color: var(--dd-muted); }
.dd-ava { width: 38px; height: 38px; flex-shrink: 0; display: inline-grid; place-items: center; overflow: hidden; border-radius: 50% !important; background: rgba(255, 255, 255, .08); border: 1px solid var(--dd-line); font: 800 16px/1 var(--dd-font); color: var(--dd-accent); }
.dd-ava img { width: 100%; height: 100%; object-fit: cover; }
.dd-ava-wait { color: var(--dd-muted); }
.dd-hres { font: 800 16px/1 var(--dd-mono); flex-shrink: 0; }
.dd-hrow.is-win .dd-hres { color: var(--dd-win); }
.dd-hrow.is-lose .dd-hres { color: var(--dd-lose); }
.dd-hrow.is-back .dd-hres { color: var(--dd-muted); font-size: 13px; }

.dd-vs-line { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 6px; }
.dd-vs-items { margin: 0 0 10px 48px; }
.dd-need { padding: 10px 12px; margin: 0 0 10px; font-size: 14px; text-align: center; color: var(--dd-muted); background: rgba(255, 255, 255, .04); border: 1px dashed var(--dd-line); border-radius: 12px !important; }
.dd-need b { color: var(--dd-text); font-family: var(--dd-mono); }
.dd-need.is-ok { border-style: solid; border-color: rgba(34, 197, 94, .5); color: var(--dd-text); }
.dd-auto { width: 100%; margin: 0 0 10px; }
.dd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-height: min(52vh, 440px); overflow-y: auto; overscroll-behavior: contain; padding: 2px; }
.dd-item {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 112px; padding: 8px 6px 6px;
  border: 1px solid var(--dd-line-2); background: rgba(255, 255, 255, .035); color: var(--dd-text); cursor: pointer; border-radius: 14px !important;
  font-family: var(--dd-font); transition: background-color .14s ease, box-shadow .14s ease;
}
.dd-item.is-sel { background: rgba(88, 166, 255, .14); box-shadow: inset 0 0 0 2px var(--dd-accent); }
body.season-halloween .dd-item.is-sel { background: rgba(255, 160, 72, .14); }
.dd-item.is-off { opacity: .4; }
.dd-item:focus-visible { outline: 2px solid var(--dd-accent); outline-offset: 1px; }
.dd-item-img { width: 52px; height: 52px; display: grid; place-items: center; }
.dd-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dd-item-name { width: 100%; font-size: 12px; font-weight: 700; line-height: 1.15; text-align: center; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dd-item-val { font: 700 12.5px/1 var(--dd-mono); color: var(--dd-accent); }
.dd-item-tag { position: absolute; top: 4px; left: 4px; padding: 2px 5px; font: 700 9.5px/1.1 var(--dd-mono); color: #ffd08a; background: rgba(0, 0, 0, .55); border-radius: 6px !important; }
.dd-pick-bar { position: sticky; bottom: 0; display: flex; flex-direction: column; gap: 10px; margin: 12px -16px -18px; padding: 12px 16px 16px; background: linear-gradient(180deg, rgba(10, 14, 24, .0), var(--dd-panel-2) 22%); }
.dd-sum { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 8px; font-size: 14px; color: var(--dd-muted); }
.dd-sum b { font: 800 18px/1 var(--dd-mono); color: var(--dd-text); }
.dd-sum-fee { width: 100%; text-align: center; font-size: 12.5px; }

.dd-duel { padding-bottom: 16px; }
.dd-pot { margin-left: auto; font-size: 14px; color: var(--dd-muted); }
.dd-pot b { color: var(--dd-text); font-family: var(--dd-mono); }
.dd-player { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--dd-line-2); border-radius: 16px !important; transition: box-shadow .2s ease, background-color .2s ease; }
.dd-player.is-top { margin-bottom: 10px; }
.dd-player.is-bottom { margin-top: 10px; }
.dd-player.is-hot { background: rgba(34, 197, 94, .12); box-shadow: inset 0 0 0 2px rgba(34, 197, 94, .7); }
.dd-player-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dd-player-name { font: 800 15px/1.15 var(--dd-font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-player-name em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--dd-accent-ink); background: var(--dd-accent); padding: 1px 6px; margin-left: 4px; border-radius: 6px !important; vertical-align: 2px; }
.dd-player-sub { font: 600 13px/1.2 var(--dd-mono); color: var(--dd-muted); }
.dd-player-val { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.dd-player-val b { font: 800 15px/1 var(--dd-mono); }
.dd-player-val span { font-size: 10.5px; color: var(--dd-muted); font-family: var(--dd-mono); }
.dd-player.is-wait .dd-player-name { color: var(--dd-muted); }

.dd-table { position: relative; margin-left: 50%; transform: translateX(-50%); overflow: hidden; }
.dd-table-img, .dd-die img, .dd-shadow { image-rendering: pixelated; image-rendering: crisp-edges; }
.dd-table-img { display: block; }
.dd-layer { position: absolute; inset: 0; }
.dd-die { position: absolute; left: 0; top: 0; overflow: hidden; will-change: transform; }
.dd-die img { display: block; max-width: none; will-change: transform; }
.dd-shadow { position: absolute; left: 0; top: 0; max-width: none; will-change: transform, opacity; }
.dd-die.is-fade { animation: ddFade .35s ease-out both; }
.dd-die.is-out, .dd-shadow.is-out { opacity: 0 !important; transition: opacity .24s ease; }
.dd-msg {
  position: absolute; left: 50%; top: 50%; padding: 8px 14px; max-width: 90%; text-align: center;
  font: 800 15px/1.2 var(--dd-font); color: #fff; background: rgba(10, 8, 18, .86); border: 1px solid var(--dd-line); border-radius: 12px !important;
  transform: translate(-50%, -50%) scale(.9); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
}
.dd-msg.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.dd-result:empty { display: none; }
.dd-result { margin-top: 12px; }
.dd-plate { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 12px; text-align: center; border-radius: 16px !important; }
.dd-plate b { font: 800 22px/1.1 var(--dd-font); }
.dd-plate span { font-size: 14px; color: var(--dd-muted); }
.dd-plate.is-win { background: rgba(34, 197, 94, .14); border: 1px solid rgba(34, 197, 94, .55); }
.dd-plate.is-win b { color: var(--dd-win); }
.dd-plate.is-lose { background: rgba(255, 107, 107, .10); border: 1px solid rgba(255, 107, 107, .4); }
.dd-plate.is-back { background: rgba(255, 255, 255, .05); border: 1px solid var(--dd-line-2); font-size: 15px; }
.dd-plate.is-pop { animation: ddPop .42s cubic-bezier(.2, 1.4, .4, 1) both; }
.dd-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.dd-actions:empty { display: none; }

@keyframes ddPop { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: scale(1); } }
@keyframes ddFade { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 760px) {
  .dd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dd-card { padding: 22px 22px; }
  .dd-pick-bar { margin: 12px -22px -22px; padding: 12px 22px 20px; flex-direction: row; align-items: center; }
  .dd-pick-bar .dd-sum { flex: 1; justify-content: flex-start; }
  .dd-pick-bar .dd-sum-fee { text-align: left; }
  .dd-pick-bar .dd-btn-main { width: auto; min-width: 220px; }
  .dd-actions { flex-direction: row; }
  .dd-actions .dd-btn { flex: 1; }
}
@media (max-width: 359px) {
  .dd-facts span { font-size: 11px; }
  .dd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .dd-plate.is-pop, .dd-die.is-fade { animation: none; }
  .dd-msg, .dd-btn, .dd-switch button { transition: none; }
}

.dd-root img.is-broken { visibility: hidden; }

.dd-face { position: relative; display: inline-block; flex-shrink: 0; overflow: hidden; vertical-align: middle; }
.dd-face img { display: block; max-width: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.dd-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 3px; font: 700 12px/1.2 var(--dd-font); color: var(--dd-text);
  background: rgba(255, 255, 255, .06); border: 1px solid color-mix(in srgb, var(--dd-c) 55%, transparent); border-radius: 8px !important; white-space: nowrap; }

.dd-rules { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.dd-rules li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; font-size: 14px; line-height: 1.3; color: var(--dd-muted);
  background: rgba(255, 255, 255, .035); border: 1px solid var(--dd-line-2); border-radius: 12px !important; }
.dd-rules b { color: var(--dd-text); }
.dd-lead b { color: var(--dd-text); }
.dd-note-left { text-align: left; }

.dd-row-meta { display: flex; align-items: center; gap: 6px; min-width: 0; }
.dd-row-meta .dd-row-items { display: flex; gap: 4px; min-width: 0; overflow: hidden; }
.dd-row.is-blocked { opacity: .62; }
.dd-hrow > .dd-face { margin-left: 2px; }

.dd-colors { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.dd-colors legend { padding: 0; margin: 0 0 8px; font: 800 17px/1.2 var(--dd-font); color: var(--dd-text); }
.dd-color-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dd-color { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 68px; padding: 8px 4px; cursor: pointer;
  color: var(--dd-text); font: 800 13.5px/1.1 var(--dd-font); text-align: center; background: rgba(255, 255, 255, .035);
  border: 1px solid var(--dd-line-2); border-radius: 14px !important; transition: background-color .14s ease, box-shadow .14s ease; }
.dd-color.is-sel { background: color-mix(in srgb, var(--dd-c) 16%, transparent); box-shadow: inset 0 0 0 2px var(--dd-c); }
.dd-color:disabled { opacity: .45; cursor: not-allowed; }
.dd-color:focus-visible { outline: 2px solid var(--dd-accent); outline-offset: 2px; }
.dd-color-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dd-color-tag { font: 700 11px/1 var(--dd-mono); color: var(--dd-muted); }
.dd-h3-sm { font-size: 15px; margin-bottom: 8px; }
.dd-vs-text { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.dd-item-tag.is-held { color: #b9e2ff; }
.dd-sum .dd-chip { align-self: center; }

.dd-player { box-shadow: inset 3px 0 0 var(--dd-c, transparent); }
.dd-player-sub { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dd-player-sub .dd-player-val { display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; font: 700 12.5px/1 var(--dd-mono); color: var(--dd-muted); white-space: nowrap; }
.dd-pipbox { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; }
.dd-pips { display: flex; gap: 4px; }
.dd-pip { position: relative; width: 28px; height: 28px; }
.dd-pip .dd-face { position: absolute; left: 0; top: 0; }
.dd-pip .is-f { opacity: 0; }
.dd-pip.is-on .is-f { opacity: 1; }
.dd-pip.is-pop .is-f { animation: ddPip .36s ease-out both; }
.dd-mp { font: 700 11px/1 var(--dd-mono); color: var(--dd-c); opacity: 0; letter-spacing: .02em; }
.dd-player.is-mp .dd-mp { opacity: 1; animation: ddBlink 1.1s ease-in-out infinite; }
.dd-player.is-out { opacity: .6; }
.dd-player.is-hot { background: rgba(34, 197, 94, .12); box-shadow: inset 3px 0 0 var(--dd-c), inset 0 0 0 2px rgba(34, 197, 94, .7); }

.dd-dim { position: absolute; inset: 0; background: rgba(8, 4, 20, .55); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.dd-dim.is-on { opacity: 1; }
.dd-fx { position: absolute; left: 0; top: 0; overflow: hidden; pointer-events: none; will-change: transform; }
.dd-fx img { display: block; image-rendering: pixelated; image-rendering: crisp-edges; will-change: transform; }
.dd-fx.is-confetti { z-index: 3; }
.dd-die.is-final { z-index: 1; }
.dd-msg { top: 8px; transform: translate(-50%, -4px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; z-index: 4; }
.dd-msg.is-on { transform: translate(-50%, 0); }
.dd-msg.is-me { border-color: rgba(34, 197, 94, .7); }
.dd-msg.is-rival { border-color: rgba(255, 107, 107, .55); }
.dd-msg.is-rainbow { border-color: #FFD93D; }
.dd-msg.is-ghost { border-color: #B073FF; }
.dd-msg.is-ot { border-color: var(--dd-accent); }
.dd-msg.is-big { font-size: 18px; padding: 9px 16px; }
.dd-trail { display: flex; justify-content: flex-start; gap: 4px; height: 28px; max-width: 100%; margin: 10px auto 0; overflow: hidden; will-change: transform; }
.dd-trail .dd-face { animation: ddFade .2s ease-out both; }

@keyframes ddPip { 0% { transform: translateY(-8px); } 55% { transform: translateY(2px); } 80% { transform: translateY(-2px); } 100% { transform: translateY(0); } }
@keyframes ddBlink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

@media (max-width: 359px) {
  .dd-pips { gap: 2px; }
  .dd-player-sub .dd-player-val { display: none; }
  .dd-color-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .dd-pip.is-pop .is-f, .dd-player.is-mp .dd-mp, .dd-trail .dd-face { animation: none; }
  .dd-dim { transition: none; }
}

.dd-head { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; margin: -4px 0 4px; }
.dd-head .dd-title { grid-column: 2; margin: 0; }
.dd-help {
  grid-column: 3; justify-self: end; position: relative; width: 32px; height: 32px; padding: 0; cursor: pointer;
  font: 900 18px/1 var(--dd-font); color: var(--dd-text); background: rgba(255, 255, 255, .06);
  border: 2px solid var(--dd-line); border-radius: 10px !important; transition: border-color .14s ease, transform .12s ease;
}
.dd-help::before { content: ''; position: absolute; inset: -8px; }
.dd-help:hover { border-color: var(--dd-accent); }
.dd-help:active { transform: translateY(1px); }
.dd-help:focus-visible { outline: 2px solid var(--dd-accent); outline-offset: 2px; }
body.season-halloween .dd-help { background: #2A2238; border-color: #4A3F62; color: #F6EEDB; border-radius: 0 !important; box-shadow: 0 3px 0 #120E1C; }
body.season-halloween .dd-help:hover { border-color: #FFA048; }
.dd-lead { margin-bottom: 12px; }
.dd-strip { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 0 0 16px; }
.dd-strip-k { display: inline-flex; }
.dd-strip-k.is-sp { margin-left: 8px; }
.dd-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 12px 0 0; font-size: 13px; line-height: 1.35; color: var(--dd-muted); }
.dd-meta b { color: var(--dd-text); }
.dd-btn.is-off { opacity: .5; }
.dd-actions .dd-skip { color: var(--dd-muted); }
.dd-hot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s ease;
  box-shadow: inset 0 0 0 2px var(--dd-accent), inset 0 0 0 4px color-mix(in srgb, var(--dd-accent) 40%, transparent), inset 0 0 0 7px color-mix(in srgb, var(--dd-accent) 16%, transparent); }
.dd-hot.is-on { opacity: 1; animation: ddHot 1.2s steps(4, end) infinite; }
@keyframes ddHot { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.dd-msg.is-ot { color: var(--dd-accent); }
.dd-msg.is-miss { color: var(--dd-muted); font-size: 13px; padding: 6px 12px; }
.dd-duel { position: relative; }
.dd-chipfly { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; will-change: transform; }
.dd-chipfly .dd-face { display: block; }
.dd-fx.is-dust { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .dd-hot.is-on { animation: none; } .dd-hot, .dd-help { transition: none; } }

.dd-pips { position: relative; align-items: center; }
.dd-ot { position: absolute; right: -7px; top: -9px; z-index: 1; display: grid; place-items: center; min-width: 22px; height: 18px; padding: 0 3px;
  font: 800 11px/1 var(--dd-mono); color: #120E1C; background: var(--dd-c); box-shadow: inset 0 0 0 2px #120E1C; }
.dd-ot.is-empty { visibility: hidden; }
.dd-ot.is-pop { animation: ddPip .36s ease-out both; }
@media (prefers-reduced-motion: reduce) { .dd-ot.is-pop { animation: none; } }
.dd-trail .dd-face.is-gone { opacity: 0; transition: opacity .2s ease-out; }

.dd-player { position: relative; }
.dd-player::after { content: ''; position: absolute; inset: -1px; pointer-events: none; opacity: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--dd-c, #fff), inset 0 0 0 5px color-mix(in srgb, var(--dd-c, #fff) 35%, transparent), inset 0 0 22px color-mix(in srgb, var(--dd-c, #fff) 28%, transparent); }
.dd-player.is-score::after { animation: ddScore 1.25s steps(1, end) both; }
@keyframes ddScore { 0% { opacity: 1; } 16% { opacity: .3; } 28% { opacity: 1; } 44% { opacity: .3; } 56% { opacity: 1; } 100% { opacity: 0; } }
.dd-pipbox { position: relative; }
.dd-plus { position: absolute; right: 4px; top: -8px; z-index: 3; font: 800 15px/1 var(--dd-mono); color: color-mix(in srgb, var(--dd-c, #fff) 70%, #fff); pointer-events: none; white-space: nowrap;
  text-shadow: 2px 0 0 #120E1C, -2px 0 0 #120E1C, 0 2px 0 #120E1C, 0 -2px 0 #120E1C, 2px 2px 0 #120E1C, -2px 2px 0 #120E1C, 2px -2px 0 #120E1C, -2px -2px 0 #120E1C;
  animation: ddPlus .9s ease-out both; }
@keyframes ddPlus { 0% { opacity: 0; transform: translateY(6px); } 20% { opacity: 1; transform: translateY(0); } 70% { opacity: 1; transform: translateY(-6px); } 100% { opacity: 0; transform: translateY(-10px); } }
.dd-markfx { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; will-change: opacity; animation: ddPickIn .42s steps(1, end) both; }
.dd-markfx svg { display: block; }
@keyframes ddPickIn { 0% { opacity: 1; } 33% { opacity: .35; } 66% { opacity: 1; } 100% { opacity: 1; } }
.dd-fx.is-ghost { z-index: 3; }
.dd-msg .dd-arrw { display: inline-block; margin-right: 7px; vertical-align: 0; line-height: 0; }
.dd-msg .dd-arrw + .dd-arrw { margin-left: -3px; }
.dd-arr { display: block; fill: currentColor; }
@media (prefers-reduced-motion: reduce) { .dd-player.is-score::after, .dd-plus, .dd-markfx { animation: none; } .dd-plus { display: none; } }
