[hidden] { display: none !important; }
:root {
  --bg: #070b1a; --bg2: #0c1330; --panel: #101a3d; --line: #1e2c5c;
  --text: #eaf0ff; --muted: #8a9cc7; --orange: #ff7a1a; --orange2: #ffb14a; --cyan: #22d3ee; --red: #ff3d5a; --green: #2ee59d;
  --r: 16px; --nav: 64px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  min-height: 100vh; padding-bottom: calc(var(--nav) + env(safe-area-inset-bottom) + 16px);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(34,211,238,.10), transparent 60%), radial-gradient(900px 500px at -10% 10%, rgba(255,122,26,.12), transparent 60%), var(--bg);
  background-attachment: fixed;
}
a { color: var(--cyan); text-decoration: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; color: var(--cyan); }
h1, h2, h3 { margin: 0; letter-spacing: -.01em; }
h3 { margin: 22px 0 10px; font-size: 1.05rem; }
.muted { color: var(--muted); } .small { font-size: .82rem; } .center { text-align: center; } .orange { color: var(--orange); }
.pad { padding: 16px; } .grow { flex: 1; } .wrap { word-break: break-all; }
main { max-width: 980px; margin: 0 auto; padding: 12px 14px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; background: rgba(7,11,26,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.logo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 20px; background: linear-gradient(135deg, var(--orange), #ff4d1a); color: #fff; box-shadow: 0 0 18px rgba(255,122,26,.45); }
.brand-text { font-weight: 700; font-size: 1.1rem; line-height: 1; } .brand-text small { display: block; font-weight: 500; font-size: .66rem; color: var(--muted); margin-top: 3px; }
.wallet-btn { border: 1px solid var(--orange); background: rgba(255,122,26,.12); color: var(--text); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; font-size: .85rem; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.wallet-btn:disabled { cursor: not-allowed; opacity: .78; }
.wallet-btn.connected { border-color: var(--line); background: var(--panel); }
.wallet-btn b { color: var(--orange); font-weight: 700; }
.dot { width: 8px; height: 8px; border-radius: 50%; } .dot.ok { background: var(--green); box-shadow: 0 0 8px var(--green); } .dot.bad { background: var(--red); }
.demo-banner { background: repeating-linear-gradient(45deg, #3a2400, #3a2400 10px, #2c1b00 10px, #2c1b00 20px); color: var(--orange2); text-align: center; font-size: .78rem; padding: 6px; }
.token-proof { padding: 6px 12px; text-align: center; font-size: .76rem; color: var(--muted); background: rgba(255,255,255,.035); border-bottom: 1px solid var(--line); }
.token-proof.verified { color: var(--green); background: rgba(46,229,157,.08); }
.token-proof.invalid { color: var(--red); background: rgba(255,61,90,.08); }

/* bottom nav */
.bottomnav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; display: flex; justify-content: space-around; height: calc(var(--nav) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(7,11,26,.92); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.bottomnav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: .7rem; font-weight: 600; }
.bottomnav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bottomnav a.on { color: var(--orange); }
.bottomnav .nav-create svg { background: linear-gradient(135deg, var(--orange), #ff4d1a); color: #fff; border-radius: 12px; padding: 5px; width: 34px; height: 34px; margin-top: -10px; box-shadow: 0 0 18px rgba(255,122,26,.5); }

/* buttons & inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: 12px; padding: 11px 16px; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; transition: transform .1s, background .2s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: linear-gradient(135deg, var(--orange), #ff5a1a); border-color: transparent; color: #fff; box-shadow: 0 6px 24px rgba(255,122,26,.3); }
.btn.ghost { background: transparent; }
.btn.on { border-color: var(--orange); color: var(--orange); }
.btn.sm { padding: 7px 12px; font-size: .8rem; border-radius: 10px; }
.btn.block { width: 100%; margin-top: 10px; }
.btn:disabled { opacity: .5; }
.input { width: 100%; background: var(--bg2); border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 16px; }
.input:focus { outline: none; border-color: var(--cyan); }
select.input { width: auto; }
textarea.input { resize: vertical; }
label { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; margin: 12px 0 6px; }
.chk { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; cursor: pointer; }
.row { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.card { background: linear-gradient(180deg, rgba(16,26,61,.9), rgba(12,19,48,.9)); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin: 12px 0; }
.hint { color: var(--muted); font-size: .78rem; margin: 8px 0 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 10px; gap: 10px; }
.badge { font-size: .65rem; background: var(--cyan); color: var(--bg); border-radius: 6px; padding: 2px 6px; vertical-align: middle; }
.seg { display: inline-flex; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.seg button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 9px; cursor: pointer; }
.seg button.on { background: var(--panel); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.seg.big { display: flex; margin: 12px 0; } .seg.big button { flex: 1; padding: 11px; font-size: .95rem; }
.seg.big button.on { background: linear-gradient(135deg, rgba(255,122,26,.25), rgba(255,122,26,.1)); color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }

/* broadcast screen */
.broadcast { margin-top: 6px; }
.bc-frame { border-radius: 22px; padding: 7px; background: linear-gradient(145deg, #1d2a5a, #070b1a 60%, #2a1a10); box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(0,0,0,.6), 0 0 60px rgba(34,211,238,.12); transform: perspective(1200px) rotateX(3deg); }
.bc-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #000; }
.bc-screen.flip .bc-body { animation: slideUp .6s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.bc-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(1.1) brightness(.55); transform: scale(1.06); transition: background-image .4s; }
.bc-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,11,26,.25) 0%, rgba(7,11,26,.2) 35%, rgba(7,11,26,.95) 100%), repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 2px, transparent 2px 4px); }
.bc-screen:not(:has(.bc-bg[style*="url"])) .bc-bg { background: radial-gradient(circle at 30% 20%, #16306b, #070b1a 70%); }
.bc-top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; padding: 4px 9px; border-radius: 6px; letter-spacing: .08em; font-weight: 700; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.bc-clock { color: #fff; background: rgba(0,0,0,.4); padding: 4px 8px; border-radius: 6px; }
.bc-count { margin-left: auto; color: var(--muted); background: rgba(0,0,0,.4); padding: 4px 8px; border-radius: 6px; }
.bc-body { position: absolute; left: 44px; right: 44px; bottom: 14px; }
.bc-src { color: var(--orange2); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.bc-body h1 { font-size: clamp(1.05rem, 4.6vw, 2rem); line-height: 1.2; margin: 6px 0; text-shadow: 0 2px 12px rgba(0,0,0,.6); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bc-mints { font-size: .78rem; color: var(--cyan); }
.bc-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 54px; border: 0; background: rgba(0,0,0,.35); color: #fff; font-size: 26px; cursor: pointer; border-radius: 10px; }
.bc-nav.prev { left: 6px; } .bc-nav.next { right: 6px; }
.ticker { overflow: hidden; white-space: nowrap; margin-top: 7px; background: #0a0f24; border-radius: 10px; padding: 8px 0; font-size: .8rem; border: 1px solid var(--line); }
.ticker-track { display: inline-block; animation: tick 160s linear infinite; }
.ticker-track span { margin-right: 36px; color: #cfd8f5; cursor: pointer; }
.ticker-track span::first-letter { color: var(--orange); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.bc-actions { display: flex; gap: 8px; margin-top: 12px; }
.bc-actions .primary { flex: 1; }
.credit { font-size: .7rem; color: var(--muted); margin: 6px 2px 0; }
.bc-screen { cursor: pointer; }
.bc-screen:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.bc-body h1 { -webkit-line-clamp: 3; }
.bc-summary { margin: 0 0 7px; color: #dbe3fa; font-size: .82rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bc-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bc-tap { flex: 0 0 auto; color: #fff; background: rgba(255,122,26,.88); border-radius: 999px; padding: 3px 9px; font-size: .72rem; font-weight: 700; }
.bc-actions #bcRead { white-space: nowrap; }

/* theatre */
.theatre { position: relative; display: grid; place-items: center; height: 380px; border-radius: 20px; overflow: hidden; background: radial-gradient(ellipse at 50% 120%, rgba(34,211,238,.18), transparent 60%), linear-gradient(180deg, #0a1030, #05081a); border: 1px solid var(--line); touch-action: pan-y; }
.theatre canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.th-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; color: var(--muted); }
.theatre-sample { position: relative; width: min(72vw, 320px); max-height: calc(100% - 36px); aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(34,211,238,.55); border-radius: 18px; box-shadow: 0 0 42px rgba(34,211,238,.22), 0 16px 44px rgba(0,0,0,.38); animation: theatreSampleFloat 5s ease-in-out infinite; }
.theatre-sample img { display: block; width: 100%; height: 100%; object-fit: cover; }
.th-sample-label { position: absolute; top: 14px; right: 14px; padding: 6px 9px; border-radius: 7px; background: #ffd34d; color: #17203c; font-size: .65rem; font-weight: 800; letter-spacing: .06em; }
@keyframes theatreSampleFloat { 0%, 100% { transform: perspective(900px) rotateY(-3deg) translateY(0); } 50% { transform: perspective(900px) rotateY(3deg) translateY(-5px); } }

/* headlines */
.headlines { display: flex; flex-direction: column; gap: 8px; }
.hl { display: flex; gap: 12px; align-items: center; padding: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.hl img, .hl-noimg { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: var(--bg2); display: grid; place-items: center; }
.hl > div:nth-child(2) { flex: 1; min-width: 0; }
.hl-title { font-weight: 600; font-size: .9rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* grid & cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 12px; }
.ncard { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--text); transition: transform .15s, border-color .2s; }
.ncard:hover { transform: translateY(-3px); border-color: var(--orange); }
.ncard-img { position: relative; aspect-ratio: 1; background: #000; }
.ncard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tag { font-size: .62rem; font-weight: 700; letter-spacing: .06em; padding: 3px 7px; border-radius: 6px; background: var(--cyan); color: var(--bg); }
.tag.meme { background: var(--orange); color: #fff; }
.tag.minting { background: #ffd34d; color: #000; }
.tag.example { background: #ffd34d; color: #17203c; }
.ncard-img .tag { position: absolute; top: 8px; left: 8px; }
.ncard-img .tag.minting, .ncard-img .tag.example { left: auto; right: 8px; }
.ncard-body { padding: 10px; }
.ncard-title { font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ncard-news { font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.ncard-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 6px; }
.price { font-weight: 700; color: var(--orange); font-size: .85rem; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); }

/* market */
.market-tabs { display: flex; gap: 8px; margin: 8px 0; }
.market-tabs a { flex: 1; text-align: center; padding: 12px; border-radius: 14px; border: 1px solid var(--line); color: var(--muted); font-weight: 700; background: var(--panel); }
.market-tabs a.on { color: #fff; border-color: var(--orange); background: linear-gradient(135deg, rgba(255,122,26,.3), rgba(255,122,26,.08)); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 2px; align-items: center; scrollbar-width: none; }
.chips button { flex-shrink: 0; border: 1px solid var(--line); background: var(--bg2); color: var(--muted); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; }
.chips button.on { color: var(--orange); border-color: var(--orange); }
.chips .chk { flex-shrink: 0; margin: 0 0 0 6px; white-space: nowrap; }

/* create */
.picked-title { font-weight: 700; margin: 4px 0; }
.picked .btn { margin-top: 8px; }
.canvas-wrap { padding: 8px; }
#cv { width: 100%; aspect-ratio: 1; display: block; border-radius: 10px; touch-action: none; }
.templates { display: flex; gap: 6px; overflow-x: auto; margin-top: 10px; scrollbar-width: none; }
.templates button { flex-shrink: 0; border: 1px solid var(--line); background: var(--bg2); color: var(--text); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: .8rem; cursor: pointer; }
.templates button.on { border-color: var(--cyan); color: var(--cyan); }
.file { cursor: pointer; margin: 0; color: var(--text); }
input[type=range] { width: 100%; accent-color: var(--orange); }
input[type=color] { width: 34px; height: 26px; border: 0; background: none; padding: 0; }
.fee-box b { color: var(--orange); }
.pick-list { display: flex; flex-direction: column; gap: 6px; max-height: 60vh; overflow: auto; margin-top: 10px; }
.pick-list button { text-align: left; display: flex; flex-direction: column; gap: 3px; background: var(--bg2); border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 10px; font: inherit; cursor: pointer; }

/* detail */
.detail { max-width: 640px; margin: 0 auto; }
.holo-card { position: relative; border-radius: 20px; overflow: hidden; margin-top: 10px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0,0,0,.6), 0 0 50px rgba(34,211,238,.15); transition: transform .15s; --sx: 50%; }
.holo-card img { width: 100%; display: block; }
.holo-shine { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.18) var(--sx), transparent 70%); mix-blend-mode: screen; pointer-events: none; }
.d-title { font-size: 1.5rem; margin: 10px 0 6px; }
.d-desc { color: #cdd7f3; line-height: 1.55; margin: 0 0 12px; }
.example-note { border-left: 3px solid #ffd34d; background: rgba(255,211,77,.08); color: #ffe9a3; padding: 10px 12px; border-radius: 8px; font-size: .86rem; }
.d-news { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-left: 3px solid var(--orange); background: var(--bg2); border-radius: 10px; color: var(--text); margin-bottom: 12px; }
.d-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0; }
.d-meta div { display: flex; flex-direction: column; gap: 2px; background: var(--bg2); padding: 8px; border-radius: 10px; }
.big-price { font-size: 1.7rem; font-weight: 700; color: var(--orange); }
.relist summary { cursor: pointer; margin-top: 14px; color: var(--cyan); font-weight: 600; }
.relist .input { margin-top: 8px; }

/* stats */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; }
.tile b { display: block; font-size: 1.35rem; color: var(--orange); } .tile span { font-size: .72rem; color: var(--muted); }
.hscroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.mini { flex-shrink: 0; width: 130px; color: var(--text); display: flex; flex-direction: column; gap: 4px; }
.mini img { width: 130px; height: 130px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.mini-t { font-size: .8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.table { padding: 4px 12px; }
.trow { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.trow:last-child { border: 0; }
.rank { width: 24px; height: 24px; border-radius: 8px; background: var(--bg2); display: grid; place-items: center; font-weight: 700; font-size: .78rem; flex-shrink: 0; }

/* me */
.me-head code { display: block; margin: 4px 0 10px; }
.big { font-size: 1.5rem; color: var(--orange); }
.pill { padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.pill.ok { background: rgba(46,229,157,.15); color: var(--green); } .pill.bad { background: rgba(255,61,90,.15); color: var(--red); }
.order { display: flex; gap: 12px; align-items: center; }
.order img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.order-act { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }

/* lock */
.lock { text-align: center; padding: 28px 18px; max-width: 460px; margin: 30px auto; }
.lock-ico { font-size: 40px; margin-bottom: 8px; color: var(--orange); }
.lock p { margin: 10px 0 16px; }
.meter { height: 10px; background: var(--bg2); border-radius: 999px; overflow: hidden; margin: 0 0 14px; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange2)); }

/* modal & toast */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(3,5,14,.75); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; }
.modal-card { position: relative; width: 100%; max-width: 480px; max-height: 88vh; overflow: auto; background: var(--bg2); border: 1px solid var(--line); border-radius: 22px 22px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); animation: up .25s ease; }
@media (min-width: 640px) { .modal { align-items: center; } .modal-card { border-radius: 22px; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.modal-card h2 { margin-bottom: 6px; padding-right: 30px; }
.modal-card.reader { max-width: 620px; max-height: 92vh; }
.rd-meta { padding-right: 40px; color: var(--orange2); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.rd-img { display: block; width: 100%; max-height: 260px; margin: 12px 0 4px; border-radius: 14px; object-fit: cover; background: var(--bg); }
.rd-title { margin: 10px 0 8px; font-size: 1.35rem; line-height: 1.25; }
.rd-summary { margin: 0 0 14px; color: #dbe3fa; font-size: 1rem; line-height: 1.6; }
.modal-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 20px; cursor: pointer; }
.or { text-align: center; color: var(--muted); font-size: .78rem; margin: 16px 0 8px; }
.pay-amount { text-align: center; font-size: 2rem; font-weight: 700; color: var(--orange); margin: 14px 0 2px; }
.pay-to { text-align: center; color: var(--muted); font-size: .85rem; margin: 6px 0 4px; }
details summary { cursor: pointer; color: var(--muted); font-size: .82rem; margin-top: 14px; }
details .input { margin-top: 8px; }
.block-code { display: block; background: var(--bg); padding: 10px; border-radius: 10px; margin: 8px 0; }
.toast { position: fixed; left: 50%; bottom: calc(var(--nav) + 20px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; background: #1a2550; border: 1px solid var(--orange); color: var(--text); padding: 10px 16px; border-radius: 12px; font-size: .88rem; max-width: 90vw; box-shadow: 0 10px 30px rgba(0,0,0,.5); }

/* Off-chain news reaction posts */
.ncard-img video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.post-card-argument { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.35; margin-top: 5px; }
.post-upload-preview { margin-top: 10px; min-height: 40px; }
.post-media-pending { position: absolute; inset: 0; display: grid; place-items: center; color: #f3a94b; font-size: 12px; letter-spacing: .12em; }
.post-retry-upload { margin-top: 8px; }
.post-upload-media { display: block; width: 100%; max-height: 380px; object-fit: contain; border-radius: 12px; background: #050814; }
.post-detail { max-width: 720px; margin: 0 auto; }
.post-feature { padding: 8px; }
.post-detail-media { display: block; width: 100%; max-height: 70vh; object-fit: contain; border-radius: 12px; background: #03050c; }
.post-detail-copy .d-desc { white-space: normal; overflow-wrap: anywhere; }
.mini video { width: 130px; height: 130px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #000; }
.order video { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #000; flex-shrink: 0; }
@media (max-width: 480px) {
  .post-detail-media { max-height: 56vh; }
  .post-upload-media { max-height: 300px; }
  .post-detail .d-meta { grid-template-columns: repeat(2, 1fr); }
  .post-detail .order-act { align-items: stretch; }
}

@media (min-width: 760px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .theatre { height: 460px; }
  .tiles { grid-template-columns: repeat(6, 1fr); }
}
