/* cardLAck platform — Apple-light UI with gold accent and dark feature strips */
:root {
  --bg: #f5f5f7;
  --panel: #ffffff;
  --panel-2: #fbfbfd;
  --ink: #1d1d1f;
  --ink-2: #3d3d3f;
  --ink-3: #6e6e73;
  --ink-4: #86868b;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .14);
  --gold: #f59e0b;
  --gold-ink: #b45309;
  --gold-soft: rgba(245, 158, 11, .12);
  --green: #1f9d55;
  --red: #d70015;
  --blue: #0071e3;
  --dark: #0b0b0c;
  --dark-2: #161618;
  --r: 12px;
  --r-lg: 20px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.12; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-3); }
.small { font-size: .82rem; }
.hidden { display: none !important; }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 980px; padding: 11px 20px; font-weight: 700; font-size: .9rem; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s, opacity .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #333336; }
.btn-gold { background: var(--gold); color: #111; box-shadow: 0 4px 14px rgba(245,158,11,.35); }
.btn-gold:hover { background: #fbbf24; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(0,0,0,.04); }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { padding: 7px 14px; font-size: .8rem; }
.btn-block { width: 100%; }
.link { color: var(--blue); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(245,245,247,.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 18px; height: 60px; }
.logo { font-weight: 900; font-size: 1.25rem; letter-spacing: -.04em; }
.logo b { color: var(--gold); }
.nav { display: flex; gap: 4px; margin-left: 10px; }
.nav a { padding: 7px 12px; border-radius: 980px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.nav a:hover, .nav a.on { background: rgba(0,0,0,.05); color: var(--ink); }
.hdr-search { flex: 1; max-width: 340px; margin-left: auto; position: relative; }
.hdr-search input { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 980px; padding: 9px 14px 9px 36px; font-size: .88rem; outline: none; }
.hdr-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.hdr-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-4); }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: rgba(0,0,0,.05); }
.badge-count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #111; font-size: .68rem; font-weight: 800; display: grid; place-items: center; }
.menu-btn { display: none; }
.ref-bar { background: var(--dark); color: #fff; font-size: .8rem; text-align: center; padding: 7px 12px; }
.ref-bar b { color: var(--gold); }
@media (max-width: 900px) {
  .nav, .hdr-search { display: none; }
  .menu-btn { display: grid; }
  .nav.open { display: flex; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); margin: 0; }
  .nav.open a { padding: 12px; }
  .hdr-actions { margin-left: auto; }
}

/* Hero (dark strip) */
.hero { background: radial-gradient(1200px 500px at 80% -10%, rgba(245,158,11,.22), transparent 60%), var(--dark); color: #fff; padding: 84px 0 76px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { color: rgba(255,255,255,.7); font-size: 1.08rem; margin: 18px 0 28px; max-width: 520px; }
.hero .eyebrow { color: var(--gold); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-cards { position: relative; height: 360px; }
.hero-cards .card { position: absolute; width: 190px; border-radius: 16px; overflow: hidden; background: var(--dark-2); box-shadow: 0 30px 60px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.08); }
.hero-cards .card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.hero-cards .card:nth-child(1) { left: 0; top: 40px; transform: rotate(-8deg); }
.hero-cards .card:nth-child(2) { left: 30%; top: 0; z-index: 2; }
.hero-cards .card:nth-child(3) { right: 0; top: 50px; transform: rotate(8deg); }
.hero-cards .card .cap { padding: 10px 12px; font-size: .78rem; font-weight: 700; color: #fff; }
.hero-cards .card .cap span { display: block; color: var(--gold); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-cards { display: none; } .hero { padding: 56px 0; } }

/* Sections */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.strip-dark { background: var(--dark); color: #fff; }
.strip-dark .muted { color: rgba(255,255,255,.6); }

/* Chips & filters */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line-2); background: #fff; border-radius: 980px; padding: 7px 14px; font-size: .82rem; font-weight: 600; cursor: pointer; }
.chip.on, .chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar .grow { flex: 1; }
.input, .select, .textarea { width: 100%; border: 1px solid var(--line-2); background: #fff; border-radius: 10px; padding: 10px 12px; outline: none; font-size: .92rem; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.textarea { min-height: 120px; resize: vertical; }
.select { width: auto; }
label.lbl { display: block; font-size: .74rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 6px; }
.field { margin-bottom: 14px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }

/* Product grid & cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.pcard { background: var(--panel); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pcard-img { position: relative; aspect-ratio: 1; background: linear-gradient(145deg, #eceef1, #f8f8fa); display: grid; place-items: center; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.pcard-img .ph { font-size: 3rem; }
.pcard-tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.tag { font-size: .64rem; font-weight: 800; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); text-transform: uppercase; }
.tag-gold { background: var(--gold); color: #111; }
.tag-dark { background: var(--ink); color: #fff; }
.tag-green { background: #e8f7ee; color: var(--green); }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-meta { font-size: .74rem; color: var(--ink-4); font-weight: 600; }
.pcard-title { font-weight: 700; font-size: .95rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.price { font-weight: 800; font-size: 1.05rem; }
.price s { color: var(--ink-4); font-weight: 500; font-size: .82rem; margin-left: 4px; }
.note-quote { font-size: .8rem; color: var(--ink-2); background: var(--gold-soft); border-radius: 8px; padding: 6px 9px; }
.load-more { display: flex; justify-content: center; margin-top: 28px; }
.skeleton { background: linear-gradient(90deg, #ececef 25%, #f6f6f8 37%, #ececef 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; border-radius: var(--r-lg); }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.empty { text-align: center; color: var(--ink-3); padding: 60px 10px; }
.empty-page { padding: 100px 20px; text-align: center; }
.empty-page h1 { font-size: 2rem; margin-bottom: 10px; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; padding: 36px 0 70px; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 24px; } }
.gallery-main { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: 0 0 64px; height: 64px; border-radius: 10px; border: 2px solid transparent; background: #fff; padding: 4px; cursor: pointer; }
.thumbs button.on { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: 6px 0 10px; }
.pdp .price { font-size: 1.7rem; }
.specs { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); margin: 22px 0; overflow: hidden; }
.specs h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); padding: 14px 18px 4px; }
.specs dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.specs div { padding: 11px 18px; border-top: 1px solid var(--line); }
.specs dt { font-size: .72rem; color: var(--ink-4); font-weight: 600; }
.specs dd { margin: 2px 0 0; font-weight: 700; font-size: .92rem; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.buy-row .btn { flex: 1; min-width: 160px; padding: 14px 20px; font-size: .95rem; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.trust div { background: #fff; border-radius: 12px; padding: 12px; font-size: .76rem; color: var(--ink-3); box-shadow: var(--shadow); }
.trust b { display: block; color: var(--ink); font-size: .82rem; }
.desc { color: var(--ink-2); margin-top: 18px; }
.desc p { margin: 0 0 10px; }
.share-box { margin-top: 18px; background: var(--dark); color: #fff; border-radius: var(--r-lg); padding: 16px 18px; }
.share-box .input { background: #1c1c1e; border-color: #333; color: #fff; }

/* Store page */
.store-hero { background: var(--dark); color: #fff; padding: 48px 0 40px; }
.store-id { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), #b45309); display: grid; place-items: center; font-weight: 900; font-size: 2rem; color: #111; overflow: hidden; flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.store-id h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; }
.store-id p { color: rgba(255,255,255,.7); margin-top: 6px; max-width: 640px; }
.socials { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.socials a { font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 980px; background: rgba(255,255,255,.1); }
.ai-pill { display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .06em; background: var(--gold); color: #111; border-radius: 6px; padding: 2px 7px; vertical-align: middle; margin-left: 8px; }

/* Panels / dashboard */
.panel { background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; }
.panel h3 { font-size: 1rem; font-weight: 800; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--panel); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em; }
.stat span { font-size: .74rem; color: var(--ink-4); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.dash { display: grid; grid-template-columns: 220px 1fr; gap: 22px; padding: 30px 0 70px; }
@media (max-width: 860px) { .dash { grid-template-columns: 1fr; } }
.side { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 80px; align-self: start; }
@media (max-width: 860px) { .side { position: static; flex-direction: row; overflow-x: auto; } }
.side button { text-align: left; border: 0; background: transparent; padding: 10px 14px; border-radius: 10px; font-weight: 600; cursor: pointer; color: var(--ink-2); white-space: nowrap; }
.side button.on, .side button:hover { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.tbl { width: 100%; border-collapse: collapse; font-size: .86rem; }
.tbl th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-4); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl-wrap { overflow-x: auto; }
.status { display: inline-block; font-size: .7rem; font-weight: 800; padding: 3px 9px; border-radius: 980px; text-transform: uppercase; letter-spacing: .04em; background: #eee; }
.status.approved, .status.published, .status.paid { background: #e8f7ee; color: var(--green); }
.status.pending, .status.draft, .status.unpaid { background: var(--gold-soft); color: var(--gold-ink); }
.status.suspended, .status.failed, .status.rejected, .status.void { background: #fde8ea; color: var(--red); }
.status.manual { background: #e8f0fe; color: var(--blue); }
.post { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.post:first-child { border-top: 0; }
.post img { width: 96px; height: 96px; object-fit: contain; background: #f2f2f4; border-radius: 10px; }
.post .textarea { min-height: 110px; font-size: .86rem; }
.post-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.plat { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.plat.instagram { color: #c13584; } .plat.facebook { color: #1877f2; } .plat.tiktok { color: #111; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; margin-right: 12px; cursor: pointer; }
.check input { accent-color: var(--gold); }
.copybox { display: flex; gap: 8px; }
.copybox .input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; }
.notice { border-radius: 12px; padding: 12px 14px; font-size: .86rem; margin-bottom: 14px; background: var(--gold-soft); color: var(--gold-ink); }
.notice.ok { background: #e8f7ee; color: var(--green); }
.notice.err { background: #fde8ea; color: var(--red); }
.integr { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.integr div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .84rem; display: flex; justify-content: space-between; }

/* Auth */
.auth { max-width: 460px; margin: 40px auto 80px; }
.tabs { display: flex; background: rgba(0,0,0,.05); border-radius: 980px; padding: 4px; margin-bottom: 18px; }
.tabs button { flex: 1; border: 0; background: transparent; border-radius: 980px; padding: 9px; font-weight: 700; cursor: pointer; color: var(--ink-3); }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

/* Steps / features */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step { background: var(--panel); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); }
.strip-dark .step { background: var(--dark-2); box-shadow: none; border: 1px solid rgba(255,255,255,.08); }
.step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #111; display: grid; place-items: center; font-weight: 900; margin-bottom: 12px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: .88rem; color: var(--ink-3); }
.strip-dark .step p { color: rgba(255,255,255,.6); }

/* Cart drawer */
.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 90; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 100; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer.open { transform: none; } .drawer.open + .drawer-bg, .drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { padding: 16px 20px 22px; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 64px; height: 64px; object-fit: contain; background: #f2f2f4; border-radius: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 980px; margin-top: 6px; }
.qty button { border: 0; background: transparent; width: 28px; height: 28px; cursor: pointer; }
.qty span { min-width: 22px; text-align: center; font-size: .84rem; font-weight: 700; }
.totals { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.05rem; margin-bottom: 12px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 980px; font-size: .88rem; font-weight: 600; opacity: 0; transition: all .2s; z-index: 200; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* Footer */
.ftr { border-top: 1px solid var(--line); padding: 40px 0 50px; margin-top: 40px; font-size: .84rem; color: var(--ink-3); }
.ftr-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 20px; }
.ftr h4 { color: var(--ink); font-size: .8rem; margin: 0 0 10px; }
.ftr a { display: block; padding: 3px 0; }
.ftr a:hover { color: var(--ink); }
@media (max-width: 700px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }

/* ── CLT / community / market ── */
.nav-dd { position: relative; display: inline-flex; }
.nav-menu { position: absolute; top: 100%; left: -10px; min-width: 190px; background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.14); padding: 6px; display: none; flex-direction: column; z-index: 60; }
.nav-menu a { padding: 9px 12px; border-radius: 8px; font-size: .88rem; white-space: nowrap; color: var(--ink) !important; }
.nav-menu a:hover { background: rgba(0,0,0,.05); }
.nav-dd:hover .nav-menu, .nav-dd:focus-within .nav-menu { display: flex; }
@media (max-width: 860px) { .nav-menu { display: none !important; } }
.side-link { padding: 10px 14px; border-radius: 10px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.side-link:hover { background: #fff; box-shadow: var(--shadow); }
.tabs { overflow-x: auto; }
.tabs button { white-space: nowrap; }
.feed { display: flex; flex-direction: column; gap: 12px; }
.post-card { display: grid; grid-template-columns: 1fr; background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; color: inherit; transition: transform .15s; }
.post-card:hover { transform: translateY(-2px); }
.post-card:has(img) { grid-template-columns: 160px 1fr; }
.post-card img { width: 100%; height: 100%; min-height: 130px; object-fit: cover; background: #f2f2f4; }
.post-card-body { padding: 16px 18px; }
.post-card h3 { font-size: 1.08rem; margin: 4px 0 6px; }
@media (max-width: 560px) { .post-card:has(img) { grid-template-columns: 1fr; } .post-card img { max-height: 200px; } }
.md { line-height: 1.65; overflow-wrap: anywhere; }
.md p, .md ul, .md blockquote { margin: 0 0 12px; }
.md ul { padding-left: 22px; }
.md h2, .md h3, .md h4 { margin: 18px 0 8px; }
.md blockquote { border-left: 3px solid var(--gold); padding: 4px 12px; color: var(--ink-3); }
.md code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 5px; font-size: .9em; }
.md-img { max-width: 100%; border-radius: 10px; }
.comment { padding: 12px 0; border-top: 1px solid var(--line); }
.comment .md p { margin-bottom: 4px; }
.tag-gold { background: var(--gold); color: #111; }

/* ── CLT exchange view ── */
.clt-x { background: #08080a; color: #fff; padding-bottom: 28px; }
.clt-x a { color: #f59e0b; }
.clt-coin { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #fbbf24, #d97706); color: #111; display: grid; place-items: center; font-weight: 900; box-shadow: 0 0 18px rgba(245,158,11,.35); flex-shrink: 0; }
.clt-coin.sm { width: 30px; height: 30px; font-size: .8rem; }
.wallet-bar { border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(14,14,16,.9); }
.wb-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.wb-bal { display: flex; gap: 14px; align-items: center; }
.wb-num { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; }
.wb-num span { font-size: .85rem; color: rgba(255,255,255,.5); }
.wb-sub { font-size: .78rem; color: rgba(255,255,255,.45); margin-top: 2px; }
.wb-act { display: flex; gap: 8px; }
.xbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85) !important; font: inherit; font-size: .84rem; font-weight: 700; padding: 9px 18px; border-radius: 980px; cursor: pointer; transition: background .15s, filter .15s; }
.xbtn:hover { background: rgba(255,255,255,.14); }
.xbtn.gold { background: linear-gradient(135deg, #fbbf24, #d97706); color: #111 !important; border-color: transparent; box-shadow: 0 4px 18px rgba(245,158,11,.25); }
.xbtn.gold:hover { filter: brightness(1.08); }
.xbtn.block { width: 100%; padding: 14px; font-size: .95rem; border-radius: 14px; margin-top: 14px; }
.xbtn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.ticker { border-bottom: 1px solid rgba(255,255,255,.06); background: #0c0c0e; }
.tk-in { display: flex; gap: 30px; align-items: center; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
.tk-in::-webkit-scrollbar { display: none; }
.tk-tok { display: flex; gap: 10px; align-items: center; flex-shrink: 0; padding-right: 26px; border-right: 1px solid rgba(255,255,255,.08); }
.tk-tok b { display: block; font-size: .86rem; } .tk-tok span { font-size: .72rem; color: rgba(255,255,255,.45); }
.tk { flex-shrink: 0; display: flex; flex-direction: column; gap: 1px; }
.tk span { font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.38); }
.tk b { font-size: .95rem; font-variant-numeric: tabular-nums; }
.tk i { font-style: normal; font-size: .7rem; color: rgba(255,255,255,.4); }
.clt-x .up { color: #22c55e !important; } .clt-x .down { color: #ef4444 !important; }
.x-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; padding-top: 20px; }
.x-card { background: #111114; border: 1px solid rgba(255,255,255,.07); border-radius: 18px; padding: 18px; min-width: 0; }
.x-chart { display: flex; flex-direction: column; }
.x-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; background: rgba(255,255,255,.05); border-radius: 10px; padding: 3px; }
.seg button { border: 0; background: transparent; color: rgba(255,255,255,.5); font: inherit; font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.seg button.on { background: rgba(255,255,255,.12); color: #fff; }
.seg.full { display: flex; margin-bottom: 16px; } .seg.full button { flex: 1; padding: 9px; font-size: .88rem; }
.seg.full button[data-s="buy"].on { background: rgba(34,197,94,.18); color: #4ade80; }
.seg.full button[data-s="sell"].on { background: rgba(239,68,68,.18); color: #f87171; }
.x-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .72rem; color: rgba(255,255,255,.5); margin: 12px 0 4px; min-height: 18px; }
.x-legend i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.x-plot { position: relative; height: 300px; flex: 1; min-height: 260px; }
.x-plot svg { display: block; overflow: visible; }
.x-plot .g { stroke: rgba(255,255,255,.07); stroke-dasharray: 3 4; }
.x-plot .ax { fill: rgba(255,255,255,.35); font-size: 10.5px; font-family: inherit; }
.x-plot .cross { stroke: rgba(255,255,255,.3); stroke-dasharray: 2 3; }
.x-plot .pulse { animation: xpulse 1.8s ease-in-out infinite; }
@keyframes xpulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
.x-tip { position: absolute; top: 8px; display: none; background: rgba(24,24,28,.96); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 9px 11px; font-size: .74rem; min-width: 160px; pointer-events: none; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.x-tip b { display: block; margin-bottom: 4px; } .x-tip div { display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.55); } .x-tip span { color: #fff; font-variant-numeric: tabular-nums; }
.x-empty { color: rgba(255,255,255,.4); font-size: .85rem; text-align: center; padding: 60px 10px; }
.x-empty.sm { padding: 18px 6px; } .x-empty.over { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; pointer-events: none; }
.x-lbl { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .06em; margin: 4px 0 8px; display: flex; justify-content: space-between; }
.x-avail { text-transform: none; letter-spacing: 0; font-weight: 600; color: rgba(255,255,255,.6); }
.tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-bottom: 14px; }
.tier { background: rgba(255,255,255,.04); border: 1.5px solid rgba(255,255,255,.09); border-radius: 12px; padding: 10px 6px; color: #fff; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.tier b { font-size: 1.05rem; color: #fbbf24; } .tier span { font-size: .74rem; color: rgba(255,255,255,.55); }
.tier.on, .tier:hover { border-color: #f59e0b; background: rgba(245,158,11,.08); }
.qty, .amt { display: flex; align-items: center; background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.1); border-radius: 12px; overflow: hidden; }
.qty button { width: 44px; height: 42px; border: 0; background: transparent; color: #fff; font-size: 1.1rem; cursor: pointer; }
.qty input, .amt input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: inherit; font-size: 1rem; font-weight: 700; text-align: center; padding: 10px; outline: none; }
.amt input { text-align: left; } .amt span { padding: 0 14px; color: rgba(255,255,255,.5); font-weight: 700; font-size: .85rem; }
.pcts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.pcts button { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.7); font: inherit; font-size: .76rem; font-weight: 700; padding: 6px; border-radius: 8px; cursor: pointer; }
.pcts button:hover { border-color: #f59e0b; color: #fbbf24; }
.x-sum { margin-top: 14px; border-top: 1px solid rgba(255,255,255,.07); padding-top: 12px; display: grid; gap: 8px; }
.x-sum div { display: flex; justify-content: space-between; font-size: .84rem; } .x-sum span { color: rgba(255,255,255,.45); } .x-sum b { font-variant-numeric: tabular-nums; }
.x-note { font-size: .74rem; color: rgba(255,255,255,.4); margin-top: 12px; line-height: 1.5; }
.x-ok { margin-top: 12px; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: #86efac; border-radius: 12px; padding: 10px 12px; font-size: .82rem; }
.x-title { font-weight: 800; margin-bottom: 10px; display: flex; justify-content: space-between; font-size: .95rem; } .x-title a { font-size: .78rem; font-weight: 600; }
.tape { display: flex; flex-direction: column; }
.trow { display: grid; grid-template-columns: 54px 1fr auto 62px; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.05); font-size: .8rem; color: #fff !important; }
.trow:first-child { border-top: 0; }
.trow .tdesc { color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow b { font-variant-numeric: tabular-nums; } .trow time { color: rgba(255,255,255,.35); font-size: .72rem; text-align: right; }
.pill { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 0; border-radius: 6px; text-align: center; background: rgba(255,255,255,.08); }
.pill.up { background: rgba(34,197,94,.14); color: #4ade80; } .pill.down { background: rgba(239,68,68,.14); color: #f87171; } .pill.gold { background: rgba(245,158,11,.14); color: #fbbf24; }
@media (max-width: 900px) { .x-grid { grid-template-columns: 1fr; } .x-plot { height: 240px; min-height: 220px; } }
@media (max-width: 520px) { .wb-act { width: 100%; } .wb-act .xbtn { flex: 1; } .trow { grid-template-columns: 50px 1fr auto; } .trow time { display: none; } }

/* ── Promo events: banner + popup ── */
.ev-banner { --a: #f59e0b; --b: #d97706; --fg: #111; background: linear-gradient(90deg, var(--a), var(--b)); color: var(--fg); font-size: .86rem; position: relative; z-index: 40; }
.ev-banner.theme-dark { --a: #111114; --b: #26262b; --fg: #fbbf24; } .ev-banner.theme-red { --a: #dc2626; --b: #9f1239; --fg: #fff; } .ev-banner.theme-blue { --a: #2563eb; --b: #4f46e5; --fg: #fff; }
.ev-banner-in { display: flex; align-items: center; gap: 12px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.ev-banner-in b { flex: 1; min-width: 180px; }
.ev-banner a { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ev-banner button { background: none; border: 0; color: inherit; opacity: .6; cursor: pointer; font-size: .9rem; }
.ev-bt { font-variant-numeric: tabular-nums; font-weight: 700; background: rgba(0,0,0,.14); padding: 2px 9px; border-radius: 980px; font-size: .78rem; }
.ev-dot, .live-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; animation: xpulse 1.4s ease-in-out infinite; flex-shrink: 0; }
.live-dot { background: #ef4444; box-shadow: 0 0 0 0 rgba(239,68,68,.6); animation: livering 1.6s infinite; }
@keyframes livering { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,.55) } 70% { box-shadow: 0 0 0 8px rgba(239,68,68,0) } 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0) } }
@keyframes xpulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
.ev-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .25s; }
.ev-overlay.open { opacity: 1; }
.ev-modal { --a: #fbbf24; --b: #d97706; position: relative; width: 100%; max-width: 420px; background: #0e0e10; color: #fff; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: translateY(16px) scale(.96); transition: transform .3s cubic-bezier(.2,.8,.3,1.2); }
.ev-overlay.open .ev-modal { transform: none; }
.ev-modal.theme-red { --a: #f87171; --b: #dc2626; } .ev-modal.theme-blue { --a: #60a5fa; --b: #4f46e5; } .ev-modal.theme-dark { --a: #fbbf24; --b: #92400e; }
.ev-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; cursor: pointer; }
.ev-burst { height: 170px; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--a) 45%, transparent), transparent 62%), repeating-conic-gradient(from 0deg at 50% 60%, rgba(255,255,255,.06) 0 8deg, transparent 8deg 20deg), #141417; }
.ev-coin { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 2.2rem; color: #111; background: linear-gradient(135deg, var(--a, #fbbf24), var(--b, #d97706)); box-shadow: 0 0 40px color-mix(in srgb, var(--a, #fbbf24) 60%, transparent), inset 0 -6px 0 rgba(0,0,0,.18); animation: coinspin 3.2s ease-in-out infinite; }
.ev-coin.sm { width: 42px; height: 42px; font-size: 1rem; animation: none; box-shadow: 0 0 14px rgba(245,158,11,.35); flex-shrink: 0; }
@keyframes coinspin { 0%,100% { transform: rotateY(0) translateY(0) } 50% { transform: rotateY(180deg) translateY(-6px) } }
.ev-img { width: 100%; height: 190px; object-fit: cover; display: block; }
.ev-body { padding: 22px 24px 24px; text-align: center; }
.ev-big { font-size: 2.4rem; font-weight: 900; letter-spacing: -.04em; background: linear-gradient(135deg, var(--a), var(--b)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.ev-body h3 { font-size: 1.2rem; margin: 6px 0 8px; } .ev-body p { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.55; }
.ev-meta { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ev-meta span { background: rgba(255,255,255,.07); border-radius: 980px; padding: 5px 12px; font-size: .78rem; font-weight: 700; }
.ev-timer { font-variant-numeric: tabular-nums; }
.ev-cta { display: block; margin-top: 18px; padding: 14px; border-radius: 14px; font-weight: 800; color: #111 !important; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 6px 24px color-mix(in srgb, var(--a) 35%, transparent); }
.ev-cta:hover { filter: brightness(1.08); }
.ev-fine { font-size: .7rem; color: rgba(255,255,255,.38); margin-top: 10px; }
.signup-offer { display: flex; gap: 12px; align-items: center; background: linear-gradient(135deg, #111114, #2a1d05); color: #fff; border-radius: 14px; padding: 12px 14px; margin-bottom: 16px; }
.signup-offer b { display: block; color: #fbbf24; } .signup-offer small { color: rgba(255,255,255,.6); font-size: .76rem; }

/* ── Live Top 5 popup ── */
.live-fab { position: fixed; left: 18px; bottom: 18px; z-index: 900; display: inline-flex; align-items: center; gap: 8px; background: #0e0e10; color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 980px; padding: 10px 16px; font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .04em; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s, opacity .2s; }
.live-fab b { color: #fbbf24; letter-spacing: 0; } .live-fab:hover { transform: translateY(-2px); } .live-fab.hide { opacity: 0; pointer-events: none; transform: translateY(10px); }
.live-pop { position: fixed; left: 18px; bottom: 18px; z-index: 950; width: 380px; max-width: calc(100vw - 36px); max-height: min(620px, calc(100vh - 100px)); display: flex; flex-direction: column; background: #0e0e10; color: #fff; border-radius: 22px; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 70px rgba(0,0,0,.45); opacity: 0; transform: translateY(20px) scale(.97); transform-origin: bottom left; pointer-events: none; transition: opacity .22s, transform .28s cubic-bezier(.2,.8,.3,1.15); }
.live-pop.open { opacity: 1; transform: none; pointer-events: auto; }
.lp-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 10px; }
.lp-head > div { display: flex; align-items: center; gap: 8px; } .lp-head small { color: rgba(255,255,255,.4); font-size: .72rem; margin-left: 4px; }
.lp-x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.lp-tabs { display: flex; gap: 4px; margin: 0 12px; background: rgba(255,255,255,.05); border-radius: 12px; padding: 3px; }
.lp-tabs button { flex: 1; border: 0; background: transparent; color: rgba(255,255,255,.55); font: inherit; font-size: .8rem; font-weight: 700; padding: 8px 4px; border-radius: 9px; cursor: pointer; }
.lp-tabs button.on { background: rgba(255,255,255,.12); color: #fff; }
.lp-list { overflow-y: auto; padding: 8px 8px 4px; }
.lp-row { display: grid; grid-template-columns: 26px 46px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; color: #fff !important; animation: lpin .35s both; }
.lp-row:nth-child(2) { animation-delay: .04s } .lp-row:nth-child(3) { animation-delay: .08s } .lp-row:nth-child(4) { animation-delay: .12s } .lp-row:nth-child(5) { animation-delay: .16s }
@keyframes lpin { from { opacity: 0; transform: translateX(-8px) } to { opacity: 1; transform: none } }
.lp-row:hover { background: rgba(255,255,255,.06); }
.lp-row img, .lp-row .ph { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; background: #1c1c20; display: grid; place-items: center; }
.rk { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 900; font-size: .8rem; background: rgba(255,255,255,.07); color: rgba(255,255,255,.6); }
.rk.r1 { background: linear-gradient(135deg, #fde68a, #d97706); color: #111; } .rk.r2 { background: linear-gradient(135deg, #f1f5f9, #94a3b8); color: #111; } .rk.r3 { background: linear-gradient(135deg, #fdba74, #9a3412); color: #fff; }
.lp-t { min-width: 0; } .lp-t b { display: block; font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-t small { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; color: rgba(255,255,255,.5); font-size: .72rem; margin-top: 2px; }
.lp-v { text-align: right; font-weight: 800; font-size: .84rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-v small { display: block; font-size: .66rem; color: rgba(255,255,255,.45); font-weight: 600; } .lp-v .rs { color: #fbbf24; }
.mv { display: block; font-style: normal; font-size: .62rem; font-weight: 800; } .mv.up { color: #4ade80; } .mv.down { color: #f87171; } .mv.new { color: #fbbf24; }
.live-pop .up { color: #4ade80; } .live-pop .down { color: #f87171; }
.chip-r { background: rgba(245,158,11,.14); color: #fbbf24; border-radius: 6px; padding: 1px 6px; font-weight: 700; }
.st { border-radius: 6px; padding: 1px 6px; font-weight: 700; } .st.sold { background: rgba(34,197,94,.15); color: #4ade80; } .st.esc { background: rgba(245,158,11,.15); color: #fbbf24; } .st.listed { background: rgba(255,255,255,.1); color: #fff; }
.lp-empty { color: rgba(255,255,255,.45); text-align: center; padding: 28px 10px; font-size: .85rem; } .lp-empty a { color: #fbbf24; }
.lp-skel { height: 58px; margin: 6px 4px; border-radius: 12px; background: linear-gradient(90deg, #17171a, #222227, #17171a); background-size: 200% 100%; animation: skel 1.2s infinite linear; }
@keyframes skel { to { background-position: -200% 0 } }
.lp-foot { display: block; text-align: center; padding: 12px; border-top: 1px solid rgba(255,255,255,.07); color: #fbbf24 !important; font-weight: 700; font-size: .82rem; }
@media (max-width: 560px) {
  .live-fab { left: 12px; bottom: 12px; }
  .live-pop { left: 0; right: 0; bottom: 0; width: 100%; max-width: 100%; border-radius: 22px 22px 0 0; max-height: 78vh; transform-origin: bottom center; }
}

/* ── Newsroom, briefing sign-up, card news, Discover ── */
.seg.lt { background: #ececf0; } .seg.lt button { color: var(--ink-3); } .seg.lt button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.tiny { font-size: .74rem; } .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.chip-sm { padding: 5px 11px; font-size: .76rem; }
.news-hero { padding-bottom: 18px; } .news-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.news-h1 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); line-height: 1.15; letter-spacing: -.02em; margin: 6px 0 8px; font-family: Inter, 'Noto Sans KR', sans-serif; }
.news-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.news-side { position: sticky; top: 84px; display: grid; gap: 16px; } .news-side .panel { margin: 0; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } .news-side { position: static; } }
.art-list { display: grid; gap: 14px; }
.art-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; background: var(--panel); border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow); transition: transform .15s; }
.art-card:hover { transform: translateY(-2px); }
.art-card h3 { margin: 4px 0 6px; font-size: 1.08rem; line-height: 1.35; font-family: Inter, 'Noto Sans KR', sans-serif; }
.art-thumb { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; display: grid; place-items: center; font-size: 2.6rem; background: #FFF6EC; }
.art-thumb img { width: 100%; height: 100%; object-fit: cover; }
.art-thumb.theme-night { background: #141519; } .art-thumb.theme-retro { background: #241A55; } .art-thumb.theme-gold { background: #F7E9C3; }
.art-list.compact .art-card { grid-template-columns: 120px minmax(0, 1fr); }
@media (max-width: 560px) { .art-card, .art-list.compact .art-card { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; } .art-card p { display: none; } }
.trend-list { display: grid; gap: 2px; }
.trend { display: flex; gap: 10px; align-items: flex-start; padding: 9px 4px; border-top: 1px solid var(--line); font-size: .88rem; line-height: 1.4; }
.trend:first-child { border-top: 0; } .trend b { font-weight: 600; display: block; } .trend .tiny { display: block; margin-top: 2px; }
.trend-flag { flex: none; } .trend:hover b { text-decoration: underline; }
.strip-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.strip-grid .panel { margin: 0; }
@media (max-width: 860px) { .strip-grid { grid-template-columns: 1fr; } }
.news-strip { margin-bottom: 18px; } .news-strip .wrap { padding: 0; }
.art { max-width: 820px; padding: 28px 20px 70px; }
.art-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.art-title { font-size: clamp(1.7rem, 4.6vw, 2.5rem); line-height: 1.2; letter-spacing: -.02em; margin: 10px 0 12px; font-family: Inter, 'Noto Sans KR', sans-serif; }
.art-lede { font-size: 1.12rem; color: var(--ink-2); margin: 0 0 18px; }
.art-cover { width: 100%; border-radius: 18px; margin: 6px 0 20px; }
.art-body { font-size: 1.04rem; line-height: 1.8; font-family: Inter, 'Noto Sans KR', sans-serif; }
.art-body h2, .art-body h3 { margin: 1.6em 0 .5em; line-height: 1.3; }
.art-body hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.art-sources ol { margin: 8px 0 0; padding-left: 20px; font-size: .9rem; } .art-sources li { margin: 4px 0; }
.art-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.cn-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .cn-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cn { margin: 0; } .cn canvas { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); display: block; }
.cn figcaption { margin-top: 6px; } .cn figcaption button { border: 0; background: none; padding: 0; cursor: pointer; }
.cn-cap pre { white-space: pre-wrap; font: inherit; font-size: .88rem; background: var(--panel-2); padding: 12px; border-radius: 12px; }
.nl h3 { margin: 0; font-size: 1.08rem; } .nl-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; } .nl-ico { font-size: 1.9rem; line-height: 1; }
.nl-form .field { display: block; margin-bottom: 10px; } .nl-form .field > span { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 4px; }
.nl-opts { display: grid; gap: 6px; margin: 4px 0 12px; } .nl-wa { display: flex; align-items: flex-start; margin: 0 0 12px; line-height: 1.4; }
.nl-row { display: flex; gap: 8px; } .nl-row .btn { flex: 1; } .nl-out { margin-top: 10px; } .nl-out .notice { margin: 0; }
.disc-hero { padding-bottom: 12px; }
.disc-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.disc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.cr-card, .wk-card { background: var(--panel); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s; }
.cr-card:hover { transform: translateY(-2px); }
.cr-cover { aspect-ratio: 16/10; background: linear-gradient(135deg, #FFF6EC, #F3E8FF); display: grid; place-items: center; font-size: 2.4rem; position: relative; }
.cr-cover img, .wk-card > img { width: 100%; height: 100%; object-fit: cover; } .wk-card > img { aspect-ratio: 1; }
.wk-ph { aspect-ratio: 1; display: grid; place-items: center; font-size: 3rem; background: var(--panel-2); }
.cr-badge { position: absolute; top: 10px; left: 10px; } .cr-nft { position: absolute; top: 10px; right: 10px; background: #fff; }
.cr-body { padding: 12px 14px 14px; display: grid; gap: 6px; }
.cr-id { display: flex; gap: 10px; align-items: center; }
.avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--gold-soft); color: var(--gold-ink); display: inline-grid; place-items: center; font-weight: 800; flex: none; }
.avatar.lg { width: 72px; height: 72px; font-size: 1.6rem; }
.cr-hero { margin-top: 12px; border-radius: 22px; overflow: hidden; max-height: 320px; background: linear-gradient(135deg, #FFF6EC, #F3E8FF); min-height: 90px; }
.cr-hero img { width: 100%; max-height: 320px; object-fit: cover; }
.cr-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-top: -36px; padding: 0 14px; }
.cr-head .avatar.lg { border: 4px solid var(--bg); }
button.link { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: var(--blue); }
.nlp-bg { position: fixed; right: 20px; bottom: 20px; z-index: 1000; pointer-events: none; }
.nlp { pointer-events: auto; position: relative; width: 380px; max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 22px; box-shadow: 0 18px 60px rgba(0,0,0,.22); animation: nlpIn .28s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 560px) { .nlp-bg { left: 0; right: 0; bottom: 0; } .nlp { width: 100%; border-radius: 22px 22px 0 0; max-height: 82vh; } }
.nl-fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; border: 0; cursor: pointer; background: var(--ink); color: #fff; font: 700 .86rem/1 Inter, 'Noto Sans KR', sans-serif; padding: 13px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.25); display: inline-flex; gap: 8px; align-items: center; animation: nlpIn .3s ease; }
.nl-fab:hover { transform: translateY(-2px); } .nl-fab b { color: var(--gold); }
.nlp-hero { display: flex; gap: 14px; padding: 26px 24px 18px; background: linear-gradient(135deg, #FFF6EC, #FDE7C8); }
.nlp-hero span { font-size: 2.4rem; line-height: 1; } .nlp-hero b { font-size: 1.15rem; display: block; line-height: 1.35; font-family: Inter, 'Noto Sans KR', sans-serif; } .nlp-hero p { margin: 6px 0 0; font-size: .88rem; color: var(--ink-2); }
.nlp-body { padding: 16px 24px 4px; } .nlp-later { display: block; margin: 0 auto 18px; color: var(--ink-3) !important; }
.nlp-x { position: absolute; top: 10px; right: 12px; border: 0; background: rgba(255,255,255,.7); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 14px; }
@keyframes nlpIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nlp-bg { animation: none; } }
@media (max-width: 560px) { .nl-fab { right: 12px; bottom: 12px; padding: 11px 14px; font-size: .78rem; } }
.lang-switch { font-weight: 700; } @media (max-width: 560px) { .lang-switch { padding: 6px 10px; } }
