.reup-shop-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 20px 0; }
.reup-shop-pack { min-width: 0; padding: 18px; text-align: center; background: #1c1822; border: 2px solid #ff2ca8; }
.reup-shop-pack img { display: block; width: 100%; height: 170px; object-fit: contain; }
.reup-shop-pack h3 { margin: 12px 0 6px; }
.reup-shop-price { margin: 8px 0; color: #ffd21c; font: 800 28px/1.2 system-ui,sans-serif; }
.reup-shop-pack button { width: 100%; min-height: 44px; padding: 12px 8px; background: #ffd21c; color: #111; font-weight: 800; border: 0; }
.reup-shop-pack button:disabled { opacity: .55; cursor: not-allowed; }
.reup-shop-status { padding: 14px; border: 1px solid #887328; background: #211c18; }
@media (max-width: 600px) { .reup-shop-grid { grid-template-columns: 1fr; } .reup-shop-pack img { height: 140px; } }
@media (pointer: coarse) and (orientation: landscape) { .reup-shop-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; } .reup-shop-pack { padding: 10px; } .reup-shop-pack img { height: 100px; } }

/* Re-Up Shop on the owner's artwork (2026-11-26). Positions are percentages of the 1672×941 picture. */
@font-face{font-family:CCMarker;src:url('assets/fonts/PermanentMarker-Regular.ttf') format('truetype');font-display:swap}
.reup-scene{max-width:min(100%,calc((100dvh - 120px)*1672/941));margin:12px auto}
.reup-scene-frame{position:relative;container-type:inline-size;aspect-ratio:1672/941;border-radius:10px;overflow:hidden;box-shadow:0 10px 30px #000a}
.reup-scene-frame>*{position:absolute}
.reup-scene-art{inset:0;width:100%;height:100%;user-select:none;pointer-events:none}
.reup-plate{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25cqw;padding:.3cqw;border:0;border-radius:1cqw;background:transparent;color:#fff;cursor:pointer;text-align:center}
.reup-plate-label{color:#ffd21c;font:900 .9cqw/1 system-ui,sans-serif;letter-spacing:.06em}
.reup-plate-price{display:flex;align-items:center;gap:.4cqw;font:800 1.15cqw/1 system-ui,sans-serif}
.reup-plate-price .bag{width:1.9cqw;height:auto}
.reup-plate-price .money{display:inline-flex;align-items:center;gap:.2cqw}.reup-plate-price .money img{width:1.3cqw;height:auto}.reup-plate-price .money .gap{width:.4cqw}
.reup-plate-cards{color:#d8d2c8;font:700 .78cqw/1 system-ui,sans-serif}
.reup-plate:hover:not(:disabled),.reup-plate:focus-visible{outline:.25cqw solid #16dcff;outline-offset:-.1cqw}
.reup-plate.picked{outline:.3cqw solid #ffd21c;outline-offset:-.15cqw;box-shadow:0 0 1.2cqw #ffd21c80}
.reup-plate:disabled{cursor:not-allowed;opacity:.7}
.reup-qty{display:flex;align-items:center;justify-content:space-between;gap:.3cqw;padding:.2cqw;border:.15cqw solid #111;border-radius:.8cqw;background:#ffd21c;box-shadow:.2cqw .2cqw 0 #ff2ca8}
.reup-qty[hidden]{display:none}
.reup-qty button{width:2.2cqw;height:100%;padding:0;border:0;border-radius:.5cqw;background:#111;color:#ffd21c;font:900 1.6cqw/1 system-ui,sans-serif;cursor:pointer}
.reup-qty button:disabled{opacity:.4;cursor:not-allowed}
.reup-qty-n{flex:1;text-align:center;color:#111;font:400 1.6cqw/1 CCMarker,Impact,sans-serif}
.reup-deck-lock{display:flex;align-items:center;justify-content:center;padding:0;border:.12cqw solid #111;border-radius:.4cqw;background:#111d;color:#ffd21c;font:900 .75cqw/1 system-ui,sans-serif;letter-spacing:.04em;cursor:pointer}
.reup-deck-lock:hover,.reup-deck-lock:focus-visible{outline:.2cqw solid #16dcff}
.reup-soon{display:flex;align-items:center;justify-content:center;color:#ffd21c;font:400 1.5cqw/1 CCMarker,Impact,sans-serif;letter-spacing:.06em;pointer-events:none}
.reup-total{display:flex;align-items:center;justify-content:flex-end;padding:0 1.2cqw;color:#fff;font:400 1.7cqw/1 CCMarker,Impact,sans-serif;pointer-events:none}
.reup-balance{display:flex;align-items:center;justify-content:center;color:#fff;font:800 1.2cqw/1 system-ui,sans-serif;pointer-events:none}
.reup-balance .money{display:inline-flex;align-items:center;gap:.25cqw}.reup-balance .money img{width:1.4cqw;height:auto}.reup-balance .money .gap{width:.5cqw}
.reup-add{padding:0;border:0;border-radius:1cqw;background:transparent;cursor:pointer}
.reup-add:hover,.reup-add:focus-visible{outline:.25cqw solid #16dcff;background:#16dcff1a}
.reup-add[hidden]{display:none}
.reup-checkout{padding:0;border:0;border-radius:.8cqw;background:transparent;cursor:pointer}
.reup-checkout:hover:not(:disabled),.reup-checkout:focus-visible{outline:.3cqw solid #16dcff;outline-offset:.1cqw}
.reup-checkout:disabled{cursor:not-allowed;background:#0007}
.reup-shop-rule{margin:8px 0;color:#d8d2c8}
.reup-my-packs{min-height:44px;padding:10px 14px;border:2px solid #ffd21c;background:#131019;color:#ffd21c;font-weight:900;cursor:pointer}

/* MUSIC shelf: the album (owner, 2026-11-26). */
.reup-music{padding:0;border:0;border-radius:1cqw;background:transparent;cursor:pointer;z-index:1}
.reup-music:hover,.reup-music:focus-visible{outline:.3cqw solid #16dcff;background:#16dcff14}
.reup-music-label{z-index:2;font-size:1.05cqw;letter-spacing:.03em;white-space:nowrap}
.reup-album{width:min(94vw,520px);max-height:90dvh;padding:18px 16px 14px;border:2px solid #ff2ca8;border-radius:14px;background:#17141d;color:#fff;overflow:auto;box-shadow:0 18px 60px #000d}
.reup-album::backdrop{background:rgba(0,0,0,.7)}
.reup-album h2{margin:0 52px 6px 0;color:#ffd21c;font:400 30px/1.1 CCMarker,Impact,sans-serif;letter-spacing:.04em;text-shadow:2px 2px 0 #c4161c}
.reup-album-close{position:absolute;top:10px;right:10px;width:44px;height:44px;border:0;border-radius:8px;background:#ffd21c;color:#111;font:700 30px/1 system-ui,sans-serif;cursor:pointer}
.reup-album-note{margin:0 0 12px;color:#d8d2c8;font:600 14px/1.35 system-ui,sans-serif}
.reup-album-list{margin:0;padding:0 0 0 24px;display:grid;gap:8px}
.reup-song{padding:8px 10px;border:1px solid #ffffff2a;border-radius:10px;background:#0f0d13;display:flex;align-items:center;justify-content:space-between;gap:10px}
.reup-song::marker{color:#ffd21c;font-weight:900}
.reup-song-title{font:400 19px/1.15 CCMarker,Impact,sans-serif;color:#5ff0ff}
.reup-song-get{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:6px 12px;border:2px solid #ffd21c;border-radius:4px 10px 3px 8px;background:#131019;color:#ffd21c;font:900 13px/1 system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.reup-song-get .money{display:inline-flex;align-items:center;gap:3px;color:#fff}.reup-song-get .money img{width:18px;height:auto}.reup-song-get .money .gap{width:6px}
.reup-song.owned .reup-song-get{background:#14361f;border-color:#7dffb0;color:#7dffb0}
.reup-song-get:hover:not(:disabled),.reup-song-get:focus-visible{outline:2px solid #16dcff}
.reup-song-get:disabled{opacity:.5;cursor:wait}
.reup-album-empty{list-style:none;margin-left:-24px;color:#d8d2c8}
.reup-album-status{margin:10px 0 0;color:#ffd21c;font-weight:800}

/* PICTURES (owner, 2026-11-26): the plate under the two posters, and the gallery. */
.reup-pictures{display:flex;align-items:flex-end;justify-content:center;padding:0 0 .4cqw;border:0;border-radius:1cqw;background:transparent;cursor:pointer}
.reup-pictures-tag{padding:.2cqw .6cqw;border:.12cqw solid #111;border-radius:.4cqw;background:#111d;color:#ffd21c;font:400 .95cqw/1 CCMarker,Impact,sans-serif;letter-spacing:.08em;text-shadow:.12cqw .12cqw 0 #c4161c}
.reup-pictures:hover,.reup-pictures:focus-visible{outline:.3cqw solid #16dcff;background:#16dcff14}
.reup-album.pictures{width:min(96vw,760px)}
.reup-album.pictures .reup-album-list{list-style:none;padding:0;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.reup-album.pictures .reup-song{flex-direction:column;align-items:stretch;gap:8px}
.reup-picture-preview{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:6px;background:#000;user-select:none;-webkit-user-drag:none;pointer-events:none}
.reup-album.pictures .reup-song-get{justify-content:center}


/* Comic plate: the text follows the plate's tilt in the artwork (about 6° up to the right). */
.reup-comic-soon{transform:rotate(-5.8deg);transform-origin:50% 50%;font-size:1.35cqw;white-space:nowrap}

/* ▶ PREVIEW: a 12-second sample of each song (owner, 2026-11-27). */
.reup-song-preview{margin-left:auto;min-height:44px;padding:6px 10px;border:2px solid #5ff0ff;border-radius:8px;background:#0f0d13;color:#5ff0ff;font:900 12px/1 system-ui,sans-serif;letter-spacing:.04em;cursor:pointer;white-space:nowrap}
.reup-song-preview.playing{background:#5ff0ff;color:#111}
.reup-song-preview:hover,.reup-song-preview:focus-visible{outline:2px solid #ffd21c;outline-offset:1px}
.reup-deck-lock.free{background:#ffd21c;color:#111;border-color:#111;animation:reup-free 1.6s ease-in-out infinite}
@keyframes reup-free{50%{box-shadow:0 0 1.2cqw #ffd21c}}
@media (prefers-reduced-motion:reduce){.reup-deck-lock.free{animation:none}}
.reup-deck-lock.priced{flex-direction:column;gap:.15cqw;line-height:1.05}.reup-deck-lock.priced small{font-size:.62cqw;font-weight:800;white-space:nowrap}
.reup-song-name{display:flex;flex-direction:column;min-width:0}.reup-song-artist{display:block;color:#f6f3ec;font-family:system-ui,sans-serif;margin-top:2px;font-size:.78em;font-weight:600;opacity:.8;letter-spacing:.02em}
.reup-song-face{flex:0 0 auto;width:52px;height:52px;border:2px solid #ffd21c;border-radius:8px;object-fit:cover;background:#000}
.reup-song-name{flex:1 1 auto}

/* WEEKLY AUCTION button under the comic books (2026-11-29): a black plate with a gold edge, the timer inside. */
.reup-auction{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35cqw;border:.18cqw solid #e2bd62;border-radius:1cqw;background:#0d0c10f0;box-shadow:0 0 0 .25cqw #000a,0 0 1.4cqw #ffcf6b55;color:#fff;text-decoration:none;transform:rotate(-2deg)}
.reup-auction:hover,.reup-auction:focus-visible{outline:.25cqw solid #16dcff;outline-offset:-.1cqw}
.reup-auction-title{color:#ffd21c;font:400 1.55cqw/1 CCMarker,Impact,sans-serif;letter-spacing:.06em}
.reup-auction-time{color:#fff;font:400 1.3cqw/1 CCMarker,Impact,sans-serif;letter-spacing:.08em;font-variant-numeric:tabular-nums}
