
  :root {
    --pink: #FF007A;
    --orange: #FF6B00;
    --cyan: #00D2FF;
    --ink: #0B0E14;
    --sat: env(safe-area-inset-top);
    --sab: env(safe-area-inset-bottom);
  }
  * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
  html, body { margin: 0; height: 100%; overflow: hidden; background: #07090d; color: #f4f7fb; }
  body {
    font-family: "Outfit", "Noto Sans TC", "Noto Sans JP", "Noto Sans KR", "PingFang TC", "Microsoft JhengHei", sans-serif;
  }
  button, input, textarea { font-family: inherit; color: inherit; }
  button { touch-action: manipulation; }
  input, textarea { font-size: 16px; }
  [hidden] { display: none !important; }
  #stage {
    min-height: 100%;
    display: flex;
    justify-content: center;
    background:
      radial-gradient(900px 420px at 50% -10%, rgba(255,0,122,.28), transparent 55%),
      radial-gradient(700px 380px at 100% 80%, rgba(0,210,255,.16), transparent 50%),
      #07090d;
  }
  #app {
    width: 100%;
    max-width: 480px;
    height: 100dvh;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--ink);
    box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 30px 80px rgba(0,0,0,.45);
  }
  .aurora { position: absolute; width: 240px; height: 240px; border-radius: 50%; filter: blur(42px); pointer-events: none; z-index: 0; }
  .a1 { background: rgba(255,0,122,.42); top: -70px; left: -40px; }
  .a2 { background: rgba(0,210,255,.28); top: 80px; right: -80px; }
  .a3 { background: rgba(255,107,0,.22); bottom: 120px; left: -60px; }
  header, #main, #dock { position: relative; z-index: 1; }
  header { z-index: 20; padding: calc(10px + var(--sat)) 16px 12px; }
  .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .wordmark { font-family: Outfit, sans-serif; font-size: 11px; letter-spacing: .14em; font-weight: 800; opacity: .9; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .wordmark b { color: var(--pink); }
  .clock { text-align: right; min-width: 72px; }
  .clock strong { display: block; font-family: Outfit, sans-serif; font-size: 14px; letter-spacing: .04em; }
  .clock small { display: block; color: rgba(255,255,255,.62); font-size: 10px; }
  #langBtn, .langmenu button, .chip, .choice, .ghost, .primary, .iconbtn, .linkish, .rank, .pin, nav button, .x {
    cursor: pointer;
  }
  #langBtn {
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(16px);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 700;
  }
  .langmenu {
    position: absolute; top: calc(46px + var(--sat)); left: 12px; z-index: 30;
    display: grid; gap: 4px; padding: 8px; min-width: 168px;
    border-radius: 16px;
  }
  .langmenu button {
    text-align: left; border: 0; background: transparent; border-radius: 10px; padding: 8px 10px; font-weight: 700; font-size: 14px;
  }
  .langmenu button.on { background: rgba(255,0,122,.2); color: white; }
  h1 {
    margin: 12px 0 0; text-align: center; overflow-wrap: anywhere;
    font-size: clamp(1.55rem, 6.6vw, 2.05rem);
    font-weight: 900; letter-spacing: -.03em; line-height: 1.28;
    text-wrap: balance;
    text-shadow: 0 10px 28px rgba(255,0,122,.32);
  }
  .brand-en {
    margin: 4px 0 0; text-align: center;
    font-family: Outfit, sans-serif; font-weight: 800;
    letter-spacing: .16em; font-size: 11px;
    background: linear-gradient(90deg, var(--pink), var(--orange) 52%, var(--cyan));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
  .pill {
    display: inline-flex; align-items: center; gap: 5px;
    border-radius: 999px; padding: 5px 9px;
    font-size: 11px; font-weight: 800; letter-spacing: .01em;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
  }
  .pill.hot { color: #fff; border-color: rgba(255,107,0,.5); background: rgba(255,107,0,.14); }
  .pill.vip { color: #041016; background: linear-gradient(90deg, var(--cyan), #7af6ff); border: 0; }
  .pill.vip.on { background: linear-gradient(90deg, var(--pink), var(--orange)); color: white; }
  .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
  #main { flex: 1; min-height: 0; min-width: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  #main::-webkit-scrollbar { display: none; }
  .page { padding: 4px 0 18px; animation: rise .38s ease; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .block { padding: 0 16px; }
  .sec { margin: 16px 0 8px; }
  .sec .en { font-family: Outfit, sans-serif; font-size: 11px; letter-spacing: .16em; font-weight: 800; color: var(--cyan); }
  .sec h2 { margin: 2px 0 0; font-size: 20px; font-weight: 900; }
  .lead { margin: 6px 0 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.55; }
  .glass {
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 10px 30px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.16);
    backdrop-filter: blur(18px);
  }
  .press { transition: transform .12s ease, filter .12s ease; }
  .press:active { transform: scale(.975); filter: brightness(1.12); }
  .hscroll { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: 2px 16px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hscroll::-webkit-scrollbar { display: none; }
  .hcard { flex: 0 0 78%; scroll-snap-align: start; border-radius: 22px; padding: 10px; text-align: left; color: inherit; border: 1px solid rgba(255,255,255,.12); }
  .scene {
    position: relative; overflow: hidden; border-radius: 16px;
    background: linear-gradient(140deg, #182030, #0d1119);
  }
  .scene.sm { width: 74px; height: 74px; flex: none; border-radius: 16px; }
  .scene.md { height: 142px; }
  .scene.lg { height: 208px; }
  .scene img {
    width: 100%; height: 100%; display: block; object-fit: cover; border: 0;
    opacity: 0; transition: opacity .45s ease;
  }
  .scene img.on { opacity: 1; }
  .scene::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(11,14,20,.14) 0%, rgba(11,14,20,0) 38%, rgba(11,14,20,.55) 100%);
  }
  .credit {
    margin: 6px 0 0; font-size: 11px; line-height: 1.5; color: rgba(255,255,255,.5);
  }
  .credit a { color: rgba(255,255,255,.7); }
  .kicker { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 8px; }
  .score { font-family: Outfit, sans-serif; font-weight: 800; font-size: 28px; line-height: 1; background: linear-gradient(90deg, #fff, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .score small { font-size: 12px; letter-spacing: .08em; }
  .meta { color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.45; }
  .name { font-weight: 900; font-size: 16px; line-height: 1.35; margin: 6px 0 2px; }
  .tag {
    display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 7px;
    font-size: 10px; font-weight: 800; letter-spacing: .04em;
    background: rgba(0,210,255,.12); color: var(--cyan); border: 1px solid rgba(0,210,255,.3);
  }
  .tag.warn { color: #ffd0b0; background: rgba(255,107,0,.14); border-color: rgba(255,107,0,.4); }
  .tag.hot { color: #ffd0e4; background: rgba(255,0,122,.14); border-color: rgba(255,0,122,.4); }
  .rank {
    width: 100%; display: flex; gap: 10px; text-align: left; color: inherit;
    border-radius: 20px; padding: 10px; margin-bottom: 10px;
  }
  .heatline { display: block; height: 4px; border-radius: 99px; background: rgba(255,255,255,.08); margin-top: 8px; overflow: hidden; }
  .heatline span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--orange), var(--cyan)); }
  .feedhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
  .count {
    font-family: Outfit, sans-serif; font-weight: 800; font-size: 28px; color: white;
    min-width: 52px; text-align: center;
  }
  .count span { display: block; font-size: 10px; letter-spacing: .14em; color: var(--cyan); }
  .bar { height: 3px; border-radius: 99px; background: rgba(255,255,255,.1); margin: 8px 0 10px; overflow: hidden; }
  #feedBar { height: 100%; width: 100%; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, var(--pink), var(--orange), var(--cyan)); }
  .dots { display: flex; gap: 6px; }
  .dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: rgba(255,255,255,.28); padding: 0; }
  .dots button.on { width: 18px; background: var(--pink); }
  .radarbox {
    width: 72px; height: 72px; border-radius: 50%; position: relative; overflow: hidden; flex: none;
    border: 1px solid rgba(0,210,255,.45);
    background: radial-gradient(circle, rgba(0,210,255,.35), rgba(0,210,255,.02) 68%);
  }
  .radarbox::before, .radarbox::after {
    content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid rgba(0,210,255,.25);
  }
  .radarbox::after { inset: 0; border: 0; background: conic-gradient(from 0deg, transparent 0 72%, rgba(0,210,255,.75)); animation: spin 2.6s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .rowline { display: flex; gap: 10px; align-items: center; }
  .mapwrap { position: relative; border-radius: 24px; overflow: hidden; min-height: 430px; border: 1px solid rgba(0,210,255,.28); background: radial-gradient(circle at 50% 35%, #16324a, #0b121b 72%); }
  .mapwrap svg.map { width: 100%; height: 430px; display: block; }
  .pin {
    position: absolute; width: 36px; height: 36px; transform: translate(-50%, -50%);
    border: 0; background: transparent; padding: 0;
  }
  .pin .dot {
    display: block; width: 12px; height: 12px; margin: 12px; border-radius: 50%;
    background: var(--pink); box-shadow: 0 0 0 6px rgba(255,0,122,.22), 0 0 14px var(--pink);
  }
  .pin.open .dot { animation: ping 1.8s ease-out infinite; }
  .pin.dim { opacity: .38; }
  .pin.on .dot { background: var(--cyan); box-shadow: 0 0 0 7px rgba(0,210,255,.25), 0 0 16px var(--cyan); }
  @keyframes ping { 50% { box-shadow: 0 0 0 10px rgba(255,0,122,0), 0 0 14px var(--pink); } }
  .chip {
    flex: none; border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05); padding: 8px 12px; font-size: 13px; font-weight: 800;
  }
  .chip.on { background: linear-gradient(90deg, var(--pink), var(--orange)); border-color: transparent; color: white; }
  .choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .choice {
    text-align: left; border-radius: 18px; padding: 12px; min-height: 84px;
    border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: inherit;
  }
  .choice b { display: block; font-size: 15px; margin-bottom: 4px; }
  .choice span { color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.4; }
  .choice.on { border-color: transparent; background: linear-gradient(180deg, rgba(255,0,122,.28), rgba(255,107,0,.12)); box-shadow: inset 0 0 0 1px rgba(255,0,122,.7); }
  .steps { display: flex; gap: 6px; margin: 8px 0 12px; }
  .steps i { height: 4px; flex: 1; border-radius: 99px; background: rgba(255,255,255,.12); display: block; }
  .steps i.on { background: linear-gradient(90deg, var(--pink), var(--orange)); }
  .btns { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; margin-top: 12px; }
  .primary, .ghost {
    border-radius: 16px; padding: 14px 12px; font-weight: 800; border: 0;
  }
  .primary { color: white; background: linear-gradient(90deg, var(--pink), var(--orange)); box-shadow: 0 10px 24px rgba(255,0,122,.32); }
  .primary:disabled { opacity: .38; box-shadow: none; }
  .ghost { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); }
  .tl { margin: 8px 0 0 8px; display: grid; gap: 12px; }
  .stop { position: relative; padding: 0 0 0 16px; }
  .stop::before {
    content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%;
    background: var(--pink); box-shadow: 0 0 10px var(--pink);
  }
  .stop + .stop { box-shadow: inset 1px 0 0 rgba(0,210,255,.35); }
  .poll { border-radius: 18px; padding: 12px; margin-bottom: 10px; width: 100%; text-align: left; color: inherit; }
  .track { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 8px; }
  .track span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--pink)); }
  .composer, .postbox { display: flex; gap: 8px; align-items: flex-end; }
  .composer input, .postbox input, .postbox textarea, .field input, .field textarea {
    width: 100%; border-radius: 14px; border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05); padding: 12px; outline: none;
  }
  .composer input:focus, .postbox textarea:focus, .field input:focus, .field textarea:focus { border-color: rgba(0,210,255,.7); }
  .chatlog { max-height: 320px; overflow-y: auto; display: grid; gap: 8px; padding-bottom: 8px; }
  .bubble { max-width: 92%; padding: 10px 12px; border-radius: 16px; font-size: 14px; line-height: 1.55; }
  .bubble.ai { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
  .bubble.user { margin-left: auto; background: linear-gradient(180deg, rgba(255,0,122,.9), rgba(255,107,0,.88)); color: white; }
  .iconbtn {
    width: 46px; height: 46px; flex: none; border-radius: 14px; border: 0;
    background: linear-gradient(180deg, var(--cyan), #0096c7); color: #041018; font-weight: 900;
  }
  .thread { border-radius: 18px; padding: 12px; margin-bottom: 10px; }
  .who { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: rgba(255,255,255,.62); }
  .like { border: 0; background: transparent; color: white; font-weight: 800; }
  .like.on { color: var(--pink); }
  #dock {
    z-index: 25;
    background: rgba(8,10,16,.92);
    border-top: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
    padding-bottom: var(--sab);
  }
  .legal { display: flex; gap: 14px; overflow-x: auto; padding: 8px 14px 2px; scrollbar-width: none; }
  .legal::-webkit-scrollbar { display: none; }
  .legal button { flex: none; border: 0; background: transparent; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
  nav { display: grid; grid-template-columns: repeat(4, 1fr); }
  nav button {
    border: 0; background: transparent; color: rgba(255,255,255,.55);
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 8px 4px 10px; font-size: 11px; font-weight: 800;
  }
  nav button[aria-current="page"] { color: white; }
  nav button svg { width: 20px; height: 20px; }
  nav button[aria-current="page"] svg { color: var(--pink); }
  #overlay, #vip, #unlock { position: absolute; inset: 0; }
  #overlay { z-index: 40; display: flex; flex-direction: column; justify-content: flex-end; }
  #overlay .backdrop, #vip .backdrop, #unlock .veil {
    position: absolute; inset: 0; background: rgba(0,0,0,.58);
  }
  .sheet {
    position: relative; z-index: 2; max-height: min(78dvh, 680px); overflow: auto;
    border-radius: 24px 24px 0 0; padding: 8px 16px calc(16px + var(--sab));
    transform: translateY(105%);
    transition: transform .36s cubic-bezier(.2,.8,.2,1);
    background: rgba(14,18,28,.78);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 -20px 60px rgba(0,0,0,.45);
    backdrop-filter: blur(22px);
  }
  #overlay.show .sheet { transform: translateY(0); }
  #overlay .backdrop { opacity: 0; transition: opacity .3s; }
  #overlay.show .backdrop { opacity: 1; }
  .handle { width: 48px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.35); margin: 6px auto 10px; touch-action: none; }
  .sheet h3 { margin: 0 0 8px; font-size: 18px; }
  .prose p, .sheet p { color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.65; margin: 0 0 10px; overflow-wrap: anywhere; }
  .field { display: grid; gap: 6px; margin-bottom: 10px; }
  .field label { font-size: 12px; font-weight: 800; color: rgba(255,255,255,.7); }
  #vip { z-index: 80; display: flex; align-items: flex-end; justify-content: center; padding: 16px 16px calc(16px + var(--sab)); }
  #vip .backdrop { background: rgba(0,0,0,.62); backdrop-filter: blur(6px); }
  .modal {
    position: relative; z-index: 2; width: 100%; max-height: min(86dvh, 720px); overflow: auto;
    border-radius: 28px; padding: 22px 16px 16px;
    background:
      radial-gradient(400px 180px at 10% 0%, rgba(255,0,122,.35), transparent 60%),
      radial-gradient(300px 160px at 100% 20%, rgba(0,210,255,.28), transparent 55%),
      rgba(12,16,26,.92);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 0 0 1px rgba(255,0,122,.35), 0 24px 80px rgba(255,0,122,.28), 0 0 48px rgba(0,210,255,.18);
    animation: pop .42s cubic-bezier(.2,.8,.2,1);
  }
  @keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
  .x {
    position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.35); color: white; font-size: 20px;
  }
  .vip-kicker { font-family: Outfit, sans-serif; letter-spacing: .18em; font-size: 11px; font-weight: 800; color: var(--cyan); }
  .vipbar { height: 3px; border-radius: 99px; background: rgba(255,255,255,.14); overflow: hidden; margin: 10px 36px 0 0; }
  .vipbar i {
    display: block; height: 100%; transform-origin: left center;
    background: linear-gradient(90deg, var(--pink), var(--orange), var(--cyan));
    animation: drain 8s linear forwards;
  }
  @keyframes drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
  .modal h2 { margin: 8px 36px 8px 0; font-size: 22px; line-height: 1.35; }
  .ticket {
    margin: 12px 0; border-radius: 16px; padding: 14px;
    background: linear-gradient(120deg, var(--pink), var(--orange) 46%, var(--cyan));
    color: #14060d; display: flex; justify-content: space-between; align-items: center; gap: 8px;
    position: relative; overflow: hidden;
  }
  .ticket::before, .ticket::after {
    content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #121722; top: 50%; transform: translateY(-50%);
  }
  .ticket::before { left: -8px; } .ticket::after { right: -8px; }
  .ticket b { font-family: Outfit, sans-serif; font-size: 20px; letter-spacing: .08em; display: block; }
  .ticket small { font-weight: 800; }
  #unlock {
    z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px;
    transition: opacity .45s ease;
  }
  #unlock.off { opacity: 0; pointer-events: none; }
  .lockcard { position: relative; z-index: 2; text-align: center; width: min(100%, 340px); padding: 28px 18px; border-radius: 28px; }
  .scan {
    height: 3px; border-radius: 99px; margin: 16px 0;
    background: rgba(255,255,255,.12); overflow: hidden;
  }
  .scan i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, transparent, var(--cyan), white); animation: scan 1.15s ease-in-out infinite; }
  @keyframes scan { from { transform: translateX(-120%); } to { transform: translateX(320%); } }
  .toast {
    position: absolute; left: 50%; bottom: calc(96px + var(--sab)); transform: translateX(-50%) translateY(8px);
    max-width: 88%; z-index: 70; opacity: 0; pointer-events: none;
    background: rgba(10,14,22,.94); border: 1px solid rgba(0,210,255,.45);
    padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; text-align: center;
    transition: .25s ease;
  }
  .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
  .split { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
  :focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
  @media (max-height: 520px) {
    h1 { font-size: 1.25rem; margin-top: 6px; }
    .scene.lg { height: 140px; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }
