/* =========================================================
   핑크젤리 — design tokens & shared components
   Palette is named after Korean cat-coat vernacular:
   턱시도(ink) · 고등어(slate) · 치즈(orange) · 햇살(sun) on a 맑은 하늘(clear-sky) ground.
   Signature: the paw stamp (--paw) marks every recorded day.
   ========================================================= */
:root {
  /* coat palette — names kept (every component reads them); values are the soft "다꾸 노트" set */
  /* 2026-10-20 "젤리 팝" (A안): candy-pink jelly by default. Names kept, values changed. */
  --tuxedo: #5A2E3E;      /* ink: plum cocoa, never pure black */
  --mackerel: #85606C;    /* secondary ink */
  --cheese: #FF9EBE;      /* primary: jelly pink (핑크젤리) — dark text on it stays AA */
  --cheese-deep: #C2386B; /* pink text on light surfaces (AA) */
  --sun: #FFE1EB;         /* selected / highlighted */
  --sky: #FFF0F5;         /* page ground: strawberry milk (each theme tints its own) */
  --blush: #FFC9DA;       /* second accent: stickers, tape, soft fills */
  --lilac: #E7DDF7;

  /* surface */
  --bg: var(--sky);
  --bg-2: #FFE0EB;
  --surface: #FFFFFF;
  --surface-2: #FFF4F8;
  --line: #F9DCE6;

  /* text */
  --text: var(--tuxedo);
  --text-2: #7A4F5D;
  --text-3: #8E6B77;

  /* brand (kept as aliases so every component follows the palette) */
  --primary: var(--cheese);
  --primary-2: #FFC8DA;
  --primary-ink: var(--cheese-deep);
  --primary-soft: #FFE9F0;

  /* status */
  --good: #3D8B6A;
  --normal: var(--mackerel);
  --ok: #8A6A3E;

  /* status icon backgrounds (pastel sticker colours) */
  --c-mood: #FFF1C9;
  --c-food: #FFE2D3;
  --c-water: #DDEBFA;
  --c-poop: #F1E6DC;
  --c-play: #DCF1E5;
  --c-purple: #ECE4FA;

  /* chart */
  --chart-green: var(--cheese-deep);   /* single-series lines follow the theme */
  --chart-blue: #6C8FD6;
  --chart-pink: var(--cheese);

  --radius-xl: 28px;   /* hero photo */
  --radius-lg: 28px;   /* sheets */
  --radius: 18px;
  --radius-sm: 14px;   /* controls */
  --shadow: 0 14px 36px rgba(200, 70, 120, .18);         /* floating things: dialogs, toast */
  --shadow-soft: 0 8px 22px rgba(255, 111, 159, .12);   /* cards rest on the paper */
  /* jelly: glossy highlight on top, a soft rim at the bottom — buttons, chips, check icons */
  --jelly: linear-gradient(180deg, var(--primary-2), var(--cheese));
  --jelly-shadow: inset 0 -5px 0 rgba(90, 20, 50, .08), inset 0 3px 0 rgba(255,255,255,.55), 0 8px 18px color-mix(in srgb, var(--cheese) 42%, transparent);
  --shadow-sm: none;

  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  --font-brand: 'Jua', 'Gowun Dodum', var(--font);   /* titles, buttons: round and bouncy (A안) */
  --font-hand: 'Gaegu', cursive;              /* the owner's own words */
  --font-serif: 'Gowun Batang', 'Nanum Myeongjo', serif;   /* photobook: the magazine voice */

  /* paw print used as a mask: background-color decides the ink */
  --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2 0 64 64'%3E%3Cellipse cx='14' cy='24' rx='6.5' ry='8.5' transform='rotate(-18 14 24)'/%3E%3Cellipse cx='27' cy='13' rx='6.5' ry='9'/%3E%3Cellipse cx='41' cy='13' rx='6.5' ry='9'/%3E%3Cellipse cx='54' cy='24' rx='6.5' ry='8.5' transform='rotate(18 54 24)'/%3E%3Cpath d='M34 31c-10 0-19 10-19 18 0 6 5 10 11 9 3-.6 5-2 8-2s5 1.4 8 2c6 1 11-3 11-9 0-8-9-18-19-18z'/%3E%3C/svg%3E");
  /* washi tape: soft stripes, semi-transparent like paper tape */
  --tape: repeating-linear-gradient(135deg, rgba(255,255,255,.55) 0 6px, transparent 6px 12px);
}

/* colour themes (계정 설정 → 화면 색). Accent stays light enough for dark button text (AA). */
/* 코리안 숏헤어: apricot on a warm cream page — clearly not pink */
[data-theme="apricot"]    { --cheese: #F6A26B; --cheese-deep: #B5532A; --sun: #FFE7B8; --primary-soft: #FFEEDD; --primary-2: #FAC79A; --sky: #FFF7EC; --bg-2: #FCE8D2; --blush: #FBDDBF;
  --tuxedo: #4B3A3A; --line: #F1E0CC; --text-2: #6B5548; --text-3: #85705F; --surface-2: #FDF4E8; }
[data-theme="mackerel"]   { --cheese: #8DB8EA; --cheese-deep: #2F67A8; --sun: #D9E8FA; --primary-soft: #E9F2FD; --primary-2: #B5D1F2; --sky: #F2F6FC; --bg-2: #DFE9F6; --blush: #CFE0F6; }
[data-theme="mint"]       { --cheese: #6FCBAE; --cheese-deep: #1D7A60; --sun: #D2F1E5; --primary-soft: #E4F6EF; --primary-2: #9EDCC8; --sky: #F1F8F4; --bg-2: #DAEFE6; --blush: #CDEDE1; }
[data-theme="lavender"]   { --cheese: #B6A6F2; --cheese-deep: #5844B5; --sun: #E7E1FC; --primary-soft: #F1EDFD; --primary-2: #D0C6F7; --sky: #F6F3FC; --bg-2: #E7E1F6; --blush: #E2D9FA; }
[data-theme="strawberry"] { --cheese: #F598AB; --cheese-deep: #B03653; --sun: #FCDDE4; --primary-soft: #FDEEF1; --primary-2: #F9BECA; --sky: #FFF3F5; --bg-2: #F8DFE5; --blush: #FAD0DA; }
[data-theme="tuxedo"]     { --cheese: #4B4552; --cheese-deep: #352F3B; --sun: #E9E4EC; --primary-soft: #F2EFF4; --primary-2: #A49CAB; --sky: #F6F4F6; --bg-2: #E7E3E8; --blush: #E5DFE7; }
/* non-pink themes: neutral ink and their own tinted lines, so no pink is left over from the default */
[data-theme="mackerel"], [data-theme="mint"], [data-theme="lavender"], [data-theme="tuxedo"] {
  --tuxedo: #3F3B47; --text-2: #5E5A68; --text-3: #777283;
  --line: color-mix(in srgb, var(--cheese) 24%, #fff); --surface-2: color-mix(in srgb, var(--cheese) 8%, #fff); }
[data-theme="tuxedo"] .btn-primary { color: #fff; }
[data-theme="tuxedo"] .mic-btn.on { color: #fff; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; word-break: keep-all; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg.lucide { width: 18px; height: 18px; stroke-width: 1.9; }
body { background-image: radial-gradient(color-mix(in srgb, var(--cheese) 22%, transparent) 1px, transparent 1.4px); background-size: 22px 22px; background-attachment: fixed; }
:focus-visible { outline: 2px solid var(--cheese-deep); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3, .page-title, .card-title { font-family: var(--font-brand); font-weight: 400; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- paw stamp ---------- */
.paw-mark { display: inline-block; width: 1em; height: 1em; background: currentColor;
  -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-brand); font-weight: 400; font-size: 23px; color: var(--text); letter-spacing: -.4px; }
.brand .paw { display: none; }
/* logo: a sun-yellow disc with a tuxedo paw — "맑음" + cat */
.brand-cat { position: relative; width: 32px; height: 32px; border-radius: 50% 50% 46% 54% / 55% 52% 48% 45%; background: var(--blush); font-size: 0; flex-shrink: 0; transform: rotate(-8deg); }
.brand-cat::after { content: ''; position: absolute; inset: 7px; background: var(--cheese-deep);
  -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; }

.hand { font-family: var(--font-hand); color: var(--text-2); line-height: 1.45; }

/* ---------- card (a sheet of the care notebook) ---------- */
.card { background: var(--surface); border-radius: var(--radius-lg); border: 0; padding: 22px; box-shadow: var(--shadow-soft); }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-title { font-size: 20px; letter-spacing: -.2px; display: inline-flex; align-items: center; gap: 8px; }
/* a tiny paw sticker before every sheet title */
.card-title::before { content: ''; width: 15px; height: 15px; flex-shrink: 0; background: var(--cheese); opacity: .85; transform: rotate(-14deg);
  -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; }
.card-meta { font-size: 12px; color: var(--text-3); }
.link-more { font-size: 13px; color: var(--text-2); display: inline-flex; align-items: center; gap: 2px; }
.link-more:hover { color: var(--text); }
.link-more svg.lucide { width: 14px; height: 14px; }

/* ---------- buttons ---------- */
.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
  height: 50px; border-radius: 999px; color: var(--tuxedo); font-weight: 700; font-size: 15px;
  background: var(--jelly); box-shadow: var(--jelly-shadow); transition: transform .12s, filter .15s;
  font-family: var(--font-brand); font-weight: 400; font-size: 17px; position: relative;
}
.btn-primary::after { content: ''; position: absolute; top: 7px; left: 22px; width: 26px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.6); transform: rotate(-8deg); pointer-events: none; }
.btn-primary:hover { filter: brightness(1.03); }
.btn-primary:active { transform: scale(.95); }
.btn-primary svg.lucide { width: 17px; height: 17px; stroke-width: 2.2; }
.btn-primary.sm { width: auto; height: 40px; padding: 0 18px; font-size: 15px; border-radius: 999px; }
.btn-primary.sm::after { top: 6px; left: 14px; width: 18px; height: 6px; }
.btn-ghost-light {
  display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 14px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--text); font-size: 12px; font-weight: 600;
}
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--text); }
.icon-btn:hover { background: var(--surface-2); }

/* ---------- photo placeholder ---------- */
.photo { position: relative; overflow: hidden; background: var(--bg-2); }
.photo::before { content: ''; position: absolute; inset: 30%; background: var(--primary-2); opacity: .7;
  -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* ---------- status ---------- */
.status-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; text-align: center; }
.status-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.status-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; }
.status-label { font-size: 12px; color: var(--text-2); }
.status-value { font-size: 12px; font-weight: 700; }
.v-good { color: var(--good); } .v-normal { color: var(--normal); } .v-ok { color: var(--ok); }
.bg-mood { background: var(--c-mood); } .bg-food { background: var(--c-food); } .bg-water { background: var(--c-water); }
.bg-poop { background: var(--c-poop); } .bg-play { background: var(--c-play); } .bg-purple { background: var(--c-purple); }

/* ---------- sidebar (tablet / desktop): the program's dark spine ---------- */
.sidebar { width: 200px; flex-shrink: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--blush) 55%, #fff) 0%, color-mix(in srgb, var(--sky) 80%, #fff) 100%);
  color: var(--text-2); padding: 26px 14px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.sidebar .brand { padding: 0 8px; margin-bottom: 30px; color: var(--text); }
.nav { display: flex; flex-direction: column; gap: 2px; }
/* menu words in the soft rounded title face; Gowun Dodum has a single weight, so "chosen" is colour + size, never faux bold */
.nav-item { position: relative; display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; border-radius: 999px;
  font-family: var(--font-brand); font-size: 17px; letter-spacing: -.2px; color: var(--text-2); }
.nav-item:hover { background: rgba(255,255,255,.6); color: var(--text); }
.nav-item.active { background: var(--jelly); color: var(--tuxedo); font-size: 18px; box-shadow: var(--jelly-shadow); }
.nav-item.active svg.lucide { color: var(--tuxedo); }
.sidebar-foot { margin-top: auto; text-align: left; padding: 16px 8px; }
.sidebar-foot .cat-doodle { display: none; }
.sidebar-foot .hand { font-size: 19px; font-weight: 700; line-height: 1.4; color: var(--text-2); }

/* ---------- list rows ---------- */
.row { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.row + .row { border-top: 1px solid var(--line); }
.row-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.row-body { flex: 1; min-width: 0; }
.row-title { font-size: 14px; font-weight: 600; }
.row-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.row-meta { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 4px; }
.row-meta svg.lucide { width: 14px; height: 14px; }

/* ---------- sparkline ---------- */
.spark { width: 100%; height: 22px; display: block; }

/* ---------- utilities ---------- */
.muted { color: var(--text-3); }
.heart-pink { color: var(--primary); }

/* hero photos: keep the cat's face in frame */
.m-hero > img, .t-hero > img { object-position: 70% 40%; }

/* small line icon inside running text (e.g. the mic in "… 버튼을 누르면") */
.ic-inline { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -0.16em; }

/* ---------- 다꾸 details: washi tape + polaroid frames for photos ---------- */
.tape { position: relative; overflow: visible !important; }
.tape > img { border-radius: inherit; }
/* a strip of washi tape across the top edge: translucent theme paper, tiny dots, torn (zigzag) ends */
.tape::after { content: ''; position: absolute; z-index: 4; top: -13px; left: 50%; width: 110px; height: 30px; margin-left: -55px; pointer-events: none;
  background: radial-gradient(rgba(255,255,255,.75) 1.1px, transparent 1.7px) 0 0 / 9px 9px, color-mix(in srgb, var(--blush) 72%, transparent);
  transform: rotate(-3deg); opacity: .95;
  clip-path: polygon(0 0, 100% 0, 96% 16%, 100% 33%, 96% 50%, 100% 67%, 96% 84%, 100% 100%, 0 100%, 4% 84%, 0 67%, 4% 50%, 0 33%, 4% 16%); }
.tape.tape-b::after { background: radial-gradient(rgba(255,255,255,.75) 1.1px, transparent 1.7px) 0 0 / 9px 9px, color-mix(in srgb, var(--sun) 80%, transparent); transform: rotate(4deg); }
.polaroid { background: #fff; padding: 8px 8px 26px; border-radius: 6px; box-shadow: 0 8px 22px rgba(140, 80, 70, .14); }

/* ---------- cat stickers (assets/stickers/*.svg, drawn for 핑크젤리) ----------
   A white die-cut edge + soft shadow makes any of them read as a sticker on the page. */
:root { --stk-edge: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 6px 8px rgba(140, 80, 70, .18));
  /* default set; signed-in pages swap these for the current cat's character (js/stickers.js applyCatLook) */
  --stk-sit: url(/assets/stickers/sit.svg); --stk-sleep: url(/assets/stickers/sleep.svg); --stk-peek: url(/assets/stickers/peek.svg);
  --stk-loaf: url(/assets/stickers/loaf.svg); --stk-box: url(/assets/stickers/box.svg);
  --stk-stretch: url(/assets/stickers/stretch.svg); --stk-roll: url(/assets/stickers/roll.svg); --stk-play: url(/assets/stickers/play.svg);
  --stk-meal: url(/assets/stickers/meal.svg); }
.stk { display: block; flex-shrink: 0; background: center / contain no-repeat; pointer-events: none; filter: var(--stk-edge); }
.stk-sit { background-image: var(--stk-sit); aspect-ratio: 120 / 132; }
.stk-sleep { background-image: var(--stk-sleep); aspect-ratio: 150 / 104; }
.stk-peek { background-image: var(--stk-peek); aspect-ratio: 120 / 74; }
.stk-loaf { background-image: var(--stk-loaf); aspect-ratio: 130 / 100; }
.stk-box { background-image: var(--stk-box); aspect-ratio: 120 / 112; }
.stk-yarn { background-image: url(/assets/stickers/yarn.svg); aspect-ratio: 120 / 100; }
.stk-stretch { background-image: var(--stk-stretch); aspect-ratio: 160 / 104; }
.stk-roll { background-image: var(--stk-roll); aspect-ratio: 158 / 100; }
.stk-play { background-image: var(--stk-play); aspect-ratio: 140 / 152; }
.stk-meal { background-image: var(--stk-meal); aspect-ratio: 150 / 104; }
/* stickers float a little, each on its own beat (the cats inside also blink, twitch and wag; see js/stickers.js) */
/* motion is sideways only (rocking and swaying) — nothing bobs up and down, which can make people feel queasy */
@keyframes stk-float { 0%, 100% { rotate: -5deg; } 50% { rotate: 5deg; } }
@keyframes stk-peekaboo { 0%, 100% { rotate: -6deg; } 50% { rotate: 6deg; } }
.stk { animation: stk-float 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
.peek-card::before { animation: stk-peekaboo 3.6s ease-in-out infinite; transform-origin: 50% 100%; }
.stk:nth-of-type(2n) { animation-duration: 3.8s; animation-delay: -1.4s; }
.stk:nth-of-type(3n) { animation-duration: 2.9s; animation-delay: -2.3s; }
/* a sticker sitting on the top edge of a card (the card leaves room above) */
.stk-card { position: relative; margin-top: 30px; }
.card-stk { position: absolute; z-index: 3; top: -40px; right: 26px; width: 84px; }
.card-stk.stk-play { width: 62px; top: -52px; }
.card-stk.left { right: auto; left: 30px; }
/* a cat peeking over the top edge of a card */
.peek-card { position: relative; margin-top: 26px; }   /* room above for the cat's ears, so the card above never covers them */
.peek-card::before { content: ''; position: absolute; z-index: 3; top: -38px; right: 26px; width: 82px; height: 51px; pointer-events: none;
  background: var(--stk-peek) center / contain no-repeat; filter: var(--stk-edge); }

/* =========================================================
   2026-11-20 랜딩 톤 리프레시: 아이보리 바탕 · 먹색 잉크 · 명조 제목
   (아래 토큰이 기존 팔레트를 덮어씁니다)
   ========================================================= */
:root, :root[data-theme] {
  --tuxedo:#1D1A17; --mackerel:#5F5852;
  --cheese:#1D1A17; --cheese-deep:#A8566A;
  --sun:#EFE9E1; --sky:#FBF9F6; --blush:#E4849F; --lilac:#EDE7DE;

  --bg:#FBF9F6; --bg-2:#F3EFE9;
  --surface:#FFFFFF; --surface-2:#FBF9F6; --line:#E7E1D8;

  --text:#1D1A17; --text-2:#5F5852; --text-3:#8E8781;

  --primary:#1D1A17; --primary-2:#1D1A17; --primary-ink:#1D1A17; --primary-soft:#F3EFE9;

  --c-mood:#F6EFE2; --c-food:#F6EBE4; --c-water:#E7EDF2; --c-poop:#F0EAE3; --c-play:#E8EFE9; --c-purple:#EDEAF2;
  --chart-green:#1D1A17; --chart-blue:#7E8AA0; --chart-pink:#A8566A;

  --radius-xl:4px; --radius-lg:4px; --radius:3px; --radius-sm:2px;
  --shadow:0 12px 34px rgba(29,26,23,.12);
  --shadow-soft:none;
  --jelly:#1D1A17;
  --jelly-shadow:none;

  --font-brand:'Nanum Myeongjo','Gowun Batang',serif;
  --font-hand:'Nanum Myeongjo','Gowun Batang',serif;
}
/* 고양이 스티커 제거 */
.stk, .peek-card::before, .page-head > div:first-child::after, .sidebar-foot::before { display:none !important; }
.peek-card { padding-top:22px !important; }

/* 카드는 그림자 대신 얇은 테두리 */
.card { border:1px solid var(--line) !important; }
/* 버튼: 각진 먹색 */
.btn-primary { background:#1D1A17 !important; color:#fff !important; box-shadow:none !important; font-weight:600; }
.btn-primary:hover { opacity:.86; }
.btn-line { border:1px solid #1D1A17 !important; color:#1D1A17 !important; background:transparent !important; }
.chip { box-shadow:none !important; }
.chip[aria-pressed="true"], .chip.on { background:#1D1A17 !important; border-color:#1D1A17 !important; color:#fff !important; }

/* 바탕의 점무늬 제거 */
body { background-image:none !important; }
/* 사이드바: 분홍 그라데이션 → 종이색 */
.sidebar { background:#F3EFE9 !important; border-right:1px solid var(--line) !important; }
/* 먹색 위 글자는 흰색 */
.nav-item.active, .nav-item.active * { color:#fff !important; }
.nav-item.active { border-radius:2px !important; background:#1D1A17 !important; box-shadow:none !important; }
.nav-item { border-radius:2px !important; }
.btn-primary, .btn-primary *, .top-btn.btn-primary, .top-btn.btn-primary * { color:#fff !important; }
.btn-primary { border-radius:2px !important; }
.btn-primary::after, .btn-line::after, .chip::after { display:none !important; }
.btn-line, .top-btn { border-radius:2px !important; }
/* 사이드바 손글씨 인용구 */
.sidebar-foot, .sidebar blockquote { font-family:'Nanum Myeongjo', serif !important; }

/* 상단 바 버튼 */
.bar-btn { border-radius:2px !important; border:1px solid var(--line) !important; background:#fff !important; color:#1D1A17 !important; box-shadow:none !important; }
.bar-btn.home { background:#1D1A17 !important; border-color:#1D1A17 !important; color:#fff !important; }
.bar-btn.home * { color:#fff !important; }
/* 브랜드 마크: 분홍 원 대신 발자국만 */
.brand-cat { background:none !important; transform:rotate(-8deg) !important; }
.brand-cat::after { inset:0 !important; background:#E4849F !important; }
.brand { font-family:'Nanum Myeongjo', serif !important; }

/* 둥근 젤리 모양과 광택 제거 */
.hero, .hero-wrap .hero { border-radius:4px !important; border:0 !important; box-shadow:none !important; }
.cat-say { border-radius:3px !important; box-shadow:none !important; border:1px solid var(--line) !important; margin-top:-26px !important; }
.cat-say::before { display:none !important; }
.cat-say .say { font-family:'Nanum Myeongjo', serif !important; }
.jc-ic { box-shadow:none !important; border:1px solid var(--line) !important; }
.jc-ic::after { display:none !important; }
.jc[aria-expanded="true"] .jc-ic { box-shadow:0 0 0 2px #1D1A17 !important; }
.jc-paw { background:#E4849F !important; }
.save-bar, .sticky-save, .fab { border-radius:3px !important; box-shadow:0 6px 22px rgba(29,26,23,.08) !important; }
.card-title::before, .card-head .paw, .pawmark { background:#E4849F !important; }
.cat-chip, .sidebar .cat-chip { border-radius:3px !important; box-shadow:none !important; border:1px solid var(--line) !important; }
.photo, .photo-pick, .thumb, .hero-photo { border-radius:3px !important; }
.input, .textarea, .select { border-radius:2px !important; }
.chip { border-radius:999px !important; }
.badge, .tag { border-radius:999px !important; }

/* 스티커를 뺐으므로, 스티커 자리로 비워 뒀던 윗여백도 제거 */
.stk-card { margin-top:0 !important; }
.peek-card { margin-top:0 !important; padding-top:22px !important; }

/* 접근성·터치 타깃 보완 (Vercel 가이드라인 점검, 2026-11-20) */
:focus-visible { outline: 2px solid var(--text) !important; outline-offset: 3px; border-radius: 2px; }
:root { --text-3: #6F6861; }                    /* 본문 보조 글자 대비 3.4:1 → 5.0:1 */
.chip, .tab-btn, .btn-text, .bar-btn { min-height: 44px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 마우스 호버 반응 (2026-11-20) */
.chip, .btn-primary, .btn-line, .btn-text, .bar-btn, .nav-item, .tab-btn, .photo-pick, .jc-ic, .top-btn, .drag-handle {
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease, transform .12s ease;
}
.chip:hover { border-color: var(--text) !important; background: var(--surface-2) !important; color: var(--text) !important; }
.chip[aria-pressed="true"]:hover, .chip.on:hover { opacity: .85; }
.chip:active { transform: scale(.97); }
.btn-primary:hover { opacity: .86; }
.btn-primary:active { transform: translateY(1px); }
.btn-line:hover, .photo-pick:hover, .bar-btn:hover { border-color: var(--text) !important; background: var(--surface-2) !important; color: var(--text) !important; }
.bar-btn.home:hover { background: var(--text) !important; opacity: .86; }
.btn-text:hover, .brand:hover { opacity: .75; }
.nav-item:hover { background: var(--bg-2); }
.nav-item.active:hover { opacity: .88; }
.tab-btn:hover { color: var(--text); }
.jc:hover .jc-ic { border-color: var(--text) !important; }
.drag-handle:hover { background: var(--surface-2) !important; color: var(--text) !important; }
a:hover { color: var(--text); }
.brand i.paw { display: inline-block; }
.brand span.paw { display: none; }

/* 글자 크기 통일 (2026-11-20): UI 14.5 / 본문 15 / 보조 13 / 카드 제목 19(명조) */
.bar-btn { font-family: var(--font) !important; font-size: 14.5px !important; font-weight: 600 !important; height: 42px !important; padding: 0 16px !important; gap: 7px !important; }
.bar-btn svg.lucide { width: 17px !important; height: 17px !important; }
.nav-item { font-family: var(--font) !important; font-size: 15px !important; font-weight: 600 !important; height: 44px !important; }
.nav-item svg.lucide { width: 18px !important; height: 18px !important; }
.btn-primary, .btn-line, .top-btn { font-size: 14.5px !important; }
.chip { font-size: 14px !important; }
.card-meta, .note, .field > span { font-size: 13px !important; }
.card-title { font-size: 19px !important; }
.sidebar .cat-chip, .sidebar-foot a, .sidebar-foot button { font-size: 14px !important; }

/* 모바일 상단 '핑크젤리 홈' 아이콘: 먹색 원 위 흰 아이콘 */
.m-top .m-home, .m-top .m-home svg { color: #fff !important; stroke: #fff !important; }
.m-top .m-home:hover { opacity: .86; }

/* 탭(관리자·기록 등): 선택된 탭이 먹색 바탕이라 글자가 묻히던 문제 */
.tabs { background: var(--bg-2) !important; border: 1px solid var(--line) !important; border-radius: 3px !important; padding: 4px !important; }
.tab-btn { border-radius: 2px !important; font-family: var(--font) !important; font-size: 14.5px !important; font-weight: 600 !important; }
.tab-btn.active { background: var(--text) !important; color: #fff !important; font-family: var(--font) !important; font-weight: 600 !important; box-shadow: none !important; }
.tab-btn.active svg, .tab-btn.active * { color: #fff !important; }
.tab-btn:hover { background: #fff !important; }
.tab-btn.active:hover { background: var(--text) !important; opacity: .88; }
/* 먹색 배경 위 글자·아이콘은 항상 흰색 */
.btn-primary svg, .nav-item.active svg, .chip[aria-pressed="true"] svg { color: #fff !important; stroke: #fff !important; }

/* ===== 러블리 톤 — body.lovely 인 페이지(오늘, 내 고양이)만. 기록·건강·관리자는 위의 차분한 톤 그대로 ===== */
body.lovely{background:radial-gradient(900px 420px at 85% -80px,#FFE3EC 0,rgba(255,227,236,0) 70%),radial-gradient(700px 380px at -10% 120px,#FFEFD9 0,rgba(255,239,217,0) 70%),#FFF9F6 !important;
  --text:#3A2B2D;--text-2:#6E5A5E;--text-3:#85706F;--line:#F6DCE4;--bg-2:#FFF1F4;--surface-2:#FFF8F9;--font-brand:'Gowun Dodum','Nanum Myeongjo',serif;--font-hand:'Gowun Dodum','Nanum Myeongjo',serif}
body.lovely .page-title{font-family:'Gowun Dodum','Nanum Myeongjo',sans-serif !important;font-weight:400 !important;font-size:30px !important;color:#3A2B2D !important}
body.lovely .page-sub{color:#85706F !important}
body.lovely .card{border:1px solid #F8DAE3 !important;border-radius:24px !important;box-shadow:0 12px 30px rgba(228,132,159,.13) !important;background:#fff !important}
body.lovely .card-title{font-family:'Gowun Dodum','Nanum Myeongjo',sans-serif !important;font-size:19px !important;color:#3A2B2D !important}
body.lovely .hero{border-radius:26px !important;background:linear-gradient(160deg,#FFE9EF,#FFF4E6) !important}
body.lovely .hero.no-photo{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22%23F7B3C6%22%3E%3Cellipse%20cx%3D%2222%22%20cy%3D%2244%22%20rx%3D%229%22%20ry%3D%2212%22%20transform%3D%22rotate(-20%2022%2044)%22%2F%3E%3Cellipse%20cx%3D%2240%22%20cy%3D%2226%22%20rx%3D%229.5%22%20ry%3D%2213%22%20transform%3D%22rotate(-6%2040%2026)%22%2F%3E%3Cellipse%20cx%3D%2262%22%20cy%3D%2226%22%20rx%3D%229.5%22%20ry%3D%2213%22%20transform%3D%22rotate(6%2062%2026)%22%2F%3E%3Cellipse%20cx%3D%2280%22%20cy%3D%2244%22%20rx%3D%229%22%20ry%3D%2212%22%20transform%3D%22rotate(20%2080%2044)%22%2F%3E%3Cpath%20d%3D%22M51%2048c-14%200-26%2012-26%2024%200%209%207%2014%2015%2014%205%200%207-2%2011-2s6%202%2011%202c8%200%2015-5%2015-14%200-12-12-24-26-24z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center 46%/150px no-repeat,linear-gradient(160deg,#FFE9EF,#FFF4E6) !important}
body.lovely .hero.no-photo::before,body.lovely .hero.no-photo::after{display:none !important}
body.lovely .cat-say{border-radius:20px !important;border:1px solid #F8DAE3 !important;box-shadow:0 10px 24px rgba(228,132,159,.16) !important;background:#fff !important}
body.lovely .cat-say .say{font-family:'Gowun Dodum',sans-serif !important;color:#3A2B2D !important;font-size:18px !important}
body.lovely .btn-primary,body.lovely .top-btn.btn-primary{background:linear-gradient(180deg,#FFA6C0,#F27FA3) !important;border-radius:18px !important;box-shadow:0 10px 20px rgba(228,132,159,.38),inset 0 1px 0 rgba(255,255,255,.55) !important}
body.lovely .btn-line{border:1.5px solid #E4849F !important;color:#B04667 !important;border-radius:18px !important;background:#fff !important}
body.lovely .btn-line:hover{background:#FFF1F5 !important}
body.lovely .chip{border:1.5px solid #F4D2DC !important;background:#fff !important;border-radius:999px !important;color:#6E5A5E !important}
body.lovely .chip[aria-pressed="true"],body.lovely .chip.on{background:#FFE3EB !important;border-color:#E4849F !important;color:#A83F5E !important}
body.lovely .input,body.lovely .textarea,body.lovely .select{border-radius:16px !important;border:1.5px solid #F4D2DC !important;background:#fff !important}
body.lovely .save-bar{border-radius:22px !important;border:1px solid #F8DAE3 !important;box-shadow:0 12px 28px rgba(228,132,159,.2) !important;background:rgba(255,255,255,.96) !important}
body.lovely .save-bar .btn-primary{border-radius:16px !important}
body.lovely .nav-item{border-radius:18px !important}
body.lovely .nav-item.active{background:#FFE3EB !important;box-shadow:none !important}
body.lovely .nav-item.active,body.lovely .nav-item.active *{color:#A83F5E !important;stroke:#A83F5E !important}
body.lovely .nav-item:hover{background:#FFF1F5 !important}
body.lovely .sidebar{background:linear-gradient(180deg,#FFF1F5,#FFF9F6) !important;border-right:1px solid #F8DAE3 !important}
body.lovely .jc-ic{border-radius:50% !important;border:0 !important;box-shadow:0 6px 14px rgba(228,132,159,.2) !important}
body.lovely .bar-btn{border-radius:18px !important;border:1px solid #F4D2DC !important;background:#fff !important;color:#6E5A5E !important}
body.lovely .bar-btn.home,body.lovely .m-top .m-home{background:linear-gradient(180deg,#FFA6C0,#F27FA3) !important;border:0 !important;box-shadow:0 6px 14px rgba(242,127,163,.4) !important}
body.lovely .m-top{background:rgba(255,249,246,.9) !important;border-bottom:1px solid #F8DAE3 !important}
body.lovely .m-tab{background:rgba(255,255,255,.96) !important;border:1px solid #F8DAE3 !important;border-radius:26px !important;box-shadow:0 12px 28px rgba(228,132,159,.22) !important}
body.lovely .m-tab a{border-radius:20px !important}
body.lovely .m-tab a.active{background:#FFE3EB !important;color:#A83F5E !important}
body.lovely .m-tab a.active svg{stroke:#A83F5E !important;color:#A83F5E !important}}
body.lovely .seg b{border-radius:999px !important;border:1.5px solid #F4D2DC !important;background:#fff !important;color:#6E5A5E !important}
body.lovely .seg input:checked + b{background:linear-gradient(180deg,#FFA6C0,#F27FA3) !important;border-color:transparent !important;color:#fff !important;box-shadow:0 6px 14px rgba(228,132,159,.35) !important}
body.lovely .photo::before,body.lovely .avatar.photo::before{background-color:#F4A9BE !important}
