/* AVEN SHOW app layer on top of base.css (the original design) */
[hidden]{display:none!important}
body{font-family:'Inter','Noto Sans KR',system-ui,sans-serif}
.hdr .wrap{gap:22px}
.nav{margin-left:auto}
.nav a.on::after{bottom:-8px}
.pchip{text-decoration:none}
.acct-btn{height:34px;padding:0 16px;border-radius:99px;background:var(--red);font-size:13px;font-weight:700}
.acct-btn.user{background:rgba(255,255,255,.1)}
.thumb img,.pimg>img.cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.thumb .ph{position:absolute;inset:0}
.thumb .sample,.pimg .sample{position:absolute;left:8px;bottom:8px;z-index:2;font-size:9px;font-weight:800;letter-spacing:.5px;padding:3px 6px;border-radius:5px;background:rgba(0,0,0,.6);color:#ddd}
.pimg .sample{left:auto;right:8px;top:8px;bottom:auto}
.card{text-decoration:none;color:inherit;display:block}
.hero{cursor:default}
.card .sub .yr{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.sec-lead{font-size:13px;color:var(--muted);margin:-6px 0 4px;line-height:1.6}
.upcard .thumb{border:2px dashed #4a4a52;background:linear-gradient(160deg,#1c1530,#121215 60%,#2a0f14);box-shadow:none}
.upcard:hover .thumb{border-color:var(--red)}
.up-in{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:12px}
.up-in span{width:54px;height:54px;border-radius:50%;background:var(--red);display:grid;place-items:center;font-size:30px;font-weight:300;box-shadow:0 10px 30px rgba(245,197,24,.5)}
.up-in b{font-size:15px;font-weight:800}
.up-in small{font-size:11px;color:var(--muted);line-height:1.5}

/* pages */
.page{padding:104px 0 40px;min-height:70vh}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:26px}
.page-head h1{font-size:40px;font-weight:900;letter-spacing:-1px}
.page-head p{color:var(--muted);font-size:14px;margin-top:6px;max-width:620px;line-height:1.55}
.panel{background:#121215;border:1px solid var(--line);border-radius:20px;padding:24px;min-width:0}
.panel h3{font-size:17px;font-weight:800;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.panel .hint{font-size:12px;color:var(--muted);line-height:1.6}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px}
.grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.stack{display:flex;flex-direction:column;gap:18px}
.wallets{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin-bottom:18px}
.wallet{position:relative;overflow:hidden;border-radius:22px;padding:24px}
.wallet.shop{background:linear-gradient(135deg,#f5c518,#8a6400)}
.wallet.biz{background:linear-gradient(135deg,#f5c518,#b07a00);color:#140e00}
.wallet small{font-size:12px;font-weight:700;opacity:.85}
.wallet .v{font-size:40px;font-weight:900;letter-spacing:-1px;margin:6px 0 8px;font-variant-numeric:tabular-nums}
.wallet .v span{font-size:20px;margin-left:3px}
.wallet p{font-size:12px;line-height:1.55;opacity:.9;max-width:300px}
.wallet::after{content:'P';position:absolute;right:-6px;bottom:-46px;font-family:'Bebas Neue';font-size:180px;opacity:.13}
.tbl-wrap{overflow-x:auto}
.tbl{width:100%;border-collapse:collapse;font-size:13px}
.tbl th{text-align:left;font-size:11px;font-weight:700;color:var(--muted);padding:8px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
.tbl td{padding:11px 10px;border-bottom:1px solid #1f1f23;vertical-align:middle}
.tbl td.num{font-variant-numeric:tabular-nums;font-weight:800;text-align:right;white-space:nowrap}
.plus{color:var(--gold)}.minus{color:#ff6b6b}
.badge{display:inline-block;font-size:11px;font-weight:800;padding:3px 9px;border-radius:99px;background:#26262a;color:#ccc;white-space:nowrap}
.badge.issued{background:#3b2c05;color:var(--gold)}.badge.redeemed{background:#0f3a1d;color:#6ee787}
.badge.cancelled,.badge.expired,.badge.hidden{background:#2a1416;color:#ff8a8a}.badge.active,.badge.open{background:#0f3a1d;color:#6ee787}
.tbl td:first-child,.tbl td:nth-child(2){min-width:90px}
.mini-btn{white-space:nowrap;height:28px;padding:0 12px;border-radius:99px;background:#26262a;font-size:12px;font-weight:700}
.mini-btn:hover{background:var(--red)}
.empty-box{padding:30px 10px;text-align:center;color:var(--muted);font-size:13px;line-height:1.7}
.gate{max-width:440px;margin:40px auto;text-align:center}
.gate h2{font-size:26px;font-weight:900;margin-bottom:8px}
.gate p{color:var(--muted);font-size:14px;line-height:1.6;margin-bottom:22px}
.wide.ghost{background:transparent;border:1.5px solid var(--red)}
.btn-row{display:flex;gap:10px;flex-wrap:wrap}
.btn-row .wide{flex:1;min-width:160px}
.f textarea{width:100%;min-height:80px;border-radius:12px;background:#1b1b1f;border:1px solid var(--line2);padding:12px 14px;font:inherit;font-size:14px;color:#fff;outline:none;resize:vertical}
.f textarea:focus{border-color:var(--red)}
.f .help{font-size:11px;color:var(--muted);margin-top:6px;line-height:1.5}
.code-box{font-family:ui-monospace,Consolas,monospace;font-size:30px;font-weight:800;letter-spacing:3px;text-align:center;padding:18px;border-radius:16px;background:#1b1b1f;border:1.5px dashed var(--gold);color:var(--gold);user-select:all;margin:14px 0}
.range{width:100%;accent-color:var(--red)}
.sum{display:flex;justify-content:space-between;font-size:14px;padding:10px 0;border-bottom:1px solid var(--line)}
.sum.tot{border:0;font-size:18px;font-weight:800}
.sum.tot b{color:var(--red2)}
.ev-card{display:flex;flex-direction:column;gap:10px}
.ev-card .cost{font-size:26px;font-weight:900;color:var(--gold)}
.ev-card .meta2{font-size:12px;color:var(--muted)}
.stat{background:#121215;border:1px solid var(--line);border-radius:16px;padding:16px}
.stat small{font-size:11px;color:var(--muted)}
.stat b{display:block;font-size:24px;font-weight:900;margin-top:4px;font-variant-numeric:tabular-nums}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:18px}
.creator-band{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;align-items:center;background:linear-gradient(120deg,#1a0b2e,#121215 55%);border:1px solid var(--line);border-radius:24px;padding:30px;margin-top:10px}
.creator-band h3{font-size:26px;font-weight:900;line-height:1.2;margin-bottom:10px}
.creator-band p{font-size:14px;color:#cfcfd4;line-height:1.65}
.creator-band .pts-flow{display:flex;flex-direction:column;gap:10px}
.creator-band .pts-flow div{display:flex;gap:12px;align-items:center;font-size:13px;background:rgba(255,255,255,.05);border-radius:14px;padding:12px 14px}
.creator-band .pts-flow b{font-family:'Bebas Neue';font-size:28px;color:var(--red);width:28px}
.how.four{grid-template-columns:repeat(4,1fr)}
.guest-note{font-size:12px;color:var(--gold);margin-top:10px}
.endcard .row2{display:flex;gap:8px;width:100%}
.endcard .row2 .go{flex:1;animation:none}
.endcard .go.sub{background:rgba(255,255,255,.14)}
.watch .stage .bigplay{z-index:5}
.stage:has(.endcard.show) .ovl{opacity:0;transition:opacity .3s}
.endcard{background:linear-gradient(0deg,rgba(0,0,0,.96) 30%,rgba(0,0,0,.55) 70%,rgba(0,0,0,.3))}
/* shorts watch page (opens when a video is tapped; home keeps its own layout) */
body.shorts-mode .ftr{display:none}
.shorts{position:relative;min-height:100vh;padding:84px 16px 18px;display:flex;justify-content:center;align-items:flex-start;overflow:hidden;background:#000}
.sh-bg{position:absolute;inset:-80px;background-size:cover;background-position:center;filter:blur(60px) brightness(.35) saturate(1.3);z-index:0}
.sh-back{position:absolute;top:92px;left:24px;z-index:8;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.12);font-size:20px;font-weight:700}
.sh-back:hover{background:var(--red)}
.sh-main{position:relative;z-index:1;display:flex;align-items:center;gap:22px}
.sh-col{position:relative;display:flex;align-items:flex-end;gap:14px}
.shorts .stage{height:min(calc(100vh - 104px),900px);touch-action:none}
.sh-info{position:absolute;left:0;right:0;bottom:0;z-index:4;padding:60px 16px 18px;pointer-events:none;
  background:linear-gradient(0deg,rgba(0,0,0,.85) 0%,rgba(0,0,0,.45) 55%,transparent)}
.stage:has(.endcard.show) .sh-info,.sh-col>.sh-info{display:none}
.shorts .stage .ovl{display:none}
.sh-owner{display:flex;align-items:center;gap:6px;font-size:13px}
.sh-owner span{color:#bbb;font-size:11px;margin-left:4px}
.sh-info h2{font-size:18px;font-weight:800;line-height:1.3;margin:6px 0 4px;text-shadow:0 2px 8px rgba(0,0,0,.6)}
.sh-meta{font-size:12px;color:#ddd}
.sh-meta b{color:var(--gold)}
.sh-desc{font-size:12px;color:#ccc;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sh-prod{pointer-events:auto;margin-top:10px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px;border-radius:14px;background:rgba(20,20,24,.78);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.12)}
.sh-prod .pi{width:48px;height:48px;border-radius:10px;overflow:hidden;display:grid;place-items:center}
.sh-prod .pi img{width:100%;height:100%;object-fit:cover}
.sh-prod .pi.png img{width:90%;height:auto;object-fit:contain}
.sh-prod h5{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sh-prod .price{font-size:12px;display:flex;gap:6px;align-items:baseline;flex-wrap:wrap}
.sh-prod .price b{font-size:14px}
.sh-prod .price s{color:#999;font-size:11px}
.sh-prod .pp{color:var(--gold);font-size:11px;font-weight:700}
.sh-prod .go{height:36px;padding:0 14px;border-radius:99px;background:var(--red);font-weight:800;font-size:12px;white-space:nowrap}
.sh-prod .go:disabled{background:#2a2a2e;color:#aaa;cursor:not-allowed}
.sh-acts{display:flex;flex-direction:column;align-items:center;gap:16px;padding-bottom:6px}
.sh-act{display:flex;flex-direction:column;align-items:center;gap:5px;color:#fff;background:none;border:0;cursor:pointer;font:inherit}
.sh-act .ic{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.14);font-size:20px;font-weight:800;transition:background .2s,transform .15s}
.sh-act:hover .ic{background:rgba(255,255,255,.26)}
.sh-act:active .ic{transform:scale(.92)}
.sh-act.on .ic{background:var(--red)}
.sh-act small{font-size:11px;font-weight:700;text-shadow:0 1px 4px rgba(0,0,0,.7)}
.sh-ring{display:flex;flex-direction:column;align-items:center;gap:3px;background:none;border:0;color:#fff;cursor:pointer;font:inherit}
.sh-ring .ring{width:56px;height:56px;border-radius:50%;background:rgba(0,0,0,.55)}
.sh-ring .ring svg{width:56px;height:56px}
.sh-ring .ring b{font-size:13px}
.sh-ring small{font-size:11px;font-weight:800;color:var(--gold)}
.sh-ring.ok .ring{box-shadow:0 0 0 2px var(--gold),0 0 18px rgba(245,197,24,.5)}
.snav{display:flex;flex-direction:column;gap:12px}
.snav button{width:48px;height:48px;border-radius:50%;border:0;background:rgba(255,255,255,.12);color:#fff;font-size:16px;cursor:pointer;transition:background .2s,transform .2s}
.snav button:hover:not(:disabled){background:rgba(255,255,255,.24);transform:scale(1.06)}
.snav button:disabled{opacity:.25;cursor:default}
.stage.out-up{animation:swOutUp .26s ease-in forwards}
.stage.out-down{animation:swOutDown .26s ease-in forwards}
.stage.in-up{animation:swInUp .34s ease-out}
.stage.in-down{animation:swInDown .34s ease-out}
@keyframes swOutUp{to{transform:translateY(-38%);opacity:0}}
@keyframes swOutDown{to{transform:translateY(38%);opacity:0}}
@keyframes swInUp{from{transform:translateY(38%);opacity:0}}
@keyframes swInDown{from{transform:translateY(-38%);opacity:0}}
.swipe-hint{position:absolute;left:50%;top:45%;transform:translateX(-50%);display:none;flex-direction:column;align-items:center;gap:2px;z-index:9;pointer-events:none;font-size:13px;font-weight:700;text-shadow:0 2px 10px rgba(0,0,0,.8);padding:14px 18px;border-radius:16px;background:rgba(0,0,0,.45)}
.swipe-hint b{font-size:26px;animation:swBob 1.2s ease-in-out infinite}
.swipe-hint.show{display:flex;animation:swFade 5s forwards}
@keyframes swBob{50%{transform:translateY(-10px)}}
@keyframes swFade{0%,80%{opacity:1}100%{opacity:0}}
/* admin view counter */
.vall{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;padding:12px 14px;border-radius:14px;background:#17171b;font-size:13px}
.vall label{display:flex;align-items:center;gap:6px;color:var(--muted)}
.vin{width:110px;height:32px;border-radius:8px;border:1px solid var(--line);background:#0d0d10;color:#fff;padding:0 8px;font:inherit;font-size:12px}
.vin.sm{width:80px}
.vsw{position:relative;display:inline-block;width:40px;height:22px;cursor:pointer}
.vsw input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.vsw i{position:absolute;inset:0;border-radius:99px;background:#333;transition:background .2s;pointer-events:none}
.vsw i::after{content:'';position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .2s}
.vsw input:checked+i{background:var(--red)}
.vsw input:checked+i::after{transform:translateX(18px)}
.vsw input:focus-visible+i{outline:2px solid #fff;outline-offset:2px}
@media (max-width:980px){
  .acct-btn{margin-left:0}
  .how.four{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .page{padding-top:80px}
  .page-head h1{font-size:30px}
  .creator-band{grid-template-columns:1fr;padding:22px}
  .how.four{grid-template-columns:1fr}
  .acct-btn{height:32px;padding:0 12px;font-size:12px}
  body.shorts-mode .hdr{display:none}
  .shorts{padding:0;height:100dvh;min-height:0}
  .sh-back{position:fixed;top:14px;left:12px;width:38px;height:38px;font-size:17px;background:rgba(0,0,0,.4)}
  .sh-main{width:100%;height:100%}
  .sh-col{width:100%;height:100%}
  .shorts .stage{width:100vw;height:100dvh;border-radius:0;box-shadow:none}
  .sh-info{padding:60px 76px 18px 14px}
  .sh-acts{position:absolute;right:8px;bottom:22px;z-index:7;gap:14px}
  .sh-act .ic{width:44px;height:44px;font-size:18px;background:rgba(0,0,0,.4)}
  .snav{display:none}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.im-sum{margin:14px 0 10px;font-size:14px;font-weight:700}.im-sum small{font-weight:400;color:var(--muted);font-size:12px}
/* admin auto discovery */
.ds-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px}
.ds-btn{position:relative;display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 20px;border-radius:14px;border:1px solid var(--line);background:#17171b;color:#fff;font:inherit;font-weight:700;font-size:14px;cursor:pointer;transition:border-color .2s,background .2s}
.ds-btn.on{border-color:var(--red);background:rgba(245,197,24,.16)}
.ds-btn i{width:8px;height:8px;border-radius:50%;background:#555;margin-left:4px}
.ds-btn i.ok{background:#3ddc84}
.ds-seg{display:inline-flex;border-radius:10px;overflow:hidden;border:1px solid var(--line)}
.ds-seg button{height:32px;padding:0 16px;background:#0d0d10;color:#bbb;border:0;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.ds-seg button.on{background:var(--red);color:#fff}
.ds-bar{display:flex;align-items:center;gap:14px;margin:6px 0 10px;font-size:13px}
.ds-bar label{display:flex;gap:6px;align-items:center;color:var(--muted)}
.ds-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px;max-height:520px;overflow:auto;padding-right:4px}
.ds-item{display:grid;grid-template-columns:18px 54px minmax(0,1fr);gap:10px;align-items:center;padding:8px;border-radius:12px;background:#17171b;cursor:pointer}
.ds-item.dim{opacity:.45;cursor:default}
.ds-item .th{width:54px;height:72px;border-radius:8px;background:#222 center/cover;display:grid;place-items:center}
.ds-item .tx{min-width:0;display:flex;flex-direction:column;gap:2px}
.ds-item b{font-size:12px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ds-item small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds-item .sc{color:var(--gold)}
.ds-err{color:#ff8a8a;font-size:13px;line-height:1.6;margin:6px 0}
.ds-set{margin-top:14px;font-size:13px}
.ds-set summary{cursor:pointer;color:var(--muted);margin-bottom:10px}
.ds-ko{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);cursor:pointer}
/* platform logo badge on every video */
.pbadge{position:absolute;left:8px;top:8px;z-index:3;display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px 0 6px;border-radius:99px;font-size:11px;font-weight:800;letter-spacing:.2px;color:#fff;box-shadow:0 2px 10px rgba(0,0,0,.35)}
.pbadge svg{width:14px;height:14px;flex:none}
.pb-youtube{background:#fff;color:#0f0f0f}
.pb-instagram{background:linear-gradient(45deg,#feda75,#fa7e1e 25%,#d62976 50%,#962fbf 75%,#4f5bd5)}
.pb-instagram svg *{stroke:#fff}
.pb-tiktok{background:#000;box-shadow:-2px 0 0 #25f4ee,2px 0 0 #fe2c55,0 2px 10px rgba(0,0,0,.35)}
.pb-threads{background:#000;border:1px solid rgba(255,255,255,.3)}
.pb-aven{background:rgba(0,0,0,.65);backdrop-filter:blur(4px)}
.pbadge.big{position:static;height:30px;padding:0 12px 0 8px;font-size:13px;gap:6px}
.pbadge.big svg{width:18px;height:18px}
.sh-badge{position:absolute;left:14px;top:14px;z-index:4;pointer-events:none}
.sh-col>.sh-badge{display:none}
.stage:has(.endcard.show) .sh-badge{display:none}
@media (max-width:760px){.sh-badge{left:auto;right:12px;top:16px}}
.unmute{position:absolute;left:50%;top:64px;transform:translateX(-50%);z-index:6;height:36px;padding:0 16px;border-radius:99px;border:0;background:rgba(0,0,0,.7);color:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer;backdrop-filter:blur(6px)}
/* touch layer over embedded players: catches swipes, taps play/pause through the player API */
.swipezone{position:absolute;left:0;right:0;z-index:3;touch-action:none}
.swipezone.full{top:0;bottom:0;cursor:pointer}
.swipezone.top{top:0;height:36%}
.swipezone.bottom{bottom:0;height:34%}
.unmute{pointer-events:none}
.swipe-hint{display:none!important}
/* embedded players keep their own UI; our layer leaves YouTube's top bar (channel, sound) and bottom bar tappable */
.swipezone.mid{top:13%;bottom:8%;cursor:pointer}
.shorts .stage{background-size:cover;background-position:center}
.shorts .stage iframe#yt{opacity:1}
.sh-info.embed{background:none;padding:0 14px 54px;pointer-events:none}
.sh-info.embed:empty{display:none}
.sh-badge{left:62px;top:16px}
@media (max-width:760px){.sh-badge{left:58px;right:auto;top:18px}.sh-info.embed{padding:0 76px 60px 12px}}
.stage.out-up{animation-duration:.17s}.stage.out-down{animation-duration:.17s}
.stage.in-up,.stage.in-down{animation-duration:.22s}
.unmute{top:auto;bottom:24%}
/* platform logo sits at the top of our button column, off the video, so it never covers the player's own bar */
.sh-acts .sh-badge{position:static;margin-bottom:4px}
.sh-acts .pbadge.big{height:26px;padding:0 9px 0 6px;font-size:11px}
.sh-acts .pbadge.big svg{width:15px;height:15px}
@media (max-width:760px){.sh-acts .sh-badge{position:static}}
.install-btn{height:34px;padding:0 14px;border-radius:99px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;font:inherit;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.install-btn:hover{background:var(--red);border-color:var(--red)}
@media (max-width:760px){.install-btn{height:32px;padding:0 11px}}
/* opened from the home-screen icon: respect the phone's notch / status bar */
@media (display-mode: standalone){.hdr{padding-top:env(safe-area-inset-top)}.sh-back{top:calc(14px + env(safe-area-inset-top))}}
/* signature colour is the points yellow: anything sitting on it gets dark text so it stays readable */
.btn,.btn:hover,.pill.on,.thumb .done::before,.sp.on,.x:hover,.stage .bigplay span,.endcard .go,.back:hover,.wact button.on,
.buybox .go,.buybox .go:hover:not(:disabled),.wide,.sw.on,.acct-btn,.up-in span,.mini-btn:hover,.sh-back:hover,.sh-prod .go,
.sh-act.on .ic,.ds-seg button.on,.install-btn:hover{color:var(--on-red)}
.btn .ic{background:#111;color:var(--red)}
.btn.ghost{color:#fff}
.endcard .go.sub{color:#fff}
.wallet.shop,.bal{color:#111}
.wallet.shop *,.bal *{color:inherit}
.acct-btn.user{color:#fff}
/* product bar: price, discount and the countdown button share one centre line; the button keeps one width while seconds tick */
.sh-prod{align-items:center}
.sh-prod .tx{display:flex;flex-direction:column;justify-content:center;gap:2px}
.sh-prod .price{flex-wrap:nowrap;align-items:center;white-space:nowrap;line-height:1.2}
.sh-prod .go{width:118px;padding:0 8px;display:inline-flex;align-items:center;justify-content:center;font-variant-numeric:tabular-nums;align-self:center}
.sh-prod .price{margin-top:0;gap:6px}.sh-prod .price .pp{margin-left:0;padding:2px 6px;border-radius:6px;background:rgba(245,197,24,.15);line-height:1.2}
.shorts{touch-action:none;overscroll-behavior:none}
body.booting .ftr{display:none}
/* mobile: "내 영상 올리기" lives in the header next to the menu button */
.up-btn{display:none}
.install-btn i{display:none;font-style:normal}
@media (max-width:760px){
  .up-btn{display:inline-flex;height:32px;padding:0 13px 0 8px;font-size:12px;white-space:nowrap;flex:none}
  .acct-btn.user{display:none}   /* signed in: the points chip and the menu already lead to my page */
  .hero-up{display:none}
  .install-btn{width:32px;padding:0;display:inline-grid;place-items:center}
  .install-btn[hidden]{display:none}
  .install-btn i{display:block;font-size:15px}
  .install-btn span{display:none}
  .acct-btn{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .hdr .wrap{gap:8px}
}
@media (max-width:360px){.up-btn{font-size:11px;padding:0 10px 0 6px}.hdr .wrap{gap:6px}}
/* Google sign-in */
.g-wrap{display:flex;justify-content:center;min-height:44px;margin:4px 0 6px}
#gBtn{width:100%;display:flex;justify-content:center}
.or{display:flex;align-items:center;gap:10px;margin:14px 0 6px;color:var(--muted);font-size:12px}
.or::before,.or::after{content:'';flex:1;height:1px;background:var(--line)}
[data-st="google"]{display:inline-block;width:8px;height:8px;border-radius:50%;background:#555;margin-left:4px}
[data-st="google"].ok{background:#3ddc84}
.g-fake{width:100%;max-width:400px;height:44px;border-radius:99px;border:1px solid #3c4043;background:#131314;color:#e3e3e3;font:inherit;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:pointer}
.g-fake:hover{background:#1f1f21}
/* next/previous cover that follows the finger during a swipe */
.sh-peek{position:absolute;z-index:0;border-radius:22px;background:#0d0d0f center/cover no-repeat;will-change:transform;pointer-events:none}
.shorts .stage{will-change:transform}
@media (max-width:760px){
  .sh-peek{border-radius:0}
  .sh-bg{display:none}   /* full-screen video on phones: the blurred backdrop is never seen and is costly to repaint */
}
/* phone header: everything packs to the right so "내 영상 올리기" sits right next to the menu button */
@media (max-width:760px){
  .hdr .wrap{justify-content:flex-start;gap:8px}
  /* login (or the points chip once signed in) on the left; install, upload and menu packed on the right */
  .acct-btn,.pchip{order:-1;margin-left:0;margin-right:auto}
  .install-btn{order:8}
  .up-btn{order:9}
  .burger{order:10}
}
.qr-box{margin-top:18px;display:flex;flex-direction:column;align-items:center;gap:10px}
#qrBox{width:200px;height:200px;padding:14px;background:#fff;border-radius:18px;box-shadow:0 0 0 4px var(--red)}
#qrBox svg{width:100%;height:100%;display:block}
.qr-box p{font-size:12px;color:var(--muted);text-align:center}
/* phone header v3: [login or points][APP] on the left, [+영상올리기][menu] on the right */
@media (max-width:760px){
  .acct-btn,.pchip{order:-2;margin-right:0}
  .install-btn{order:-1;width:auto;padding:0 11px;display:inline-flex;align-items:center;border-color:rgba(245,197,24,.6);color:var(--red)}
  .install-btn[hidden]{display:none}
  .install-btn i{display:block;font-style:normal;font-size:12px;font-weight:900;letter-spacing:.5px}
  .up-btn{margin-left:auto}
}
/* toasts always on one tidy line, sized to the text */
.toast{width:max-content;max-width:calc(100vw - 24px);white-space:nowrap;padding:11px 18px 11px 11px;gap:9px}
.toast span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.toast i{flex:none}
@media (max-width:760px){.toast{font-size:13px;bottom:calc(24px + env(safe-area-inset-bottom))}.toast i{width:22px;height:22px;font-size:11px}}
.shorts .stage iframe#yt{transition:none}
/* two fields side by side ("f two"): same spacing as every other field; stacked on phones */
.f.two{display:flex;flex-wrap:wrap;gap:16px 10px}
.f.two>div{flex:1 1 140px;min-width:0}
@media (max-width:760px){.f.two{flex-direction:column;gap:16px}.f.two>div{flex:none;width:100%}}
/* form titles in the signature yellow; small grey notes under forms */
.f label{color:var(--red)}
.help{font-size:12px;color:var(--muted);line-height:1.6;margin:4px 0 14px}
/* footer: one line of policies, one line of copyright */
.ftr .ftr-lines{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.ftr-line{font-size:12px;color:var(--muted);white-space:nowrap}
.ftr-line.copy{color:var(--dim)}
@media (max-width:380px){.ftr-line{font-size:11px}}
/* points guide under "포인트는 이렇게 받아요" */
.pt-guide{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.pt-guide h4{font-size:14px;color:var(--red);margin-bottom:8px}
.pt-guide p{font-size:12px;color:#cfcfd4;line-height:1.65;margin-bottom:6px}
.pt-guide b{color:#fff;margin-right:6px}
/* kept YouTube players: the one on screen is visible, the one preloading the next video is hidden underneath */
.shorts .stage iframe{opacity:1}
.shorts .stage iframe.yt-hidden{opacity:0!important;pointer-events:none!important;z-index:0}
/* 콘포인트 cone icon */
.cone-ic{width:1.35em;height:1.35em;object-fit:contain;vertical-align:-.32em;margin-right:3px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
.wallet .cone-ic{width:1.6em;height:1.6em}
.wide .cone-ic{width:1.4em;height:1.4em}
/* 콘포인트 wallet: cone icon in the label and as the big mark on the card */
.wallet small{display:inline-flex;align-items:center;gap:4px}
.wallet small .cone-ic{width:22px;height:22px;margin:0;vertical-align:middle}
.wallet.biz::after{content:'';right:14px;bottom:12px;width:120px;height:120px;background:url(/icons/cone.png) center/contain no-repeat;opacity:.9;transform:rotate(12deg)}
/* upload page: four platform icons in one tidy row that always fits the card */
.plats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:-4px 0 22px}
.plats span{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px 8px;border-radius:16px;background:#17171b;font-size:11px;font-weight:700;color:#ddd;min-width:0}
.plats img{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.45))}
/* playing video: platform icon, like (heart) and share (megaphone) as 3D icons */
.sh-acts .sh-pimg{width:46px;height:46px;object-fit:contain;display:block;filter:drop-shadow(0 4px 10px rgba(0,0,0,.5))}
.sh-act.pic .ic{background:none!important;width:50px;height:50px}
.sh-act.pic .ic img{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 4px 10px rgba(0,0,0,.55));transition:transform .15s,filter .2s}
#wLike:not(.on) .ic img{filter:drop-shadow(0 4px 10px rgba(0,0,0,.55)) saturate(.55) brightness(.9)}
#wLike.on .ic img{transform:scale(1.08)}
.sh-act.pic:active .ic img{transform:scale(.9)}
/* phones: the side buttons hug the right edge so they cover less of the video */
@media (max-width:760px){
  .sh-acts{right:2px;gap:10px}
  .sh-act.pic .ic{width:44px;height:44px}
  .sh-act.pic .ic img,.sh-acts .sh-pimg{width:40px;height:40px}
  .sh-act .ic{width:40px;height:40px}
  .sh-info{padding-right:60px}
}
/* never let anything make the page wider than the phone (the installed app would slide sideways) */
html{overflow-x:hidden}
body{overflow-x:clip;max-width:100vw}
.ds-paste{margin:0 0 12px}
.ds-paste textarea{width:100%;height:auto;min-height:96px;padding:10px 12px;resize:vertical;line-height:1.5}
/* 콘포인트 card: the cone sits in the empty top-right corner, clear of the text */
.wallet.biz::after{top:14px;right:14px;bottom:auto;width:86px;height:86px;transform:rotate(10deg)}
@media (max-width:760px){.wallet.biz::after{width:72px;height:72px}}
.mini-btn.del{color:#ff8a8a;border-color:rgba(255,138,138,.35)}.mini-btn.del:hover{background:#c0392b;color:#fff}
.tt-out{position:absolute;left:50%;bottom:90px;transform:translateX(-50%);z-index:6;padding:9px 16px;border-radius:99px;background:rgba(0,0,0,.72);color:#fff;font-size:13px;font-weight:700;white-space:nowrap;backdrop-filter:blur(6px)}
/* comments sheet */
.sheet.cmt-sheet{max-width:480px;padding:26px 22px 20px;display:flex;flex-direction:column;max-height:80vh}
.cmt-h{font-size:18px;margin-bottom:12px}.cmt-h span{color:var(--red);margin-left:4px}
.cmt-list{flex:1;overflow:auto;min-height:120px;margin:0 -4px;padding:0 4px}
.cmt{padding:12px 0;border-bottom:1px solid var(--line)}
.cmt-top{display:flex;align-items:center;gap:8px}
.cmt-top b{font-size:13px}.cmt-top small{font-size:11px;color:var(--muted)}
.cmt-del{margin-left:auto;font-size:11px;color:#ff8a8a;background:none;border:0;cursor:pointer}
.cmt p{font-size:14px;line-height:1.55;margin-top:4px;white-space:pre-wrap;word-break:break-word;color:#e6e6ea}
.cmt-empty{color:var(--muted);font-size:13px;text-align:center;padding:30px 0}
.cmt-form{display:flex;gap:8px;margin-top:12px}
.cmt-form input{flex:1;min-width:0;height:44px;border-radius:12px;background:#1b1b1f;border:1px solid var(--line2);padding:0 14px;color:#fff;font:inherit;font-size:14px}
.cmt-form .wide{width:auto;padding:0 18px;margin:0;height:44px}
@media (max-width:760px){
  #modal:has(.cmt-sheet){align-items:flex-end;padding:0}
  .sheet.cmt-sheet{max-width:none;border-radius:22px 22px 0 0;max-height:72vh;padding-bottom:calc(16px + env(safe-area-inset-bottom))}
}
/* TikTok blocked on this phone */
.tt-card{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:30px 70px 30px 24px;text-align:center;background:#000}
.tt-cover{position:absolute;inset:0;background:center/cover no-repeat;filter:blur(18px) brightness(.45);transform:scale(1.15)}
.tt-card>*{position:relative}
.tt-logo{width:64px;height:64px}
.tt-card b{font-size:16px;line-height:1.4;max-width:280px}
.tt-card small{color:#bbb;font-size:12px}
.tt-open{margin-top:6px;padding:12px 22px;border-radius:99px;background:var(--red);color:var(--on-red);font-weight:800;font-size:14px}
.tt-card p{font-size:11px;color:#999;max-width:260px;line-height:1.5}
/* video cards: channel · likes · views always on one line */
.card .sub{flex-wrap:nowrap;white-space:nowrap;overflow:hidden;gap:5px}
.card .sub .yr{flex:1 1 auto}
.card .sub .hrt,.card .sub .rt,.card .sub>span{flex:none}
.card .sub .yr{flex:1 1 auto!important}
.card .sub .rt{display:inline-flex;align-items:center;gap:2px}
/* shop cards: name on one line, price row on one line */
.pcard h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pcard .price{flex-wrap:nowrap;white-space:nowrap;overflow:hidden;gap:5px;align-items:baseline}
.pcard .price b{flex:none}
.pcard .price s{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
.pcard .price .pp{flex:none;margin-left:auto}
@media (max-width:760px){.pcard .price b{font-size:14px}.pcard .price s{font-size:11px}.pcard .price .pp{font-size:11px}}
.ig-mask{position:absolute;left:0;right:0;z-index:2;background:#000;pointer-events:none}.shorts .stage iframe.ig-frame{background:#000}
.unmute.one{white-space:nowrap;font-size:13px;padding:0 14px;display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:calc(100% - 24px)}.unmute .tip-arrow{display:inline;color:var(--red);font-size:12px}.unmute{white-space:nowrap}
.shorts .stage video.ig-video{object-fit:cover;background:#000}
/* product window: show the whole picture (no cut-off text) */
#modalBody .vis.isphoto .ovl{display:none}
#modalBody .vis img,#modalBody .vis .photo img{object-fit:contain!important;width:100%;height:100%}
.shorts .stage video.ig-pre{opacity:0!important;pointer-events:none!important;z-index:0}
/* the next video's screen waits just below the current one and slides up with the finger */
.shorts .stage.stage-next{position:absolute;z-index:0;pointer-events:none;will-change:transform;background:#0d0d0f center/cover no-repeat}
.shorts .stage.stage-next .unmute,.shorts .stage.stage-next .endcard{display:none}
.shorts .stage.stage-next{transform:translate3d(0,120vh,0)}
.hero picture{display:contents}
