/* 오크팟 — kong.css 위에 얹는다 (같은 어두운 바탕 + 금색) */
.op-wrap { width: min(760px, 100% - 32px); margin: 0 auto; padding: 28px 0 56px; }
.op-wide { width: min(1120px, 100% - 32px); }
.ophero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center; padding: 40px 0 20px; }
.ophero h1 { word-break: keep-all; font-size: clamp(34px, 5.6vw, 62px); line-height: 1.12; margin: 0 0 18px; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.ophero-copy > p:not(.op-note) { color: var(--muted); margin: 0 0 26px; max-width: 44ch; font-size: 17px; line-height: 1.65; }
.op-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.op-cta .btn { padding: 14px 26px; font-size: 16px; }
.ophero-copy .op-note { color: var(--subtle); font-size: 13px; margin: 22px 0 0; max-width: 50ch; }
.ophero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.ophero-art .halo { position: absolute; width: min(100%, 440px); aspect-ratio: 1; border-radius: 50%; background: var(--surface); border: 1px solid rgba(17, 17, 17, .14); box-shadow: inset 0 0 60px rgba(17, 17, 17, .08); }
.ophero-art .halo::after { content: ""; position: absolute; inset: 11%; border-radius: 50%; border: 1px dashed rgba(17, 17, 17, .16); }
.ophero-art .mascot { position: relative; width: min(64%, 270px); height: auto; filter: drop-shadow(0 26px 24px rgba(0, 0, 0, .55)); animation: barrelfloat 5s ease-in-out infinite; }
@keyframes barrelfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.ophero-art .fc { position: absolute; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--gold); background: #ffffff; border: 1px solid rgba(17, 17, 17, .3); backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(17, 17, 17, .1), 0 10px 24px rgba(0, 0, 0, .4); font-variant-numeric: tabular-nums; }
.ophero-art .fc.c1 { top: 14%; left: 2%; } .ophero-art .fc.c2 { top: 42%; right: 0; } .ophero-art .fc.c3 { bottom: 12%; left: 6%; }
.opflow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: 34px 0 10px; counter-reset: st; }
.op-step { counter-increment: st; position: relative; overflow: hidden; border-radius: 22px; padding: 24px 24px 26px; border: 1px solid var(--border); background: var(--surface); box-shadow: inset 0 1px 0 rgba(17, 17, 17, .08); }
.op-step::before { content: counter(st, decimal-leading-zero); position: absolute; right: 18px; top: 8px; font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: rgba(17, 17, 17, .13); }
.op-step h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.02em; }
.op-step p { margin: 0; color: var(--muted); font-size: 15px; max-width: 40ch; }
.op-step:nth-child(1) { grid-column: span 4; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--surface); }
.op-step:nth-child(1) h3 { font-size: 26px; }
.op-step:nth-child(2) { grid-column: span 2; }
.op-step:nth-child(3) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 6px 28px; align-items: end; border-color: rgba(17, 17, 17, .3); background: var(--surface); }
.op-step:nth-child(3) h3 { margin: 0; font-size: 24px; }

/* 허브 · 글 */
.hub-head { display: grid; gap: 6px; margin: 4px 0 18px; }
.hub-head .by { color: var(--gold); font-size: 14px; font-weight: 700; }
.hub-head h1 { margin: 0; font-size: clamp(24px, 5vw, 34px); line-height: 1.25; }
.hub-head p { margin: 0; color: var(--muted); }
.ownbar { background: var(--gold-soft); border: 1px solid rgba(17, 17, 17, .35); border-radius: 14px; padding: 10px 14px; font-size: 14px; color: var(--gold); display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 14px; }
.rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.row-link { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); transition: border-color .15s, transform .15s; }
.row-link:hover { border-color: rgba(17, 17, 17, .45); transform: translateY(-1px); text-decoration: none; }
.row-link .t { flex: 1; min-width: 0; }
.row-link b { display: block; font-size: 17px; }
.row-link small { color: var(--muted); display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-link .badge { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); white-space: nowrap; }
.row-link .arrow { color: var(--subtle); }

.post h1 { margin: 6px 0 12px; font-size: clamp(24px, 5vw, 34px); line-height: 1.3; }
.prose p { margin: 0 0 14px; font-size: 17px; line-height: 1.75; }
.back { color: var(--muted); font-size: 14px; display: inline-block; margin-bottom: 6px; }
.gifts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 18px 0; }
.gift { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.gift .ico { font-size: 24px; }
.gift .t { flex: 1; min-width: 0; }
.gift .t b { display: block; overflow-wrap: anywhere; }
.gift .t small { color: var(--subtle); }
.gift.locked { opacity: .75; }
.gatebox { text-align: left; background: var(--surface); border: 1px solid rgba(17, 17, 17, .4); border-radius: 20px; padding: 22px; display: grid; gap: 12px; margin: 22px 0; }
.gatebox h2 { margin: 0; font-size: 20px; }
.gatebox .hint { margin: 0; color: var(--muted); font-size: 14px; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); cursor: pointer; text-align: left; }
.chk input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: #f5b52e; }
.chk.opt { color: var(--muted); }
.chk a { color: var(--gold); }
.err-line { color: var(--danger); font-size: 13px; min-height: 18px; margin: 0; }
.lockbars { display: grid; gap: 10px; margin: 6px 0 0; }
.lockbars i { display: block; height: 14px; border-radius: 7px; background: #ffffff; filter: blur(1.5px); }
.lockbars i:nth-child(2) { width: 92%; } .lockbars i:nth-child(3) { width: 70%; }
.make-own { text-align: center; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); }

/* 내 오크통 */
.drawer-grid { display: grid; gap: 22px; margin-top: 16px; }
.dhub h3 { margin: 0 0 8px; font-size: 16px; color: var(--gold); }
.dhub h3 small { color: var(--subtle); font-weight: 500; margin-left: 6px; }
.search { width: 100%; margin: 6px 0 4px; }

/* 스튜디오 */
.st-cols { display: grid; grid-template-columns: 260px 1fr; gap: 16px; align-items: start; }
.hub-list { display: grid; gap: 8px; }
.hub-pill { text-align: left; font: inherit; cursor: pointer; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; color: var(--text); display: grid; gap: 2px; }
.hub-pill.on { border-color: rgba(17, 17, 17, .6); background: var(--gold-soft); }
.hub-pill b { font-size: 15px; } .hub-pill small { color: var(--muted); }
.hub-pill .live { color: var(--leaf); font-size: 12px; } .hub-pill .draft { color: var(--subtle); font-size: 12px; }
.tabbar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabbar button { font: inherit; font-weight: 700; cursor: pointer; padding: 8px 14px; border-radius: 999px; background: var(--surface); color: var(--muted); border: 1px solid var(--border); }
.tabbar button.on { color: var(--gold); border-color: rgba(17, 17, 17, .5); background: var(--gold-soft); }
.form { display: grid; gap: 10px; }
.form label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form textarea { min-height: 110px; resize: vertical; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btn.danger { background: transparent; color: var(--danger); border: 1px solid rgba(248, 113, 113, .5); box-shadow: none; }
.postbox { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; display: grid; gap: 10px; }
.postbox.pub { border-color: rgba(127, 191, 90, .45); }
.giftrow { display: grid; grid-template-columns: 1.1fr 1.6fr 100px auto; gap: 6px; align-items: center; }
.gopen { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted, #a9a49a); cursor: pointer; } .gopen input { width: auto; margin: 0; }
.sharebox { background: var(--surface); border: 1px dashed rgba(17, 17, 17, .4); border-radius: 14px; padding: 12px; display: grid; gap: 8px; margin-bottom: 14px; }
.sharebox code { word-break: break-all; font-size: 13px; color: var(--gold); }
.vialine { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.vialine select, .vialine input { width: auto; }
.funnel { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.kpi b { display: block; font-size: 26px; color: var(--gold); font-variant-numeric: tabular-nums; }
.kpi span { font-size: 12px; color: var(--muted); }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th, table.t td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--border); }
table.t th { color: var(--subtle); font-weight: 600; font-size: 12px; }
table.t td.n { font-variant-numeric: tabular-nums; text-align: right; } table.t th.n { text-align: right; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 70px; margin: 8px 0 14px; }
.spark i { flex: 1; background: var(--surface); border-radius: 3px 3px 0 0; min-height: 2px; }
.scroll-x { overflow-x: auto; }

@media (max-width: 860px) {
  .ophero { grid-template-columns: 1fr; padding-top: 20px; }
  .ophero-art { min-height: 340px; order: -1; }
  .opflow { grid-template-columns: 1fr; }
  .op-step:nth-child(n) { grid-column: auto; display: block; min-height: 0; }
  .st-cols { grid-template-columns: minmax(0, 1fr); }
  .hub-list { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .giftrow { grid-template-columns: 1fr; }
  .form .two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ophero-art .mascot { animation: none; } }

/* 허브 첫 화면: 멀티링크 같은 카드 + 글 카드 */
.hubcard { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; padding: 22px; margin: 6px 0 18px; border-radius: 22px; border: 1px solid rgba(17, 17, 17, .25); background: var(--surface); box-shadow: inset 0 1px 0 rgba(17, 17, 17, .08); }
.hubcard .avatar { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; font-weight: 800; color: #2a1a00; background: var(--surface); box-shadow: inset 0 1px 0 rgba(0, 0, 0, .55), 0 8px 20px rgba(245, 158, 11, .25); }
.hubcard .by { color: var(--gold); font-size: 13px; font-weight: 700; }
.hubcard h1 { margin: 2px 0 0; font-size: clamp(24px, 5vw, 34px); line-height: 1.2; letter-spacing: -.03em; }
.hubcard p { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.postgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.postcard { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 18px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); color: var(--text); transition: border-color .15s, transform .15s; }
.postcard:hover { border-color: rgba(17, 17, 17, .5); transform: translateY(-2px); text-decoration: none; }
.postcard b { font-size: 17px; line-height: 1.35; }
.postcard small { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.postcard .pfoot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; }
.postcard .badge { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); }
.postcard .arrow { color: var(--subtle); }
.postcard.first { grid-column: 1 / -1; background: var(--surface); }
.postcard.first b { font-size: 22px; }
/* 글: 보이다가 흐려지면서 로그인 */
.fadezone { position: relative; margin-top: -6px; max-height: 230px; overflow: hidden; }
.fadezone .fz-text { filter: blur(5px); opacity: .7; user-select: none; pointer-events: none; }
.fadezone .fz-text p { margin: 0 0 14px; font-size: 17px; line-height: 1.75; }
.fadezone::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .75) 55%, var(--bg) 92%); }
.fadezone .fz-cta { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; display: flex; justify-content: center; }
@media (max-width: 640px) { .postgrid { grid-template-columns: minmax(0, 1fr); } .hubcard { padding: 18px; } }

/* 글 화면: 왼쪽 글 순서 + 큰 가입 상자 */
.postlayout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.toc { display: none; }
@media (min-width: 980px) {
  .op-wrap.post-wide { width: min(1040px, 100% - 32px); }
  .postlayout { grid-template-columns: 250px minmax(0, 700px); gap: 36px; justify-content: center; }
  .postlayout.notoc { grid-template-columns: minmax(0, 700px); }
  .toc { display: grid; align-content: start; gap: 4px; position: sticky; top: 86px; align-self: start; }
  .toc b { font-size: 14px; margin-bottom: 8px; }
  .toc a { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: baseline; padding: 10px 12px; border-radius: 12px; color: var(--muted); font-size: 14px; line-height: 1.4; }
  .toc a i { font-style: normal; font-weight: 800; color: var(--subtle); }
  .toc a em { font-style: normal; font-size: 12px; color: var(--gold); }
  .toc a:hover { background: var(--surface); text-decoration: none; }
  .toc a.on { background: var(--gold-soft); color: var(--gold); box-shadow: inset 2px 0 0 var(--gold); }
}
.gatebox { padding: 30px 28px; gap: 14px; border-radius: 24px; }
.gatebox h2 { font-size: clamp(24px, 4.4vw, 34px); letter-spacing: -.035em; line-height: 1.15; }
.gatebox .hint { font-size: 16px; }
.gatebox .btn.wide { padding: 15px 22px; font-size: 17px; }
.gatebox .chk { font-size: 13px; }
/* 누구나 받는 선물이 있는 글: 가입은 덤이라 작고 차분하게 */
.gatebox.part { padding: 18px 20px; gap: 8px; border-radius: 18px; background: #ffffff; border-color: rgba(0, 0, 0, .12); }
.gatebox.part h2 { font-size: 17px; letter-spacing: -.01em; }
.gatebox.part .hint { font-size: 14px; }
.gatebox.part .btn.wide { padding: 11px 18px; font-size: 15px; }

/* 허브 첫 화면: 미니홈·멀티링크처럼 한 줄씩 쌓는다 */
.postgrid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.postcard { flex-direction: row; align-items: center; gap: 14px; padding: 16px 18px; }
.postcard b { flex: 1; min-width: 0; font-size: 17px; }
.postcard small { display: none; }
.postcard .pfoot { margin: 0; padding: 0; gap: 10px; }
.postcard.first { grid-column: auto; }
.postcard.first b { font-size: 17px; }

/* 글 대표 이미지 · 맛보기 이미지 */
.thumbs { display: flex; gap: 6px; flex-wrap: wrap; } .thumbs img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); }
.postcard .thumb { width: 64px; height: 64px; flex: none; object-fit: contain; padding: 3px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.postcard.has-thumb { padding: 12px 16px 12px 12px; }
.cover-img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; padding: 6px; border-radius: 20px; border: 1px solid var(--border); margin: 6px 0 14px; background: var(--surface); display: block; }
.previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 4px 0 18px; }
.previews button { padding: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); cursor: zoom-in; aspect-ratio: 1; }
.previews img { width: 100%; height: 100%; object-fit: contain; padding: 6px; display: block; transition: transform .2s; } .previews button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 90; background: #ffffff; display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.lightbox img { max-width: min(96vw, 900px); max-height: 90vh; object-fit: contain; border-radius: 12px; }
@media (max-width: 640px) { .previews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ───────── 자료실·글 디자인 v3 (카드, 큰 글자, 이미지 중심) ───────── */
.op-wrap { width: min(1080px, 100% - 32px); }
.lib-hero { padding: 38px 0 22px; display: grid; gap: 14px; }
.lib-by { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; font-size: 14px; }
.lib-by .avatar { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 16px; color: #2a1a00; background: var(--surface); }
.lib-hero h1 { margin: 0; font-size: clamp(40px, 7.4vw, 76px); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; word-break: keep-all; }
.lib-intro { margin: 0; max-width: 46ch; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.6; color: var(--muted); }
.lib-stats { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.lib-stats b { color: var(--gold); font-size: 22px; font-weight: 800; margin-right: 2px; font-variant-numeric: tabular-nums; }
.lib-tools { margin: 6px 0 16px; }
.lib-tools input { width: 100%; max-width: 420px; padding: 13px 18px; border-radius: 999px; font-size: 15px; background: #ffffff; border: 1px solid var(--border); }
.lib-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 8px; }
.lcard { display: flex; flex-direction: column; min-width: 0; border-radius: 24px; overflow: hidden; color: var(--text); border: 1px solid var(--border); background: var(--surface); box-shadow: inset 0 1px 0 rgba(17, 17, 17, .08); transition: transform .22s cubic-bezier(.16, 1, .3, 1), border-color .2s, box-shadow .2s; }
.lcard:hover { transform: translateY(-4px); border-color: rgba(17, 17, 17, .5); box-shadow: 0 22px 50px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(17, 17, 17, .1); text-decoration: none; }
.lcard[hidden] { display: none; }
.lc-media { aspect-ratio: 16 / 10; background: radial-gradient(120% 120% at 50% 0%, rgba(255, 196, 80, .22), rgba(20, 17, 8, .9) 70%); display: grid; place-items: center; overflow: hidden; }
.lc-media { position: relative; }
.lc-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.lcard:hover .lc-media > img { transform: scale(1.04); }
.lc-ph { position: absolute; inset: 0; display: grid; place-items: center; } .lc-ph img { position: static; width: auto; height: 74%; padding: 0; opacity: .55; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); }
.lc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lc-body b { font-size: clamp(19px, 2.4vw, 23px); line-height: 1.3; letter-spacing: -.02em; word-break: keep-all; }
.lc-body p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lc-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gift-pill { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(17, 17, 17, .25); }
.lcard .go { font-size: 14px; font-weight: 700; color: var(--gold); transition: transform .2s; } .lcard:hover .go { transform: translateX(3px); }
.lcard.feat { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.lcard.feat .lc-media { aspect-ratio: auto; min-height: 320px; } .lcard.feat .lc-body { padding: 30px; justify-content: center; } .lcard.feat .lc-body b { font-size: clamp(24px, 3.4vw, 34px); } .lcard.feat .lc-body p { -webkit-line-clamp: 4; font-size: 16px; }
.lib-none { text-align: center; margin: 30px 0; }
@media (max-width: 760px) { .lib-grid { grid-template-columns: minmax(0, 1fr); } .lcard.feat { grid-template-columns: minmax(0, 1fr); } .lcard.feat .lc-media { min-height: 0; aspect-ratio: 16 / 10; } .lcard.feat .lc-body { padding: 20px 22px 22px; } .lib-hero { padding-top: 24px; } }

/* 글 화면 */
.p-head { display: grid; gap: 10px; margin: 4px 0 16px; }
.p-by { color: var(--gold); font-weight: 700; font-size: 14px; }
.post h1 { margin: 0; font-size: clamp(30px, 5.2vw, 48px); line-height: 1.14; letter-spacing: -.04em; font-weight: 800; word-break: keep-all; }
.p-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.prose.lead p { font-size: clamp(17px, 2.1vw, 19px); line-height: 1.85; margin: 0 0 18px; }
.cover-img { aspect-ratio: 16 / 10; border-radius: 24px; padding: 14px; margin: 0 0 20px; background: radial-gradient(120% 120% at 50% 0%, rgba(255, 196, 80, .2), rgba(20, 17, 8, .9) 70%); }
.previews { gap: 12px; margin: 10px 0 24px; } .previews button { border-radius: 18px; }
.gifts-box { margin: 30px 0 8px; padding: 22px; border-radius: 24px; border: 1px solid rgba(17, 17, 17, .28); background: var(--surface); }
.gifts-box h2 { margin: 0 0 14px; font-size: 20px; letter-spacing: -.02em; }
.gifts-box .gifts { margin: 0; gap: 10px; }
.gifts-box .gift { padding: 14px 16px; border-radius: 16px; gap: 14px; background: #ffffff; }
.kind-badge { flex: none; min-width: 58px; text-align: center; padding: 7px 10px; border-radius: 11px; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; color: #2a1a00; background: var(--surface); }
.kind-badge.k-image { background: linear-gradient(180deg, #ffd4e1, #f59ab5); } .kind-badge.k-app { background: linear-gradient(180deg, #c9e8ff, #6fb4ee); } .kind-badge.k-pdf { background: linear-gradient(180deg, #ffd1c2, #f08a6a); }
.gift.locked { opacity: 1; } .gift .t b { font-size: 16px; } .gift .t small { color: var(--gold); }
.tag-locked { flex: none; font-size: 12.5px; font-weight: 700; color: var(--subtle); padding: 6px 12px; border-radius: 999px; border: 1px dashed rgba(17, 17, 17, .3); white-space: nowrap; }
.gatebox { margin: 18px 0; }
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); }
  .post-wide { padding-bottom: 90px; }
  .gifts-box { padding: 16px; } .gifts-box .gift { flex-wrap: wrap; } .tag-locked { margin-left: auto; }
}

/* 스튜디오: 폰에서 칸이 화면 밖으로 밀리지 않게 */
.postbox, .postbox label, .postbox .form, .panel.form { min-width: 0; }
.postbox input, .postbox textarea, .postbox select, .giftrow input, .giftrow select { max-width: 100%; min-width: 0; }
.postbox .thumbs img { width: 48px; height: 48px; }
@media (max-width: 760px) { .giftrow { grid-template-columns: minmax(0, 1fr); } .btns { gap: 6px; } }

/* ───────── 내 자료실(관리) 화면: 설명이 있는 구성 ───────── */
.st-cols { gap: 22px; }
.ov { display: grid; gap: 14px; padding: 18px 20px; margin-bottom: 14px; border-radius: 22px; border: 1px solid rgba(17, 17, 17, .28); background: var(--surface); }
.ov-top { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ov-label { display: block; font-size: 12.5px; color: var(--subtle); font-weight: 700; margin-bottom: 4px; }
.ov-addr code { font-size: clamp(18px, 3vw, 24px); font-weight: 800; color: var(--gold); word-break: break-all; margin-right: 10px; }
.ov-addr .live { color: var(--leaf); font-size: 13px; font-weight: 700; } .ov-addr .draft { color: var(--subtle); font-size: 13px; font-weight: 700; }
.ov-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ov-stats { display: flex; gap: 22px; align-items: baseline; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--border); }
.ov-stats .ov-label { margin: 0; }
.ov-k { color: var(--muted); font-size: 14px; } .ov-k b { color: var(--text); font-size: 24px; font-weight: 800; margin-right: 6px; font-variant-numeric: tabular-nums; }
.guide { margin-bottom: 14px; padding: 16px 18px; border-radius: 20px; border: 1px dashed rgba(17, 17, 17, .4); background: #ffffff; }
.guide-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .guide-h b { font-size: 16px; }
.guide ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guide li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.55; color: var(--muted); }
.guide li i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 14px; color: #2a1a00; background: var(--surface); }
.sharebox { border-style: solid; border-color: var(--border); background: var(--surface); }
.chans { display: flex; gap: 8px; flex-wrap: wrap; }
.chan { font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; padding: 9px 16px; border-radius: 999px; color: var(--muted); background: #ffffff; border: 1px solid var(--border); transition: transform .12s, border-color .15s; }
.chan:hover { transform: translateY(-1px); border-color: rgba(17, 17, 17, .5); } .chan.on { color: #2a1a00; background: var(--surface); border-color: transparent; }
.tabbar button { padding: 10px 18px; font-size: 15px; }
/* 글: 접히는 줄 */
details.postbox { display: block; padding: 0; overflow: hidden; }
details.postbox > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 18px; }
details.postbox > summary::-webkit-details-marker { display: none; }
.ps-t { font-size: 17px; font-weight: 800; letter-spacing: -.02em; min-width: 0; overflow-wrap: anywhere; }
.ps-m { display: inline-flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.ps-m .live { color: var(--leaf); font-weight: 700; } .ps-m .draft { color: var(--subtle); font-weight: 700; }
.ps-open { color: var(--gold); font-weight: 700; } details.postbox[open] .ps-open { display: none; }
.pb-body { display: grid; gap: 12px; padding: 4px 18px 18px; border-top: 1px solid var(--border); }
.pb-body h4 { margin: 14px 0 0; font-size: 15px; letter-spacing: -.01em; color: var(--gold); }
details.sub { border: 1px solid var(--border); border-radius: 14px; padding: 0 14px; background: #ffffff; }
details.sub > summary { cursor: pointer; padding: 12px 0; font-size: 14px; font-weight: 700; color: var(--muted); list-style: none; }
details.sub > summary::-webkit-details-marker { display: none; } details.sub > summary::before { content: '+ '; color: var(--gold); } details.sub[open] > summary::before { content: '− '; }
details.sub[open] { display: grid; gap: 10px; padding-bottom: 14px; }
.pubrow { display: flex; gap: 8px; align-items: center; font-size: 14px; padding-top: 6px; }
@media (max-width: 860px) { .ov { padding: 16px; } .ov-addr code { display: block; margin: 0 0 4px; } }

/* ── 공개 자료실: 글 카드 (텍스트 중심) ── */
.lib-tools { display: grid; gap: 12px; margin: 8px 0 18px; }
.tagbar { display: flex; flex-wrap: wrap; gap: 8px; }
.tagbar button { font: inherit; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; }
.tagbar button.on { background: var(--gold); border-color: var(--gold); color: #fff; }
.gcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gcard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 64px; min-height: 230px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); color: inherit; text-decoration: none; overflow: hidden; transition: transform .15s, border-color .15s; }
.gcard:nth-child(4n+2), .gcard:nth-child(4n+3) { background: #ffffff; }
.gcard:hover { transform: translateY(-2px); border-color: var(--gold); }
.gcard[hidden] { display: none; }
.g-cover { max-width: none; width: calc(100% + 48px); margin: -24px -24px 6px; height: 150px; object-fit: contain; padding: 12px; background: #ffffff; box-sizing: border-box; }
.g-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #ffffff; color: var(--muted); }
.pill.kind { background: #ffffff; color: var(--gold); }
.g-title { font-size: 21px; line-height: 1.3; letter-spacing: -.01em; }
.g-desc { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.g-meta { position: absolute; left: 24px; bottom: 24px; font-size: 13px; color: var(--muted); }
.g-go { position: absolute; right: 20px; bottom: 18px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #fff; }
@media (max-width: 720px) { .gcards { grid-template-columns: 1fr; } .gcard { min-height: 0; } }

/* ── 내 자료실: 글 카드 갤러리 ── */
.pgal { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 18px; }
.pcard { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); overflow: hidden; min-width: 0; }
.pcard.on { border-color: var(--gold); }
.pc-thumb { position: relative; height: 130px; background: #ffffff; display: grid; place-items: center; overflow: hidden; }
.pc-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.pc-paper { width: 70px; height: 86px; border-radius: 8px; background: #ffffff; box-shadow: 8px 6px 0 rgba(17, 17, 17, .09); }
.pc-views { position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #f4f4f6; color: #fff; }
.pc-state { position: absolute; right: 10px; top: 10px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #f4f4f6; }
.pc-state.live { color: #8fd16a; } .pc-state.draft { color: #bbb; }
.pc-body { display: grid; gap: 10px; padding: 14px 16px 16px; }
.pc-title { font-size: 16px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pc-rate { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); } .pc-rate b { font-size: 22px; color: var(--gold); }
.pc-stats { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); padding: 8px 10px; border-radius: 10px; background: #ffffff; } .pc-stats b { color: var(--text, #fff); }
.pnew { cursor: pointer; align-items: center; justify-content: center; gap: 8px; min-height: 200px; border-style: dashed; color: var(--muted); font: inherit; }
.pn-plus { font-size: 34px; color: var(--gold); line-height: 1; }
#editor details.postbox > summary { display: none; }

.pc-link { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px dashed var(--border); background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; text-align: left; min-width: 0; }
.pc-link span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-link i { font-style: normal; font-weight: 700; color: var(--gold); flex: none; }
.pc-link:hover { border-color: var(--gold); color: var(--text, #fff); }
.pc-link.nos span { opacity: .7; }

.vialine { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vl-k, .pl-k { flex: none; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: #ffffff; color: var(--gold); }
.pl-k { font-weight: 800; }
.pgal-h { margin: 4px 0 12px; font-size: 15px; color: var(--muted); font-weight: 700; }
.pc-link { flex-wrap: wrap; }
.pc-link .pl-k { order: 0; }
.pc-link .pl-c { order: 1; margin-left: auto; text-align: right; }
.pc-link .pl-t { order: 2; flex: 1 1 100%; }

.pick-ov { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: #f4f4f6; }
.pick { width: min(420px, 100%); display: grid; gap: 12px; padding: 20px; border-radius: 18px; background: #ffffff; border: 1px solid rgba(17, 17, 17, .35); box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.pick .btn { justify-self: start; }
.pick b { font-size: 17px; } .pick .note { margin: 0; }

/* ── 프로필 입력 / 보기 ── */
.pfrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1.4fr); gap: 8px; }
.pfrow select { max-width: 100%; } #pfS .pfrow { grid-template-columns: 140px minmax(0, 1fr); }
@media (max-width: 640px) { .pfrow, #pfS .pfrow { grid-template-columns: 1fr; } }
.prof { display: grid; gap: 22px; padding: 28px 0 8px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.prof h2 { margin: 0; font-size: clamp(22px, 4vw, 30px); letter-spacing: -.02em; }
.prof .pbio { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 62ch; }
.prof .ptags { display: flex; flex-wrap: wrap; gap: 8px; }
.prof .plist { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.prof .plink { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 16px; text-decoration: none; color: inherit; background: var(--surface); transition: border-color .15s, transform .15s; }
.prof .plink:hover { border-color: var(--gold); transform: translateY(-2px); }
.prof .plink b { font-size: 16px; } .prof .plink small { color: var(--gold); font-size: 13px; word-break: break-all; } .prof .plink span { color: var(--muted); font-size: 14px; }
.prof .psoc { display: flex; flex-wrap: wrap; gap: 8px; } .prof .psoc a { font-size: 13px; font-weight: 700; padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; color: inherit; text-decoration: none; } .prof .psoc a:hover { border-color: var(--gold); color: var(--gold); }

/* ════════ v4 차분한 테마 (10-27) ════════
   금빛 그라데이션·반짝임·알약 모양을 걷어내고: 중성 어두운 바탕 + 얇은 테두리 + 단색 포인트 하나, 모서리 10~14px 로 통일, 버튼·입력 높이 통일 */
:root {
  --bg: #ffffff; --bg2: #f6f6f7;
  --surface: #f6f6f7; --surface-hover: #efeff1;
  --border: #e6e6e9;
  --text: #111111; --muted: #6b6b73; --subtle: #9a9aa2;
  --gold: #111111; --gold-strong: #000000; --gold-soft: rgba(17, 17, 17, .05);
  --accent: #6B4EFF;
  --radius: 14px;
}
body { background-image: none; }
.top { background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--border); }
.brand { letter-spacing: .12em; }
.nav a { border-radius: 8px; padding: 8px 12px; }
.nav a.on, .nav a:hover { background: var(--surface-hover); color: var(--text); }
.nav a.on { color: var(--gold); }

/* 버튼: 단색, 높이 통일, 그림자 없음 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 18px; border-radius: 10px; background: var(--gold); color: #fff; box-shadow: none; font-weight: 700; font-size: 15px; letter-spacing: -.005em; transition: background .15s, border-color .15s, transform .1s; }
.btn:hover { background: #f0cf82; filter: none; transform: none; text-decoration: none; }
.btn:active { transform: scale(.985); }
.btn.small { height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 8px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.btn.ghost:hover { background: var(--surface-hover); border-color: rgba(0, 0, 0, .18); }
.btn.danger { background: transparent; color: var(--danger); border: 1px solid rgba(248, 113, 113, .35); }
.btn.on { background: var(--gold-soft); border: 1px solid rgba(17, 17, 17, .35); color: var(--gold); }

/* 입력: 높이 통일, 얇은 테두리 */
select, input, textarea { background: #ffffff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 15px; }
input:not([type=checkbox]):not([type=radio]), select { height: 42px; }
textarea { min-height: 96px; line-height: 1.55; }
select { border-radius: 10px; padding: 0 12px; font-size: 15px; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: rgba(17, 17, 17, .6); box-shadow: 0 0 0 3px rgba(17, 17, 17, .12); }

/* 상자: 평평하게, 한 가지 테두리 */
.panel, .ov, .guide, .sharebox, .pcard, .gcard, .plink, .item, .lcard, .pick, details.postbox { background: var(--surface); border: 1px solid var(--border); box-shadow: none; border-radius: var(--radius); }
.ov { background: var(--surface); padding: 20px 22px; }
.guide, .sharebox { border-style: solid; background: var(--surface); }
.gcard:nth-child(4n+2), .gcard:nth-child(4n+3) { background: var(--surface); }
.gcard:hover, .plink:hover, .pcard:hover { border-color: rgba(17, 17, 17, .5); transform: none; }
.pcard.on { border-color: var(--gold); }
.pnew { border-style: dashed; }

/* 탭: 알약 대신 밑줄 */
.tabbar { gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.tabbar button { background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 10px 14px; font-size: 15px; font-weight: 650; color: var(--muted); margin-bottom: -1px; }
.tabbar button:hover { color: var(--text); }
.tabbar button.on { color: var(--text); background: transparent; border-bottom-color: var(--gold); }

/* 칩·알약: 작고 차분하게 */
.pill { border-radius: 6px; padding: 3px 8px; font-weight: 600; background: #ffffff; }
.pill.kind { background: var(--gold-soft); color: var(--gold); }
.tagbar button, .chan { border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--muted); padding: 7px 12px; font-weight: 600; }
.tagbar button.on, .chan:hover { background: var(--gold-soft); border-color: rgba(17, 17, 17, .4); color: var(--gold); }
.vl-k, .pl-k { border-radius: 6px; }
.g-go { border-radius: 8px; width: 34px; height: 34px; background: var(--gold); }
.pc-views, .pc-state { border-radius: 6px; }
.pc-stats { border-radius: 8px; background: #ffffff; }

/* 너비·간격: 콘텐츠 폭 통일 */
.wrap { width: min(1040px, 100% - 40px); }
.op-wide { width: min(1040px, 100% - 40px); }
.page-title { font-size: clamp(26px, 4vw, 34px); letter-spacing: -.02em; margin: 24px 0 6px; }
.note { color: var(--muted); }
.hub-pill { border-radius: 12px; }

/* 첫 화면 */
.ophero h1 { letter-spacing: -.03em; }
.op-step { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: none; }
@media (max-width: 640px) { .wrap, .op-wide { width: calc(100% - 28px); } .btn { height: 44px; } }

/* ── 글: 왼쪽 블록 목록 + 오른쪽 열린 글 ── */
.pm { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 22px; align-items: start; }
.pm-list { display: grid; gap: 8px; position: sticky; top: 76px; }
.prow { display: grid; gap: 6px; text-align: left; padding: 13px 15px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: inherit; font: inherit; cursor: pointer; min-width: 0; transition: border-color .15s, background .15s; }
.prow:hover { border-color: rgba(0, 0, 0, .2); }
.prow.on { border-color: var(--gold); background: var(--gold-soft); }
.prow b { font-size: 15px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.prow small { color: var(--muted); font-size: 12.5px; }
.prow .live { color: #8fd16a; } .prow .draft { color: var(--subtle); }
.prow.pnew { border-style: dashed; color: var(--muted); text-align: center; }
.pm-detail { min-width: 0; }
.pm-detail details.postbox { margin: 0; }
@media (max-width: 820px) { .pm { grid-template-columns: 1fr; } .pm-list { position: static; } }
.prow.pnew { min-height: 0; justify-content: center; padding: 12px; }
.pm-list { align-content: start; }

/* 글 블록 목록은 왼쪽 옆 칸(새 페이지 아래)에. 좁은 화면에서는 본문 안에 보인다 */
.side-posts { margin-top: 18px; display: grid; gap: 8px; }
.side-h { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--subtle); padding: 0 2px; }
.side-posts .prow { padding: 11px 13px; } .side-posts .prow b { font-size: 14px; }
@media (min-width: 821px) { .pm { grid-template-columns: minmax(0, 1fr); } .pm-inline { display: none; } }
@media (max-width: 820px) { .side-posts { display: none !important; } }

/* ── 완성된 글 보기 (입력 칸 없음) ── */
.pview { display: grid; gap: 16px; padding: 22px 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); min-width: 0; }
.pv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.pv-top h2 { margin: 6px 0 0; font-size: clamp(20px, 3vw, 26px); letter-spacing: -.02em; line-height: 1.3; }
.pv-top .live { color: #8fd16a; font-size: 13px; font-weight: 700; } .pv-top .draft { color: var(--subtle); font-size: 13px; font-weight: 700; }
.pv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pv-stats span { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: #ffffff; font-size: 12px; color: var(--muted); } .pv-stats b { font-size: 20px; color: var(--text); font-variant-numeric: tabular-nums; }
.pv-imgs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; } .pv-imgs img { height: 96px; width: auto; border-radius: 10px; border: 1px solid var(--border); background: #ffffff; }
.pview .prose { font-size: 16px; line-height: 1.8; } .pview .prose p { margin: 0 0 12px; }
.pv-lock { border: 1px dashed rgba(17, 17, 17, .35); border-radius: 12px; padding: 14px 16px; background: var(--gold-soft); }
.pv-lk { font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--gold); margin-bottom: 8px; }
.pv-gifts { display: grid; gap: 8px; } .pv-gift { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; }
@media (max-width: 520px) { .pv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── 프로필이 있는 첫 화면 = 내 홈페이지 ── */
.home-hero { padding: 40px 0 8px; }
.home-hero .lib-by { margin-bottom: 18px; }
.home-hero .prof-in { display: grid; gap: 22px; }
.home-hero .prof-in h2 { font-size: clamp(30px, 6vw, 52px); line-height: 1.12; letter-spacing: -.035em; margin: 0; max-width: 18ch; }
.home-hero .pbio { font-size: clamp(16px, 2.2vw, 19px); line-height: 1.7; max-width: 60ch; }
.sec-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 36px 0 14px; font-size: 20px; letter-spacing: -.01em; padding-top: 26px; border-top: 1px solid var(--border); }
.sec-h small { font-size: 13px; font-weight: 600; color: var(--muted); }
/* 홍보 띠: 이 페이지를 본 사람이 바로 자기 페이지를 만들러 갈 수 있게 */
.promo { display: flex; width: fit-content; margin: 36px auto 0; align-items: center; gap: 14px; padding: 10px 14px 10px 18px; border-radius: 12px; background: #ffffff; backdrop-filter: blur(12px); border: 1px solid var(--border); color: var(--muted); font-size: 13.5px; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); max-width: calc(100% - 24px); }
.promo b { color: #fff; background: var(--gold); padding: 7px 12px; border-radius: 8px; white-space: nowrap; font-size: 13px; }
.promo:hover { text-decoration: none; border-color: rgba(17, 17, 17, .5); }
@media (max-width: 560px) { .promo span { display: none; } .promo { padding: 8px; } }

.home-hero .prof { padding: 0; border: 0; margin: 0; }

.pv-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.prof-view { border: 1px solid var(--border); border-radius: 14px; padding: 26px 28px; background: var(--surface); }
.prof-view .prof-in h2 { font-size: clamp(24px, 4vw, 38px); }
.pick-url { display: block; padding: 10px 12px; border-radius: 8px; background: #ffffff; color: var(--gold); word-break: break-all; font-size: 13.5px; }

/* ════════ 프로필 홈 B 안 (10-27): 왼쪽 글 + 오른쪽 큰 사진, 아래 프로젝트 카드 ════════ */
.home-hero { padding: 44px 0 10px; }
.hh-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 52px; align-items: center; }
.hh-text { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.hh-h { margin: 0; font-size: clamp(34px, 5.4vw, 62px); line-height: 1.07; letter-spacing: -.04em; font-weight: 800; max-width: 16ch; text-wrap: balance; }
.home-hero .pbio { margin: 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.75; color: var(--muted); max-width: 52ch; }
.home-hero .ptags { display: flex; flex-wrap: wrap; gap: 8px; }
.home-hero .psoc { display: flex; flex-wrap: wrap; gap: 10px; }
.home-hero .psoc a { height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 650; font-size: 14.5px; text-decoration: none; }
.home-hero .psoc a:hover { border-color: rgba(17, 17, 17, .55); color: var(--gold); }
.hh-visual { aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; min-width: 0; }
.hh-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hh-grid.nophoto { grid-template-columns: minmax(0, 1fr); }
.hh-grid.nophoto .hh-h { max-width: 22ch; }
.hh-ini span { font-size: clamp(90px, 14vw, 170px); font-weight: 800; color: var(--gold); opacity: .9; letter-spacing: -.05em; }
.proj { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.proj + .proj { margin-top: 14px; }
.pcx { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; color: inherit; text-decoration: none; transition: border-color .15s, background .15s; min-width: 0; }
.pcx:hover { border-color: rgba(17, 17, 17, .5); background: var(--surface-hover); text-decoration: none; }
.pcx-im { aspect-ratio: 16 / 9; background: #ffffff; display: grid; place-items: center; overflow: hidden; }
.pcx-im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcx-im.no span { font-size: 38px; font-weight: 800; color: var(--gold); opacity: .8; }
.pcx-tx { display: grid; gap: 4px; padding: 14px 16px 16px; align-content: start; min-width: 0; }
.pcx-tx b { font-size: 16px; letter-spacing: -.01em; }
.pcx-tx span { color: var(--muted); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcx-tx small { color: var(--gold); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plmore { margin-top: 14px; }
@media (max-width: 760px) {
  .home-hero { padding-top: 24px; }
  .hh-grid { grid-template-columns: 1fr; gap: 22px; }
  .hh-visual { order: -1; width: min(210px, 58vw); border-radius: 50%; justify-self: center; }
  .hh-text { justify-items: center; text-align: center; gap: 16px; }
  .hh-h { max-width: none; font-size: clamp(30px, 9vw, 40px); }
  .home-hero .ptags, .home-hero .psoc { justify-content: center; }
  .proj { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
  .pcx-im { aspect-ratio: 4 / 3; } .pcx-tx { padding: 10px 12px 13px; } .pcx-tx b { font-size: 14.5px; } .pcx-tx span { font-size: 12.5px; -webkit-line-clamp: 2; }
}
/* 방문자에게는 메뉴 줄을 숨기고 로고와 로그인만 둔다 */
body.pubhub .nav { display: none; }
/* 프로필 입력 줄: 이미지 칸까지 네 칸 */
.pfrow { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 1.2fr); }
@media (max-width: 760px) { .pfrow { grid-template-columns: 1fr; } }
.prof-view .home-hero { padding-top: 8px; }

/* 팝업은 반드시 불투명하게 (v4 의 공통 상자 규칙이 투명하게 덮어써서 뒤 글자가 비쳤다) */
.pick { background: #ffffff !important; border: 1px solid rgba(0, 0, 0, .14); box-shadow: 0 24px 70px rgba(0, 0, 0, .65); }
.pick-ov { background: #ffffff; backdrop-filter: blur(3px); }

/* 허브 첫 화면: 서버가 넣어 둔 본문이 스타일 없이 번쩍이지 않게 그려지기 전엔 숨긴다 (3초 뒤엔 무조건 보임) */
@keyframes hubshow { to { opacity: 1; visibility: visible; } }
body.hubpage:not(.hub-ready) #root, body.hubpage:not(.hub-ready) .nav { opacity: 0; visibility: hidden; animation: hubshow 0s 3s forwards; }
/* 글 화면은 서버가 채운 제목·앞부분이 그대로 읽을 만하다 → 숨기지 않고 바로 보여 준다 (네이버 등에서 온 사람이 빈 화면을 보지 않게) */
body.hubpage:not(.hub-ready) #root:has(> article.post) { opacity: 1; visibility: visible; animation: none; }
/* 그 미리 그린 글에서는 사진·영상을 숨긴다: 왼쪽 글 목록이 생기기 전이라 화면 폭 가득 커졌다가 줄어들어 보였다(10-29) */
body.hubpage:not(.hub-ready) #root img, body.hubpage:not(.hub-ready) #root video { display: none; }

/* 페이지 글 카드: «가입 없이 바로», «N명이 받아 감» */
.pill.open { background: rgba(123, 224, 168, .14); color: #7be0a8; border-color: rgba(123, 224, 168, .35); }
.g-got { color: var(--gold, #e9c46a); font-weight: 700; }
.home-hero > .sec-h { margin-top: 34px; }
/* «복사해서 내 것 만들기» */
.clonebox { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 18px 0; padding: 18px 20px; border-radius: 18px; border: 1px dashed rgba(17, 17, 17, .55); background: #ffffff; }
.clonebox > div { flex: 1 1 260px; display: grid; gap: 4px; }
.clonebox b { font-size: 17px; }
.clonebox p { margin: 0; color: var(--muted); font-size: 14px; }
.clonebox em { font-style: normal; color: var(--gold, #e9c46a); font-weight: 700; }
.cl-f { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.cl-addr { display: flex; align-items: center; gap: 4px; color: var(--text, #f3f1ea); font-size: 15px; }
.cl-addr input { flex: 1; min-width: 0; }
/* 스튜디오 «틀로 시작하기» */
.tpl { margin: 0 0 18px; }
.tpl h2 { margin: 0 0 4px; font-size: 20px; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 12px; }
.tpl-card { display: grid; grid-template-rows: auto 1fr auto; border: 1px solid rgba(17, 17, 17, .35); border-radius: 16px; overflow: hidden; background: #ffffff; }
.tpl-card img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; display: block; }
.tpl-tx { display: grid; gap: 4px; padding: 12px 14px 4px; }
.tpl-tx span { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tpl-tx small { font-size: 12px; color: var(--muted); }
.tpl-btns { display: flex; gap: 8px; padding: 10px 14px 14px; }
.tpl-or { margin: 6px 0 8px; font-size: 15px; color: var(--muted); }
/* 스튜디오 «상점 무료 선물» */
.catbox { margin-top: 14px; border: 1px dashed rgba(0, 0, 0, .16); border-radius: 14px; padding: 12px; display: grid; gap: 8px; opacity: .92; }
.cat-h { display: grid; gap: 2px; }
.cat-h .note { font-size: 12.5px; }
.cat-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; }
.cat-row img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.cat-tx { display: grid; gap: 2px; min-width: 0; }
.cat-tx small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-badge { grid-column: 1 / -1; font-size: 11.5px; color: #7be0a8; }
@media (max-width: 560px) { .cat-row { grid-template-columns: 40px minmax(0, 1fr); } .cat-row .btn { grid-column: span 1; } }
.brk-note { margin: 10px 14px 0; padding: 8px 12px; border-radius: 10px; background: rgba(255, 197, 107, .12); color: #ffc56b; font-size: 13px; }
.pv-video { display: block; width: 100%; border-radius: 16px; margin: 14px 0; background: #ffffff; border: 1px solid var(--border, rgba(0, 0, 0, .1)); }
.thumb-vid { display: inline-grid; place-items: center; width: 64px; height: 40px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: var(--gold, #e9c46a); font-size: 14px; }
.prose a { color: var(--gold, #e9c46a); word-break: break-all; }
/* 스튜디오 탭 5개: 좁은 화면에서는 한 줄로 옆으로 밀어 본다 */
@media (max-width: 560px) { .tabbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .tabbar button { flex: 0 0 auto; padding: 10px 12px; } }
/* 위 메뉴 5개(홈·디자인·내 페이지·대시보드·받은 선물): 좁은 휴대폰에서도 한 화면에 들어가게 */
@media (max-width: 420px) { .nav a { padding: 7px 8px; font-size: 14.5px; } }
.ov-post { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); }
.ov-post .ov-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; display: block; }
.ov-post code { font-size: 15px; word-break: break-all; }
/* 휴대폰: 맛보기 사진을 좌우로 넘기는 카드로 (카톡 «카드형 소식»처럼) */
.pv-count { display: none; }
@media (max-width: 640px) {
  .previews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 10px -16px 6px; padding: 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .previews::-webkit-scrollbar { display: none; }
  .previews button { flex: 0 0 86%; aspect-ratio: 4 / 3; scroll-snap-align: center; }
  .previews img { padding: 0; object-fit: cover; }
  .pv-count { display: block; text-align: center; font-size: 12.5px; color: var(--muted); margin: 0 0 18px; font-variant-numeric: tabular-nums; }
}
.op-eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--gold, #e9c46a); }

/* ── 10-30 단순화: 스튜디오 탭 셋 · 홈페이지 칸 · 블로그식 글쓰기 · 링크 복사 고르기 ── */
.tabbar .tablink { padding: 10px 14px; font-size: 15px; font-weight: 650; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; flex: 0 0 auto; }
.tabbar .tablink:hover { color: var(--gold); }
.chans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chans .chan { display: grid; justify-items: center; gap: 6px; padding: 12px 4px; border-radius: 14px; font-size: 12.5px; }
.chans .chan i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; }
.pick .btns { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 420px) { .chans { grid-template-columns: repeat(4, 1fr); } .chans .chan span { font-size: 11px; } }

.hform { display: grid; gap: 14px; }
.hf-prev { position: relative; padding-bottom: 44px; }
.hf-hero { height: 150px; border-radius: 18px; background: var(--surface); background-size: cover; background-position: center; border: 1px solid var(--border); }
.hf-av { position: absolute; left: 20px; bottom: 0; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 3px solid #0b0b0d; background: #ffffff; display: grid; place-items: center; }
.hf-av img { width: 100%; height: 100%; object-fit: cover; } .hf-av span { font-size: 32px; font-weight: 800; color: var(--gold); }
.hf { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.hf > span small { color: var(--subtle); font-weight: 400; }
.hf-img { display: flex; gap: 8px; } .hf-img input { flex: 1; min-width: 0; }

.postbox.ed { display: grid; gap: 12px; }
.ed-title { font-size: 22px !important; font-weight: 800; padding: 12px 14px !important; }
.ed-cover { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ed-cover img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; border: 1px solid var(--border); }
.ed-body { min-height: 220px; font-size: 15.5px; line-height: 1.7; }
.giftrow.lk { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; }
.giftrow.lk .gopen { grid-column: 1 / -1; font-size: 12.5px; }
.giftrow.lk.cat input { opacity: .75; }
@media (max-width: 640px) { .giftrow.lk { grid-template-columns: minmax(0, 1fr) auto; } .giftrow.lk .gU { grid-column: 1 / 2; grid-row: 2; } }

/* ── 방문 화면: 홈페이지처럼 ── */
.hp { margin: 0 0 22px; }
.hp-hero { position: relative; height: clamp(340px, 50vw, 520px); border-radius: 22px; overflow: hidden; background: var(--surface); background-size: cover; background-position: center; }
.hp-hero::after { content: ""; position: absolute; inset: 0; background: var(--surface); }
.hp-card { position: relative; display: grid; justify-items: center; text-align: center; gap: 8px; margin-top: -128px; padding: 0 16px; }
.hp-av { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; border: 4px solid #0b0b0d; background: #ffffff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.hp-av img { width: 100%; height: 100%; object-fit: cover; } .hp-av span { font-size: 32px; font-weight: 800; color: var(--gold); }
.hp-name { margin: 6px 0 0; font-size: clamp(34px, 6vw, 56px); line-height: 1.15; letter-spacing: -.03em; }
.hp-line { margin: 0; font-size: 17px; color: var(--text); opacity: .9; }
.hp-meta { margin: 0; font-size: 14px; color: var(--muted); }
.hp-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.hp-btn { padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--text); background: #ffffff; border: 1px solid var(--border); }
.hp-btn:hover { border-color: rgba(17, 17, 17, .5); }
.hp-btn.main { color: #2a1a00; background: var(--surface); border-color: transparent; }
.hp-bio { max-width: 60ch; margin: 8px 0 0; color: var(--muted); line-height: 1.7; white-space: pre-line; }
.hp-lib { margin-top: 8px; }
.hp-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--subtle); }
.hp-foot em { font-style: normal; color: var(--muted); }
.hf-done { display: grid; gap: 6px; padding: 4px 4px 0; }
.hf-done b { font-size: 22px; } .hf-done span { color: var(--muted); } .hf-done .btns { margin-top: 8px; }
/* 내 사이트 배너 */
.panel.bn { margin-top: 14px; display: grid; gap: 10px; }
.panel.bn h3 { margin: 0; }
.bn-row { display: grid; gap: 6px; padding: 12px; border-radius: 14px; border: 1px solid var(--border); background: #ffffff; }
.bn-line { display: flex; gap: 8px; align-items: center; } .bn-line .bC { max-width: 160px; } .bn-line .gopen { flex: 1; }
.bn-card { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: #ffffff; border: 1px solid #3a3528; }
.bn-card.off { opacity: .45; }
.bn-card .bn-top { font-size: 11.5px; color: var(--muted); display: flex; gap: 6px; } .bn-card .bn-top em { font-style: normal; font-weight: 700; padding: 0 5px; border: 1px solid #3a3528; border-radius: 5px; }
.bn-card b { font-size: 15px; } .bn-card span { color: var(--muted); font-size: 13px; } .bn-card i { font-style: normal; justify-self: start; padding: 5px 12px; border-radius: 999px; background: #f5c451; color: #2a1a00; font-weight: 700; font-size: 12.5px; }
.bn-code { display: block; padding: 10px 12px; border-radius: 10px; background: #ffffff; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }

/* ── 구매자 전용 받기: 코드 넣기(방문 화면) · 구매 코드(스튜디오) ── */
.buybox .buyrow { display: flex; gap: 8px; }
.buybox .buyrow input { flex: 1; min-width: 0; font: inherit; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: inherit; }
.buybox .buy-keep { margin: 0; font-size: 12.5px; }
.buy-opt { text-align: center; margin: 14px 0; }
.buy-badge { margin: 8px 0; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(17, 17, 17, .4); font-size: 13px; color: var(--muted); }
.buyrow-st small { display: block; margin-left: 24px; }
.giftrow.buy .gfile { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.giftrow.buy > small.note { grid-column: 1 / -1; font-size: 12px; }
.codes { display: grid; gap: 10px; margin: 12px 0; padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.codes h4 { margin: 0; }
.codes-make { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.codes-make label { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.codes-make .cN { width: 70px; }
.codes-make .cMemo { flex: 1; min-width: 160px; }
.codes-new { display: grid; gap: 8px; padding: 12px; border-radius: 12px; border: 1px dashed rgba(17, 17, 17, .6); }
.codes-new textarea { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; letter-spacing: .06em; width: 100%; }
.codes-msg { margin: 0; white-space: pre-wrap; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.codes-list { display: grid; gap: 6px; max-height: 360px; overflow: auto; }
.code-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border); }
.code-row.off { opacity: .55; }
.code-row code { font-size: 13px; letter-spacing: .05em; }
.code-row .c-st { flex: 1; min-width: 120px; font-size: 13px; overflow-wrap: anywhere; }
.code-row small { flex-basis: 100%; }

/* 방 (왼쪽 칸): 내 페이지 · 판매 · 내 사이트 배너 · 숫자 */
.rooms { display: grid; gap: 6px; margin-top: 14px; }
.rooms[hidden] { display: none; }
.room { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: 14.5px; text-align: left; cursor: pointer; text-decoration: none; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border); background: transparent; color: var(--text); }
.room small { font-weight: 600; font-size: 11.5px; color: var(--gold); }
.room.on { border-color: rgba(17, 17, 17, .6); background: var(--gold-soft); }
.room.off { color: var(--muted); } .room.off small { padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(17, 17, 17, .4); }
.room:hover { border-color: rgba(17, 17, 17, .5); }
.room-intro { display: grid; gap: 12px; }
.room-intro h2 { margin: 0; } .room-intro ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--muted); line-height: 1.6; }
.room-off { margin: 16px 0 0; text-align: right; }
/* 첫 화면: 움직이는 오크통 (투명 영상 — 준비되면 그림 자리를 대신한다) */
.ophero-art video.mascot { width: min(96%, 420px); aspect-ratio: 1; animation: none; filter: none; }
/* 첫 화면: 왔으면 도장 → 뭘 받나 */
.op-why { font-size: clamp(18px, 2.4vw, 22px) !important; font-weight: 700; color: var(--text) !important; word-break: keep-all; }
.op-why2 { font-size: clamp(15px, 2vw, 17px) !important; font-weight: 500; color: var(--muted, #b9b2a6) !important; margin-top: 6px; }
.td-head { display: flex; align-items: center; gap: 18px; }
.td-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 5px; margin-top: 16px; }
.td-strip .c { display: grid; justify-items: center; gap: 1px; padding: 5px 0 4px; border-radius: 9px; border: 1px solid var(--border); color: var(--muted); text-decoration: none; font-size: 11px; background: #ffffff; }
.td-strip .c i { font-style: normal; font-weight: 800; } .td-strip .c span { font-size: 15px; line-height: 1.2; }
.td-strip .c.today { border-color: var(--gold); background: var(--gold-soft); color: var(--text); }
.td-strip .c.done { color: var(--text); border-color: rgba(17, 17, 17, .35); }
.td-strip .c.past { border-style: dashed; border-color: rgba(127, 211, 154, .5); color: var(--leaf); } .td-strip .c.past .ms { font-weight: 900; color: var(--leaf); }
.td-strip .c.next { opacity: .55; } .td-strip .c.next .lk { font-size: 11px; opacity: .7; } .td-strip .c.next.g { opacity: .9; }
.td-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; font-size: 13px; font-weight: 700; }
.td-legend .l-past { color: var(--leaf); } .td-legend .l-today { color: var(--gold); } .td-legend .l-next { color: var(--muted); }
.sh-card u { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; text-decoration: none; }
.sh-card strong { font-size: 20px; font-weight: 900; color: var(--gold); letter-spacing: -.02em; }
.sh-card.pass strong { font-size: 15px; }
.optoday { margin: 28px 0 0; padding: 20px 24px; border-radius: 22px; border: 1px solid rgba(17, 17, 17, .45); background: linear-gradient(135deg, rgba(245, 181, 46, .16), rgba(245, 181, 46, .04)); }
.td-stamp { flex: none; width: 76px; height: 76px; display: grid; place-items: center; font-size: 40px; border-radius: 50%; border: 2px dashed rgba(17, 17, 17, .45); opacity: .35; }
.td-stamp.on { opacity: 1; border-style: solid; border-color: var(--gold); animation: td-drop .55s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes td-drop { 0% { transform: scale(2.4) rotate(-16deg); opacity: 0; } 100% { transform: scale(1) rotate(-6deg); opacity: 1; } }
.td-copy b { display: block; font-size: clamp(18px, 2.6vw, 23px); font-weight: 800; letter-spacing: -.02em; word-break: keep-all; }
.td-copy p { margin: 4px 0 0; color: var(--muted); font-size: 15px; word-break: keep-all; }
.opshelf { scroll-margin-top: 90px; margin: clamp(88px, 12vw, 148px) 0 72px; }
.sh-head h2 { margin: 0 0 12px; font-size: clamp(24px, 3.6vw, 32px); font-weight: 900; letter-spacing: -.02em; }
.sh-head p { margin: 0 0 32px; color: var(--muted); word-break: keep-all; }
.sh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.sh-card { position: relative; display: grid; gap: 6px; align-content: start; min-height: 136px; padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); color: inherit; text-decoration: none; }
a.sh-card:hover { border-color: rgba(17, 17, 17, .6); transform: translateY(-2px); }
.sh-card i { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--gold); }
.sh-card b { font-size: 15.5px; line-height: 1.35; word-break: keep-all; }
.sh-card s { font-size: 13px; color: var(--muted); }
.sh-card em { font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--leaf); margin-top: auto; }
.sh-card.pass { border-color: rgba(17, 17, 17, .35); background: linear-gradient(180deg, rgba(245, 181, 46, .1), transparent); } .sh-card.pass em { color: var(--gold); }
.sh-card.got { opacity: .6; }
.op-owner-h { margin: clamp(88px, 12vw, 148px) 0 10px; text-align: center; font-size: clamp(22px, 3.2vw, 28px); font-weight: 900; letter-spacing: -.02em; }
.optoday.run .c.done span { animation: td-pop .32s cubic-bezier(.3, 1.6, .5, 1) calc(var(--i) * 90ms) both; }
.optoday.run .c.today span { animation: td-drop .55s cubic-bezier(.2, 1.6, .4, 1) calc(var(--i) * 90ms) both; }
.optoday.run .c.today { animation: td-glow 1s ease-out calc(var(--n) * 90ms) both; }
.optoday.run .td-stamp { animation: td-drop .55s cubic-bezier(.2, 1.6, .4, 1) calc(var(--n) * 90ms + 120ms) both !important; }
.optoday.run .td-copy { animation: td-rise .5s ease-out calc(var(--n) * 90ms + 380ms) both; }
.opshelf.live .sh-card { animation: sh-in 7s ease-out calc(var(--i, 0) * .16s) infinite both; }
@keyframes sh-in { 0% { opacity: .2; transform: translateY(14px); } 7%, 100% { opacity: 1; transform: none; } }
@keyframes td-pop { 0% { opacity: 0; transform: scale(.4); } 100% { opacity: 1; transform: none; } }
@keyframes td-glow { 0% { box-shadow: 0 0 0 0 rgba(17, 17, 17, .7); } 100% { box-shadow: 0 0 0 12px rgba(17, 17, 17, 0); } }
@keyframes td-rise { 0% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .td-stamp.on { animation: none; transform: rotate(-6deg); } }
@media (max-width: 640px) { .optoday { padding: 16px; } .td-head { gap: 14px; } .td-strip { grid-template-columns: repeat(7, 1fr); } .td-stamp { width: 60px; height: 60px; font-size: 30px; } .sh-grid { grid-template-columns: 1fr 1fr; } }
/* 첫 화면: 사장님 대화방 (휴대폰 대화 화면 그대로) */
.opchat { display: grid; grid-template-columns: minmax(0, 390px) 1fr; gap: 40px; align-items: center; justify-content: center; max-width: 860px; margin: 24px auto 44px; }
.phone { --ch-bg: #b2c7d9; display: flex; flex-direction: column; height: 620px; border-radius: 30px; overflow: hidden; background: var(--ch-bg); color: #191919; border: 7px solid #1c1c1e; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .85); font-size: 14px; }
.ph-top { display: flex; align-items: center; gap: 8px; padding: 13px 14px; background: var(--ch-bg); font-size: 15.5px; } .ph-top b { font-weight: 700; } .ph-top .n { color: #5b6b78; font-size: 13px; } .ph-top .back { font-size: 24px; line-height: 1; margin-right: 2px; } .ph-top .ic { margin-left: auto; font-size: 18px; }
.ph-body { flex: 1; overflow-y: auto; padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 9px; scroll-behavior: smooth; scrollbar-width: none; } .ph-body::-webkit-scrollbar { display: none; }
.ph-body .day { align-self: center; margin: 2px 0 6px; } .ph-body .day span { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 11.5px; color: #fff; background: rgba(60, 80, 100, .35); }
.m { display: flex; gap: 6px; align-items: flex-end; }
.m p { margin: 0; padding: 7px 10px; font-size: 14px; line-height: 1.42; border-radius: 12px; max-width: 228px; word-break: keep-all; }
.m time { flex: none; font-size: 10px; color: #55636e; white-space: nowrap; }
.m.me { justify-content: flex-end; } .m.me p { position: relative; background: #fee500; border-top-right-radius: 3px; }
.m.you { align-items: flex-start; } .m.you img { flex: none; width: 38px; height: 38px; object-fit: contain; border-radius: 14px; background: #efe6d4; padding: 2px; }
.m.you b { display: block; margin: 0 0 3px; font-size: 12px; font-weight: 500; color: #3a4650; } .m.you .b { display: flex; gap: 5px; align-items: flex-end; } .m.you p { background: #fff; border-top-left-radius: 3px; }
.phone.anim .m { opacity: 0; transform: translateY(10px); max-height: 0; overflow: hidden; margin-top: -9px; transition: opacity .28s, transform .28s; }
.phone.anim .m.show { opacity: 1; transform: none; max-height: 200px; margin-top: 0; overflow: visible; }
.ph-input { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #fff; color: #8a8a8a; font-size: 14px; } .ph-input .plus { font-size: 17px; color: #555; } .ph-input .ph { flex: 1; } .ph-input .send { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #fee500; color: #333; font-size: 13px; }
.opchat-side { display: grid; gap: 22px; justify-items: start; }
.opchat-side .op-verse2 { flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; color: var(--text); letter-spacing: -.02em; }
.opchat-side .btn { font-size: 16px; padding: 14px 22px; }
@media (max-width: 760px) { .opchat { grid-template-columns: minmax(0, 390px); gap: 24px; } .phone { height: 560px; } .opchat-side { justify-items: center; text-align: center; } .opchat-side .op-verse2 { align-items: center; } }
.op-owner-s { margin: 0; text-align: center; color: var(--muted); font-size: 16px; }
/* 글: 받은 다음 칸 */
.afterbox { display: grid; grid-template-columns: auto 1fr auto; gap: 10px 14px; align-items: center; margin-top: 18px; padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(17, 17, 17, .45); background: linear-gradient(135deg, rgba(245, 181, 46, .14), rgba(245, 181, 46, .03)); }
.af-stamp { font-size: 30px; transform: rotate(-6deg); }
.af-t b { display: block; font-size: 16px; font-weight: 800; word-break: keep-all; } .af-t p { margin: 2px 0 0; color: var(--muted); font-size: 14px; word-break: keep-all; }
.af-verse { grid-column: 1 / -1; margin: 2px 0 0; font-size: 13px; color: var(--muted); } .af-verse a { color: var(--gold); font-weight: 700; text-decoration: none; margin-left: 4px; }
@media (max-width: 640px) { .afterbox { grid-template-columns: auto 1fr; } .afterbox .btn { grid-column: 1 / -1; justify-self: stretch; text-align: center; } }
/* 새 홈: 이름 하나 */
.ophome { display: grid; justify-items: center; align-content: center; gap: 16px; min-height: calc(100vh - 200px); padding: 8px 0 32px; text-align: center; }
.hm-art { position: relative; display: grid; place-items: center; width: min(100%, 460px); min-height: 330px; }
.hm-art .halo { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: var(--surface); }
.hm-art .mascot { position: relative; width: 250px; height: auto; } .hm-art video.mascot { width: 330px; aspect-ratio: 1; }
.hm-pops { position: absolute; inset: 0; pointer-events: none; }
.hm-pops .pop { position: absolute; padding: 8px 12px; max-width: 210px; border-radius: 14px; background: #ffffff; border: 1px solid rgba(17, 17, 17, .4); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .9); font-size: 13.5px; font-weight: 700; color: var(--text); word-break: keep-all; animation: hm-pop .4s cubic-bezier(.2, 1.4, .4, 1) both; }
.hm-pops .s0 { top: 16px; left: 0; } .hm-pops .s1 { top: 90px; right: 0; } .hm-pops .s2 { bottom: 70px; left: 6px; } .hm-pops .s3 { bottom: 16px; right: 12px; }
@keyframes hm-pop { 0% { transform: translateY(8px) scale(.85); opacity: 0; } 100% { transform: none; opacity: 1; } }
.hm-form { display: flex; gap: 8px; width: min(100%, 420px); }
.hm-form input { flex: 1; min-width: 0; padding: 15px 16px; font: inherit; font-size: 17px; font-weight: 700; text-align: center; color: var(--text); background: #ffffff; border: 1px solid rgba(17, 17, 17, .5); border-radius: 14px; }
.hm-form input:focus { outline: 2px solid var(--gold); }
.hm-form .btn { flex: none; padding: 0 20px; font-size: 16px; white-space: nowrap; }
.hm-sub { margin: 0; color: var(--muted); font-size: 14px; }
.hm-how { color: var(--subtle); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.ophow-top { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 26px 0 8px; } .ophow-top h1 { margin: 0; font-size: clamp(26px, 4vw, 36px); font-weight: 900; } .ophow-top p { margin: 0; color: var(--muted); }
.welcome { display: grid; gap: 10px; margin-bottom: 14px; border-color: rgba(17, 17, 17, .6); } .welcome h2 { margin: 0; }
@media (max-width: 480px) { .hm-art { min-height: 290px; } .hm-art video.mascot { width: 280px; } .hm-pops .pop { font-size: 12.5px; max-width: 165px; } }
@media (prefers-reduced-motion: reduce) { .hm-pops .pop { animation: none; } }
/* 첫 화면: 삼행시(오·크·팟) */
.op-verse { display: grid; gap: 2px; margin: 0 0 14px; font-size: clamp(30px, 4.6vw, 42px); font-weight: 900; letter-spacing: -.02em; line-height: 1.26; word-break: keep-all; }
.op-verse > span { display: block; } .op-verse em { font-style: normal; color: var(--gold); margin-right: 1px; } .op-verse > span > span { font-size: .8em; }
.op-verse2 { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; margin: 0 0 16px; font-size: 16px; font-weight: 700; color: var(--muted); word-break: keep-all; }
.op-verse2 em { font-style: normal; color: var(--gold); font-weight: 900; }
@media (max-width: 640px) { .op-verse2 { flex-direction: column; align-items: center; gap: 2px; } }
/* 첫 화면: 플래너 달력 캡처 + 깜빡이는 선물 */
.opdemo { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: 28px; align-items: center; margin: 8px 0 36px; }
.opdemo-pic { position: relative; display: block; container-type: inline-size; border-radius: 22px; overflow: hidden; border: 1px solid rgba(17, 17, 17, .25); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .03) inset; }
.opdemo-pic img { display: block; width: 100%; height: auto; }
.opdemo-pic .g { position: absolute; transform: translate(-50%, -50%); font-size: clamp(16px, 4.6cqw, 26px); line-height: 1; pointer-events: none; filter: drop-shadow(0 0 6px rgba(245, 181, 46, .9)); }
.opdemo-pic .g.ready { animation: op-gift 1.6s ease-in-out infinite; }
.opdemo-pic .g.open { font-size: clamp(12px, 3cqw, 18px); animation: op-spark 2.4s ease-in-out infinite; opacity: .9; }
.opdemo-pic .g.d2 { animation-delay: .5s; } .opdemo-pic .g.d3 { animation-delay: 1s; }
@keyframes op-gift { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 50% { transform: translate(-50%, -50%) scale(1.35) rotate(-8deg); opacity: .75; } }
@keyframes op-spark { 0%, 100% { opacity: .25; transform: translate(-50%, -50%) scale(.8); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .opdemo-pic .g { animation: none; } }
.opdemo-copy b { display: block; font-size: 22px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 8px; }
.opdemo-copy p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 15px; word-break: keep-all; }
@media (max-width: 760px) { .opdemo { grid-template-columns: 1fr; gap: 14px; } .opdemo-copy b { font-size: 19px; } }
/* 이달의 선물 방 */
.ld { display: grid; gap: 12px; margin-bottom: 14px; }
.ld h3 { margin: 0; }
.ld-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.ld-h .note { margin: 4px 0 0; }
.ld-month { display: flex; align-items: center; gap: 8px; } .ld-month b { font-size: 16px; min-width: 64px; text-align: center; }
.ld-nums { margin: 0; }
.ld-empty { display: grid; gap: 8px; justify-items: start; padding: 14px 16px; border: 1px dashed rgba(17, 17, 17, .4); border-radius: 12px; } .ld-empty p { margin: 0; }
.ld-rows { display: grid; gap: 8px; }
.ld-row { display: grid; grid-template-columns: 84px 92px 1fr auto; gap: 8px; align-items: end; }
.ld-row label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); } .ld-row input, .ld-row select { width: 100%; }
.ld-pass { display: grid; gap: 4px; font-size: 13px; color: var(--muted); } .ld-pass small { font-size: 12px; }
.ld-where { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.6; display: grid; gap: 4px; }
@media (max-width: 640px) { .ld-row { grid-template-columns: 1fr 1fr; } .ld-row label.grow { grid-column: 1 / -1; } }
/* 출석 선물 상자 (글 화면) */
.attbox { display: grid; gap: 8px; }
.att-bar { height: 10px; border-radius: 999px; background: #ffffff; overflow: hidden; } .att-bar i { display: block; height: 100%; border-radius: 999px; background: var(--surface); }
.att-n { margin: 0; font-weight: 800; color: var(--gold); }
/* 미션으로 보충 · 댓글 */
.att-n small { font-weight: 700; color: var(--leaf); margin-left: 6px; }
.ms-sheet { display: grid; gap: 10px; }
.ms-award { margin: 0; font-weight: 800; color: var(--gold); }
.ms-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ms-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.ms-row b { display: block; font-size: 14px; } .ms-row small { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; }
.ms-d { font-weight: 900; color: var(--gold); text-align: center; }
.ms-row.done { opacity: .6; } .ms-row.done em { color: var(--leaf); font-style: normal; font-weight: 800; }
.ms-row.opt { border-style: dashed; }
.ms-more summary { cursor: pointer; font-size: 13px; color: var(--muted); padding: 6px 2px; }
.cmbox { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.cmbox h2 { font-size: 16px; margin: 0; }
.cm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cm { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.cm b { font-size: 13px; } .cm b i { font-style: normal; font-size: 11px; color: var(--gold); margin-left: 4px; }
.cm span { font-size: 14px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.cm small { font-size: 11.5px; color: var(--subtle); } .cm small .link { font-size: 11.5px; }
.cm.owner { border-color: rgba(17, 17, 17, .35); }
.cm-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.cm-form textarea { width: 100%; resize: vertical; font: inherit; }
/* 퍼뜨리기 방 */
.sp-week, .sp-best { display: grid; gap: 10px; margin-bottom: 14px; }
.sp-week h3, .sp-best h3 { margin: 0; }
.sp-week-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.sp-week-h .note, .sp-best p { margin: 4px 0 0; }
.sp-goal { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.sp-goal select { width: auto; padding: 6px 8px; }
.sp-bar { height: 8px; border-radius: 999px; background: #ffffff; overflow: hidden; }
.sp-bar i { display: block; height: 100%; border-radius: 999px; background: var(--surface); transition: width .3s; }
.sp-best p { font-size: 15px; line-height: 1.65; }
.sp-rows { display: grid; gap: 10px; margin-top: 10px; }
.sp-row { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.sp-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; } .sp-title small { color: var(--subtle); font-size: 12.5px; }
.sp-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sp-chip { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; padding: 6px 10px 6px 6px; border-radius: 999px; color: var(--muted); background: transparent; border: 1px solid var(--border); }
.sp-chip i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 11px; font-style: normal; font-weight: 800; }
.sp-chip small { font-weight: 600; font-size: 11px; color: var(--subtle); }
.sp-chip.done { color: var(--text); border-color: rgba(120, 200, 120, .45); } .sp-chip.done small { color: var(--leaf); }
.sp-chip.on { border-color: rgba(17, 17, 17, .7); background: var(--gold-soft); color: var(--text); }
.sp-chip:hover { border-color: rgba(17, 17, 17, .5); }
.sp-panel:empty { display: none; }
.sp-thread:empty { display: none; }
.sp-thread { display: grid; gap: 8px; }
.sp-tp { display: grid; gap: 6px; }
.sp-tp textarea { width: 100%; box-sizing: border-box; }
.sp-panel { display: grid; gap: 8px; padding-top: 8px; border-top: 1px dashed var(--border); }
.sp-l { display: grid; gap: 4px; font-size: 13px; color: var(--muted); } .sp-l textarea { font: inherit; font-size: 14.5px; line-height: 1.6; resize: vertical; }
.sp-urlrow { margin: 0; word-break: break-all; } .sp-urlrow code { color: var(--gold); font-size: 12.5px; }
.sp-hp { margin-top: 12px; } .sp-hp a { color: var(--gold); }
@media (max-width: 820px) { .rooms { display: flex; overflow-x: auto; scrollbar-width: none; } .room { flex: 0 0 auto; } }

/* 첫 화면: 하려는 일 카드 셋 */
.oprooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0 10px; }
.oproom { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: 22px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.oproom:hover { border-color: rgba(17, 17, 17, .6); transform: translateY(-2px); }
.oproom h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.oproom p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.oproom b { margin-top: 6px; color: var(--gold); font-size: 14px; }
@media (max-width: 820px) { .oprooms { grid-template-columns: 1fr; } }

/* 홈: 오크팟이 하는 일을 한 장면에 하나씩 */
.opslides { --ss-th: #111; --ss-ig: #e1306c; --ss-ka: #fee500; --ss-bl: #03c75a; margin-top: clamp(72px, 10vw, 120px); }
.ss-track { display: grid; gap: 24px; }
.ss-slide { min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 320px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--border); border-radius: 24px; background: var(--surface); }
.ss-slide:nth-child(odd):not(.ss-cover) .ss-copy { order: 2; }
.ss-cover { grid-template-columns: minmax(0, 1fr); gap: 18px; min-height: 0; padding: 0 0 20px; justify-items: center; align-content: center; text-align: center; border: 0; background: none; }
.ss-head { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 .3em; margin: 0; font-size: clamp(30px, 5.2vw, 58px); font-weight: 800; line-height: 1.3; letter-spacing: -.03em; }
.ss-head b { color: var(--gold); font-weight: 800; }
.ss-dial { display: block; height: 1.3em; overflow: hidden; text-align: right; -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); }
#ssDial { display: block; transition: transform .5s cubic-bezier(.3, 1.5, .5, 1); }
#ssDial > span { display: block; height: 1.8em; white-space: nowrap; }
.ss-cover p { margin: 0; color: var(--muted); font-size: 16px; }
.ss-copy small::first-letter { text-transform: uppercase; }
.ss-copy small { display: block; margin-bottom: 10px; color: var(--subtle); font-size: 13px; font-weight: 700; }
.ss-copy q { display: block; color: var(--gold); font-size: 15px; font-weight: 700; quotes: none; word-break: keep-all; }
.ss-sub { color: var(--muted); font-size: 14px; }
.ss-chips { display: flex; flex-wrap: wrap; gap: 8px; } .ss-chips span { padding: 8px 14px; border: 1px solid var(--c); border-radius: 999px; color: var(--c); font-size: 14px; font-weight: 600; }
.ss-copy h3 { margin: 10px 0 14px; font-size: clamp(27px, 3.6vw, 38px); font-weight: 800; line-height: 1.25; letter-spacing: -.03em; word-break: keep-all; }
.ss-copy p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; word-break: keep-all; }
.ss-scene { display: grid; gap: 12px; align-content: center; min-width: 0; }
.ss-post, .ss-link, .ss-list li { border-radius: 14px; background: #ffffff; }
.ss-post { display: grid; gap: 14px; padding: 22px; } .ss-post b { font-size: 18px; }
.ss-gift { justify-self: start; padding: 5px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: 14px; font-weight: 700; }
.ss-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-size: 14px; color: var(--muted); }
.ss-link span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ss-link em { flex: none; color: var(--gold); font-style: normal; font-weight: 700; }
.ss-type { color: var(--gold); font-style: normal; font-weight: 700; }
.ss-type::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.14em; background: var(--gold); animation: ssCaret 1s steps(2) infinite; }
.ss-slide:not(.live) .ss-type::after { display: none; }
@keyframes ssCaret { 50% { opacity: 0; } }
.ss-cap { display: flex; justify-content: space-between; margin: 0 0 2px; font-size: 15px; font-weight: 700; } .ss-cap i { color: var(--subtle); font-size: 13px; font-style: normal; font-weight: 500; }
.ss-list, .ss-bars { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ss-list li { display: flex; justify-content: space-between; padding: 14px 18px; font-size: 15px; } .ss-list em { color: var(--muted); font-size: 13px; font-style: normal; }
.ss-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; } .ss-days i { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--border); border-radius: 50%; font-size: 16px; font-style: normal; }
.ss-days i.on { border-color: var(--gold-strong); background: var(--gold-strong); } .ss-days i.box { border-color: var(--gold); border-radius: 26%; }
.ss-bars li { display: grid; gap: 6px; font-size: 14px; color: var(--muted); } .ss-bars u { display: block; height: 10px; border-radius: 5px; background: var(--c); text-decoration: none; transform-origin: left; }
/* 장면의 움직임: 지금 보는 장(.live)에서만 돈다. 기본 상태는 다 끝난 모습이라 움직임을 꺼도 내용은 그대로 */
.ss-flip { position: relative; height: 150px; perspective: 900px; }
.ss-flip-in { position: absolute; inset: 0; }
.ss-face { position: absolute; inset: 0; }
.ss-bars.ss-face { align-content: center; }
.ss-back { display: flex; align-items: center; gap: 18px; visibility: hidden; }
.ss-donut svg { flex: none; width: 140px; height: 140px; transform: rotate(-90deg); }
.ss-donut circle { fill: none; stroke: var(--c); stroke-width: 15; stroke-dasharray: var(--l) 289; stroke-dashoffset: var(--o); }
.ss-mid { position: absolute; left: 0; top: 50%; display: grid; justify-items: center; width: 140px; margin: 0; transform: translateY(-50%); line-height: 1.2; }
.ss-mid b { font-size: 22px; } .ss-mid span { color: var(--muted); font-size: 12px; }
.ss-donut ul { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.ss-donut li::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: var(--c); }
.live .ss-bars.ss-face { animation: ssFront 9s linear infinite; } .live .ss-back { visibility: visible; animation: ssBack 9s linear infinite; }
.live .ss-bars u { animation: ssGrow 9s cubic-bezier(.2, .7, .2, 1) infinite both; }
.live .ss-bars li:nth-child(2) u { animation-delay: .15s; } .live .ss-bars li:nth-child(3) u { animation-delay: .3s; }
.live .ss-donut circle:nth-child(1) { animation: ssDraw1 9s ease-out infinite both; } .live .ss-donut circle:nth-child(2) { animation: ssDraw2 9s ease-out .25s infinite both; } .live .ss-donut circle:nth-child(3) { animation: ssDraw3 9s ease-out .5s infinite both; }
/* 사파리는 안쪽 요소가 따로 움직이면 뒷면 숨기기가 깨진다. 그래서 두 면을 따로 돌리고, 옆으로 선 순간에 서로 바꾼다 */
@keyframes ssFront { 0%, 36% { opacity: 1; transform: perspective(900px) rotateY(0); } 41.9% { opacity: 1; transform: perspective(900px) rotateY(90deg); } 42%, 92% { opacity: 0; transform: perspective(900px) rotateY(90deg); } 92.1% { opacity: 1; transform: perspective(900px) rotateY(-90deg); } 98%, 100% { opacity: 1; transform: perspective(900px) rotateY(0); } }
@keyframes ssBack { 0%, 41.9% { opacity: 0; transform: perspective(900px) rotateY(-90deg); } 42% { opacity: 1; transform: perspective(900px) rotateY(-90deg); } 48%, 86% { opacity: 1; transform: perspective(900px) rotateY(0); } 91.9% { opacity: 1; transform: perspective(900px) rotateY(90deg); } 92%, 100% { opacity: 0; transform: perspective(900px) rotateY(90deg); } }
@keyframes ssGrow { 0% { transform: scaleX(0); } 12%, 100% { transform: scaleX(1); } }
@keyframes ssDraw1 { 0%, 42% { stroke-dasharray: 0 289; } 58%, 100% { stroke-dasharray: 144.5 289; } }
@keyframes ssDraw2 { 0%, 42% { stroke-dasharray: 0 289; } 58%, 100% { stroke-dasharray: 92.5 289; } }
@keyframes ssDraw3 { 0%, 42% { stroke-dasharray: 0 289; } 58%, 100% { stroke-dasharray: 52 289; } }

.ss-prog { display: block; height: 6px; overflow: hidden; border-radius: 3px; background: #ffffff; } .ss-prog u { display: block; height: 100%; background: var(--gold); text-decoration: none; transform-origin: left; }
.live .ss-up { animation: ssDrop 7s ease-out infinite; } .live .ss-prog u { animation: ssFill 7s ease-in-out infinite; }
.live .ss-gift { animation: ssPop 7s cubic-bezier(.3, 1.5, .5, 1) infinite; } .live .ss-after { animation: ssAfter 7s ease-out infinite; }
@keyframes ssDrop { 0% { opacity: 0; transform: translateY(-16px); } 8%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ssFill { 0%, 8% { transform: scaleX(0); } 34%, 100% { transform: scaleX(1); } }
@keyframes ssPop { 0%, 36% { opacity: 0; transform: scale(.6); } 44%, 100% { opacity: 1; transform: none; } }
@keyframes ssAfter { 0%, 50% { opacity: 0; transform: translateY(8px); } 58%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.ss-arrive { position: relative; justify-self: center; width: 2px; height: 26px; overflow: hidden; background: var(--border); } .ss-arrive u { position: absolute; left: 0; top: 0; width: 100%; height: 12px; background: var(--gold); text-decoration: none; }
.live .ss-chips span { animation: ssLit 4.8s linear var(--d, 0s) infinite; } .live .ss-arrive u { animation: ssRun 1.2s linear infinite; } .live .ss-beat { animation: ssBeat 1.2s ease-out infinite; }
@keyframes ssLit { 0%, 22%, 100% { background: transparent; } 4%, 18% { background: color-mix(in srgb, var(--c) 24%, transparent); } }
@keyframes ssRun { 0% { transform: translateY(-14px); } 100% { transform: translateY(28px); } }
@keyframes ssBeat { 0%, 30% { box-shadow: 0 0 0 0 rgba(17, 17, 17, 0); } 45% { box-shadow: 0 0 0 2px rgba(17, 17, 17, .75); } 100% { box-shadow: 0 0 0 9px rgba(17, 17, 17, 0); } }

.ss-code { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; background: #ffffff; font-size: 15px; }
.ss-code code { display: inline-block; overflow: hidden; width: 8ch; white-space: nowrap; font-family: ui-monospace, Menlo, monospace; } .ss-code em { margin-left: auto; color: var(--gold); font-style: normal; font-weight: 700; } .ss-lock { display: none; margin-left: auto; }
.live .ss-code code { animation: ssCode 7s steps(8) infinite; } .live .ss-lock { display: block; animation: ssLockOut 7s step-end infinite; } .live .ss-code em { position: absolute; right: 18px; animation: ssOpen 7s ease-out infinite; } .ss-code { position: relative; }
@keyframes ssCode { 0%, 6% { width: 0; } 34%, 100% { width: 8ch; } }
@keyframes ssLockOut { 0%, 42% { opacity: 1; } 43%, 100% { opacity: 0; } }
@keyframes ssOpen { 0%, 42% { opacity: 0; transform: scale(.8); } 50%, 100% { opacity: 1; transform: none; } }

.ss-clean { position: relative; } .ss-pill { padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: 12px; font-weight: 700; white-space: nowrap; }
.ss-out { position: absolute; right: 16px; top: 16px; opacity: 0; } .ss-land { transition: none; } .ss-land > span:first-child { flex: 1; white-space: normal; }
.live .ss-out { animation: ssOut 7s ease-in-out infinite; } .live .ss-in { animation: ssIn 7s ease-out infinite; } .live .ss-land { animation: ssLand 7s ease-out infinite; }
@keyframes ssOut { 0%, 26% { opacity: 1; transform: none; } 42%, 100% { opacity: 0; transform: translateY(70px); } }
@keyframes ssIn { 0%, 40% { opacity: 0; transform: translateY(-14px); } 50%, 100% { opacity: 1; transform: none; } }
@keyframes ssLand { 0%, 44% { box-shadow: 0 0 0 0 rgba(17, 17, 17, 0); } 54%, 92% { box-shadow: 0 0 0 1px rgba(17, 17, 17, .7); } 100% { box-shadow: 0 0 0 0 rgba(17, 17, 17, 0); } }
@media (max-width: 760px) { .ss-slide { grid-template-columns: minmax(0, 1fr); gap: 24px; align-content: start; min-height: 0; } .ss-slide:nth-child(odd):not(.ss-cover) .ss-copy { order: 0; } .ss-cover { align-content: center; } .ss-head { flex-direction: column; } .ss-dial { text-align: center; } .ss-scene { min-height: 190px; } }

/* 스튜디오: 진짜 내 홈페이지를 폰 화면으로 + 채울 것 목록 */
.hc { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px; align-items: start; max-width: 100%; min-width: 0; }
.hc > * { min-width: 0; max-width: 100%; }
.hc-phone { overflow: hidden; height: 640px; border: 8px solid #1b1b1e; border-radius: 34px; background: #ffffff; box-shadow: 0 24px 70px rgba(0, 0, 0, .5); }
.hc-phone iframe { display: block; width: 1px; min-width: 100%; height: 100%; border: 0; }   /* 아이폰은 iframe 이 안쪽 내용만큼 넓어지려 해서 1px + min-width 로 묶는다 */
.hc-side h3 { margin: 4px 0 6px; font-size: 24px; letter-spacing: -.02em; }
.hc-bar { height: 8px; margin-top: 16px; overflow: hidden; border-radius: 4px; background: #ffffff; } .hc-bar u { display: block; height: 100%; background: var(--gold); text-decoration: none; transition: width .6s; }
.hc-n { margin: 8px 0 14px; color: var(--muted); font-size: 14px; }
.hc-list { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.hc-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-size: 15px; text-align: left; cursor: pointer; } .hc-list button:hover { border-color: rgba(17, 17, 17, .5); }
.hc-list i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--border); border-radius: 50%; color: #16120a; font-size: 13px; font-style: normal; font-weight: 800; } .hc-list .on i { border-color: var(--gold); background: var(--gold); } .hc-list span { flex: 1; min-width: 0; }
.hc-list .on span { color: var(--muted); } .hc-list em { flex: none; color: var(--gold); font-size: 13px; font-style: normal; font-weight: 700; }
@media (max-width: 860px) { .hc { grid-template-columns: minmax(0, 1fr); } .hc-phone { justify-self: center; width: min(100%, 340px); height: 560px; } }
/* 미리보기 안에서는 머리글·바닥글을 숨기고 내용만 */
html.pv-embed #appHeader, html.pv-embed #appFooter { display: none; }
html.pv-embed, html.pv-embed body { overflow-x: hidden; max-width: 100%; }

/* 내 페이지의 칸: 이달의 선물 · 상품 · 문의 */
.hs { margin: 48px 0 0; } .hs .note { margin: 4px 0 0; }
.hs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-top: 16px; }
.hs-card { position: relative; display: grid; gap: 6px; align-content: start; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); color: var(--text); text-decoration: none; } .hs-card:hover { border-color: rgba(17, 17, 17, .5); }
.hs-card i { color: var(--gold); font-size: 14px; font-style: normal; font-weight: 800; } .hs-card b { font-size: 15px; line-height: 1.35; word-break: keep-all; } .hs-card > span { position: absolute; right: 12px; top: 12px; }
.hs-card img { width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; object-fit: cover; } .hs-card small { color: var(--muted); font-size: 13px; line-height: 1.45; } .hs-card em { color: var(--gold); font-size: 13px; font-style: normal; font-weight: 700; }
.hs-contact { text-align: center; } .hs-contact .btns { justify-content: center; margin-top: 14px; }

/* 내 페이지 광고 칸 · 스튜디오 링크 붙여 넣기 */
.hs-ads { display: grid; gap: 12px; } .hs-ad { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); color: var(--text); text-decoration: none; }
.hs-ad em { color: var(--subtle); font-size: 12px; font-style: normal; } .hs-ad b { font-size: 16px; } .hs-ad span { color: var(--muted); font-size: 14px; } .hs-ad i { color: var(--gold); font-size: 14px; font-style: normal; font-weight: 700; }
.hs-note { margin: 10px 0 0; color: var(--subtle); font-size: 12px; line-height: 1.6; }
.lk { display: grid; gap: 8px; margin-bottom: 26px; padding: 18px; border: 1px solid rgba(17, 17, 17, .45); border-radius: 16px; background: var(--gold-soft); } .lk b { font-size: 18px; } .lk .note { margin: 0; }
.lk-ok { margin: 6px 0; color: var(--gold); font-weight: 700; } .lk-how { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
#inAppModal .sheet { display: grid; gap: 10px; } #inAppModal a.btn { text-align: center; text-decoration: none; }

/* 스튜디오: 내 링크 한 줄 */
.lrow { display: grid; gap: 6px; padding: 10px; border: 1px solid var(--border); border-radius: 12px; }

/* 내 페이지: 첫 화면 버튼 · 소식 받기 · 스튜디오 글 찍어내기 */
.hh-cta { justify-self: start; margin: 4px 0 2px; }  .hh-cta-w { display: flex; justify-content: center; margin-top: 18px; } #hsLib { scroll-margin-top: 80px; }
.hs-follow { display: grid; gap: 8px; justify-items: center; padding: 26px 20px; border: 1px solid rgba(17, 17, 17, .4); border-radius: 18px; background: var(--gold-soft); text-align: center; } .hs-follow b { font-size: 18px; } .hs-follow .note { margin: 0 0 6px; }
.mk-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; } #mkEd:not([hidden]) { display: grid; gap: 8px; margin-top: 4px; } #mkImg { width: 100%; max-height: 220px; border-radius: 12px; object-fit: cover; }

/* 프로필 첫 화면: 왼쪽 큰 문장 + 오른쪽 사진 틀(/go 와 같은 틀) */
.pf { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(16px, 5vw, 64px); align-items: center; padding: clamp(18px, 4vw, 44px) 0 8px; }
.pf-copy { display: grid; gap: 12px; min-width: 0; }
.pf-name { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--muted); font-size: 15px; font-weight: 700; } .pf-name i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #fff; color: #111; font-size: 14px; font-style: normal; font-weight: 800; }
.pf-line span { display: block; }
.pf-line { margin: 0; font-size: clamp(24px, 4.6vw, 52px); font-weight: 800; line-height: 1.2; letter-spacing: -.03em; word-break: keep-all; }
.pf-bio { margin: 0; max-width: 46ch; color: var(--muted); font-size: clamp(14px, 1.6vw, 17px); line-height: 1.7; white-space: pre-line; word-break: keep-all; }
.pf-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-frame { position: relative; display: grid; place-items: center; overflow: hidden; container-type: inline-size; width: 100%; max-width: 340px; justify-self: end; aspect-ratio: 3 / 4.6; border: 1px solid rgba(255, 255, 255, .14); border-radius: 26px; background: linear-gradient(160deg, #2b2112, #12100b 70%); box-shadow: 0 30px 90px rgba(0, 0, 0, .55); }
.pf-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf .hh-cta { justify-self: start; }
@media (max-width: 760px) { .pf-copy .ptags { gap: 5px; } .pf-copy .pill { font-size: 11px; } .pf-frame { border-radius: 16px; } }

/* 제가 하고 있는 것들: 한 줄 목록 */
.hl-list { display: grid; gap: 8px; }
.hl-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 14px 8px 8px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); text-decoration: none; }
.hl-row:hover { border-color: rgba(17, 17, 17, .5); text-decoration: none; }
.hl-row img, .hl-row i { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; } .hl-row i { display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-style: normal; font-weight: 800; }
.hl-row span { display: grid; gap: 1px; min-width: 0; } .hl-row b { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; } .hl-row small { overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; } .hl-row em { color: var(--gold); font-style: normal; font-weight: 700; }
/* 무료 자료도 같은 한 줄로 */
.hp-lib .gcards { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.hp-lib .gcard { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 1px; padding: 12px 14px; border-radius: 14px; }
.hp-lib .gcard.has-cover { grid-template-columns: 52px minmax(0, 1fr); column-gap: 12px; padding: 8px 14px 8px 8px; }
.hp-lib .g-cover { grid-row: 1 / 3; width: 52px; height: 52px; margin: 0; padding: 0; border-radius: 10px; object-fit: cover; }
.hp-lib .g-tags, .hp-lib .g-meta, .hp-lib .g-go { display: none; }
.hp-lib .g-title { overflow: hidden; font-size: 15px; font-weight: 700; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.hp-lib .g-desc { overflow: hidden; display: block; font-size: 13px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }

/* 프로필 템플릿: 색과 사진 틀만 다르다 */
.pf { --tp: #111; }   /* 11/12: 템플릿 색 포인트는 없앰 — 검은 버튼 */
.pf-name { color: var(--text); } .pf .hh-cta { background: #111; border-color: #111; color: #fff; }
.pf.t-seller .pf-frame { aspect-ratio: 1; } .pf.t-store .pf-frame { aspect-ratio: 4 / 3; } .pf.t-sales .pf-frame { aspect-ratio: 1; border-radius: 50%; }
.pf-frame em { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 12px; font-style: normal; }
.pf.t-sales .pf-frame em { left: 50%; transform: translateX(-50%); }
.tp { margin-bottom: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); } .tp-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tp .note { margin: 14px 0 10px; } .tp-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.tp-grid button { display: grid; gap: 6px; padding: 6px; border: 2px solid var(--border); border-radius: 14px; background: none; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; } .tp-grid button.on { border-color: var(--gold); } .tp-grid img { width: 100%; aspect-ratio: 3 / 4; border-radius: 9px; object-fit: cover; }
@media (max-width: 640px) { .tp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 사진 틀을 작은 홈페이지처럼: 위 메뉴, 아래 이름 (/go 와 같은 모습) */
.pf-frame::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 20%, transparent 55%, rgba(8, 7, 5, .92)); pointer-events: none; }
.pf-nav { position: absolute; z-index: 2; top: 5cqw; left: 6cqw; right: 6cqw; display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 4cqw; font-weight: 600; }
.pf-nav > span { display: grid; place-items: center; width: 11cqw; height: 11cqw; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; } .pf-nav p { display: flex; gap: 4cqw; margin: 0; } .pf-nav a { color: #fff; opacity: .85; text-decoration: none; }
.pf-over { position: absolute; z-index: 2; left: 6cqw; right: 6cqw; bottom: 8cqw; display: grid; gap: 1.5cqw; color: #fff; text-align: left; } .pf-over b { font-size: 11cqw; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; overflow-wrap: anywhere; } .pf-over span { color: rgba(255, 255, 255, .78); font-size: 4.2cqw; font-weight: 500; }
.pf-frame em { z-index: 3; left: auto; right: 4cqw; top: 19cqw; bottom: auto; padding: 1cqw 3cqw; font-size: 3.2cqw; }
.pf.t-sales .pf-frame em { left: auto; right: 4cqw; transform: none; }
.pf-change { position: absolute; z-index: 3; left: 6cqw; right: 6cqw; bottom: 32cqw; padding: 2.4cqw; border-radius: 8px; background: #fff; color: #111; font-size: 3.8cqw; font-weight: 700; text-align: center; text-decoration: none; }
.pf.t-seller .pf-frame, .pf.t-store .pf-frame, .pf.t-sales .pf-frame { aspect-ratio: 3 / 4.6; border-radius: 26px; }

/* 소개 글 */
.hs-about { display: grid; gap: 10px; padding: 26px 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); } .hs-about .sec-h { margin: 0; } .hs-about p { margin: 0; color: var(--text); font-size: 16px; line-height: 1.8; white-space: pre-line; word-break: keep-all; } .hs-about p.eg { color: var(--muted); } .hs-about .btn { justify-self: start; }
.ab-rows { display: grid; gap: 10px; } .ab-row { display: grid; gap: 4px; } .ab-row p { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; } .ab-row span { color: var(--gold); font-size: 13px; font-weight: 700; }
.pf-frame.mine::before { background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 20%); }

/* 우리 상품 달기 */
.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sp-grid button { display: grid; gap: 5px; padding: 6px; border: 2px solid var(--border); border-radius: 14px; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; } .sp-grid button.on { border-color: var(--gold); } .sp-grid img { width: 100%; aspect-ratio: 16 / 10; border-radius: 9px; object-fit: cover; } .sp-grid b { font-size: 13px; line-height: 1.3; } .sp-grid em { color: var(--gold); font-size: 12px; font-style: normal; font-weight: 700; }
.hl-row:has(u) { grid-template-columns: 52px minmax(0, 1fr) auto auto; } .hl-row u { color: var(--subtle); font-size: 11px; text-decoration: none; }
@media (max-width: 640px) { .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 내 사이트 */
.si-l { display: grid; gap: 5px; margin-top: 10px; font-size: 14px; font-weight: 700; } .si-l input { width: 100%; box-sizing: border-box; }
.tl-g { margin: 14px 0 8px; font-size: 14px; }
.tl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tl-grid button { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: none; color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.tl-grid button.on { border-color: var(--gold); background: var(--gold-soft); }
.si-go { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
@media (max-width: 640px) { .tl-grid { grid-template-columns: 1fr; } }

/* 폰: 머리줄이 좁아 «내 페이지 열기»가 로고를 덮는다. 홈 · 설명서 본문에 같은 버튼이 있다 */
@media (max-width: 520px) { #openBtn { display: none; } }



.opshort { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 10px; max-width: none; margin: 22px 0 40px; }
.opshort a { display: grid; justify-items: center; gap: 8px; text-decoration: none; color: var(--text); font-size: 14px; font-weight: 700; text-align: center; word-break: keep-all; }
.opshort a { --c: #111; }
.opshort i { font-style: normal; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 22px; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); border: 1px solid color-mix(in srgb, var(--c) 32%, transparent); transition: transform .15s, background .15s; }
.opshort svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.opshort a:hover i { transform: translateY(-2px); background: color-mix(in srgb, var(--c) 26%, transparent); }
.opshort a.hot i { background: var(--c); color: #1b1608; border-color: transparent; }
@media (max-width: 760px) { .opshort { margin: 22px 0 28px; } .opshort i { width: 58px; height: 58px; } .opshort svg { width: 26px; height: 26px; } .opshort a { font-size: 13px; } }

/* ── 홈 첫 화면 (11/01 다마고치식): 카드 하나 · 큰 문장 하나 · 설명서 링크 · 오크통 옆 삼행시. 오크통은 움직이지 않는다 ── */
.ophero { display: block; max-width: none; margin: 18px 0 0; padding: 30px 26px 0; border-radius: 28px; border: 1px solid rgba(255, 205, 110, .18); background: var(--surface); box-shadow: inset 0 1px 0 rgba(255, 230, 170, .08), 0 24px 50px -30px rgba(255, 190, 80, .35); overflow: hidden; }
.ophero .op-eyebrow { margin: 0 0 10px; font-size: 14px; letter-spacing: .02em; }
.ophero .op-h { margin: 0 0 14px; font-size: clamp(21px, 3vw, 30px); line-height: 1.32; font-weight: 800; letter-spacing: -.03em; word-break: keep-all; text-wrap: balance; }
.op-h em { font-style: normal; color: var(--gold, #e9c46a); white-space: nowrap; }
@media (max-width: 380px) { .ophero .op-h { font-size: 20px; } }
.op-guide-link { display: inline-block; font-size: 15px; font-weight: 700; color: var(--text); text-decoration: none; border-bottom: 2px solid var(--gold, #e9c46a); padding-bottom: 2px; }
.op-guide-link:hover { color: var(--gold, #e9c46a); }
.ophero-row { position: relative; margin: 14px -26px 0; min-height: 340px; background: #ffffff url(/assets/oakpod-scene.webp) 50% 30% / cover no-repeat; }
.ophero-row::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 38%; background: var(--surface); pointer-events: none; }
.ophero-row .op-verse { position: absolute; left: 8%; top: 54%; transform: translateY(-50%); margin: 0; white-space: nowrap; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
.ophero-row .mascot { width: 180px; height: auto; flex: none; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .5)); animation: none; }
.ophero-row .op-verse { margin: 0; font-size: clamp(19px, 2.6vw, 26px); line-height: 1.3; }
@media (max-width: 480px) { .ophero { padding: 24px 18px 0; } .ophero-row { margin: 8px -18px 0; min-height: 250px; background-image: url(/assets/oakpod-scene-sm.webp); } .ophero-row .op-verse { left: 6%; font-size: 15px; } }
.opshort { margin: 22px 0 40px; }

/* ── 홈 첫 화면 2열 (11/01): 글과 그림이 같은 높이. 폰에서는 위아래 ── */
.ophero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; padding: 0; }
.ophero-txt { align-self: start; padding: 46px 10px 30px 32px; position: relative; z-index: 1; }
.ophero-row { margin: 0; min-height: 420px; background-position: 100% 42%; }
.ophero-row::before { inset: 0 auto 0 0; width: 34%; height: auto; background: var(--surface); }
@media (max-width: 640px) {
  .ophero { grid-template-columns: 1fr; }
  .ophero-txt { padding: 20px 18px 2px; }
  .ophero-row { min-height: 185px; background-position: 100% 34%; }
  .ophero-row::before { inset: 0 0 auto 0; width: auto; height: 36%; background: var(--surface); }
}


.opfree { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: -14px 0 38px; padding: 0; }
.opfree li { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--text); background: #ffffff; border: 1px solid var(--border, rgba(0, 0, 0, .1)); }
.opfree li:first-child { color: #fff; background: var(--gold, #e9c46a); border-color: transparent; }

/* 폰: 첫 화면에 타일 8개가 다 보이게 (카드를 줄이고 타일 간격을 촘촘히) */
@media (max-width: 640px) {
  .ophero { margin-top: 8px; }
  .ophero .op-eyebrow { margin-bottom: 6px; }
  .op-h { margin-bottom: 10px; }
  .opshort { margin: 12px 0 16px; gap: 8px 6px; }
  .opshort i { width: 52px; height: 52px; border-radius: 18px; }
  .opshort svg { width: 24px; height: 24px; }
  .opshort a { gap: 6px; font-size: 12.5px; }
  .opfree { margin: 0 0 26px; }
}

/* 스튜디오 도구판 */
.modboard { margin-top: 14px; }
.modboard h3 { margin: 0 0 12px; font-size: 16px; }
.modgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.modcard { position: relative; display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 14px 14px 14px; border-radius: 16px; border: 1px solid var(--border, rgba(0, 0, 0, .1)); background: #ffffff; color: var(--text); cursor: pointer; min-width: 0; transition: border-color .15s, transform .15s; }
.modcard:hover { border-color: var(--gold, #e9c46a); transform: translateY(-1px); }
.modcard b { font-size: 15px; }
.modcard span { color: var(--muted, #b9b2a6); font-size: 12.5px; line-height: 1.45; word-break: keep-all; }
.modcard i { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; color: var(--muted, #b9b2a6); border: 1px solid var(--border, rgba(0, 0, 0, .15)); }
.modcard i.on { color: #fff; background: var(--gold, #e9c46a); border-color: transparent; }
@media (max-width: 760px) { .modgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .modgrid { grid-template-columns: 1fr; } }

.lead-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; } .lead-h h3 { margin: 0; }
.lead-t { width: 100%; border-collapse: collapse; font-size: 14px; } .lead-t th { text-align: left; color: var(--muted, #b9b2a6); font-weight: 700; font-size: 12.5px; padding: 6px 8px; border-bottom: 1px solid var(--border, rgba(0, 0, 0, .1)); }
.lead-t td { padding: 10px 8px; vertical-align: top; border-bottom: 1px solid var(--border, rgba(0, 0, 0, .07)); word-break: break-all; } .lead-t small { color: var(--muted, #b9b2a6); }
.lead-st { max-width: 110px; }
/* 퍼뜨리기 · 이 글로 받은 사람 («댓글 대신 링크», 11/06) */
.sp-recv { display: grid; gap: 6px; }
.sp-recv > .btn { justify-self: start; }
.sp-recv-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sp-recv-l li { display: grid; gap: 2px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface2, transparent); min-width: 0; overflow-wrap: anywhere; }
.sp-recv-l small { color: var(--muted, inherit); opacity: .8; }

/* 첫 1분 (11/06) */
.panel.first { border-color: var(--gold, #e9c46a); display: grid; gap: 12px; }
.panel.first h2 { margin: 0; font-size: 19px; }
.fx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: fx; }
.fx-steps li { counter-increment: fx; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-left: 30px; position: relative; opacity: .55; }
.fx-steps li::before { content: counter(fx); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; border: 1px solid var(--border); }
.fx-steps li.ok, .fx-steps li.now { opacity: 1; } .fx-steps li.ok::before { content: '✓'; background: var(--gold, #e9c46a); color: #fff; border-color: transparent; } .fx-steps li.now::before { border-color: var(--gold, #e9c46a); }
.fx-steps small { color: var(--muted, inherit); overflow-wrap: anywhere; }
#fxForm { display: grid; gap: 10px; } #fxForm input[type=text], #fxForm input:not([type]) { width: 100%; }
.fx-gate { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.fx-ok { margin: 0; font-weight: 700; } .fx-url code { overflow-wrap: anywhere; font-size: 13px; }

/* 네 개의 문 (11/06) */
.doors { margin-bottom: 16px; }
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.door { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.door:hover, .door:focus-visible { border-color: var(--gold, #e9c46a); }
.door i { font-style: normal; font-size: 22px; line-height: 1; }
.door span { display: grid; gap: 2px; min-width: 0; } .door b { font-size: 14.5px; } .door small { color: var(--muted, inherit); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) { .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 내 글 줄 — 문 밑, 옆으로 밀어 본다 */
.myposts { display: flex; gap: 8px; align-items: center; overflow-x: auto; margin: -6px 0 16px; padding-bottom: 4px; scrollbar-width: thin; }
.myposts .mp-h { flex: none; font-size: 12.5px; color: var(--muted, inherit); margin-right: 2px; }
.myposts .mp { flex: none; display: inline-flex; align-items: center; gap: 6px; max-width: 260px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: inherit; font: inherit; font-size: 13.5px; cursor: pointer; }
.myposts .mp b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.myposts .mp small { flex: none; font-size: 11.5px; color: var(--muted, inherit); }
.myposts .mp:hover, .myposts .mp:focus-visible, .myposts .mp.on { border-color: var(--gold, #e9c46a); }
.myposts .mp.off { opacity: .7; }
.pulse { animation: pulse 1.2s ease-in-out 3; } @keyframes pulse { 50% { box-shadow: 0 0 0 4px rgba(17, 17, 17, .45); } }

/* 로그인 전 스튜디오: 로그인하면 생기는 네 개의 문 (11/06) */
.gate-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: min(100%, 420px); margin: 6px 0; }
.gate-doors span { padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 14px; }
/* 열람 전용 체크 (11/06) */
.gview { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted, #a9a49a); cursor: pointer; } .gview input { width: auto; margin: 0; } .gview[hidden] { display: none; }
.giftrow .gfile[hidden], .fx-gate[hidden] { display: none; }

/* 링크 칸: 설명 · 사진은 눌러서 (11/06) */
.lrow .lmore { display: grid; gap: 8px; } .lrow .lmore[hidden], .lrow .lmore-btn[hidden], #newHubBtn[hidden] { display: none; }
.lrow .lmore-btn { justify-self: start; font-size: 13px; }
.lp-box{display:grid;gap:6px;padding:12px;border:1px solid var(--line,rgba(0, 0, 0, .12));border-radius:12px}.lp-box[hidden]{display:none}.lp-box .note{margin:0}
.more-body { margin: 18px 0 8px; border: 1px solid rgba(0, 0, 0, .12); border-radius: 18px; padding: 4px 18px; }
.more-body > summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; }
.more-body > summary::-webkit-details-marker { display: none; }
.more-body > summary::before { content: '+ '; color: #111; }
.more-body[open] > summary::before { content: '− '; }
.more-body .prose { padding-bottom: 12px; }
.gver { display: block; margin-top: 2px; font-size: 12px; color: var(--muted, #9a8a70); }
.gver.new { color: #111; font-weight: 700; }
.gift.upd { border-color: rgba(17, 17, 17, .55); }
.gv-banner { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #ffffff; color: #111; font-weight: 600; }
.gv-stat { display: block; font-size: 12px; color: var(--muted, #9a8a70); margin-top: 4px; }
.giftrow .gv-row { flex-basis: 100%; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.giftrow .gv-row .gv-stat { margin: 0; }

/* 한 화면(11/08 안 B): 홈 문에서 온 일만 — 문 · 내 글 줄 · 왼쪽 칸 · 제목 숨김 */
body.st-focus #doors, body.st-focus #myPosts, body.st-focus #meTabs, body.st-focus .st-cols > aside, body.st-focus #stTitle, body.st-focus #stSub { display: none !important; }
body.st-focus .st-cols { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin: 0 auto; }
.fz-top { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 14px; font-size: 14px; }
.fz-top a { color: inherit; text-decoration: none; opacity: .8; } .fz-top .fz-back { font-weight: 700; opacity: 1; }
.fz-item h1 { font-size: 24px; line-height: 1.3; margin: 6px 0 16px; }
.fz-link, .fz-ch { padding: 14px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); margin-bottom: 12px; }
.fz-link small, .fz-ch small { display: block; font-size: 12.5px; opacity: .7; margin-bottom: 6px; }
.fz-link code { display: block; font-size: 15px; word-break: break-all; margin-bottom: 10px; color: var(--gold, #e9c46a); }
.fz-chs { display: flex; flex-wrap: wrap; gap: 8px; } .fz-chs .pill { cursor: pointer; font: inherit; font-size: 14px; padding: 8px 14px; }
.fz-gifts { display: grid; gap: 8px; margin: 14px 0; }
.fz-gift { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--border); }
.fz-gift b { flex: 1 1 160px; } .fz-gift .gv-stat { flex-basis: 100%; font-size: 12.5px; opacity: .75; }
.fz-foot { margin-top: 16px; } .fz-more { text-align: center; margin-top: 14px; }
.fz-item .pv-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 폰 아래 단추 5개(11/08 안 B) */
.op-tabbar { display: none; }
@media (max-width: 720px) {
  body.has-tabbar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body.has-tabbar header .nav { display: none; }
  .op-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg, #0b0d0c) 92%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--border); }
  .op-tabbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 0; color: var(--muted, #9aa); text-decoration: none; font-size: 11px; font-weight: 700; }
  .op-tabbar a i { font-style: normal; font-size: 20px; line-height: 1.1; }
  .op-tabbar a.on { color: var(--text, #fff); }
  .op-tabbar a.plus i { display: grid; place-items: center; width: 46px; height: 38px; border-radius: 14px; background: #111; color: #fff; }   /* 11/12: 보라는 화면마다 한 곳(홈은 «받은 사람» 숫자) */
}

/* «내 정보»(11/08 안 B ③): 왼쪽 칸 없이 한 줄 탭 */
#app .st-cols { grid-template-columns: minmax(0, 1fr); }
#app .st-cols > aside { display: none; }
.me-tabs { display: flex; gap: 6px; align-items: center; overflow-x: auto; margin: 4px 0 16px; padding-bottom: 2px; border-bottom: 1px solid var(--border); }
.me-tabs button { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.me-tabs button i { font-style: normal; } .me-tabs button.on { color: var(--text); border-bottom-color: var(--gold, #e9c46a); }
.me-tabs .me-ins { margin-left: auto; flex: none; font-size: 13.5px; color: var(--muted); text-decoration: none; padding: 10px 4px; } .me-tabs .me-ins:hover { color: var(--gold); }
.me-hubs .me-hub-list { display: grid; gap: 8px; margin: 10px 0; }
@media (max-width: 720px) { .me-tabs .me-ins { display: none; } }
/* 자료 보내기 세 걸음(11/08 «보낸 것») */
.sd-h { font-size: 24px; margin: 4px 0 14px; }
.sd-step { padding: 16px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); margin-bottom: 12px; }
.sd-step h2 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin: 0 0 12px; }
.sd-step h2 i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold, #e9c46a); color: #fff; font-style: normal; font-size: 14px; font-weight: 800; }
.sd-list { display: grid; gap: 8px; }
.sd-item { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: none; color: inherit; font: inherit; cursor: pointer; }
.sd-item small { font-size: 12.5px; color: var(--muted); } .sd-item.on, .sd-item:hover { border-color: var(--gold, #e9c46a); } .sd-item.on { background: #ffffff; }
.sd-new { margin-top: 10px; }
.sd-chs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.sd-ch { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--border); background: none; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.sd-ch i { font-style: normal; font-size: 18px; } .sd-ch.on, .sd-ch:hover { border-color: var(--gold, #e9c46a); } .sd-ch.on { background: #ffffff; }
.sd-step input { width: 100%; margin-bottom: 10px; }
.sd-done { padding: 16px; border-radius: 18px; border: 1px solid var(--gold, #e9c46a); margin-bottom: 12px; display: grid; gap: 10px; }
.sd-done code { word-break: break-all; color: var(--gold, #e9c46a); font-size: 15px; }

/* ♥ 고마워요(11/08) */
.heart-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.heart-row small { color: var(--muted); font-size: 12.5px; } .heart-btn { color: #ff7a9a; } .heart-done { color: #ff7a9a; font-weight: 700; font-size: 14px; }

/* 11/12 선 아이콘 · 폰 아래 단추 흰 바탕(툼카드와 같게: 보라는 ＋ 한 곳) */
.ic { display: inline-block; vertical-align: -0.2em; flex: none; }
@media (max-width: 720px) {
  .op-tabbar { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 62px; padding: 0 6px; align-items: center; border-radius: 31px; border: 1px solid #e6e6e9; background: rgba(255, 255, 255, .94); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .25); }
  .op-tabbar a { color: #8a8a92; font-size: 10.5px; font-weight: 800; padding: 4px 0; }
  .op-tabbar a.on { color: #111; }
  body.has-tabbar { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
}

/* 로그인 연동(11/12, 툼카드와 같게) */
.me-lk-list { display: grid; gap: 8px; margin-top: 10px; }
.me-lk-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.me-lk-row span { display: grid; gap: 2px; } .me-lk-row small { color: var(--muted); font-size: 12.5px; }
