.stage-head-card{width:min(100%,1060px);box-sizing:border-box;min-width:0;text-align:center}.stage-head-card>h2{margin:4px 0 16px}.stage-head-card>p{line-height:1.7;overflow-wrap:anywhere}.stage-head-important{font-weight:700;color:#65429c}.stage-head-seeds{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px 28px;text-align:left;padding-left:25px}.stage-head-details{text-align:left;margin-top:20px;padding-top:14px;border-top:1px solid #dfd1ef;min-width:0}.stage-head-details>summary{cursor:pointer;font-weight:700;color:#6b4ba4}.stage-head-round{margin-top:16px}.stage-head-bracket{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.stage-head-pair{min-width:0;border:1px solid #dac9ec;background:#fbf8ff;border-radius:14px;padding:14px}.stage-head-pair.is-current{border:2px solid #8255bd;background:#f1e9fc}.stage-head-pair>div{display:flex;justify-content:space-between;gap:12px;margin:10px 0;overflow-wrap:anywhere}.stage-head-bye{padding:10px;background:#fff0be;border-radius:10px}.stage-head-wheel{width:min(100%,440px);margin:10px auto 12px;flex:none;min-height:0}.stage-head-wheel-result{display:block;margin:16px 0}.stage-head-scores{display:grid;grid-template-columns:1fr 1fr;gap:14px}.stage-head-scores>div{display:grid;gap:8px;padding:14px;border-radius:14px;background:#f1e9fc;min-width:0;overflow-wrap:anywhere}.stage-head-scores b{font-size:24px;color:#65429c}.stage-head-pack-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(94px,1fr));gap:12px;margin-top:18px}.stage-head-pack{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:132px;padding:14px 6px!important;border:1px solid #ceb9e8!important;border-bottom:5px solid #b39bd4!important;border-radius:14px!important;background:repeating-linear-gradient(90deg,#f5effb,#f5effb 7px,#eee6f6 7px,#eee6f6 8px)!important;color:#644688!important}.stage-head-pack-mark{display:grid;place-items:center;width:40px;height:40px;border:1px dashed #aa8acb;border-radius:50%;font-size:25px}.stage-head-goods{display:flex;justify-content:center;flex-wrap:wrap;gap:18px}.stage-head-goods article{display:grid;justify-items:center;gap:12px;max-width:240px;min-width:0}.stage-head-goods article>img,.stage-head-goods article>.stage-cropped-art{width:150px;height:180px;object-fit:contain}.stage-head-package-score{display:block;margin:20px 0;font-size:26px;color:#6745a4}.stage-head-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;min-width:0}.stage-head-result-grid>section{padding:14px;border:1px solid #dfd1ef;border-radius:16px;min-width:0;overflow-wrap:anywhere}.stage-head-result-pack{padding:12px 0;border-top:1px solid #e8dcf2;margin-top:12px}.stage-head-result-pack>div{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.stage-head-result-pack img,.stage-head-result-pack .stage-cropped-art{width:65px;height:80px;object-fit:contain}.stage-head-table{width:100%;border-collapse:collapse;text-align:left;margin:20px 0}.stage-head-table th,.stage-head-table td{padding:12px 8px;border-bottom:1px solid #e1d4ee;overflow-wrap:anywhere}.stage-head-table td:last-child{text-align:right;font-weight:700}.head-to-head-active .stage-main{overflow:visible;min-height:0}.head-to-head-active .stage-footer{position:relative;flex-wrap:wrap;gap:12px}.head-to-head-active .stage-footer>.stage-primary{min-height:48px;min-width:170px}.head-to-head-active .stage-head-card .mag-wheel{width:100%;max-width:100%;height:auto;aspect-ratio:1}.head-to-head-active .stage-head-card .mag-wheel>svg{width:100%;height:auto;aspect-ratio:1}@media(max-width:650px){.stage-head-card{padding:16px 12px}.stage-head-pack-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.stage-head-pack{min-height:120px}.stage-head-pack strong{font-size:13px}.stage-head-result-grid{grid-template-columns:1fr}.stage-head-goods article{max-width:100%}.stage-head-bracket{grid-template-columns:1fr}.head-to-head-active .stage-footer>.stage-primary{flex:1;min-width:0}.stage-head-table th,.stage-head-table td{padding:10px 4px}}

.stage-head-goods article>svg{width:150px;height:180px;max-width:100%}.stage-head-result-pack svg{width:65px;height:80px;max-width:100%}

body.head-to-head-active .stage-main{display:block;overflow:auto;pointer-events:auto;padding:18px;min-height:0}body.head-to-head-active .stage-footer{display:flex;min-height:64px;max-height:none;align-items:center;justify-content:center;gap:10px;padding:12px 16px;box-sizing:border-box}body.head-to-head-active .stage-footer>span{font-size:12px;overflow-wrap:anywhere}.stage-head-wheel .mag-random-wheel{width:min(100%,400px);margin:10px auto 16px}.stage-head-pagination{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:14px 0}.stage-head-pagination span{font-size:12px}.stage-head-draw-details{margin-top:14px;text-align:left}.stage-head-draw-details>summary{font-weight:600;color:#71519e;cursor:pointer}@media(max-width:650px){body.head-to-head-active .stage-main{padding:12px 10px}.stage-head-wheel .mag-random-wheel{width:min(100%,320px)}body.head-to-head-active .stage-footer{padding:10px;min-height:64px}.stage-head-result-grid{gap:10px}}

.stage-head-public-history{margin:16px 0}.stage-head-public-pack{padding:16px;border:1px solid #d4c2ed;border-radius:16px;background:#faf6ff;display:grid;gap:12px;margin:10px 0}.stage-head-public-items{display:flex;flex-wrap:wrap;gap:16px}.stage-head-public-item{display:flex;align-items:center;gap:14px;min-width:0;flex:1 1 240px}
body.session-mode .stage-head-public-item>:first-child{width:100px!important;height:110px!important;min-width:100px!important;max-width:100px!important;max-height:110px!important;object-fit:contain;flex:none!important}
body.session-mode .stage-head-public-item strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;max-width:none!important;overflow-wrap:anywhere;line-height:1.5;font-size:18px}.stage-head-public-pack>b{color:#604093;font-size:19px}.stage-head-result-pack span{white-space:normal!important;overflow-wrap:anywhere}
@media(max-width:650px){.stage-head-public-pack{padding:12px}.stage-head-public-item{flex-basis:100%}body.session-mode .stage-head-public-item>:first-child{width:84px!important;min-width:84px!important;max-width:84px!important;height:94px!important;max-height:94px!important}body.session-mode .stage-head-public-item strong{font-size:16px}}

.stage-head-reveal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start}.stage-head-reveal-packs{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:12px;width:100%}.stage-head-reveal-pack{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px;border-radius:16px;background:#faf7ff;min-width:0}.stage-head-reveal-pack img{width:100%!important;height:140px!important;object-fit:contain}.stage-head-reveal-pack strong{white-space:normal;overflow-wrap:anywhere}.stage-head-reveal-grid .stage-draft-good{min-width:0}@media(max-width:650px){.stage-head-reveal-grid{grid-template-columns:1fr!important}.stage-head-reveal-pack img{height:120px!important}}

/* Normal multiplayer sealed-package presentation. */
.stage-head-pack-grid .sealed-slot:not(:disabled){border:2px solid #aa96e0!important;cursor:pointer}
.stage-head-pack-grid .sealed-slot:not(:disabled):hover{transform:translateY(-4px);border-color:#6652d7!important}
.stage-head-pack-grid .sealed-slot:disabled{opacity:.7;cursor:not-allowed}

/* Paper packaging: crimped seals, numbered stickers and distinct bonus envelopes. */
.stage-head-pack-grid .sealed-slot{position:relative;isolation:isolate;padding:30px 10px 26px!important;background:repeating-linear-gradient(90deg,#fff0 0 6px,#b9abd91c 6px 7px),linear-gradient(145deg,#faf7ff,#eae0ff)!important;color:#8b76b8!important;border:1px solid #d6caea!important;border-radius:8px!important;box-shadow:0 5px 0 #d7c9e9!important}

.stage-head-pack-grid .sealed-slot:nth-child(3n+1){background:repeating-linear-gradient(90deg,#fff0 0 6px,#7ba59b1a 6px 7px),linear-gradient(145deg,#f5fcf9,#deefe8)!important;color:#6c9990!important;border-color:#c6e0d7!important}
.stage-head-pack-grid .sealed-slot:nth-child(3n+2){background:repeating-linear-gradient(90deg,#fff0 0 6px,#bea2781a 6px 7px),linear-gradient(145deg,#fffaf0,#fff0d1)!important;color:#a99068!important;border-color:#ead9b7!important}

.stage-head-pack-grid .sealed-slot:before{content:'';position:absolute;top:7px;left:7px;right:7px;height:11px;border:0!important;background:repeating-linear-gradient(90deg,#ffffffb8 0 3px,#ffffff20 3px 6px);border-bottom:1px dashed currentColor;opacity:.5}
.stage-head-pack-grid .sealed-slot:after{content:'';position:absolute;bottom:7px;left:7px;right:7px;height:11px;background:repeating-linear-gradient(90deg,#ffffffb8 0 3px,#ffffff20 3px 6px);border-top:1px dashed currentColor;opacity:.5}

.stage-head-pack-grid .sealed-slot i{width:68px;height:68px;border:1px dashed currentColor;background:#ffffff90;box-shadow:0 0 0 6px #ffffff40;font-size:34px;margin:12px 0 10px;border-radius:50%}
.stage-head-pack-grid .sealed-slot b{font-size:11px;letter-spacing:.08em;line-height:1.7;color:inherit}
.stage-head-pack-grid .sealed-slot small{position:absolute;top:25px;right:10px;transform:rotate(7deg);margin:0;background:#ffe19a!important;color:#8b76b8!important;padding:4px 7px;font-size:10px;box-shadow:0 2px 0 #e7ce973d}
.stage-head-pack-grid .sealed-slot:not(:disabled):hover{background-color:#fff!important;box-shadow:0 8px 0 #d7c9e9!important}
.stage-head-pack-grid .sealed-slot i{width:58px;height:58px;font-size:30px}
.stage-head-pack-grid .sealed-slot{min-height:150px!important;padding:27px 6px 20px!important}
.stage-head-pack-grid .sealed-slot i{width:48px;height:48px;font-size:26px;margin:10px 0 8px;box-shadow:0 0 0 4px #ffffff40}
.stage-head-pack-grid .sealed-slot b{font-size:10px;letter-spacing:0}
.stage-head-pack-grid .sealed-slot small{top:22px;right:6px;padding:3px 5px;font-size:9px}
.stage-head-pack-grid button,.stage-head-pack-grid .sealed-slot{min-height:100px!important;padding:22px 2px 14px!important;border-radius:6px!important}
.stage-head-pack-grid .sealed-slot i{width:26px;height:26px;font-size:19px;margin:10px 0 6px;box-shadow:none}
.stage-head-pack-grid .sealed-slot b{font-size:8px;line-height:1.4}
.stage-head-pack-grid .sealed-slot small{top:18px;right:3px;font-size:8px;padding:2px 3px}
.stage-head-pack-grid .sealed-slot:before,.stage-head-pack-grid .sealed-slot:after{left:3px;right:3px;height:6px}
.stage-head-pack-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.stage-head-package{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:160px;cursor:pointer}.stage-head-package i{display:grid;place-items:center;font-style:normal}.stage-head-package small{font-weight:750}.stage-head-package:disabled{cursor:default}.stage-head-package:focus-visible{outline:3px solid #7850b8;outline-offset:3px}.stage-head-package:not(:disabled):hover{transform:translateY(-3px)}@media(max-width:650px){.stage-head-pack-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.stage-head-pack-grid .sealed-slot{min-height:118px;padding:22px 4px!important}.stage-head-pack-grid .sealed-slot i{width:34px;height:34px;font-size:22px;margin:3px 0}.stage-head-pack-grid .sealed-slot b{font-size:10px}.stage-head-pack-grid .sealed-slot small{font-size:11px}}
