:root {
  --bg0: #0b0820;
  --bg1: #120a2e;
  --ink: #f3ecff;
  --ink2: #c9bfe6;
  --ink3: #9a8fc0;
  --gold: #ffe08a;
  --gold2: #f6cf6a;
  --pink: #f39ac2;
  --glass: rgba(255, 255, 255, .075);
  --glass-b: rgba(255, 255, 255, .16);
  --wood: #5fe0a0;
  --fire: #ff7b7b;
  --earth: #f2c45a;
  --metal: #e3e9f5;
  --water: #6fb6ff;
  --serif: 'Gowun Batang', serif;
  --hanja: 'Song Myung', serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh; background: var(--bg0); color: var(--ink);
  font-family: 'Gowun Dodum', system-ui, sans-serif; line-height: 1.6;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }

/* ---------- 하늘 ---------- */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 75% 0%, #5b3fa8 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 0% 55%, #1d4f8f 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, #6a2c7a 0%, transparent 60%),
    linear-gradient(180deg, #120a2e, #0b1030 55%, #1a0f3a);
}
.sky-photo { position: absolute; inset: 0; background-size: cover; background-position: center top; opacity: 0; transition: opacity 1.2s; }
.sky-photo.on { opacity: .55; }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.moon { position: absolute; right: -60px; top: -60px; width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7d6, #f1d27a 55%, #c9a24a);
  box-shadow: 0 0 80px 30px rgba(255, 214, 120, .28);
  animation: moonGlow 6s ease-in-out infinite; }
@keyframes moonGlow { 50% { box-shadow: 0 0 110px 40px rgba(255, 214, 120, .38); } }

.wrap { position: relative; z-index: 1; max-width: 480px; margin: 0 auto; padding: 0 16px calc(32px + env(safe-area-inset-bottom)); }
.top { padding: 18px 0 6px; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--gold); text-decoration: none; letter-spacing: .02em; }
.logo-star { display: inline-block; animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.pill { display: inline-block; padding: 4px 12px; border-radius: 99px; font-size: 13px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 230, 160, .4); color: #ffe7a6; }

/* ---------- 입력 ---------- */
.intro { padding: 30px 4px 22px; }
.intro h1 { font-family: var(--serif); font-size: 36px; line-height: 1.3; margin: 14px 0 10px; font-weight: 700; }
.intro h1 em { font-style: normal; background: linear-gradient(90deg, var(--gold), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--ink2); font-size: 15px; }

.glass { background: var(--glass); border: 1px solid var(--glass-b); border-radius: 22px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.form { padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 14px; color: var(--ink2); }
.field small { color: var(--ink3); }
.form input[type=text], .form select {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 14px;
  background: rgba(10, 6, 30, .55); border: 1px solid rgba(255, 255, 255, .18); font-size: 16px;
  appearance: none; -webkit-appearance: none; }
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.form select option { background: #1a1140; color: var(--ink); }
.form input[type=text]::placeholder { color: var(--ink3); }
.form input:focus, .form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 224, 138, .2); }
.row3 { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 14px; background: rgba(10, 6, 30, .55); border: 1px solid rgba(255, 255, 255, .14); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg b { display: block; text-align: center; padding: 9px 0; border-radius: 10px; font-weight: 400; color: var(--ink2); transition: .25s; }
.seg input:checked + b { background: linear-gradient(90deg, rgba(246, 207, 106, .9), rgba(243, 154, 194, .9)); color: #2a1440; font-weight: 700; }
.seg input:focus-visible + b { outline: 2px solid var(--gold); }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--gold2); }
.more summary { cursor: pointer; font-size: 14px; color: var(--ink3); list-style: none; }
.more summary::before { content: '＋ '; }
.more[open] summary::before { content: '－ '; }
.more[open] { display: flex; flex-direction: column; gap: 12px; }
.err { color: #ffb3b3; font-size: 14px; min-height: 0; }
.err:empty { display: none; }
.more-link { display: flex; justify-content: space-between; margin-top: 12px; padding: 14px 18px; color: var(--ink); text-decoration: none; font-size: 15px; }
.more-link span { color: var(--gold); }
.privacy { font-size: 12px; color: var(--ink3); text-align: center; }

.btn-main { position: relative; overflow: hidden; width: 100%; height: 54px; border: 0; border-radius: 16px; cursor: pointer;
  background: linear-gradient(90deg, var(--gold2), var(--pink)); color: #2a1440; font-weight: 700; font-size: 17px;
  box-shadow: 0 8px 28px rgba(246, 207, 106, .35); transition: transform .15s; }
.btn-main:active { transform: scale(.97); }
.btn-main::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn-sub { width: 100%; height: 48px; border-radius: 14px; cursor: pointer; background: rgba(255, 255, 255, .08); border: 1px solid var(--glass-b); color: var(--ink); }
.btn-sub small { color: var(--ink3); font-size: 12px; margin-left: 4px; }

/* ---------- 결과 ---------- */
.res-head { padding: 22px 4px 4px; }
.res-head h2 { font-family: var(--serif); font-size: 26px; margin-top: 10px; }
.res-sub { color: var(--ink2); font-size: 14px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0 14px; }
.pl { position: relative; text-align: center; padding: 10px 0 8px; border-radius: 16px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .17);
  opacity: 0; transform: translateY(18px) scale(.9); }
.pl.show { animation: plIn .7s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes plIn { to { opacity: 1; transform: none; } }
.pl.me { border-color: var(--gold); box-shadow: 0 0 22px rgba(255, 224, 138, .45), inset 0 0 18px rgba(255, 224, 138, .12); }
.pl.me::before { content: '나'; position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  font-size: 11px; padding: 0 8px; border-radius: 99px; background: var(--gold); color: #2a1440; font-weight: 700; }
.pl .lab { font-size: 12px; color: var(--ink3); }
.pl .hj { font-family: var(--hanja); font-size: clamp(28px, 9vw, 38px); line-height: 1.2; text-shadow: 0 0 14px currentColor; }
.pl .ko { font-size: 12px; color: var(--ink2); }
.pl .el { font-size: 11px; color: var(--ink3); }
.pl.empty .hj { color: var(--ink3); text-shadow: none; }
.wood { color: var(--wood); } .fire { color: var(--fire); } .earth { color: var(--earth); } .metal { color: var(--metal); } .water { color: var(--water); }

.hero { display: flex; gap: 14px; padding: 16px; margin-bottom: 12px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, rgba(255, 214, 120, .2), rgba(160, 120, 255, .16)); border-color: rgba(255, 230, 160, .45); }
.hero { flex-direction: column; padding: 0; }
.hero::before { content: ''; position: absolute; inset: 0; background: var(--hero-img) center/cover; opacity: .18; filter: blur(14px); transform: scale(1.2); }
.hero-art { position: relative; height: 210px; background: rgba(0, 0, 0, .25) center 40%/cover; display: flex; align-items: flex-end; justify-content: flex-end;
  font-family: var(--hanja); font-size: 64px; line-height: 1; padding: 0 16px 6px; }
.hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(18, 10, 46, .85)); }
.hero-art span { position: relative; z-index: 1; text-shadow: 0 0 18px currentColor, 0 2px 8px rgba(0, 0, 0, .6); animation: glyph 3s ease-in-out infinite; }
@keyframes glyph { 50% { text-shadow: 0 0 30px currentColor, 0 2px 8px rgba(0, 0, 0, .6); } }
.hero-body { position: relative; padding: 4px 16px 16px; }
.hero-k, .card-k { font-size: 12px; color: var(--ink3); }
.hero h3 { font-family: var(--serif); font-size: 20px; color: var(--gold); line-height: 1.35; margin: 2px 0 6px; }
.hero p { font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chips span { font-size: 12px; padding: 2px 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }

.card { padding: 16px; margin-bottom: 12px; }
.card h3 { font-family: var(--serif); font-size: 18px; margin-bottom: 8px; word-break: keep-all; overflow-wrap: anywhere; }
.hero h3, .elem-text, .card p, .ilju div { word-break: keep-all; overflow-wrap: anywhere; }
.card p { font-size: 14px; }
.bars { display: flex; flex-direction: column; gap: 9px; }
.bar { display: grid; grid-template-columns: 38px 1fr 18px; align-items: center; gap: 8px; font-size: 14px; }
.bar .tr { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bar .f { height: 100%; width: 0; border-radius: 99px; transition: width 1.1s cubic-bezier(.2, .9, .3, 1); box-shadow: 0 0 10px currentColor; }
.bar b { text-align: right; font-weight: 700; }
.elem-text { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.elem-text div { font-size: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.elem-text b { display: block; font-family: var(--serif); }
.card h3#rIljuTitle { color: var(--gold); }
.ilju { display: flex; flex-direction: column; gap: 10px; }
.ilju div { font-size: 14px; }
.ilju b { display: block; font-size: 13px; color: var(--pink); margin-bottom: 1px; }
.ilju-more { display: block; margin-top: 4px; font-size: 13px; color: var(--gold); text-decoration: none; }
.today { background: linear-gradient(135deg, rgba(111, 182, 255, .16), rgba(243, 154, 194, .14)); }
.lucky { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.lucky div { padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .07); text-align: center; }
.lucky span { display: block; font-size: 12px; color: var(--ink3); }
.lucky b { font-size: 17px; display: inline-flex; align-items: center; gap: 6px; }
.lucky i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.lucky-card h3 { color: var(--gold); margin: 10px 0 2px; }
.li-photo { display: block; position: relative; aspect-ratio: 1 / 1; max-height: 300px; width: 100%; margin-top: 8px; border-radius: 16px; overflow: hidden;
  background: rgba(0, 0, 0, .25) center/cover; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), 0 0 26px var(--li-col, rgba(255, 224, 138, .3)); }
.li-photo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.li-photo .li-tag { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 99px; font-size: 12px; color: #2a1440; background: var(--gold); }
.li-photo .li-ph { position: absolute; inset: auto 0 0 0; padding: 30px 12px 10px; font-size: 12px; color: var(--ink2); background: linear-gradient(transparent, rgba(18, 10, 46, .9)); }
.li-go { display: block; text-align: center; line-height: 50px; height: 50px; margin-top: 12px; text-decoration: none; }
.ad-tag { display: inline-block; padding: 1px 8px; margin-right: 4px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #2a1440; background: #ffe08a; vertical-align: 1px; }
.ad-notice { margin: 6px 0 2px; padding: 8px 10px; border-radius: 10px; font-size: 13px !important; line-height: 1.5; color: #ffe7a6 !important; background: rgba(255, 224, 138, .12); border: 1px solid rgba(255, 224, 138, .35); word-break: keep-all; }
.li-notice { margin-top: 8px; font-size: 11px !important; color: var(--ink3); line-height: 1.5; }
.donate { position: relative; overflow: hidden; padding: 20px 18px; text-align: center;
  background: linear-gradient(150deg, rgba(255, 214, 120, .38), rgba(243, 154, 194, .30) 55%, rgba(160, 120, 255, .30));
  border: 1.5px solid rgba(255, 230, 160, .75); box-shadow: 0 0 34px rgba(255, 214, 120, .25); }
.donate::before { content: '☕'; display: block; font-size: 40px; line-height: 1; margin-bottom: 6px; filter: drop-shadow(0 0 10px rgba(255, 224, 138, .7)); }
.donate .card-k { color: #ffe7a6 !important; font-size: 14px; }
.donate h3 { color: #fff3c4; font-size: 22px; margin: 4px 0 10px; text-shadow: 0 0 14px rgba(255, 214, 120, .5); }
.donate > p { font-size: 16px !important; color: #fff !important; line-height: 1.7; }
.donate-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.donate-btns a { display: grid; place-items: center; height: 54px; border-radius: 14px; border: 0; text-decoration: none; font-size: 16px; font-weight: 700; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: transform .15s; }
.donate-btns a:active { transform: scale(.97); }
.donate-btns .don-toss { background: #3182f6; color: #fff; }
.donate-btns .don-kakao { background: #fee500; color: #191919; }
.donate .don-note { margin-top: 12px; font-size: 13px !important; color: #f3ecff !important; opacity: .9; line-height: 1.6; }
.lucky-pop { position: relative; padding: 22px 18px 16px; border-radius: 22px; background: linear-gradient(160deg, #241552, #120a2e); border: 1px solid rgba(255, 230, 160, .4); }
.lucky-pop h3 { font-family: var(--serif); font-size: 20px; color: var(--gold); }
.lucky-pop p { font-size: 14px; color: var(--ink2); }
.lucky-pop .li-photo { max-height: 260px; }
.pop-x { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--glass-b); background: rgba(255, 255, 255, .1); cursor: pointer; font-size: 18px; }
.notes summary { cursor: pointer; font-size: 14px; color: var(--ink3); }
.notes ul { margin: 8px 0 0 18px; font-size: 13px; color: var(--ink2); }
.actions { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 20px; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

.foot { text-align: center; font-size: 12px; color: var(--ink3); padding: 24px 0 8px; }
.foot .copy { margin-top: 6px; }
.foot a { color: var(--ink2); }

/* ---------- 공유 카드 ---------- */
.modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; background: rgba(8, 5, 25, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fadeIn .25s; overflow-y: auto; }
.modal-box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.modal-box img { width: 100%; max-height: 62vh; object-fit: contain; border-radius: 18px; box-shadow: 0 10px 50px rgba(160, 120, 255, .35); animation: plIn .6s cubic-bezier(.2, 1.4, .4, 1); }
.modal-btns { display: flex; flex-direction: column; gap: 8px; }
.modal-tip { font-size: 13px; color: var(--ink2); text-align: center; }
.modal-tip:empty { display: none; }
.sound-btn { position: absolute; right: 0; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--glass-b); background: rgba(255, 255, 255, .08); cursor: pointer; display: grid; place-items: center; color: var(--gold); }
.sound-btn svg { width: 20px; height: 20px; }
.top { position: relative; }

/* ---------- 별 모으기 연출 ---------- */
.gather { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; background: rgba(8, 5, 25, .7); animation: fadeIn .3s; }
.gather canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.gather p { position: relative; margin-top: 180px; font-family: var(--serif); color: var(--gold); font-size: 17px; letter-spacing: .05em; }
@keyframes fadeIn { from { opacity: 0; } }

@media (min-width: 700px) {
  .intro h1 { font-size: 42px; }
  .moon { display: none; } /* 넓은 화면은 배경 사진 속 달이 보이므로 그린 달은 숨김 */
  .sky-photo.on { opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pl, .reveal { opacity: 1; transform: none; }
}

/* ---------- 깊은 감정서 ---------- */
.deep-cta { text-align: center; padding: 22px 18px; background: linear-gradient(160deg, rgba(160, 120, 255, .30), rgba(111, 182, 255, .18)); border: 1.5px solid rgba(200, 180, 255, .6); box-shadow: 0 0 30px rgba(160, 120, 255, .25); }
.deep-cta h3 { font-size: 22px; color: #fff; margin: 4px 0 8px; }
.deep-cta > p { font-size: 15px !important; color: #f3ecff; }
.deep-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 12px 0 16px; }
.deep-list li { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.deep-free { margin-top: 8px; font-size: 12px !important; color: var(--ink2); }
.report { --rs: 1; }
.rp-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 0 8px; }
.rp-back { width: auto; height: 40px; padding: 0 14px; }
.rp-size { display: flex; border-radius: 12px; overflow: hidden; border: 1px solid var(--glass-b); }
.rp-size button { border: 0; padding: 8px 10px; font-size: 13px; background: rgba(255, 255, 255, .06); cursor: pointer; }
.rp-size button.on { background: var(--gold); color: #2a1440; font-weight: 700; }
.rp-ad { padding: 12px 14px; }
.rp-ad-row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; margin-top: 6px; }
.rp-ad .li-photo { margin: 0; aspect-ratio: 1; max-height: none; }
.rp-ad h3 { font-size: 16px; color: var(--gold); margin: 0; }
.rp-ad p { font-size: 13px !important; color: var(--ink2); }
.li-btn2 { display: inline-block; margin-top: 6px; padding: 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; text-decoration: none; color: #2a1440; background: linear-gradient(90deg, var(--gold2), var(--pink)); }
.rp-head { padding: 18px 4px 6px; }
.rp-head h2 { font-family: var(--serif); font-size: calc(26px * var(--rs)); margin-top: 10px; }
.rp-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0; }
.rp-mini div { text-align: center; padding: 6px 0; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); font-family: var(--hanja); font-size: 26px; line-height: 1.15; }
.rp-mini div small { display: block; font-family: 'Gowun Dodum'; font-size: 11px; color: var(--ink2); }
.rp-mini .me { border-color: var(--gold); }
.rp-sum { list-style: none; padding: 14px 16px; border-radius: 18px; background: rgba(255, 224, 138, .1); border: 1px solid rgba(255, 224, 138, .35); }
.rp-sum li { font-size: calc(15px * var(--rs)); line-height: 1.7; padding-left: 18px; position: relative; word-break: keep-all; }
.rp-sum li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 12px; top: 3px; }
.rp-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 4px; }
.rp-toc a { font-size: 13px; padding: 5px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); }
.rp-ch { padding: 20px 18px; margin-bottom: 14px; scroll-margin-top: 12px; }
.rp-ch .no { font-family: var(--serif); font-size: 13px; color: var(--pink); letter-spacing: .1em; }
.rp-ch h3 { font-size: calc(22px * var(--rs)) !important; color: var(--gold); margin: 2px 0 2px !important; }
.rp-ch .chsub { font-size: calc(13px * var(--rs)); color: var(--ink2); margin-bottom: 12px; }
.rp-ch h4 { font-family: var(--serif); font-size: calc(17px * var(--rs)); color: #fff3c4; margin: 18px 0 6px; word-break: keep-all; }
.rp-ch p { font-size: calc(15.5px * var(--rs)) !important; line-height: 1.85; margin-bottom: 10px; word-break: keep-all; overflow-wrap: anywhere; }
.rp-ch p.tip { padding: 10px 12px; border-radius: 12px; background: rgba(111, 182, 255, .12); border-left: 3px solid var(--water); }
.rp-ch p.note { font-size: calc(12px * var(--rs)) !important; color: var(--ink3); }
.rp-table { width: 100%; border-collapse: collapse; margin: 4px 0 8px; font-size: calc(13.5px * var(--rs)); }
.rp-table td { padding: 7px 6px; border-bottom: 1px solid rgba(255, 255, 255, .1); vertical-align: top; word-break: keep-all; }
.rp-table td:nth-child(2) { font-family: var(--hanja); font-size: calc(16px * var(--rs)); white-space: nowrap; }
.rp-table td:last-child { color: var(--gold); }
.rp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.rp-chips span { font-size: calc(13px * var(--rs)); padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.rp-label { font-size: calc(13px * var(--rs)); color: var(--pink); margin-top: 8px; }
.rp-ul { margin: 4px 0 10px 18px; }
.rp-ul li { font-size: calc(15px * var(--rs)); line-height: 1.8; }
.rp-tl { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 6px; }
.rp-tl div { display: grid; grid-template-columns: 74px 46px 1fr; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: calc(13px * var(--rs)); }
.rp-tl b { font-family: var(--hanja); font-size: calc(18px * var(--rs)); font-weight: 400; }
.rp-tl .cur { background: rgba(255, 224, 138, .18); border: 1px solid var(--gold); box-shadow: 0 0 14px rgba(255, 224, 138, .3); }
.rp-tl .cur span:last-child::after { content: ' ← 지금'; color: var(--gold); font-weight: 700; }
.rp-lucky { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.rp-lucky div { padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .07); text-align: center; }
.rp-lucky span { display: block; font-size: 12px; color: var(--ink3); }
.rp-lucky b { font-size: calc(15px * var(--rs)); word-break: keep-all; }
.rp-how { font-size: 12px; color: var(--ink3); text-align: center; margin: 4px 8px 10px; line-height: 1.6; }
@media print {
  @page { margin: 14mm; }
  body { background: #fff !important; color: #222 !important; }
  .sky, .top, .foot, #viewInput, #viewResult, .rp-bar, .rp-ad, .donate, .rp-actions, .gather, .modal, .rp-toc, .sound-btn { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  #viewReport { display: block !important; }
  .glass { background: #fff !important; border: 1px solid #ddd !important; box-shadow: none !important; backdrop-filter: none !important; }
  .rp-ch { break-inside: auto; page-break-before: auto; }
  .rp-ch h3, .rp-ch h4, .rp-head h2, .rp-sum li::before { color: #6b3fa0 !important; }
  .rp-ch p, .rp-sum li, .rp-ul li, .rp-table td, .rp-tl div, .res-sub, .rp-ch .chsub, .rp-how { color: #222 !important; }
  .rp-sum { background: #faf6ea !important; border-color: #e6d7a8 !important; }
  .rp-tl div, .rp-lucky div, .rp-mini div, .rp-chips span { background: #f5f2fb !important; border-color: #ddd !important; color: #222 !important; }
  .rp-tl .cur { background: #fff4cc !important; }
  .pill { border-color: #ccc !important; color: #6b3fa0 !important; background: #fff !important; }
  .wood { color: #1f8a55 !important; } .fire { color: #c0392b !important; } .earth { color: #b07d10 !important; } .metal { color: #666 !important; } .water { color: #1f5fbf !important; }
  .pl .hj, .rp-mini div, .hero-art span { text-shadow: none !important; }
}

body.reading .moon { opacity: .18; transition: opacity .6s; }
body.reading .sound-btn { display: none; }

.li-prod { display: block; margin-top: 4px; font-size: 12px; color: var(--ink3); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.form select.empty { color: var(--ink3); }

.place-hint { font-size: 13px; color: var(--ink3); min-height: 18px; }
.place-hint.city, .place-hint.province, .place-hint.north { color: #9be7b8; }
.place-hint.none { color: #ffb3b3; }

/* ---------- 감정서 기다림 화면 (동그란 진행률 + 읽는 법 카드) ---------- */
.dw { position: fixed; inset: 0; z-index: 11; overflow-y: auto; background: radial-gradient(ellipse at 50% 20%, #241650 0%, var(--bg0) 70%); animation: fadeIn .4s; }
.dw-in { max-width: 460px; margin: 0 auto; padding: max(28px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; }
.dw-ring { position: relative; width: 168px; height: 168px; margin-top: 8px; }
.dw-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dw-track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 7; }
.dw-bar { fill: none; stroke: url(#dwGrad); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset .5s ease; filter: drop-shadow(0 0 6px rgba(255, 224, 138, .55)); }
.dw-num { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 58px; color: var(--gold); font-family: var(--serif); }
.dw-num b { font-size: 46px; font-weight: 700; line-height: 1; }
.dw-num small { font-size: 18px; margin-left: 2px; }
.dw-ring.full { animation: dwGlow 1.6s ease-in-out infinite; border-radius: 50%; }
@keyframes dwGlow { 50% { box-shadow: 0 0 40px 6px rgba(255, 224, 138, .35); } }
.dw-step { margin-top: 14px; min-height: 26px; color: var(--ink2); font-size: 16px; text-align: center; }
.dw-step::after { content: ''; animation: dwDots 1.4s steps(4) infinite; }
@keyframes dwDots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
.dw-done { margin-top: 14px; font-family: var(--serif); color: var(--gold); font-size: 20px; text-align: center; line-height: 1.5; animation: fadeIn .5s; }
.dw-go { margin-top: 16px; animation: fadeIn .5s; }
.dw-label { align-self: flex-start; margin: 26px 0 10px; color: var(--gold2); font-size: 14px; letter-spacing: .02em; }
.dw-cards { width: 100%; overflow: hidden; border-radius: 20px; touch-action: pan-y; }
.dw-track2 { display: flex; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.dw-card { flex: 0 0 100%; min-height: 250px; padding: 24px 22px 22px; border-radius: 20px; border: 1px solid var(--glass-b); background: linear-gradient(160deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04)); display: flex; flex-direction: column; }
.dw-card .no { color: var(--ink3); font-size: 13px; }
.dw-card .ic { font-size: 34px; margin: 6px 0 4px; }
.dw-card h4 { font-family: var(--serif); color: var(--gold); font-size: 21px; line-height: 1.4; margin-bottom: 10px; word-break: keep-all; }
.dw-card p { color: var(--ink); font-size: 16px; line-height: 1.75; word-break: keep-all; }
.dw-card p + p { margin-top: 8px; color: var(--ink2); font-size: 15px; }
.dw-nav { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.dw-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--glass-b); background: var(--glass); font-size: 24px; line-height: 1; cursor: pointer; }
.dw-dots { display: flex; gap: 7px; }
.dw-dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .25); transition: all .3s; }
.dw-dots i.on { width: 22px; background: var(--gold); }

.li-dest { margin-top: 6px; font-size: 12.5px; color: var(--ink3); text-align: center; }
#rpLink + .li-dest { text-align: left; }

/* ---------- 2027 신년운세 (0.8.0) ---------- */
.ny-go { margin-top: 10px; height: 50px; font-size: 16px; border-color: rgba(255, 224, 138, .55); color: #ffe08a; background: rgba(255, 224, 138, .08); }
.ny-cta { text-align: center; padding: 22px 18px; background: linear-gradient(160deg, rgba(255, 150, 110, .22), rgba(255, 224, 138, .14)); border: 1.5px solid rgba(255, 210, 150, .55); }
.ny-cta h3 { font-size: 22px; color: #fff; margin: 4px 0 8px; }
.ny-cta > p { font-size: 15px; color: #f3ecff; margin-bottom: 14px; }
.rp-mini:has(.ny-yp) { grid-template-columns: repeat(5, 1fr); }
.rp-mini .ny-yp { background: rgba(255, 224, 138, .12); border-color: rgba(255, 224, 138, .6); }
.ny-wave { margin: 14px 0 6px; padding: 10px 6px 8px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.ny-wave svg { display: block; width: 100%; height: auto; }
.ny-wave .ln { fill: none; stroke: #ffe08a; stroke-width: 2.4; filter: drop-shadow(0 0 4px rgba(255, 224, 138, .6)); }
.ny-wave circle { fill: #ffe08a; }
.ny-wave circle.h { fill: #5fe0a0; r: 5; }
.ny-wave text { text-anchor: middle; font-family: inherit; }
.ny-wave .mo { fill: #d6cdf2; font-size: 14px; }
.ny-wave .st { fill: #5fe0a0; font-size: 14px; }
.rp-ch .ny-wave-k { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin-top: 4px; font-size: calc(12.5px * var(--rs, 1)) !important; color: #c9bfe6; margin-bottom: 0; }
.ny-mos { display: grid; gap: 10px; margin-top: 14px; }
.ny-mo { padding: 14px 14px 12px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); }
.ny-mo.help { border-color: rgba(95, 224, 160, .55); background: rgba(95, 224, 160, .07); }
.ny-mo-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ny-mo-h b { font-size: calc(18px * var(--rs, 1)); color: #fff; }
.ny-mo-h span { font-size: calc(12.5px * var(--rs, 1)); color: var(--ink3); }
.ny-mo-h em { margin-left: auto; font-style: normal; font-family: var(--hanja); font-size: calc(14px * var(--rs, 1)); }
.ny-mo .ny-flow { margin: 4px 0 6px; font-weight: 700; color: #ffe08a; }
.ny-mo .ny-flow i { font-style: normal; font-weight: 400; font-size: .85em; color: #5fe0a0; margin-left: 4px; }
.rp-ch .ny-mo .ny-tip { margin-top: 6px; color: #c9f5dc; }
@media print { .ny-mo { break-inside: avoid; } }
@media print { .ny-mo .ny-flow { color: #8a5a00 !important; } .ny-mo .ny-tip { color: #1f6b45 !important; } .ny-wave { display: none; } .ny-go, .ny-cta { display: none; } }
.rp-back, .rp-size button { white-space: nowrap; }
@media (max-width: 340px) { .rp-back { padding: 0 10px; font-size: 13px; } .rp-size button { padding: 8px 7px; font-size: 12px; } .rp-mini:has(.ny-yp) div { font-size: 22px; } }

/* ---------- 0.9.0 연애 궁합 ---------- */
.mt-go { margin-top: 10px; height: 50px; font-size: 16px; border-color: rgba(255, 158, 192, .6); color: #ffc6d9; background: rgba(255, 158, 192, .08); }
.mt-back { margin-top: 10px; }
.mt-cta { text-align: center; padding: 22px 18px; background: linear-gradient(160deg, rgba(255, 120, 170, .22), rgba(190, 140, 255, .16)); border: 1.5px solid rgba(255, 170, 205, .55); }
.mt-cta h3 { font-size: 22px; color: #fff; margin: 4px 0 8px; }
.mt-cta > p { font-size: 15px; color: #f3ecff; margin-bottom: 14px; }
.rp-mini.mt-pair { display: block; }
.mt-row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 8px; margin: 6px 0; }
.mt-row .rp-mini { margin: 0; }
.mt-who { font-size: 14px; color: #ffc6d9; text-align: center; word-break: keep-all; overflow-wrap: anywhere; line-height: 1.3; }
.mt-bars { margin: 12px 0 6px; }
.mt-bar { display: grid; grid-template-columns: 40px 1fr 1fr; gap: 8px; align-items: center; margin: 7px 0; }
.mt-bar .k { font-size: 14px; text-align: center; }
.mt-bar .b { position: relative; height: 22px; border-radius: 11px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.mt-bar .b i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 11px; opacity: .85; }
.mt-bar .b1 i { opacity: .55; }
.mt-bar .b em { position: absolute; right: 8px; top: 0; line-height: 22px; font-style: normal; font-size: 13px; color: #fff; text-shadow: 0 0 3px #000, 0 0 2px #000; }
.mt-bar i.wood { background: #5fe0a0; } .mt-bar i.fire { background: #ff7b7b; } .mt-bar i.earth { background: #f2c45a; } .mt-bar i.metal { background: #e3e9f5; } .mt-bar i.water { background: #6fb6ff; }
.mt-bar-k { display: grid; grid-template-columns: 40px 1fr 1fr; gap: 8px; font-size: 13px; color: var(--ink2); text-align: center; }
.mt-bar-k span:first-child { grid-column: 2; }
@media print {
  .mt-bar .b { background: #eee !important; }
  .mt-bar .b em { color: #222 !important; }
  .mt-who { color: #222 !important; }
}

/* 0.10.0 속궁합 · 일 궁합 */
.mk-seg { grid-template-columns: 1fr 1fr 1fr; }
.mk-seg b { font-size: 14px; padding: 8px 2px; line-height: 1.3; white-space: nowrap; }
.mk-seg b i { display: block; font-style: normal; font-size: 18px; margin-bottom: 2px; }
.mk-tip { font-size: 13px; color: var(--ink2); margin-top: 8px; line-height: 1.55; }
.mk-other { margin: 6px 0; padding: 12px; border-radius: 16px; border: 1px dashed rgba(255, 170, 205, .5); }
.mk-other p { font-size: 14px; color: #ffc6d9; text-align: center; margin-bottom: 8px; }
.mk-other .btn-sub { margin: 6px 0 0; }
.sk-temps { margin: 12px 0 8px; }
.sk-temp { display: grid; grid-template-columns: 64px 1fr 52px; gap: 8px; align-items: center; margin: 10px 0; }
.sk-temp .who { font-size: 14px; color: #ffc6d9; text-align: center; word-break: keep-all; overflow-wrap: anywhere; line-height: 1.3; }
.sk-temp .track { position: relative; height: 14px; border-radius: 7px; background: linear-gradient(90deg, #6fb6ff, #e9e4ff 50%, #ff8a6b); opacity: .9; }
.sk-temp .track i { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; border: 3px solid #2a1440; box-shadow: 0 0 10px rgba(255, 255, 255, .8); }
.sk-temp .tv { font-size: 13px; color: var(--ink2); text-align: center; }
.sk-temp-k { display: flex; justify-content: space-between; padding: 0 60px 0 72px; font-size: 12px; color: var(--ink2); white-space: nowrap; }
@media print {
  .mk-other { display: none !important; }
  .sk-temp .who, .sk-temp .tv, .sk-temp-k { color: #222 !important; }
  .sk-temp .track { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.wk-roles { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 14px; }
.wk-roles th { font-size: 12px; font-weight: 400; color: var(--ink2); padding: 6px 4px; border-bottom: 1px solid rgba(255, 255, 255, .18); word-break: keep-all; overflow-wrap: anywhere; }
.wk-roles td { padding: 9px 4px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .08); word-break: keep-all; }
.wk-roles td:first-child { text-align: left; }
.wk-roles td:first-child b { display: block; font-size: 15px; }
.wk-roles td:first-child small { font-size: 11px; color: var(--ink2); }
.wk-roles td.hi { color: #ffe08a; font-weight: 700; }
.wk-roles td:last-child { color: #f3ecff; }
.wk-roles b.wood { color: #5fe0a0; } .wk-roles b.fire { color: #ff9b8b; } .wk-roles b.earth { color: #f2c45a; } .wk-roles b.metal { color: #e3e9f5; } .wk-roles b.water { color: #6fb6ff; }
@media print { .wk-roles th, .wk-roles td, .wk-roles td:last-child, .wk-roles td.hi { color: #222 !important; } }

/* 0.11.0 오늘의 운세 */
.td-back { background: linear-gradient(135deg, rgba(111, 182, 255, .18), rgba(255, 224, 138, .12)); margin-bottom: 14px; text-align: center; }
.td-back h3 { word-break: keep-all; }
.td-back-sub { font-size: 13px; color: var(--ink3); word-break: keep-all; margin: 6px 0 12px; }
.td-forget { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--ink3); font-size: 12px; text-decoration: underline; padding: 8px; cursor: pointer; font-family: inherit; }
.td-more { margin-top: 14px; width: 100%; }
.td-wx { display: grid; gap: 8px; margin-top: 10px; }
.td-wx-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.td-wx-row.sun { background: rgba(255, 224, 138, .1); border-color: rgba(255, 224, 138, .4); }
.td-wx-row .ic { font-size: 30px; line-height: 1; flex: 0 0 auto; width: 36px; text-align: center; }
.td-wx-row b { display: block; font-size: calc(15px * var(--rs)); }
.td-wx-row b em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--ink3); margin-left: 4px; }
.td-wx-row.sun b em { color: #ffe08a; }
.td-wx-row p { margin: 4px 0 0; word-break: keep-all; }
.td-flow { display: grid; gap: 8px; margin-top: 8px; }
.td-flow div { display: flex; gap: 10px; align-items: flex-start; }
.td-flow span { flex: 0 0 auto; min-width: 42px; text-align: center; box-sizing: border-box; font-size: 12px; padding: 4px 9px; border-radius: 10px; background: rgba(255, 224, 138, .14); color: #ffe08a; margin-top: 2px; }
.td-flow p { margin: 0; word-break: keep-all; }
.td-hours { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.td-hours span { font-size: 13px; padding: 6px 10px; border-radius: 10px; background: rgba(111, 182, 255, .14); border: 1px solid rgba(111, 182, 255, .35); }
.td-say { text-align: center; font-family: "Gowun Batang", serif; color: #ffe08a; font-size: calc(17px * var(--rs)); margin: 16px 0 4px; word-break: keep-all; }
.td-todo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.td-todo div { padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .07); text-align: center; }
.td-todo .do { background: rgba(95, 224, 160, .1); border: 1px solid rgba(95, 224, 160, .35); }
.td-todo span { display: block; font-size: 12px; color: var(--ink3); margin-bottom: 4px; }
.td-todo b { font-size: calc(14px * var(--rs)); word-break: keep-all; }
.td-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 10px; }
.td-week div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; border-radius: 12px; background: rgba(255, 255, 255, .06); min-width: 0; }
.td-week div.now { background: rgba(255, 224, 138, .16); border: 1px solid rgba(255, 224, 138, .5); }
.td-week span { font-size: 12px; white-space: nowrap; }
.td-week i { font-style: normal; font-size: 22px; line-height: 1.2; }
.td-week small { font-size: 10px; color: var(--ink3); white-space: nowrap; }
.td-week-k { font-size: 12px; color: var(--ink3); text-align: center; margin: 6px 0 0; }
.td-tmw { margin-top: 14px; padding: 12px; border-radius: 12px; background: rgba(111, 182, 255, .1); border: 1px dashed rgba(111, 182, 255, .45); word-break: keep-all; }
.td-bye { text-align: center; color: #ffe08a; font-family: "Gowun Batang", serif; }
@media (max-width: 300px) { .td-todo { grid-template-columns: 1fr; } .td-week i { font-size: 18px; } }
@media print { .td-wx-row, .td-todo div, .td-week div, .td-tmw, .td-hours span { background: #f5f2fb !important; border-color: #ddd !important; color: #222 !important; } .td-say, .td-bye, .td-flow span { color: #8a6a00 !important; } }
.td-week-k span { white-space: nowrap; }
.rp-lucky .sw { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 8px currentColor; border: 1px solid rgba(255,255,255,.4); }

/* 0.12.0 홈 화면에 추가 안내 */
.td-a2hs { margin-top: 18px; padding: 16px 14px 10px; border-radius: 16px; border: 1px dashed rgba(255,224,138,.45); background: rgba(255,224,138,.06); text-align: center; }
.td-a2hs-t { margin: 0 0 10px; line-height: 1.6; color: #ffe08a; }
.td-a2hs-s { margin: 0 0 6px; line-height: 1.7; font-size: .95em; text-align: left; }
.td-a2hs-steps { margin: 0 0 6px; padding-left: 1.4em; text-align: left; line-height: 1.8; font-size: .95em; }
.td-a2hs-ic { display: inline-block; padding: 0 4px; border: 1px solid currentColor; border-radius: 5px; font-size: .85em; line-height: 1.3; }
.td-a2hs-go { margin: 4px 0 8px; }
.td-a2hs-x { display: inline-block; margin-top: 4px; padding: 10px 14px; background: none; border: 0; color: inherit; opacity: .6; font: inherit; font-size: .85em; text-decoration: underline; cursor: pointer; }
@media print { .td-a2hs { display: none; } }

/* 0.14.0 30일 운세 달력 */
.td-cal-btn { margin-top: 12px; }
.td-cal-wrap { margin-top: 12px; }
.td-cal-sum { text-align: center; margin: 0 0 10px; line-height: 1.7; word-break: keep-all; }
.td-cal-sum b { color: #ffe08a; }
.td-cal-dow, .td-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.td-cal-dow span { text-align: center; font-size: 12px; color: var(--ink3); }
.td-cal-dow span:first-child { color: #ff9db8; }
.td-cal { margin-top: 4px; }
.td-cal-d { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; padding: 6px 0; border-radius: 10px; border: 1px solid transparent; background: rgba(255, 255, 255, .06); color: inherit; font: inherit; cursor: pointer; }
.td-cal-d small { font-size: 11px; white-space: nowrap; color: var(--ink2, #d9d0f5); }
.td-cal-d i { font-style: normal; font-size: 20px; line-height: 1.2; }
.td-cal-d.sun { background: rgba(255, 224, 138, .1); border-color: rgba(255, 224, 138, .35); box-shadow: 0 0 8px rgba(255, 224, 138, .15); }
.td-cal-d.now { border-color: rgba(255, 224, 138, .9); }
.td-cal-d.now small { color: #ffe08a; font-weight: 700; }
.td-cal-d.best { position: relative; }
.td-cal-d.best::after { content: '✦'; position: absolute; top: 1px; right: 3px; font-size: 9px; color: #ffe08a; }
.td-cal-d.on { outline: 2px solid #f39ac2; outline-offset: 1px; }
.td-cal-pick { margin: 10px 0 0; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); text-align: center; line-height: 1.7; word-break: keep-all; }
.td-cal-pick em { font-style: normal; color: #ffe08a; font-family: "Gowun Batang", serif; font-size: 1.08em; }
.td-cal-pick small { color: var(--ink3); }
.td-cal-pick .nw, .td-cal-sum b { white-space: nowrap; }
@media (max-width: 300px) { .td-cal-d i { font-size: 16px; } .td-cal-d small { font-size: 10px; } .td-cal, .td-cal-dow { gap: 3px; } }
@media print { .td-cal-btn { display: none; } }
