/* Phase D5.1a — public-feed-base.css (side-by-side, NOT connected)
 * Extracted from assets/style.css for future public/feed enqueue (D5.1b).
 * Full style.css remains linked on all pages until explicit switch approval.
 * Scope: guest public/feed tokens, base UI, user-mode feed parity, voice corners.
 * Excludes: mobile-admin, profile, contests, auth, site_feed_admin, composer record UI.
 * Date: 2026-06-04
 */
/* --- 1. Design tokens (:root) --- */
/* --- 2. Global reset, layout shell, buttons, pills, flash --- */
:root{
  --bg:#070707;
  --panel:#121212;
  --panel2:#1b1b1b;
  --text:#f7f7f7;
  --muted:#aaa;
  --orange:#ff7a00;
  --orange2:#ff9f1a;
  --danger:#ff3b30;
  --ok:#26d07c;
  --line:#2a2a2a;
}

body{margin:0;background:radial-gradient(circle at top right,#2b1600 0,#070707 36%,#050505 100%);color:var(--text);font:16px/1.45 Arial,Helvetica,sans-serif;min-height:100vh}

.wrap{max-width:1180px;margin:auto;padding:18px}

header:not(.dc-app-header){display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;padding:16px 18px;background:rgba(18,18,18,.92);border:1px solid var(--line);border-radius:22px;box-shadow:0 12px 40px rgba(0,0,0,.35)}

.brand{font-weight:900;font-size:24px;color:#fff;text-decoration:none;letter-spacing:.5px}

.brand span{color:var(--orange)}

nav a{color:#fff;text-decoration:none;margin-left:14px;padding:9px 12px;border-radius:12px;border:1px solid transparent}

nav a:hover{border-color:var(--orange);color:var(--orange)}

h1{font-size:34px;margin:12px 0 18px}

h2{margin-top:0}

.card{background:linear-gradient(180deg,var(--panel),var(--panel2));border:1px solid var(--line);border-radius:24px;padding:22px;margin:16px 0;box-shadow:0 16px 48px rgba(0,0,0,.4)}

label{display:block;margin:12px 0 6px;color:#ddd;font-weight:700}

input,
textarea{width:100%;background:#0d0d0d;color:#fff;border:1px solid #353535;border-radius:14px;padding:13px 14px;outline:none}

input:focus,
textarea:focus{border-color:var(--orange);box-shadow:0 0 0 3px rgba(255,122,0,.14)}

a{color:var(--orange2)}

.btn{display:inline-block;border:0;background:linear-gradient(135deg,var(--orange),var(--orange2));color:#111;padding:12px 18px;border-radius:14px;font-weight:900;text-decoration:none;cursor:pointer;box-shadow:0 8px 22px rgba(255,122,0,.22)}

.btn:hover{filter:brightness(1.08)}

.btn.secondary{background:#222;color:#fff;border:1px solid var(--orange);box-shadow:none}

.btn.danger{background:var(--danger);color:#fff}

.pill{border-radius:999px;padding:5px 10px;font-size:12px;font-weight:900}

.pill.ok{background:rgba(38,208,124,.12);color:var(--ok)}

.pill.danger{background:rgba(255,59,48,.12);color:var(--danger)}

.pill.warn{background:rgba(255,122,0,.14);color:var(--orange2)}

.pill.muted{background:#252525;color:#999}

.flash{padding:14px 16px;border-radius:16px;margin:12px 0;border:1px solid var(--line);background:#161616}

.flash.danger{border-color:rgba(255,59,48,.5);color:#ffb2ad}

.flash.ok,
.flash.success{border-color:rgba(38,208,124,.5);color:#a7f0ca}

.muted{color:var(--muted)}

@media(max-width:760px){
.wrap{padding:12px 12px calc(130px + env(safe-area-inset-bottom,0px))}

header:not(.dc-app-header){display:grid;grid-template-columns:1fr;gap:16px}

.brand{display:inline-flex;margin-bottom:0}

nav a{display:flex;align-items:center;justify-content:center;text-align:center;margin:0}

h1{font-size:28px}

body{padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))}

}

/* --- 3. Legacy TG post helpers (pre feed-unified overlap) --- */
.logo-dream{color:#ff8a00;font-weight:900;}

.logo-cars{color:#ffffff;font-weight:900;}

.pill.warn{background:rgba(255,193,7,.12);color:#ffd166;border-color:rgba(255,193,7,.25)}

@media(max-width:860px){
.card table{min-width:900px}

}

/* --- 4. DREAMCARS TELEGRAM FEED V12 — user-mode #feedPosts parity --- */
.tg-audio-post{display:flex;align-items:center;gap:10px;background:rgba(18,26,31,.92);border-radius:16px;padding:10px 12px;max-width:360px}

.tg-audio-post audio{max-width:220px}

.tg-video-note{width:230px;height:230px;border-radius:50%;object-fit:cover;background:#111;border:1px solid rgba(255,122,0,.25)}

.tg-media-caption{margin-top:10px}

.feed-post .tg-post-meta{font-size:13px;color:rgba(255,255,255,.6);margin-top:8px;display:flex;gap:8px;align-items:center}

.feed-post .tg-eye{opacity:.85}

.feed-post.card{background:transparent!important;border:none!important;box-shadow:none!important;padding:0;display:flex;flex-direction:column;align-items:flex-start;opacity:1;transform:translateY(0);transition:transform .28s ease,opacity .28s ease}

.feed-post .feed-text,
.tg-audio-post,
.tg-video-note{backdrop-filter:blur(18px)}

.feed-post .feed-text{background:rgba(20,20,20,.72);border-radius:22px;padding:14px 18px;max-width:min(82vw,460px);line-height:1.45;box-shadow:0 10px 30px rgba(0,0,0,.22)}

.tg-audio-post{position:relative;background:rgba(20,20,20,.76)!important;border:1px solid rgba(255,255,255,.05);border-radius:24px!important;padding:14px 16px!important;min-width:260px;overflow:hidden;box-shadow:0 12px 34px rgba(0,0,0,.24);transition:transform .22s ease,box-shadow .22s ease}

.tg-audio-post::after{content:'';position:absolute;left:74px;right:20px;top:50%;height:28px;transform:translateY(-50%);background:repeating-linear-gradient(90deg,rgba(255,255,255,.24) 0 3px,transparent 3px 8px);mask:linear-gradient(90deg,transparent, #000 12%, #000 88%, transparent)}

.tg-audio-post:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(0,0,0,.32)}

.tg-audio-post audio{opacity:.82;position:relative;z-index:2}

.tg-video-note{width:240px!important;height:240px!important;border-radius:50%!important;border:3px solid rgba(255,255,255,.08)!important;box-shadow:0 12px 44px rgba(0,0,0,.36),0 0 0 8px rgba(255,122,0,.08);transition:transform .28s ease,box-shadow .28s ease;animation:videoNoteIn .4s ease}

.tg-video-note:hover{transform:scale(1.03);box-shadow:0 18px 52px rgba(0,0,0,.4),0 0 0 10px rgba(255,122,0,.12)}

@media (max-width:760px){
.tg-voice-play{
    width:54px!important;height:54px!important;border-radius:16px!important;border:1px solid rgba(255,205,112,.48)!important;
    background:radial-gradient(circle at 38% 25%,#ffc763,#ff941d 65%,#ef7904)!important;
    box-shadow:0 12px 28px rgba(255,130,0,.22),inset 0 1px 0 rgba(255,255,255,.28)!important;
    position:relative!important;padding:0!important;margin:0!important;flex:none!important;
    transition:transform .18s ease,box-shadow .18s ease!important;
  }

.tg-voice-play:active{transform:scale(.94)!important}

.tg-voice-play::before{content:'';position:absolute;left:21px;top:17px;border-left:17px solid white;border-top:10px solid transparent;border-bottom:10px solid transparent;filter:drop-shadow(0 1px 2px rgba(0,0,0,.32))}

.tg-voice-card.is-playing .tg-voice-play::before{left:18px;top:17px;width:6px;height:20px;border:0;background:#fff;box-shadow:11px 0 0 #fff;border-radius:2px}

.tg-voice-body{min-width:0!important;display:flex!important;flex-direction:column!important;gap:6px!important}

.tg-voice-wave{height:32px!important;border-radius:12px!important;background:rgba(255,255,255,.055)!important;display:flex!important;align-items:center!important;gap:3px!important;padding:0 10px!important;position:relative!important;overflow:hidden!important}

.tg-voice-wave i{width:3px!important;border-radius:99px!important;background:rgba(255,255,255,.32)!important;display:block!important;position:relative!important;z-index:2!important}

.tg-voice-wave i:nth-of-type(1){height:8px}

.tg-voice-wave i:nth-of-type(2){height:18px}

.tg-voice-wave i:nth-of-type(3){height:12px}

.tg-voice-wave i:nth-of-type(4){height:24px}

.tg-voice-wave i:nth-of-type(5){height:15px}

.tg-voice-wave i:nth-of-type(6){height:28px}

.tg-voice-wave i:nth-of-type(7){height:13px}

.tg-voice-wave i:nth-of-type(8){height:21px}

.tg-voice-wave i:nth-of-type(9){height:10px}

.tg-voice-wave i:nth-of-type(10){height:26px}

.tg-voice-wave i:nth-of-type(11){height:18px}

.tg-voice-wave i:nth-of-type(12){height:30px}

.tg-voice-wave i:nth-of-type(13){height:12px}

.tg-voice-wave i:nth-of-type(14){height:22px}

.tg-voice-wave i:nth-of-type(15){height:16px}

.tg-voice-wave i:nth-of-type(16){height:25px}

.tg-voice-wave i:nth-of-type(17){height:11px}

.tg-voice-wave i:nth-of-type(18){height:19px}

.tg-voice-progress{position:absolute!important;left:0!important;top:0!important;bottom:0!important;width:100%!important;background:linear-gradient(90deg,rgba(255,150,30,.28),rgba(255,205,112,.18))!important;transform:scaleX(0);transform-origin:left center!important;transition:transform .08s linear!important;z-index:1!important}

.tg-voice-duration{font-size:13px!important;color:rgba(255,255,255,.68)!important;text-align:right!important;font-variant-numeric:tabular-nums!important;padding-right:3px!important}

}

.tg-channel-empty{min-height:42vh;display:grid;place-items:center;text-align:center;gap:8px;padding:32px 18px;color:rgba(255,255,255,.70);border:1px dashed rgba(255,146,30,.22);border-radius:28px;background:rgba(10,10,10,.34)}

.tg-channel-empty strong{display:block;color:#fff;font-size:18px}

.tg-channel-empty span{font-size:14px;max-width:260px}

.tg-channel-image,
.feed-img.tg-channel-image{display:block!important;width:100%!important;max-height:360px!important;object-fit:cover!important;border-radius:16px!important;margin:0 0 10px!important;border:0!important}

.tg-channel-title{font-size:18px!important;line-height:1.25!important;margin:4px 4px 6px!important;color:#fff!important}

.tg-channel-copy,
.feed-post .tg-channel-copy{font-size:15px!important;line-height:1.42!important;margin:4px 4px 7px!important;color:rgba(255,255,255,.94)!important}

.tg-channel-link-row{margin:8px 4px!important}

.tg-channel-link-row .btn{padding:8px 12px!important;border-radius:14px!important;font-size:13px!important}

.tg-post-meta{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;min-height:24px!important;margin:6px 2px 0!important;color:rgba(255,255,255,.56)!important;font-size:12px!important}

.tg-post-meta .tg-eye{margin-right:auto!important}

.tg-post-forward,
.tg-message-action{appearance:none;border:0!important;background:rgba(17,151,194,.14)!important;color:rgba(231,247,255,.92)!important;width:28px!important;height:28px!important;border-radius:999px!important;display:inline-grid!important;place-items:center!important;font-size:16px!important;padding:0!important;box-shadow:inset 0 0 0 1px rgba(75,194,229,.22)!important}

.tg-post-forward:active,
.tg-message-action:active{transform:scale(.94)!important}

.tg-voice-play{width:52px!important;height:52px!important;background:radial-gradient(circle at 38% 28%,#ffd37a,#ff941c 70%,#e87000)!important;border-radius:16px!important;border:0!important;position:relative!important;box-shadow:0 10px 22px rgba(255,137,13,.18),inset 0 1px 0 rgba(255,255,255,.28)!important}

.tg-voice-play::before{left:21px!important;top:16px!important;border-left-width:15px!important;border-top-width:10px!important;border-bottom-width:10px!important}

.tg-voice-card.is-playing .tg-voice-play::before{left:17px!important;top:16px!important;height:20px!important}

.tg-voice-body{gap:5px!important}

.tg-voice-wave{height:34px!important;background:rgba(255,255,255,.055)!important}

.tg-voice-duration{font-size:12px!important;text-align:left!important;color:rgba(255,255,255,.58)!important;padding-left:2px!important}

.tg-voice-action{font-weight:800!important;align-self:center!important}

.tg-video-note-row{display:flex!important;align-items:flex-end!important;gap:10px!important;padding:2px 2px 4px!important}

.tg-voice-wave i:nth-of-type(1){height:7px!important}

.tg-voice-wave i:nth-of-type(2){height:16px!important}

.tg-voice-wave i:nth-of-type(3){height:11px!important}

.tg-voice-wave i:nth-of-type(4){height:20px!important}

.tg-voice-wave i:nth-of-type(5){height:12px!important}

.tg-voice-wave i:nth-of-type(6){height:19px!important}

.tg-voice-wave i:nth-of-type(7){height:8px!important}

.tg-voice-wave i:nth-of-type(8){height:16px!important}

.tg-voice-wave i:nth-of-type(9){height:10px!important}

.tg-voice-wave i:nth-of-type(10){height:21px!important}

.tg-voice-wave i:nth-of-type(11){height:12px!important}

.tg-voice-wave i:nth-of-type(12){height:18px!important}

.tg-voice-wave i:nth-of-type(13){height:8px!important}

.tg-voice-wave i:nth-of-type(14){height:15px!important}

.tg-voice-wave i:nth-of-type(15){height:11px!important}

.tg-voice-wave i:nth-of-type(16){height:20px!important}

.tg-voice-wave i:nth-of-type(17){height:9px!important}

.tg-voice-wave i:nth-of-type(18){height:14px!important}

:root{
  /* --- 5. Pending upload + voice bubble corners (v141–v144) --- */
--dc-tg-bg: rgba(14,22,31,.94);
  --dc-tg-bg-soft: rgba(18,28,39,.88);
  --dc-tg-line: rgba(255,255,255,.10);
  --dc-tg-line-orange: rgba(255,171,70,.42);
  --dc-tg-orange: #ff9a22;
  --dc-tg-orange-2: #ffbd63;
  --dc-tg-blue: #1597c2;
  --dc-tg-white: rgba(255,255,255,.96);
  --dc-tg-muted: rgba(255,255,255,.64);
  --dc-rec-size: min(74vw,340px);
}

body.user-mode .feed-post.tg-channel-post{
  width:min(100%, 430px) !important;
  max-width: min(100%, 430px) !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  isolation:isolate !important;
}

body.user-mode #feedPosts{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:12px !important;
}

body.user-mode:not(.public-feed-open) .tg-message-bubble{
  width:min(100%, 400px) !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  padding:10px 12px 11px !important;
  border-radius:18px 18px 18px 0 !important;
  background:linear-gradient(180deg,rgba(24,35,47,.98),rgba(18,28,39,.98)) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.25) !important;
  overflow:hidden !important;
}

body.user-mode:not(.public-feed-open) .tg-message-author{
  margin:0 0 7px !important;
  color:rgba(255,183,83,.98) !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:800 !important;
  letter-spacing:.015em !important;
}

body.user-mode:not(.public-feed-open) .tg-channel-copy{
  margin:4px 0 0 !important;
  color:var(--dc-tg-white) !important;
  font-size:15px !important;
  line-height:1.38 !important;
  overflow-wrap:anywhere !important;
}

body.user-mode:not(.public-feed-open) .feed-post:not(.tg-channel-post-media) .tg-channel-image-wrap{
  margin:0 0 9px !important;
  overflow:hidden !important;
  border-radius:15px !important;
  background:#0a0d11 !important;
}

body.user-mode:not(.public-feed-open) .feed-post:not(.tg-channel-post-media) .tg-channel-image{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:390px !important;
  object-fit:cover !important;
  border:0 !important;
  border-radius:15px !important;
  margin:0 !important;
}

body.user-mode:not(.public-feed-open) .tg-post-meta,
body.user-mode .tg-post-meta{
  width:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:9px !important;
  min-height:24px !important;
  margin:5px 0 0 10px !important;
  color:rgba(255,255,255,.54) !important;
  font-size:12px !important;
  line-height:1 !important;
}

body.user-mode .tg-post-meta .tg-eye{
  order:0 !important;
  margin:0 !important;
  white-space:nowrap !important;
}

body.user-mode .tg-post-forward,
body.user-mode .tg-message-action{
  appearance:none !important;
  display:inline-grid !important;
  place-items:center !important;
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid rgba(101,204,238,.18) !important;
  border-radius:999px !important;
  background:rgba(20,32,43,.96) !important;
  color:rgba(240,248,255,.96) !important;
  font-size:15px !important;
  line-height:1 !important;
  box-shadow:0 7px 18px rgba(0,0,0,.24) !important;
}

body.user-mode .tg-voice-card{
  position:relative !important;
  display:grid !important;
  grid-template-columns:44px minmax(0,1fr) 30px !important;
  gap:10px !important;
  align-items:center !important;
  width:min(100%, 360px) !important;
  min-height:54px !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
}

body.user-mode .tg-voice-play{
  position:relative !important;
  width:44px !important;
  height:44px !important;
  border:0 !important;
  border-radius:50% !important;
  background:linear-gradient(180deg,var(--dc-tg-orange-2),var(--dc-tg-orange)) !important;
  box-shadow:0 8px 18px rgba(255,145,24,.28) !important;
}

body.user-mode .tg-voice-play::before{
  content:'' !important;
  position:absolute !important;
  left:17px !important;
  top:13px !important;
  width:0 !important;
  height:0 !important;
  border-top:9px solid transparent !important;
  border-bottom:9px solid transparent !important;
  border-left:13px solid #fff !important;
}

body.user-mode .tg-voice-card.is-playing .tg-voice-play::before{
  left:15px !important;
  top:13px !important;
  width:5px !important;
  height:18px !important;
  border:0 !important;
  border-radius:2px !important;
  background:#fff !important;
  box-shadow:9px 0 0 #fff !important;
}

body.user-mode .tg-voice-body{
  min-width:0 !important;
  display:grid !important;
  gap:4px !important;
}

body.user-mode .tg-voice-wave{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  gap:3px !important;
  width:100% !important;
  min-width:0 !important;
  height:23px !important;
  overflow:hidden !important;
  border-radius:8px !important;
}

body.user-mode .tg-voice-wave i{
  position:relative !important;
  z-index:2 !important;
  flex:0 0 3px !important;
  width:3px !important;
  border-radius:999px !important;
  background:rgba(216,226,235,.72) !important;
}

body.user-mode .tg-voice-progress{
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  width:100% !important;
  height:100% !important;
  transform:scaleX(0) !important;
  transform-origin:left center !important;
  background:linear-gradient(90deg,rgba(255,153,32,.34),rgba(255,194,94,.12)) !important;
  border-radius:8px !important;
}

body.user-mode .tg-voice-duration{
  color:rgba(255,255,255,.78) !important;
  font-size:12px !important;
  line-height:1 !important;
  font-variant-numeric:tabular-nums !important;
  text-align:left !important;
}

body.user-mode .tg-circle-message{
  display:flex !important;
  align-items:flex-end !important;
  gap:10px !important;
  margin:0 !important;
}

body.user-mode .tg-video-note-wrap{
  position:relative !important;
  display:block !important;
  flex:0 0 auto !important;
  width:min(74vw, 320px) !important;
  height:auto !important;
  aspect-ratio:1 / 1 !important;
  min-width:0 !important;
  max-width:320px !important;
  max-height:320px !important;
  overflow:hidden !important;
  border:2px solid rgba(255,171,70,.42) !important;
  border-radius:50% !important;
  background:#050607 !important;
  box-shadow:0 18px 42px rgba(0,0,0,.34),0 0 26px rgba(255,151,25,.10) !important;
}

body.user-mode .tg-video-note{
  display:block !important;
  width:100% !important;
  height:100% !important;
  aspect-ratio:1 / 1 !important;
  object-fit:cover !important;
  object-position:center center !important;
  border:0 !important;
  border-radius:50% !important;
  background:#050607 !important;
}

body.user-mode .tg-video-note-play{
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  transform:translate(-50%,-50%) !important;
  display:grid !important;
  place-items:center !important;
  width:64px !important;
  height:64px !important;
  padding:0 !important;
  border:1px solid rgba(255,255,255,.26) !important;
  border-radius:50% !important;
  background:rgba(7,10,14,.56) !important;
  backdrop-filter:blur(8px) !important;
  -webkit-backdrop-filter:blur(8px) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.32) !important;
}

body.user-mode .tg-video-note-play::before{
  content:'' !important;
  position:absolute !important;
  left:25px !important;
  top:20px !important;
  width:0 !important;
  height:0 !important;
  border-top:12px solid transparent !important;
  border-bottom:12px solid transparent !important;
  border-left:17px solid #fff !important;
}

body.user-mode .tg-video-note-wrap.is-playing .tg-video-note-play{opacity:0 !important;pointer-events:none !important;}

body.user-mode .tg-video-note-duration{
  position:absolute !important;
  left:50% !important;
  bottom:12px !important;
  transform:translateX(-50%) !important;
  min-width:48px !important;
  padding:5px 8px !important;
  border-radius:999px !important;
  background:rgba(7,10,14,.70) !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1 !important;
  text-align:center !important;
  font-variant-numeric:tabular-nums !important;
}

body.user-mode .tg-video-note-sound{
  position:absolute !important;
  left:50% !important;
  bottom:38px !important;
  transform:translateX(-50%) !important;
  width:28px !important;
  height:28px !important;
  display:grid !important;
  place-items:center !important;
  border:0 !important;
  border-radius:50% !important;
  background:rgba(7,10,14,.62) !important;
  color:#fff !important;
  font-size:13px !important;
}

.tg-channel-empty{
  width:min(100%,430px) !important;
  min-height:42vh !important;
  display:grid !important;
  place-items:center !important;
  gap:8px !important;
  text-align:center !important;
  padding:30px 18px !important;
  border:0 !important;
  border-radius:24px !important;
  background:transparent !important;
  color:rgba(255,255,255,.72) !important;
}

@media(max-width:430px){
:root{--dc-rec-size:min(78vw,318px);}

body.user-mode .tg-video-note-wrap{width:min(78vw,300px) !important;max-width:300px !important;max-height:300px !important;}

}

.feed-post.tg-channel-post.is-selected .tg-message-bubble,
.feed-post.tg-channel-post.is-selected .tg-video-note-wrap{
  outline:2px solid rgba(255,171,70,.68) !important;
  outline-offset:2px !important;
}

.tg-pending-post{opacity:.88 !important;}

.tg-pending-post .tg-message-bubble{border-style:dashed !important;}

.tg-pending-post.is-failed{opacity:1 !important;}

.tg-pending-label{
  margin-top:7px !important;
  color:rgba(255,255,255,.54) !important;
  font-size:12px !important;
  font-weight:700 !important;
}

.tg-pending-post.is-failed .tg-pending-label{color:#ff98a5 !important;}

/* --- 6. Public CTA (.btn-premium for channel link rows) --- */
.tg-pending-post{opacity:.96}

.tg-pending-post.is-failed{outline:1px solid rgba(255,85,85,.7);opacity:.78}

.tg-pending-video-shell{display:inline-flex}

.tg-pending-video{opacity:.9}

.tg-pending-audio{opacity:.92}

.tg-pending-wave{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:rgba(255,122,0,.18);color:#ffb24b}

.tg-pending-label{font-size:12px;color:rgba(255,255,255,.65);margin-top:7px}

body.user-mode #feedPosts .feed-post.tg-channel-post.tg-channel-post-voice > .tg-message-bubble,
body.user-mode .feed-post.tg-channel-post.tg-channel-post-voice > .tg-message-bubble{
  border-radius:18px 18px 18px 0 !important;
  border-bottom-left-radius:0 !important;
}

body.user-mode #feedPosts .feed-post.tg-channel-post.tg-channel-post-voice > .tg-message-bubble::before,
body.user-mode .feed-post.tg-channel-post.tg-channel-post-voice > .tg-message-bubble::before{
  border-radius:18px 18px 18px 0 !important;
  border-bottom-left-radius:0 !important;
}

html body #feedPosts .feed-post.tg-channel-post.tg-channel-post-voice > .tg-message-bubble,
html body[data-surface] .feed-post.tg-channel-post.tg-channel-post-voice > .tg-message-bubble,
html body .feed-post.tg-channel-post.tg-channel-post-voice > .tg-message-bubble{
  border-radius:18px 18px 18px 0!important;
  border-bottom-left-radius:0!important;
}

html body #feedPosts .feed-post.tg-channel-post.tg-channel-post-voice > .tg-message-bubble::before,
html body[data-surface] .feed-post.tg-channel-post.tg-channel-post-voice > .tg-message-bubble::before,
html body .feed-post.tg-channel-post.tg-channel-post-voice > .tg-message-bubble::before{
  border-radius:18px 18px 18px 0!important;
  border-bottom-left-radius:0!important;
}

body.user-mode .feed-post.tg-channel-post.tg-channel-post-voice > .tg-message-bubble{
  border-bottom-left-radius:0 !important;
}

body.user-mode .feed-post.tg-channel-post.tg-channel-post-voice > .tg-message-bubble::after{
  content:"" !important;
  position:absolute !important;
  left:-4px !important;
  bottom:0 !important;
  width:10px !important;
  height:13px !important;
  background:rgba(20,27,34,.98) !important;
  clip-path:polygon(100% 0,0 100%,100% 100%) !important;
  pointer-events:none !important;
}

.btn-premium{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:110px!important;
  padding:12px 22px!important;
  border-radius:14px!important;
  border:1px solid rgba(255,196,87,0.55)!important;
  background:linear-gradient(180deg,#2a1d10 0%,#17110b 100%)!important;
  color:#ffd78a!important;
  font-weight:700!important;
  font-size:15px!important;
  text-decoration:none!important;
  box-shadow:
    0 6px 18px rgba(255,180,60,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06)!important;
  transition:all 0.22s ease!important;
}

.btn-premium:hover{
  transform:translateY(-2px)!important;
  box-shadow:
    0 10px 24px rgba(255,180,60,0.28),
    inset 0 1px 0 rgba(255,255,255,0.10)!important;
  color:#fff0c2!important;
}

.btn-premium:active{
  transform:translateY(0)!important;
}

/* G2.1 — bottom nav parity: public-feed-base omits style.css *{box-sizing:border-box} */
body.user-mode.feed-shell-surface:not(.admin-mode) .user-bottom-nav,
body.user-mode.feed-shell-surface:not(.admin-mode) .user-bottom-nav a,
body.user-mode.feed-shell-surface:not(.admin-mode) .user-bottom-nav .dc-bottom-legal,
body.user-mode.feed-shell-surface:not(.admin-mode) .user-bottom-nav .dc-bottom-legal a,
body.user-mode.feed-shell-surface:not(.admin-mode) .user-bottom-nav .user-bottom-nav-placeholder{
  box-sizing:border-box !important;
}

body.user-mode.feed-shell-surface:not(.admin-mode) .user-bottom-nav a{
  height:var(--dc-bottom-nav-item-min-height,48px) !important;
  max-height:var(--dc-bottom-nav-item-min-height,48px) !important;
}

@media (min-width:900px){
  body.user-mode.feed-shell-surface:not(.admin-mode) .user-bottom-nav a{
    height:48px !important;
    max-height:48px !important;
    min-height:48px !important;
  }
}

