/* DCC NFT Slot Test — public UI */
.dcc-nst-app {
    --dcc-nst-accent: #f7c948;
    --dcc-nst-accent-rgb: 247, 201, 72;
    --dcc-nst-violet: #7b52ff;
    --dcc-nst-ink: #f8f5ff;
    --dcc-nst-muted: #b7aec9;
    width: 100%;
    color: #211b2d;
    font-family: Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

.dcc-nst-app,
.dcc-nst-app * {
    box-sizing: border-box;
}

.dcc-nst-app button,
.dcc-nst-app input {
    font: inherit;
}

.dcc-nst-app button {
    -webkit-tap-highlight-color: transparent;
}

.dcc-nst-entry {
    position: relative;
    isolation: isolate;
    width: min(100%, 430px);
    margin: 18px auto;
    padding: 22px 20px 20px;
    overflow: hidden;
    border: 1px solid rgba(91, 65, 130, .18);
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 20% 0%, rgba(247, 201, 72, .28), transparent 28%),
        radial-gradient(circle at 90% 28%, rgba(125, 82, 255, .34), transparent 35%),
        linear-gradient(155deg, #1d142c 0%, #120d1d 54%, #24143a 100%);
    box-shadow: 0 24px 70px rgba(28, 15, 50, .24);
}

.dcc-nst-entry::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .34;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 75%);
}

.dcc-nst-entry-glow {
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: -180px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(var(--dcc-nst-accent-rgb), .25), transparent 64%);
    filter: blur(2px);
}

.dcc-nst-entry-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dcc-nst-entry-badge,
.dcc-nst-entry-status {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    color: #dcd4e9;
    background: rgba(255, 255, 255, .07);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    backdrop-filter: blur(8px);
}

.dcc-nst-entry-status {
    gap: 6px;
    color: #baf6d4;
}

.dcc-nst-entry-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4fe28a;
    box-shadow: 0 0 0 4px rgba(79, 226, 138, .13), 0 0 12px rgba(79, 226, 138, .45);
}

.dcc-nst-entry-logo {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 25px auto 16px;
}

.dcc-nst-entry-logo span {
    display: grid;
    place-items: center;
    width: 50px;
    height: 57px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 14px;
    color: #1c1427;
    background:
        linear-gradient(145deg, #fff4b9, var(--dcc-nst-accent));
    font-size: 25px;
    font-weight: 950;
    line-height: 1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .7),
        0 9px 22px rgba(var(--dcc-nst-accent-rgb), .2);
    transform: rotate(-3deg);
}

.dcc-nst-entry-logo span:nth-child(2) {
    transform: translateY(-6px) rotate(2deg);
    background: linear-gradient(145deg, #d7c6ff, #8f64ff);
}

.dcc-nst-entry-logo span:nth-child(3) {
    transform: rotate(4deg);
}

.dcc-nst-entry h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(27px, 8vw, 36px);
    font-weight: 900;
    line-height: 1.18;
    text-align: center;
    letter-spacing: -.045em;
}

.dcc-nst-entry > p {
    max-width: 330px;
    margin: 10px auto 18px;
    color: #cfc6dc;
    font-size: 14px;
    line-height: 1.65;
    text-align: center;
    word-break: keep-all;
}

.dcc-nst-entry-preview {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: min(100%, 320px);
    margin: 0 auto;
    padding: 10px;
    border: 2px solid rgba(var(--dcc-nst-accent-rgb), .68);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(15, 10, 24, .96), rgba(42, 25, 64, .96));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .09),
        0 18px 35px rgba(0, 0, 0, .25);
}

.dcc-nst-entry-preview::before,
.dcc-nst-entry-preview::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    width: 42px;
    height: 74%;
    border-radius: 12px;
    transform: translateY(-50%);
    background: linear-gradient(180deg, #7851ff, #39216c);
    opacity: .55;
}

.dcc-nst-entry-preview::before { left: -12px; }
.dcc-nst-entry-preview::after { right: -12px; }

.dcc-nst-entry-preview span {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 10px;
    background: #2d2340;
}

.dcc-nst-entry-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dcc-nst-entry-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin: 17px 0 14px;
}

.dcc-nst-entry-features span {
    display: grid;
    place-items: center;
    min-height: 49px;
    padding: 6px 4px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 13px;
    color: #bfb6cc;
    background: rgba(255, 255, 255, .055);
    font-size: 10px;
    line-height: 1.25;
    text-align: center;
}

.dcc-nst-entry-features b {
    display: block;
    color: var(--dcc-nst-accent);
    font-size: 15px;
    font-weight: 900;
}

.dcc-nst-start-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 0 18px;
    border: 0;
    border-radius: 17px;
    color: #21172e;
    background: linear-gradient(180deg, #ffe993, var(--dcc-nst-accent));
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .7),
        inset 0 -3px 0 rgba(109, 72, 3, .18),
        0 13px 28px rgba(var(--dcc-nst-accent-rgb), .22);
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .16s ease, filter .16s ease;
}

.dcc-nst-start-button:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.dcc-nst-start-button:active {
    transform: translateY(2px) scale(.99);
}

.dcc-nst-start-button i {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    color: #fff;
    background: #251832;
    font-size: 10px;
    font-style: normal;
    text-indent: 2px;
}

.dcc-nst-entry > small {
    display: block;
    margin-top: 10px;
    color: #8e849f;
    font-size: 10px;
    text-align: center;
}

html.dcc-nst-page-locked,
html.dcc-nst-page-locked body {
    overscroll-behavior: none !important;
    touch-action: none;
}

.dcc-nst-overlay[hidden] {
    display: none !important;
}

.dcc-nst-overlay {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--dcc-nst-ink);
    background: #030205;
    opacity: 0;
    transition: opacity .22s ease;
    user-select: none;
    -webkit-user-select: none;
}

.dcc-nst-overlay.is-open {
    opacity: 1;
}

.dcc-nst-viewport {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto auto;
    width: min(100vw, 430px, calc(100dvh * .5625));
    aspect-ratio: 9 / 16;
    max-height: 100dvh;
    overflow: hidden;
    border: 0;
    color: #fff;
    background:
        radial-gradient(circle at 20% 0%, rgba(var(--dcc-nst-accent-rgb), .21), transparent 28%),
        radial-gradient(circle at 90% 26%, rgba(126, 77, 255, .28), transparent 34%),
        linear-gradient(180deg, #1d1129 0%, #0c0813 48%, #171021 100%);
    box-shadow: 0 0 70px rgba(0, 0, 0, .8);
    transform: scale(.985);
    transition: transform .22s ease;
    contain: layout paint;
}

.dcc-nst-overlay.is-open .dcc-nst-viewport {
    transform: scale(1);
}

.dcc-nst-background {
    position: absolute;
    z-index: -4;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: .26;
    filter: saturate(.82) brightness(.68);
}

.dcc-nst-viewport::before {
    content: "";
    position: absolute;
    z-index: -3;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}

.dcc-nst-viewport::after {
    content: "";
    position: absolute;
    z-index: -2;
    left: 50%;
    bottom: -32%;
    width: 118%;
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(var(--dcc-nst-accent-rgb), .14);
    background: radial-gradient(circle, rgba(var(--dcc-nst-accent-rgb), .13), transparent 63%);
}

.dcc-nst-header {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 8px;
    min-height: clamp(48px, 7.1dvh, 58px);
    padding: max(7px, env(safe-area-inset-top)) 12px 5px;
}

.dcc-nst-icon-button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
    font-size: 29px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.dcc-nst-icon-button:active {
    transform: scale(.94);
}

.dcc-nst-sound-button {
    justify-self: end;
    font-size: 17px;
    font-weight: 800;
}

.dcc-nst-sound-button[aria-pressed="false"] {
    color: #8e869d;
}

.dcc-nst-sound-button[aria-pressed="false"]::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #db6676;
    transform: rotate(-45deg);
}

.dcc-nst-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    text-align: center;
}

.dcc-nst-brand-image {
    display: block;
    width: auto;
    max-width: 168px;
    height: 39px;
    object-fit: contain;
}

.dcc-nst-brand-image[hidden],
.dcc-nst-brand-text[hidden] {
    display: none !important;
}

.dcc-nst-brand-text {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.dcc-nst-brand-text strong {
    overflow: hidden;
    color: #fff;
    font-size: clamp(18px, 5.4vw, 24px);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.035em;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 3px 17px rgba(var(--dcc-nst-accent-rgb), .22);
}

.dcc-nst-brand-text span {
    overflow: hidden;
    color: var(--dcc-nst-accent);
    font-size: clamp(7px, 2.1vw, 9px);
    font-weight: 850;
    letter-spacing: .17em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcc-nst-hud {
    display: grid;
    grid-template-columns: 1.25fr .85fr 1fr;
    gap: 6px;
    padding: 2px 12px 7px;
}

.dcc-nst-hud > div {
    display: grid;
    place-items: center;
    min-height: clamp(42px, 6.5dvh, 51px);
    padding: 4px 5px;
    border: 1px solid rgba(255, 255, 255, .105);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}

.dcc-nst-hud span {
    color: #91899f;
    font-size: clamp(7px, 2vw, 9px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: .08em;
}

.dcc-nst-hud strong {
    max-width: 100%;
    overflow: hidden;
    color: #fff;
    font-variant-numeric: tabular-nums;
    font-size: clamp(13px, 4vw, 18px);
    font-weight: 900;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcc-nst-hud > div:first-child strong {
    color: #fff1ad;
}

.dcc-nst-game-main {
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 6px;
    padding: 0 11px;
}

.dcc-nst-board-wrap {
    position: relative;
    align-self: center;
    justify-self: center;
    width: min(100%, calc(100dvh * .48));
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: clamp(9px, 2.6vw, 13px);
    border: 2px solid rgba(var(--dcc-nst-accent-rgb), .78);
    border-radius: clamp(18px, 5vw, 25px);
    background:
        linear-gradient(145deg, rgba(66, 43, 87, .96), rgba(17, 11, 25, .98));
    box-shadow:
        inset 0 0 0 2px rgba(255,255,255,.07),
        inset 0 0 30px rgba(var(--dcc-nst-accent-rgb), .08),
        0 18px 35px rgba(0, 0, 0, .38),
        0 0 30px rgba(var(--dcc-nst-accent-rgb), .09);
}

.dcc-nst-board-wrap::before,
.dcc-nst-board-wrap::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 17%;
    bottom: 17%;
    width: 21px;
    border: 1px solid rgba(var(--dcc-nst-accent-rgb), .58);
    background: linear-gradient(180deg, #603f8c, #281839);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.05);
}

.dcc-nst-board-wrap::before {
    left: -13px;
    border-radius: 12px 3px 3px 12px;
}

.dcc-nst-board-wrap::after {
    right: -13px;
    border-radius: 3px 12px 12px 3px;
}

.dcc-nst-marquee {
    position: absolute;
    z-index: 3;
    inset: 3px;
    pointer-events: none;
}

.dcc-nst-marquee i {
    position: absolute;
    width: clamp(4px, 1.6vw, 7px);
    height: clamp(4px, 1.6vw, 7px);
    border-radius: 50%;
    background: rgba(255, 238, 172, .9);
    box-shadow: 0 0 7px rgba(var(--dcc-nst-accent-rgb), .75);
    animation: dccNstBulb 1.4s infinite alternate;
}

.dcc-nst-marquee i:nth-child(1) { left: 7%; top: 0; }
.dcc-nst-marquee i:nth-child(2) { left: 20%; top: 0; animation-delay: .1s; }
.dcc-nst-marquee i:nth-child(3) { left: 34%; top: 0; animation-delay: .2s; }
.dcc-nst-marquee i:nth-child(4) { left: 48%; top: 0; animation-delay: .3s; }
.dcc-nst-marquee i:nth-child(5) { left: 62%; top: 0; animation-delay: .4s; }
.dcc-nst-marquee i:nth-child(6) { left: 76%; top: 0; animation-delay: .5s; }
.dcc-nst-marquee i:nth-child(7) { left: 90%; top: 0; animation-delay: .6s; }
.dcc-nst-marquee i:nth-child(8) { right: 0; top: 14%; animation-delay: .7s; }
.dcc-nst-marquee i:nth-child(9) { right: 0; top: 37%; animation-delay: .8s; }
.dcc-nst-marquee i:nth-child(10) { right: 0; top: 61%; animation-delay: .9s; }
.dcc-nst-marquee i:nth-child(11) { right: 0; top: 84%; animation-delay: 1s; }
.dcc-nst-marquee i:nth-child(12) { left: 90%; bottom: 0; animation-delay: 1.1s; }
.dcc-nst-marquee i:nth-child(13) { left: 76%; bottom: 0; animation-delay: 1.2s; }
.dcc-nst-marquee i:nth-child(14) { left: 62%; bottom: 0; animation-delay: 1.3s; }
.dcc-nst-marquee i:nth-child(15) { left: 48%; bottom: 0; }
.dcc-nst-marquee i:nth-child(16) { left: 34%; bottom: 0; animation-delay: .1s; }
.dcc-nst-marquee i:nth-child(17) { left: 20%; bottom: 0; animation-delay: .2s; }
.dcc-nst-marquee i:nth-child(18) { left: 7%; bottom: 0; animation-delay: .3s; }
.dcc-nst-marquee i:nth-child(19) { left: 0; top: 84%; animation-delay: .4s; }
.dcc-nst-marquee i:nth-child(20) { left: 0; top: 61%; animation-delay: .5s; }
.dcc-nst-marquee i:nth-child(21) { left: 0; top: 37%; animation-delay: .6s; }
.dcc-nst-marquee i:nth-child(22) { left: 0; top: 14%; animation-delay: .7s; }
.dcc-nst-marquee i:nth-child(23) { left: 0; top: 49%; animation-delay: .8s; }
.dcc-nst-marquee i:nth-child(24) { right: 0; top: 49%; animation-delay: .9s; }

@keyframes dccNstBulb {
    from { opacity: .32; transform: scale(.78); }
    to { opacity: 1; transform: scale(1); }
}

.dcc-nst-board {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: clamp(12px, 3.8vw, 18px);
    background: #100b18;
    box-shadow: inset 0 0 22px rgba(0, 0, 0, .75);
}

.dcc-nst-reels {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(3px, 1.1vw, 6px);
    padding: clamp(4px, 1.3vw, 7px);
}

.dcc-nst-reel {
    position: relative;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: clamp(3px, 1.1vw, 6px);
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
}

.dcc-nst-reel::after {
    content: "";
    position: absolute;
    z-index: 4;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(10,7,16,.22), transparent 18%, transparent 82%, rgba(10,7,16,.22));
}

.dcc-nst-cell {
    position: relative;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: clamp(7px, 2.2vw, 11px);
    background:
        linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.015)),
        #251a33;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    transform: translateZ(0);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, filter .2s ease;
}

.dcc-nst-cell img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .18s ease, filter .18s ease;
    pointer-events: none;
}

.dcc-nst-cell > span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.dcc-nst-reel.is-spinning .dcc-nst-cell {
    filter: brightness(.9);
}

.dcc-nst-reel.is-spinning .dcc-nst-cell img {
    filter: blur(2.2px) saturate(1.15);
    transform: translateY(-7%) scale(1.12);
}

.dcc-nst-reel.is-stopping {
    animation: dccNstReelStop .24s cubic-bezier(.2,.75,.35,1.4);
}

@keyframes dccNstReelStop {
    0% { transform: translateY(-3%); }
    55% { transform: translateY(2%); }
    100% { transform: translateY(0); }
}

.dcc-nst-cell.is-win {
    z-index: 3;
    border-color: #fff1a3;
    box-shadow:
        inset 0 0 0 2px rgba(var(--dcc-nst-accent-rgb), .76),
        0 0 18px rgba(var(--dcc-nst-accent-rgb), .82);
    animation: dccNstCellWin .72s ease-in-out infinite alternate;
}

.dcc-nst-cell.is-win img {
    transform: scale(1.08);
    filter: brightness(1.14) saturate(1.15);
}

@keyframes dccNstCellWin {
    from { transform: scale(1); }
    to { transform: scale(1.035); }
}

.dcc-nst-lines {
    position: absolute;
    z-index: 6;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.dcc-nst-lines path {
    fill: none;
    stroke: var(--dcc-nst-accent);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 14 10;
    opacity: 0;
    filter: drop-shadow(0 0 5px rgba(var(--dcc-nst-accent-rgb), .9));
}

.dcc-nst-lines path.is-active {
    opacity: .92;
    animation: dccNstLine .65s linear infinite;
}

@keyframes dccNstLine {
    to { stroke-dashoffset: -24; }
}

.dcc-nst-message {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: clamp(43px, 6.8dvh, 54px);
    padding: 4px 10px;
    text-align: center;
}

.dcc-nst-message strong {
    max-width: 100%;
    overflow: hidden;
    color: #fff;
    font-size: clamp(12px, 3.5vw, 15px);
    font-weight: 900;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcc-nst-message span {
    max-width: 100%;
    overflow: hidden;
    margin-top: 2px;
    color: #8f879d;
    font-size: clamp(7px, 2vw, 9px);
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcc-nst-message.is-win strong {
    color: #fff1a6;
    text-shadow: 0 0 14px rgba(var(--dcc-nst-accent-rgb), .4);
}

.dcc-nst-controls {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    gap: 12px;
    min-height: clamp(84px, 12.4dvh, 101px);
    padding: 5px 16px 7px;
}

.dcc-nst-secondary-button {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    width: 54px;
    height: 54px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 17px;
    color: #d9d0e7;
    background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
    cursor: pointer;
}

.dcc-nst-secondary-button span {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.dcc-nst-secondary-button b {
    color: #857d92;
    font-size: 7px;
    letter-spacing: .08em;
}

.dcc-nst-secondary-button:active {
    transform: scale(.94);
}

.dcc-nst-spin-button {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    justify-self: center;
    width: clamp(106px, 31vw, 132px);
    height: clamp(66px, 10.3dvh, 78px);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: #25172e;
    background:
        radial-gradient(circle at 50% 18%, #fff8c6 0%, #ffe681 28%, var(--dcc-nst-accent) 72%, #d79d1d 100%);
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.9),
        inset 0 -5px 0 rgba(90,54,0,.25),
        0 0 0 6px rgba(var(--dcc-nst-accent-rgb), .095),
        0 11px 24px rgba(0,0,0,.36),
        0 0 24px rgba(var(--dcc-nst-accent-rgb), .2);
    cursor: pointer;
    transition: transform .14s ease, filter .14s ease;
}

.dcc-nst-spin-button::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: inherit;
    pointer-events: none;
}

.dcc-nst-spin-button span {
    font-size: clamp(20px, 6vw, 27px);
    font-weight: 1000;
    line-height: .95;
    letter-spacing: -.03em;
}

.dcc-nst-spin-button small {
    margin-top: 4px;
    color: #6e4e14;
    font-size: clamp(7px, 2vw, 9px);
    font-weight: 900;
    line-height: 1;
}

.dcc-nst-spin-button:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.dcc-nst-spin-button:active,
.dcc-nst-spin-button.is-spinning {
    transform: translateY(3px) scale(.965);
}

.dcc-nst-spin-button:disabled {
    cursor: default;
    filter: saturate(.55) brightness(.77);
}

.dcc-nst-spin-button.needs-reset {
    animation: dccNstNeedReset .75s ease-in-out infinite alternate;
}

@keyframes dccNstNeedReset {
    from { box-shadow: inset 0 2px 0 rgba(255,255,255,.9), inset 0 -5px 0 rgba(90,54,0,.25), 0 0 0 6px rgba(221,76,92,.08), 0 11px 24px rgba(0,0,0,.36); }
    to { box-shadow: inset 0 2px 0 rgba(255,255,255,.9), inset 0 -5px 0 rgba(90,54,0,.25), 0 0 0 9px rgba(221,76,92,.18), 0 11px 24px rgba(0,0,0,.36); }
}

.dcc-nst-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: clamp(29px, 4.4dvh, 35px);
    padding: 1px 15px max(5px, env(safe-area-inset-bottom));
    color: #716a7c;
    font-size: clamp(6px, 1.8vw, 8px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: .08em;
}

.dcc-nst-particles {
    position: absolute;
    z-index: 20;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.dcc-nst-confetti {
    position: absolute;
    top: 42%;
    left: 50%;
    width: var(--dcc-nst-size, 7px);
    height: calc(var(--dcc-nst-size, 7px) * 1.7);
    border-radius: 2px;
    background: var(--dcc-nst-confetti, #f7c948);
    box-shadow: 0 0 5px rgba(255,255,255,.22);
    animation: dccNstConfetti var(--dcc-nst-duration, 1.2s) cubic-bezier(.2,.72,.3,1) forwards;
}

@keyframes dccNstConfetti {
    0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(.4); }
    12% { opacity: 1; }
    100% { opacity: 0; transform: translate(calc(-50% + var(--dcc-nst-x)), calc(-50% + var(--dcc-nst-y))) rotate(var(--dcc-nst-rot)) scale(1); }
}

.dcc-nst-modal[hidden] {
    display: none !important;
}

.dcc-nst-modal {
    position: absolute;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: end center;
    padding: 12px;
}

.dcc-nst-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 2, 8, .72);
    backdrop-filter: blur(7px);
}

.dcc-nst-modal-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: calc(100% - 50px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 22px 17px 17px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 23px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 0%, rgba(123,82,255,.2), transparent 30%),
        linear-gradient(160deg, #251933, #120d1b);
    box-shadow: 0 25px 70px rgba(0,0,0,.55);
    animation: dccNstModalIn .24s ease both;
    scrollbar-width: thin;
}

@keyframes dccNstModalIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.dcc-nst-modal-close {
    position: absolute;
    top: 11px;
    right: 11px;
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 11px;
    color: #d9d2e3;
    background: rgba(255,255,255,.06);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.dcc-nst-modal-card .dcc-nst-kicker {
    color: var(--dcc-nst-accent);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .17em;
}

.dcc-nst-modal-card h3 {
    margin: 4px 40px 6px 0;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.25;
}

.dcc-nst-modal-card > p {
    margin: 0 0 13px;
    color: #a9a0b6;
    font-size: 11px;
    line-height: 1.55;
}

.dcc-nst-paytable {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.dcc-nst-pay-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;
    background: rgba(255,255,255,.045);
}

.dcc-nst-pay-item img {
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 9px;
    object-fit: cover;
    background: #2b2038;
}

.dcc-nst-pay-item span {
    overflow: hidden;
    color: #d9d2e4;
    font-size: 9px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcc-nst-pay-item b {
    color: #fff1a3;
    font-size: 12px;
    font-weight: 950;
}

.dcc-nst-payline-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 10px;
}

.dcc-nst-payline-guide b {
    grid-column: 1 / -1;
    color: #fff;
    font-size: 11px;
}

.dcc-nst-payline-guide span {
    display: grid;
    place-items: center;
    min-height: 31px;
    border: 1px solid rgba(var(--dcc-nst-accent-rgb), .2);
    border-radius: 9px;
    color: #bcb2c9;
    background: rgba(var(--dcc-nst-accent-rgb), .055);
    font-size: 9px;
}

.dcc-nst-reset-card {
    place-self: center;
    width: calc(100% - 20px);
    max-width: 330px;
    overflow: visible;
    padding: 27px 20px 20px;
    text-align: center;
}

.dcc-nst-reset-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    border: 1px solid rgba(var(--dcc-nst-accent-rgb), .35);
    border-radius: 18px;
    color: var(--dcc-nst-accent);
    background: rgba(var(--dcc-nst-accent-rgb), .08);
    font-size: 28px;
}

.dcc-nst-reset-card h3 {
    margin: 0 0 7px;
}

.dcc-nst-reset-card > p {
    margin-bottom: 16px;
}

.dcc-nst-confirm-reset {
    width: 100%;
    min-height: 47px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 13px;
    color: #24172d;
    background: linear-gradient(180deg, #ffe992, var(--dcc-nst-accent));
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.dcc-nst-app button:focus-visible {
    outline: 3px solid rgba(var(--dcc-nst-accent-rgb), .7);
    outline-offset: 2px;
}

@media (min-width: 431px) {
    .dcc-nst-viewport {
        border-right: 1px solid rgba(255,255,255,.08);
        border-left: 1px solid rgba(255,255,255,.08);
    }
}

@media (max-height: 620px) {
    .dcc-nst-header {
        min-height: 43px;
        padding-top: 4px;
    }

    .dcc-nst-icon-button {
        width: 32px;
        height: 32px;
    }

    .dcc-nst-hud > div {
        min-height: 38px;
    }

    .dcc-nst-message {
        min-height: 37px;
    }

    .dcc-nst-controls {
        min-height: 75px;
    }

    .dcc-nst-spin-button {
        height: 61px;
    }

    .dcc-nst-footer {
        min-height: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dcc-nst-app *,
    .dcc-nst-app *::before,
    .dcc-nst-app *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* v1.1.0 final overrides */
.dcc-nst-secondary-button b {
    max-width: 50px;
    overflow: hidden;
    color: #9a92a6;
    font-size: 8px;
    letter-spacing: 0;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcc-nst-auto-button.is-active {
    border-color: rgba(255, 103, 124, .58);
    color: #fff;
    background: linear-gradient(180deg, rgba(255, 91, 116, .3), rgba(167, 35, 60, .18));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 4px rgba(255, 91, 116, .08), 0 0 18px rgba(255, 91, 116, .2);
    animation: dccNstAutoPulse .8s ease-in-out infinite alternate;
}

.dcc-nst-auto-button.is-active span,
.dcc-nst-auto-button.is-active b {
    color: #ffc0ca;
}

.dcc-nst-history-button span {
    font-size: 21px;
}

.dcc-nst-footer {
    gap: 5px;
    padding-right: 10px;
    padding-left: 10px;
}

.dcc-nst-footer > button {
    flex: 0 0 auto;
    min-width: 62px;
    min-height: 27px;
    padding: 0 4px;
    border: 0;
    border-radius: 8px;
    color: #827a8e;
    background: transparent;
    font-size: clamp(7px, 2vw, 9px);
    font-weight: 850;
    letter-spacing: 0;
    cursor: pointer;
}

.dcc-nst-footer > button:active {
    color: #fff;
    background: rgba(255,255,255,.07);
}

.dcc-nst-footer-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    color: #8e879a;
    letter-spacing: 0;
}

.dcc-nst-footer-stats b {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: clamp(7px, 2vw, 9px);
    white-space: nowrap;
}

.dcc-nst-footer-stats b:first-child {
    color: #75dda8;
}

.dcc-nst-footer-stats b:last-child {
    color: #e18b98;
}

.dcc-nst-footer-stats i {
    color: inherit;
    font-style: normal;
    font-variant-numeric: tabular-nums;
}

.dcc-nst-history-card {
    display: flex;
    flex-direction: column;
    max-height: calc(100% - 22px);
    overflow: hidden;
}

.dcc-nst-history-summary {
    flex: 0 0 auto;
}

.dcc-nst-history-payout {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 39px;
    margin-top: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(var(--dcc-nst-accent-rgb), .18);
    border-radius: 11px;
    color: #aaa1b7;
    background: rgba(var(--dcc-nst-accent-rgb), .055);
    font-size: 9px;
    font-weight: 800;
}

.dcc-nst-history-payout strong {
    color: #fff0a3;
    font-size: 15px;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
}

.dcc-nst-history-list {
    flex: 1 1 auto;
    min-height: 110px;
    margin-top: 8px;
    padding-right: 2px;
    overflow: auto;
}

.dcc-nst-history-list .dcc-nst-history-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.075);
    border-left-width: 3px;
    border-radius: 12px;
    background: rgba(255,255,255,.035);
}

.dcc-nst-history-list .dcc-nst-history-item.is-success {
    border-left-color: #61d99d;
}

.dcc-nst-history-list .dcc-nst-history-item.is-failure {
    border-left-color: #df7182;
}

.dcc-nst-history-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dcc-nst-history-item-head span {
    overflow: hidden;
    color: #81798d;
    font-size: 8px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcc-nst-history-item-head b {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    min-width: 36px;
    min-height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
}

.dcc-nst-history-item.is-success .dcc-nst-history-item-head b {
    color: #9bf1c2;
    background: rgba(67, 202, 132, .13);
}

.dcc-nst-history-item.is-failure .dcc-nst-history-item-head b {
    color: #f1a2ae;
    background: rgba(222, 85, 104, .13);
}

.dcc-nst-history-list .dcc-nst-history-item > strong {
    color: #eee7f4;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
}

.dcc-nst-history-list .dcc-nst-history-item > p {
    margin: 0;
    overflow: hidden;
    color: #8c8498;
    font-size: 9px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcc-nst-history-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 2px;
    color: #716a7d;
    font-size: 8px;
    font-weight: 750;
}

.dcc-nst-history-empty {
    color: #91899d;
    font-size: 10px;
    line-height: 1.55;
}

.dcc-nst-history-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 9px;
}

.dcc-nst-history-actions small {
    color: #746d7f;
    font-size: 8px;
    line-height: 1.35;
}

.dcc-nst-history-actions button {
    flex: 0 0 auto;
    min-height: 34px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    color: #aaa2b4;
    background: rgba(255,255,255,.045);
    font-size: 9px;
    font-weight: 850;
    cursor: pointer;
}

@media (max-height: 650px) {
    .dcc-nst-history-actions small {
        display: none;
    }

    .dcc-nst-history-actions button {
        width: 100%;
    }
}

@keyframes dccNstAutoPulse {
    from { filter: brightness(1); }
    to { filter: brightness(1.14); }
}

.dcc-nst-history-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.dcc-nst-history-summary > div {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 51px;
    padding: 6px 3px;
    border: 1px solid rgba(255,255,255,.085);
    border-radius: 11px;
    background: rgba(255,255,255,.042);
}

.dcc-nst-history-summary span {
    color: #8f879c;
    font-size: 8px;
    font-weight: 800;
}

.dcc-nst-history-summary strong {
    max-width: 100%;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcc-nst-history-summary > div:nth-child(2) strong {
    color: #80e4b1;
}

.dcc-nst-history-summary > div:nth-child(3) strong {
    color: #ef9aa7;
}

.dcc-nst-history-list {
    display: grid;
    align-content: start;
    gap: 6px;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.dcc-nst-history-empty {
    display: grid;
    place-items: center;
    min-height: 120px;
    padding: 16px;
    border: 1px dashed rgba(255,255,255,.11);
    border-radius: 13px;
    text-align: center;
}

/* v1.1.0 AUTO selection and history filters */
.dcc-nst-history-card > p {
    flex: 0 0 auto;
    margin: 0 0 9px;
    color: #91899d;
    font-size: 9px;
    line-height: 1.45;
    word-break: keep-all;
}

.dcc-nst-history-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    flex: 0 0 auto;
    margin-top: 8px;
}

.dcc-nst-history-filters button {
    min-height: 34px;
    margin: 0;
    padding: 0 8px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 10px;
    color: #91899d;
    background: rgba(255,255,255,.035);
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.dcc-nst-history-filters button.is-active {
    border-color: rgba(var(--dcc-nst-accent-rgb), .42);
    color: #24182c;
    background: var(--dcc-nst-accent);
    box-shadow: 0 5px 14px rgba(var(--dcc-nst-accent-rgb), .12);
}

.dcc-nst-auto-card {
    place-self: center;
    width: calc(100% - 20px);
    max-width: 342px;
    overflow: visible;
    padding: 25px 18px 18px;
    text-align: center;
}

.dcc-nst-auto-modal-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 10px;
    border: 1px solid rgba(var(--dcc-nst-accent-rgb), .36);
    border-radius: 18px;
    color: var(--dcc-nst-accent);
    background: rgba(var(--dcc-nst-accent-rgb), .075);
    font-size: 28px;
    font-weight: 800;
}

.dcc-nst-auto-card h3 {
    margin: 0 0 7px;
}

.dcc-nst-auto-card > p {
    max-width: 285px;
    margin: 0 auto 14px;
    color: #91899d;
    font-size: 10px;
    line-height: 1.55;
    word-break: keep-all;
}

.dcc-nst-auto-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.dcc-nst-auto-options button {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 64px;
    margin: 0;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
    cursor: pointer;
}

.dcc-nst-auto-options button:active {
    border-color: rgba(var(--dcc-nst-accent-rgb), .45);
    background: rgba(var(--dcc-nst-accent-rgb), .1);
    transform: scale(.97);
}

.dcc-nst-auto-options strong {
    color: #fff1a4;
    font-size: 16px;
    font-weight: 950;
}

.dcc-nst-auto-options span {
    margin-top: 3px;
    color: #8f879c;
    font-size: 8px;
    font-weight: 750;
}

@media (max-height: 650px) {
    .dcc-nst-history-card > p {
        display: none;
    }

    .dcc-nst-history-filters button {
        min-height: 29px;
    }

    .dcc-nst-auto-card {
        padding-top: 18px;
    }

    .dcc-nst-auto-modal-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 7px;
        font-size: 23px;
    }

    .dcc-nst-auto-options button {
        min-height: 54px;
    }
}
