/* ===========================================================================
 * coke.css — 参考皮肤（互娱视频.html 的 <style> 逐字搬运，不手改）
 * 来源：/Users/mac/Cray/SparkfireMac/互娱视频/互娱视频.html 第 8–2701 行
 * 本文件由脚本生成；要改皮肤请改生成脚本或直接改这里，再回写参考。
 * =========================================================================== */
:root {
  color-scheme: light;
  --ink: #141821;
  --muted: #697084;
  --line: #dfe4ed;
  --panel: #ffffff;
  --soft: #f5f7fb;
  --dark: #08090d;
  --dark-2: #151720;
  --accent: #ff4d2e;
  --accent-2: #ff8a16;
  --blue: #ff5a1f;
  --green: #ff7a16;
  --violet: #e7382f;
  --gold: #ffb238;
  --shadow: 0 28px 80px rgba(11, 15, 28, .24);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 91, 31, .18), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(255, 138, 22, .18), transparent 28%),
    linear-gradient(135deg, #13080a 0%, #0b0c11 48%, #1f0b08 100%);
  display: grid;
  place-items: center;
  padding: 26px;
}

button, input, textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
}

.demo-shell {
  width: min(430px, 100%);
  display: grid;
  place-items: center;
}

.phone {
  width: min(390px, 100%);
  aspect-ratio: 390 / 844;
  margin: 0 auto;
  border-radius: 34px;
  padding: 10px;
  background: #11131a;
  box-shadow: var(--shadow);
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  width: 116px;
  height: 24px;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: #11131a;
  z-index: 10;
}

.screen {
  height: 100%;
  overflow: hidden;
  border-radius: 27px;
  background: #07090f;
  position: relative;
  isolation: isolate;
}

.status-bar {
  height: 34px;
  padding: 10px 17px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 12px;
  font-weight: 700;
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  pointer-events: none;
}

.status-bar.dark { color: #fff; }
.status-icons { display: flex; gap: 4px; align-items: center; }
.signal { width: 17px; height: 9px; border: 2px solid currentColor; border-radius: 3px; opacity: .9; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .85; }

#view {
  position: absolute;
  inset: 0;
  padding-top: 34px;
  padding-bottom: 66px;
  overflow: hidden;
}

.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 66px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 8px 12px 10px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(9, 10, 14, .88);
  backdrop-filter: blur(16px);
  z-index: 25;
  color: rgba(255,255,255,.74);
}

.tabbar.dark {
  border-top-color: rgba(255, 255, 255, .08);
  background: rgba(9, 10, 14, .82);
  color: #d9dde7;
}

.tab {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: inherit;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.1;
  position: relative;
}

.tab.active { color: var(--blue); }
.tab.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 18px;
  height: 3px;
  border-radius: 3px;
  transform: translateX(-50%);
  background: currentColor;
}
.tabbar.dark .tab { color: rgba(255,255,255,.74); }
.tabbar.dark .tab.active { color: var(--blue); }

.tab.create-tab-text {
  width: 44px;
  height: 44px;
  margin: 2px auto;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ff5a1f 0%, #e33118 52%, #a71910 100%);
  box-shadow: 0 10px 24px rgba(227, 49, 24, .46);
  flex: 0 0 44px;
}

.symbol-mark {
  --symbol-size: 18px;
  --symbol-stroke: 3px;
  width: var(--symbol-size);
  height: var(--symbol-size);
  display: block;
  position: relative;
  color: currentColor;
}

.symbol-mark::before,
.symbol-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--symbol-size);
  height: var(--symbol-stroke);
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.symbol-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.tab.create-tab-text .symbol-mark {
  --symbol-size: 19px;
  --symbol-stroke: 3px;
}

.tab.create-tab-text.active {
  color: #fff;
}

.tab.create-tab-text::after {
  display: none;
}

.video-view {
  color: #fff;
  min-height: 100%;
  position: relative;
  background: #050609;
  touch-action: pan-y;
  user-select: none;
}

.video-backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.22) 46%, rgba(0,0,0,.86) 92%),
    url("assets/action-movie-cover.svg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.01);
}

.video-backdrop.choice {
  background-size: 3300px auto;
  background-position: -1360px -910px;
  filter: saturate(1.1) contrast(1.12) brightness(.76);
}

.video-backdrop.cover-action {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.22) 46%, rgba(0,0,0,.86) 92%),
    url("assets/action-movie-cover.svg");
}

.video-backdrop.cover-city {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.34) 46%, rgba(0,0,0,.9) 92%),
    radial-gradient(circle at 66% 36%, rgba(255, 129, 30, .86), transparent 19%),
    radial-gradient(circle at 28% 25%, rgba(255, 77, 46, .42), transparent 25%),
    linear-gradient(150deg, #1a0b0b 0%, #111018 48%, #331019 100%);
}

.video-backdrop.cover-neon {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.28) 45%, rgba(0,0,0,.9) 92%),
    radial-gradient(circle at 42% 30%, rgba(255, 77, 46, .62), transparent 24%),
    radial-gradient(circle at 68% 46%, rgba(255, 138, 22, .5), transparent 18%),
    linear-gradient(160deg, #090506 0%, #21100e 48%, #2a0c09 100%);
}

.video-backdrop.cover-cocreate {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.32) 44%, rgba(0,0,0,.9) 92%),
    radial-gradient(circle at 48% 32%, rgba(255, 77, 46, .46), transparent 20%),
    radial-gradient(circle at 72% 20%, rgba(255, 138, 22, .56), transparent 21%),
    linear-gradient(145deg, #150708 0%, #141016 55%, #291016 100%);
}

.video-backdrop.pass {
  background-image:
    radial-gradient(circle at 50% 34%, rgba(255, 138, 22, .52), transparent 15%),
    radial-gradient(circle at 42% 48%, rgba(255, 64, 111, .3), transparent 20%),
    linear-gradient(150deg, #271018 0%, #121525 50%, #180b27 100%);
  background-size: cover;
  background-position: center;
  filter: none;
}

.top-video-nav {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 8px 16px 0;
  font-weight: 700;
  font-size: 13px;
}

.home-video-nav {
  justify-content: center;
  min-height: 38px;
  padding: 8px 58px 0;
  gap: 28px;
}

.channel-btn {
  min-width: 44px;
  height: 30px;
  padding: 0;
  background: transparent;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  font-weight: 850;
  position: relative;
}

.channel-btn.active {
  color: #fff;
}

.channel-btn.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 3px;
  border-radius: 3px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.home-video-nav .search-mini {
  position: absolute;
  right: 14px;
  top: 7px;
  margin-left: 0;
}

.top-video-nav .inline-back {
  margin-left: 0;
  margin-right: 0;
  flex: 0 0 auto;
}

.top-video-nav .muted {
  color: rgba(255,255,255,.6);
  font-weight: 600;
}

.search-mini {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.13);
  color: #fff;
  display: grid;
  place-items: center;
}

.search-mini svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.side-actions {
  position: absolute;
  right: 12px;
  bottom: 34px;
  z-index: 3;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.action {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #fff;
  font-size: 11px;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}

.action button {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.17);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(9px);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.action button svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.15;
}

.action .liked {
  background: linear-gradient(135deg, #ff426d, #ff8a16);
}

.action .active-action {
  background: linear-gradient(135deg, #ff5a1f, #e33118);
  border-color: rgba(255, 138, 22, .58);
}

.story-card {
  position: absolute;
  z-index: 4;
  left: 16px;
  right: 70px;
  bottom: 8px;
}

.story-card h1 {
  margin: 0 0 5px;
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: 0;
}

.story-initiator {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  font-weight: 720;
  line-height: 1.2;
}

.story-card p {
  margin: 0 0 12px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  line-height: 1.45;
}

.story-cta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.story-series-meta {
  min-width: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 10px;
  font-weight: 680;
  line-height: 1.32;
}

.enter-story-btn {
  min-width: 86px;
  height: 30px;
  border-radius: 15px;
  padding: 0 13px;
  color: #fff;
  background: linear-gradient(135deg, #ff5a1f 0%, #e33118 58%, #a71910 100%);
  box-shadow: 0 8px 18px rgba(227, 49, 24, .34);
  font-size: 12px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.full-story-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 72px 18px 96px;
  text-align: center;
}

.full-story-layer.is-finished {
  align-content: stretch;
  justify-items: stretch;
  padding: 72px 16px 4px;
}

.story-detail-nav {
  position: relative;
  z-index: 5;
  min-height: 40px;
  padding: 6px 14px 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
}

.story-detail-nav .inline-back,
.story-detail-nav .inline-home {
  width: 32px;
  height: 32px;
  margin: 0;
}

.story-detail-nav .inline-home {
  justify-self: end;
}

.story-detail-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
}

.play-core {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  background: rgba(255, 91, 31, .24);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 28px rgba(255, 77, 46, .34);
}

.play-core::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid currentColor;
}

.playing-countdown {
  min-width: 132px;
  min-height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 12px 16px;
  color: #fff;
  background: rgba(8, 10, 14, .48);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 28px rgba(255, 77, 46, .24);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.story-options {
  width: 100%;
  display: grid;
  gap: 9px;
  align-self: end;
}

.story-option {
  width: 100%;
  height: 66px;
  border-radius: 21px;
  color: #fff;
  background: rgba(8, 11, 16, .62);
  border: 1px solid rgba(255,255,255,.26);
  padding: 9px 10px 9px 12px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 9px;
  text-align: left;
  backdrop-filter: blur(12px);
}

.story-option-main {
  min-width: 0;
  display: grid;
  gap: 5px;
  align-self: stretch;
  align-content: space-between;
}

.story-option-title {
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.28;
}

.story-option-creator {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, .7);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.1;
}

.story-option-heat {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  color: #ff6a24;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.story-option-heat svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: none;
}

.story-option.active {
  border-color: rgba(255, 138, 22, .95);
  background: rgba(255, 91, 31, .22);
}

.cocreate-btn {
  width: 100%;
  height: 42px;
  border-radius: 21px;
  color: #fff;
  background: linear-gradient(135deg, #ff5a1f 0%, #e33118 58%, #a71910 100%);
  box-shadow: 0 10px 22px rgba(227, 49, 24, .36);
  font-size: 13px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.story-finished-layout {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 1px 100px;
}

.story-options-panel {
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
}

.story-finished-copy {
  width: min(320px, 100%);
  margin: 0 auto 12px;
  color: #fff;
  font-size: 20px;
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: 0;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}

.story-options-shell {
  width: min(320px, 100%);
  height: 252px;
  position: relative;
  overflow: hidden;
}

.story-options-scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 52px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.story-options-scroll::-webkit-scrollbar {
  display: none;
}

.story-options-shell .cocreate-btn {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  border: 1px solid rgba(255, 138, 22, .22);
}

.story-module-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
}

.story-feedback-panel {
  height: 100px;
  display: grid;
  align-content: center;
  gap: 10px;
}

.story-feedback-title {
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
  font-weight: 760;
  line-height: 1;
  text-align: center;
}

.story-feedback-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.story-feedback-btn {
  height: 38px;
  border-radius: 15px;
  color: #fff;
  background: rgba(8, 11, 16, .42);
  border: 1px solid rgba(255, 91, 31, .82);
  backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 820;
  box-shadow: inset 0 0 0 1px rgba(255, 138, 22, .08);
}

.story-feedback-btn svg {
  width: 12px;
  height: 12px;
  margin-right: 3px;
  color: #ff6a24;
  fill: currentColor;
  stroke: none;
}

.story-feedback-btn:active {
  background: rgba(255, 91, 31, .18);
}

.video-progress {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 1px;
  z-index: 4;
}

.video-progress-track {
  height: 3px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255,255,255,.2);
}

.video-progress-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ff8a16, #ff4d2e);
}

.video-progress-fill.playing {
  animation: storyProgressFill 3s linear forwards;
}

.video-progress-fill.done {
  width: 100%;
}

@keyframes storyProgressFill {
  from { width: 0; }
  to { width: 100%; }
}

.choice-list {
  display: grid;
  gap: 8px;
}

.choice-btn {
  width: 100%;
  min-height: 42px;
  border-radius: 20px;
  color: #fff;
  padding: 8px 13px;
  text-align: left;
  background: rgba(8, 11, 16, .54);
  border: 1px solid rgba(255, 255, 255, .28);
  display: flex;
  align-items: center;
  gap: 9px;
  backdrop-filter: blur(12px);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.choice-btn:hover,
.choice-btn.selected {
  transform: translateY(-1px);
  border-color: rgba(255, 138, 22, .9);
  background: rgba(255, 138, 22, .22);
}

.choice-dot {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff8a16, #ff2d77);
  font-size: 11px;
  font-weight: 900;
}

.choice-dot.play-dot::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #fff;
}

.primary-gradient {
  width: 100%;
  height: 44px;
  border-radius: 22px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(90deg, #ff8a16, #ff376f 48%, #8b56ff);
  box-shadow: 0 12px 28px rgba(255, 61, 108, .28);
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-pad {
  height: 100%;
  overflow-y: auto;
  background:
    radial-gradient(circle at 76% 0%, rgba(255, 138, 22, .12), transparent 28%),
    radial-gradient(circle at 20% 12%, rgba(255, 77, 46, .1), transparent 28%),
    #07090f;
  color: #fff;
  padding: 16px 14px 86px;
}

.white-view {
  background:
    radial-gradient(circle at 76% 0%, rgba(255, 138, 22, .12), transparent 28%),
    radial-gradient(circle at 20% 12%, rgba(255, 77, 46, .1), transparent 28%),
    #07090f;
}

.section-title {
  margin: 8px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.section-title h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0;
}

.rank-title {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.rank-date {
  color: rgba(255,255,255,.5);
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.mini-link {
  color: var(--blue);
  background: transparent;
  font-size: 12px;
  font-weight: 750;
  min-height: 32px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  height: 36px;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  padding: 3px;
  margin-bottom: 12px;
}

.segmented button {
  border-radius: 5px;
  background: transparent;
  color: rgba(255,255,255,.58);
  font-weight: 750;
  font-size: 13px;
}

.segmented button.active {
  background: rgba(255, 91, 31, .18);
  color: #fff;
  box-shadow: none;
}

.rank-category-tabs {
  margin: 0 0 12px;
}

.rank-main-tabs {
  position: relative;
  justify-content: center;
  min-height: 38px;
  padding: 2px 0 8px;
  gap: 32px;
  margin-bottom: 4px;
}

.rank-list {
  display: grid;
  gap: 9px;
}

.rank-item {
  min-height: 68px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.09);
  display: grid;
  grid-template-columns: 31px 48px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}

.rank-no {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.74);
  font-weight: 850;
  font-size: 12px;
}

.rank-item:nth-child(1) .rank-no { background: #f6a800; color: #fff; }
.rank-item:nth-child(2) .rank-no { background: #9aa7b7; color: #fff; }
.rank-item:nth-child(3) .rank-no { background: #b56a28; color: #fff; }

.thumb {
  width: 48px;
  height: 48px;
  border-radius: 7px;
  background-image:
    linear-gradient(145deg, rgba(10, 12, 18, .08), rgba(10,12,18,.32)),
    url("assets/prototype-small.png");
  background-size: 1700px auto;
  background-position: -40px -24px;
}

.thumb.t2 { background-position: -705px -475px; }
.thumb.t3 { background-position: -712px -880px; }
.thumb.t4 { background-position: -960px -1460px; }
.thumb.t5 { background-position: -260px -1468px; }

.creator-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.32), transparent 30%),
    linear-gradient(135deg, #ff8a16 0%, #ff4d2e 52%, #7f160e 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.creator-avatar.c2 { background: linear-gradient(135deg, #ff4775, #e33118 52%, #5b1012); }
.creator-avatar.c3 { background: linear-gradient(135deg, #8b56ff, #27335d 48%, #ff5a1f); }
.creator-avatar.c4 { background: linear-gradient(135deg, #2b3146, #11131b 50%, #e33118); }
.creator-avatar.c5 { background: linear-gradient(135deg, #ffcb52, #ff5a1f 48%, #65120f); }

.rank-name {
  display: block;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 850;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-meta {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.52);
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-item > span:nth-child(3) {
  min-width: 0;
}

.hot {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  min-width: 46px;
  line-height: 1;
}

.hot-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.hot-label {
  color: rgba(255,255,255,.52);
  font-size: 10px;
  font-weight: 760;
}

.create-view {
  min-height: 100%;
  color: #fff;
  background:
    radial-gradient(circle at 70% 8%, rgba(255, 138, 22, .14), transparent 24%),
    radial-gradient(circle at 22% 18%, rgba(255, 77, 46, .16), transparent 24%),
    #020305;
  padding: 44px 14px 86px;
  overflow-y: auto;
  position: relative;
}

.create-view::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 68% 12%, rgba(255, 138, 22, .16), transparent 24%),
    radial-gradient(circle at 28% 22%, rgba(255, 77, 46, .14), transparent 24%);
  z-index: -1;
  display: none;
}

.create-topbar {
  height: 34px;
  margin: -2px -2px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  position: relative;
}

.create-topbar > strong {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  max-width: 128px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.create-back {
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: grid;
  place-items: center;
}

.create-back.text-back {
  width: auto;
  min-width: 56px;
  border-radius: 16px;
  padding: 0 9px 0 6px;
  display: inline-flex;
  gap: 3px;
  background: transparent;
  border-color: transparent;
  font-weight: 850;
}

.create-back svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.credit-pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 5px 7px 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  font-size: 11px;
  white-space: nowrap;
}

.credit-pill button {
  min-width: 72px;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--accent-2);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
}

.create-hero {
  min-height: 394px;
  display: grid;
  align-content: end;
  padding: 0 0 18px;
}

.create-entry-view {
  min-height: 100%;
  display: grid;
  align-items: end;
  padding: 44px 14px 0;
  overflow: hidden;
}

.create-entry-view .create-hero {
  min-height: 0;
  padding: 0 0 82px;
}

.create-hero h2,
.create-view h2 {
  margin: 0 0 5px;
  font-size: 23px;
  line-height: 1.12;
}

.create-hero p,
.create-view p {
  margin: 0;
  font-size: 12px;
  line-height: 1.48;
  color: rgba(255,255,255,.62);
}

.create-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.create-card {
  min-height: 108px;
  border-radius: 8px;
  padding: 12px;
  text-align: left;
  color: #171923;
  background: linear-gradient(145deg, #ff6c91, #ff89a5);
  position: relative;
  overflow: hidden;
  border: 0;
}

.create-card:nth-child(2) {
  background: linear-gradient(145deg, #c370ff, #9f6dff);
}

.create-card.active {
  box-shadow: 0 12px 26px rgba(0,0,0,.32), inset 0 0 0 1px rgba(255,255,255,.16);
  filter: brightness(1.04);
}

.create-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.create-card span {
  font-size: 11px;
  line-height: 1.35;
  display: block;
}

.create-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5a1f 0%, #e33118 52%, #a71910 100%);
  color: #fff;
  margin: 0;
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  font-weight: 900;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(227, 49, 24, .46);
}

.create-close .symbol-mark {
  --symbol-size: 19px;
  --symbol-stroke: 3px;
  z-index: 1;
  animation: createCloseSymbolIn .58s cubic-bezier(.2,.8,.2,1) both;
}

.create-close.closing .symbol-mark {
  animation: createCloseSymbolOut .36s cubic-bezier(.4,0,.2,1) both;
}

@keyframes createCloseSymbolIn {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(45deg); }
}

@keyframes createCloseSymbolOut {
  0% { transform: rotate(45deg); }
  100% { transform: rotate(0deg); }
}

.progress-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 6px 0 14px;
}

.rail-step {
  min-height: 38px;
  padding: 6px 4px;
  background: rgba(255,255,255,.9);
  color: #171923;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  position: relative;
  border: 1px solid rgba(255,255,255,.18);
}

.rail-step.active {
  outline: 2px solid var(--accent-2);
}

.rail-step.done::after {
  content: "✓";
  position: absolute;
  right: -5px;
  top: -9px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.create-form {
  display: grid;
  gap: 12px;
  padding-bottom: 4px;
}

.create-form-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding-bottom: 66px;
}

.create-form-view.has-sequel-note {
  padding-bottom: 112px;
}

.create-form-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.create-form-scroll::-webkit-scrollbar {
  display: none;
}

.create-form-view.has-sequel-note .create-form-scroll {
  padding-bottom: 56px;
}

.create-form-spacer {
  flex: 1 1 auto;
  min-height: 12px;
}

.form-card {
  background: #111319;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 12px;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 850;
}

.required {
  color: #ff466f;
  font-weight: 900;
}

textarea,
.text-input {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #1b1d25;
  color: #fff;
  padding: 11px;
  outline: 0;
  font-size: 12px;
}

textarea {
  min-height: 96px;
  resize: none;
  line-height: 1.55;
}

.reference-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.image-tile {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 91, 31, .9), rgba(255,255,255,.25)),
    url("assets/prototype-small.png");
  background-size: 1600px auto;
  background-position: -42px -34px;
  border: 1px solid rgba(255,255,255,.18);
}

.add-tile {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #242731;
  color: rgba(255,255,255,.7);
  border: 1px dashed rgba(255,255,255,.28);
  font-size: 24px;
  display: grid;
  place-items: center;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-width: 58px;
  height: 32px;
  border-radius: 16px;
  padding: 0 12px;
  background: #1c1e26;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  font-weight: 780;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip.active {
  color: #fff;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  border-color: transparent;
}

.create-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 66px;
  margin: 0;
  padding: 8px 14px 10px;
  background: rgba(9, 10, 14, .9);
  border-top: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  z-index: 8;
}

.cost-box {
  color: rgba(255,255,255,.55);
  font-size: 11px;
}

.cost-box strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-top: 2px;
}

.blue-btn {
  height: 40px;
  min-width: 140px;
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  background: linear-gradient(180deg, #ff8a16 0%, #ff4d2e 100%);
  font-weight: 850;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.blue-btn.wide {
  width: 100%;
}

.ghost-btn {
  height: 40px;
  border-radius: 8px;
  padding: 0 13px;
  color: #fff;
  background: #2b2e37;
  font-weight: 800;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ai-generating {
  min-height: calc(100vh - 190px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px 16px;
}

.orb {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 26% 22%, #ff9d2c, transparent 28%),
    radial-gradient(circle at 62% 35%, #ff3e75, transparent 34%),
    radial-gradient(circle at 64% 74%, #e7382f, transparent 42%),
    #24121f;
  box-shadow: 0 0 42px rgba(255, 65, 113, .38);
  animation: pulseOrb 1.9s ease-in-out infinite;
  margin: 0 auto 16px;
}

@keyframes pulseOrb {
  0%, 100% { transform: scale(.96); filter: saturate(.95); }
  50% { transform: scale(1.04); filter: saturate(1.18); }
}

.percent {
  color: #ff4775;
  font-weight: 900;
  font-size: 20px;
  margin: 6px 0 10px;
}

.generate-progress-track {
  width: 220px;
  height: 6px;
  border-radius: 999px;
  margin: 0 auto 18px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
}

.generate-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff8a16 0%, #ff4d2e 54%, #e33118 100%);
  box-shadow: 0 0 14px rgba(255, 91, 31, .48);
}

.generate-checks {
  width: 220px;
  display: grid;
  gap: 9px;
  text-align: left;
  margin: 0 auto;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

.generate-checks span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.generate-checks i {
  color: var(--accent-2);
  font-style: normal;
  font-weight: 900;
}

.preview-box {
  height: 170px;
  background: #fff;
  color: #171923;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 850;
  margin-bottom: 12px;
  border-radius: 8px;
}

.preview-box.tall {
  height: 255px;
}

.switch-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 800;
}

.switch {
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ff8a16 0%, #ff4d2e 100%);
  padding: 3px;
  display: flex;
  justify-content: flex-end;
}

.switch::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
}

.publish-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 66px;
  margin: 0;
  padding: 10px 14px;
  background: rgba(9, 10, 14, .9);
  border-top: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  z-index: 8;
}

.co-create-title {
  margin: 0 0 12px;
  font-size: 20px;
}

.co-card {
  background: rgba(255,255,255,.07);
  color: #fff;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
}

.co-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.co-row {
  min-height: 34px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #edf0f5;
  font-size: 12px;
  width: 100%;
  text-align: left;
  background: transparent;
  color: inherit;
  line-height: 1.25;
}

.co-row:first-of-type {
  border-top: 0;
}

.co-score {
  color: var(--gold);
  font-weight: 900;
}

.param-card {
  display: grid;
  gap: 12px;
}

.param-group {
  display: grid;
  gap: 8px;
}

.param-group-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,.68);
  font-size: 11px;
  font-weight: 800;
}

.cost-inline {
  color: var(--accent-2);
  font-weight: 900;
}

.footer-note {
  color: rgba(255,255,255,.42);
  font-size: 10px;
  margin-top: 4px;
  white-space: nowrap;
}

.sequel-note {
  min-height: 36px;
  border-radius: 8px;
  padding: 9px 10px;
  color: rgba(255,255,255,.78);
  background: #24120f;
  border: 0;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 760;
}

.sequel-note.fixed {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 72px;
  min-height: 38px;
  display: flex;
  align-items: center;
  z-index: 9;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}

.sequel-note strong {
  color: #ffb238;
  font-weight: 900;
}

.tag-row {
  display: grid;
  grid-template-columns: 1fr 56px;
  gap: 8px;
}

.tag-row .blue-btn {
  min-width: 0;
  height: 36px;
}

.uploading-note {
  position: absolute;
  left: 50%;
  top: 72px;
  width: min(268px, calc(100% - 40px));
  min-height: 74px;
  transform: translateX(-50%);
  border-radius: 12px;
  padding: 13px 14px 12px;
  background:
    linear-gradient(135deg, rgba(255, 91, 31, .2), rgba(227, 49, 24, .1)),
    rgba(12, 14, 21, .88);
  color: #fff;
  border: 1px solid rgba(255, 91, 31, .28);
  box-shadow: 0 14px 34px rgba(0,0,0,.32), 0 0 22px rgba(227, 49, 24, .18);
  display: grid;
  align-content: center;
  gap: 8px;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  z-index: 6;
  backdrop-filter: blur(14px);
}

.uploading-note strong {
  font-size: 13px;
  font-weight: 900;
}

.uploading-note span {
  color: #ffb238;
  font-size: 18px;
  font-weight: 900;
}

.uploading-track {
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.13);
}

.uploading-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff8a16, #ff4d2e 58%, #e33118);
}

.create-view.published {
  background: #07090f;
  color: #fff;
  height: 100%;
  overflow: hidden;
  padding-bottom: 66px;
}

.create-view.published.has-sequel-note {
  padding-bottom: 112px;
}

.publish-scroll {
  height: calc(100% - 44px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.publish-scroll::-webkit-scrollbar {
  display: none;
}

.create-view.published.has-sequel-note .publish-scroll {
  padding-bottom: 56px;
}

.create-view.published .create-topbar {
  color: #fff;
}

.uploaded-home {
  height: 100%;
  background:
    radial-gradient(circle at 70% 0%, rgba(255, 138, 22, .12), transparent 27%),
    radial-gradient(circle at 22% 14%, rgba(255, 77, 46, .1), transparent 28%),
    #07090f;
  color: #fff;
  position: relative;
  padding: 16px 14px 86px;
}

.home-channel-tabs {
  display: flex;
  justify-content: center;
  gap: 42px;
  align-items: center;
  min-height: 38px;
  font-size: 14px;
  font-weight: 850;
}

.home-channel-tabs .active {
  color: var(--accent);
}

.challenge-panel {
  position: absolute;
  z-index: 4;
  left: 12px;
  right: 12px;
  bottom: 86px;
  display: grid;
  gap: 8px;
}

.challenge-title {
  padding: 12px;
  border-radius: 8px;
  background: rgba(8,10,14,.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.11);
}

.challenge-title strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.challenge-title span {
  font-size: 11px;
  color: rgba(255,255,255,.65);
}

.vote-option {
  width: 100%;
  min-height: 43px;
  border-radius: 22px;
  color: #fff;
  background: rgba(10,12,17,.58);
  border: 1px solid rgba(255,255,255,.32);
  padding: 7px 11px;
  display: grid;
  grid-template-columns: 25px 1fr auto;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.vote-option.active {
  border-color: #ff8a16;
  background: rgba(255, 138, 22, .22);
}

.vote-count {
  color: #ffb33d;
  font-size: 11px;
  font-weight: 850;
}

.community-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 1px 10px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  margin-bottom: 10px;
}

.community-top strong {
  font-size: 17px;
}

.community-tabs {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.community-tabs button {
  background: transparent;
  color: rgba(255,255,255,.54);
  font-size: 15px;
  font-weight: 850;
  position: relative;
  padding: 4px 0;
}

.community-tabs button.active {
  color: var(--accent-2);
}

.community-tabs button.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: currentColor;
}

.group-search {
  height: 34px;
  border-radius: 17px;
  margin: 2px 0 14px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  font-weight: 720;
}

.group-search svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.group-section {
  margin-bottom: 18px;
}

.group-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  font-weight: 900;
}

.group-section-head span:last-child {
  color: rgba(255,255,255,.42);
  font-size: 11px;
  font-weight: 720;
}

.group-list {
  display: grid;
  gap: 10px;
}

.group-card {
  width: 100%;
  min-height: 88px;
  border-radius: 8px;
  padding: 10px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 54px;
  gap: 10px;
  align-items: start;
  text-align: left;
  color: #fff;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

.group-avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.34), transparent 32%),
    linear-gradient(135deg, #ff8a16 0%, #ff4d2e 56%, #76130d 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.group-avatar.g2 { background: linear-gradient(135deg, #2b3146, #11131b 54%, #e33118); }
.group-avatar.g3 { background: linear-gradient(135deg, #ffcb52, #ff5a1f 48%, #65120f); }
.group-avatar.g4 { background: linear-gradient(135deg, #4352ff, #1b1f35 52%, #ff4d2e); }

.group-info {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.group-name {
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-members {
  color: rgba(255,255,255,.52);
  font-size: 11px;
  font-weight: 720;
}

.group-preview {
  min-height: 30px;
  border-radius: 6px;
  padding: 6px 8px;
  color: rgba(255,255,255,.58);
  background: rgba(255,255,255,.06);
  font-size: 11px;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.join-btn {
  width: 54px;
  height: 26px;
  border-radius: 13px;
  padding: 0;
  background: rgba(255, 91, 31, .16);
  color: var(--accent-2);
  border: 1px solid rgba(255, 91, 31, .42);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  display: grid;
  place-items: center;
  justify-self: end;
  align-self: start;
  margin-top: 1px;
  white-space: nowrap;
}

.join-btn.joined {
  color: rgba(255,255,255,.54);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.1);
}

.post {
  width: 100%;
  text-align: left;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.09);
  padding: 14px 2px;
  color: #fff;
}

.post h3 {
  margin: 0 0 7px;
  font-size: 15px;
  line-height: 1.32;
}

.post p {
  margin: 0 0 10px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  line-height: 1.55;
}

.post-meta {
  color: rgba(255,255,255,.42);
  font-size: 11px;
  display: flex;
  gap: 14px;
}

.profile-head {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.09);
  padding: 12px;
  border-radius: 12px;
  margin: 0 0 12px;
}

.profile-actions {
  height: 32px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 850;
  margin-bottom: 8px;
}

.profile-actions button {
  color: #fff;
  background: transparent;
  font-size: 14px;
  font-weight: 850;
}

.profile-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.profile-user {
  min-width: 0;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.profile-follow-btn {
  height: 26px;
  min-width: 68px;
  border-radius: 13px;
  margin-top: 8px;
  color: #fff;
  background: linear-gradient(135deg, #ff5a1f, #e33118);
  border: 1px solid rgba(255, 138, 22, .42);
  font-size: 12px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 7px 16px rgba(227, 49, 24, .26);
}

.avatar {
  width: 78px;
  height: 78px;
  margin: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  background: linear-gradient(135deg, #ff8a16, #ff2d77 56%, #8e55ff);
  position: relative;
}

.avatar::after {
  content: "+";
  position: absolute;
  right: -2px;
  bottom: 2px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #050609;
  color: #fff;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
}

.profile-name {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-code {
  margin-top: 4px;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  font-weight: 680;
  line-height: 1.2;
  white-space: nowrap;
}

.profile-assets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  text-align: left;
}

.asset {
  min-height: 34px;
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.asset strong {
  display: inline;
  color: #fff;
  font-size: 16px;
  line-height: 1.1;
  margin-bottom: 0;
}

.asset span {
  color: rgba(255,255,255,.6);
  font-size: 11px;
  font-weight: 720;
}

.stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  overflow: hidden;
}

.stat {
  background: rgba(255,255,255,.04);
  border-radius: 0;
  padding: 11px 4px 10px;
  font-size: 12px;
  color: rgba(255,255,255,.56);
  text-align: center;
}

.stat strong {
  display: block;
  color: #fff;
  font-size: 16px;
  margin-bottom: 3px;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  padding: 12px 10px;
  margin-bottom: 12px;
}

.shortcut {
  min-height: 62px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 760;
}

.shortcut-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 18px;
  font-weight: 900;
}

.mine-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 2px 0 12px;
}

.mine-tabs button {
  height: 34px;
  background: transparent;
  color: rgba(255,255,255,.52);
  font-size: 13px;
  font-weight: 800;
  position: relative;
}

.mine-tabs button.active {
  color: var(--accent-2);
}

.mine-tabs button.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 18px;
  height: 3px;
  border-radius: 3px;
  transform: translateX(-50%);
  background: currentColor;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.work-card {
  aspect-ratio: 1 / 1.24;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.work-thumb {
  height: 100%;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.44)),
    radial-gradient(circle at 72% 26%, rgba(255, 178, 56, .7), transparent 12%),
    linear-gradient(135deg, #ff8a16 0%, #ff4d2e 45%, #1a0706 100%);
}

.work-card:nth-child(2) .work-thumb {
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.48)),
    radial-gradient(circle at 66% 28%, rgba(255, 178, 56, .62), transparent 13%),
    linear-gradient(135deg, #2a0c09 0%, #e33118 52%, #ff8a16 100%);
}

.work-title {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(11, 13, 19, .42);
  backdrop-filter: blur(3px);
}

.overlay.create-exit-overlay {
  inset: 34px 0 0;
  display: block;
  padding: 0;
}

.dialog {
  width: min(320px, 100%);
  border-radius: 8px;
  background: #111319;
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  padding: 18px;
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.dialog h3 {
  margin: 0;
  font-size: 17px;
}

.close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.close svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.6;
}

.boost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 13px 0 15px;
}

.boost {
  height: 64px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.07);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.78);
  font-weight: 800;
}

.boost.active {
  border: 2px solid var(--accent-2);
  color: var(--accent-2);
  background: rgba(255, 138, 22, .14);
}

.boost-balance {
  min-height: 38px;
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}

.boost-balance span {
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 760;
}

.boost-balance strong {
  color: #ff8a16;
  font-size: 15px;
  margin-left: 4px;
}

.recharge-btn {
  height: 26px;
  border-radius: 13px;
  padding: 0 12px;
  color: #ff8a16;
  background: rgba(255, 91, 31, .1);
  border: 1px solid rgba(255, 91, 31, .72);
  font-size: 11px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.create-exit-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.create-exit-actions .ghost-btn,
.create-exit-actions .blue-btn {
  width: 100%;
  min-width: 0;
}

.create-exit-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(300px, calc(100% - 44px));
  transform: translate(-50%, calc(-50% - 10px));
}

.pass-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 36px;
  text-align: center;
}

.pass-content h2 {
  margin: 0 0 8px;
  color: #ffbd4a;
  font-size: 34px;
  letter-spacing: 0;
}

.pass-content p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}

.reward-box {
  width: 210px;
  border-radius: 12px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  padding: 18px 14px;
  margin-bottom: 16px;
  color: #fff;
}

.stars {
  color: #ffd35c;
  font-size: 22px;
  letter-spacing: 3px;
  margin: 7px 0;
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%) translateY(12px);
  z-index: 90;
  max-width: 310px;
  min-height: 38px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  padding: 9px 16px;
  background: rgba(18, 22, 33, .9);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.reward {
  top: 114px;
  bottom: auto;
  transform: translateX(-50%) translateY(-12px);
  border: 1px solid rgba(255, 91, 31, .42);
  background: rgba(21, 10, 8, .92);
  box-shadow: 0 12px 28px rgba(227, 49, 24, .28);
  font-weight: 820;
  transition: opacity 1.18s ease, transform 1.18s ease;
}

.toast.reward.show {
  transform: translateX(-50%) translateY(0);
}

.toast.top-success {
  top: 118px;
  bottom: auto;
  transform: translateX(-50%) translateY(-12px);
  border: 1px solid rgba(255, 91, 31, .42);
  background: rgba(18, 12, 10, .92);
  box-shadow: 0 12px 28px rgba(227, 49, 24, .28);
}

.toast.top-success.show {
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 820px) {
  body { padding: 16px; align-items: center; }
}

@media (max-width: 430px) {
  body { padding: 0; background: #11131a; }
  .demo-shell { width: 100%; display: block; }
  .phone {
    width: 100vw;
    height: 100dvh;
    aspect-ratio: auto;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }
  .phone::before { display: none; }
  .screen { border-radius: 0; }
}
