:root {
  --bg: #FFFFFF;
  --soft: #F4F5F8;
  --line: #E7E8EE;
  --ink: #15161A;
  --muted: #7C7F8A;
  --lime: #CFF53A;
  --lime-ink: #2C3A00;
  --ko: #E8834E;      /* 한글책 */
  --en: #3E7CB1;      /* 영어책 */
  --fo: #8E4EC6;      /* 집중듣기 */
  --cal: #C9E2F6;     /* 캘린더 기록한 날 */
  --radius: 18px;
  --shadow: 0 6px 22px rgba(20, 22, 40, .10);
  --nav-h: 64px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: var(--bg); color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
main { max-width: 720px; margin: 0 auto; padding: 0 18px calc(var(--nav-h) + env(safe-area-inset-bottom) + 90px); }
button { font: inherit; color: inherit; }

/* header */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 10px) 18px 10px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
}
.top { flex-wrap: wrap; row-gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; }
.gear { border: 0; background: var(--soft); width: 42px; height: 42px; border-radius: 50%; font-size: 20px; cursor: pointer; }
.kidbar { width: 100%; display: flex; gap: 8px; overflow-x: auto; padding: 2px 0; }
.kid { flex: none; border: 0; border-radius: 999px; padding: 9px 18px; font-size: 16px; font-weight: 700; background: var(--soft); color: var(--muted); cursor: pointer; }
.kid.on { background: var(--lime); color: var(--ink); }
.kid.add { padding: 9px 14px; }
.set-row { display: grid; grid-template-columns: 40px 1fr 16px; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: var(--soft); border-radius: 16px; padding: 14px; cursor: pointer; }
.set-row .si { width: 38px; height: 38px; border-radius: 12px; background: #E4EFE3; color: var(--forest); display: grid; place-items: center; }
.set-row .si .ico { width: 21px; height: 21px; }
#setLogout .si { background: #EFECE6; color: #7C7F8A; }
.set-row .st { display: flex; flex-direction: column; gap: 2px; }
.set-row b { font-size: 16px; }
.set-row small { font-size: 13px; color: var(--muted); }
.set-note { margin: 4px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.k-help { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.kid-list, .cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.kid-list li { display: flex; align-items: center; gap: 8px; }
.kid-list .sub-input { margin: 0; font-size: 16px; }
.kid-list .x, .cat-list button { border: 0; background: var(--soft); border-radius: 10px; min-width: 36px; height: 36px; font-size: 15px; cursor: pointer; flex: none; }
.cat-list button:disabled { opacity: .3; cursor: default; }
.add-row { background: var(--soft) !important; }
.cat-list li { display: grid; grid-template-columns: 46px 1fr repeat(4, 36px); gap: 6px; align-items: center; }
.cat-list li.off .ic-in, .cat-list li.off .nm-in { opacity: .4; }
.cat-list .lock { text-align: center; font-size: 15px; }
.ic-in, .nm-in { font: inherit; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--ink); padding: 8px; min-width: 0; }
.ic-in { text-align: center; font-size: 22px; width: 46px; padding: 4px; }
.nm-in { font-size: 15px; width: 100%; }
.cat-add { background: #F8F9FC; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.cat-add-row { display: grid; grid-template-columns: 46px 1fr; gap: 6px; }
.cat-add .seg.small { margin: 0; }
.emoji-pick { display: flex; flex-wrap: wrap; gap: 4px; }
.emoji-pick button { border: 0; background: #fff; border-radius: 8px; width: 34px; height: 34px; font-size: 18px; cursor: pointer; }
.brand h1 { font-size: 19px; margin: 0; letter-spacing: -.5px; }
.stripes { display: inline-flex; gap: 3px; height: 20px; }
.stripes i { width: 4px; border-radius: 2px; }
.stripes i:nth-child(1) { background: #E5484D; }
.stripes i:nth-child(2) { background: #F5A524; }
.stripes i:nth-child(3) { background: #F5D90A; }
.stripes i:nth-child(4) { background: #46A758; }
.stripes i:nth-child(5) { background: #0091FF; }
.stripes i:nth-child(6) { background: #3E63DD; }
.stripes i:nth-child(7) { background: #8E4EC6; }

.hero { font-size: 24px; line-height: 1.35; letter-spacing: -.6px; margin: 10px 0 18px; }
.page-title { font-size: 26px; letter-spacing: -.6px; margin: 10px 0 6px; }
.sec-title { font-size: 17px; margin: 26px 0 10px; }
.sec-title.big { font-size: 21px; }
.sec-title small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 4px; }

/* 홈: 숫자 링 */
.rings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ring.ko svg circle + circle { stroke: #E8834E; }
.ring.en svg circle + circle { stroke: #378ADD; }
.stamp-tabs { margin: 4px 0 12px; }
.ring-card { background: var(--soft); border: 0; border-radius: 20px; padding: 14px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: default; }
button.ring-card { cursor: pointer; }
.ring-card small { font-size: 12px; color: var(--muted); font-weight: 700; }
.ring { position: relative; width: 84px; height: 84px; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; letter-spacing: -.5px; }
.ring b small { font-size: 12px; color: var(--muted); margin-left: 1px; }

/* 홈: 요즘 읽는 중 */
.reading { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; }
.reading:empty::before { content: "읽고 있는 책이 없어요. 다 읽지 못한 책이 여기에 모여요."; color: var(--muted); font-size: 14px; padding: 8px 0; }
.read-card {
  flex: 0 0 min(88%, 420px); scroll-snap-align: start; position: relative; overflow: hidden;
  border: 0; border-radius: 22px; padding: 18px; min-height: 150px; text-align: left; cursor: pointer;
  background: #55575F; color: #fff; display: grid; grid-template-columns: 1fr 92px; gap: 12px; align-items: center;
}
.read-card .bgimg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(18px) brightness(.55); }
.read-card > *:not(.bgimg) { position: relative; }
.read-card b { color: #9EE6FF; font-size: 18px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.read-card p { margin: 6px 0 0; font-size: 14px; }
.read-card .rc-cover { width: 92px; aspect-ratio: 5/6; object-fit: cover; border-radius: 6px; box-shadow: 0 6px 16px rgba(0,0,0,.35); background: #6E7079; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4px; overflow: hidden; }
.read-card .bar { background: rgba(255,255,255,.25); }
.read-card .bar i { background: var(--lime); }

/* 책장: 표지만 꽉 차게, 가로 4칸 */
.shelf-head { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; }
.shelf-head .sec-title { margin: 0; }
.shelf-head select { font: inherit; font-size: 14px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 6px 8px; }
.shelf-sec { margin-top: 16px; }
.shelf-title { margin: 0; font-size: 15px; padding: 5px 12px; border-radius: 999px; display: inline-block; }
.shelf-title.ko { background: #FFEBDD; color: #B95A26; }
.shelf-title.en { background: #E1EEF8; color: #2C5F8A; }
.shelf-title.fo { background: #F1E8FA; color: #6B3FA0; }
.shelf-title span { font-size: 13px; font-weight: 600; opacity: .8; }
.shelf {
  list-style: none; padding: 0; margin: 10px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.shelf li { position: relative; cursor: pointer; aspect-ratio: 5 / 6; overflow: hidden; background: var(--soft); }
.shelf .cover { width: 100%; height: 100%; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--muted); padding: 6px; text-align: center; line-height: 1.3; }
.shelf .pbar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(0,0,0,.25); }
.shelf .pbar i { display: block; height: 100%; background: var(--lime); }
.shelf .done-badge { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font-size: 9px; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.empty { color: var(--muted); text-align: center; padding: 16px 0 4px; font-size: 14px; margin: 0; }

/* 아래 탭 + 스캔 버튼 */
.tabbar {
  position: fixed; z-index: 8; left: 50%; transform: translateX(-50%);
  bottom: calc(env(safe-area-inset-bottom) + 10px);
  display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: #fff;
  box-shadow: 0 8px 28px rgba(20, 22, 40, .16); width: min(420px, calc(100vw - 24px));
}
.tabbar button {
  flex: 1; border: 0; background: none; border-radius: 999px; padding: 6px 0 5px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 12px; font-weight: 700; color: var(--muted);
}
.tabbar button span { font-size: 20px; filter: grayscale(1); opacity: .7; }
.tabbar button[aria-current="page"] { background: var(--soft); color: #E5484D; }
.tabbar button[aria-current="page"] span { filter: none; opacity: 1; }
.fab {
  position: fixed; z-index: 9; right: max(16px, calc(50vw - 344px));
  bottom: calc(env(safe-area-inset-bottom) + 10px + var(--nav-h) + 14px);
  display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  background: var(--lime); color: var(--ink); font-size: 18px; font-weight: 800;
  padding: 15px 24px; border-radius: 999px; box-shadow: 0 10px 26px rgba(120, 160, 0, .35);
}
.fab:active { transform: scale(.97); }

/* 버튼 */
.btn { border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 700; cursor: pointer; transition: transform .08s ease; }
.btn:active { transform: scale(.97); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.lime { background: var(--lime); color: var(--ink); border: 1.5px solid #9DBE10; }
.btn.lime:disabled { opacity: .45; }
.btn.big { display: block; width: 100%; padding: 17px; font-size: 19px; border-radius: 18px; }
.btn.ghost { background: transparent; }
.btn.v-time { background: var(--card); box-shadow: var(--raise-s); color: var(--forest); }
.btn.glass { background: rgba(255,255,255,.2); color: #fff; padding: 10px 18px; font-size: 14px; }
.btn.danger { background: #FDECEC; color: #C23B3B; }
.btn.mini { padding: 6px 12px; font-size: 13px; background: var(--ink); color: #fff; }
.x-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #C4C6CC; color: #fff; font-size: 17px; font-weight: 900; cursor: pointer; flex: none; }
.pill-btn { border: 1.5px solid var(--line); background: #fff; color: #5B4BDB; font-weight: 800; font-size: 17px; border-radius: 999px; padding: 9px 20px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.link-btn { border: 0; background: none; color: #1E8CF0; font-weight: 700; font-size: 15px; cursor: pointer; padding: 4px; }

/* scanner */
.scanner { position: fixed; inset: 0; z-index: 20; background: #000; }
.scanner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mask { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.roi { position: relative; width: 82vw; max-width: 520px; height: 34vw; max-height: 220px; border-radius: 16px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .55); border: 3px solid rgba(255, 255, 255, .9); }
.roi.hit { border-color: var(--lime); }
.laser { position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: #FF5A4E; box-shadow: 0 0 10px #FF5A4E; animation: sweep 1.6s ease-in-out infinite; }
@keyframes sweep { 0%,100% { transform: translateY(-40px); } 50% { transform: translateY(40px); } }
.scan-top, .scan-bottom { position: absolute; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; color: #fff; gap: 10px; }
.scan-top { top: env(safe-area-inset-top); }
.scan-bottom { bottom: calc(env(safe-area-inset-bottom) + 10px); flex-direction: column; }
.icon { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 18px; cursor: pointer; }
.icon.on { background: #F4C95D; color: #000; }
.hint { font-size: 15px; font-weight: 600; text-align: center; text-shadow: 0 1px 3px #000; }
.zoom { display: flex; align-items: center; gap: 10px; width: min(420px, 90vw); font-size: 14px; }
.zoom input { flex: 1; }
.engine { font-size: 11px; opacity: .6; }

/* dialogs 공통 */
dialog { border: 0; padding: 0; border-radius: 24px; width: min(480px, 94vw); max-height: 92vh; background: #fff; color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(10, 12, 20, .5); }
dialog.bottom { margin: auto auto 0; width: 100%; max-width: 560px; border-radius: 28px 28px 0 0; max-height: 90vh; padding-bottom: env(safe-area-inset-bottom); }
dialog.bottom[open] { animation: up .22s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
dialog.page { margin: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; box-shadow: none; }
.page-in { max-width: 600px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 14px) 20px calc(env(safe-area-inset-bottom) + 30px); display: flex; flex-direction: column; gap: 14px; }
.page-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.page-top.end { justify-content: flex-end; }
.sheet { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.sheet h3 { margin: 0; }
.sheet.center { text-align: center; }
.sheet-top { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; }
.sheet-top b { text-align: center; font-size: 20px; }
.sheet-top .link-btn { justify-self: end; }

/* 1) 스캔 후 시트 */
.s-book { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; }
.s-book img, .r-book img, .act-cover { color: transparent; }
.s-book img { width: 104px; aspect-ratio: 5/6.6; object-fit: cover; border-radius: 12px; background: var(--soft); box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.s-book h3 { font-size: 21px; line-height: 1.3; margin: 0 0 8px; letter-spacing: -.4px; }
.s-book p { margin: 3px 0 0; font-size: 15px; color: #3A3C44; }
.s-desc { margin: 0; font-size: 14px; line-height: 1.6; color: #4A4D57; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; white-space: pre-line; }
.s-desc.open { -webkit-line-clamp: unset; max-height: 40vh; overflow-y: auto; }
.s-desc:empty { display: none; }
.s-mine { margin: 0; font-size: 14px; font-weight: 700; background: #F2FBD2; color: var(--lime-ink); border-radius: 12px; padding: 10px 12px; }
.s-note { margin: 0; font-size: 13px; color: var(--muted); }
.timing { font-size: 11px; color: #A4A7B0; margin: 0; text-align: center; }
.timing:empty { display: none; }

/* 2) 책 기록 화면 */
.r-card { border-radius: 4px; box-shadow: 0 2px 16px rgba(0,0,0,.10); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.r-book { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; }
.r-book img { width: 112px; aspect-ratio: 5/6; object-fit: cover; border-radius: 12px; background: var(--soft); }
.r-info h3 { margin: 0 0 6px; font-size: 21px; line-height: 1.3; letter-spacing: -.4px; }
.r-info p { margin: 0; font-size: 15px; line-height: 1.6; color: #3A3C44; white-space: pre-line; }
.r-sub { margin: 4px 0 0; font-size: 18px; }
.r-desc { margin: 0; font-size: 14.5px; line-height: 1.7; color: #3A3C44; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; white-space: pre-line; }
.r-desc.open { -webkit-line-clamp: unset; }
.mark { margin: 12px 0 0; font-size: 24px; display: inline-block; align-self: flex-start; background: linear-gradient(transparent 58%, #FFE27A 58%); padding: 0 4px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--muted); }
.field > span { font-weight: 600; }
.title-input, .sub-input, #manualIsbn, textarea, .total-row input, #vCat {
  width: 100%; font: inherit; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: var(--soft); color: var(--ink);
}
.title-input { font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.sub-input { font-size: 14px; margin-bottom: 6px; }
textarea { resize: vertical; line-height: 1.6; }
.seg { display: flex; gap: 8px; }
.seg button { flex: 1; font-weight: 700; padding: 12px; border-radius: 12px; border: 2px solid transparent; background: var(--soft); color: var(--ink); cursor: pointer; }
.seg button[aria-checked="true"] { border-color: var(--ink); background: #fff; }
.seg.small { margin-bottom: 12px; }
.seg.small button { padding: 8px; font-size: 14px; }
.date-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; position: relative; }
.date-chips button { font-size: 15px; font-weight: 700; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.date-chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pick-wrap { position: relative; display: inline-flex; }
.pick-wrap input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.date-say { margin: 0; font-size: 14px; color: var(--ink); font-weight: 600; }
.so-far { margin: 0; font-size: 14px; color: var(--lime-ink); background: #F2FBD2; border-radius: 10px; padding: 8px 10px; font-weight: 700; }
.pages-pair { display: grid; grid-template-columns: 1.6fr auto 1fr; align-items: center; gap: 12px; }
.pages-pair span { font-size: 26px; color: var(--ink); }
.pages-pair input { width: 100%; font: inherit; font-size: 20px; text-align: center; border: 1px solid #DADCE3; padding: 14px 8px; background: var(--soft); color: var(--ink); }
.pages-pair input:disabled { opacity: .7; }
.pages-pair.three { grid-template-columns: 1fr auto 1.3fr auto 1fr; gap: 8px; }
.pages-pair.three input { font-size: 18px; padding: 14px 4px; }
.pages-pair .tilde { font-size: 22px; color: var(--muted); }
.pages-share { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--forest); background: var(--sage-l); border-radius: 12px; padding: 8px 12px; }
.check { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 800; color: var(--ink); cursor: pointer; margin-top: 6px; }
.check input { width: 26px; height: 26px; accent-color: #1E8CF0; }
.min-row { display: flex; align-items: center; gap: 10px; }
.min-row input { width: 90px; font: inherit; font-size: 20px; text-align: center; border: 1px solid #DADCE3; padding: 12px 8px; background: var(--soft); color: var(--ink); }
.min-row span { font-size: 18px; color: var(--ink); font-weight: 700; }

/* 3) 마무리 고르기 */
.grab { width: 60px; height: 5px; border-radius: 9px; background: #D6D8DE; margin: 0 auto 6px; }
.finish-h { margin: 4px 0 0; font-size: 25px; letter-spacing: -.5px; }
.finish-sub { margin: 0 0 10px; color: var(--muted); font-size: 16px; }
.choice { display: grid; grid-template-columns: 50px 1fr 20px; align-items: center; gap: 10px; text-align: left; width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 22px; padding: 18px; cursor: pointer; font-size: 22px; }
.choice.dark { background: #000; color: #fff; border-color: #000; }
.choice .ci { font-size: 34px; text-align: center; }
.choice .ct { display: flex; flex-direction: column; gap: 2px; }
.choice b { font-size: 20px; }
.choice small { font-size: 14px; opacity: .7; }

/* 4) 독후 활동 */
.act-h { margin: 0; font-size: 24px; letter-spacing: -.5px; }
.act-cover { width: 150px; aspect-ratio: 5/6.3; object-fit: cover; border-radius: 12px; align-self: center; margin-top: 8px; box-shadow: 0 10px 24px rgba(0,0,0,.18); background: var(--soft); }
.act-title { text-align: center; font-size: 21px; margin: 4px 0 6px; }
.act-q { margin: 10px 0 0; font-size: 19px; }
.stars { display: flex; gap: 8px; }
.stars.half button, .stars.mini > span { position: relative; }
.stars .sb, .stars .sf { position: absolute; inset: 0; display: block; }
.stars .sf { overflow: hidden; width: 0; }
.stars .sf svg { width: 54px; height: 54px; }
.stars.half { gap: 6px; }
.stars.half button { width: 44px; height: 44px; }
.stars.half .sf svg { width: 44px; height: 44px; }
.stars .sb path, .stars.half button path { fill: #E7E2D6; stroke: none; }
.stars .sf path, .stars.half .sf path { fill: #FFC21A; stroke: #E7A600; stroke-width: .6; }
.stars.mini { display: inline-flex; gap: 2px; vertical-align: -3px; }
.stars.mini > span { width: 17px; height: 17px; display: inline-block; }
.stars.mini .sf svg { width: 17px; height: 17px; }
.st-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.st-cards button { border: 0; border-radius: 16px; background: var(--card); box-shadow: var(--raise-s); padding: 14px 6px 12px; display: flex; flex-direction: column; align-items: center; gap: 3px; font: inherit; color: var(--ink); cursor: pointer; }
.st-cards button .ico { width: 24px; height: 24px; color: var(--muted); margin-bottom: 4px; }
.st-cards b { font-size: 15px; }
.st-cards small { font-size: 12px; color: var(--muted); }
.st-cards button[aria-pressed="true"] { background: var(--forest); color: #F3EFE6; box-shadow: none; }
.st-cards button[aria-pressed="true"] .ico, .st-cards button[aria-pressed="true"] small { color: #F3EFE6; opacity: .9; }
.st-cards button.home[aria-pressed="true"] { background: #FFEBDD; color: #8A3F14; }
.st-cards button.home[aria-pressed="true"] .ico, .st-cards button.home[aria-pressed="true"] small { color: #B95A26; }
.search-box { display: flex; align-items: center; gap: 8px; background: var(--card); box-shadow: var(--inset); border-radius: 14px; padding: 0 14px; margin: 6px 0 10px; }
.search-box .ico { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search-box input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 13px 0; outline: none; }
.ic-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.ic-btn .ico { width: 18px; height: 18px; }
.e-book { display: flex; align-items: center; gap: 10px; margin: -4px 0 10px; }
.e-book img { width: 40px; height: 54px; object-fit: cover; border-radius: 6px; }
.e-book .btn { background: var(--soft); padding: 9px 14px; font-size: 14px; flex: none; width: auto; white-space: nowrap; }
.e-book img[hidden] { display: none; }
#tMine:empty, #tFound:empty { display: none; }
.ic-btn { white-space: nowrap; }
.stars button { border: 0; background: none; padding: 0; cursor: pointer; width: 54px; height: 54px; }
.stars svg { width: 100%; height: 100%; }

.count { margin: -6px 0 0; text-align: right; font-size: 13px; color: var(--muted); }

/* 5) 스탬프 */
.stamp-h { margin: 6px 0 4px; font-size: 27px; line-height: 1.35; letter-spacing: -.6px; }
.stamp-card { border-radius: 22px; background: #F8F9FC; box-shadow: 0 4px 18px rgba(0,0,0,.12); padding: 18px 16px 24px; }
.stamp-top { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 8px; margin-bottom: 14px; }
.stamp-top b { text-align: center; font-size: 21px; }
.stamp-top span:last-child { font-size: 17px; font-weight: 600; }
.avatar { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #999; display: flex; align-items: center; justify-content: center; font-size: 24px; background: #fff; }
.stamp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 1px solid #333; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; font-size: 26px; color: #BBB; }
.stamp:not(.on) { filter: grayscale(1); opacity: .45; }
.stamp.on { border: 3px solid #E5484D; }
.stamp.on img { width: 100%; height: 100%; object-fit: cover; }
.stamp.on::after { content: "참 잘했어요"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; color: #E5484D; background: rgba(255,255,255,.55); writing-mode: horizontal-tb; letter-spacing: -.5px; }
.stamp.new { animation: pop .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { 0% { transform: scale(2.2) rotate(-25deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.stamp-info { background: #F8F9FC; border-radius: 20px; padding: 16px 18px; }
.stamp-info h4 { margin: 0 0 8px; font-size: 18px; }
.stamp-info ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.8; color: #3A3C44; }
.stamp-info li:empty { display: none; }

/* 포인트 효과 */
.burst { position: fixed; inset: 0; z-index: 60; background: rgba(40, 40, 46, .72); display: flex; align-items: center; justify-content: center; animation: fade .2s ease-out; }
@keyframes fade { from { opacity: 0; } }
.burst-ring {
  width: min(80vw, 360px); aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff;
  border: 4px solid transparent; background: linear-gradient(rgba(70,70,76,.6), rgba(70,70,76,.6)) padding-box, linear-gradient(180deg, #FFB800, #8E4EF0) border-box;
  animation: pop .5s cubic-bezier(.3,1.5,.5,1);
}
.burst-ring b { font-size: 64px; letter-spacing: -2px; line-height: 1; }
.burst-ring span { font-size: 19px; }

/* 책 기록 보기 */
.progress { font-size: 15px; }
.progress:empty { display: none; }
.bar { height: 8px; background: var(--soft); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: #9DBE10; border-radius: 999px; }
.total-row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.total-row input { width: 80px; text-align: center; }
.sessions h4 { margin: 0 0 6px; font-size: 14px; }
.sessions ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; max-height: 26vh; overflow-y: auto; }
.sessions li { display: flex; justify-content: space-between; font-size: 14px; background: var(--soft); border-radius: 10px; padding: 8px 10px; }
.sessions li span:first-child { color: var(--muted); }
.rec-info { display: grid; grid-template-columns: 70px 1fr; gap: 8px 10px; margin: 0; font-size: 15px; align-items: center; }
.rec-info dt { color: var(--muted); font-size: 13px; }
.rec-info dd { margin: 0; white-space: pre-line; }
.row { display: flex; gap: 10px; justify-content: flex-end; }
.row.spread { justify-content: space-between; }
.err { color: #D23C3C; font-size: 13px; margin: 0; min-height: 1em; }
.pages-row { display: flex; align-items: center; gap: 8px; }
.pages-row input { width: 100px; font: inherit; font-size: 17px; text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: var(--soft); }

/* 포트폴리오 캘린더 (밝은 동그라미형) */
.cal-head { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 4px 0 12px; }
.cal-head b { font-size: 20px; font-weight: 600; }
.cal-nav { border: 0; background: var(--soft); width: 34px; height: 34px; border-radius: 50%; font-size: 20px; cursor: pointer; line-height: 1; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.cal-week span { font-size: 15px; padding: 4px 0 10px; }
.cal-grid { row-gap: 8px; }
.cal-grid button {
  justify-self: center; width: min(48px, 12vw); aspect-ratio: 1; border-radius: 50%; border: 0; background: none;
  font-size: 17px; color: #3A3C44; cursor: pointer; display: flex; align-items: center; justify-content: center; position: relative; padding: 0;
}
.cal-grid button.has { background: var(--cal); }
.cal-grid button.today { color: #1450F0; font-weight: 800; box-shadow: inset 0 0 0 2px #1450F0; }
.cal-grid button.out { visibility: hidden; }
.cal-grid button:disabled { color: #C5C7CE; cursor: default; }
.cal-grid .dot { position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); font-size: 9px; line-height: 1; letter-spacing: -1px; }
.cal-legend { text-align: center; font-size: 15px; margin: 16px 0 0; }
.cal-legend b { color: #1450F0; }
.cal-tip { text-align: center; font-size: 13px; color: var(--muted); margin: 6px 0 0; }

/* 날짜 시트 */
.day-title { margin: 6px 0 0; font-size: 24px; line-height: 1.35; }
.day-sub { margin: 4px 0 0; font-weight: 700; color: var(--muted); }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; }
.cats button { border: 0; background: none; font-size: 13px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.cats .ic { width: 62px; height: 62px; border-radius: 20px; background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.cats button.on .ic { background: #F2FBD2; box-shadow: inset 0 0 0 2px #9DBE10; }
.cats .cnt { position: absolute; top: -4px; right: 6px; background: #E5484D; color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; min-width: 20px; padding: 1px 5px; }
.day-list { display: flex; flex-direction: column; gap: 8px; max-height: 34vh; overflow-y: auto; }
.day-list:empty { display: none; }
.day-list > small { color: var(--muted); }
.day-item { display: flex; align-items: center; gap: 10px; background: var(--soft); border-radius: 12px; padding: 8px 10px; font-size: 14px; }
.day-item img { width: 30px; aspect-ratio: 5/6; object-fit: cover; border-radius: 4px; background: #ddd; }
.day-item .grow { flex: 1; min-width: 0; }
.day-item .grow b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.day-item .grow small { color: var(--muted); white-space: pre-line; }
.day-item .x { border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer; }
.day-item.link { cursor: pointer; }
.day-actions { display: flex; gap: 8px; }
.day-actions .btn { flex: 1; padding: 11px; font-size: 14px; }

/* 소식: 통계 */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.tile { background: var(--soft); border-radius: 18px; padding: 14px 16px; }
.tile small { display: block; font-size: 13px; color: var(--muted); font-weight: 700; }
.tile b { font-size: 28px; letter-spacing: -.8px; }
.tile b em { font-style: normal; font-size: 14px; color: var(--muted); margin-left: 2px; }
.split-bar { display: flex; gap: 2px; height: 26px; border-radius: 8px; overflow: hidden; background: var(--soft); }
.split-bar i { display: block; height: 100%; }
.split-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; margin-top: 10px; font-size: 14px; }
.split-legend span { display: flex; align-items: center; gap: 6px; }
.split-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.split-legend em { font-style: normal; color: var(--muted); }
.hbars { display: flex; flex-direction: column; gap: 8px; }
.hbar { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 10px; font-size: 14px; }
.hbar .track { display: flex; align-items: center; gap: 6px; height: 30px; }
.hbar .fill { height: 100%; border-radius: 0 6px 6px 0; background: #4C6EF5; min-width: 4px; }
.hbar .val { font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.hbars .none, .vbars .none { color: var(--muted); font-size: 14px; text-align: center; padding: 10px 0; }
.vbars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-items: end; height: 190px; border-bottom: 1px solid var(--line); }
.vbar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; position: relative; }
.vbar i { width: 70%; max-width: 36px; background: #9DBE10; border-radius: 4px 4px 0 0; min-height: 2px; }
.vbar b { font-size: 12px; }
.vbar small { position: absolute; bottom: -22px; font-size: 12px; color: var(--muted); }
.vbars + * { margin-top: 30px; }
/* 읽은 시간 그래프 */
.tchips3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 14px; }
.tchips3 div { background: var(--card); box-shadow: var(--raise-s); border-radius: 14px; padding: 10px 12px; }
.tchips3 small { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.tchips3 small i { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.tchips3 b { display: block; font-size: 16px; margin-top: 2px; white-space: nowrap; }
.tchart { display: grid; grid-template-columns: auto 1fr; gap: 8px; height: 200px; margin-bottom: 30px; }
.tc-y { display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; color: var(--muted); text-align: right; transform: translateY(6px); }
.tc-plot { position: relative; border-bottom: 1px solid var(--line); }
.tc-g { position: absolute; left: 0; right: 0; height: 1px; background: var(--line); opacity: .7; }
.tc-cols { position: absolute; inset: 0; display: grid; gap: 6px; }
.tc-col { position: relative; border: 0; background: none; padding: 0; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.tc-stack { width: 62%; max-width: 26px; display: flex; flex-direction: column-reverse; gap: 2px; border-radius: 4px 4px 0 0; overflow: hidden; min-height: 0; }
.tc-stack em { display: block; min-height: 2px; }
.tc-col small { position: absolute; bottom: -22px; font-size: 12px; color: var(--muted); }
.tc-col.fut small { opacity: .45; }
.tc-col.on small { color: var(--forest); font-weight: 800; }
.tc-col.on .tc-stack { outline: 2px solid var(--forest); outline-offset: 2px; }
.tinfo { font-size: 13px; color: var(--muted); text-align: center; margin: 0 0 8px; }

.toast {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + var(--nav-h) + 90px); transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; z-index: 70;
  box-shadow: var(--shadow); max-width: 90vw; text-align: center;
}

/* ===== 테마: 숲초록 · 세이지 · 아이보리 (부드럽게 떠 있는 카드) ===== */
:root {
  --bg: #F3EFE6; --soft: #ECE7DC; --card: #FBF9F4; --line: #E2DCCF;
  --ink: #1E2420; --muted: #6E776F;
  --forest: #2F5D3A; --forest-d: #1F3D27; --sage: #B7C9A8; --sage-l: #DDE5D3;
  --lime: #2F5D3A; --lime-ink: #F3EFE6;
  --ko: #2F5D3A; --en: #6F9F97; --fo: #C89B3C; --cal: #CFDCC3;
  --raise: 4px 4px 10px #D9D2C3, -4px -4px 10px #FFFFFF;
  --raise-s: 2px 2px 6px #D9D2C3, -2px -2px 6px #FFFFFF;
  --inset: inset 2px 2px 5px #D9D2C3, inset -2px -2px 5px #FFFFFF;
}
body { background: var(--bg); }
.top { background: rgba(243, 239, 230, .94); }
.stripes i:nth-child(odd) { background: #2F5D3A; }
.stripes i:nth-child(even) { background: #B7C9A8; }
.hero, .sec-title, .page-title { color: var(--forest-d); }
.gear, .cal-nav { background: var(--card); box-shadow: var(--raise-s); }
.kid { background: var(--card); color: var(--muted); box-shadow: var(--raise-s); }
.kid.on { background: var(--forest); color: #F3EFE6; box-shadow: none; }
.ring-card, .tile, .r-card, .stamp-card, .stamp-info { background: var(--card); box-shadow: var(--raise); }
.r-card { border-radius: 18px; }
.ring svg circle:first-child { stroke: var(--sage-l); }
.ring svg circle + circle { stroke: var(--forest); }
.ring b { color: var(--forest-d); }
.read-card { background: var(--forest); box-shadow: var(--raise); }
.read-card .bgimg { opacity: .22; }
.read-card b { color: #F3EFE6; }
.read-card p { color: #D6E2CC; }
.read-card .bar { background: rgba(255, 255, 255, .2); }
.read-card .bar i { background: var(--sage); }
.read-card .rc-cover { background: #4A7656; }
.shelf { border-radius: 14px; overflow: hidden; box-shadow: var(--raise); }
.shelf li { background: var(--soft); }
.shelf .pbar i { background: var(--sage); }
.shelf .done-badge { background: var(--forest); color: #F3EFE6; }
.shelf-title.ko { background: #DDE5D3; color: #1F3D27; }
.shelf-title.en { background: #DCEAE7; color: #2E5B55; }
.shelf-title.fo { background: #F2E6C9; color: #7A5A14; }
.shelf-head select { background: var(--card); border-color: transparent; box-shadow: var(--raise-s); }
.tabbar { background: var(--card); box-shadow: var(--raise); }
.tabbar button[aria-current="page"] { background: var(--bg); color: var(--forest); box-shadow: var(--inset); }
.fab { background: #FFCC00; color: #1E2420; box-shadow: 4px 6px 14px rgba(200, 155, 60, .4); }
.btn.lime { background: var(--forest); color: #F3EFE6; border-color: var(--forest); }
.btn.dark { background: var(--forest-d); }
.x-btn { background: var(--card); color: var(--muted); box-shadow: var(--raise-s); }
.x-btn:focus:not(:focus-visible), dialog .x-btn:focus { outline: none; }
.pill-btn { background: var(--card); color: var(--forest); border-color: transparent; box-shadow: var(--raise-s); }
.link-btn { color: var(--forest); }
dialog { background: var(--bg); }
.s-mine, .so-far { background: var(--sage-l); color: var(--forest-d); }
.seg button { background: var(--card); box-shadow: var(--raise-s); }
.seg button[aria-checked="true"] { background: var(--forest); color: #F3EFE6; border-color: var(--forest); box-shadow: none; }
.date-chips button { background: var(--card); border-color: transparent; box-shadow: var(--raise-s); }
.date-chips button.on { background: var(--forest); border-color: var(--forest); color: #F3EFE6; }
.pages-pair input, .min-row input, .pages-row input, .title-input, .sub-input, #manualIsbn, textarea, .total-row input, #vCat, .ic-in, .nm-in {
  background: var(--card); border-color: transparent; border-radius: 12px; box-shadow: var(--inset);
}
.check input { accent-color: var(--forest); }
.mark { background: linear-gradient(transparent 58%, #DDE5D3 58%); color: var(--forest-d); }
.choice { background: var(--card); border-color: transparent; box-shadow: var(--raise); }
.choice.dark { background: var(--forest); border-color: var(--forest); }
#rState + .check-help { padding-left: 2px; margin-top: 8px; }
.stamp { border-color: #B9B2A3; }
.stamp.on { border-color: var(--forest); }
.stamp.on::after { color: var(--forest); }
.burst { background: rgba(30, 36, 32, .72); }
.burst-ring { background: linear-gradient(rgba(31, 61, 39, .55), rgba(31, 61, 39, .55)) padding-box, linear-gradient(180deg, #B7C9A8, #2F5D3A) border-box; }
.bar i, .vbar i { background: var(--forest); }
.hbar .fill[style*="#4C6EF5"] { background: var(--forest) !important; }
.cal-grid button.has { background: var(--cal); }
.cal-grid button.today { color: var(--forest); box-shadow: inset 0 0 0 2px var(--forest); }
.cal-legend b { color: var(--forest); }
.cats .ic { background: var(--card); box-shadow: var(--raise-s); }
.cats button.on .ic { background: var(--sage-l); box-shadow: var(--inset); }
.cats .cnt { background: var(--forest); }
.day-item, .sessions li { background: var(--card); }
.set-row { background: var(--card); box-shadow: var(--raise-s); }
.cat-add { background: var(--card); }
.emoji-pick button { background: var(--bg); }
.kid-list .x, .cat-list button { background: var(--card); box-shadow: var(--raise-s); }
.toast { background: var(--forest-d); }
.roi.hit { border-color: var(--sage); }
.logo { width: 34px; height: 34px; display: block; }

.welcome { position: fixed; inset: 0; z-index: 900; background: #F3EFE6; display: flex; align-items: center; justify-content: center; transition: opacity .4s ease; }
.welcome.out { opacity: 0; pointer-events: none; }
.welcome-in { width: min(320px, 86vw); text-align: center; animation: welcomeUp .6s ease both; }
.welcome-faces { width: 100%; height: auto; display: block; }
.welcome h2 { font-size: 26px; color: #1F3D27; margin: 18px 0 6px; }
.welcome p { font-size: 14px; color: #4A5A4C; margin: 0 0 22px; }
.welcome .btn { width: 100%; padding: 14px; font-size: 16px; }
@keyframes welcomeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.kid .grade { font-size: 13px; font-weight: 600; opacity: .75; margin-left: 2px; }
.kid-list .grade-pick { flex: none; width: 84px; height: 44px; border: 0; border-radius: 12px; padding: 0 8px; font-size: 15px; background: var(--card); box-shadow: var(--inset); color: var(--ink, #1E2420); }
.kid.on .grade { opacity: 1; color: #FFCC00; }

/* 로그인 */
.auth { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.auth .sub-input { margin: 0; font-size: 16px; }
.auth-help { font-size: 13px; color: #4A5A4C; margin: 0; text-align: center; }
.auth-msg { font-size: 14px; color: #8A3B2E; margin: 0; min-height: 1.2em; text-align: center; }
.auth-links { display: flex; justify-content: space-between; gap: 8px; }
.auth-links button { border: 0; background: none; color: #2F5D3A; font-size: 14px; font-weight: 600; padding: 8px 2px; cursor: pointer; }
.welcome p.auth-help, .welcome p.auth-msg { margin: 0; }
/* 설정: 나만 보기 */
.set-check { cursor: pointer; }
.set-check input { width: 24px; height: 24px; accent-color: var(--forest); flex: none; }
/* 둘러보기 · 구경 */
.browse { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.browse .muted { color: var(--muted); font-size: 14px; }
.peek-bar { flex-basis: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #FFF3C4; color: #5A4300; border-radius: 14px; padding: 8px 12px; font-size: 13px; font-weight: 600; margin-top: 8px; }
.peek-bar button { border: 0; background: #FFCC00; color: #1E2420; border-radius: 10px; padding: 6px 10px; font-weight: 700; cursor: pointer; flex: none; }
body.peek #fab, body.peek #gearBtn, body.peek .kid.add, body.peek #vMore, body.peek #vActivity, body.peek #vTotalRow,
body.peek #dayCats, body.peek .day-sub, body.peek .day-actions, body.peek .day-item .x, body.peek #browseWrap { display: none !important; }
.browse-help { font-size: 13px; color: var(--muted); margin: -4px 0 10px; }

/* 선 아이콘 */
.ico { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: none; }
[data-ico] { display: inline-flex; }
.tabbar button span { filter: none !important; opacity: 1 !important; font-size: 0; }
.tabbar .ico { width: 24px; height: 24px; }
.tabbar button { color: #7A867C; }
.gear { display: flex; align-items: center; justify-content: center; color: var(--forest); }
.gear .ico { width: 22px; height: 22px; }
.fab .ico { width: 22px; height: 22px; }
.shelf-title { display: inline-flex; align-items: center; gap: 5px; }
.shelf-title .ico { width: 17px; height: 17px; }
#shelfPick button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
#shelfPick .ico, .focus-label .ico { width: 17px; height: 17px; }
.cats .ic .ico { width: 30px; height: 30px; }
.day-item > span .ico { width: 24px; height: 24px; }
/* 카테고리 편집: 아이콘 고르기 */
.ic-btn { width: 46px; height: 42px; border: 0; border-radius: 10px; background: var(--bg); box-shadow: var(--raise-s); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; color: var(--forest); padding: 0; }
.ic-btn .ico { width: 24px; height: 24px; }
.ic-btn.on { box-shadow: 0 0 0 2px var(--forest); }
.pick-for { display: block; font-size: 12px; color: var(--muted); margin: 2px 0 -2px; }
.icon-pick { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.icon-pick button { width: auto; height: auto; padding: 6px 0 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--forest); font-size: 0; }
.icon-pick button .ico { width: 22px; height: 22px; }
.icon-pick button small { font-size: 10px; color: var(--muted); }
.icon-pick button.on { box-shadow: 0 0 0 2px var(--forest); }
/* 포트폴리오 달력: 숫자는 위, 아이콘은 아래 3×2 */
.cal-grid { row-gap: 6px; column-gap: 4px; }
.cal-grid button { justify-self: stretch; width: auto; aspect-ratio: auto; min-height: 60px; border-radius: 12px; flex-direction: column; justify-content: flex-start; align-items: center; gap: 4px; padding: 6px 1px 5px; font-size: 14px; }
.cal-grid .dn { line-height: 1; }
.cal-grid .ig { display: grid; grid-template-columns: repeat(3, 13px); gap: 2px 1px; justify-content: center; }
.cal-grid .ig .ico { width: 13px; height: 13px; stroke-width: 2.3; }
.cal-grid .ig .more { font-size: 10px; font-weight: 800; color: var(--forest); line-height: 13px; text-align: center; }
.cal-grid button.today { box-shadow: inset 0 0 0 2px var(--forest); color: var(--forest); font-weight: 800; }

/* 셀프등록: 제목으로 찾기 */
.find-btn { margin-top: 8px; width: 100%; }
.find-list { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 4px; }
.find-list small { color: var(--muted); font-size: 12px; }
.find-item { display: flex; gap: 10px; align-items: center; text-align: left; border: 0; background: var(--bg); border-radius: 12px; padding: 6px 8px; cursor: pointer; box-shadow: var(--raise-s); }
.find-item img, .find-item .noimg { width: 36px; height: 48px; object-fit: cover; border-radius: 4px; background: var(--sage-l); flex: none; }
.find-item b { display: block; font-size: 14px; line-height: 1.3; }
.find-item small { font-size: 12px; }
/* 일기 사진 */
.photo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.photo-grid .ph { position: relative; aspect-ratio: 1; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.photo-grid button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #1E2420; color: #fff; font-size: 11px; cursor: pointer; padding: 0; }
.photo-add { width: 100%; margin-top: 8px; }
.ph-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.ph-thumb { width: 52px; height: 52px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--sage-l); }
.ph-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-thumb.off { display: inline-block; }
.photo-view { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,.92); }
.photo-view form { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }
.photo-view img { max-width: 100%; max-height: 82dvh; object-fit: contain; }
.photo-view .x-btn { position: absolute; top: calc(env(safe-area-inset-top) + 12px); right: 12px; z-index: 2; }
.pv-nav { position: absolute; bottom: calc(env(safe-area-inset-bottom) + 18px); left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 24px; color: #fff; font-size: 15px; }
.pv-nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 26px; cursor: pointer; }
.day-item .grow small { white-space: pre-line; }

/* 다시 읽기: 읽은 횟수 막대 */
.shelf li { position: relative; }
.tally-wrap { position: absolute; left: 4px; bottom: 8px; background: rgba(251, 249, 244, .94); border-radius: 6px; padding: 3px 4px; display: flex; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.tally { display: block; }
.v-times { display: flex; align-items: center; gap: 8px; margin: 6px 0 2px; font-size: 14px; font-weight: 700; color: var(--forest); }
.v-times:empty { display: none; }
.v-times .tally { width: 22px; height: auto; }
.sessions li.round-h { display: flex; justify-content: space-between; gap: 8px; background: var(--sage-l); border-radius: 10px; padding: 6px 10px; margin-top: 8px; font-size: 13px; color: var(--forest-d); list-style: none; }
.s-mine.link { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* 바코드 없는 책 · 구경 불러오는 중 */
.scan-alt { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
#titleDialog .sub-input { margin: 4px 0 6px; font-size: 16px; }
.browse .kid.loading { opacity: .55; }
.day-actions { flex-wrap: wrap; }
.day-actions .btn { min-width: 30%; flex: 1 1 auto; padding: 11px 10px; white-space: nowrap; }

/* 포트폴리오 날짜: 카테고리별 블록 */
.day-group { background: var(--card); border-radius: 14px; padding: 8px 8px 4px; box-shadow: var(--raise-s); }
.dg-head { display: flex; align-items: center; gap: 6px; margin: 2px 4px 6px; font-size: 14px; }
.dg-head .ico { width: 18px; height: 18px; }
.dg-head b { color: var(--ink, #1E2420); }
.dg-head small { margin-left: auto; font-size: 12px; font-weight: 700; color: #F3EFE6; background: var(--forest); border-radius: 999px; padding: 1px 8px; }
.day-group .day-item { background: transparent; border-radius: 10px; padding: 6px 4px; border-top: 1px solid rgba(47, 93, 58, .1); }
.day-group .day-item > span .ico { width: 20px; height: 20px; }
.day-list { gap: 10px; }

/* 게시판 */
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.board-head .btn { padding: 10px 16px; font-size: 15px; }
.post-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.post-list .muted { color: var(--muted); font-size: 14px; padding: 18px 4px; text-align: center; }
.post-row { width: 100%; text-align: left; border: 0; background: var(--card); box-shadow: var(--raise-s); border-radius: 14px; padding: 12px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; color: inherit; font: inherit; }
.post-row b { font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-row small { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.post-row small span { display: inline-flex; align-items: center; gap: 3px; }
.post-row small .ico { width: 13px; height: 13px; }
.post-row.pinned { background: #FFF6D6; }
.pin { display: inline-block; font-size: 11px; font-weight: 800; color: #1E2420; background: #FFCC00; border-radius: 6px; padding: 1px 6px; margin-right: 6px; vertical-align: 2px; }
.post { background: var(--card); border-radius: 16px; padding: 16px; box-shadow: var(--raise-s); }
.post-board { color: var(--forest); font-weight: 700; font-size: 12px; }
.post h2 { font-size: 20px; margin: 4px 0 6px; line-height: 1.35; word-break: break-word; }
.post-meta { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.post-body { white-space: pre-wrap; word-break: break-word; font-size: 15px; line-height: 1.7; }
.ph-row.big .ph-thumb { width: 84px; height: 84px; }
.like-btn { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 8px 14px; background: var(--bg); box-shadow: var(--raise-s); color: var(--muted); font-weight: 700; cursor: pointer; }
.like-btn .ico { width: 18px; height: 18px; }
.like-btn.on { color: #D4537E; }
.like-btn.on .ico { fill: #D4537E; }
.post-actions { display: flex; gap: 6px; }
.post-actions button { border: 0; background: var(--card); box-shadow: var(--raise-s); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 700; color: var(--forest); cursor: pointer; }
.post-actions .act-ic { width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.post-actions .act-ic .ico { width: 20px; height: 20px; }
.post-actions .act-ic:hover { color: var(--forest); }
.post-actions .act-ic[data-a="del"]:hover, .post-actions .act-ic[data-a="report"]:hover { color: #A32D2D; }
.post-actions .act-ic.on, .post-actions .act-ic.on:hover { background: var(--forest); color: #F3EFE6; box-shadow: none; }
.comments { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.comments li { background: var(--card); border-radius: 12px; padding: 8px 12px; }
.comments li div { display: flex; align-items: center; gap: 8px; }
.comments li small { color: var(--muted); font-size: 12px; }
.comments li .x { margin-left: auto; border: 0; background: none; color: var(--muted); cursor: pointer; }
.comments li p { margin: 4px 0 0; white-space: pre-wrap; word-break: break-word; font-size: 14px; }
.comments li.muted { color: var(--muted); font-size: 13px; text-align: center; background: none; }
.comment-new { display: flex; gap: 8px; align-items: flex-end; padding-bottom: 20px; }
.comment-new textarea { flex: 1; margin: 0; }
#postEdit .title-input { width: 100%; margin: 12px 0 8px; }
#postEdit textarea#peBody { width: 100%; }
body.peek .tabbar [data-go="board"] { display: none; }

/* 우리 집 책장 · 자녀 고르기 */
.check-help { margin: 4px 0 0 38px; font-size: 13px; color: var(--muted); }
.v-home { font-size: 16px; margin: 4px 0 10px; }
.v-home input { width: 22px; height: 22px; }
.kidbar.off { display: none; }
.stat-kids { margin: -4px 0 14px; }

/* 인기글 · 엄마 페이지 · 글감 */
.pop-head { display: flex; align-items: center; justify-content: space-between; }
.pop-head .sec-title { margin-bottom: 10px; }
.pop-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 12px; margin: 0 -4px; scrollbar-width: none; }
.pop-row::-webkit-scrollbar { display: none; }
.pop-card { flex: 0 0 150px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; text-align: left; border: 0; border-radius: 16px; background: var(--card); box-shadow: var(--raise-s); padding: 10px; cursor: pointer; color: inherit; font: inherit; }
.pop-im { display: block; height: 96px; border-radius: 10px; overflow: hidden; background: var(--sage-l); }
.pop-im img, .pop-im .pop-img { width: 100%; height: 100%; object-fit: cover; display: flex; }
.pop-card b { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); }
.pop-card p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pop-card small { margin-top: auto; font-size: 12px; color: var(--muted); }
.nick-link { border: 0; background: none; padding: 0; font: inherit; color: var(--forest); font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sage); }
.kid.mom { background: var(--card); color: var(--forest-d); box-shadow: var(--raise-s); }
.mom-head { display: flex; align-items: center; gap: 14px; }
.mom-av { width: 56px; height: 56px; border-radius: 50%; background: #FFCC00; color: var(--forest-d); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 900; flex: none; }
.mom-head h2 { margin: 0; font-size: 22px; color: var(--forest-d); }
.mom-head p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
#momPage .sec-title { margin: 8px 0 10px; }
#momPage .browse { display: flex; flex-wrap: wrap; gap: 8px; }
#momPage .kid { background: var(--card); box-shadow: var(--raise-s); color: var(--ink); }
.tchips { display: flex; flex-wrap: wrap; gap: 8px; }
.tchip { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 9px 14px; background: var(--card); box-shadow: var(--raise-s); font-weight: 700; font-size: 15px; color: var(--forest-d); cursor: pointer; }
.tchip .ico { width: 18px; height: 18px; }
.tchip span { color: var(--muted); font-weight: 600; }
.muted { color: var(--muted); }
.topic-card { display: flex; align-items: center; gap: 12px; background: var(--bg); border-radius: 12px; padding: 8px; }
.topic-card > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.topic-card b { font-size: 15px; line-height: 1.3; color: var(--ink); word-break: break-word; }
.topic-card small { font-size: 12px; color: var(--muted); }
.tc-cover { width: 46px; height: 62px; border-radius: 6px; object-fit: cover; flex: none; background: var(--sage-l); }
.tc-cover.big { width: 84px; height: 112px; }
.tp-ph { display: flex; align-items: center; justify-content: center; }
.tp-ph .ico { width: 40%; height: 40%; max-width: 34px; max-height: 34px; }
.tp-ph.t-book { background: #DDE5D3; color: #2F5D3A; }
.tp-ph.t-movie { background: #DCE9E6; color: #3F6B64; }
.tp-ph.t-show { background: #F4E7C8; color: #7A5A17; }
.tp-ph.t-tv { background: #F7DEDA; color: #8E3F3A; }
#pTopic .topic-card { margin: 4px 0 12px; }
.topic-pick { position: relative; }
.topic-pick .topic-card { background: var(--card); box-shadow: var(--raise-s); cursor: pointer; padding-right: 40px; }
.topic-pick .x { position: absolute; top: 8px; right: 8px; border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer; }
.topic-add { width: 100%; }
.td-search { display: flex; gap: 8px; }
.td-search .sub-input { flex: 1; margin: 0; font-size: 16px; }
.td-help { font-size: 13px; color: var(--muted); margin: 8px 0; }
.td-list { display: flex; flex-direction: column; gap: 8px; }
.td-photo { display: flex; gap: 14px; align-items: center; margin: 12px 0; }
#tdOther .title-input { width: 100%; }
#tdUse { width: 100%; }
.tp-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tp-tabs button { border: 1.5px solid var(--line); background: var(--card); border-radius: 10px; padding: 7px 14px; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; }
.tp-tabs button.on { background: var(--forest); border-color: var(--forest); color: #F3EFE6; }
.tp-count { margin: 0; font-size: 14px; color: var(--muted); text-align: right; }
.tp-count b { color: var(--forest); }
.tp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
.tp-item { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 6px; color: inherit; font: inherit; }
.tp-cover { width: 100%; aspect-ratio: 3 / 4; border-radius: 8px; object-fit: cover; background: var(--sage-l); box-shadow: var(--raise-s); }
.tp-item span:not(.tp-cover) { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-item small { font-size: 11px; color: var(--forest); font-weight: 700; }
.tp-item.open .tp-cover { outline: 3px solid #FFCC00; outline-offset: 2px; }
.tp-more { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; background: var(--card); border-radius: 12px; padding: 8px; box-shadow: var(--raise-s); }
.tp-more button { border: 0; background: none; text-align: left; padding: 8px; font-size: 14px; font-weight: 700; color: var(--forest-d); cursor: pointer; border-radius: 8px; }
.tp-grid > .muted { grid-column: 1 / -1; text-align: center; }

/* 포트폴리오: 고른 날짜 기록 */
.cal-grid button.today { box-shadow: none; }
.cal-grid button.sel { box-shadow: inset 0 0 0 2px var(--forest); color: var(--forest); font-weight: 800; }
.day-inline { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.di-title { margin: 0; font-size: 18px; color: var(--forest-d); }
.di-title small { font-size: 13px; color: var(--muted); font-weight: 600; }
.day-inline .day-list { display: flex; flex-direction: column; gap: 10px; max-height: none; overflow: visible; }
.di-empty { margin: 4px 0; text-align: center; color: var(--muted); font-size: 14px; }
.day-group .day-item { border-top: 0; box-shadow: none; }
body.peek #diAdd { display: none; }

/* 날짜 기록: 아이콘 겹침 없이 */
.day-item .noc { width: 30px; aspect-ratio: 5 / 6; border-radius: 4px; background: var(--sage-l); flex: none; }
.dn-text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); white-space: pre-line; word-break: break-word; }
.day-item .grow .ph-row { margin-top: 6px; }

/* 엄마 얼굴 · 이웃 · 찾기 */
.av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.av svg { width: 100%; height: 100%; display: block; }
.av.av-txt { color: #2B2B2B; font-weight: 800; font-size: 14px; }
.av.xs { width: 20px; height: 20px; font-size: 10px; vertical-align: -5px; margin-right: 4px; }
.av.big { width: 56px; height: 56px; font-size: 22px; }
.mom-av { background: none; width: auto; height: auto; }
.mom-head .grow { flex: 1; min-width: 0; }
.follow-btn { border: 0; border-radius: 999px; padding: 9px 14px; font-weight: 800; font-size: 14px; background: var(--forest); color: #F3EFE6; cursor: pointer; flex: none; }
.follow-btn.on { background: var(--card); color: var(--forest); box-shadow: var(--raise-s); }
.mom-q { width: 100%; margin: 0 0 6px; font-size: 16px; }
.mom-list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mom-list .muted { font-size: 14px; padding: 10px 4px; }
.mom-row { width: 100%; display: flex; align-items: center; gap: 12px; border: 0; background: var(--card); box-shadow: var(--raise-s); border-radius: 14px; padding: 8px 12px; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.mom-row b { display: block; font-size: 15px; color: var(--ink); }
.mom-row small { font-size: 12px; color: var(--muted); }
.mom-row em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; color: var(--forest); background: var(--sage-l); border-radius: 999px; padding: 2px 8px; }
.mom-more { width: 100%; margin-bottom: 18px; }
#browseWrap .sec-title { margin: 14px 0 8px; }
.nb-list { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-chip { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 5px 14px 5px 5px; background: var(--card); box-shadow: var(--raise-s); font-weight: 700; font-size: 15px; color: var(--forest-d); cursor: pointer; }
.nb-chip .av { width: 28px; height: 28px; }
.post-row small .who { display: inline-flex; align-items: center; }
.post-row small .who .av.xs { margin-right: 4px; vertical-align: 0; width: 18px; height: 18px; }
.pop-card small .av.xs { width: 16px; height: 16px; vertical-align: -3px; }
.face-pick { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.face-now { width: 56px; height: 56px; flex: none; }
.face-now svg { width: 100%; height: 100%; }
.face-pick b { display: block; font-size: 15px; }
.face-pick small { font-size: 12px; color: var(--muted); }
.face-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.face-grid button { border: 2px solid transparent; border-radius: 14px; background: none; padding: 4px; cursor: pointer; }
.face-grid button.on { border-color: var(--forest); }
.face-grid svg { width: 100%; max-width: 56px; height: auto; display: block; margin: 0 auto; }
.face-cols { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.face-cols button { width: 30px; height: 30px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; padding: 0; }
.face-cols button.on { border-color: var(--forest); }

/* 스탬프판 50칸 · 선물 · 졸업장 */
.stamp-top { grid-template-columns: 1fr auto; margin-bottom: 8px; }
.stamp-top b { text-align: left; font-size: 20px; }
.stamp-bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; margin-bottom: 14px; }
.stamp-bar i { display: block; height: 100%; background: var(--forest); border-radius: 99px; transition: width .4s; }
.stamp-card .stamp-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.stamp-card .stamp { border: 1.5px solid var(--line); background: var(--bg); font-size: 11px; padding: 0; filter: none; opacity: 1; }
.stamp-card .stamp.gold { border: 2px solid #C89B3C; }
.stamp-card .stamp.on { border: 2px solid var(--forest); cursor: pointer; }
.stamp-card .stamp.on.gold { border-color: #C89B3C; box-shadow: 0 0 0 1.5px #C89B3C; }
.stamp-card .stamp.on::after { content: none; }
.stamp-card .stamp.on span { font-weight: 800; color: var(--forest); }
.stamp-done { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #F4E7C8; border-radius: 14px; padding: 10px 12px; margin-bottom: 12px; }
.stamp-done b { color: #5C4310; font-size: 16px; }
.reward { display: flex; align-items: center; gap: 10px; margin-top: 14px; background: #F4E7C8; border-radius: 14px; padding: 10px 12px; }
.reward .gift { font-size: 22px; }
.reward small { display: block; font-size: 12px; color: #7A5A17; }
.reward b { font-size: 15px; color: #3E2E09; }
.reward .link-btn { margin-left: auto; font-size: 13px; }
.reward-add { width: 100%; border: 1.5px dashed #C89B3C; background: none; border-radius: 12px; padding: 10px; font: inherit; font-size: 14px; font-weight: 700; color: #7A5A17; cursor: pointer; }
.reward:has(.reward-add) { background: none; padding: 0; }
.reward-edit { display: flex; gap: 8px; margin-top: 14px; }
.reward-edit .sub-input { flex: 1; margin: 0; font-size: 16px; }
.cert-list { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.cert-list b { font-size: 15px; }
.cert-list button { border: 0; background: var(--bg); border-radius: 10px; padding: 9px 12px; text-align: left; font: inherit; font-weight: 700; color: var(--forest-d); cursor: pointer; }
.cert { background: #FFFDF6; border: 3px double #C89B3C; border-radius: 18px; padding: 26px 20px; text-align: center; color: #1E2420; }
.cert-logo { width: 64px; height: 64px; }
.cert-kicker { margin: 6px 0 0; font-size: 13px; color: #7A5A17; font-weight: 700; letter-spacing: 1px; }
.cert h2 { margin: 4px 0 2px; font-size: 30px; color: var(--forest-d); letter-spacing: 2px; }
.cert-no { margin: 0; font-size: 13px; color: var(--muted); }
.cert-name { margin: 18px 0 6px; font-size: 26px; }
.cert-name small { font-size: 15px; color: var(--muted); }
.cert-body { margin: 0; font-size: 16px; line-height: 1.8; }
.cert-reward { margin: 14px auto 0; display: inline-block; background: #F4E7C8; border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.cert-books { text-align: left; columns: 2; column-gap: 18px; font-size: 12px; line-height: 1.6; margin: 18px 0 0; padding-left: 22px; color: #3A3C44; }
.cert-books li { break-inside: avoid; }
.cert-date { margin: 18px 0 0; font-size: 14px; font-weight: 700; }
@media print {
  body.printing > *:not(#certPage) { display: none !important; }
  body.printing #certPage { position: static; display: block; width: auto; height: auto; max-height: none; background: #fff; }
  body.printing #certPage .no-print { display: none !important; }
  body.printing .cert { border-color: #C89B3C; }
}
/* 엄마 목록: 작은 정사각형 */
#browseWrap .mom-list { display: flex; flex-direction: row; flex-wrap: wrap; gap: 14px 10px; padding: 4px 2px 6px; }
#browseWrap .mom-list > li { width: 62px; }
#browseWrap .mom-list > .muted { width: 100%; }
.nb-face .nb-tag { font-size: 10.5px; color: var(--forest); font-weight: 700; margin-top: -3px; }
.mom-tile { position: relative; width: 100%; aspect-ratio: 1; border: 0; border-radius: 16px; background: var(--card); box-shadow: var(--raise-s); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px 4px; cursor: pointer; color: inherit; font: inherit; }
.mom-tile .av { width: 40%; height: auto; aspect-ratio: 1; max-width: 40px; }
.mom-tile .av.av-txt { font-size: 15px; }
.mom-tile b { font-size: 12px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.mom-tile small { font-size: 11px; color: var(--muted); line-height: 1; }
.mom-tile em { position: absolute; top: 5px; right: 5px; font-style: normal; font-size: 9px; font-weight: 800; color: var(--forest); background: var(--sage-l); border-radius: 999px; padding: 1px 5px; }

/* 엄마 블로그 */
body.peek .tabbar [data-go="blog"] { display: none; }
.tabbar button { font-size: 11px; letter-spacing: -.3px; }
.blog { display: flex; flex-direction: column; gap: 4px; }
.blog .sec-title { margin: 14px 0 8px; }
.bl-msg { text-align: center; padding: 18px 0; font-size: 14px; }
.bl-head { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.bl-head .grow { flex: 1; min-width: 0; }
.bl-head h2 { margin: 0; font-size: 20px; color: var(--forest-d); word-break: keep-all; }
.bl-head p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.blog .browse { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.blog .browse .kid { background: var(--card); box-shadow: var(--raise-s); color: var(--ink); }
.bl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bl-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.bl-cats button { border: 0; border-radius: 10px; padding: 8px 12px; background: var(--card); box-shadow: var(--raise-s); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.bl-cats button small { color: var(--muted); font-weight: 600; margin-left: 2px; }
.bl-cats button.on { background: var(--forest); color: #F3EFE6; box-shadow: none; }
.bl-cats button.on small { color: var(--sage-l); }
.pop-head .link-btn .ico { width: 15px; height: 15px; vertical-align: -2px; }
.bl-msg.sm { font-size: 13px; margin: 0; }
.bc-list { list-style: none; padding: 0; margin: 10px 0; display: flex; flex-direction: column; gap: 8px; }
.bc-list li { display: flex; gap: 6px; align-items: center; background: var(--card); box-shadow: var(--raise-s); border-radius: 14px; padding: 6px 8px 6px 12px; }
.bc-list li.bc-empty { box-shadow: none; background: none; justify-content: center; padding: 18px; }
.bc-name { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; font: inherit; font-size: 15px; font-weight: 700; padding: 8px 0 !important; }
.ic-sm { width: 34px; height: 34px; border: 0; border-radius: 10px; background: var(--soft); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; flex: none; }
.ic-sm .ico { width: 18px; height: 18px; }
.ic-sm:disabled { opacity: .35; cursor: default; }
.ic-sm.del { background: #FDECEC; color: #A32D2D; }
.bc-add { display: flex; gap: 8px; }
.bc-add input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--inset); outline: none; }
.bc-add input:focus { border-color: var(--sage); }
.be-cat { display: flex; align-items: center; gap: 10px; margin: 4px 0 8px; font-size: 14px; font-weight: 700; color: var(--forest); }
.be-cat select { flex: 1; font: inherit; font-size: 15px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.bl-tags button { border: 0; border-radius: 999px; padding: 5px 11px; background: var(--sage-l); color: var(--forest-d); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.bl-tags button small { color: var(--muted); font-weight: 600; }
#bvTags { margin-top: 14px; }
.bl-tags.edit:empty { display: none; }
.bl-tags.edit { margin-bottom: 8px; }
#beTagIn { width: 100%; font-size: 16px; margin: 0; }
.be-pub { font-size: 17px; }
.be-pub small { font-size: 13px; color: var(--muted); font-weight: 600; }
.bl-view { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 3px; }
.bl-view button { border: 0; background: none; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.bl-view button.on { background: var(--card); color: var(--forest); box-shadow: var(--raise-s); }
.bl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bl-row { width: 100%; display: flex; align-items: center; gap: 12px; border: 0; background: var(--card); box-shadow: var(--raise-s); border-radius: 14px; padding: 8px; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.bl-row .grow { flex: 1; min-width: 0; }
.bl-row b { display: block; font-size: 15px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-row small { font-size: 12px; color: var(--muted); }
.bl-th { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: var(--sage-l); }
.bl-pv { display: none; }

/* ---------- PC 화면 (넓은 화면에서만): 블로그를 두 칸으로 ---------- */
@media (min-width: 1000px) {
  main:has(> .tab[data-tab="blog"]:not([hidden])) { max-width: 1140px; }
  #momPage .page-in { max-width: 1140px; }
  .bl-wrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; align-items: start; }
  .ks-side { display: none; }
  .bl-main .ks-main { display: block; margin: 0 0 18px; }
  .ks-main .sec-title { margin-top: 0; }
  .ks-main .kb-row { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; overflow: visible; margin: 0; padding: 2px 0 8px; }
  .ks-main .kb-tile { width: auto; }
  .ks-main .kb-tile .kb-cv { width: 100%; height: auto; aspect-ratio: 72 / 104; }
  .bl-side { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 4px; background: var(--card); box-shadow: var(--raise-s); border-radius: 20px; padding: 18px 18px 20px; }
  .bl-side .bl-head { flex-direction: column; align-items: flex-start; text-align: left; margin: 0 0 6px; }
  .bl-side .bl-head .follow-btn { width: 100%; }
  .bl-side .bl-cats { flex-direction: column; gap: 2px; }
  .bl-side .bl-cats button { box-shadow: none; background: transparent; text-align: left; display: flex; justify-content: space-between; border-radius: 10px; padding: 9px 10px; }
  .bl-side .bl-cats button:hover { background: var(--soft); }
  .bl-side .bl-cats button.on { background: var(--forest); }
  .bl-main .pop-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .bl-main .pop-card { flex: none; }
  .bl-main .tp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; }
  .bl-main .bl-list { gap: 12px; }
  .bl-main .bl-row { padding: 14px; gap: 18px; align-items: flex-start; }
  .bl-main .bl-th { width: 120px; height: 90px; border-radius: 12px; order: 2; }
  .bl-main .bl-row b { font-size: 17px; white-space: normal; }
  .bl-main .bl-pv { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-style: normal; font-size: 14px; line-height: 1.55; color: #55595F; margin: 6px 0; }
  /* 글 보기: 읽기 좋은 폭, 큰 글씨 */
  #blogView .page-in { max-width: 820px; }
  #blogView .post { padding: 30px 40px; }
  #blogView .post h2 { font-size: 28px; }
  #blogView .post-body { --base: 17px; font-size: 17px; line-height: 1.85; }
  /* 글쓰기: 왼쪽은 글, 오른쪽은 카테고리 · 태그 · 공개 */
  #blogEdit .page-in { max-width: 1240px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 28px; align-items: start; }
  #blogEdit .page-top { grid-column: 1 / -1; }
  #blogEdit #beTitle, #blogEdit .rt-box { grid-column: 1; }
  #blogEdit #beCatRow, #blogEdit .field, #blogEdit .be-pub { grid-column: 2; }
  #blogEdit #beTitle { grid-row: 2; }
  #blogEdit .rt-box { grid-row: 3 / span 6; }
  #blogEdit .rt { min-height: 520px; }
  #blogEdit #beCatRow { grid-row: 2; margin: 0; align-self: center; }
  #blogEdit .field { grid-row: 3; }
  #blogEdit .be-pub { grid-row: 4; }
  #blogEdit.jin .be-fo { display: block; grid-column: 2; grid-row: 5 / span 4; max-height: calc(100dvh - 300px); overflow: auto; background: var(--card); box-shadow: var(--raise-s); border-radius: 16px; padding: 14px; }
  #blogEdit #beFolioBtn { display: none; }
}
.tp-ph.t-none { background: var(--sage-l); color: var(--forest); }
.blog .pop-card .pop-im { height: 84px; }
/* 연산 프린트 */
.ws-entry { width: 100%; display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); cursor: pointer; text-align: left; }
.ws-ico { font-size: 26px; }
.ws-et { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ws-et b { font-size: 17px; }
.ws-et small { font-size: 13px; color: var(--muted); }
.ws-go { font-size: 22px; color: var(--muted); }
.ws-help { margin: -4px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.ws-lv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 14px; background: var(--soft); margin-bottom: 10px; }
.ws-lv button { border: 0; border-radius: 11px; padding: 10px; font: inherit; font-weight: 800; font-size: 16px; background: none; color: var(--muted); cursor: pointer; }
.ws-lv button[aria-pressed="true"] { background: var(--forest); color: #F3EFE6; }
.ws-gr { display: flex; gap: 6px; flex-wrap: wrap; padding-bottom: 4px; }
.ws-gr button { border: 0; border-radius: 999px; padding: 8px 15px; font: inherit; font-weight: 800; font-size: 15px; background: var(--card); box-shadow: var(--raise-s); color: var(--muted); cursor: pointer; }
.ws-gr button[aria-checked="true"] { background: var(--lime); color: var(--ink); box-shadow: none; }
.ws-unit { margin-top: 6px; }
.ws-unit h4 { margin: 10px 0 6px; font-size: 16px; display: flex; align-items: baseline; gap: 8px; }
.ws-unit h4 small { font-size: 12px; font-weight: 700; color: var(--forest); background: var(--sage-l); border-radius: 999px; padding: 2px 8px; }
.ws-steps { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ws-steps li + li { border-top: 1px solid var(--line); }
.ws-steps button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 0; background: #fff; text-align: left; cursor: pointer; font-size: 15px; }
.ws-steps button:active { background: var(--soft); }
.ws-steps .no { font-weight: 800; color: var(--forest); flex: none; }
.ws-steps .t { flex: 1; line-height: 1.35; }
.ws-steps small { flex: none; font-size: 12px; color: var(--muted); }
.ws-codef { display: flex; gap: 8px; margin-top: 18px; }
.ws-codef input { flex: 1; min-width: 0; font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); padding: 11px 12px; }
.ws-codef button { border: 0; border-radius: 12px; padding: 0 16px; font: inherit; font-weight: 800; background: var(--ink); color: #fff; cursor: pointer; }
.ws-opt-h { display: flex; flex-direction: column; gap: 3px; }
.ws-opt-h small { color: var(--muted); font-size: 13px; }
.ws-opt-h b { font-size: 19px; line-height: 1.35; }
.ws-lab { margin: 6px 0 -4px; font-size: 14px; font-weight: 800; color: var(--muted); }
.ws-prev-in { max-width: 880px; }
.ws-pbtns { display: flex; gap: 8px; }
.ws-pbtns .pill-btn { font-size: 15px; padding: 8px 14px; }
.ws-print { background: var(--ink); color: #fff; border-color: var(--ink); }
.ws-tip { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
#wsSheets { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ws-sc { width: calc(210mm * var(--s, .45)); height: calc(296.5mm * var(--s, .45)); box-shadow: 0 2px 14px rgba(0,0,0,.14); flex: none; overflow: hidden; }
.ws-sc > .ws-page { transform: scale(var(--s, .45)); transform-origin: 0 0; }
@media print {
  @page { size: A4; margin: 0; }
  body.printing #certPage { padding: 14mm; }
  body.printing-ws > *:not(#wsPrev) { display: none !important; }
  body.printing-ws #wsPrev { position: static; display: block; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: 0; background: #fff; overflow: visible; }
  body.printing-ws #wsPrev .page-in { display: block; padding: 0; max-width: none; }
  body.printing-ws #wsPrev .no-print { display: none !important; }
  body.printing-ws #wsSheets { display: block; }
  body.printing-ws .ws-sc { width: auto; height: auto; box-shadow: none; overflow: visible; }
  body.printing-ws .ws-sc > .ws-page { transform: none; break-after: page; }
  body.printing-ws .ws-sc:last-child > .ws-page { break-after: auto; }
}
body.peek #wsOpen { display: none; }
/* 연산 프린트: 책 스캔 위 작은 동그라미 (홈에서만) */
.ws-fab {
  position: fixed; z-index: 9; right: calc(max(16px, calc(50vw - 344px)) + 24px);
  bottom: calc(env(safe-area-inset-bottom) + 10px + var(--nav-h) + 14px + 54px + 10px);
  width: 51px; height: 51px; border-radius: 50%; padding: 0; cursor: pointer;
  background: #F9C9B4; border: 1px solid #EFA98A; color: #B95A26;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--raise-s);
}
.ws-ops { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 2px; font-size: 12px; line-height: 13px; }
.ws-fab::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.ws-fab:active { transform: scale(.95); }
body.peek #wsOpen { display: none; }
/* 사진이 글 사이에 들어가는 글쓰기 (블로그 · 메모) */
.rt-box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--raise-s); overflow: hidden; }
.rt-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; background: var(--card); }
.rt-btn { border: 0; border-radius: 999px; padding: 7px 13px; background: var(--soft); color: var(--forest); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.rt-btn:disabled { opacity: .45; }
.rt-bar small { margin-left: auto; font-size: 12px; color: var(--muted); }
.rt-topic:empty { display: none; }
.rt-topic { padding: 10px 12px 0; }
.rt { padding: 6px 12px 12px; min-height: 220px; display: flex; flex-direction: column; }
#eRich { min-height: 180px; }
.rt-ta { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 6px 0 !important; margin: 0; resize: none; overflow: hidden; min-height: 34px; font-size: 16px; line-height: 1.7; width: 100%; outline: none; }
.rt > .rt-ta:last-child { flex: 1 0 auto; min-height: 80px; } /* 1 1 0 이면 글이 길어도 칸이 줄어 글이 잘려 보임 */
.rt-ph { position: relative; margin: 4px 0; }
.rt-ph img { display: block; width: 100%; max-height: 70vh; object-fit: contain; border-radius: 12px; background: var(--soft); min-height: 80px; }
.rt-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(20, 22, 26, .6); color: #fff; font-size: 13px; cursor: pointer; }
.rt-p { margin: 0 0 10px; white-space: pre-wrap; }
.ph-row.inl { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 14px; }
.ph-row.inl .ph-thumb { width: 100%; height: auto; border-radius: 12px; background: var(--soft); }
.ph-row.inl .ph-thumb img { height: auto; max-height: 80vh; object-fit: contain; }
.day-item .dn-text + .ph-row, .day-item .ph-row + .dn-text { margin-top: 6px; }
/* 블로그 글씨 꾸미기 */
.rt-bar { flex-wrap: wrap; }
.rt-fmt { flex-basis: 100%; display: flex; align-items: center; gap: 10px; padding-top: 2px; }
.rt-sz { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 2px; }
.rt-sz button { border: 0; background: transparent; color: var(--forest); font-weight: 800; padding: 3px 9px; border-radius: 999px; cursor: pointer; line-height: 1.2; }
.rt-sz button[data-s="1"] { font-size: 12px; } .rt-sz button[data-s="2"] { font-size: 15px; } .rt-sz button[data-s="3"] { font-size: 19px; }
.rt-sz button:active, .rt-cl button:active { transform: scale(.9); }
.rt-cl { display: inline-flex; gap: 7px; }
.rt-cl button { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line); padding: 0; cursor: pointer; background: currentColor; }
.fc-0 { color: var(--ink); } .fc-1 { color: #D85A30; } .fc-2 { color: #2F7A45; } .fc-3 { color: #2E6FB0; } .fc-4 { color: #B07D1E; }
.rt.ce { --base: 16px; } .post-body { --base: 15px; }
.fs-1 { font-size: calc(var(--base, 16px) * .85); font-weight: 400; } .fs-2 { font-size: var(--base, 16px); font-weight: 400; } .fs-3 { font-size: calc(var(--base, 16px) * 1.3); font-weight: 700; }
.rt.ce { position: relative; outline: none; font-size: 16px; line-height: 1.7; padding: 10px 12px 16px; display: block; white-space: pre-wrap; word-break: break-word; -webkit-user-select: text; user-select: text; }
.rt.ce > div { min-height: 1.7em; }
.rt.ce.empty::before { content: attr(data-ph); position: absolute; left: 12px; top: 10px; color: var(--muted); pointer-events: none; }
.rt.ce .rt-ph { margin: 6px 0; -webkit-user-select: none; user-select: none; }

/* 종 알림 · 답글 */
.top-btns { display: flex; gap: 8px; align-items: center; }
.bell { position: relative; }
.bell-n { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #E24B4A; color: #fff; font: 800 11px/18px var(--font, sans-serif); font-style: normal; box-shadow: 0 0 0 2px var(--bg, #F3EFE6); }
.comments li.re { margin-left: 22px; background: var(--soft); }
.re-mark { color: var(--muted); font-weight: 700; }
.comments li .re-btn { border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; padding: 2px 4px; }
.comments li div .re-btn { margin-left: auto; }
.comments li div .re-btn ~ .x { margin-left: 0; }
.bell[hidden] { display: none; }
.reply-to { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; padding: 6px 10px; margin-bottom: 6px; border-radius: 10px; background: var(--soft); }
.reply-to button { border: 0; background: none; color: var(--muted); font-weight: 700; cursor: pointer; }
.al-h { margin: 4px 0 2px; }
.al-sub { font-size: 13px; margin: 0 0 14px; }
.al-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.al-list li.muted { text-align: center; padding: 30px 0; }
.al-row { width: 100%; display: flex; gap: 10px; align-items: flex-start; text-align: left; border: 0; border-radius: 14px; padding: 12px; background: var(--card); box-shadow: var(--raise-s); color: var(--ink); cursor: pointer; font: inherit; font-size: 14px; }
.al-row.new { box-shadow: inset 4px 0 0 #E24B4A, var(--raise-s); }
.al-row.read { opacity: .62; }
.al-all { float: right; border: 0; border-radius: 999px; padding: 4px 12px; margin-top: -2px; font: inherit; font-size: 12px; font-weight: 800; background: var(--card); color: var(--forest, #2F4F3A); box-shadow: var(--raise-s); cursor: pointer; }
.al-ic { font-size: 20px; line-height: 1.2; }
.al-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.al-tx small { color: var(--muted); font-size: 12px; }
.al-tx em { font-style: normal; color: var(--ink); opacity: .8; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 친구 찾기 칩: 학년 · 같은 책 */
.mom-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; }
.mom-chips button { border: 0; border-radius: 99px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 700; background: var(--card); box-shadow: var(--raise-s); color: var(--ink); cursor: pointer; }
.mom-chips button.on, .mom-chips button[aria-pressed="true"] { background: var(--forest); color: #F3EFE6; box-shadow: none; }
.grade-pick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 10px; margin: -4px 0 14px; border-radius: 16px; background: var(--card); box-shadow: var(--raise-s); }
.grade-pick button { position: relative; border: 0; border-radius: 10px; padding: 8px 0; font: inherit; font-size: 13px; font-weight: 700; background: var(--soft); color: var(--ink); cursor: pointer; }
.grade-pick button.mine::after { content: ""; position: absolute; top: 4px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: #E8834E; }
.grade-pick button.on { background: var(--forest); color: #F3EFE6; }
.grade-pick small { grid-column: 1 / -1; font-size: 11px; color: var(--muted); }
.grade-pick small::first-letter { color: #E8834E; }
.res-head { display: flex; justify-content: space-between; align-items: center; margin: 2px 2px 8px; font-size: 15px; }
.res-head button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
#momRes { margin-bottom: 14px; }

/* 우리 집 책장 표시 (표지 왼쪽 위) */
.shelf .home-badge { position: absolute; top: 4px; left: 4px; width: 14px; height: 14px; border-radius: 50%; background: #FFEBDD; color: #B95A26; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.shelf .home-badge svg { width: 10px; height: 10px; }

/* 연산: 장 수 직접 고르기 */
.ws-cnt { display: flex; align-items: center; gap: 8px; margin: 10px 0 2px; }
.ws-cnt button { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--card); box-shadow: var(--raise-s); font: inherit; font-size: 22px; font-weight: 800; color: var(--ink); cursor: pointer; }
.ws-cnt input { width: 64px; height: 44px; text-align: center; font: inherit; font-size: 18px; font-weight: 800; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); margin: 0; }
.ws-cnt span { font-weight: 700; }
.ws-cnt small { margin-left: auto; color: var(--muted); font-size: 12px; }

/* 기록 화면: 누구 기록인지 */
.r-kids button small { font-size: 12px; opacity: .7; margin-left: 2px; }
.icon-pick button { padding: 9px 0; }

/* 카테고리 편집: 눈·자물쇠·휴지통 선 아이콘 */
.cat-list button .ico, .cat-list .lock .ico { width: 18px; height: 18px; }
.cat-list button[data-hide], .cat-list button[data-rm] { display: flex; align-items: center; justify-content: center; color: var(--forest); }
.cat-list li.off button[data-hide] { color: var(--muted); }
.cat-list button[data-rm] { color: #C23B3B; }
.cat-list .lock { display: flex; align-items: center; justify-content: center; color: var(--muted); }

/* 우리 집 책장 글자 옆 집 표시 (표지 위 표시와 같은 모양) */
.home-mark { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #FFEBDD; color: #B95A26; vertical-align: 2px; margin-left: 4px; font-style: normal; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.home-mark svg { width: 12px; height: 12px; }

/* 교과서 수록도서 학년 동그라미 */
.tb-gs { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: 3px; }
.tb-g { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #2F7A45; color: #fff; font-size: 12px; font-weight: 800; font-style: normal; line-height: 1; letter-spacing: 0; }
.tb-g.m { background: #2E6FB0; }
.tb-g.h { background: #7F4DB0; }

/* 👑 회원 관리 */
.adm-sub { font-size: 13px; margin: -4px 0 12px; }
.adm-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.adm-tiles div { background: var(--card); box-shadow: var(--raise-s); border-radius: 14px; padding: 10px; text-align: center; }
.adm-tiles b { display: block; font-size: 22px; color: var(--forest); }
.adm-tiles small { font-size: 12px; color: var(--muted); }
.adm-rep { width: 100%; border: 0; border-radius: 14px; padding: 12px; margin-bottom: 10px; background: #FDECEC; color: #A32D2D; font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.adm-sort { display: flex; gap: 6px; margin: 8px 0 10px; }
.adm-sort button { border: 0; border-radius: 99px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 700; background: var(--card); box-shadow: var(--raise-s); color: var(--ink); cursor: pointer; }
.adm-sort button[aria-pressed="true"] { background: var(--forest); color: #F3EFE6; box-shadow: none; }
.adm-list, .w-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 6px; }
.adm-list .muted, .w-list .muted { text-align: center; padding: 24px 0; font-size: 14px; }
.adm-row { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 14px; padding: 10px 12px; background: var(--card); box-shadow: var(--raise-s); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.adm-row .av, .au-head .av { width: 36px; height: 36px; flex: none; }
.adm-row .am { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.adm-row .am small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-row .ar { text-align: right; font-size: 13px; font-weight: 700; flex: none; }
.adm-row .ar em { display: block; font-style: normal; font-weight: 400; font-size: 11px; color: var(--muted); }
.tag { font-style: normal; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 6px; margin-left: 4px; vertical-align: 1px; }
.tag.adm { background: #FFCC00; color: #1E2420; } .tag.new { background: #E1F5EE; color: #085041; } .tag.idle { background: #FAEEDA; color: #854F0B; } .tag.ban { background: #FDECEC; color: #A32D2D; }
.w-row { display: flex; gap: 10px; align-items: flex-start; background: var(--card); box-shadow: var(--raise-s); border-radius: 14px; padding: 10px 12px; }
.w-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.w-row small { color: var(--muted); font-size: 12px; }
.w-row small .rp { color: #A32D2D; }
.w-row > div > b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-row p { margin: 0; font-size: 13px; color: var(--ink); opacity: .8; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.w-acts { display: flex; gap: 4px; flex: none; }
.w-acts button, .au-acts button { border: 0; border-radius: 10px; padding: 6px 10px; font: inherit; font-size: 12px; font-weight: 700; background: var(--soft); color: var(--ink); cursor: pointer; }
.w-acts button.del, .au-acts button.del { background: #FDECEC; color: #A32D2D; }
.au-head { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 12px; }
.au-head .av { width: 48px; height: 48px; }
.au-head div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.au-head b { font-size: 18px; }
.au-head small { color: var(--muted); font-size: 12px; word-break: break-all; }
.au-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.au-acts button { padding: 9px 12px; font-size: 13px; background: var(--card); box-shadow: var(--raise-s); }
.au-acts button.on { background: #FDECEC; color: #A32D2D; box-shadow: none; }
.au-acts button { display: inline-flex; align-items: center; gap: 6px; }
.au-acts button .ico { width: 18px; height: 18px; }
.w-acts button { width: 36px; height: 36px; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.w-acts button .ico { width: 19px; height: 19px; }
.w-acts button.ok { color: var(--forest); }
.comments li .rp-btn { margin-left: 0; border: 0; background: none; color: var(--muted); font-size: 11px; cursor: pointer; padding: 2px 4px; opacity: .7; }

/* 처음 사용법 */
.tu-in { display: flex; flex-direction: column; min-height: 100%; overflow: hidden; }
.tu-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); padding-top: 4px; }
.tu-top button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; padding: 6px; }
.tu-view { flex: 1; overflow: hidden; margin: 0 -4px; padding: 0 4px; }
.tu-track { display: flex; transition: transform .3s ease; }
.tu-card { flex: 0 0 100%; text-align: center; padding: 6px 8px 8px; box-sizing: border-box; }
.tu-art { height: 190px; display: flex; align-items: center; justify-content: center; margin: 6px 0 10px; }
.tu-art svg { max-width: 100%; height: auto; }
.tu-card h3 { font-size: 22px; margin: 6px 0 10px; color: var(--forest); line-height: 1.35; }
.tu-card p { font-size: 15px; line-height: 1.65; color: #55595F; margin: 0 0 8px; }
.tu-legend { display: grid; grid-template-columns: auto 1fr; gap: 9px 12px; text-align: left; font-size: 14px; margin: 4px 10px 0; align-items: center; }
.tu-legend .tb { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 800; }
.tu-two { display: inline-flex; gap: 2px; }
.tu-tally { color: #2F7A45; font-weight: 800; letter-spacing: 1px; }
.tu-ico { display: block; justify-self: start; }
.tu-art-s { height: 170px; margin: 2px 0 6px; }
.tu-legend .tu-two .tu-ico { display: inline-block; }
.tu-bar { display: inline-block; width: 22px; height: 5px; border-radius: 3px; background: #2F7A45; }
.tu-names { display: grid; gap: 12px; background: var(--card); box-shadow: var(--raise-s); border-radius: 18px; padding: 14px; margin: 14px 0; text-align: left; }
.tu-names > div { display: flex; gap: 12px; align-items: flex-start; }
.tu-ic { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.tu-names b { display: block; font-size: 15px; }
.tu-names small { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.tu-kids { display: flex; gap: 6px; margin-top: 6px; }
.tu-kids i { font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--soft); }
.tu-kids i.on { background: var(--forest); color: #F3EFE6; }
.tu-where { font-size: 13px !important; text-align: left; background: var(--card); border-radius: 14px; padding: 10px 12px; color: #55595F; }
.tu-dots { display: flex; justify-content: center; gap: 6px; margin: 14px 0 12px; }
.tu-dots i { width: 8px; height: 8px; border-radius: 50%; background: #D8D2C4; cursor: pointer; transition: width .2s; }
.tu-dots i.on { width: 22px; border-radius: 4px; background: var(--forest); }
.tu-nav { display: flex; gap: 8px; padding-bottom: calc(env(safe-area-inset-bottom) + 12px); }
.tu-nav button { flex: 1; border: 0; border-radius: 16px; padding: 15px; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
#tuPrev { background: var(--card); box-shadow: var(--raise-s); color: var(--ink); }
#tuNext { background: var(--sage); color: var(--forest-d); }
.tu-nav button:focus { outline: none; }

/* 책 줄에 붙는 읽은 시간 (누르면 고치기) */
.t-chip { display: inline-flex; align-items: center; margin-left: 8px; border: 0; border-radius: 999px; padding: 2px 9px; background: var(--soft); color: var(--forest); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; vertical-align: 1px; }

/* 소식: 수학 공부 시간 */
.tchips3.math em { display: block; font-style: normal; font-size: 11px; color: var(--muted); margin-top: 2px; }
#mathMonths .vbar b { font-size: 11px; white-space: nowrap; }
#mathMonths + .tinfo { margin-top: 30px; }
.sec-ico .ico { width: 22px; height: 22px; vertical-align: -3px; color: #185FA5; }
#mathWrap { margin-top: 44px; }

/* 영상 검색 (TMDB 포스터) */
.find-item.poster img { width: 46px; height: 69px; }
.tmdb-note { font-size: 11px; color: var(--muted); line-height: 1.5; margin: 8px 2px 0; }

/* 홈: 교과서 수록도서 카드 */
.tb-card { width: 100%; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 8px; align-items: center; border: 0; border-radius: 18px; background: var(--card); box-shadow: var(--raise); padding: 14px 16px; margin: 4px 0 18px; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.tb-card .tb-ic { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 14px; background: #E4EFE3; color: var(--forest); display: grid; place-items: center; }
.tb-card .tb-ic .ico { width: 24px; height: 24px; }
.tb-card .tb-txt b { display: block; font-size: 16px; }
.tb-card .tb-txt small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.tb-card .tb-go { grid-row: 1 / 3; grid-column: 3; font-size: 22px; color: var(--muted); }
.tb-card .tb-bar { grid-column: 2; height: 6px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.tb-card .tb-bar i { display: block; height: 100%; background: var(--forest); border-radius: 6px; width: 0; }
/* 교과서 수록도서 목록 */
.tb-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px 0 12px; }
.tb-tabs button { border: 0; border-radius: 12px; background: var(--card); box-shadow: var(--raise-s); padding: 8px 4px; font: inherit; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.tb-tabs button b { font-size: 14px; }
.tb-tabs button small { font-size: 11px; color: var(--muted); }
.tb-tabs button[aria-selected="true"] { background: var(--forest); color: #F3EFE6; box-shadow: none; }
.tb-tabs button[aria-selected="true"] small { color: #CFE0CC; }
.tb-tools { font-size: 13px; color: var(--muted); margin: 0 2px 8px; }
.tb-shelf { margin-top: 4px; }
.tb-shelf li { cursor: pointer; }
.tb-nocover { flex-direction: column; gap: 4px; background: linear-gradient(160deg, #F4EFE3, #E7E0CF); color: var(--ink) !important; }
.tb-nocover b { font-size: 12px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tb-nocover small { font-size: 10px; color: var(--muted); font-weight: 500; }
#tbSrc { margin-top: 14px; }
.tb-shelf li.loading { opacity: .5; }

/* 책 소개: 이 책을 읽은 친구들 별점 */
.s-rates { margin: 12px 0 6px; padding: 14px 14px 10px; border-radius: 16px; background: var(--card); box-shadow: var(--raise-s); }
.s-rates h4 { margin: 0 0 8px; font-size: 15px; }
.s-rates > small, .sr-none { font-size: 13px; color: var(--muted); margin: 0; }
.sr-avg { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sr-avg .stars.mini > span, .sr-avg .stars.mini .sf svg { width: 20px; height: 20px; }
.sr-avg b { font-size: 20px; }
.sr-avg small { font-size: 12px; color: var(--muted); }
.sr-notes { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }
.sr-notes li { font-size: 14px; line-height: 1.45; border-top: 1px solid var(--line); padding-top: 8px; }
.sr-notes li b { font-size: 12px; color: var(--forest); }
.sr-notes li span { display: block; margin-top: 2px; }

/* 방명록 */
.gb-sec { margin-bottom: 6px; }
.gb-mini { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.gb-mini button { width: 100%; display: flex; gap: 8px; align-items: flex-start; border: 0; background: var(--card); box-shadow: var(--raise-s); border-radius: 14px; padding: 10px 12px; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.gb-mini b { font-size: 13px; }
.gb-mini em { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 2px; }
.gb-form { margin: 6px 0 14px; }
.gb-form textarea { width: 100%; box-sizing: border-box; border: 0; border-radius: 14px; background: var(--card); box-shadow: var(--inset); padding: 12px 14px; font: inherit; font-size: 15px; resize: vertical; }
.gb-fr { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; }
.gb-sec-chk { position: relative; width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--card); box-shadow: var(--raise-s); color: var(--muted); cursor: pointer; }
.gb-sec-chk input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.gb-sec-chk .ico { width: 21px; height: 21px; }
.gb-sec-chk .gs-on, .gb-sec-chk:has(input:checked) .gs-off { display: none; }
.gb-sec-chk:has(input:checked) .gs-on { display: inline-flex; }
.gb-sec-chk:has(input:checked) { background: var(--forest, #2F5D3A); color: #fff; }
.gb-sec-chk:has(input:focus-visible) { outline: 2px solid var(--forest); outline-offset: 2px; }
.gb-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gb-item { background: var(--card); box-shadow: var(--raise-s); border-radius: 16px; padding: 12px 14px; }
.gb-item.sub { margin-left: 26px; background: var(--soft); box-shadow: none; }
.gb-item.sub::before { content: "↳"; float: left; margin: 0 6px 0 -18px; color: var(--muted); }
.gb-top { display: flex; align-items: center; gap: 7px; }
.gb-top b { font-size: 14px; }
.gb-top small { font-size: 12px; color: var(--muted); }
.gb-lock { display: inline-flex; color: var(--muted); }
.gb-lock .ico { width: 14px; height: 14px; }
.gb-acts { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; }
.gb-acts .icon-btn { width: 30px; height: 30px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.gb-acts .icon-btn .ico { width: 16px; height: 16px; }
.gb-item p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; white-space: pre-wrap; }
.gb-rbox { display: flex; gap: 6px; margin-top: 8px; }
.gb-rbox input { flex: 1; min-width: 0; border: 0; border-radius: 12px; background: var(--card); box-shadow: var(--inset); padding: 9px 12px; font: inherit; }
/* 책 응원 */
.v-cheer { margin: 14px 0 6px; padding: 14px; border-radius: 16px; background: #FFF6E5; }
.ch-head b { font-size: 15px; }
.ch-form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ch-form input { border: 0; border-radius: 12px; background: #fff; padding: 11px 12px; font: inherit; font-size: 14px; }
.ch-done { margin: 8px 0 0; font-size: 14px; color: var(--forest); font-weight: 700; }
.ch-none { margin: 6px 0 0; font-size: 13px; }
.ch-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 6px; }
.ch-list li { font-size: 14px; background: #fff; border-radius: 12px; padding: 8px 10px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ch-list b { font-size: 12px; color: #B95A26; }
.ch-list small { margin-left: auto; font-size: 11px; color: var(--muted); }
.av.sm { width: 26px; height: 26px; font-size: 12px; }

/* 책 기록 화면: 한 화면에 간단히 (책 소개는 스캔 직후 창에서만 보여요) */
#recordPage #rDescHead, #recordPage #rDesc { display: none !important; }
#recordPage .r-card { padding: 12px; gap: 8px; }
#recordPage .r-book { grid-template-columns: 72px 1fr; gap: 12px; align-items: center; }
#recordPage .r-book img { width: 72px; }
#recordPage .r-info h3 { font-size: 18px; margin: 0; }
#recordPage .r-info p { font-size: 13px; margin: 2px 0 0; }
/* 추천 도서 목록에 있는 책: 제목 아래 한 줄 소개 */
#recordPage .r-info p.r-intro { margin-top: 6px; font-size: 12.5px; line-height: 1.4; font-weight: 700; color: var(--forest);
  background: var(--sage-l); border-radius: 10px; padding: 4px 10px; display: inline-block; white-space: normal; }
#recordPage .r-info p.r-intro[hidden] { display: none; }
#recordPage .page-in { gap: 14px; }
#recordPage .field { gap: 6px; }
#recordPage .date-say { font-size: 13px; margin: 0; }
#recordPage .st-cards button { padding: 10px 6px 9px; }
#recordPage .st-cards button .ico { width: 20px; height: 20px; margin-bottom: 2px; }
#recordPage .st-cards small { display: none; }
/* 별점: 버튼 안에서만 겹치게 (독후활동 화면 별이 커지던 오류) */
.stars button { position: relative; }
.stars .sb svg { width: 100%; height: 100%; display: block; }

/* 홈 위쪽 네 칸: 한 줄에 4개로 작게 */
.rings { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin-bottom: 12px; }
.ring-card { padding: 10px 2px 8px; border-radius: 16px; gap: 4px; min-width: 0; }
.ring { width: 58px; height: 58px; }
.ring b { font-size: 15px; }
.ring b small { font-size: 10px; }
.ring-card small { font-size: 11px; letter-spacing: -.4px; white-space: nowrap; }
/* 교과서 수록도서 · 서울대 추천도서: 작은 버튼 두 개 나란히 */
.tb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; }
.tb-row .tb-card { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 10px; border-radius: 14px; background: transparent; box-shadow: none; border: 1px solid rgba(0, 0, 0, .08); min-width: 0; }
.tb-row .tb-ic { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.tb-row .tb-ic .ico { width: 17px; height: 17px; }
.tb-row .snu-ic { background: #E3E9F4; display: flex; align-items: center; justify-content: center; }
.snu-mk { display: block; flex: none; }
.tb-row .tb-txt b { font-size: 13.5px; font-weight: 500; white-space: nowrap; letter-spacing: -.3px; }
/* 서울대 추천도서 */
.snu-tabs { grid-template-columns: repeat(5, 1fr); }
.s-snu { margin: 12px 0 6px; padding: 12px 14px; border-radius: 16px; background: #EEF2F8; }
.s-snu h4 { margin: 0; font-size: 14px; color: #2E4A7A; }
.s-snu .sn-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; text-align: center; }
.s-snu .sn-g div { background: #fff; border-radius: 12px; padding: 8px 4px; }
.s-snu .sn-g b { display: block; font-size: 17px; }
.s-snu .sn-g small { font-size: 11.5px; color: var(--muted); }
.s-snu p { font-size: 13px; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }
/* 한글책·영어책 제목 줄: 그날 전체 읽은 시간 바로 적기 */
.dg-tot { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.dg-tot input { width: 38px; font: inherit; font-size: 14px; font-weight: 400; color: var(--ink); text-align: center; padding: 4px 2px; border: 1px solid var(--line, #ddd); border-radius: 8px; background: #fff; -moz-appearance: textfield; }
.dg-tot input::-webkit-outer-spin-button, .dg-tot input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dg-tot i { font-style: normal; font-size: 10.5px; font-weight: 500; margin: 0 2px 0 1px; }
.dg-tot button { border: 0; border-radius: 999px; background: var(--forest); color: #F3EFE6; font: inherit; font-size: 12px; font-weight: 700; padding: 5px 10px; margin-left: 3px; cursor: pointer; }
.dg-tot.ro { color: var(--forest); }
.dg-tot .ico { width: 15px; height: 15px; margin-right: 2px; }
.tchips3 .tt-eng { background: #E8F0EE; }
.tchips3 .tt-eng small { color: #3E6D66; font-weight: 700; }
.tile .tile-sub { font-size: 11px; font-weight: 500; margin-top: 2px; }

/* 엄마 사진 얼굴: 스레드처럼 동그랗고 작게 */
.av.av-ph { background: #E9E4D8; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.av.av-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.face-now.ph { border-radius: 50%; overflow: hidden; }
.face-now img { width: 100%; height: 100%; object-fit: cover; display: block; }
.face-wrap { position: relative; width: 56px; height: 56px; flex: none; }
.fp-cam, .fp-del { position: absolute; border: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.fp-cam { right: -6px; bottom: -6px; width: 26px; height: 26px; background: var(--forest, #2F5D3A); color: #fff; }
.fp-del { right: -6px; top: -6px; width: 20px; height: 20px; background: #fff; color: #555; }
.fp-cam svg, .fp-del svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.fp-cam svg { width: 15px; height: 15px; }
.fp-del svg { width: 12px; height: 12px; }
.fp-cam.busy { opacity: .5; animation: fpPulse 1s infinite; }
@keyframes fpPulse { 50% { transform: scale(.85); } }
.peek-bar #peekWho { display: inline-flex; align-items: center; gap: 2px; min-width: 0; }
.comments .av.xs { margin-right: 0; }

/* 하트 · 댓글: 인스타처럼 선만 있는 간결한 기호 */
.rx-ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.rx-bar { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.rx-bar button, .rx button { border: 0; background: none; padding: 2px 0; display: inline-flex; align-items: center; gap: 5px; color: var(--ink, #1E2420); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rx-bar button.on .rx-ic, .rx button.on .rx-ic { fill: #ED4956; stroke: #ED4956; }
.rx-bar button:active .rx-ic, .rx button:active .rx-ic { transform: scale(.88); }
.rx { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.rx .rx-ic { width: 20px; height: 20px; }
.rx button { font-size: 13px; }
#rcTitle { display: flex; align-items: center; gap: 8px; }
#rcTitle .rx-ic { width: 22px; height: 22px; }
.rc-list { max-height: 50vh; overflow: auto; }

/* 연산 학습지 뽑기: 홈 버튼 줄 아래 한 줄 */
.tb-row .ws-ic { background: #F9DCCF; color: #B95A26; }
.tb-row .ws-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
/* 그날 하루 전체 하트 · 댓글 */
.rx.rx-day { margin: 4px 6px 4px; gap: 18px; }
.rx.rx-day .rx-ic { width: 25px; height: 25px; }
.rx.rx-day button { font-size: 15px; }
.peek-bar #peekWho span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 앱 화면 확대 막기 (두 번 눌러 확대 포함), 사진 크게 보기는 직접 확대 */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.photo-view img { touch-action: none; transition: transform .05s linear; will-change: transform; }

/* 홈: 요즘 책 읽는 집 (스토리처럼 얼굴 한 줄) */
#hnWrap { margin-bottom: 6px; }
.nb-row { display: flex; gap: 12px; overflow-x: auto; padding: 2px 4px 12px; margin: 0 -4px; scrollbar-width: none; }
.nb-row::-webkit-scrollbar { display: none; }
.nb-face { flex: none; width: 62px; border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; font: inherit; color: var(--ink, #1E2420); }
.nb-face .nb-av { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 0 0 2px var(--bg, #F3EFE6), 0 0 0 4px #E3DCCB; font-size: 22px; }
.nb-face.nb .nb-av { box-shadow: 0 0 0 2px var(--bg, #F3EFE6), 0 0 0 4px var(--forest, #2F5D3A); }
.nb-face .nb-av svg { width: 100%; height: 100%; }
.nb-face small { max-width: 62px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 댓글·방명록의 얼굴·별명을 누르면 그 집으로 */
.who { border: 0; background: none; padding: 0; margin: 0; font: inherit; color: inherit; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.who b { font-weight: 800; }

/* 미국 학교 추천 */
.us-flag { display: block; border-radius: 2px; box-shadow: 0 0 0 .5px rgba(0,0,0,.18); }
.tb-row .us-ic { background: #E8EBF3; display: flex; align-items: center; justify-content: center; }
.us-title { display: flex; align-items: center; gap: 8px; }
.us-tabs { grid-template-columns: repeat(4, 1fr); }
.shelf .us-badge { position: absolute; right: 4px; bottom: 8px; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.28); line-height: 0; }
.us-star { display: block; flex: none; }
.us-chip { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 4px 10px 4px 7px; white-space: nowrap; border-radius: 999px; border: 1px solid #D5DAE8; background: #F3F5FA; color: #2F3D7A; font-size: 12px; font-weight: 600; vertical-align: 1px; cursor: pointer; }
.us-chip[hidden] { display: none; }
.s-snu .us-h { display: flex; align-items: center; gap: 7px; color: #2F3D7A; }
.us-src { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.us-src li { background: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12.5px; }
.us-links { display: flex; gap: 8px; margin-top: 10px; }
.us-links a { flex: 1; text-align: center; padding: 9px 0; font-size: 13.5px; font-weight: 600; text-decoration: none; color: #2F3D7A; background: #fff; border-radius: 12px; border: 1px solid #D5DAE8; }
.s-note:empty { display: none; }
.us-pair { display: inline-flex; gap: 2px; line-height: 0; }
.shelf .us-badge:has(.us-pair) { border-radius: 999px; }
.s-snu .us-intro { margin: 8px 0 0; font-size: 14px; color: var(--ink, #1f2a22); line-height: 1.5; }
/* 스캔 화면 아래 버튼: 글자가 다 들어가게 */
.scan-alt .btn.glass, .scan-alt .ic-btn { width: auto; height: auto; min-height: 42px; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.2); color: #fff; box-shadow: none; font-size: 15px; font-weight: 700; white-space: nowrap; }
.scan-alt .ic-btn .ico { width: 18px; height: 18px; }
.scan-bottom .engine { max-width: 92vw; text-align: center; line-height: 1.4; }

/* 바탕화면에 고정하기 안내 (카드뉴스) */
#a2Dialog { border: 0; padding: 0; background: transparent; max-width: none; width: 100%; }
#a2Dialog::backdrop { background: rgba(0,0,0,.45); }
.a2-in { position: relative; width: min(366px, calc(100vw - 24px)); margin: 0 auto; background: #F3EFE6; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.a2-x { position: absolute; right: 12px; top: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.06); border: 0; font-size: 16px; z-index: 2; cursor: pointer; color: #333; }
.a2-tabs { display: flex; gap: 6px; justify-content: center; padding: 14px 0 0; }
.a2-tabs button { padding: 6px 14px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 700; background: #E7E2D6; color: #555; border: 0; cursor: pointer; }
.a2-tabs button.on { background: #15161A; color: #fff; }
.a2-wrap { width: 100%; aspect-ratio: 1; overflow: hidden; position: relative; }
.a2-wrap .a2c { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
.a2-wrap .a2c[hidden] { display: none; }
.a2-dots { display: flex; gap: 7px; justify-content: center; padding: 12px 0 4px; }
.a2-dots i { width: 8px; height: 8px; border-radius: 50%; background: #CFCABD; transition: width .2s; }
.a2-dots i.on { background: #2F5D3A; width: 20px; border-radius: 4px; }
.a2-btns { display: flex; gap: 8px; padding: 12px 16px 6px; }
.a2-btns button { flex: 1; border: 0; border-radius: 14px; padding: 14px 0; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; background: #2F5D3A; color: #fff; }
.a2-btns #a2Prev { background: #E7E2D6; color: #333; }
.a2-btns #a2Prev:disabled { opacity: .4; }
.a2-foot { text-align: center; font-size: 12.5px; color: #888; margin: 6px 12px 16px; }



.a2c { width: 540px; height: 540px; background: #F3EFE6; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 34px 30px 0; margin: 0; }
.a2-step { font-size: 15px; font-weight: 800; color: #2F5D3A; background: #E3EBDD; padding: 5px 14px; border-radius: 999px; }
.a2c h2 { margin: 12px 0 0; font-size: 30px; line-height: 1.3; color: #15161A; text-align: center; letter-spacing: -0.5px; }
.a2c h2 b { color: #2F5D3A; }
.a2c p { margin: 8px 0 0; font-size: 16px; color: #6A6F68; text-align: center; }
.a2-phone { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); width: 270px; height: 360px; background: #fff; border: 8px solid #15161A; border-radius: 36px 36px 0 0; overflow: hidden; }
.a2-brand { position: absolute; top: 16px; right: 20px; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #2F5D3A; }
.a2-brand img { width: 22px; height: 22px; border-radius: 6px; }
.a2-ring { position: absolute; border: 4px solid #FF5A3C; border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,90,60,.18); }
.a2-hand { position: absolute; font-size: 34px; }
.a2-pc { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 410px; height: 270px; background: #fff; border: 7px solid #15161A; border-radius: 14px 14px 0 0; overflow: hidden; }
.a2-bar { height: 44px; background: #F1F3F4; border-bottom: 1px solid #ddd; display: flex; align-items: center; gap: 6px; padding: 0 8px; }
.a2-url { flex: 1; height: 30px; border-radius: 15px; background: #fff; display: flex; align-items: center; padding: 0 12px; font-size: 13px; color: #333; }
.a2-dot3 { font-size: 18px; color: #555; width: 20px; text-align: center; }
.a2c p small { font-size: 12.5px; color: #8A8F86; }
.a2-os { position: absolute; top: 18px; left: 22px; font-size: 13px; font-weight: 700; color: #8A8F86; }
/* 내 얼굴: 그림 얼굴은 접어 두기 */
.fp-more { margin: 14px 0 4px; border-top: 1px solid #E3DED2; padding-top: 10px; }
.fp-more summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.fp-more summary::-webkit-details-marker { display: none; }
.fp-more summary::after { content: "›"; font-size: 18px; line-height: 1; transition: transform .15s; }
.fp-more[open] summary::after { transform: rotate(90deg); }
.fp-more .face-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 2px; }
.fp-more .face-grid button { padding: 2px; border-radius: 10px; }
.fp-more .face-grid svg { max-width: 36px; }
.fp-more .face-cols button { width: 26px; height: 26px; }
/* 이모지 → 선 기호 */
.choice .ci .ico { width: 30px; height: 30px; }
.icon .ico { width: 22px; height: 22px; }
.al-ic .ico { width: 20px; height: 20px; color: var(--forest); }
.gift .ico { width: 26px; height: 26px; color: var(--forest); }
i.lk { font-style: normal; display: inline-flex; vertical-align: -2px; margin-right: 3px; color: var(--muted); }
i.lk .ico { width: 13px; height: 13px; }
.ch-head .ico { width: 17px; height: 17px; vertical-align: -3px; }

/* 파스텔 기호: BI(잉크 선 + 파스텔 바탕) */
:root { --p-y: #F7E3A0; --p-sg: #D6E2CB; --p-pk: #F8D3CE; --p-bl: #CDE1EB; --p-lv: #E2D8EE; --p-ap: #F3D2B0; --p-mt: #D3E5DF; --p-sd: #E8E3DA; }
.ico[data-n="pencil"], .ico[data-n="barcode"], .ico[data-n="bolt"], .ico[data-n="star"], .ico[data-n="crown"] { --pt: var(--p-y); }
.ico[data-n="camera"], .ico[data-n="search"], .ico[data-n="message-circle"], .ico[data-n="device-mobile"] { --pt: var(--p-bl); }
.ico[data-n="clock"], .ico[data-n="help-circle"] { --pt: var(--p-lv); }
.ico[data-n="book"], .ico[data-n="notebook"] { --pt: var(--p-sg); }
.ico[data-n="school"], .ico[data-n="plus"], .ico[data-n="download"], .ico[data-n="upload"], .ico[data-n="paperclip"] { --pt: var(--p-mt); }
.ico[data-n="gift"], .ico[data-n="mood-kid"] { --pt: var(--p-pk); }
.ico[data-n="thumb-up"], .ico[data-n="folder"] { --pt: var(--p-ap); }
.ico[data-n="lock"], .ico[data-n="lock-open"], .ico[data-n="logout"] { --pt: var(--p-sd); }
.btn .ico, .rt-btn .ico, .follow-btn .ico, #chipGrade .ico, #chipSame .ico, .al-ic .ico, .gift .ico, .reward-add .ico, .cert-reward .ico, .ch-head .ico, .t-chip .ico, .round-h .ico, .day-item > span:last-child .ico, .seg .ico { background: var(--pt, var(--p-sd)); color: #1E2420; border-radius: 50%; padding: 4px; width: 1.55em; height: 1.55em; vertical-align: -0.48em; margin: -2px 3px 0 0; stroke-width: 1.8; }
.choice .ci .ico { background: var(--pt); color: #1E2420; border-radius: 16px; padding: 9px; width: 48px; height: 48px; stroke-width: 1.8; }
.set-row .si { background: none !important; }
.set-row .si .ico { background: var(--pt); color: #1E2420 !important; border-radius: 12px; padding: 8px; width: 38px; height: 38px; stroke-width: 1.8; }
.al-ic .ico { width: 32px; height: 32px; padding: 6px; }
.gift .ico { width: 34px; height: 34px; padding: 6px; }
.pt-btn { width: 46px; height: 46px; border: 0; border-radius: 14px; padding: 0; display: inline-grid; place-items: center; background: none; cursor: pointer; flex: none; }
.pt-btn .ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--pt); color: #1E2420; stroke-width: 1.8; box-shadow: var(--raise-s); }
.pt-btn:active { transform: scale(.95); }
.v-shelf { margin: 0; }
.v-shelf button { padding: 7px 10px; font-size: 13px; }
/* 책 등록 모드 (관리자) */
.adm-reg { width: 100%; border: 0; border-radius: 14px; padding: 12px; margin-bottom: 10px; background: var(--card); box-shadow: var(--raise-s); font: inherit; text-align: left; cursor: pointer; display: flex; gap: 12px; align-items: center; }
.adm-reg .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--p-y); color: #1E2420; stroke-width: 1.8; flex: none; }
.adm-reg b { display: block; font-size: 15px; }
.adm-reg small { font-size: 12px; color: var(--muted); }
.reg-head { display: flex; align-items: baseline; gap: 8px; }
.reg-head h3 { margin: 0 0 10px; }
.reg-head small { color: var(--forest); font-weight: 700; }
.reg-book { display: flex; gap: 12px; align-items: flex-start; }
.reg-book img { width: 72px; height: 100px; object-fit: cover; border-radius: 8px; background: var(--soft); flex: none; }
.reg-fields { flex: 1; display: grid; gap: 8px; min-width: 0; }
.reg-fields .sub-input { margin: 0; }
.reg-pages { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.reg-pages input { width: 90px; text-align: center; font-size: 18px; font-weight: 700; padding: 8px; border-radius: 12px; border: 0; background: var(--card); box-shadow: var(--inset); }
.reg-note { font-size: 13px; margin: 10px 0 2px; color: var(--forest); }
.reg-isbn { font-size: 12px; margin: 0 0 8px; }
.reg-acts { gap: 6px; }
.reg-acts .btn { padding: 12px 12px; white-space: nowrap; flex: none; }
.reg-acts #regNext { flex: 1; }
/* 사진 넣기: 글씨 없이 카메라 상자만 */
.rt-ic { width: 38px; height: 38px; border: 0; padding: 0; background: none; cursor: pointer; display: inline-grid; place-items: center; flex: none; }
.rt-ic .ico { width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: var(--pt); color: #1E2420; stroke-width: 1.8; }
.rt-ic:disabled { opacity: .45; }
.rt-ic:active { transform: scale(.94); }
.td-ph { display: flex; align-items: center; gap: 8px; }
.td-ph small { color: var(--muted); font-size: 13px; }
#beTopicBtn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; }
#beTopicBtn .ico { width: 30px; height: 30px; padding: 6px; border-radius: 10px; margin: 0; vertical-align: 0; }
.find-item.yt img { width: 80px; height: 45px; border-radius: 6px; }
/* 읽고 있는 책: 그만 읽기 ✕ + 더 보기 */
.ong-acts { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.ong-acts .x { width: 32px; height: 32px; border-radius: 50%; padding: 0; font-size: 14px; }
.ong-more { width: 100%; border: 0; background: none; color: var(--forest); font: inherit; font-size: 14px; font-weight: 700; padding: 10px; cursor: pointer; }
/* 흘려듣기: 최근 본 영상 */
.e-recent { margin: 2px 0 10px; }
.e-recent small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.er-list { display: flex; flex-wrap: wrap; gap: 6px; }
.er-list button { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; border: 0; border-radius: 999px; padding: 4px 12px 4px 4px; background: var(--card); box-shadow: var(--raise-s); font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; }
.er-list button:not(:has(img)) { padding-left: 12px; }
.er-list img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }
.er-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.er-list button.on { box-shadow: 0 0 0 2px var(--forest); }
/* 미국 추천: 렉사일 띠 (표지 아래) */
.lex-band { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .2px; color: #1E2420; background: rgba(232,227,218,.95); }
.lex-band.none { font-weight: 600; color: #6C6F68; }
.lex-band.l0 { background: #E2D8EE; }
.lex-band.l1 { background: #D3E5DF; }
.lex-band.l2 { background: #CDE1EB; }
.lex-band.l3 { background: #F7E3A0; }
.lex-band.l4 { background: #F3D2B0; }
.lex-band.l5 { background: #F8D3CE; }
.tb-shelf li:has(.lex-band) .us-badge { bottom: 22px; }
.us-lex { margin: 4px 0 6px; font-size: 13px; }
.us-lex small { color: var(--muted); font-size: 11px; }

/* 게시판 글 사이 책 카드 */
.bk-card { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; text-align: left; border: 0; background: var(--bg); border-radius: 12px; padding: 8px; margin: 6px 0; cursor: pointer; font: inherit; color: inherit; white-space: normal; }
.bk-card img, .bk-card .noimg { width: 46px; height: 62px; border-radius: 6px; object-fit: cover; flex: none; background: var(--sage-l); }
.bk-card > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bk-card b { font-size: 15px; line-height: 1.3; color: var(--ink); word-break: break-word; }
.bk-card small { font-size: 12px; line-height: 1.4; color: var(--muted); }
.rt-bk { position: relative; display: block; margin: 4px 0; }
.rt-bk .bk-card { padding-right: 44px; cursor: default; margin: 0; }

/* 내 책장: 골라서 지우기 */
.shelf-tools { display: flex; align-items: center; gap: 8px; }
.bulk-open { font: inherit; font-size: 13px; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 6px 2px; }
.bulk-bar { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 8px; }
.bulk-all { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; cursor: pointer; }
.bulk-all input, .bulk-row input { width: 22px; height: 22px; flex: none; accent-color: var(--forest); }
.bulk-bar small { font-size: 13px; color: var(--muted); }
.bulk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bulk-row { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 12px; padding: 10px 12px; cursor: pointer; box-shadow: var(--raise-s); }
.bulk-row > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bulk-row b { font-size: 15px; line-height: 1.3; word-break: break-word; }
.bulk-row small { font-size: 12px; color: var(--muted); }
.bulk-foot { position: sticky; bottom: 0; padding: 12px 0 calc(env(safe-area-inset-bottom) + 4px); background: var(--bg); }
.bulk-foot .btn { width: 100%; }

/* 내 책장: 두 줄만 보이고 더 보기 */
.shelf-more { display: block; width: 100%; margin: 8px 0 0; padding: 10px; border: 0; border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: var(--raise-s); }

/* 잠수네: 나만 보이는 단계 표시, 엑셀 고르기 버튼 */
.only-me { color: #B95A26; font-size: .88em; }
/* 중등수준 목록에 있는 책: 눈에 띄는 한 줄 */
#recordPage .r-info p.mid-band, p.mid-band { display: inline-block; margin: 6px 0 0; padding: 3px 12px; border-radius: 999px;
  background: #FFE08A; color: #6B4300; font-size: 12.5px; font-weight: 800; line-height: 1.4; }
#recordPage .r-info p.mid-band[hidden], p.mid-band[hidden] { display: none; }
.suju-pick { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px dashed var(--forest); border-radius: 16px; padding: 10px 18px; margin: 8px 0; font-size: 15px; font-weight: 700; color: var(--forest-d); cursor: pointer; }
.suju-pick .ico { width: 20px; height: 20px; flex: none; }
.jin-list { list-style: none; margin: 8px 0; padding: 0; max-height: 34vh; overflow: auto; text-align: left; }
.jin-list li { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.jin-list input { flex: 1; min-width: 0; font-size: 14px; padding: 6px 8px; border: 1px solid #ddd; border-radius: 8px; background: #fff; }
.jin-list small { flex: none; font-size: 11px; color: #888; white-space: nowrap; }
.jin-list li.dup input { opacity: .5; }
/* 게시판 새 글 표시 */
#boardPick button, .tabbar button { position: relative; }
#boardPick button.has-new::after { content: "N"; position: absolute; top: 3px; right: 5px; width: 16px; height: 16px; border-radius: 50%; background: #E5484D; color: #fff; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; }
.tabbar button.has-new::after { content: ""; position: absolute; top: 8px; left: calc(50% + 9px); width: 8px; height: 8px; border-radius: 50%; background: #E5484D; }

/* 게시판 첨부 파일 */
.file-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.file-list:empty { display: none; }
.file-list li, .file-list .file-dl { display: flex; align-items: center; gap: 8px; min-width: 0; }
.file-list li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 14px; }
.file-list li:has(.file-dl) { padding: 0; }
.file-list .file-dl { width: 100%; padding: 10px 12px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 12px; }
.file-list .file-dl:active { background: var(--sage-l); }
.file-list .ico { width: 20px; height: 20px; flex: none; color: var(--forest); }
.file-list b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.file-list small { margin-left: auto; flex: none; color: var(--muted); font-size: 12px; }
.file-list .file-x { flex: none; border: 0; background: none; font-size: 15px; color: var(--muted); padding: 2px 4px; cursor: pointer; }
.file-note { margin: 6px 2px 0; font-size: 12px; line-height: 1.5; color: #B95A26; }

/* 제목 아래 한 줄: 교과서 수록 알약 + 수준·주제 띠 */
#recordPage .r-info p.tag-row, p.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
#recordPage .r-info p.tag-row[hidden], p.tag-row[hidden] { display: none; }
.tg { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.tg.tb { background: #E1EEDF; color: #2A5A36; }
.tg.tb.m { background: #E2ECF7; color: #24558A; }
.tg.tb.h { background: #ECE4F5; color: #5E3A8A; }
.tg.mid { background: #FFE08A; color: #6B4300; white-space: normal; }

/* 다른 집 블로그: 아이 책 미리 보기 (한글책·영어책 한 줄씩) */
#momPage .browse .kid.on, .blog .browse .kid.on { background: var(--forest); color: #F3EFE6; box-shadow: none; }
.kb-lab { margin: 12px 0 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.kb-lab small { font-weight: 500; }
.kb-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px; scrollbar-width: none; }
.kb-row::-webkit-scrollbar { display: none; }
.kb-tile { flex: none; width: 72px; padding: 0; border: 0; background: none; cursor: pointer; }
.kb-tile .kb-cv { display: block; width: 72px; height: 104px; object-fit: cover; border-radius: 8px; background: var(--pt); box-sizing: border-box; overflow: hidden; }
.kb-tile div.kb-cv { padding: 6px; font-size: 11px; line-height: 1.35; color: var(--muted); text-align: left; word-break: break-all; }
.kb-tile:active { transform: scale(.96); }
.kb-all { display: block; margin: 4px 0 0 auto; }
.ks-main { display: none; }

/* 하트를 누른 회원 말풍선 (글·기록 주인에게만) */
.rx-chev { display: inline-block; font-size: 0; width: 10px; height: 10px; border-right: 2.4px solid currentColor; border-bottom: 2.4px solid currentColor; border-radius: 1px; transform: rotate(45deg); margin: -5px 2px 0 5px; opacity: .8; }
.who-bub { position: relative; width: fit-content; max-width: 100%; flex-basis: 100%; margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; background: #FCE9E6; color: #8A2F27; font-size: 13px; line-height: 1.6; text-align: left; }
.who-bub[hidden] { display: none; }
.who-bub::before { content: ""; position: absolute; top: -5px; left: 8px; width: 10px; height: 10px; background: inherit; transform: rotate(45deg); }
.who-bub button { border: 0; background: none; padding: 0; font: inherit; color: inherit; font-weight: 700; cursor: pointer; }
.who-bub i { font-style: normal; opacity: .6; }
.who-bub .who-more { font-weight: 500; text-decoration: underline; margin-left: 6px; }
.who-bub .muted { color: inherit; opacity: .7; }

/* 블로그 글 속 포트폴리오 묶음 */
.fo { margin: 10px 0; padding: 12px; background: var(--bg); border-radius: 14px; }
.fo-h { margin: 0 0 8px; font-size: 15px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.fo-h span { font-size: 13px; color: var(--muted); }
.fo-cv { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 6px; }
.fo-t { padding: 0; border: 0; background: none; cursor: pointer; }
.fo-t img { display: block; width: 100%; aspect-ratio: 72 / 104; object-fit: cover; border-radius: 6px; background: var(--pt); }
.fo-ls { margin-top: 8px; font-size: 14px; }
.fo-ls summary { cursor: pointer; color: var(--forest); font-weight: 700; font-size: 13px; }
.fo-ls ul { list-style: none; margin: 6px 0 0; padding: 0; line-height: 1.7; }
.fo-ls li small { color: var(--muted); margin-left: 6px; }
.fo-lv { display: inline-block; font-size: 11px; font-weight: 700; background: #FBEFC4; color: #7A5A00; border-radius: 6px; padding: 0 6px; margin-right: 6px; line-height: 1.6; }
.rt-fo { position: relative; display: block; margin: 6px 0; -webkit-user-select: none; user-select: none; }
.rt-fo .fo { margin: 0; padding-right: 44px; }
.fo-lab { text-align: left; margin: 0 0 6px; }
.fo-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.fo-chips button { padding: 7px 12px; border-radius: 999px; border: 0; font: inherit; font-size: 13px; font-weight: 700; background: #E7E2D6; color: #555; cursor: pointer; }
.fo-chips button.on { background: var(--forest); color: #fff; }
.fo-chips button small { font-weight: 500; opacity: .8; }
.fo-dates { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; }
.fo-dates input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid #ddd; border-radius: 8px; background: #fff; }

/* 컴퓨터 화면 글쓰기 옆 포트폴리오 칸 (휴대폰에서는 숨김) */
.be-fo { display: none; }
.be-fo .sec-title { margin: 0 0 8px; }
.be-fo .fo-chips { margin: 0 0 8px; }
.be-fo .fo-chips button { padding: 5px 10px; font-size: 12px; }
.fs-range { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.fs-g { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.fs-g .grow { flex: 1; min-width: 0; }
.fs-g b { display: block; font-size: 14px; }
.fs-g small { font-size: 12px; color: var(--muted); }
.fs-add { flex: none; border: 0; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12px; font-weight: 700; background: var(--forest); color: #fff; cursor: pointer; }
.fs-add:disabled { opacity: .5; }
.fs-h { margin: 12px 0 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); }
.fs-memo { background: var(--bg); border-radius: 12px; padding: 10px; margin: 0 0 8px; }
.fs-top { display: flex; align-items: center; justify-content: space-between; margin: 0 0 4px; font-size: 13px; }
.fs-t { margin: 0; font-size: 13px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.fs-t.open { display: block; }
.fs-memo .ph-row { margin-top: 6px; }
.fs-see { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 12px; font-weight: 700; background: transparent; color: var(--ink); cursor: pointer; }
.fs-see.on { background: var(--bg); }
.fs-pv { margin: 0 0 10px; }
.fs-pv .fo { margin: 0; }
.fs-pv .fo-h { display: none; }
.fs-pv .fo-ls { margin-top: 6px; }
#blogEdit:not(.jin) #beFolioBtn { display: none; }
/* 카테고리 편집 단추 (포트폴리오 · 블로그 같은 모양) */
.ed-pill { display: inline-flex; align-items: center; gap: 4px; flex: none; border: 0; border-radius: 999px; padding: 7px 13px; font: inherit; font-size: 13px; font-weight: 700; background: #F2D2B0; color: #6B3F12; cursor: pointer; white-space: nowrap; }
.ed-pill.sm { font-size: 12px; padding: 4px 10px; }
.ed-pill .ico { width: 15px; height: 15px; }
.ed-pill:active { transform: scale(.97); }
body.peek .ed-pill.own { display: none !important; }

/* 앱을 켤 때 소식 팝업 · 서버 사용량 띠 (관리자) */
.news-dlg { width: min(420px, 92vw); }
.news-btns #newsMore { background: #F2D2B0; color: #6B3F12; }
.news-tag { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: #B95A26; }
.news-dlg h3 { margin: 0 0 8px; }
.news-body { margin: 0 0 14px; white-space: pre-line; line-height: 1.6; color: var(--ink, #1E2420); max-height: 40vh; overflow: auto; }
.news-btns { display: flex; gap: 8px; }
.news-btns .btn { flex: 1; }
.usage-band { flex-basis: 100%; display: flex; align-items: center; gap: 6px; background: #FFF3C4; color: #5A4300; border-radius: 14px; padding: 6px 8px 6px 12px; margin-top: 8px; font-size: 13px; font-weight: 700; }
.usage-band.hot { background: #FDE2DD; color: #9A2A16; }
.usage-band button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.usage-band #usageText { flex: 1; text-align: left; padding: 2px 0; }
.usage-band #usageClose { flex: none; padding: 2px 6px; }

/* 자녀 남아·여아: 평소 파스텔, 고르면 진한 색 (구경하는 사람에게도 보여요) */
.kid-list .sx-pick { flex: none; display: flex; gap: 4px; }
.kid-list .sx-pick button { width: 34px; height: 44px; border: 0; border-radius: 12px; font: inherit; font-size: 14px; font-weight: 700; background: var(--card); box-shadow: var(--inset); color: var(--muted); cursor: pointer; padding: 0; }
.kid-list .sx-pick .m[aria-pressed="true"] { background: #2F5D8A; color: #fff; box-shadow: none; }
.kid-list .sx-pick .f[aria-pressed="true"] { background: #C2557A; color: #fff; box-shadow: none; }
.kid-list li > .sub-input { min-width: 0; flex: 1; }
.kid.boy, #momPage .kid.boy { background: #DCEBFA; color: #0C447C; box-shadow: none; }
.kid.boy.on, #momPage .kid.boy.on { background: #2F5D8A; color: #fff; }
.kid.girl, #momPage .kid.girl { background: #FBE1E6; color: #72243E; box-shadow: none; }
.kid.girl.on, #momPage .kid.girl.on { background: #C2557A; color: #fff; }
.kid.boy .grade, .kid.girl .grade { color: inherit; opacity: .8; }
.kid.boy.on .grade { color: #CFE4FA; opacity: 1; }
.kid.girl.on .grade { color: #FCE3EB; opacity: 1; }

/* 카테고리 편집: 아이 고르기 */
.cat-kids { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 4px; }
.cat-kids .kid { padding: 7px 16px; font-size: 15px; }
.cat-who { font-size: 13px; font-weight: 700; color: var(--ink); }

/* 내 댓글 고치기 */
.ed-btn { border: 0; background: none; padding: 2px 6px; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; }
.ed-mark { color: var(--muted); }
.cmt-ed { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.cmt-ed textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line, #ddd); resize: vertical; }
.cmt-ed > div { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }

/* 게시판 글쓰기: 팝업 체크 */
.pop-chk { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 10px 2px 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.pop-chk input { width: 20px; height: 20px; accent-color: #2F4F3A; }
.pop-chk small { font-weight: 400; color: var(--muted); font-size: 12px; }
.pop-chk [data-ico] svg { width: 18px; height: 18px; }

/* 책 기록: 제목·시리즈 고치기 */
.v-ed-btn { padding: 2px 0; margin-top: 2px; }
.v-ed-box { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.v-ed-box input { font: inherit; font-size: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--ink); padding: 8px 10px; min-width: 0; }
.v-ed-box .btn { align-self: flex-end; }

/* 서로 이웃 */
.nb-face .nb-mu { font-size: 10.5px; color: #C2557A; font-weight: 700; margin-top: -3px; }
#alList li:has(.al-fb) { display: flex; align-items: center; gap: 8px; }
.al-fb { flex: none; border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 800; background: #2F4F3A; color: #fff; cursor: pointer; }
.al-fb.on { background: #FBE1E6; color: #C2557A; cursor: default; }

/* 책장: 컴퓨터는 표지를 절반 크기로 (한 줄 8권) · 「더 보기」 전체 화면 */
@media (min-width: 900px) {
  main .shelf { grid-template-columns: repeat(8, 1fr); }
  #shelfPage .page-in { max-width: 900px; }
  #spList.shelf { grid-template-columns: repeat(8, 1fr); }
}
.sp-bar { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.sp-vt { display: flex; gap: 4px; border-radius: 14px; background: #E3EBDD; padding: 4px; }
.sp-vt button { display: flex; align-items: center; gap: 6px; border: 0; background: none; border-radius: 11px; padding: 9px 14px; font: inherit; font-size: 15px; font-weight: 800; color: #2F4F3A; cursor: pointer; white-space: nowrap; }
.sp-vt button.on { background: #2F4F3A; color: #fff; }
.sp-vt .ico { width: 20px; height: 20px; stroke-width: 2; }
@media (max-width: 380px) { .sp-vt button { padding: 8px 10px; font-size: 14px; } }
#spSort { font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; background: #fff; color: var(--ink); }
#spList.shelf { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--raise); }
.sp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sp-list li { display: flex; align-items: center; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.sp-list .sp-cv { width: 40px; height: 54px; border-radius: 6px; object-fit: cover; flex: none; background: var(--soft); font-size: 9px; line-height: 1.2; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); }
.sp-list .sp-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sp-list .sp-t b { font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-list .sp-t small { font-size: 12.5px; color: var(--muted); }
.sp-list .sp-st { color: #E0A100; font-size: 13px; white-space: nowrap; flex: none; }
.sp-pg { display: flex; justify-content: center; align-items: center; gap: 4px; flex-wrap: wrap; }
.sp-pg button { min-width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.sp-pg button.on { background: #2F4F3A; color: #fff; border-color: #2F4F3A; }
.sp-pg button:disabled { opacity: .35; cursor: default; }
.sp-pg .gap { color: var(--muted); padding: 0 2px; }
.sp-cnt { text-align: center; font-size: 13px; color: var(--muted); margin: 0; }

/* 이 책을 읽은 친구들: 누가 썼는지 */
.sr-who { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sr-mom { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 0; font: inherit; cursor: pointer; color: inherit; }
.sr-mom b { font-size: 13px; color: var(--forest); }
.sr-mom .av { width: 24px; height: 24px; }
.sr-who > small { font-size: 12px; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 1px 7px; }
.sr-more { display: block; width: 100%; margin: 10px 0 2px; padding: 9px; border: 0; border-radius: 12px; background: var(--soft); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.sr-more:disabled { opacity: .5; }
.v-rates { margin-top: 4px; }

/* 같은 시리즈 */
.ser-box { margin: 12px 0 6px; padding: 12px 12px 10px; border-radius: 16px; background: var(--card); box-shadow: var(--raise-s); }
.ser-box h4 { margin: 0 0 8px; font-size: 15px; }
.ser-box h4 small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.ser-row { display: flex; gap: 8px; overflow-x: auto; padding: 3px 2px 6px; -webkit-overflow-scrolling: touch; }
.ser-it { flex: none; width: 70px; border: 0; background: none; padding: 0; font: inherit; cursor: pointer; text-align: center; color: var(--ink); }
.ser-it:disabled { cursor: default; opacity: .8; }
.ser-cv { position: relative; display: block; width: 70px; aspect-ratio: 3 / 4; border-radius: 7px; background: var(--soft); overflow: hidden; }
.ser-cv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ser-it.me .ser-cv { box-shadow: 0 0 0 3px #FFCC00; }
.ser-no { position: absolute; left: 3px; top: 3px; font-style: normal; font-size: 10.5px; font-weight: 800; background: rgba(0,0,0,.6); color: #fff; border-radius: 4px; padding: 0 4px; }
.ser-ck { position: absolute; right: 3px; top: 3px; font-style: normal; width: 17px; height: 17px; border-radius: 50%; background: #3B6D11; color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.ser-t { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ser-help { display: block; font-size: 11.5px; }
.ser-box > small.muted { font-size: 12.5px; color: var(--muted); }

/* 추천 목록: 표지·목록 바꾸기 */
.tb-tools:has(.rec-vt) { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.rec-list { background: var(--card); border-radius: 14px; box-shadow: var(--raise-s); padding: 0 10px; }
.rec-list li:last-child { border-bottom: 0; }
.rec-tag { font-style: normal; display: inline-block; margin-left: 5px; font-size: 11px; font-weight: 700; color: #2F4F3A; background: #E3EBDD; border-radius: 999px; padding: 0 7px; }
.rec-ok { flex: none; font-size: 12.5px; font-weight: 800; color: #3B6D11; white-space: nowrap; }

/* 컴퓨터 화면: 포트폴리오 쓰기 · 그날 기록 · 책 기록 창을 넓게 */
@media (min-width: 900px) {
  #entryDialog { width: min(820px, 92vw); }
  #entryDialog #eRich { min-height: 46vh; }
  #entryDialog #eText { min-height: 30vh; }
  dialog#dayDialog, dialog#viewDialog { max-width: 820px; }
}

/* 컴퓨터 화면: 교과서·서울대·미국 학교 추천 목록을 넓게 (표지 한 줄 8권) */
@media (min-width: 900px) {
  #tbPage .page-in, #usPage .page-in, #snuPage .page-in { max-width: 900px; }
  #tbList.shelf, #usList.shelf, #snuList.shelf { grid-template-columns: repeat(8, 1fr); }
}

/* 추천 목록: 찾기 칸 · 컴퓨터에서 게시판 글 넓게 */
.rec-q { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
@media (min-width: 900px) { #postView .page-in { max-width: 820px; } }

/* 홈: 인기글 목록 · 한줄평 · 별 다섯 개 인기책 (v179) */
.pop-list, .hr-list { list-style: none; margin: 0 0 16px; padding: 2px 14px; background: var(--card); border-radius: 16px; box-shadow: var(--raise-s); }
.pop-list li + li, .hr-list li + li { border-top: 1px solid var(--line); }
.pop-list button { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: none; padding: 11px 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.pl-n { width: 16px; flex: none; font-weight: 800; color: var(--muted); text-align: center; }
.pl-tg { flex: none; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #FAEEDA; color: #633806; }
.pl-tg.books { background: #EAF3DE; color: #27500A; }
.pl-tg.qna { background: #E6F1FB; color: #0C447C; }
.pl-t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; font-weight: 600; }
.pop-list small { flex: none; display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--muted); }
.pop-list small .ico { width: 14px; height: 14px; }
.hr-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; }
.hr-bk { flex: none; border: 0; padding: 0; background: none; cursor: pointer; }
.hr-cv { display: block; width: 40px; height: 56px; object-fit: cover; border-radius: 5px; background: var(--soft); }
.hr-tx { flex: 1; min-width: 0; }
.hr-q { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; width: 100%; border: 0; background: none; padding: 0; text-align: left; font: inherit; font-size: 14px; line-height: 1.45; color: var(--ink); cursor: pointer; }
.hr-tx small { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 12px; color: var(--muted); min-width: 0; }
.hr-bt { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.hr-tx .stars { flex: none; }
.hr-who { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 0; font: inherit; color: var(--ink); font-weight: 600; cursor: pointer; }
.hr-who .av.xs { width: 16px; height: 16px; }
.h5-sub { font-size: 12px; color: var(--muted); }
.h5-row { list-style: none; margin: 4px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.h5-row button { display: flex; flex-direction: column; gap: 4px; width: 100%; border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.h5-cv { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 8px; background: var(--soft); }
.h5-cv img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; box-shadow: var(--raise-s); }
.h5-cv em { display: block; padding: 6px; font-style: normal; font-size: 11px; line-height: 1.3; color: var(--muted); }
.h5-rk { position: absolute; top: -6px; left: -6px; width: 22px; height: 22px; border-radius: 50%; background: #EF9F27; color: #412402; font-style: normal; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.h5-row b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h5-row small { font-size: 11.5px; color: var(--muted); }
@media (min-width: 900px) {
  .home-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
  .h5-row { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

/* 컴퓨터 홈 화면 넓게 (v180): 블로그처럼 1140px, 버튼 한 줄, 책장 한 줄 10권 */
@media (min-width: 900px) {
  main:has(> .tab[data-tab="home"]:not([hidden])) { max-width: 1140px; }
  .tab[data-tab="home"] .rings { gap: 12px; }
  .tab[data-tab="home"] .ring { width: 72px; height: 72px; }
  .tab[data-tab="home"] .ring-card small { font-size: 12.5px; }
  .tab[data-tab="home"] .tb-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .tab[data-tab="home"] .tb-row .tb-card { padding: 12px 14px; }
  .tab[data-tab="home"] .tb-row .tb-txt b { font-size: 14.5px; }
  main .tab[data-tab="home"] .shelf { grid-template-columns: repeat(10, 1fr); }
  .home-duo { gap: 24px; }
}

/* 컴퓨터: 포트폴리오·게시판·소식도 1140px로 (v181) */
.pr-tx { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pr-th, .pr-pv { display: none; }
@media (min-width: 900px) {
  main:has(> .tab[data-tab="port"]:not([hidden])), main:has(> .tab[data-tab="board"]:not([hidden])), main:has(> .tab[data-tab="stats"]:not([hidden])) { max-width: 1140px; }
  .port-wrap { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 24px; align-items: start; }
  .port-cal { position: sticky; top: 12px; background: var(--card); box-shadow: var(--raise-s); border-radius: 18px; padding: 12px 10px 14px; }
  .port-cal .cal-head { gap: 14px; margin: 0 0 6px; }
  .port-cal .cal-head b { font-size: 16px; }
  .port-cal .cal-nav { width: 28px; height: 28px; font-size: 16px; }
  .port-cal .cal-week span { font-size: 12px; padding: 2px 0 6px; }
  .port-cal .cal-grid { row-gap: 4px; column-gap: 3px; }
  .port-cal .cal-grid button { min-height: 44px; font-size: 12px; padding: 4px 0 3px; gap: 2px; border-radius: 9px; }
  .port-cal .cal-grid .ig { grid-template-columns: repeat(3, 11px); }
  .port-cal .cal-grid .ig .ico { width: 11px; height: 11px; }
  .port-cal .cal-legend { font-size: 12.5px; margin-top: 10px; }
  .port-wrap .day-inline { margin-top: 0; }
  .post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .post-list .muted { grid-column: 1 / -1; }
  .post-row { flex-direction: row; align-items: flex-start; gap: 12px; padding: 14px; height: 100%; }
  .pr-tx { flex: 1; }
  .pr-th { display: block; flex: none; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: var(--soft); }
  .pr-th img, .pr-th .pop-img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .pr-pv { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.5; color: var(--muted); }
  .pr-pv:empty { display: none; }
  .tab[data-tab="stats"] .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .st-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
  .st-box { background: var(--card); box-shadow: var(--raise-s); border-radius: 18px; padding: 4px 18px 18px; min-width: 0; }
  .st-box .tchart { margin-bottom: 32px; } /* 요일 글자(아래 22px)와 안내 문장이 겹치지 않게 (v238) */
}

/* 게시판 보기 방식 · 쪽 넘기기, 포트폴리오 달력 크게 (v183) */
.bv-tools { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: 10px 0 0; }
.bv-vt button { padding: 6px 11px; font-size: 13px; }
.bv-vt .ico { width: 16px; height: 16px; }
.bv-rows { border: 1px solid var(--line); border-radius: 10px; padding: 7px 8px; background: var(--card); color: var(--ink); font: inherit; font-size: 13px; }
.b-pg { margin: 16px 0 4px; }
.post-list.pv-list { display: block; background: var(--card); border-radius: 14px; box-shadow: var(--raise-s); padding: 2px 14px; }
.pv-list li + li { border-top: 1px solid var(--line); }
.pl-row { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 11px 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.plr-t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; }
.pl-row.pinned .plr-t { font-weight: 700; }
.plr-t em { font-style: normal; color: #185FA5; font-size: 13px; }
.plr-w { flex: none; width: 84px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plr-d { flex: none; width: 42px; text-align: right; font-size: 12px; color: var(--muted); }
.post-list.pv-photo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ph-card { display: flex; flex-direction: column; gap: 5px; width: 100%; border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ph-im { display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--soft); }
.ph-im img, .ph-im .pop-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph-im.none { display: flex; align-items: center; justify-content: center; padding: 12px; font-size: 13px; line-height: 1.4; color: var(--muted); text-align: center; }
.ph-card b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-card small { display: flex; align-items: center; gap: 3px; font-size: 12px; color: var(--muted); }
.ph-card small .ico { width: 13px; height: 13px; }
@media (min-width: 900px) {
  .post-list.pv-photo { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .plr-w { width: 130px; }
  .plr-d { width: 60px; }
  .port-wrap { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
  .port-cal { padding: 16px 14px 18px; }
  .port-cal .cal-head b { font-size: 19px; }
  .port-cal .cal-nav { width: 32px; height: 32px; font-size: 18px; }
  .port-cal .cal-week span { font-size: 13.5px; padding: 2px 0 8px; }
  .port-cal .cal-grid { row-gap: 6px; column-gap: 5px; }
  .port-cal .cal-grid button { min-height: 70px; font-size: 14px; padding: 7px 0 5px; gap: 4px; border-radius: 12px; }
  .port-cal .cal-grid .ig { grid-template-columns: repeat(3, 14px); }
  .port-cal .cal-grid .ig .ico { width: 14px; height: 14px; }
  .port-cal .cal-legend { font-size: 14px; margin-top: 12px; }
}

/* 홈 칸 아래 "전체 보기 →" 줄로 통일 (v185) */
.sec-card { background: var(--card); border-radius: 16px; box-shadow: var(--raise-s); margin: 0 0 16px; overflow: hidden; }
.sec-card .pop-list, .sec-card .hr-list { margin: 0; background: none; box-shadow: none; border-radius: 0; }
.sec-card .nb-row { margin: 0; padding: 12px 12px 10px; }
.sec-foot { display: flex; width: 100%; align-items: center; justify-content: center; gap: 5px; border: 0; border-top: 1px solid var(--line); background: none; padding: 11px 0; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--forest); cursor: pointer; }
.sec-foot:hover { background: var(--soft); }
.sec-foot[hidden] { display: none; }
.pl-tg { width: 52px; padding: 2px 0; text-align: center; }

/* 기록 화면: 시리즈 물어보기 · ✎ 제목·시리즈 고치기 (v186) */
.r-card { position: relative; }
.r-pen { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--soft); color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1; }
.r-pen .ico { width: 17px; height: 17px; }
#recordPage .r-info h3 { padding-right: 34px; }
.r-ser { display: inline-block; margin: 0 0 4px; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #FAEEDA; color: #633806; }
.ser-sug { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #EAF3DE; border-radius: 12px; padding: 10px 12px; }
.ser-sug > span { flex: 1; min-width: 150px; font-size: 14px; color: #27500A; }
.ser-sug b { font-weight: 800; }
.ser-sug button { border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; border: 1px solid #639922; background: #fff; color: #27500A; }
.ser-sug .ss-yes { background: #3B6D11; border-color: #3B6D11; color: #fff; }
.r-edit { display: flex; flex-direction: column; gap: 8px; background: var(--soft); border-radius: 12px; padding: 12px; }
.r-edit label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); font-weight: 700; flex: 1; min-width: 0; }
.r-edit-row { display: flex; gap: 8px; }
.r-edit-row .no { flex: 0 0 76px; }
.r-edit-btns { display: flex; justify-content: flex-end; gap: 8px; }

/* 내 이웃: 한 줄 + 이웃 전체 보기 화면 (v190) */
#browseWrap .mom-list.nb-one { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 12px 8px 10px; margin: 0; }
#browseWrap .mom-list.nb-one > li { width: auto; min-width: 0; }
#browseWrap .mom-list.nb-one > .muted { grid-column: 1 / -1; }
.nb-one .nb-face, .nbp-grid .nb-face { width: 100%; }
.nb-one .nb-face small, .nbp-grid .nb-face small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nbp-in .mom-q { margin: 6px 0 10px; }
.nbp-seg { margin-bottom: 12px; }
.mom-list.nbp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 6px; padding: 14px 8px; margin: 0 0 14px; background: var(--card); border-radius: 16px; box-shadow: var(--raise-s); }
.nbp-grid > li { min-width: 0; }
.nbp-grid > .muted { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 14px; padding: 16px 0; }
@media (min-width: 900px) {
  #browseWrap .mom-list.nb-one { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  #nbPage .page-in { max-width: 900px; }
  .mom-list.nbp-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

/* 책 페이지 (v191) */
.bp-in { display: flex; flex-direction: column; gap: 12px; }
.bp-card { background: var(--card); border-radius: 16px; box-shadow: var(--raise-s); padding: 14px; }
.bp-head { display: flex; gap: 14px; align-items: flex-start; }
.bp-head img { width: 96px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; background: var(--soft); flex: none; color: transparent; }
.bp-info { flex: 1; min-width: 0; }
.bp-info h3 { margin: 2px 0 6px; font-size: 19px; line-height: 1.3; }
.bp-info p { margin: 0 0 4px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.bp-avg { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.bp-avg b { font-size: 18px; }
.bp-avg small { font-size: 12px; color: var(--muted); }
#bpRec { width: 100%; }
.bp-card h4 { margin: 0 0 10px; font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bp-card h4 small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.bp-dist { display: flex; gap: 16px; align-items: center; }
.bp-big { text-align: center; }
.bp-big b { display: block; font-size: 34px; line-height: 1.1; }
.bp-bars { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.bp-br { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.bp-br span { width: 10px; text-align: center; }
.bp-br i { flex: 1; height: 9px; border-radius: 5px; background: var(--soft); overflow: hidden; }
.bp-br i b { display: block; height: 100%; background: #FAC775; border-radius: 5px; }
.bp-br.top i b { background: #EF9F27; }
.bp-br em { font-style: normal; width: 22px; text-align: right; }
.bp-ord { display: flex; gap: 4px; }
.bp-ord button { border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 3px 10px; border-radius: 999px; cursor: pointer; }
.bp-ord button.on { background: var(--forest); color: #fff; }
.bp-day { margin-left: auto; color: var(--muted); }
.bp-desc { margin: 0; font-size: 14px; line-height: 1.65; color: #3A3C44; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; white-space: pre-line; }
.bp-desc.open { display: block; }
.bp-pk { margin: 0; font-size: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bp-pk-n { margin: 6px 0 0; font-size: 14px; line-height: 1.5; }
#bookPage .ser-box { margin: 0; }
.bp-go { margin-top: 8px; }
@media (min-width: 900px) {
  #bookPage .page-in { max-width: 820px; }
  .bp-head img { width: 140px; }
}

/* 다른 집 블로그: 네 칸 탭 */
.bl-one { max-width: 760px; margin: 0 auto; }
.bl-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; background: var(--soft, #E8E2D6); border-radius: 14px; padding: 4px; margin: 6px 0 16px; }
.bl-tabs button { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: transparent; border-radius: 11px; padding: 8px 2px; font-size: 13px; color: var(--muted); box-shadow: none; }
.bl-tabs button .ico { width: 19px; height: 19px; }
.bl-tabs button small { font-size: 11px; }
.bl-tabs button.on { background: var(--card); color: var(--forest, #2F5D3A); font-weight: 600; box-shadow: var(--raise-s); }
.bl-pane .bl-cats { margin-bottom: 12px; }
.bl-one { width: 100%; min-width: 0; box-sizing: border-box; }
.bl-pane { min-width: 0; max-width: 100%; overflow: hidden; }
.bl-pane .kb-row { max-width: 100%; }
.pf-nb .port-cal { background: var(--card); box-shadow: var(--raise-s); border-radius: 18px; padding: 12px 10px 14px; }
.pf-nb .cal-grid button:not(.has) { cursor: default; }
.pf-nb .cal-grid button:disabled { color: #C5C7CE; }
.pf-nb .cal-grid button.has:disabled { color: inherit; }
.pf-note { white-space: pre-line; color: var(--ink, #1E2420) !important; font-size: 14px; }
.pf-nb .di-empty { color: var(--muted); text-align: center; }
@media (min-width: 900px) { .bl-one { max-width: 1040px; } .bl-one .kb-row { flex-wrap: wrap; overflow: visible; } }

/* 홈: 요즘 책 읽는 집 작게 + 바나나그램 (v194) */
.hn-more { font-size: 13px; }
.nb-row.hn-sm { gap: 10px; padding: 4px 4px 8px; margin: 0 -4px 6px; }
.hn-sm .nb-face { width: 46px; gap: 3px; }
.hn-sm .nb-face .nb-av { width: 38px; height: 38px; font-size: 16px; box-shadow: 0 0 0 1.5px var(--bg, #F3EFE6), 0 0 0 3px #E3DCCB; }
.hn-sm .nb-face.nb .nb-av { box-shadow: 0 0 0 1.5px var(--bg, #F3EFE6), 0 0 0 3px var(--forest, #2F5D3A); }
.hn-sm .nb-face small { max-width: 46px; font-size: 10.5px; }
.sn-head { gap: 8px; }
.sn-head .grow { flex: 1; }
.sn-plus { width: 28px; height: 28px; border-radius: 50%; border: 0; padding: 0; background: var(--forest, #2F5D3A); color: #fff; display: inline-grid; place-items: center; cursor: pointer; flex: none; }
.sn-plus .ico { width: 17px; height: 17px; stroke-width: 2.4; }
.sn-add { display: inline-flex; align-items: center; gap: 4px; border: 0; background: var(--forest, #2F5D3A); color: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.sn-add .ico { width: 15px; height: 15px; }
.sn-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px 6px; scrollbar-width: none; }
.sn-row::-webkit-scrollbar { display: none; }
.sn-card { flex: none; width: 96px; border: 0; padding: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.sn-imw { position: relative; display: block; }
.sn-im { display: block; width: 96px; height: 96px; border-radius: 12px; object-fit: cover; background: #E8E2D6; }
.sn-noimg { display: grid; place-items: center; color: var(--muted); }
.sn-noimg .ico { width: 26px; height: 26px; }
.sn-imw .av.sn-av { position: absolute; left: 6px; bottom: 6px; width: 20px; height: 20px; margin: 0; box-shadow: 0 0 0 2px #fff; border-radius: 50%; }
.sn-tx { display: block; font-size: 12px; line-height: 1.3; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn-empty { padding: 2px 2px 6px; font-size: 13px; margin: 0; }
.se-title small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.se-in { display: flex; flex-direction: column; gap: 12px; }
.se-pics { display: flex; gap: 8px; flex-wrap: wrap; }
.se-pic { position: relative; width: 72px; height: 72px; }
.se-pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.se-pic button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #2C2C2A; color: #fff; font-size: 11px; cursor: pointer; }
.se-add { width: 72px; height: 72px; border-radius: 12px; border: 1.5px dashed #B4B2A9; background: transparent; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; }
.se-add .ico { width: 22px; height: 22px; }
#seText { width: 100%; box-sizing: border-box; border: 0; border-radius: 12px; background: var(--soft, #F3EFE6); padding: 12px; font: inherit; font-size: 15px; line-height: 1.55; resize: vertical; }
.se-foot { display: flex; align-items: center; gap: 10px; }
.se-foot small { margin-left: auto; color: var(--muted); }
.sn-in { max-width: 560px; margin: 0 auto; }
.sn-feed { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.sn-post { background: var(--card); box-shadow: var(--raise-s); border-radius: 18px; padding: 12px 0; overflow: hidden; }
.sn-who.big { display: flex; align-items: center; border: 0; background: none; font: inherit; cursor: pointer; padding: 0 14px 10px; font-size: 14px; color: var(--ink, #1E2420); gap: 8px; }
.sn-who.big small { color: var(--muted); font-size: 12px; }
.sn-pics { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: pointer; }
.sn-pics::-webkit-scrollbar { display: none; }
.sn-pics img { flex: none; width: 100%; aspect-ratio: 1; object-fit: cover; scroll-snap-align: start; background: #E8E2D6; }
.sn-n { display: block; padding: 6px 14px 0; color: var(--muted); font-size: 12px; }
.sn-body { display: block; width: 100%; text-align: left; border: 0; background: none; font: inherit; font-size: 15px; line-height: 1.6; white-space: pre-line; padding: 10px 14px 4px; color: inherit; cursor: pointer; }
.sn-post .sn-mt { border: 0; background: none; font: inherit; display: flex; align-items: center; gap: 4px; padding: 4px 14px 0; color: var(--muted); font-size: 13px; cursor: pointer; }
.sn-post .sn-mt .ico { width: 16px; height: 16px; margin-left: 6px; }
.sn-post .sn-mt .ico:first-child { margin-left: 0; }
.sn-next { margin: 14px auto 0; display: block; }
.bl-pills { display: flex; gap: 8px; margin: 10px 0 4px; flex-wrap: wrap; }
.bl-pill { display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 999px; padding: 8px 15px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.bl-pill .ico { width: 17px; height: 17px; }
.bl-pill.w { background: #F7E3A0; color: #412402; }
.bl-pill.g { background: var(--forest, #2F5D3A); color: #fff; }
.bl-pill:active { transform: scale(.97); }
@media (min-width: 900px) { .hn-sm .nb-face { width: 54px; } .sn-card, .sn-im { width: 120px; } .sn-im { height: 120px; } }

/* v195: 제목 줄 높이 맞춤 · 카메라 동그라미 · 공개 단추 한 줄 */
#hnWrap > .pop-head, .sn-head { margin: 26px 0 10px; align-items: center; }
#hnWrap > .pop-head .sec-title, .sn-head .sec-title { margin: 0; line-height: 1.3; }
.hn-more { padding: 4px 0 4px 8px; line-height: 1.3; }
.sn-plus { width: 30px; height: 30px; }
.sn-plus .ico { width: 17px; height: 17px; stroke-width: 2; }
.se-foot .seg button { flex: none; white-space: nowrap; padding: 8px 14px; }

/* 나중에 볼 책 (v195) */
.shelf-title.wish { background: #FBE4EC; color: #A03A62; }
.shelf-title .ico { width: 16px; height: 16px; vertical-align: -3px; margin-right: 3px; }
#shelfWish li { position: relative; }
.wish-badge { position: absolute; top: 0; right: 8px; width: 14px; height: 20px; background: #C2557A; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%); }
.bp-acts { display: flex; gap: 8px; }
.bp-acts .btn { flex: 1; }
.wish-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1.5px solid var(--forest, #2F5D3A); background: var(--card, #FBF9F4); color: var(--forest-d, #1F3D27); border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.wish-btn .ico { width: 18px; height: 18px; }
.wish-btn.on { background: #FBE4EC; border-color: #C2557A; color: #A03A62; }
.bp-acts .wish-btn { flex: 1; }
.s-wish { width: 100%; margin: 4px 0 8px; }

/* 바나나그램 칸: 바나나 노랑 점선 · 블로그 사진 줄 · 글 사진 옆으로 넘기기 (v196) */
.bg-box { border: 2px dashed #E8B923; border-radius: 16px; padding: 12px 12px 10px; margin: 24px 0 10px; }
.bg-box > .sn-head, #snWrap.bg-box > .sn-head { margin: 0 0 10px; }
.bg-box .sec-title { margin: 0; }
.bg-box .sn-row { margin: 0; padding: 2px 0 2px; }
.bg-box .sn-empty { padding: 0; }
.bg-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.bg-row::-webkit-scrollbar { display: none; }
.bg-sq { flex: none; width: 104px; height: 104px; border: 0; padding: 0; border-radius: 12px; overflow: hidden; position: relative; background: #E8E2D6; cursor: pointer; }
.bg-sq img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bg-sq .bg-multi { position: absolute; right: 6px; top: 6px; width: 16px; height: 16px; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .55)); }
.bg-sq .bg-tx { display: block; padding: 8px; font-size: 12px; line-height: 1.35; text-align: left; color: var(--ink, #1E2420); }
.sg-car { position: relative; margin: 4px 0 14px; border-radius: 16px; overflow: hidden; background: #E8E2D6; }
.sg-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sg-track::-webkit-scrollbar { display: none; }
.sg-track img { flex: none; width: 100%; aspect-ratio: 1; object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always; display: block; }
.sg-cnt { position: absolute; top: 10px; right: 10px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 9px; }
.sg-dots { display: flex; justify-content: center; gap: 5px; padding: 9px 0; background: var(--card, #FBF9F4); }
.sg-dots i { width: 6px; height: 6px; border-radius: 50%; background: #D3D1C7; }
.sg-dots i.on { background: var(--forest, #2F5D3A); }
.sg-text { white-space: pre-line; font-size: 16px; line-height: 1.65; margin: 0; }
@media (min-width: 900px) { .bg-sq { width: 140px; height: 140px; } .bl-main .bg-blog { margin-top: 0; } }

/* v197: 블로그 글 제목 아래 여백 · 컴퓨터에서 바나나그램 사진 크기 제한 · 글쓰기 '올리기' 줄 위에 붙이기 */
#blogView .post h2 { margin-bottom: 18px; }
#blogEdit .page-top, #postEdit .page-top, #postView .page-top, #blogView .page-top, #momPage .page-top { position: sticky; top: 0; z-index: 6; background: var(--bg); margin: -14px -20px 0; padding: 14px 20px 10px; }
@media (min-width: 900px) {
  #blogView .post h2 { margin-bottom: 24px; }
  #blogView .sg-car, #blogView .sg-text { max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* ===== 고전 시간여행 (v197) ===== */
.ct-home { width: 100%; display: flex; align-items: center; gap: 14px; border: 1px solid rgba(0, 0, 0, .08); cursor: pointer; text-align: left; background: transparent; border-radius: 14px; padding: 12px 14px; margin: 18px 0 6px; box-shadow: none; color: var(--ink); font: inherit; }
.ct-line { flex: none; position: relative; display: flex; gap: 7px; align-items: center; padding: 0 2px; }
.ct-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--sage-l); }
.ct-line i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--card); border: 2px solid var(--sage); }
.ct-line i.on { width: 13px; height: 13px; border: 4px solid var(--forest); box-sizing: border-box; }
.ct-ht { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ct-ht b { font-size: 16px; } .ct-ht small { font-size: 12.5px; color: var(--muted); }
.ct-go { font-size: 22px; color: var(--forest); }
#ctPage .page-top, #ctPage .ct-sub { max-width: 600px; }
.ct-sub { margin: -6px 0 0; font-size: 12.5px; }
.ct-wrap { display: flex; flex-direction: column; gap: 14px; }
.ct-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; background: var(--card); border-radius: 18px; padding: 12px 10px; box-shadow: var(--raise); position: relative; }
.ct-nav::-webkit-scrollbar { display: none; }
.ct-nav button { flex: none; border: 0; background: transparent; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 4px 6px; border-radius: 12px; min-width: 76px; text-align: left; font: inherit; color: var(--ink); }
.ct-nav button i { width: 16px; height: 16px; border-radius: 50%; box-sizing: border-box; border: 2px solid var(--sage); background: var(--card); }
.ct-nav button.on { background: var(--sage-l); } .ct-nav button.on i { border: 5px solid var(--forest); }
.ct-nav button.kr { margin-left: 10px; border-left: 2px dashed var(--line); padding-left: 12px; border-radius: 0 12px 12px 0; }
.ct-nav b { font-size: 13px; display: block; } .ct-nav small { font-size: 11px; color: var(--muted); white-space: nowrap; }
.ct-nav button.on b { font-weight: 800; }
.ct-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ct-intro { background: var(--card); border-radius: 18px; padding: 16px 18px; box-shadow: var(--raise); display: flex; flex-wrap: wrap; gap: 12px 24px; }
.ct-i1 { flex: 1 1 260px; min-width: 0; }
.ct-i1 small { font-size: 12px; font-weight: 700; color: var(--forest); }
.ct-i1 h2 { margin: 2px 0 6px; font-size: 20px; } .ct-i1 p { margin: 0; font-size: 14px; line-height: 1.65; }
.ct-i1 .ct-q { margin-top: 10px; background: var(--sage-l); border-radius: 12px; padding: 8px 11px; font-size: 13px; line-height: 1.5; }
.ct-ev { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.45; }
.ct-ev p { margin: 0; display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 6px; }
.ct-ev em { font-style: normal; font-weight: 700; color: var(--forest); }
.ct-more { flex: 1 1 100%; font-size: 13.5px; line-height: 1.6; } .ct-more summary { cursor: pointer; font-weight: 700; color: var(--forest); } .ct-more p { margin: 6px 0 0; }
.ct-fl { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-fl button { height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-family: inherit; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; }
.ct-fl button.on { background: var(--forest); border-color: var(--forest); color: var(--card); font-weight: 700; }
.ct-fl small { opacity: .75; }
.ct-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.ct-card { border: 2px solid transparent; background: var(--card); border-radius: 16px; padding: 12px; box-shadow: var(--raise); display: flex; flex-direction: column; gap: 7px; text-align: left; cursor: pointer; font: inherit; color: var(--ink); }
.ct-card.on { border-color: var(--forest); }
.ct-ch { display: flex; gap: 10px; align-items: flex-start; }
.ct-cv { flex: none; width: 46px; height: 66px; border-radius: 4px 8px 8px 4px; box-shadow: inset 5px 0 0 rgba(0,0,0,.18); display: flex; align-items: flex-end; padding: 5px 4px 5px 8px; box-sizing: border-box; overflow: hidden; }
.ct-cv span { font-size: 9px; line-height: 1.2; font-weight: 700; color: #FBF9F4; word-break: keep-all; }
.ct-cv.big { width: 76px; height: 108px; } .ct-cv.big span { font-size: 12px; }
.ct-cv { position: relative; }
.ct-cv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ct-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 4px; }
.ct-acts .btn { margin: 0; }
.ct-tt { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .ct-tt b { font-size: 14.5px; line-height: 1.3; } .ct-tt small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.ct-tags { display: flex; flex-wrap: wrap; gap: 4px; } .ct-tags:empty { display: none; }
.ct-tags i { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.t-mid { background: var(--sage-l); color: var(--forest-d); } .t-sch { background: #F6E7B8; color: #5A4300; } .t-read { background: var(--forest); color: var(--card); }
.ct-tip { font-size: 12.5px; line-height: 1.5; background: var(--bg); border-radius: 10px; padding: 7px 9px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ct-side { display: none; background: var(--card); border-radius: 18px; padding: 16px 18px; box-shadow: var(--raise); flex-direction: column; gap: 12px; }
.ct-wrap.has-sel .ct-side { display: flex; } .ct-wrap.has-sel .ct-main, .ct-wrap.has-sel .ct-nav { display: none; }
.ct-back { align-self: flex-start; font-weight: 700; }
.ct-dh { display: flex; gap: 14px; align-items: flex-end; } .ct-dh h2 { margin: 0 0 4px; font-size: 20px; line-height: 1.25; } .ct-dh small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.ct-sec { font-size: 14px; line-height: 1.7; } .ct-sec p { margin: 4px 0 0; } .ct-sec > small { font-size: 12px; font-weight: 700; color: var(--forest); }
.ct-know { background: #FFF6D6; border: 2px dashed #E8B923; border-radius: 14px; padding: 10px 13px; }
.ct-oth b i { font-style: normal; font-size: 11px; color: #3E5C7A; background: #E3EAF1; padding: 2px 8px; border-radius: 999px; margin-left: 4px; vertical-align: 1px; }
.ct-pair { padding: 0; font: inherit; font-weight: 700; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.ct-pick { display: none; }
.ct-bp { width: 100%; border: 0; cursor: pointer; text-align: left; font: inherit; color: var(--ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.ct-bp b { font-size: 14px; } .ct-bp span { font-size: 12.5px; color: var(--muted); } .ct-bp em { font-style: normal; margin-left: auto; font-weight: 700; color: var(--forest); font-size: 13px; }
@media (min-width: 900px) {
  #ctPage .page-in { max-width: 1240px; }
  .ct-wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
  .ct-nav { flex-direction: column; overflow: visible; padding: 14px 10px; }
  .ct-nav button { flex-direction: row; align-items: center; gap: 10px; min-width: 0; width: 100%; min-height: 44px; }
  .ct-nav button.kr { margin: 10px 0 0; border-left: 0; border-top: 2px dashed var(--line); padding-left: 6px; padding-top: 10px; border-radius: 12px; }
  .ct-wrap.has-sel .ct-main, .ct-wrap.has-sel .ct-nav { display: flex; }
  .ct-side { display: flex; position: sticky; top: 70px; max-height: calc(100dvh - 90px); overflow-y: auto; }
  .ct-back { display: none; } .ct-pick { display: block; margin: 0; font-size: 13.5px; line-height: 1.6; }
}

/* 홈 블로그 인기글 (v200) */
.home-col { min-width: 0; }
.hb-list button { gap: 10px; padding: 9px 0; }
.hb-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hb-tx .pl-t { flex: none; }
.hb-list .hb-tx small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-th { flex: none; width: 44px; height: 44px; border-radius: 8px; object-fit: cover; overflow: hidden; }

/* 홈 다섯 칸 선 조금 굵게 + 고전 시간여행 카드 간격 좁히기 (v201) */
.tb-row .tb-card, .ct-home { border: 1.5px solid rgba(0, 0, 0, .16); }
.ct-home { margin-top: -6px; }
@media (min-width: 900px) { .ct-home { margin-top: -2px; } }

/* 고전 시간여행: 책 소개 3줄에서 깔끔히 끊기 + 컴퓨터 안내를 좁은 말풍선으로 (v201) */
.ct-tip { padding: 7px 9px 0; border-bottom: 7px solid transparent; }
@media (min-width: 900px) {
  .ct-side.empty { background: none; box-shadow: none; padding: 4px 0 0 10px; overflow: visible; }
  .ct-side.empty .ct-pick { position: relative; align-self: flex-start; max-width: 220px; margin: 0; padding: 10px 14px; background: var(--card); border: 1.5px solid #CFE0CC; border-radius: 16px; color: var(--forest); font-size: 13.5px; line-height: 1.5; }
  .ct-side.empty .ct-pick b { display: block; font-weight: 700; }
  .ct-side.empty .ct-pick small { display: block; margin-top: 3px; font-size: 12.5px; color: #6F806C; }
  .ct-side.empty .ct-pick::before { content: ""; position: absolute; left: -9px; top: 16px; border: 8px solid transparent; border-right-color: #CFE0CC; border-left: 0; }
  .ct-side.empty .ct-pick::after { content: ""; position: absolute; left: -6.5px; top: 17.5px; border: 6.5px solid transparent; border-right-color: var(--card); border-left: 0; }
}

/* 한줄평 하트 (v201) */
.nh { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; border: 0; background: none; padding: 2px 2px 2px 6px; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; flex: none; }
.nh .rx-ic { width: 16px; height: 16px; }
.nh.on .rx-ic { fill: #ED4956; stroke: #ED4956; }
.nh:active .rx-ic { transform: scale(.88); }
.nh .rx-chev { font-style: normal; font-size: 10px; }
.sr-notes li .who-bub, .hr-list li .who-bub { margin-top: 6px; }
.sr-notes li .nh span { display: inline; margin: 0; }

/* v203 함께 읽기 목록 */
.ct-pairs { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.ct-pairs li { padding-left: 12px; border-left: 3px solid rgba(0,0,0,.12); }
.ct-pairs li > span { display: block; margin-top: 2px; }
.ct-pairs .ct-pair, .ct-pairs li > b { font-weight: 700; }

/* v204 AR 지수 · 맨 아래 기록하기 */
.ar-row { display: flex; align-items: center; gap: 12px; }
.ar-row input { width: 110px; font: inherit; font-size: 20px; text-align: center; border: 1px solid transparent; padding: 14px 8px; background: var(--card); color: var(--ink); border-radius: 12px; box-shadow: var(--inset); }
.ar-find { font-size: 14px; font-weight: 700; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.ar-say { margin: 6px 0 0; font-size: 12px; color: #7A7D86; }
.r-save2 { margin: 8px 0 6px; }
.ar-badge { display: inline-block; margin: 0 6px 4px 0; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #E6F1FB; color: #0C447C; }

/* v205 스캔 시트 AR: 찾아보기 크게, 나중에 볼 책 작게 */
.s-ar { margin: 6px 0 0; }
.s-ar .ar-badge { margin: 0; }
.s-acts { display: flex; gap: 8px; margin: 4px 0 8px; }
.s-acts .s-wish { width: auto; flex: 1; margin: 0; }
.s-acts.has-ar .s-wish { flex: 0 0 auto; padding: 10px 12px; font-size: 13px; }
.s-arbtn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 14px; padding: 14px 12px; font-size: 16px; font-weight: 700; background: #E6F1FB; color: #0C447C; border: 1.5px solid #85B7EB; text-decoration: none; }
.s-arbtn[hidden] { display: none; }

/* v206 내 기록 보기: AR 지수 */
.v-ar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.v-ar input { width: 84px; font: inherit; font-size: 16px; text-align: center; padding: 8px 6px; border: 1px solid transparent; border-radius: 10px; background: var(--card); box-shadow: var(--inset); color: var(--ink); }
#vArD .ar-say { display: block; margin-top: 4px; }
#vArT[hidden], #vArD[hidden] { display: none; }
.s-ar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
.s-ar[hidden] { display: none; }
.ar-edit { border: 0; background: none; padding: 2px 0; font: inherit; font-size: 13px; font-weight: 700; color: var(--forest); cursor: pointer; }
.ar-form { display: inline-flex; align-items: center; gap: 6px; }
.ar-form[hidden] { display: none; }
.ar-form input { width: 76px; font: inherit; font-size: 16px; text-align: center; padding: 6px; border: 1px solid transparent; border-radius: 10px; background: var(--card); box-shadow: var(--inset); color: var(--ink); }
.bp-info .s-ar { margin: 0 0 4px; }

/* v207 고전 시간여행: 역사 먼저 읽기 */
.ct-hist { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13px; }
.ct-hist > b { flex: 1 1 100%; color: var(--forest); }
.ct-hb { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; text-align: left; }
.ct-hb i { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: #FAEEDA; color: #633806; }
.ct-hb small { color: var(--muted); }
.ct-more2 { border-top: 0; padding-top: 0; }
.ct-more2 .ct-hb { padding-left: 11px; }
/* v207 AR 줄을 파란 칸으로 (내 기록 · 기록 화면) */
#vArT { align-self: stretch; display: flex; align-items: center; padding: 0 0 0 10px; margin-left: -10px; font-size: 14px; font-weight: 800; color: #0C447C; background: #E6F1FB; border-radius: 12px 0 0 12px; }
#vArD { background: #E6F1FB; border-radius: 0 12px 12px 0; padding: 8px 10px 8px 0; margin-left: -10px; padding-left: 10px; }
#vAr, #rAr { font-weight: 800; color: #0C447C; background: #fff; }
#vArD .ar-find, #arRow .ar-find { color: #0C447C; }
#arRow { background: #E6F1FB; border-radius: 16px; padding: 12px 14px; }
#arRow > span { color: #0C447C; font-weight: 800; }
/* v207 책 페이지 버튼 3개 통일: 같은 높이·모서리·글씨 */
.bp-acts { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.bp-acts > * { box-sizing: border-box; height: 52px; min-width: 0; margin: 0; padding: 0 6px; border-radius: 14px; border: 1.5px solid transparent; display: flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.bp-acts > [hidden] { display: none; }
.bp-acts #bpRec { background: var(--forest-d); border-color: var(--forest-d); color: #fff; }
.bp-acts .wish-btn { border-color: var(--forest, #2F5D3A); }
.bp-acts .bp-arf { background: #E6F1FB; border-color: #85B7EB; color: #0C447C; }
/* v207 포트폴리오: 응원 하트(달력) · 날짜 제목 옆 하트·댓글 */
.cal-grid .cal-cheer { position: absolute; top: 4px; right: 5px; width: 9px; height: 9px; fill: #E8708A; }
.di-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; }
.di-head .rx-top { margin: 0; gap: 8px; }
.di-head .rx-top button { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; font-size: 14px; }
.di-head .rx-top button.on { background: #FCEBEB; border-color: #F4C0C0; color: #A32D2D; }
.di-head .who-bub { flex-basis: 100%; }
.di-head .rx-top .rx-ic { width: 18px; height: 18px; }
/* v207 스탬프판 바로 가기 줄 + 소식 통계 칸 작게 */
.stamp-strip { width: 100%; display: flex; align-items: center; gap: 12px; margin: 12px 0 4px; padding: 12px 14px; border: 1px solid #DDBB4E; border-radius: 16px; background: #FFE48A; font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.stamp-strip[hidden] { display: none; }
.stamp-strip .ss-t { font-weight: 800; font-size: 15px; }
.stamp-strip .ss-n { font-size: 13px; color: #6B5A1E; white-space: nowrap; }
.stamp-strip .ss-n b { font-size: 16px; color: #8A6A00; }
.stamp-strip .ss-go { margin-left: auto; font-size: 20px; line-height: 1; font-weight: 700; color: #8A6A00; }
.tab[data-tab="stats"] .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tab[data-tab="stats"] .tile { padding: 10px 12px; border-radius: 14px; }
.tab[data-tab="stats"] .tile small { font-size: 12px; }
.tab[data-tab="stats"] .tile b { font-size: 19px; letter-spacing: -.4px; white-space: nowrap; }
.tab[data-tab="stats"] .tile b em { font-size: 12px; }
.tab[data-tab="stats"] .tile .tile-sub { font-size: 10px; }
@media (min-width: 900px) { .tab[data-tab="stats"] .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 과일 친구 · 과수원 (v208) */
.stamp-strip .ss-n { display: inline-flex; align-items: center; gap: 4px; }
.stamp-strip .ss-fr { width: 26px; height: 29px; flex: none; }
.fruit-box { margin: 12px 0; padding: 14px; border-radius: 20px; background: linear-gradient(#FFF8DC, #FFEFB8); border: 1px solid #EED88A; }
.fruit-hero { display: flex; align-items: center; gap: 12px; }
.fruit-hero .fh-svg { width: 104px; height: 114px; flex: none; }
.fh-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fh-t small { font-size: 12px; color: #8A6A00; font-weight: 700; }
.fh-t b { font-size: 20px; }
.fh-t span { font-size: 13px; color: #6B5A1E; }
.fh-dots { display: flex; gap: 5px; margin-top: 4px; }
.fh-dots i { width: 22px; height: 6px; border-radius: 3px; background: #EBDDA6; }
.fh-dots i.on { background: #E8A020; }
.orchard-btn { margin-top: 10px; width: 100%; padding: 10px; border-radius: 12px; border: 1px solid #DDBB4E; background: #fff; font: inherit; font-weight: 800; font-size: 14px; color: #5C4A00; cursor: pointer; }
.orchard-btn b { color: #8A6A00; margin-left: 2px; }
.or-sub { text-align: center; color: #6B5A1E; font-size: 13px; margin: -4px 0 14px; }
.or-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.or-cell { display: flex; flex-direction: column; align-items: center; padding: 10px 4px 8px; border-radius: 16px; background: #FFF8DC; border: 1px solid #EED88A; }
.or-cell .or-svg { width: 76px; height: 84px; }
.or-cell b { font-size: 13px; text-align: center; }
.or-cell small { font-size: 11px; color: #8A7A50; }
.or-empty { grid-column: 1 / -1; text-align: center; color: #6B5A1E; font-size: 14px; line-height: 1.6; }
.or-empty .or-svg { width: 90px; height: 100px; }
@media (min-width: 900px) { .or-grid { grid-template-columns: repeat(5, 1fr); } }
.stamp-strip { gap: 8px; }
.stamp-strip .ss-t { white-space: nowrap; }
.stamp-strip .ss-n { gap: 1px; }
.stamp-strip .ss-fr { width: 32px; height: 35px; margin: -6px 0; }
.fruit-guide { margin-top: 10px; }
.fruit-guide summary { cursor: pointer; font-size: 13px; font-weight: 700; color: #8A6A00; list-style: none; text-align: center; }
.fruit-guide summary::-webkit-details-marker { display: none; }
.fruit-guide summary::after { content: " ▾"; }
.fruit-guide[open] summary::after { content: " ▴"; }
.fg-stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 10px 0 6px; }
.fg-st { display: flex; flex-direction: column; align-items: center; padding: 6px 2px; border-radius: 12px; }
.fg-st.now { background: #fff; box-shadow: 0 0 0 2px #E8A020 inset; }
.fg-st .fg-svg { width: 52px; height: 57px; }
.fg-st b { font-size: 11px; white-space: nowrap; }
.fg-st small { font-size: 10px; color: #8A7A50; }
.fg-list { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; line-height: 1.6; color: #5C4A00; }
.fruit-guide h5 { margin: 12px 0 4px; font-size: 13px; color: #5C4A00; }
.fg-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.fg-row.fg-ten .fg-svg { width: 44px; height: 48px; }
.fg-go { margin: 6px 0 0; text-align: center; font-size: 13px; font-weight: 800; color: #3B6D11; }
.fg-stages, .fg-list { display: none; }
.ct-hist .ct-en { font-style: normal; font-size: 10.5px; font-weight: 700; color: #0C447C; background: #E6F1FB; border-radius: 6px; padding: 1px 5px; margin-left: 4px; white-space: nowrap; }
.ct-none { padding: 12px 4px; }

/* 원서 주제별 목록 (v209): 홈 다섯째 카드(청록 지구본) + 사이트 링크 창 */
.tb-row .os-card { grid-column: span 2; }
.tb-row .os-ic, .os-title .os-ic { background: #DDEFEC; color: #2E6B63; display: flex; align-items: center; justify-content: center; }
.os-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.os-card .os-go { margin-left: auto; font-size: 20px; color: var(--muted); }
.os-title { display: flex; align-items: center; gap: 10px; }
.os-title .os-ic { width: 36px; height: 36px; border-radius: 11px; flex: none; }
.os-title .os-ic svg { width: 21px; height: 21px; }
.os-sub { margin: -8px 0 0; font-size: 13px; color: var(--muted); }
.os-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
.os-item { display: block; position: relative; border: 1.5px solid rgba(0, 0, 0, .16); border-radius: 14px; padding: 12px 40px 12px 14px; color: var(--ink); text-decoration: none; }
.os-item::after { content: "↗"; position: absolute; right: 14px; top: 12px; color: #2E6B63; font-size: 16px; }
.os-item b { display: block; font-size: 15px; font-weight: 600; }
.os-item span { display: block; font-size: 13px; color: var(--muted); margin: 3px 0 7px; line-height: 1.45; }
.os-item em { display: inline-block; font-style: normal; font-size: 12px; background: #DDEFEC; color: #2E6B63; border-radius: 999px; padding: 2px 9px; }
.os-item:active { background: rgba(46, 107, 99, .06); }
@media (min-width: 900px) {
  .tab[data-tab="home"] .tb-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tb-row .os-card { grid-column: auto; }
  .os-card .os-go { display: none; }
  #osPage .page-in { max-width: 900px; }
  .os-list { grid-template-columns: 1fr 1fr; }
  .os-item:hover { background: rgba(46, 107, 99, .05); }
}
.ct-hb.loading { opacity: .5; pointer-events: none; }
.stamp-kids { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 0 0 12px; }
.sk-card { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.sk-card.on { border-color: #E8A020; background: #FFF6D6; box-shadow: 0 0 0 1px #E8A020 inset; }
.sk-card .sk-fr { width: 44px; height: 48px; flex: none; }
.sk-t { display: flex; flex-direction: column; min-width: 0; }
.sk-t b { font-size: 15px; }
.sk-t small { font-size: 12px; color: var(--muted); white-space: nowrap; }
.sk-t em { font-style: normal; font-weight: 800; color: #8A6A00; }
/* v209 말풍선: 친구가 "나는 어떻게 자랄까?" 하고 물어봐요 */
.fruit-hero { flex-wrap: wrap; }
.fruit-guide > summary { display: none; }
.fh-bub { position: relative; margin-left: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; border-radius: 16px; border: 2px dashed #E8A020; background: #fff; font: inherit; color: #5C4A00; cursor: pointer; text-align: left; box-shadow: 0 2px 0 #F2D27A; animation: fhBob 2.4s ease-in-out infinite; }
.fh-bub b { font-size: 14px; white-space: nowrap; }
.fh-bub small { font-size: 11.5px; color: #A07A10; }
.fh-bub::before { content: ""; position: absolute; left: -11px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-right: 10px solid #E8A020; border-left: 0; }
.fh-bub::after { content: ""; position: absolute; left: -7px; top: 50%; margin-top: -5px; border: 5px solid transparent; border-right: 8px solid #fff; border-left: 0; }
.fh-bub.on { background: #FFF3CF; animation: none; }
.fh-bub.on small::before { content: "▴ "; }
@keyframes fhBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@media (max-width: 560px) {
  .fh-bub { margin: 4px 0 0 0; width: 100%; align-items: center; }
  .fh-bub::before { left: 46px; top: -11px; margin-top: 0; border: 7px solid transparent; border-bottom: 10px solid #E8A020; border-top: 0; }
  .fh-bub::after { left: 48px; top: -7px; margin-top: 0; border: 5px solid transparent; border-bottom: 8px solid #fff; border-top: 0; }
}
.stamp-strip .ss-t em { font-style: normal; color: #8A4A00; }
.stamp-strip .ss-medal { font-style: normal; }
@media (max-width: 440px) {
  .stamp-strip { gap: 4px; padding: 10px 10px 10px 12px; }
  .stamp-strip .ss-medal { display: none; }
  .stamp-strip .ss-t { font-size: 14px; }
  .stamp-strip .ss-n { font-size: 12px; }
  .stamp-strip .ss-n b { font-size: 15px; }
  .stamp-strip .ss-fr { width: 26px; height: 29px; }
  .stamp-strip .ss-go { font-size: 18px; }
}
/* v209 한줄평 꽃밭 · 배지 */
.garden { position: relative; margin: 16px 0 6px; padding: 12px 12px 8px; border-radius: 18px; background: linear-gradient(#EEF8E8, #DCEFD2); border: 1px solid #BFDDB0; overflow: hidden; }
.garden h4 { margin: 0 0 2px; font-size: 15px; color: #2F6B2A; display: flex; align-items: center; gap: 6px; }
.garden p { margin: 0 0 6px; font-size: 12px; color: #4E7A44; }
.gd-bed { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 2px 3px; min-height: 66px; border-bottom: 6px solid #B98552; border-radius: 0 0 6px 6px; padding: 0 4px; }
.gd-bed .fl { width: 34px; height: calc(var(--h) * .88px); }
.gd-more { font-size: 13px; font-weight: 800; color: #2F6B2A; padding: 0 4px 6px; }
.gd-empty { font-size: 13px; color: #4E7A44; padding: 0 0 10px; }
.gd-bfs { position: absolute; inset: 0; pointer-events: none; }
.gd-bfs .bf { position: absolute; width: 30px; height: 26px; }
.gd-cnt { display: flex; gap: 14px; font-size: 13px; margin: 8px 2px 2px; color: #2F6B2A; align-items: center; }
.gd-cnt span { display: inline-flex; align-items: center; gap: 4px; }
.gd-cnt b { font-size: 16px; }
.gd-mi { width: 20px; height: 20px; flex: none; }
.bd-h { font-size: 16px; margin: 16px 0 8px; display: flex; align-items: center; gap: 6px; }
.bds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bd { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px 8px; border-radius: 14px; background: #fff; border: 1.5px solid #E8A020; text-align: center; }
.bd .md { width: 46px; height: 50px; }
.bd b { font-size: 12.5px; }
.bd small { font-size: 10.5px; color: #8A7A50; }
.bd.off { border-color: #E2DDD3; background: #F8F6F1; }
.bd.off b { color: #999; }
.gd-rule { font-size: 11.5px; color: #888; margin: 10px 2px 0; line-height: 1.6; }
.orchard-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.orchard-btn .ob-sub { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: #4E7A44; }
.orchard-btn .ob-sub .gd-mi { width: 16px; height: 16px; }
@media (min-width: 900px) { .bds { grid-template-columns: repeat(5, 1fr); } }
/* v211 스탬프판 띠: 글자만 깔끔하게 (현재 숫자·과일은 스탬프판 안에서) */
.stamp-strip .ss-n { display: none; }
.stamp-strip { padding: 11px 16px; }
#stampStripS { margin: 0 0 14px; }
@media (max-width: 440px) { .stamp-strip .ss-medal { display: inline; } }
#stampStripH { margin: 8px 0 4px; }
/* v211 말풍선: 폰에서 가로로 길게 말고 글자만큼, 친구 밑에서 말하듯 */
@media (max-width: 560px) {
  .fh-bub { width: auto; margin: 6px auto 0 22px; align-items: flex-start; padding: 9px 16px; }
  .fh-bub::before { left: 26px; }
  .fh-bub::after { left: 28px; }
}
.stamp-total { margin: 10px 2px 0; text-align: center; font-size: 14px; color: #6B5A1E; }
.stamp-total:empty { display: none; }
.stamp-total b { color: #8A4A00; font-size: 16px; }

/* 이번 달 독서왕 (소식) */
.rk { margin: 0 0 14px; padding: 13px 14px; border: 1px solid #E2CF8A; border-radius: 18px; background: #FFFBEA; }
.rk[hidden] { display: none; }
.rk summary { list-style: none; cursor: pointer; }
.rk summary::-webkit-details-marker { display: none; }
.rk-h { display: flex; align-items: baseline; gap: 8px; }
.rk[open] .rk-h { margin: 0 0 10px; }
.rk-h b { font-size: 17px; font-weight: 800; }
.rk-h small { color: #8A7A3A; font-size: 12px; margin-left: auto; }
.rk-h i { font-style: normal; color: #8A7A3A; display: inline-block; transition: transform .2s; }
.rk[open] .rk-h i { transform: rotate(180deg); }
.rk-sum { margin: 6px 0 0; font-size: 13.5px; color: #5A4A10; }
.rk-sum b { color: #8A4A00; }
.rk[open] .rk-sum { display: none; }
.rk-band { display: flex; gap: 5px; margin: 0 0 10px; }
.rk-band button { flex: 1; padding: 7px 0; border: 1px solid #E2CF8A; border-radius: 999px; background: #fff; font: inherit; font-size: 12.5px; color: #6B5A1E; cursor: pointer; }
.rk-band button.on { background: #FFE48A; border-color: #DDBB4E; font-weight: 800; color: #3A2E00; }
.rk ol { list-style: none; margin: 0; padding: 0; }
.rk li { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-top: 1px dashed #EADFB5; }
.rk li:first-child { border-top: 0; }
.rk li.me { background: #FFF0B8; border-radius: 12px; border-top-color: transparent; }
.rk li.me + li { border-top-color: transparent; }
.rk li.rk-none { justify-content: center; font-size: 13px; color: #8A7A3A; padding: 12px 4px; }
.rk .no { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.rk .no.g { background: #F7C744; color: #5A3D00; }
.rk .no.s { background: #D9DDE3; color: #3E4550; }
.rk .no.b { background: #E7B48A; color: #5A2E10; }
.rk .fr { width: 30px; height: 30px; flex: none; }
.rk .who { flex: 1; min-width: 0; }
.rk .who b { font-size: 15px; }
.rk .who em { font-style: normal; font-size: 12px; color: #8A7A3A; margin-left: 5px; }
.rk .n { font-weight: 800; font-size: 15px; color: #8A4A00; }
.rk .n small { font-weight: 600; font-size: 12px; color: #9A7A40; margin-left: 1px; }
.rk-me { margin: 10px 0 2px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #EADFB5; font-size: 13.5px; color: #5A4A10; text-align: center; line-height: 1.6; }
.rk-me[hidden] { display: none; }
.rk-me b { color: #8A4A00; }
.rk-foot { margin: 8px 0 0; text-align: center; font-size: 11.5px; color: #A89A6A; }

/* v212 소식 윗부분: 시간 칸은 아래 그래프와 겹쳐서 빼고 4칸(폰 2×2) · 띠·독서왕·칸 간격 똑같이 */
.tab[data-tab="stats"] .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
@media (min-width: 900px) { .tab[data-tab="stats"] .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
#stampStripS { margin: 0 0 10px; }
.rk { margin: 0; }

/* v213 AR 적기·찾기 통일: AR 파랑 한 가지 · 같은 둥근 버튼 (찾기 = 연파랑 채움, 적기 = 흰 바탕 파랑 테두리) */
.ar-badge { margin: 0; font-size: 13px; font-weight: 800; padding: 6px 12px; background: #0C447C; color: #fff; }
.ar-edit, .ar-find { display: inline-flex; align-items: center; justify-content: center; gap: 4px; box-sizing: border-box; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #85B7EB; font: inherit; font-size: 14px; font-weight: 700; color: #0C447C; text-decoration: none; white-space: nowrap; cursor: pointer; }
.ar-edit { background: #fff; }
.ar-find { background: #E6F1FB; }
.ar-edit[hidden], .ar-find[hidden] { display: none; }
#vArD .ar-find, #arRow .ar-find { color: #0C447C; }
.ar-form input, .v-ar input, .ar-row input { border: 1.5px solid #85B7EB; background: #fff; color: #0C447C; font-weight: 800; box-shadow: none; }
.ar-form input, .v-ar input { border-radius: 999px; padding: 7px 8px; }
#sArOk, #bpArOk, #vArSave { background: #0C447C; border-color: #0C447C; color: #fff; border-radius: 999px; }
.s-ar { margin: 6px 0 0; }
.s-acts .s-arbtn { border-radius: 14px; padding: 13px 10px; font-size: 15px; }
.s-acts .ar-edit.s-arbtn { background: #fff; }
.bp-info .s-ar { margin: 2px 0 6px; }
/* 친구네 책장: 「책장 전체 보기」를 눈에 띄는 단추로 */
.kb-all { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin: 12px 0 0; padding: 12px; border-radius: 14px; border: 1.5px solid #B7C9A8; background: #DDE5D3; font: inherit; font-size: 15px; font-weight: 800; color: #1F3D27; cursor: pointer; }
.kb-all span { font-size: 18px; line-height: 1; }
.bp-info .ar-edit, .bp-info .ar-find, .bp-info .ar-badge { padding: 6px 11px; font-size: 13px; }
.bp-info .ar-form input { width: 70px; padding: 5px 6px; font-size: 15px; }
.ar-form input:focus, .v-ar input:focus, .ar-row input:focus { outline: 2px solid #85B7EB; outline-offset: 1px; }
/* v213 요즘 별 다섯 개 인기책: 폰은 4권 보이고 옆으로 밀면 8위까지 */
@media (max-width: 899px) {
  .h5-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 4.25); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 10px; padding: 10px 10px 6px; margin: 0 -10px 18px; scrollbar-width: none; }
  .h5-row::-webkit-scrollbar { display: none; }
  .h5-row li { scroll-snap-align: start; min-width: 0; }
}

/* 스캔 창: AR 단추 둘과 나란히 있을 때 「나중에 볼 책」은 책갈피 그림만 (네모 단추) */
.s-acts.has-ar .s-wish { flex: 0 0 52px; width: 52px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 14px; }
.s-acts.has-ar .s-wish .w-tx { display: none; }
.s-acts.has-ar .s-wish svg { width: 22px; height: 22px; }
.s-acts.has-ar .s-wish.on svg { fill: currentColor; }
.bp-info .ar-form input { width: 54px; padding: 5px 4px; }
.bp-info .ar-find { padding: 6px 9px; font-size: 12.5px; }
.bp-info #bpArOk { padding: 6px 10px; font-size: 13px; }
.bp-info .ar-form { gap: 5px; }
.bp-info .s-ar { gap: 6px; }
.ar-form input::-webkit-outer-spin-button, .ar-form input::-webkit-inner-spin-button, .v-ar input::-webkit-inner-spin-button, .v-ar input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ar-form input, .v-ar input { -moz-appearance: textfield; appearance: textfield; }

/* v214 책 그림 (이모지 대신 우리 그림) */
.bk-ic { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.2em; flex: none; }
.sec-title .bk-ic, .page-title .bk-ic { width: 1.1em; height: 1.1em; vertical-align: -0.15em; }
.page-title .pt-ic { display: inline-flex; vertical-align: -0.12em; color: var(--forest); }
.page-title .pt-ic .ico { width: 1em; height: 1em; }

/* v215 기록하기 AR 칸: 적는 칸인 게 보이게 (연필 + 안내) */
#arRow .ar-row input { padding-left: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2385B7EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L18.5 9.5a2.8 2.8 0 0 0-4-4L4 16v4'/%3E%3Cpath d='M13.5 6.5l4 4'/%3E%3C/svg%3E") no-repeat 12px center / 18px 18px; }
#arRow .ar-say { color: #3E6A93; font-size: 12.5px; margin-top: 8px; }
#arRow .ar-row input { width: 124px; font-size: 19px; -moz-appearance: textfield; appearance: textfield; }
#arRow .ar-row input::-webkit-outer-spin-button, #arRow .ar-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#arRow .ar-row input::placeholder { font-size: 16px; font-weight: 600; }
#rArSave { background: #0C447C; border-color: #0C447C; color: #fff; border-radius: 999px; padding: 9px 14px; font-size: 14px; white-space: nowrap; }
#arRow .ar-row { flex-wrap: wrap; gap: 8px 10px; }
#arRow .ar-row input { width: 110px; }
#arRow .ar-row { gap: 8px; }
#arRow .ar-row input { width: 92px; padding-left: 30px; background-position: 10px center; font-size: 18px; }
#arRow #rArSave { padding: 9px 12px; font-size: 13.5px; }
#arRow .ar-find { padding: 8px 11px; font-size: 13.5px; }

/* v217 설정: 비슷한 것끼리 상자로 묶기 (잠수네 가져오기 · 내 기록 내려받기·올리기) */
.set-box { background: var(--card); box-shadow: var(--raise-s); border-radius: 18px; padding: 6px 4px 4px; }
.set-box-h { display: flex; align-items: center; gap: 6px; margin: 6px 12px 2px; font-size: 13px; font-weight: 800; color: var(--forest); }
.set-box-h .ico { width: 16px; height: 16px; }
.set-box .set-row { box-shadow: none; background: transparent; border-radius: 14px; padding: 11px 10px; }
.set-box .set-row + .set-row { border-top: 1px dashed var(--line); border-radius: 0 0 14px 14px; }
.set-box .set-row:active { background: var(--soft); }
.set-fold { padding: 0; }
.set-fold > summary { list-style: none; }
.set-fold > summary::-webkit-details-marker { display: none; }
.set-fold .sf-go { transition: transform .2s; display: inline-block; }
.set-fold[open] .sf-go { transform: rotate(90deg); }
.set-fold[open] > summary { border-bottom: 1px dashed var(--line); border-radius: 18px 18px 0 0; }
.set-fold > .set-row { padding-left: 22px; }
.set-fold > .set-row + .set-row { border-radius: 0 0 18px 18px; }
.set-fold > summary.set-row { padding: 14px; background: transparent; box-shadow: none; }

/* v217 AR: 누가 찾아 줬는지 · 🙏 */
.ar-cred { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; font-size: 11.5px; color: var(--muted); }
.ar-cred[hidden] { display: none; }
.s-ar .ar-cred { width: 100%; margin: 6px 0 0; }
.ar-ty { display: inline-flex; align-items: center; gap: 3px; border: 0; background: none; padding: 2px 8px 2px 4px; border-radius: 999px; font: inherit; font-size: 11.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.ar-ty.on { background: #FFE3C7; color: #C9772E; font-weight: 800; }
.ar-ty.ro { cursor: default; }
/* 이달의 AR 도우미 (소식 · 독서왕 아래 파란 카드) */
.rk.arh { margin: 10px 0 0; border-color: #BCD6F0; background: #F2F8FE; }
.arh .rk-h small, .arh .rk-h i { color: #3E6A93; }
.arh .rk-sum { color: #2E4F70; }
.arh .rk-sum b, .arh .n { color: #0C447C; }
.arh li { border-top-color: #CFE0F1; }
.arh li.me { background: #E2EFFC; }
.arh .av { width: 30px; height: 30px; flex: none; }
.arh .who small { display: block; font-size: 11.5px; color: #6E8AA6; }
.arh .n small { color: #3E6A93; }
.arh .rk-foot { color: #7E97B0; }
/* 관리자: 최근 7일 활용도 · 골라 보기 · 활동 칩 · 최근 활동 */
.adm-act { margin: 10px 0 0; }
.act-h { display: flex; align-items: baseline; gap: 8px; margin: 6px 2px 8px; }
.act-h b { font-size: 16px; }
.act-h small { color: var(--muted); font-size: 12px; }
.act-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.act-tiles div { background: var(--card); border-radius: 14px; padding: 10px 6px; box-shadow: var(--raise-s); text-align: center; }
.act-tiles b { display: block; font-size: 19px; color: var(--forest); }
.act-tiles small { font-size: 11.5px; color: var(--muted); }
.act-f { display: flex; gap: 6px; overflow-x: auto; margin: 12px 0 4px; scrollbar-width: none; }
.act-f::-webkit-scrollbar { display: none; }
.act-f button { flex: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; }
.act-f button.on { background: var(--forest); border-color: var(--forest); color: #fff; font-weight: 700; }
.act-c { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.act-c i { font-style: normal; font-size: 11.5px; padding: 2px 7px; border-radius: 999px; background: #EEF3E9; color: #2F5D3A; font-weight: 700; white-space: nowrap; }
.act-c i.ar { background: #E6F1FB; color: #0C447C; }
.act-c i.zero { background: #F1EEE8; color: #9A9488; font-weight: 500; }
.au-head .act-c { margin: 4px 0; }
.tl { list-style: none; margin: 4px 0 14px; padding: 0; }
.tl li { display: flex; gap: 10px; padding: 9px 4px; border-bottom: 1px dashed var(--line); font-size: 14px; align-items: flex-start; }
.tl li small { flex: none; width: 70px; color: var(--muted); font-size: 12px; padding-top: 2px; }
.tl li i { font-style: normal; flex: none; width: 22px; text-align: center; }
.tl li.muted { display: block; }

/* N 표시 (v219, 3안): 앱 아이콘 연분홍 동그라미 + 짙은 N. data-until 날짜가 지나면 app.js가 숨김 */
.new-pill { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 16px; height: 16px; border-radius: 50%; font-size: 10px; font-weight: 700; line-height: 1; color: #1E2420; background: #F4A3A3; vertical-align: 2px; }
.ct-ht b .new-pill { margin-left: 5px; }

/* 고전 시간여행: 출판사 판본 (v220) */
.ct-pf { margin-bottom: 6px; }
.ct-pubs i.t-pub { font-weight: 600; }
.t-pub.p-m { background: #EFE6DA; color: #6B4A2B; } .t-pub.p-b { background: #E3EEF8; color: #1F4E79; } .t-pub.p-n { background: #F4E4EE; color: #7A2E59; } .t-pub.p-a { background: #E6F2E6; color: #2E6B3A; }
.ct-dh .ct-pubs { margin-top: 4px; }
.ct-acts .ct-ed { margin: 0; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 14px; font-weight: 600; }
.ct-acts .ct-ed small { color: var(--muted); font-weight: 500; }
.ct-edh { margin: 0 0 6px; font-size: 12px; }

.s-read { display: block; margin: 8px auto 0; font-size: 14px; }
.s-sib { margin: 6px 2px 0; font-size: 13px; color: var(--muted); }
.s-sib b { color: var(--ink); font-weight: 700; }

/* v230 BooksForTopics 한 줄: 책 종류 · 우리 나이 */
.bft-line { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.bp-info .bft-line { margin: 0 0 4px; }
/* v256: 쌍둥이책·판본·원서 한 줄 — 누르는 곳은 밑줄 글씨, 단추 없음 */
.twin-line a { color: inherit; text-decoration: none; }
.twin-line a b, .ct-lk b { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.ct-lk { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; }
.ct-dh { position: relative; align-items: flex-start; }
.ct-dh h2 { padding-right: 40px; }
.ct-dh .ct-hl { margin: 5px 0 0; font-size: 13px; line-height: 1.5; }
.ct-dh .ct-tags:empty { display: none; }
.ct-wish-mini { position: absolute; top: 0; right: 0; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--line); }
.ct-wish-mini .w-tx { display: none; }
.s-wendy { margin: -2px 0 10px; text-align: center; font-size: 13.5px; color: var(--muted); }
.s-wendy a { color: #854F0B; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.s-wendy[hidden] { display: none; }
.r-wendy { margin: 8px 0 0; text-align: left; }

.ct-orig { display:block; margin:10px 0 2px; padding:9px 12px; border-radius:12px; background:var(--soft); font-size:13.5px; color:inherit; text-decoration:none; line-height:1.45; }
.ct-orig b { font-weight:600; }

/* 홈 바나나그램: "요즘 책 읽는 집" 바로 아래에 붙임 (따로 상자 없이) */
#snWrap.sn-join { margin-top: -16px; }
#snWrap.sn-join .sn-head { margin-bottom: 6px; }
#snWrap.sn-join .sec-title { font-size: 15px; }
#snWrap.sn-join .sn-plus { width: 30px; height: 30px; }
/* 아래 탭: 고른 탭만 빨강 (나머지는 회색) */
.tabbar button { color: #9AA39C; }
.tabbar button[aria-current="page"] { color: #E5484D; background: #F6E9E4; box-shadow: none; font-weight: 700; }
.tabbar button[aria-current="page"] .ico { stroke-width: 2.4; }

/* 새 버전 띠 (v237) */
.upd-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 2147483000; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 12px 18px; border: 0; border-radius: 999px; background: var(--forest, #2F5D3A); color: #fff; font: inherit; font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.18); cursor: pointer; white-space: nowrap; }
.upd-bar b { font-weight: 800; } .upd-bar span { opacity: .85; }
.upd-bar[hidden] { display: none; }

/* AR이 다른가요? 알려 주기 (v238) */
.ar-rep { display: inline; border: 0; background: none; padding: 2px 0; font: inherit; font-size: 11.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ar-repf { display: block; box-sizing: border-box; width: 100%; margin: 10px 0 4px; padding: 12px 12px 10px; border-radius: 14px; background: #F6F1E7; font-size: 13px; color: var(--ink); text-align: left; }
.ar-repf b { display: block; font-size: 13.5px; margin-bottom: 6px; }
.ar-repf .row { display: flex; gap: 8px; margin: 6px 0; }
.ar-repf input { flex: 1; min-width: 0; height: 36px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; background: #fff; }
.ar-repf input.n { flex: 0 0 84px; }
.ar-repf small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 4px; }
.ar-repf .acts { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.adm-arq { margin: 10px 0 0; background: #F2F8FE; border: 1px solid #BCD6F0; border-radius: 16px; padding: 10px 12px; }
.adm-arq summary { cursor: pointer; font-size: 14px; color: #0C447C; list-style: none; }
.adm-arq summary::-webkit-details-marker { display: none; }
.adm-arq ul { list-style: none; margin: 8px 0 0; padding: 0; }
.adm-arq li { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 8px 0; border-top: 1px dashed #CFE0F1; }
.adm-arq li small { display: block; color: var(--muted); font-size: 12px; } .adm-arq li em { font-style: normal; font-weight: 800; color: #0C447C; }
.adm-arq li span { display: flex; flex-direction: column; gap: 4px; flex: none; }

/* ===== 포트폴리오: 1년 기록표 (평소 접힘 = 작은 탭, 하루 평균 = 달력 날 수로 나눔) ===== */
.yrt { margin-top: 16px; }
.yrt > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--raise-s); font-weight: 700; font-size: 13.5px; color: var(--forest-d); }
.yrt > summary::-webkit-details-marker { display: none; }
.yrt > summary .yrt-ic { color: var(--forest); display: inline-flex; }
.yrt > summary small { display: none; }
.yrt > summary::after { content: "›"; font-size: 16px; line-height: 1; color: var(--muted); transition: transform .15s; }
.yrt[open] > summary { background: var(--forest); color: var(--bg); }
.yrt[open] > summary .yrt-ic, .yrt[open] > summary::after { color: var(--bg); }
.yrt[open] > summary::after { transform: rotate(90deg); }
.yrt[open] .yrt-body { margin-top: 10px; background: var(--card); box-shadow: var(--raise-s); border-radius: 18px; padding: 14px; }
.yrt-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.yrt-top b { font-size: 15px; }
.yrt-top button { border: 0; background: none; font-size: 18px; color: var(--muted); padding: 0 8px; cursor: pointer; }
.yrt-top button:disabled { opacity: .3; cursor: default; }
.yrt-q { display: flex; gap: 4px; margin-bottom: 10px; }
.yrt-q button { flex: 1; border: 0; border-radius: 999px; background: var(--soft); color: var(--muted); font: inherit; font-size: 12.5px; padding: 7px 0; cursor: pointer; }
.yrt-q button[aria-checked="true"] { background: var(--forest); color: var(--bg); font-weight: 700; }
.yrt table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 13.5px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.yrt th, .yrt td { padding: 9px 6px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.yrt th { background: var(--sage-l); color: var(--forest-d); font-weight: 700; text-align: center; }
.yrt th:first-child, .yrt td:first-child { text-align: left; width: 34%; background: var(--soft); white-space: normal; }
.yrt th:first-child { background: var(--sage-l); }
.yrt tr:last-child td { border-bottom: 0; color: var(--forest); font-weight: 800; background: var(--sage-l); }
.yrt td.fut { color: var(--muted); }
.yrt table.y4 { font-size: 12.5px; }
.yrt table.y4 th:first-child, .yrt table.y4 td:first-child { width: 27%; }
.yrt .yrt-empty { text-align: center !important; color: var(--muted); background: transparent !important; font-weight: 500 !important; padding: 18px 6px; }
@media (min-width: 900px) {
  .yrt[open] .yrt-body { padding: 16px 20px; }
  .yrt table { font-size: 15px; }
  .yrt th:first-child, .yrt td:first-child { width: 18%; }
  .yrt-q { max-width: 520px; }
  .yrt-q button { font-size: 13.5px; }
}

/* 책 고르기 (v242): 홈 한 줄 + 모음 화면, 같은 줄 모양 · 목록마다 자기 표시(배지) */
.lp-row { width: 100%; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 16px; background: var(--card); box-shadow: var(--raise-s); padding: 12px 14px; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.lp-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; }
.lp-ic .ico { width: 22px; height: 22px; background: none; padding: 0; margin: 0; color: currentColor; }
.lp-ic .lp-stroke { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.t-green { background: #E3EDE1; color: #2F5D3A; }
.t-navy { background: #E3E8F3; color: #1F3A6E; }
.t-gold { background: #F5EBD3; color: #8A6417; }
.t-teal { background: #DDEDEB; color: #2C6B66; }
.t-peach { background: #F7E3D8; color: #B95A26; }
.lp-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-tx b { font-size: 15.5px; display: flex; align-items: center; gap: 6px; }
.lp-tx small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.lp-go { margin-left: auto; font-size: 22px; color: var(--muted); }
.lists-home { margin: 18px 0 6px; padding: 14px 14px 14px 16px; }
.lp-bd { flex: none; width: 42px; height: 42px; display: grid; place-items: center; }
.lh-bs { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.lh-b { display: grid; place-items: center; }
.lh-bs + .lp-go { margin-left: 4px; }
.lp-row.soon { cursor: default; opacity: .55; box-shadow: none; border: 1.5px dashed rgba(0, 0, 0, .14); background: transparent; }
.lp-soon { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); background: rgba(0, 0, 0, .06); border-radius: 999px; padding: 2px 8px; }
.lp-title { display: flex; align-items: center; gap: 10px; }
.lists-sub { margin: 2px 0 6px; font-size: 13px; }
.lp-h { margin: 18px 0 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.lp-list { display: flex; flex-direction: column; gap: 8px; }

/* 책 정보 창 간단하게 (v243): 기록에 필요한 것만. 시리즈·주제·레벨·AR 찾기/적기는 책 페이지에서 */
#scanSheet #sBft, #scanSheet #sLv, #scanSheet #sSeries:not(.open), #scanSheet #sWendy, #scanSheet #sArEd, #scanSheet #sArFind, #scanSheet #sArCred, #scanSheet .ar-repf { display: none !important; }
#scanSheet .s-desc { -webkit-line-clamp: 2; }
#scanSheet .s-desc.open { -webkit-line-clamp: unset; }
.s-arno { display: block; margin: 6px 0 0; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--muted); text-align: left; cursor: pointer; }
.s-arno b { color: var(--forest, #2F4F3A); text-decoration: underline; text-underline-offset: 2px; }
.s-arno[hidden] { display: none; }
/* 뉴베리·미국 추천: 글자 없이 표시 하나만 */
#scanSheet .us-chip { padding: 0; border: 0; background: none; margin-top: 6px; }
#scanSheet .us-chip span { display: none; }
#scanSheet .us-chip:not([hidden]) { display: inline-flex; vertical-align: middle; }
#scanSheet .us-chip svg { width: 24px; height: 24px; }
/* v243: 책 정보 창 항목 줄 (웬디북처럼). 예전 띠·AR 줄은 숨기고 자료로만 써요 */
#scanSheet #sMid, #scanSheet #sAr, #scanSheet #sArNo, #scanSheet #sUs { display: none !important; }
.bi { display: grid; grid-template-columns: max-content 1fr; gap: 7px 14px; align-items: center; margin: 12px 0 6px; padding: 12px 14px; border-radius: 14px; background: var(--card); font-size: 14px; }
.bi[hidden] { display: none; }
.bi dt { color: var(--muted); font-weight: 600; font-size: 13px; }
.bi dd { margin: 0; color: var(--ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bi-ar { display: inline-block; background: #1F3A6E; color: #fff; border-radius: 999px; padding: 1px 10px; font-size: 13px; }
.bi-nu { border: 0; background: none; padding: 0; display: inline-flex; cursor: pointer; }
.bi-nu svg { width: 22px; height: 22px; }
.bi-tb { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #2F7A45; color: #fff; font-size: 11.5px; font-weight: 800; }
.sib-k { margin-right: 12px; display: inline-flex; align-items: center; gap: 5px; }
.sib-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #2F7A45; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }
.sib-n.fo { background: #C89B3C; }
.bi-und { color: var(--muted); font-weight: 700; }
.bi-find, .bi-put { display: inline-block; border: 1px solid #B3C5E6; border-radius: 999px; padding: 2px 10px; background: #DFE8F7; color: #1F3A6E; font: inherit; font-size: 12.5px; font-weight: 700; text-decoration: none; cursor: pointer; }
.bi-put { background: transparent; border-color: rgba(0, 0, 0, .15); color: var(--ink); }
.s-avg { display: flex; align-items: center; gap: 5px; margin: 4px 0 0; font-size: 13px; }
.s-avg[hidden] { display: none; }
.s-avg b { font-size: 13.5px; }
.s-avg small { color: var(--muted); }
/* v243: 읽는 중 → 진도 막대 */
.s-mine.prog { display: flex; align-items: center; gap: 10px; background: none; padding: 4px 2px; }
.sm-bar { flex: 1; height: 10px; border-radius: 999px; background: #E3E6DC; overflow: hidden; }
.sm-bar i { display: block; height: 100%; border-radius: 999px; background: #9DBE10; }
.sm-bar.fo i { background: #C89B3C; }
.sm-t { flex: none; font-size: 13px; font-weight: 600; color: var(--muted); }
.sm-t b { color: var(--ink); font-weight: 800; margin-right: 2px; }
/* v243: 〈시리즈〉 이름 줄 — 누르면 같은 시리즈 책이 펼쳐져요 */
.s-ser { display: block; margin: 2px 0 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.s-ser[hidden] { display: none; }
.s-ser b { font-weight: 700; color: var(--forest, #2F4F3A); text-decoration: underline; text-underline-offset: 3px; }
.s-ser .s-ser-go { display: inline-block; color: var(--muted); transition: transform .15s; }
.s-ser.on .s-ser-go { transform: rotate(90deg); }
/* v243: 상세보기도 책 정보 창과 같은 모양 */
#bookPage #bpBft, #bookPage #bpLv, #bookPage #bpAr, #bookPage #bpArEd, #bookPage #bpArFind { display: none !important; }
#bookPage #bpArRow:has(#bpArForm[hidden]) { display: none !important; }
#bookPage #bpSer:not([hidden]) { display: block; margin: 0 0 4px; padding: 0; background: none; font-size: 13.5px; color: var(--muted); cursor: pointer; }
#bookPage #bpSer b { color: var(--forest, #2F4F3A); text-decoration: underline; text-underline-offset: 3px; }
.bp-bi { margin: 10px 0 0; box-shadow: var(--raise-s); }
.bp-mine { margin: 10px 2px 0; }
.bp-mine .s-sib { margin: 6px 0 0; }
.bi-lk { border: 0; background: none; padding: 0; font: inherit; color: var(--forest, #2F4F3A); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#bookPage > .page-in > #bpArCred { margin: 14px 4px 0; justify-content: center; }
.bp-few { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 4px 0 0; font-size: 14px; }
.bp-few small { color: var(--muted); }
/* v243: AR 적기는 어디서나 같은 한 줄 */
#bookPage #bpArRow { display: none !important; }
.bi-edit { display: inline-flex; align-items: center; gap: 6px; }
.bi-in { width: 76px; font: inherit; font-size: 15px; text-align: center; padding: 5px 6px; border: 1px solid rgba(0, 0, 0, .15); border-radius: 10px; background: #fff; color: var(--ink); }
.bi-save { border: 0; border-radius: 999px; padding: 4px 12px; background: #1F3A6E; color: #fff; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.v-arshow { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.v-arshow[hidden], .v-ar[hidden] { display: none !important; }
/* 기록 화면 AR: 파란 상자·설명·웬디북·"AR만 저장" 없이 한 줄 */
#arRow { display: flex; flex-direction: row; text-align: left; align-items: center; gap: 10px; background: var(--card); border-radius: 14px; padding: 8px 14px; }
#arRow[hidden] { display: none; }
#arRow > span { color: var(--muted); font-weight: 600; font-size: 13px; width: 32px; flex: none; }
#arRow .ar-row { gap: 8px; }
#arRow .ar-row input { width: 86px; font-size: 16px; padding: 7px 6px; }
#arRow .ar-say, #arRow .r-wendy { display: none !important; }
#arRow .ar-find { border: 1px solid #B3C5E6; border-radius: 999px; padding: 4px 10px; background: #DFE8F7; color: #1F3A6E; font-size: 12.5px; font-weight: 700; text-decoration: none; }
/* 기록 보기 AR도 다른 줄처럼 (파란 바탕 없이) */
#vArT { background: none; color: var(--muted); font-weight: 600; padding: 0; margin: 0; }
#vArD { background: none; padding: 0; margin: 0; }
#vArD .v-ar input { width: 76px; font-size: 15px; padding: 5px 6px; }
#vArD .v-ar .ar-find { display: none; }
#vArD .v-ar #vArSave { border-radius: 999px; padding: 4px 12px; background: #1F3A6E; color: #fff; }
/* v244: 엄마(어른) 기록 — 아이 이름 줄에서 테두리만 */
.kid.adult, #momPage .kid.adult { background: transparent; color: var(--forest, #2F4F3A); box-shadow: inset 0 0 0 1.5px var(--forest, #2F4F3A); }
.kid.adult.on, #momPage .kid.adult.on { background: transparent; color: var(--forest, #2F4F3A); box-shadow: inset 0 0 0 2.5px var(--forest, #2F4F3A); }
.k-adult input[readonly] { background: transparent; box-shadow: inset 0 0 0 1.5px var(--forest, #2F4F3A); }
.adult-tag { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.kid.adult.on, #momPage .kid.adult.on { background: var(--sage-l, #DDE5D3); color: var(--forest-d, #1F3D27); box-shadow: inset 0 0 0 1.5px var(--forest, #2F4F3A); }
/* v244: 책 머리 — 제목 / 작가 / 출판사 · 쪽수 · 분류 / ★ 평균 별점 · 한줄평 */
#scanSheet #sTitle { font-size: 21px; }
#scanSheet #sAuthor { color: var(--ink); font-size: 15px; margin-top: 4px; }
#scanSheet #sPages { color: var(--muted); font-size: 13.5px; }
#scanSheet #sPages:empty { display: none; }
.s-avg, .bp-avg { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 0; }
.s-avg b, .bp-avg b { font-size: 20px; font-weight: 800; }
.s-avg small, .bp-avg small { color: var(--muted); font-size: 12.5px; }
.av-st { color: #F2A81D; font-size: 18px; }
.av-st.no { color: #D6D2C6; }
#bookPage .bp-info h3 { font-size: 21px; }
#bookPage #bpMeta { color: var(--muted); }
#bookPage #bpMeta .bp-au { color: var(--ink); font-size: 15px; }
/* v244: 자녀 관리 줄 맞추기 — 칸 높이 44px로 똑같이 (친구 찾기 학년표 .grade-pick 모양이 섞여 들어오던 것 막기) */
.kid-list select.grade-pick { display: block; margin: 0; padding: 0 8px; height: 44px; border-radius: 12px; box-shadow: var(--inset); background: var(--card); }
.kid-list li > .sub-input { height: 44px; box-sizing: border-box; }
.kid-list .x { height: 44px; min-width: 44px; border-radius: 12px; }
/* v244: 카테고리 보이기·숨기기 — 눈 대신 작은 스위치 */
.cat-list li { grid-template-columns: 46px 1fr 36px 36px 46px 36px; }
.cat-list button.sw-btn { background: none !important; box-shadow: none !important; min-width: 46px; padding: 0; display: flex; align-items: center; justify-content: center; }
.sw { position: relative; width: 40px; height: 24px; border-radius: 999px; background: #D9D5CB; transition: background .15s; }
.sw i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: left .15s; }
.sw.on { background: #9FBF8F; }
.sw.on i { left: 19px; }
/* v245: 카테고리 끌어서 옮기기 */
.cat-list li, .cat-head { grid-template-columns: 46px 1fr auto 44px !important; }
.cat-list .dh { display: grid; place-items: center; width: 44px; height: 44px; font-size: 22px; color: var(--muted); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.cat-list li.dragging { position: relative; z-index: 2; border-radius: 14px; background: var(--card); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
body.cat-dragging { user-select: none; -webkit-user-select: none; }
.c-only { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.cat-off { margin: 14px 0 6px; padding: 12px; border-radius: 16px; border: 1.5px dashed rgba(0, 0, 0, .16); }
.cat-off > b { display: block; font-size: 14px; }
.cat-off > small { display: block; margin: 2px 0 8px; font-size: 12px; color: var(--muted); }
.cat-off #cOff { min-height: 44px; }
.cat-off #cOff li .ic-btn, .cat-off #cOff li .nm-in { opacity: .55; }
/* v245: 새 카테고리 기록 방식 버튼 — 동그라미 기호와 글자 한 줄로 */
#cNewKind button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
#cNewKind .ico { vertical-align: 0; margin: 0; flex: none; }

/* v245: 카카오 · 구글로 시작하기 */
.sns { display: flex; flex-direction: column; gap: 8px; }
.sns-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; border-radius: 14px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.sns-btn svg { width: 22px; height: 22px; flex: none; }
.sns-btn.kakao { background: #FEE500; color: #191600; border: 0; }
.sns-btn.google { background: #fff; color: #1F1F1F; border: 1px solid #D5D2C8; }
.sns-btn:disabled { opacity: .6; }
.sns-or { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-size: 12.5px; color: #7A8A7C; }
.sns-or::before, .sns-or::after { content: ""; flex: 1; height: 1px; background: #D9D4C6; }
.auth-priv { align-self: center; font-size: 12.5px; color: #7A8A7C; text-decoration: underline; }
/* v246: 카카오 계정 연결 */
.set-row .si.kko { background: #FEE500 !important; border-radius: 12px; width: 38px; height: 38px; display: grid; place-items: center; }
.set-row .si.kko svg { width: 22px; height: 22px; }
#setKakao { grid-template-columns: 40px 1fr auto; }
.kko-go { font-size: 13px; font-weight: 700; color: #6B5B00; white-space: nowrap; }
#setKakao.done .kko-go { color: #2F5D3A; font-size: 16px; }
.sns-tip { margin: 2px 2px 0; font-size: 12.5px; line-height: 1.5; color: #6A7A6C; text-align: center; }
.sns-tip b { color: #2F5D3A; }
/* v247: 남의 집 — 고른 탭은 홈 아래 탭처럼 분홍 바탕 · 빨간 글자 */
.bl-tabs button.on { background: #F6E9E4; color: #E5484D; font-weight: 700; box-shadow: none; }
.bl-tabs button.on .ico { stroke-width: 2.4; }
/* 책장 칸 */
.nb-mood { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 14px; padding: 12px 14px; border-radius: 16px; background: #EEF3E8; }
.nb-mood b { font-size: 15px; color: #2F5D3A; }
.nb-mood small { font-size: 12.5px; color: #6A7A6C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-sec { margin: 0 0 14px; }
.nb-h { margin: 0 0 8px; font-size: 15px; }
.nb-sec .shelf-title { margin: 0 0 8px; }
.nb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
.nb-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nb-bk { display: flex; flex-direction: column; gap: 4px; min-width: 0; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; font: inherit; }
.nb-bk .nb-cv { width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .14); background: #EDE6D6; display: block; }
.nb-bk div.nb-cv { display: grid; place-items: center; padding: 6px; font-size: 11px; color: #6A6A5A; text-align: center; overflow: hidden; }
.nb-bk b { font-size: 12px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-st .stars, .nb-st svg { transform: scale(.82); transform-origin: left center; }
.nb-notes { margin-top: 10px; border-radius: 14px; background: var(--card, #FBF8F2); padding: 0 14px; box-shadow: var(--raise-s); }
.nb-notes summary { list-style: none; cursor: pointer; padding: 12px 0; font-size: 14px; font-weight: 700; color: #2F5D3A; }
.nb-notes summary::-webkit-details-marker { display: none; }
.nb-notes summary::after { content: " ▾"; color: #8A9A8C; }
.nb-notes[open] summary::after { content: " ▴"; }
.nb-notes ul { list-style: none; margin: 0; padding: 0 0 10px; }
.nb-notes li { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid #ECE5D5; font-size: 13.5px; }
.nb-notes li b { font-size: 12.5px; color: #6A7A6C; font-weight: 600; }
/* 포트폴리오: 1년 기록표 접힌 탭 */
.yt-fold { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 14px; padding: 13px 16px; border: 0; border-radius: 14px; background: var(--card, #FBF8F2); box-shadow: var(--raise-s); font: inherit; font-size: 14.5px; font-weight: 700; color: #2F5D3A; cursor: pointer; }
.yt-fold i { font-style: normal; color: #8A9A8C; }
@media (min-width: 900px) { .nb-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } .nb-grid.three { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* v247: 요즘 한줄평 (2개 보이고 나머지는 더 보기) */
.nb-say { border-radius: 16px; background: var(--card, #FBF8F2); box-shadow: var(--raise-s); padding: 12px 14px 4px; }
.nb-say .nb-h { margin: 0 0 4px; color: #2F5D3A; }
.nb-say ul { list-style: none; margin: 0; padding: 0; }
.nb-say li + li, .nb-more ul li { border-top: 1px solid #ECE5D5; }
.nb-nt { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; width: 100%; border: 0; background: none; padding: 10px 0; text-align: left; font: inherit; cursor: pointer; }
.nb-nt b { font-size: 12.5px; color: #6A7A6C; font-weight: 600; }
.nb-nt > span:last-child { flex-basis: 100%; font-size: 14px; line-height: 1.5; color: #24302A; }
.nb-more { border-top: 1px solid #ECE5D5; }
.nb-more summary { list-style: none; cursor: pointer; padding: 11px 0; font-size: 13.5px; font-weight: 700; color: #2F5D3A; text-align: center; }
.nb-more summary::-webkit-details-marker { display: none; }
.nb-more summary small { color: #8A9A8C; font-weight: 600; margin-left: 2px; }
.nb-more summary::after { content: " ▾"; color: #8A9A8C; }
.nb-more[open] summary::after { content: " ▴"; }
.nb-more[open] summary { border-bottom: 1px solid #ECE5D5; }
/* v249: 표지가 끝내 안 열리면 깨진 그림 대신 빈 칸 */
img.cv-broken { background: var(--soft, #EDE6D6); }
/* v250: 읽은 횟수는 어디서나 숫자 동그라미 (형제 표시와 같은 모양) */
.rd-n { position: absolute; left: 6px; bottom: 8px; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); border: 1.5px solid #fff; }
.v-times .sib-n { margin-right: 6px; }
.nb-cvw { position: relative; display: block; }
.nb-cvw .rd-n { left: 4px; bottom: 4px; }
/* 남의 집 한줄평 + 하트 */
.nb-say li { display: flex; align-items: flex-start; gap: 6px; }
.nb-say li .nb-nt { flex: 1; min-width: 0; }
.nb-say li .nh { margin-top: 10px; }
/* v250: 읽은 횟수 동그라미 = 책장 색 */
.sib-n.ko { background: #2F6B3E; }
.sib-n.en { background: #3E7F77; }
.sib-n.fo { background: #B8892E; }
.bi-wendy { background: #FAEEDA; border-color: #E8C98F; color: #854F0B; }
/* v252: 기록 화면 AR 줄 — 연필 그림이 "예: 2.6" 글자와 겹쳐서 빼고, 웬디북을 AR 찾기 옆에 */
#arRow .ar-row input { background-image: none; padding: 7px 6px; }
#rWendy[hidden] { display: none; }
#arRow .ar-find.bi-wendy { background: #FAEEDA; border-color: #E8C98F; color: #854F0B; }
/* v252: AR만 따로 저장 — 숫자를 적으면 "저장" 버튼이 나와요 (기록하기 안 눌러도) */
#arRow #rArSave { border: 0; border-radius: 999px; padding: 6px 14px; min-height: 0; background: #1F3A6E; color: #fff; font-size: 13px; font-weight: 700; box-shadow: none; }
#arRow .ar-row input:placeholder-shown + #rArSave { display: none; }
#arRow .ar-row input:not(:placeholder-shown) ~ #rWendy { display: none; }
.ico[data-n="share"] { --pt: var(--p-pk); } /* v255: 친구에게 알리기 */
/* v255: 남의 집 책장 칸 — 스탬프 두 칸 */
.nb-stamps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 14px; }
.nb-stp { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 14px; padding: 8px 10px; }
.nb-stp .nb-fr { width: 48px; height: 48px; flex: none; margin: -6px 0; }
.nb-stp span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.nb-stp small { font-size: 11.5px; color: var(--muted); }
.nb-stp b { font-size: 18px; }
.nb-stp b i { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 500; }
/* v255: 남의 집 화면 닫기 → 색 있는 "← 돌아가기" 알약 */
.x-btn.back-pill { width: auto; height: 34px; padding: 0 14px 0 11px; border-radius: 999px; background: #E1EEF9; color: #2C5F8A; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; box-shadow: none; border: 1px solid #BFD8EF; }
/* v256: 댓글 하트 — 답글 단추 바로 왼쪽 */
.ch.nh { margin-left: auto; padding-right: 4px; }
.ch.nh + .re-btn { margin-left: 4px !important; }

/* 한 달치 PDF 받기 */
#pdfDialog .seg { margin: 4px 0 10px; }
.pdf-tip { font-size: 13px; line-height: 1.5; margin: 4px 0 12px; }
#pdfView { padding: 0; }
#pdfView .pdf-in { display: flex; flex-direction: column; height: 100%; max-width: 820px; margin: 0 auto; padding-top: env(safe-area-inset-top); }
#pdfView .page-top { padding: 10px 14px; }
#pdfFrame { flex: 1; width: 100%; border: 0; background: #fff; border-radius: 12px 12px 0 0; }

/* 블로그: 휴대폰은 방명록 → 바나나그램(점선) → 블로그 카테고리(밑줄 탭 한 줄) → 글 */
.cs-pc { display: none; }
.bg-pc { display: none; }
.bg-m .bg-box { margin: 18px 0 6px; }
.bl-catsec { margin-top: 20px; }
.bl-cats-w { display: flex; align-items: stretch; border-bottom: 1.5px solid var(--line); margin: 2px -18px 0; padding-left: 18px; }
.bl-catsec .bl-cats { flex: 1; min-width: 0; flex-wrap: nowrap; gap: 20px; overflow-x: auto; scrollbar-width: none; padding-right: 12px; -webkit-mask: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.bl-catsec .bl-cats button { max-width: 10em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-more { flex: none; width: 44px; border: 0; background: none; color: var(--forest); display: grid; place-items: center; cursor: pointer; }
.cat-more .ico { width: 20px; height: 20px; transition: transform .2s; }
.bl-cats-w.open .bl-cats { flex-wrap: wrap; gap: 0 18px; -webkit-mask: none; mask: none; }
.bl-cats-w.open .bl-cats button { max-width: none; }
.bl-cats-w.open .cat-more { align-items: start; padding-top: 10px; }
.bl-cats-w.open .cat-more .ico { transform: rotate(180deg); }
/* 휴대폰 바나나그램: 제목은 밖에, 점선 안에는 사진 한 줄만 */
.bg-m .bg-box { border: 0; padding: 0; margin: 18px 0 4px; }
.bg-m .bg-box .sn-head { margin: 0 0 8px; }
.bg-m .bg-row, .bg-m .sn-empty { border: 2px dashed #E8B923; border-radius: 16px; padding: 8px; }
.bg-m .bg-sq { width: 84px; height: 84px; border-radius: 10px; }
.bl-catsec .bl-cats::-webkit-scrollbar { display: none; }
.bl-catsec .bl-cats button { flex: none; background: none; box-shadow: none; border-radius: 0; padding: 9px 0 11px; font-size: 15px; font-weight: 600; color: var(--muted); }
.bl-catsec .bl-cats button small { font-size: 12px; }
.bl-catsec .bl-cats button.on { background: none; color: var(--forest-d, #1F3D27); font-weight: 800; box-shadow: inset 0 -3px 0 var(--forest); }
.bl-catsec .bl-cats button.on small { color: var(--muted); }
@media (min-width: 1000px) {
  .cs-pc { display: inline; } .cs-m { display: none; }
  .bg-m { display: none; } .bg-pc { display: block; }
  .bl-catsec { margin-top: 0; }
  .bl-cats-w { display: block; border: 0; margin: 0; padding: 0; }
  .cat-more { display: none; }
  .bl-catsec .bl-cats { flex-wrap: nowrap; overflow: visible; border: 0; margin: 0; padding: 0; gap: 2px; -webkit-mask: none; mask: none; }
  .bl-catsec .bl-cats button { max-width: none; white-space: normal; }
  .bl-catsec .bl-cats button { padding: 9px 10px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--ink); }
  .bl-catsec .bl-cats button.on { background: var(--forest); color: #F3EFE6; box-shadow: none; }
  .bl-catsec .bl-cats button.on small { color: var(--sage-l); }
}
/* 바나나그램 제목 옆 카메라 단추: 작게 */
.bg-blog .sn-plus { width: 24px; height: 24px; }
.bg-blog .sn-plus .ico { width: 13px; height: 13px; }
/* 컴퓨터 바나나그램도 제목은 점선 밖, 사진만 점선 안 */
@media (min-width: 1000px) {
  .bg-pc .bg-box { border: 0; padding: 0; }
  .bg-pc .bg-box .sn-head { margin: 0 0 10px; }
  .bg-pc .bg-row, .bg-pc .sn-empty { border: 2px dashed #E8B923; border-radius: 16px; padding: 10px; }
}

/* 책 페이지: 책 소개 아래 🕰 시대 배경 (책 소개 카드에 이어 붙임) */
#bpDescBox:not([hidden]) + .era-box:not([hidden]) { margin-top: -12px; border-top-left-radius: 0; border-top-right-radius: 0; padding-top: 0; }
#bpDescBox:not([hidden]) + .era-box:not([hidden])::before { content: ""; display: block; border-top: 1px dashed var(--line); margin: 0 0 12px; }
#bpDescBox:not([hidden]):has(+ .era-box:not([hidden])) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 12px; }
.era-h { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 6px; }
.era-h b { font-size: 14.5px; color: var(--forest-d, #1F3D27); }
.era-t { font-size: 12px; font-weight: 800; color: #fff; border-radius: 999px; padding: 3px 9px; }
.era-w { font-size: 12.5px; color: var(--muted); }
.era-p { font-size: 14px; line-height: 1.6; color: var(--ink); margin: 4px 0 8px; }
.era-i { font-size: 12.5px; line-height: 1.55; color: var(--muted); background: var(--bg); border-radius: 10px; padding: 8px 10px; margin: 0 0 8px; }
.era-i b { color: var(--ink); margin-right: 4px; }
.era-lk { border: 0; background: none; padding: 2px 0; font: inherit; font-size: 13.5px; font-weight: 800; color: var(--forest); cursor: pointer; }
.era-tw { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 12px; padding: 9px 12px 9px 10px; margin-top: 10px; background: #E1EEF9; color: #1E2420; font: inherit; text-align: left; cursor: pointer; }
.era-tw.ko { background: #F7E3A0; }
.era-tw small { display: block; font-size: 12px; color: #2C5F8A; }
.era-tw.ko small { color: #5a3d00; }
.era-tw b { display: block; font-size: 14px; }
.era-tw em { font-style: normal; font-weight: 800; color: #2C5F8A; }
.era-tw.ko em { color: #5a3d00; }
.era-tw.loading { opacity: .6; }
.era-c2 { width: 34px; height: 48px; border-radius: 5px; flex: none; overflow: hidden; position: relative; }
.era-c2 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.era-tw .grow { flex: 1; min-width: 0; }

/* 바나나그램 사진 넘기기: 컴퓨터(마우스)에서 양옆 화살표 */
.sg-nav { position: absolute; top: calc(50% - 32px); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .88); color: #1E2420; font-size: 26px; line-height: 1; display: none; place-items: center; padding: 0 0 3px; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.sg-prev { left: 10px; } .sg-next { right: 10px; }
.sg-dots i { cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .sg-nav { display: grid; } .sg-nav[hidden] { display: none; } }

/* v268: 이메일로도 로그인하기 */
.ml-lead { font-size: 14px; line-height: 1.6; margin: 0 0 10px; }
.ml-pic { background: var(--bg); border-radius: 14px; padding: 12px; margin: 0 0 14px; text-align: center; }
.ml-ways { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ml-ways span { font-size: 13px; font-weight: 700; border-radius: 10px; padding: 8px 10px; }
.ml-k { background: #FEE500; color: #191600; }
.ml-e { background: #E1EEF9; color: #2C5F8A; }
.ml-arrow { font-size: 12px; color: var(--muted); margin: 8px 0; }
.ml-home { display: inline-flex; flex-direction: column; align-items: center; background: var(--card, #FBF9F4); border: 1.5px solid var(--forest); border-radius: 14px; padding: 8px 18px; font-weight: 800; color: var(--forest); font-size: 15px; }
.ml-home small { font-weight: 600; font-size: 12px; color: var(--muted); margin-top: 2px; }
.ml-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 2px 0 10px; }

/* v270: 판본·원서 줄 — 이름표는 왼쪽에 두고 넘치는 판본은 첫 판본 아래로 줄 맞춰 내려감 */
.ct-hang { display: flex; gap: 4px; align-items: baseline; }
.ct-hk { flex: none; }
.ct-hv { display: flex; flex-wrap: wrap; column-gap: 10px; row-gap: 2px; min-width: 0; flex: 1; }
.ct-hv1 { min-width: 0; }
.ct-hang .nw { white-space: nowrap; }
.ct-hang .ct-hv1 b { white-space: normal; overflow-wrap: anywhere; }

/* v272: 게시판 글 찾기 · 목록으로 버튼 */
.bh-btns { display: flex; gap: 8px; }
.b-find { position: relative; margin: 2px 0 4px; }
.b-find input { width: 100%; font-size: 16px; padding-right: 44px; }
.b-find-x { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer; }
.to-list { align-self: center; min-width: 180px; margin-top: 8px; background: var(--card); box-shadow: var(--raise-s); border-radius: 999px; padding: 12px 22px; font-weight: 700; }

/* v274: 관리자 회원 목록 가입 방법 표시 */
.tag.via.kakao { background: #FEE500; color: #3C1E1E; } .tag.via.mail { background: #E6F1FB; color: #0C447C; } .tag.via.both { background: #EEEDFE; color: #3C3489; }
