:root {

  --font-display: "Outfit", "Manrope", "Inter", system-ui, sans-serif;
  font-family: "Nunito Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius:    24px;
  --radius-sm: 12px;
  --radius-lg: 30px;

  --lx-ember:    0 6px 18px rgba(217,119,6,.28);
  --lx-ember-lg: 0 14px 34px rgba(217,119,6,.22);
  --lx-rail-gap: 12px;
  --lx-browse-w: 880px;
}

body { line-height: 1.5; }

h2 { letter-spacing: -.015em; }
h3 { letter-spacing: -.01em; }

.link-btn { background: none; border: 0; padding: 0; color: var(--accent-a);
  font: inherit; font-weight: 600; text-decoration: underline; }
.pad { padding: 14px 4px; }

.lx-explore { display: flex; flex-direction: column; gap: 18px; }

.lx-hero { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.lx-hero-text { flex: 1; min-width: 0; }
.lx-hero h2 { font-size: 1.75rem; line-height: 1.12; }
.lx-hero-spark { display: inline-flex; color: var(--accent-b); vertical-align: -3px; }
.lx-hero-spark .icon { width: 22px; height: 22px; }
.lx-hero-sub { margin: 4px 0 0; font-size: .86rem; max-width: 260px; }
.lx-brand { color: var(--accent-a); font-weight: 700; }
.lx-hero-art { flex: 0 0 auto; width: 104px; height: 80px; }
.lx-hero-art svg { display: block; width: 100%; height: 100%; }

.lx-search-row { display: flex; align-items: center; gap: 8px; }
.lx-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 0 18px; height: 48px; }
.lx-search .icon { width: 19px; height: 19px; }
.lx-search-ph { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-search-filter { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  background: var(--panel); border: 1px solid var(--line); color: var(--muted);
  display: grid; place-items: center; }
.lx-search-filter .icon { width: 19px; height: 19px; }
.lx-search:active, .lx-search-filter:active { background: var(--panel-2); }

.lx-block { display: flex; flex-direction: column; gap: 10px; }
.lx-rail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lx-rail-titles h3 { margin: 0; font-size: 1.12rem; }
.lx-rail-titles p { margin: 2px 0 0; }
.lx-rail-action { background: none; border: 0; padding: 4px 0; color: var(--accent-a);
  font-weight: 700; font-size: .84rem; display: inline-flex; align-items: center; gap: 2px; }
.lx-rail-action .icon { width: 15px; height: 15px; }
.lx-sub-head { display: flex; align-items: center; gap: 6px; margin: 4px 0 8px;
  font-family: var(--font-display); font-size: .96rem; }
.lx-sub-head .icon { width: 16px; height: 16px; color: var(--accent-a); }

.lx-chan-rail, .lx-pop-rail, .lx-topic-rail, .lx-tile-row {
  display: flex; gap: var(--lx-rail-gap); overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  margin: 0 -8px; padding: 2px 8px 6px; }
.lx-chan-rail::-webkit-scrollbar, .lx-pop-rail::-webkit-scrollbar,
.lx-topic-rail::-webkit-scrollbar, .lx-tile-row::-webkit-scrollbar { display: none; }
.lx-chan-rail > *, .lx-pop-rail > *, .lx-topic-rail > *, .lx-tile-row > * { scroll-snap-align: start; }

.lx-chan-card { flex: 0 0 auto; width: 232px; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-align: left; padding: 0; color: inherit;
  transition: transform var(--dur-med) ease, box-shadow var(--dur-med) ease, border-color var(--dur-med) ease; }
.lx-chan-card:active { transform: scale(.975); }
.lx-chan-cover-wrap { position: relative; }
.lx-chan-cover { aspect-ratio: 16/9; background: var(--panel-2) center/cover no-repeat;
  background-image: var(--grad); }
.lx-chan-cat { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.55);
  color: #fff; font-size: .64rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
  backdrop-filter: blur(4px); }
.lx-chan-meta { display: flex; align-items: center; gap: 10px; padding: 11px 12px 13px; }
.lx-chan-av { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  background: var(--panel-3) center/cover no-repeat; border: 2px solid var(--panel); margin-top: -26px;
  box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.lx-chan-meta-text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lx-chan-name { font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lx-chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.lx-chip-row::-webkit-scrollbar { display: none; }
.lx-chan-chip { flex: 0 0 auto; }

.lx-rank-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.lx-rank-row { display: flex; align-items: center; gap: 11px; padding: 9px 10px;
  border-radius: var(--radius-sm); cursor: pointer; }
.lx-rank-row:active { background: var(--panel-2); }
.lx-rank-num { flex: 0 0 auto; width: 18px; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--accent-a); }
.lx-rank-av { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 14px;
  background: var(--panel-2) center/cover no-repeat; }
.lx-rank-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lx-rank-name { font-weight: 700; font-size: .92rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-rank-chev { flex: 0 0 auto; color: var(--muted-2); display: grid; place-items: center; }
.lx-rank-chev .icon { width: 17px; height: 17px; }

.lx-wide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.lx-wide-cell { position: relative; aspect-ratio: 16/9; background: var(--panel-2);
  border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
  transition: transform var(--dur-med) ease; }
.lx-wide-cell:active { transform: scale(.98); }
.lx-wide-cell img, .lx-wide-cell video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lx-wide-play { position: absolute; right: 8px; bottom: 8px; width: 28px; height: 28px;
  border-radius: 50%; background: rgba(0,0,0,.58); color: #fff; display: grid; place-items: center; }
.lx-wide-play .icon { width: 15px; height: 15px; }

.lx-pop-cell { position: relative; flex: 0 0 auto; width: 124px; aspect-ratio: 1;
  background: var(--panel-2); border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.lx-pop-cell img, .lx-pop-cell video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lx-pop-text { padding: 10px; font-size: .74rem; color: var(--muted); line-height: 1.35; }
.lx-pop-likes { position: absolute; left: 6px; bottom: 6px; font-size: .68rem; color: #fff;
  background: rgba(0,0,0,.52); padding: 2px 7px; border-radius: 999px; }
.lx-pop-rail .empty-state, .lx-pop-rail > .muted { flex: 1 1 100%; }

.lx-topic-card { flex: 0 0 auto; width: 152px; }

.lx-more { margin-top: 2px; }
.lx-tile { flex: 0 0 auto; width: 124px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 12px; display: flex; flex-direction: column;
  align-items: flex-start; gap: 3px; text-align: left; color: inherit; }
.lx-tile:active { background: var(--panel-2); }
.lx-tile-ico { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-a); margin-bottom: 5px; }
.lx-tile-ico .icon { width: 18px; height: 18px; }
.lx-tile-ai { background: var(--panel-2); overflow: hidden; padding: 0; }
.lx-tile-ai-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.lx-tile-name { font-family: var(--font-display); font-weight: 700; font-size: .88rem; }
.lx-more-cols { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.lx-more-col { display: flex; flex-direction: column; gap: 6px; }
.lx-more-col h4 { margin: 0; font-family: var(--font-display); font-size: .98rem; }
.lx-more-col-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lx-mini-comm { border-radius: var(--radius-sm); }

.fp-legacy-note { display: flex; align-items: center; gap: 11px; margin: 4px 0 14px;
  padding: 13px 14px; background: var(--panel); border: 1px solid var(--line);
  border-left: 3px solid var(--accent-a); border-radius: var(--radius-sm); }
.fp-legacy-ico { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-a); }
.fp-legacy-ico .icon { width: 18px; height: 18px; }
.fp-legacy-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fp-legacy-text strong { font-family: var(--font-display); font-size: .94rem; }
.fp-legacy-note .btn { flex: 0 0 auto; }
@media (max-width: 460px) {
  .fp-legacy-note { flex-wrap: wrap; }
  .fp-legacy-note .btn { width: 100%; }
}

.lx-live { margin: 0; }

@media (min-width: 720px) {
  .lx-explore, .page-channels { max-width: var(--lx-browse-w); margin-inline: auto; width: 100%; }
  .lx-wide-grid { grid-template-columns: repeat(3, 1fr); }
  .lx-more-cols { flex-direction: row; }
  .lx-more-col { flex: 1; min-width: 0; }
  .lx-chan-card { width: 258px; }
}
@media (min-width: 1040px) {
  .lx-wide-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (hover: hover) and (pointer: fine) {
  .lx-chan-card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--lx-ember-lg); }
  .lx-wide-cell:hover { transform: translateY(-2px); }
  .lx-rank-row:hover { background: var(--panel-2); }
  .lx-tile:hover { border-color: var(--line-2); box-shadow: var(--lx-ember); }
}

@media (prefers-reduced-motion: reduce) {
  .lx-chan-card, .lx-wide-cell, .lx-rank-row, .lx-tile { transition: none; }
  .lx-chan-card:hover, .lx-chan-card:active,
  .lx-wide-cell:hover, .lx-wide-cell:active,
  .lx-tile:hover { transform: none; }
  .lx-chan-rail, .lx-pop-rail, .lx-topic-rail, .lx-tile-row { scroll-snap-type: none; }
}

html:not([data-edition="desktop"]) body:has(.view-page:not([hidden]) .watch-screen.is-clips) .topbar { display: none; }
html:not([data-edition="desktop"]) body:has(.view-page:not([hidden]) .watch-screen.is-clips) .reels-screen { top: 0; }

.watch-screen.is-clips .watch-tabs { position: fixed; z-index: 12; left: 50%; transform: translateX(-50%);
  top: calc(var(--safe-top) + 10px); padding: 0; gap: 20px; background: none; width: auto; }
html[data-edition="desktop"] .watch-screen.is-clips .watch-tabs { top: calc(var(--top-h) + 12px); }
.watch-screen.is-clips .watch-tabs .seg { position: relative; flex: 0 0 auto; background: none; border: 0; box-shadow: none;
  padding: 6px 2px 8px; color: rgba(255,255,255,.62); font-weight: 800; font-size: 1rem; text-shadow: 0 1px 3px rgba(0,0,0,.55); }
.watch-screen.is-clips .watch-tabs .seg .icon { display: none; }
.watch-screen.is-clips .watch-tabs .seg.active { color: #fff; }
.watch-screen.is-clips .watch-tabs .seg.active::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 22px; height: 3px;
  border-radius: 2px; background: #fff; transform: translateX(-50%); }

.reels-screen .reel-video { object-fit: cover; }
.reels-screen .reel.is-landscape .reel-video { object-fit: contain; }
.reels-screen .reel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.6)); }
.reels-screen .reel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16%; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,0), rgba(0,0,0,.35)); }

.reels-screen .reels-create-btn, .reels-sound-btn { position: absolute; z-index: 13; top: calc(var(--safe-top) + 10px);
  width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff;
  background: rgba(0,0,0,.3); backdrop-filter: blur(6px); box-shadow: none; }
.reels-screen .reels-create-btn { left: 12px; }
.reels-sound-btn { right: 12px; }
.reels-sound-btn svg, .reels-screen .reels-create-btn .icon { width: 20px; height: 20px; }
html[data-edition="desktop"] .reels-screen .reels-create-btn, html[data-edition="desktop"] .reels-sound-btn { top: 12px; }
.reels-sound-hint { position: absolute; z-index: 13; left: 50%; top: calc(var(--safe-top) + 62px); transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; border: 0; color: #fff; font-weight: 700; font-size: .85rem;
  padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,.5); backdrop-filter: blur(8px); }
.reels-sound-hint .icon { width: 16px; height: 16px; }
.reels-sound-hint.hidden { display: none; }
.reels-screen .reel-watermark { top: calc(var(--safe-top) + 58px); opacity: .75; }

.reels-screen .reel-rail { right: 6px; bottom: 96px; gap: 16px; align-items: center; z-index: 3; }
.reels-screen .reel-rail-btn { width: auto; height: auto; min-width: 48px; padding: 0; gap: 3px; border: 0; border-radius: 0;
  background: none; box-shadow: none; color: #fff; display: flex; flex-direction: column; align-items: center;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.reels-screen .reel-rail-btn .icon { width: 32px; height: 32px; }
.reels-screen .reel-rail-btn.liked { color: var(--accent-b); }
.reels-screen .reel-rail-btn.liked .icon { fill: #fe2c55; animation: reel-like-pop .35s cubic-bezier(.3,1.6,.5,1); }
@keyframes reel-like-pop { from { transform: scale(.6); } to { transform: scale(1); } }
.reels-screen .reel-rail-label { font-size: .74rem; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.reels-screen .reel-more .icon { width: 28px; height: 28px; }
.reel-rail-author { position: relative; margin-bottom: 10px; }
.reel-rail-avatar { display: block; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #222; cursor: pointer; }
.reel-rail-avatar .avatar, .reel-rail-avatar img { border-radius: 50%; display: block; }
.reel-rail-follow { position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); width: 22px; height: 22px;
  border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; color: #fff; background: #fe2c55; transition: background .2s, color .2s; }
.reel-rail-follow .icon { width: 14px; height: 14px; stroke-width: 3; }
.reel-rail-follow.done { background: #fff; color: #fe2c55; }

.reels-screen .reel-meta { left: 12px; right: 84px; bottom: 18px; gap: 6px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.55); }
.reels-screen .reel-author-name { font-size: 1rem; font-weight: 800; }
.reels-screen .reel-author .muted { color: rgba(255,255,255,.75); }
.reels-screen .reel-desc { font-size: .9rem; }
.reels-screen .reel-progress { height: 2px; background: rgba(255,255,255,.2); z-index: 4; }
.reels-screen .reel-progress-fill { background: #fff; }
.reels-screen .reel-rail-btn { backdrop-filter: none; -webkit-backdrop-filter: none; }

.page-channels .fp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fp-list { display: flex; flex-direction: column; gap: 10px; }
.fp-row { display: flex; align-items: center; gap: 12px; padding: 12px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  transition: border-color var(--dur-fast), transform var(--dur-fast); }
.fp-row:active { transform: scale(.99); }
.fp-row-thumb { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; background: var(--accent-soft) center/cover no-repeat;
  border: 2px solid var(--panel); box-shadow: 0 0 0 2px var(--accent-a); }
.fp-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fp-row-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fp-row::after { content: ""; width: 8px; height: 8px; flex: 0 0 auto; margin-right: 4px; border-right: 2px solid var(--muted-2);
  border-top: 2px solid var(--muted-2); transform: rotate(45deg); }
@media (hover: hover) { .fp-row:hover { border-color: var(--line-2); } }

.fp-pick-row { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px dashed var(--line-2); border-radius: 14px; cursor: pointer; }
.fp-pick-thumb { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 12px; background: var(--panel-2) center/cover no-repeat; }
.fp-pick-thumb.avatar { border-radius: 50%; }
.fp-pick-thumb.cover { width: 84px; }

.channel-head-text { min-width: 160px; }
.channel-head-body > :last-child:not(.channel-head-text) { margin-left: auto; }

:root { --lopa-tab: 16px 16px 16px 6px; --lopa-tab-lg: 30% 30% 30% 12%; }

:where(input, textarea, select) { font-family: inherit; }

.topbar { background: rgba(250,247,242,.94); border-bottom: 1px solid var(--line); }
:root:not([data-theme="light"]) .topbar { background: rgba(26,22,17,.94); }
.topbar-right .icon-btn { color: var(--text); opacity: 1; }
:root:not([data-theme="light"]) .topbar-right .icon-btn { color: #FFF4E3; }
.topbar-right .icon-btn svg { stroke-width: 2.1; }
.topbar-right .icon-btn:hover, .topbar-right .icon-btn:focus-visible { background: var(--accent-soft); color: var(--accent-a); }
.bell-badge { background: var(--accent-a); color: #fff; }

html:not([data-edition="desktop"]) .bottom-nav {
  left: 0; right: 0; bottom: 0; transform: none; width: 100%; max-width: none;
  height: calc(var(--nav-h) - 6px + var(--safe-bottom)); padding: 6px 6px var(--safe-bottom);
  border-radius: 0; border: 0; border-top: 1px solid var(--line);
  background: var(--panel); backdrop-filter: none; box-shadow: 0 -6px 20px rgba(30,20,10,.06);
  align-items: flex-start;
}
.bottom-nav .nav-item { color: var(--muted); gap: 3px; padding: 2px 0; }
.bottom-nav .nav-item .nav-icon { padding: 4px 14px; border-radius: var(--lopa-tab); transition: background var(--dur-med), color var(--dur-med); }
.bottom-nav .nav-item .nav-icon svg { width: 24px; height: 24px; }
.bottom-nav .nav-item .nav-label { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .01em; }
.bottom-nav .nav-item.active { color: var(--accent-a); }
.bottom-nav .nav-item.active .nav-icon { background: var(--accent-a); color: #fff; transform: none; }
.bottom-nav .nav-item.active::after { display: none; }
.bottom-nav .nav-create .nav-icon { background: var(--accent-soft); color: var(--accent-a); border: 1.5px solid var(--accent-a); }
.bottom-nav .nav-item:focus-visible .nav-icon { outline: 2px solid var(--accent-a); outline-offset: 2px; }

.create-fab, .ai-fab { display: none !important; }

html:not([data-edition="desktop"]) body[data-route="watch"] .bottom-nav { background: #14110D; border-top-color: #2A251C; box-shadow: none; }
body[data-route="watch"] .bottom-nav .nav-item { color: #B4A99A; }
body[data-route="watch"] .bottom-nav .nav-item.active { color: var(--accent-b); }
html:not([data-edition="desktop"]) body[data-route="watch"] .reels-screen { bottom: calc(var(--nav-h) - 6px + var(--safe-bottom)); }

.stories-row { padding-top: 4px; }
.story-ring { border-radius: var(--lopa-tab-lg); background: var(--accent-a); padding: 2.5px; }
.story-tile.seen .story-ring { background: var(--line-2); }
.story-ring .avatar, .story-ring .avatar-media, .story-tile .avatar, .story-tile .avatar-media { border-radius: var(--lopa-tab-lg); }
.story-name { font-weight: 600; }

.page-home .post-card:has(> .post-media-wrap) { display: flex; flex-direction: column; }
.page-home .post-card:has(> .post-media-wrap) > * { order: 10; }
.page-home .post-card:has(> .post-media-wrap) > .post-head { order: 1; }
.page-home .post-card:has(> .post-media-wrap) > .post-repost-credit { order: 2; }
.page-home .post-card:has(> .post-media-wrap) > .post-media-wrap { order: 3; margin-top: 4px; }
.page-home .post-card:has(> .post-media-wrap) > .post-actions { order: 4; }
.page-home .post-card:has(> .post-media-wrap) > .post-summary { order: 5; }
.page-home .post-card:has(> .post-media-wrap) > .see-more-wrap,
.page-home .post-card:has(> .post-media-wrap) > .post-body { order: 6; }
.page-home .post-card:has(> .post-media-wrap) > .comment-thread { order: 8; }

.post-actions { gap: 0; }
.post-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: .7rem; padding: 7px 0 5px; min-width: 0; overflow: visible; white-space: nowrap; border-radius: 12px; }
.post-action svg { width: 20px; height: 20px; }
.post-action .pa-label { display: block; line-height: 1.1; }
.post-action .pa-emoji { font-size: 1.1rem; line-height: 1; }
.post-action.active, .react-btn.active { color: var(--accent-a); }

.react-btn { position: relative; }
.react-btn .lopa-sun .lopa-sun-rays { transform-origin: 12px 12px; transition: transform .35s ease; }
.react-btn.active .lopa-sun .lopa-sun-core { fill: var(--accent-a); stroke: var(--accent-a); }
.react-btn.active .lopa-sun .lopa-sun-rays { stroke: var(--accent-b); transform: rotate(22.5deg); }
.react-btn.lopa-shine .lopa-sun { animation: lopa-rise .55s cubic-bezier(.2,.9,.3,1.3); }
.react-btn.lopa-shine::after { content: ""; position: absolute; left: 50%; top: 16px; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; pointer-events: none;
  box-shadow: 0 -18px 0 -1px var(--accent-b), 13px -13px 0 -1px var(--accent-a), 18px 0 0 -1px var(--accent-b), 13px 13px 0 -1px var(--accent-a),
              0 18px 0 -1px var(--accent-b), -13px 13px 0 -1px var(--accent-a), -18px 0 0 -1px var(--accent-b), -13px -13px 0 -1px var(--accent-a);
  animation: lopa-sparks .6s ease-out forwards; }
@keyframes lopa-rise { 0% { transform: translateY(6px) scale(.7); } 60% { transform: translateY(-3px) scale(1.18); } 100% { transform: none; } }
@keyframes lopa-sparks { 0% { opacity: 1; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.35); } }

.post-media-wrap { position: relative; }
.lopa-sunrise { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px;
  pointer-events: none; z-index: 5; animation: lopa-sunrise .85s ease-out forwards; filter: drop-shadow(0 6px 18px rgba(217,119,6,.45)); }
.lopa-sunrise .sr-rays { transform-origin: 60px 60px; animation: lopa-rays .85s ease-out forwards; }
@keyframes lopa-sunrise { 0% { opacity: 0; transform: translateY(26px) scale(.5); } 30% { opacity: 1; transform: translateY(0) scale(1.05); }
  70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: translateY(-10px) scale(.9); } }
@keyframes lopa-rays { 0% { transform: rotate(-30deg) scale(.6); } 100% { transform: rotate(30deg) scale(1.1); } }
@media (prefers-reduced-motion: reduce) {
  .react-btn.lopa-shine .lopa-sun, .react-btn.lopa-shine::after, .lopa-sunrise, .lopa-sunrise .sr-rays { animation-duration: .01s; }
}

.lopa-profile .profile-cover { height: 104px; border-radius: 0 0 22px 22px; }
.lp-head { display: flex; align-items: flex-end; gap: 12px; padding: 0 16px; margin-top: -34px; position: relative; z-index: 2; }
.lp-avatar { flex: 0 0 auto; position: relative; }
.lp-avatar .avatar, .lp-avatar .avatar-media { width: 84px !important; height: 84px !important; border-radius: var(--lopa-tab-lg); }
.lp-avatar .avatar { border: 3px solid var(--bg); box-shadow: 0 6px 16px rgba(30,20,10,.14); }
.lp-avatar .avatar-edit { position: absolute; right: -4px; bottom: -4px; }
.lp-id { flex: 1 1 auto; min-width: 0; padding-bottom: 4px; }
.lp-id .name-row.big { font-size: 1.2rem; flex-wrap: wrap; }
.lp-handle { font-size: .9rem; }
.lp-menu-btn { align-self: flex-end; margin-bottom: 2px; color: var(--text); }
.lp-stats.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 12px 16px 0; padding: 8px 4px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 18px; }
.lp-stats .stat { background: none; border: 0; padding: 4px 2px; display: flex; flex-direction: column; align-items: center; gap: 0; color: var(--text); font: inherit; }
.lp-stats .stat + .stat { border-left: 1px solid var(--line); }
.lp-stats .stat strong { color: var(--accent-a); font-size: 1.15rem; }
.lp-stats .stat.clickable { cursor: pointer; }
.lp-bio { margin: 10px 16px 0; }
.lopa-profile .links-row, .lopa-profile .about-row, .lopa-profile .interests-row { margin-left: 16px; margin-right: 16px; }
.lp-actions { margin: 12px 16px 0; }
.lp-btn-row { display: flex; gap: 8px; }
.lp-btn { flex: 1 1 0; background: var(--panel); border: 1px solid var(--line-2); color: var(--text); font-weight: 700; border-radius: 12px; padding: 9px 10px; }
.lp-btn-icon { flex: 0 0 44px; display: grid; place-items: center; padding: 0; }
.lp-btn:active { background: var(--panel-2); }
.lopa-profile .profile-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-badges-link { display: inline-flex; align-items: center; gap: 8px; margin: 10px 16px 0; padding: 6px 12px 6px 6px;
  background: var(--accent-soft); border: 0; border-radius: 999px; color: var(--text); font-weight: 700; font-size: .85rem; }
.lp-badges-ico { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-a); color: #fff; display: grid; place-items: center; }
.lp-badges-ico svg { width: 14px; height: 14px; }
.lp-grid-section { margin-top: 14px; }
.lp-tabs { display: flex; gap: 6px; margin: 0 16px 10px; padding: 4px; background: var(--panel-2); border-radius: 16px; border: 1px solid var(--line); }
.lp-tab { flex: 1 1 0; border: 0; background: none; padding: 8px 6px; border-radius: var(--lopa-tab); font-weight: 700; color: var(--muted); }
.lp-tab.active { background: var(--accent-a); color: #fff; }
.lp-grid, .lg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 0 6px; grid-auto-flow: dense; }
.lp-tile, .lg-tile { position: relative; aspect-ratio: 1 / 1; border: 0; padding: 0; overflow: hidden; border-radius: 12px;
  background-color: var(--panel-3); background-size: cover; background-position: center; cursor: pointer; }
.lp-tile video, .lg-tile video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.lp-tile.is-text { background: var(--accent-soft); display: flex; align-items: center; padding: 10px; text-align: left; }
.lp-tile-text { font-size: .78rem; line-height: 1.3; color: var(--text); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.lp-tile-mark { position: absolute; left: 6px; bottom: 6px; width: 24px; height: 24px; border-radius: 8px 8px 8px 3px;
  background: var(--accent-a); color: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.lp-tile-pin { position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: rgba(250,247,242,.92);
  color: var(--accent-a); display: grid; place-items: center; }
.lp-tile-pin svg { width: 13px; height: 13px; }
.lp-tile:focus-visible, .lg-tile:focus-visible { outline: 3px solid var(--accent-a); outline-offset: 1px; }
.lp-more { display: block; margin: 12px auto 0; }
.lp-grid .empty-state, .lg-grid .empty-state { grid-column: 1 / -1; }

.lopa-sheet { max-height: 86dvh; display: flex; flex-direction: column; }
.lopa-sheet-head { display: flex; align-items: center; justify-content: space-between; }
.lopa-sheet-body { overflow-y: auto; padding-bottom: calc(12px + var(--safe-bottom)); display: flex; flex-direction: column; gap: 12px; }
.lp-upgrades { display: flex; flex-direction: column; gap: 8px; }
.lp-upgrade { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text); }
.lp-upgrade-ico { width: 38px; height: 38px; border-radius: var(--lopa-tab); background: var(--accent-soft); color: var(--accent-a); display: grid; place-items: center; flex: 0 0 auto; }
.lp-upgrade-ico svg { width: 22px; height: 22px; }
.lp-upgrade-text { display: flex; flex-direction: column; }
.lp-mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.lp-mini-stats .stat { background: var(--panel-2); border-radius: 14px; padding: 10px; text-align: center; display: flex; flex-direction: column; }
.lp-level { font-weight: 800; color: var(--accent-a); font-family: var(--font-display); }

.lopa-explore .lg-search-row { padding: 4px 16px 8px; }
.lg-search { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 16px;
  background: var(--panel); border: 1.5px solid var(--line-2); color: var(--muted); text-align: left; font-weight: 600; }
.lg-search:focus-visible { border-color: var(--accent-a); outline: none; }
.lg-search-ico { color: var(--accent-a); display: flex; }
.lopa-explore .lg-chips { padding: 0 12px 10px; }
.lg-tile.is-clip { grid-row: span 2; aspect-ratio: auto; }

#boot { transition: opacity .25s ease; }
#boot.boot-out { opacity: 0; pointer-events: none; }

.settings-from { text-align: center; margin: 22px 0 8px; color: var(--muted); font-size: .8rem; }
.settings-from strong { color: var(--accent-a); }

.delete-modal .btn-google { margin-top: 6px; }
.delete-identity { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.delete-switch { align-self: center; font-size: .85rem; }
.delete-error { color: var(--danger); font-size: .88rem; margin: 6px 0 0; }
.post-edit-modal { display: flex; flex-direction: column; gap: 10px; }
.post-edit-input { min-height: 140px; resize: vertical; line-height: 1.45; font-size: 1rem; }
.share-fallback-grid { grid-template-columns: repeat(3, 1fr); }
.share-copy-box { display: flex; flex-direction: column; gap: 6px; margin: 4px 4px 10px; }

.reels-screen .reel-rail-btn .lopa-sun { fill: none !important; }
.reels-screen .reel-rail-btn .lopa-sun-rays { transform-origin: 12px 12px; transition: transform .35s ease; }
.reels-screen .reel-rail-btn.liked .lopa-sun .lopa-sun-core { fill: var(--accent-a); stroke: var(--accent-b); }
.reels-screen .reel-rail-btn.liked .lopa-sun .lopa-sun-rays { stroke: var(--accent-b); transform: rotate(22.5deg); }
.reel-heart-burst.lopa-burst svg { width: 110px; height: 110px; filter: drop-shadow(0 6px 18px rgba(217,119,6,.5)); }
.reel-heart-burst.lopa-burst .sr-rays { transform-origin: 60px 60px; }
.reel-heart-burst.lopa-burst.pop .sr-rays { animation: lopa-rays .8s ease-out forwards; }

.lp-head { margin-top: 12px; align-items: center; }
.lp-avatar .avatar { border-color: var(--panel); }
.lp-stats .stat span { text-transform: none; letter-spacing: 0; font-size: .8rem; }

.lg-search-ph { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

.boot-logo { filter: drop-shadow(0 8px 24px rgba(217,119,6,.45)); }
.boot-word { background-image: linear-gradient(100deg, #d9730d 20%, #f59e0b 40%, #fff4d6 50%, #fbbf24 60%, #e8870d 80%); }
.boot-dot { background: #D97706; }
@keyframes boot-dot-relay {
  0%   { opacity: 1; transform: scale(1); background: #FBBF24; box-shadow: 0 0 8px rgba(251,191,36,.7); }
  25%  { opacity: .28; transform: scale(.7); background: #D97706; box-shadow: none; }
  100% { opacity: .28; transform: scale(.7); background: #D97706; box-shadow: none; }
}
.boot-from { position: absolute; left: 0; right: 0; bottom: calc(28px + var(--safe-bottom)); text-align: center;
  color: var(--muted); font-size: .82rem; letter-spacing: .01em; }
.boot-from strong { color: var(--text); font-weight: 700; }

.auth-card { position: relative; }
.auth-lang { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; color: var(--muted); cursor: pointer; }
.auth-lang:hover { background: var(--accent-soft); color: var(--accent-a); }
.auth-lang:focus-within { outline: 2px solid var(--accent-a); outline-offset: 1px; color: var(--accent-a); }
.auth-lang .auth-lang-select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
  opacity: 0; cursor: pointer; border: 0; appearance: none; -webkit-appearance: none; font-size: 16px; }

html:not([data-edition="desktop"]) { scroll-padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 12px); }

.auth-screen {
  background: radial-gradient(130% 90% at 50% -20%, rgba(217,119,6,.24), transparent 55%),
              radial-gradient(100% 70% at 90% 10%, rgba(251,191,36,.16), transparent 55%), var(--bg);
}

.feed-caught-up { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; padding: 12px 14px;
  background: var(--accent-soft); border: 1px dashed var(--accent-a); border-radius: var(--lopa-tab, 16px); }
.feed-caught-up strong { display: block; font-family: var(--font-display); }
.feed-caught-up-sun { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-a);
  box-shadow: 0 0 0 4px rgba(251,191,36,.35); }

.lopa-vid { position: relative; background: #14110D; overflow: hidden; }
.lopa-vid video { display: block; width: 100%; cursor: pointer; background: #14110D; }
.lv-btn { position: absolute; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: var(--lopa-tab, 12px 12px 12px 5px); color: #FFF4E3;
  background: rgba(26,22,17,.58); backdrop-filter: blur(6px); cursor: pointer; }
.lv-btn:focus-visible { outline: 2px solid var(--accent-b); outline-offset: 2px; }
.lv-sound { left: 10px; bottom: 12px; }
.lopa-vid:not(.is-muted) .lv-sound { background: var(--accent-a); color: #fff; }
.lv-expand { right: 10px; top: 10px; }
.lv-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,244,227,.22); z-index: 2; }
.lv-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #D97706, #FBBF24); transition: width .25s linear; }

.topbar-menu-btn { display: none; position: relative; }
body[data-own-profile="1"] .topbar-right .topbar-menu-btn { display: grid; place-items: center; width: 44px; height: 44px; }
body[data-own-profile="1"] .topbar-right .topbar-menu-btn svg { width: 26px; height: 26px; }
.menu-dot { position: absolute; top: 7px; right: 6px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--danger); box-shadow: 0 0 0 2px var(--panel); }
.lm-group { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.lm-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; background: none;
  color: var(--text); text-align: left; font-weight: 600; font-size: .95rem; cursor: pointer; }
.lm-row + .lm-row { border-top: 1px solid var(--line); }
.lm-row:active, .lm-row:hover { background: var(--panel-2); }
.lm-row:focus-visible { outline: 2px solid var(--accent-a); outline-offset: -2px; }
.lm-ico { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; color: var(--accent-a);
  background: var(--accent-soft); border-radius: 10px 10px 10px 4px; }
.lm-ico svg { width: 20px; height: 20px; }
.lm-label { flex: 1 1 auto; }
.lm-extra { color: var(--muted); font-size: .82rem; font-weight: 600; }
.lm-chev { color: var(--muted-2); display: flex; }
.lm-chev svg { width: 16px; height: 16px; }
.lm-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--danger); flex: 0 0 auto; }
.lm-notices { display: flex; flex-direction: column; gap: 6px; }
.lm-notice { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(229,72,77,.35);
  background: rgba(229,72,77,.08); color: var(--text); text-align: left; font-weight: 600; font-size: .88rem; cursor: pointer; }
.lm-qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lm-qr { width: 200px; background: #fff; padding: 8px; border-radius: 14px; }
.lm-qr svg { width: 100%; height: auto; display: block; }
.lm-url { word-break: break-all; text-align: center; }

.lopa-sheet-body > * { flex-shrink: 0; }

.post-card > .lopa-vid.lv-full { margin-left: -16px; margin-right: -16px; border-radius: 0; border-left: 0; border-right: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lopa-vid.lv-full video { width: 100%; height: auto; max-height: none; aspect-ratio: var(--lv-ar, 16 / 9); object-fit: cover; }
.lopa-vid .lv-sound { left: auto; right: 10px; bottom: 12px; }
.lv-time { position: absolute; left: 10px; bottom: 14px; z-index: 3; padding: 3px 8px; border-radius: 8px;
  background: rgba(26,22,17,.62); color: #FFF4E3; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.lm-tag { font-size: .72rem; font-weight: 800; color: #1f7a4d; background: rgba(52,178,122,.14); padding: 2px 8px; border-radius: 999px; }

.lxe { padding-top: 6px; }
.lxe-top { padding: 6px 16px 4px; }
.lxe-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; margin: 2px 0 12px; color: var(--text); }
.lxe-search { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--line); color: var(--muted); font: inherit; cursor: pointer; text-align: left; }
.lxe-search:hover { border-color: var(--line-2); }
.lxe-search:focus-visible { outline: 2px solid var(--accent-a); outline-offset: 2px; }
.lxe-search-ico { display: flex; color: var(--muted); }
.lxe-search-ico svg { width: 18px; height: 18px; }
.lxe-search-ph { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-size: .95rem; }

.lxe .live-now-section { margin: 14px 16px 0; }

.lxe-sec { margin-top: 26px; }
.lxe-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 16px 10px; }
.lxe-head h2 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 650; margin: 0; color: var(--text); letter-spacing: -.01em; }
.lxe-link { background: none; border: 0; padding: 4px 0; font: inherit; font-size: .88rem; font-weight: 600; color: var(--accent-a); cursor: pointer; white-space: nowrap; }
.lxe-link:hover { text-decoration: underline; }

.lxe-rail { display: flex; gap: 12px; overflow-x: auto; padding: 2px 16px 6px; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lxe-rail::-webkit-scrollbar { display: none; }
.lxe-rail > * { scroll-snap-align: start; flex: 0 0 auto; }

.lxe-chan { width: 232px; display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line);
  border-radius: 16px; background: var(--panel); overflow: hidden; cursor: pointer; font: inherit; color: var(--text);
  transition: border-color var(--dur-fast, .15s), transform var(--dur-fast, .15s); }
.lxe-chan:hover { border-color: var(--line-2); transform: translateY(-1px); }
.lxe-cover { aspect-ratio: 16 / 9; background: var(--panel-2) center / cover no-repeat; }
.lxe-cover-blank { background: linear-gradient(135deg, rgba(217,119,6,.18), rgba(251,191,36,.10)); }
.lxe-card-body { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; min-width: 0; }
.lxe-av { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: var(--panel-3) center / cover no-repeat;
  display: grid; place-items: center; font-weight: 700; color: var(--accent-a); margin-top: -26px; border: 3px solid var(--panel); }
.lxe-card-text { display: flex; flex-direction: column; min-width: 0; }
.lxe-name { font-weight: 650; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lxe-meta { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lxe-comm { width: 150px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 12px 14px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--panel); cursor: pointer; font: inherit; color: var(--text); text-align: center; }
.lxe-comm:hover { border-color: var(--line-2); }
.lxe-comm-av { width: 64px; height: 64px; border-radius: 18px; background: var(--panel-3) center / cover no-repeat; margin-bottom: 6px;
  display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; color: var(--accent-a); }
.lxe-comm .lxe-name { max-width: 100%; }
.lxe-pill { margin-top: 8px; padding: 5px 14px; border-radius: 999px; font-size: .8rem; font-weight: 650;
  background: var(--accent-a); color: #fff; }
.lxe-pill.is-joined { background: transparent; color: var(--muted); border: 1px solid var(--line-2); }

.lxe-skel.lxe-chan { height: 190px; border: 0; }
.lxe-skel.lxe-comm { height: 170px; border: 0; }
.lxe-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; border: 1px dashed var(--line-2);
  border-radius: 16px; background: transparent; min-height: 150px; justify-content: center; }
.lxe-empty.lxe-chan, .lxe-empty.lxe-comm { width: min(320px, calc(100vw - 32px)); cursor: default; }
.lxe-empty .btn { margin-top: 6px; }

.lxe-chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 12px; scrollbar-width: none; }
.lxe-chips::-webkit-scrollbar { display: none; }
.lxe-chips .chip { flex: 0 0 auto; }

.lxe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 0 16px; grid-auto-flow: dense; }
.lxe-tile { position: relative; aspect-ratio: 1 / 1; border: 0; padding: 0; overflow: hidden; border-radius: 6px;
  background: var(--panel-2) center / cover no-repeat; cursor: pointer; }
.lxe-tile.is-clip { grid-row: span 2; aspect-ratio: auto; }
.lxe-tile video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.lxe-tile:focus-visible { outline: 2px solid var(--accent-a); outline-offset: 1px; }
.lxe-tile-likes { position: absolute; right: 6px; bottom: 6px; font-size: .72rem; font-weight: 700; color: #fff;
  padding: 2px 7px; border-radius: 999px; background: rgba(0,0,0,.45); }
.lxe-grid-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 36px 16px; border: 1px dashed var(--line-2); border-radius: 16px; color: var(--text); }
.lxe-grid-empty > span:first-child svg { width: 30px; height: 30px; color: var(--muted); }
.lxe-grid-empty .btn { margin-top: 8px; }
.lxe-more { display: block; margin: 14px auto 0; padding: 9px 22px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--panel); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.lxe-more.hidden { display: none; }

.lxe-people { margin: 0 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
.lxe-people .user-row { padding: 10px 14px; border-bottom: 1px solid var(--line); content-visibility: visible; }
.lxe-people .user-row:last-child { border-bottom: 0; }

.lxe-clip-modal { max-width: 420px; width: calc(100vw - 24px); padding: 0; overflow: hidden; background: #000; position: relative; }
.lxe-clip-modal .modal-close { position: absolute; right: 8px; top: 8px; z-index: 2; background: rgba(0,0,0,.45); color: #fff; }
.lxe-clip-video { display: block; width: 100%; max-height: 72vh; background: #000; }
.lxe-clip-info { background: var(--panel); padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.lxe-clip-author { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--text); cursor: pointer; }
.lxe-clip-desc { margin: 0; font-size: .92rem; color: var(--text); }

@media (min-width: 720px) {
  .lxe-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .lxe-chan { width: 260px; }
}
html[data-edition="desktop"] .page.lxe { max-width: 1040px; padding-left: 24px; padding-right: 24px; }
html[data-edition="desktop"] .lxe-grid { grid-template-columns: repeat(5, 1fr); }
html[data-edition="desktop"] .lxe-title { font-size: 1.9rem; }

.post-origin { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 16px 0; background: none; border: 0;
  font: inherit; font-size: .82rem; font-weight: 650; color: var(--muted); cursor: pointer; text-align: left; }
.post-origin:hover { color: var(--accent-a); }
.post-origin-ico { display: flex; color: var(--accent-a); }
.post-origin-ico svg { width: 15px; height: 15px; }
.post-origin-av { width: 20px; height: 20px; border-radius: 6px; background: var(--panel-3) center / cover no-repeat; flex: 0 0 20px; }
.lxe-people .user-row { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; margin: 0; background: transparent; }
.lxe-people .user-row:last-child { border-bottom: 0; }
.post-card > .post-origin { order: -10; padding: 0 0 8px; }
.page-home .post-card:has(> .post-media-wrap) > .post-origin { order: 0; }

.lp-avatar .avatar { padding: 0; background: var(--panel-3); border: 3px solid var(--panel);
  box-shadow: 0 0 0 2px var(--accent-a), 0 6px 16px rgba(30,20,10,.14); }
.lp-avatar .avatar-media { width: 100% !important; height: 100% !important; border-radius: inherit; }

.lp-stats .stat { border-radius: 0; }

.lp-btn { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; padding: 9px 6px; }
@media (max-width: 380px) { .lp-btn { font-size: .9rem; } }

.main-banner { background: var(--accent-soft); border-color: rgba(217,119,6,.28); }
.main-banner .main-banner-icon { color: var(--accent-a); }

.settings-profile-handle { color: var(--muted) !important; }

.profile-avatar-wrap.lp-avatar { background: none; padding: 0; border-radius: var(--lopa-tab-lg); }
.lp-btn-row { gap: 6px; }
@media (max-width: 400px) { .lp-btn { font-size: .86rem; padding: 9px 2px; } .lp-btn-icon { flex-basis: 40px; } }

.about-trigger { border: 0 !important; background: var(--panel-2) !important; color: var(--muted); border-radius: 8px; width: 24px; height: 24px; }
.about-trigger .icon { width: 15px; height: 15px; }

.mk-grid > .empty-state, .lxe-grid > .empty-state { grid-column: 1 / -1; }

.lxe-comm .lxe-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; min-height: 2.5em; }
.lxe-cat { font-size: .74rem; }

@media (max-width: 340px) {
  .topbar-right { gap: 0; }
  .topbar-right .icon-btn { width: 34px; height: 34px; }
  .topbar .wordmark { font-size: 1.05rem; }
  .lp-btn-row { flex-wrap: wrap; }
  .lp-btn { flex: 1 1 40%; }
  .bottom-nav .nav-label { font-size: .6rem; }
  .lxe-chan { width: 210px; }
  .lxe-comm { width: 132px; }
}

@media (orientation: landscape) and (max-height: 520px) {
  .reels-screen .reel-rail { gap: 0; bottom: 10px; }
  .reels-screen .reel-rail-btn { min-height: 0; }
  .reels-screen .reel-rail-btn .icon { width: 22px; height: 22px; }
  .reels-screen .reel-rail-label { font-size: .64rem; }
  .reel-rail-author { margin-bottom: 4px; }
  .reel-rail-avatar .avatar, .reel-rail-avatar img { width: 34px !important; height: 34px !important; }
  .reel-watermark { right: 64px; }
}
