.st2 { position: fixed; inset: 0; z-index: 100; display: none; flex-direction: column; background: #0b0a08; color: #e6e6d5; }
.st2.on { display: flex; }
.st2 .amb { position: absolute; inset: 0; pointer-events: none; opacity: .28; transition: opacity .9s ease;
  background:
    radial-gradient(ellipse 64% 50% at 50% 56%, rgba(214, 188, 126, .42), rgba(150, 124, 70, .17) 46%, rgba(11, 10, 8, 0) 78%),
    linear-gradient(90deg, rgba(0, 0, 0, .62) 0, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 76%, rgba(0, 0, 0, .62) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, .6) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .022) 0 3px, transparent 3px 132px); }
.st2.glow .amb { opacity: 1; }

.sbar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; font-size: 13.5px; font-weight: 600; color: rgba(230, 230, 213, .55); }
.sbar b { color: #e6e6d5; font-weight: 700; }
.sbar .live { color: #d9bd7a; font-weight: 700; margin-right: 16px; }
.sbar button { color: rgba(230, 230, 213, .8); font-size: 13.5px; font-weight: 700; padding: 6px 4px; }
.smain { position: relative; flex: 1; min-height: 0; overflow: hidden; }

.scene { position: absolute; inset: 0; transition: opacity .3s; }
.scene.shake { animation: shake .36s; }
.scene.gone { opacity: 0; pointer-events: none; }
.st2 .lights { position: absolute; inset: 0; pointer-events: none; }
.st2 .lights i { position: absolute; height: 3px; background: #f1e7cc; opacity: 0; box-shadow: 0 0 14px rgba(241, 231, 204, .5); }
.st2 .lights i:nth-child(1) { left: 9%; top: 13%; width: 10%; }
.st2 .lights i:nth-child(2) { left: 27%; top: 21%; width: 7%; }
.st2 .lights i:nth-child(3) { left: 46%; top: 9%; width: 11%; }
.st2 .lights i:nth-child(4) { left: 67%; top: 18%; width: 8%; }
.st2 .lights i:nth-child(5) { left: 84%; top: 11%; width: 9%; }
.st2.lit .lights i { animation: flick 1.3s ease-out both; }
.st2.lit .lights i:nth-child(2n) { animation-delay: .12s; }
.st2 .box .lid { background: #3b382e; box-shadow: inset 0 0 0 2px #6a6452; }
.st2 .box .body { background: repeating-linear-gradient(90deg, #26241d 0 17px, #302d24 17px 19px); box-shadow: inset 0 0 0 2px #6a6452; }
.st2 .dust { background: #6f6756; }
.st2 .spot { background: radial-gradient(closest-side, rgba(241, 231, 204, .2), transparent); }
.st2 .spot.gold { background: radial-gradient(closest-side, rgba(255, 196, 84, .6), transparent); }

.res { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; padding: 0 18px 8px; }
.res.on { display: flex; }
.stitle { text-align: center; margin-bottom: 26px; animation: ktitle .5s ease-out both; }
.stitle .orn { display: block; width: 640px; max-width: 86vw; height: 1px; margin: 0 auto; background: linear-gradient(90deg, transparent, rgba(214, 188, 126, .75) 30%, rgba(214, 188, 126, .75) 70%, transparent); position: relative; }
.stitle .orn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -5px 0 0 -5px; transform: rotate(45deg); background: #0f0e0b; box-shadow: inset 0 0 0 1px rgba(214, 188, 126, .9); }
.stitle h2 { font-size: 30px; font-weight: 700; letter-spacing: .08em; color: #f6f3e6; padding: 16px 0 14px; text-shadow: 0 0 18px rgba(214, 188, 126, .35); }
.stitle .orn.b { width: 420px; opacity: .55; }
.stitle .orn.b::after { display: none; }
.sdisc { font-size: 13px; letter-spacing: .02em; color: rgba(230, 230, 213, .5); margin-top: 12px; }
.sextra { font-size: 14px; color: rgba(230, 230, 213, .55); margin-top: 6px; min-height: 21px; }
.sextra b { color: #e6e6d5; font-weight: 600; }

.kcards { display: grid; grid-template-columns: repeat(5, 150px); column-gap: 52px; row-gap: 16px; justify-content: center; }
.kcards.one { grid-template-columns: 190px; }
.kcard { opacity: 0; }
.kcard.in { animation: kenter .67s cubic-bezier(.2, .8, .2, 1) both; }
.kcard .sq { position: relative; aspect-ratio: 1; perspective: 700px; cursor: pointer; transition: transform .18s ease-out; }
.kcard:not(.opened):not(.opening) .sq:hover { transform: scale(1.08); }
.kcard.opened .sq { cursor: default; }

.kback { position: absolute; inset: 0; border: 3px solid transparent; display: grid; place-items: center; transition: transform .22s ease-in;
  background: linear-gradient(160deg, var(--p1), var(--p2)) padding-box, linear-gradient(135deg, var(--m1), var(--m2) 45%, var(--m3)) border-box; }
.kback::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--ln); }
.kback::after { content: ""; position: absolute; inset: -3px; background: radial-gradient(closest-side, rgba(255, 255, 255, 0) 52%, var(--sh)); opacity: 0; animation: kshim 2s linear infinite; pointer-events: none; }
.kback img { width: 56%; filter: var(--hf); pointer-events: none; }
.kcard.gold .kback { --p1: #73602a; --p2: #362b10; --m1: #fcebb2; --m2: #b98a2c; --m3: #f6d67e; --ln: rgba(255, 231, 150, .55); --sh: rgba(255, 204, 92, .95); --hf: sepia(1) saturate(4.2) hue-rotate(3deg) brightness(1.08); box-shadow: 0 0 28px rgba(255, 180, 50, .45); }
.kcard.silver .kback { --p1: #535353; --p2: #232323; --m1: #f5f5f5; --m2: #8c8c8c; --m3: #dedede; --ln: rgba(255, 255, 255, .38); --sh: rgba(255, 255, 255, .8); --hf: grayscale(1) brightness(1.2); box-shadow: 0 0 14px rgba(255, 255, 255, .14); }
.kcard.bronze .kback { --p1: #4f3c2c; --p2: #251b13; --m1: #b88d63; --m2: #684a30; --m3: #a37a52; --ln: rgba(200, 160, 120, .28); --sh: rgba(200, 150, 100, .5); --hf: sepia(1) saturate(1.5) brightness(.78); }
.kcard.bronze .kback::after { animation: none; }
.kcard.silver .kback::after { animation-delay: .4s; }
.kcard.opening .kback { transform: rotateY(90deg); }
.kcard.opened .kback { display: none; }

.kcard { --bm: #b08a62; --h: 250ms; }
.kcard.gold { --bm: #ffcf5a; }
.kcard.silver { --bm: #f2f2f2; }
.beam { position: absolute; left: 50%; top: -14%; bottom: -14%; width: 6px; margin-left: -3px; opacity: 0; pointer-events: none; background: linear-gradient(180deg, transparent, var(--bm) 20%, #fff 50%, var(--bm) 80%, transparent); box-shadow: 0 0 20px 5px var(--bm); }
.kcard.opening .beam { animation: kbeam var(--h) ease-in-out .16s both; }
.kcard.gold.opening .sq { animation: kshake var(--h) ease-in-out .2s both; }
.flare { position: absolute; inset: -42%; border-radius: 50%; opacity: 0; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), var(--bm) 36%, transparent 70%); }
.kcard.opened .flare { animation: kflare .6s ease-out both; }
.kcard.gold.opened .flare { inset: -75%; animation-duration: .95s; }

.kfront, .flash { clip-path: polygon(13% 0, 87% 0, 100% 13%, 100% 100%, 0 100%, 0 13%); }
.kfront { position: absolute; inset: 0; opacity: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(176deg, var(--g) 0%, var(--g2) 100%); }
.kfront::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 38%); }
.kfront svg { position: relative; width: 58%; height: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.kfront .art { position: absolute; left: 5%; top: 5%; width: 90%; height: 90%; object-fit: contain; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .5)); pointer-events: none; }
.artok > svg { display: none !important; }
.sdisc a { color: rgba(230, 230, 213, .75); border-bottom: 1px solid rgba(230, 230, 213, .4); }
.lastgrid .t .pc.hasart { position: relative; width: 76px; height: 76px; padding: 0; margin-bottom: auto; background: linear-gradient(176deg, var(--g), var(--g2)); display: grid; place-items: center; color: #fff; clip-path: polygon(13% 0, 87% 0, 100% 13%, 100% 100%, 0 100%, 0 13%); }
.lastgrid .t .pc.hasart .art { position: absolute; left: 5%; top: 5%; width: 90%; height: 90%; object-fit: contain; }
.lastgrid .t .pc.hasart + .gr { margin-top: 10px; }
.pnote.src a { color: var(--gray); border-bottom: 1px solid var(--soft); }
.kfront .cb { position: absolute; left: 14%; top: 6px; font-size: 10px; font-weight: 800; letter-spacing: .04em; background: rgba(11, 11, 11, .5); padding: 2px 6px; z-index: 1; }
.kcard.opened .kfront { animation: kitem .333s ease-out both; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.kcard.opened .flash { animation: kflash .333s linear both; }
.kcard.opened .sq::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; box-shadow: 0 0 22px 2px var(--g); animation: ktier 2.2s ease-in-out infinite; }
.kcard.bronze.opened .sq::after { animation: none; }
.kcard.gold.opened .sq { filter: drop-shadow(0 0 9px rgba(255, 153, 0, .5)); }
.cap { margin-top: 8px; height: 50px; font-size: 12.5px; font-weight: 500; line-height: 1.35; color: #e6e6d5; text-align: center; opacity: 0; transition: opacity .3s .15s; overflow: hidden; }
.cap b { display: block; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--g3); }
.kcard.opened .cap { opacity: 1; }

.sbase { min-height: 132px; margin-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.sbase .tip { font-size: 13.5px; color: rgba(230, 230, 213, .55); }
.sbase .tip b { color: #f6d67e; font-weight: 700; }
.sbase .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.kbtn { min-width: 150px; height: 42px; padding: 0 16px; font-size: 16px; font-weight: 700; color: #e6e6d5; border: 1px solid #45453b; box-shadow: 0 2.5px 5px rgba(0, 0, 0, .6); background: radial-gradient(100% 100% at 50% 100%, rgba(48, 48, 44, .9), rgba(41, 41, 36, .9) 30%, rgba(35, 36, 33, .9) 70%); transition: filter .12s; }
.kbtn:hover { filter: brightness(1.2); }
.kbtn.pri { color: #17140c; border-color: #d6bd7c; background: linear-gradient(180deg, #c3aa6b, #8f7742); }
.kbtn:disabled { opacity: .45; cursor: default; }
.sbase .cost { font-size: 14px; color: rgba(230, 230, 213, .7); line-height: 1.6; }
.sbase .cost b { color: #f6d67e; font-weight: 700; }
.sbase .cost small { display: block; font-size: 13px; color: rgba(230, 230, 213, .55); }
.sbase .lk { font-size: 13.5px; font-weight: 700; color: rgba(230, 230, 213, .75); border-bottom: 1px solid rgba(230, 230, 213, .4); padding-bottom: 1px; }

.cong { position: absolute; inset: 0; z-index: 8; display: none; place-items: center; overflow: hidden; cursor: pointer; background: rgba(9, 8, 6, .94); }
.cong.on { display: grid; animation: kmodal .25s ease-out both; }
.cong .band { position: absolute; left: 0; right: 0; top: 50%; height: 52vh; margin-top: -26vh; background: linear-gradient(90deg, transparent, rgba(190, 150, 70, .22) 28%, rgba(255, 222, 148, .34) 50%, rgba(190, 150, 70, .22) 72%, transparent); animation: kband .6s ease-out both; }
.cong .ray { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 230, 170, .9), transparent); background-size: 60% 100%; background-repeat: no-repeat; }
.cong .ray.t { top: calc(50% - 26vh); animation: krayt 2.4s linear infinite; }
.cong .ray.b { top: calc(50% + 26vh); animation: krayb 2.4s linear infinite; }
.chev { position: absolute; top: 50%; height: 36vh; margin-top: -18vh; display: flex; gap: 3vh; opacity: 0; }
.chev i { width: 11vh; height: 100%; background: linear-gradient(180deg, #f6dc98, #a57a27); clip-path: polygon(56% 0, 100% 0, 44% 50%, 100% 100%, 56% 100%, 0 50%); }
.chev i:nth-child(1) { opacity: .28; }
.chev i:nth-child(2) { opacity: .5; }
.chev i:nth-child(3) { opacity: .85; }
.chev.l { right: 50%; margin-right: 19vh; animation: kchl .7s cubic-bezier(.2, .8, .2, 1) .08s both; }
.chev.r { left: 50%; margin-left: 19vh; flex-direction: row-reverse; animation: kchr .7s cubic-bezier(.2, .8, .2, 1) .08s both; }
.chev.r i { transform: scaleX(-1); }
.cong .cbox { position: relative; text-align: center; padding: 0 18px; }
.cong h3 { font-size: 34px; font-weight: 800; letter-spacing: .1em; color: #f6f3e6; text-shadow: 0 0 22px rgba(255, 210, 120, .5); animation: ktitle2 .5s ease-out both; }
.cong .tile { position: relative; width: 190px; height: 190px; margin: 26px auto 20px; animation: kitem .4s ease-out .22s both; filter: drop-shadow(0 0 16px rgba(255, 170, 40, .65)); }
.cong .tile .kfront { opacity: 1; }
.cong .gr { font-size: 14px; font-weight: 800; letter-spacing: .22em; color: var(--g3); }
.cong .nm { font-size: 28px; font-weight: 800; letter-spacing: -.01em; color: #fff; margin-top: 8px; min-height: 1.35em; }
.cong .sub { font-size: 13px; color: rgba(230, 230, 213, .5); margin-top: 18px; }

@keyframes ktitle { 0% { opacity: 0; transform: translateY(9vh); } 66% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes ktitle2 { 0% { opacity: 0; transform: translateY(-3.7vh); } 100% { opacity: 1; transform: none; } }
@keyframes kenter { 0% { opacity: 0; transform: translateY(28vh); } 50% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes kshim { 0% { opacity: 0; } 33% { opacity: .45; } 66%, 100% { opacity: 0; } }
@keyframes kbeam { 0% { opacity: 0; transform: scaleY(.3); } 22% { opacity: 1; transform: scaleY(1); } 62% { opacity: .78; transform: scaleY(.94) scaleX(1.7); } 100% { opacity: 1; transform: scaleY(1.14) scaleX(2.6); } }
@keyframes kshake { 0%, 100% { transform: translateX(0); } 15% { transform: translateX(-4px); } 30% { transform: translateX(4px); } 45% { transform: translateX(-3px); } 60% { transform: translateX(3px); } 75% { transform: translateX(-2px); } 90% { transform: translateX(1px); } }
@keyframes kflare { 0% { opacity: .95; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes kitem { 0% { opacity: 0; transform: scale(.8); } 45% { opacity: 1; transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } }
@keyframes kflash { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ktier { 0% { opacity: 0; } 50% { opacity: .7; } 100% { opacity: 0; } }
@keyframes kmodal { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes kband { 0% { opacity: 0; transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } }
@keyframes krayt { 0% { background-position: 160% 0; } 100% { background-position: -160% 0; } }
@keyframes krayb { 0% { background-position: -160% 0; } 100% { background-position: 160% 0; } }
@keyframes kchl { 0% { opacity: 0; transform: translateX(22vh); } 100% { opacity: 1; transform: none; } }
@keyframes kchr { 0% { opacity: 0; transform: translateX(-22vh); } 100% { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .sbar { padding: 12px 16px; font-size: 12.5px; }
  .res { padding: 0 12px 6px; }
  .stitle { margin-bottom: 18px; }
  .stitle h2 { font-size: 23px; padding: 12px 0 10px; }
  .sdisc { font-size: 11.5px; }
  .kcards { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 8px; row-gap: 8px; width: 100%; }
  .kcards.one { grid-template-columns: 150px; width: auto; }
  .kback { border-width: 2px; }
  .kback::before { inset: 3px; }
  .kfront .cb { font-size: 7.5px; padding: 1px 3px; top: 3px; }
  .cap { font-size: 9.5px; height: 40px; margin-top: 5px; }
  .cap b { font-size: 9px; }
  .kbtn { min-width: 124px; height: 42px; font-size: 15px; }
  .sbase { min-height: 150px; }
  .cong h3 { font-size: 26px; }
  .cong .tile { width: 150px; height: 150px; margin: 20px auto 16px; }
  .cong .nm { font-size: 22px; }
  .chev { height: 24vh; margin-top: -12vh; gap: 2vh; }
  .chev i { width: 7vh; }
  .chev.l { margin-right: 12vh; }
  .chev.r { margin-left: 12vh; }
}
