/* ───────── みかね 自己紹介サイト ───────── */
:root {
  --sky-50: #f2f9ff;
  --sky-100: #e1f1ff;
  --sky-200: #bfe2ff;
  --sky-400: #5fb4ff;
  --sky-500: #2f97f2;
  --sky-700: #1665b0;
  --ink: #1d2b3e;
  --ink-soft: #5a6b82;
  --pink: #ff8fb8;
  --halo: #ffd85e;
  --card: #ffffff;
  --bg-base: #ffffff;
  --bg-pink: #ffe6f0;
  --glass: rgba(255, 255, 255, .8);
  --ring: #ffffff;
  --danger-bg: #fff0f2;
  --danger: #c42a43;
  --badge-bg: #eeeeee;
  --badge-ink: #777777;
  --input-bg: var(--sky-50);
  --ok: #1a8a4c;
  color-scheme: light;
  --line: #d9e8f7;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(22, 101, 176, .28);
  --font: "M PLUS Rounded 1c", "Noto Sans KR", "Hiragino Maru Gothic ProN", sans-serif;
}

:root[data-theme="dark"] {
  --sky-50: #121d2c;
  --sky-100: #1a2f4a;
  --sky-200: #22466d;
  --sky-400: #5fb4ff;
  --sky-500: #3aa0f5;
  --sky-700: #8cc8ff;
  --ink: #e6eef8;
  --ink-soft: #9fb0c6;
  --card: #172232;
  --bg-base: #0d1522;
  --bg-pink: #2a1830;
  --glass: rgba(18, 27, 40, .82);
  --ring: #172232;
  --line: #273a52;
  --shadow: 0 12px 30px -14px rgba(0, 0, 0, .7);
  --danger-bg: #3a1c25;
  --danger: #ff8a9c;
  --badge-bg: #2a3546;
  --badge-ink: #aab6c6;
  --input-bg: #0f1826;
  --ok: #5fd39a;
  color-scheme: dark;
}
/* JS가 꺼져 있을 때는 OS 설정을 따름 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
  --sky-50: #121d2c;
  --sky-100: #1a2f4a;
  --sky-200: #22466d;
  --sky-400: #5fb4ff;
  --sky-500: #3aa0f5;
  --sky-700: #8cc8ff;
  --ink: #e6eef8;
  --ink-soft: #9fb0c6;
  --card: #172232;
  --bg-base: #0d1522;
  --bg-pink: #2a1830;
  --glass: rgba(18, 27, 40, .82);
  --ring: #172232;
  --line: #273a52;
  --shadow: 0 12px 30px -14px rgba(0, 0, 0, .7);
  --danger-bg: #3a1c25;
  --danger: #ff8a9c;
  --badge-bg: #2a3546;
  --badge-ink: #aab6c6;
  --input-bg: #0f1826;
  --ok: #5fd39a;
  color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, .sidebar, .card, .fav, .note, .post, .admin-item { transition: background-color .25s, border-color .25s, color .25s; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.75;
  background:
    radial-gradient(1200px 500px at 85% -10%, var(--sky-200), transparent 60%),
    radial-gradient(900px 400px at -10% 10%, var(--bg-pink), transparent 60%),
    linear-gradient(180deg, var(--sky-50), var(--bg-base) 70%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
html[lang="ko"] body { font-family: "Noto Sans KR", var(--font); word-break: keep-all; }

a { color: var(--sky-700); }
img { max-width: 100%; }

/* ───────── sidebar ───────── */
.app { display: grid; grid-template-columns: var(--side-w) 1fr; min-height: 100vh; }
:root { --side-w: 248px; }
.sidebar {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; gap: 18px;
  padding: 26px 16px 20px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-right: 1px solid var(--line);
  overflow-y: auto;
}
.side-profile {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
  padding: 8px 8px 18px; border-bottom: 1px dashed var(--line);
}
.side-avatar {
  position: relative; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-400), #9ad2ff 60%, #ffd1e3);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.4rem;
  box-shadow: 0 0 0 3px var(--ring), 0 0 0 4px var(--sky-200);
}
.side-avatar .halo {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 10px; border-radius: 50%; border: 2.5px solid var(--halo);
}
.side-name { display: grid; line-height: 1.3; }
.side-name strong { font-size: 1.15rem; }
.side-name small { color: var(--ink-soft); font-size: .72rem; }
.side-name .gender { font-size: .75rem; padding: 0 8px; margin-left: 4px; }

.side-nav { display: grid; gap: 4px; }
.side-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  text-decoration: none; color: var(--ink-soft); font-weight: 700; font-size: .92rem;
  transition: background .2s, color .2s;
}
.side-nav a .ico { width: 22px; text-align: center; }
.side-nav a:hover { background: var(--sky-100); color: var(--sky-700); }
.side-nav a[aria-current="page"] {
  background: linear-gradient(120deg, var(--sky-500), #6cc0ff); color: #fff;
  box-shadow: 0 6px 16px -8px rgba(47, 151, 242, .8);
}
.side-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8px; }
.side-foot small { color: var(--ink-soft); font-size: .72rem; }

.lang-btn {
  font: inherit; font-size: .72rem; font-weight: 700;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-soft);
  padding: 3px 10px; border-radius: 999px; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.lang-btn:hover { border-color: var(--sky-400); color: var(--sky-700); }

/* 모바일 상단바 + 서랍 메뉴 */
.mobile-bar { display: none; }
.backdrop { display: none; }
.menu-btn {
  font: inherit; font-size: 1.2rem; line-height: 1;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer;
}

/* ───────── layout ───────── */
.content { min-width: 0; display: flex; flex-direction: column; }
main { flex: 1; width: 100%; max-width: 860px; margin: 0 auto; padding: 36px 24px 56px; }
.site-footer { text-align: center; font-size: .8rem; color: var(--ink-soft); padding: 24px 16px 32px; }

.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: 28px;
}

.section-title {
  font-size: 1.05rem; font-weight: 800; letter-spacing: .06em;
  margin: 40px 0 14px; display: flex; align-items: center; gap: 10px;
}
.section-title::before {
  content: ""; width: 6px; height: 22px; border-radius: 3px;
  background: linear-gradient(var(--sky-400), var(--pink));
  transform: skewX(-14deg);
}

/* ───────── profile hero ───────── */
.hero { position: relative; overflow: hidden; display: flex; gap: 28px; align-items: center; }
.hero::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  border: 18px solid var(--sky-100); pointer-events: none;
}
.avatar {
  flex: none; position: relative;
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-400), #9ad2ff 60%, #ffd1e3);
  display: grid; place-items: center;
  color: #fff; font-size: 3rem; font-weight: 800;
  box-shadow: 0 0 0 5px var(--ring), 0 0 0 7px var(--sky-200);
}
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar .halo {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 20px; border-radius: 50%;
  border: 4px solid var(--halo);
  box-shadow: 0 0 12px rgba(255, 216, 94, .8);
  animation: float 3.2s ease-in-out infinite;
}
@keyframes float { 50% { transform: translate(-50%, -5px); } }

.hero-text { position: relative; z-index: 1; min-width: 0; }
.hero-eyebrow { font-size: .8rem; color: var(--sky-500); font-weight: 700; letter-spacing: .14em; margin: 0; }
.hero-name { font-size: 2.4rem; margin: 2px 0 6px; line-height: 1.2; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gender {
  font-size: 1rem; font-weight: 800; color: var(--sky-700);
  background: var(--sky-100); border-radius: 999px; padding: 2px 12px;
}
.hero-bio { margin: 0; color: var(--ink-soft); }

/* ───────── profile table ───────── */
.info-list { display: grid; gap: 0; margin: 0; }
.info-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row dt { color: var(--ink-soft); font-size: .88rem; font-weight: 700; }
.info-row dd { margin: 0; font-weight: 700; }

/* ───────── 本命 cards ───────── */
.fav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fav {
  position: relative; overflow: hidden;
  border-radius: var(--radius); padding: 20px 18px 18px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s;
}
.fav:hover { transform: translateY(-3px); }
.fav::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: var(--accent, var(--sky-500));
}
.fav-icon { font-size: 1.8rem; line-height: 1; }
.fav h3 { margin: 10px 0 4px; font-size: 1.05rem; }
.fav p { margin: 0; font-size: .85rem; color: var(--ink-soft); }
.fav.ba { --accent: linear-gradient(90deg, #2f97f2, #7fd0ff); }
.fav.th { --accent: linear-gradient(90deg, #e2384f, #ff9aa8); }
.fav.an { --accent: linear-gradient(90deg, #a873ff, #ff8fb8); }

.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 40px;
  background: linear-gradient(120deg, var(--sky-500), #6cc0ff);
  color: #fff; border: 0;
}
.cta h2 { margin: 0; font-size: 1.1rem; }
.cta p { margin: 4px 0 0; font-size: .88rem; opacity: .9; }
.btn {
  display: inline-block; font: inherit; font-weight: 800; font-size: .9rem;
  text-decoration: none; border: 0; cursor: pointer;
  padding: 10px 20px; border-radius: 999px;
  background: var(--card); color: var(--sky-700);
  transition: transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--sky-500); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink-soft); border: 1px solid var(--line); }
.btn.danger { background: var(--danger-bg); color: var(--danger); }
.btn.small { padding: 6px 14px; font-size: .8rem; }

/* ───────── notes ───────── */
.page-head h1 { font-size: 1.8rem; margin: 0 0 4px; }
.page-head p { margin: 0; color: var(--ink-soft); }
.notes { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; counter-reset: n; }
.note {
  counter-increment: n;
  display: grid; grid-template-columns: 48px 1fr; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.note::before {
  content: counter(n, decimal-leading-zero);
  font-weight: 800; font-size: 1.1rem; color: var(--sky-500);
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; background: var(--sky-100);
}
.note h2 { margin: 0 0 4px; font-size: 1.05rem; }
.note p { margin: 0; color: var(--ink-soft); white-space: pre-line; overflow-wrap: anywhere; }
.notes-status { margin-top: 28px; color: var(--ink-soft); text-align: center; }
.updated { font-size: .78rem; color: var(--ink-soft); margin-top: 18px; text-align: right; }

/* ───────── admin ───────── */
.form { display: grid; gap: 12px; }
.form label { font-size: .82rem; font-weight: 700; color: var(--ink-soft); display: grid; gap: 4px; }
.form input[type=text], .form input[type=password], .form input[type=number], .form input[type=date], .form input[type=url], .form textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--input-bg);
  width: 100%;
}
.form textarea { min-height: 90px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--sky-400); outline-offset: 1px; background: var(--card); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex !important; align-items: center; gap: 8px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.msg { font-size: .85rem; min-height: 1.2em; margin: 0; }
.msg.err { color: var(--danger); }
.msg.ok { color: var(--ok); }
.admin-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.admin-item {
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--card);
}
.admin-item .t { font-weight: 700; overflow-wrap: anywhere; }
.admin-item .sub { font-size: .78rem; color: var(--ink-soft); }
.badge { font-size: .7rem; padding: 1px 8px; border-radius: 999px; background: var(--badge-bg); color: var(--badge-ink); margin-left: 6px; }
.hidden { display: none !important; }

/* ───────── responsive ───────── */
@media (max-width: 640px) {
  .hero { flex-direction: column; text-align: center; padding-top: 40px; }
  .hero-name { justify-content: center; font-size: 2rem; }
  .fav-grid { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 90px 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .card { padding: 22px 18px; }
  .note { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; z-index: 30; left: 0; top: 0; width: 260px;
    transform: translateX(-105%); transition: transform .25s ease;
    background: var(--card);
  }
  body.menu-open .sidebar { transform: none; box-shadow: 10px 0 40px -10px rgba(22, 101, 176, .35); }
  body.menu-open .backdrop { display: block; position: fixed; inset: 0; z-index: 20; background: rgba(29, 43, 62, .35); }
  body.menu-open { overflow: hidden; }
  .mobile-bar {
    display: flex; align-items: center; gap: 12px;
    position: sticky; top: 0; z-index: 10;
    padding: 10px 16px; background: var(--glass); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .mobile-bar .title { font-weight: 800; color: var(--ink); text-decoration: none; }
  main { padding: 24px 16px 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ───────── misc ───────── */
.admin-tag { font-weight: 700; color: var(--ink-soft); }
.login-box { max-width: 380px; margin: 40px auto; }
.login-title { margin: 0 0 14px; font-size: 1.3rem; }
.nf { text-align: center; padding-top: 80px; }
.nf-code { font-size: 3rem; margin: 0; font-weight: 800; color: var(--sky-500); }
.nf h1 { font-size: 1.2rem; }

/* ───────── 自己紹介掲示板 ───────── */
.board-form { margin-top: 24px; }
.board-form h2 { margin: 0 0 14px; font-size: 1.05rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.counter { font-size: .75rem; color: var(--ink-soft); text-align: right; margin-top: -6px; }
.hint { font-weight: 400; font-size: .75rem; color: var(--ink-soft); }

.posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.post {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
  animation: pop .3s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.post-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.post-avatar {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 800;
  background: var(--av, var(--sky-400));
}
.post-name { font-weight: 800; overflow-wrap: anywhere; }
.post-oshi {
  font-size: .75rem; font-weight: 700; color: var(--sky-700);
  background: var(--sky-100); border-radius: 999px; padding: 1px 10px; overflow-wrap: anywhere;
}
.post-date { margin-left: auto; font-size: .75rem; color: var(--ink-soft); }
.post-body { margin: 10px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.post-foot { display: flex; justify-content: flex-end; margin-top: 8px; }
.link-btn {
  font: inherit; font-size: .75rem; color: var(--ink-soft);
  background: none; border: 0; cursor: pointer; padding: 2px 4px;
}
.link-btn:hover { color: var(--danger); text-decoration: underline; }
.more-wrap { text-align: center; margin-top: 18px; }

.tabs { display: flex; gap: 6px; margin-top: 8px; }
.tabs button {
  font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink-soft);
}
.tabs button[aria-selected="true"] { background: var(--sky-500); border-color: var(--sky-500); color: #fff; }
.admin-item .body-preview { font-size: .82rem; color: var(--ink-soft); white-space: pre-line; margin-top: 4px; overflow-wrap: anywhere; }

/* ───────── admin header ───────── */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--glass); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 860px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 1.1rem; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.logo-halo { width: 18px; height: 8px; border: 2.5px solid var(--halo); border-radius: 50%; display: inline-block; transform: translateY(-6px); }
.site-header nav { display: flex; gap: 4px; margin-left: auto; }
.site-header nav a { text-decoration: none; color: var(--ink-soft); font-size: .85rem; padding: 6px 10px; border-radius: 999px; }
.site-header nav a:hover { background: var(--sky-100); color: var(--sky-700); }
.mobile-lang { margin-left: auto; }
.req { color: #e2384f; }

/* ───────── theme toggle / profile extras ───────── */
.side-tools { display: flex; gap: 6px; align-items: center; }
.theme-btn {
  font: inherit; font-size: .85rem; line-height: 1;
  width: 30px; height: 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-soft);
  display: inline-grid; place-items: center;
}
.theme-btn:hover { border-color: var(--sky-400); }
.mobile-tools { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.mobile-lang { margin-left: 0; }
.side-avatar img, .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }

.fav { --accent: linear-gradient(90deg, #2f97f2, #7fd0ff); }
.fav.c-blue   { --accent: linear-gradient(90deg, #2f97f2, #7fd0ff); }
.fav.c-red    { --accent: linear-gradient(90deg, #e2384f, #ff9aa8); }
.fav.c-purple { --accent: linear-gradient(90deg, #a873ff, #ff8fb8); }
.fav.c-pink   { --accent: linear-gradient(90deg, #ff6fa5, #ffc1d8); }
.fav.c-green  { --accent: linear-gradient(90deg, #22a06b, #7fe0b0); }
.fav.c-orange { --accent: linear-gradient(90deg, #ff8a3d, #ffc58f); }
.fav.c-yellow { --accent: linear-gradient(90deg, #f5b800, #ffe27a); }
.fav.c-gray   { --accent: linear-gradient(90deg, #6b7a90, #b5c0cf); }
.fav-grid.count-1 { grid-template-columns: 1fr; }
.fav-grid.count-2, .fav-grid.count-4 { grid-template-columns: repeat(2, 1fr); }

/* admin: profile editor */
.form select {
  font: inherit; font-size: .95rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--input-bg);
}
.avatar-edit { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.avatar-edit .avatar { width: 96px; height: 96px; font-size: 2.4rem; }
.fav-editor { display: grid; gap: 10px; }
.fav-row {
  border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--card);
  display: grid; gap: 8px;
}
.fav-row .top { display: grid; grid-template-columns: 70px 1fr auto; gap: 8px; align-items: end; }
.fav-row .top input { text-align: center; }
.icon-btns { display: flex; gap: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.avatar-edit .btn { justify-self: start; }
html { background: var(--bg-base); }
.form ::placeholder { color: var(--ink-soft); opacity: .55; font-weight: 400; }

/* 이미지 길게 눌러 저장 / 드래그 / 선택 막기 */
img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.avatar, .side-avatar, .post-avatar { user-select: none; -webkit-touch-callout: none; }

/* ───────── SNS links ───────── */
.sns-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.side-links { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 8px 14px; margin-top: -6px; border-bottom: 1px dashed var(--line); }
.sns {
  --c: var(--sky-500);
  display: inline-flex; align-items: center; gap: 7px;
  text-decoration: none; font-weight: 700; font-size: .85rem; color: var(--ink);
  padding: 6px 14px 6px 11px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  transition: border-color .2s, transform .15s, color .2s;
}
.sns:hover { border-color: var(--c); color: var(--c); transform: translateY(-1px); }
.side-links .sns { font-size: .72rem; padding: 3px 10px 3px 8px; gap: 5px; }
.sns-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.sns-x { --c: #5b6b7d; }
.sns-bluesky { --c: #1185fe; }
.sns-misskey { --c: #86b300; }
.sns-pixiv { --c: #0096fa; }
.sns-youtube { --c: #e62117; }
.sns-twitch { --c: #9146ff; }
.sns-instagram { --c: #e1306c; }
.sns-tiktok { --c: #25c2c9; }
.sns-discord { --c: #5865f2; }
.sns-skeb { --c: #28837f; }
.sns-booth { --c: #fc4d50; }
:root[data-theme="dark"] .sns-x { --c: #c9d4e0; }
@media (max-width: 640px) { .sns-links { justify-content: center; } }

/* ───────── gallery ───────── */
.gallery { list-style: none; padding: 0; margin: 28px 0 0; columns: 3 220px; column-gap: 14px; }
.art {
  break-inside: avoid; margin: 0 0 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.art-btn { display: block; width: 100%; padding: 0; border: 0; background: var(--sky-50); cursor: zoom-in; }
.art-btn img { display: block; width: 100%; height: auto; transition: transform .3s; }
.art-btn:hover img { transform: scale(1.03); }
.art-btn:focus-visible { outline: 3px solid var(--sky-400); outline-offset: -3px; }
.art-cap { padding: 10px 14px 12px; display: grid; gap: 2px; }
.art-cap strong { font-size: .92rem; overflow-wrap: anywhere; }
.art-cap span { font-size: .78rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.art-cap a, .lb-credit a { color: var(--sky-700); font-weight: 700; }

body.lb-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(8, 14, 24, .92);
  display: flex; align-items: center; justify-content: center;
  padding: 24px 64px;
}
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; gap: 12px; }
.lb-img-wrap { min-height: 0; flex: 1; display: flex; justify-content: center; }
.lb-img-wrap img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px -20px #000; }
.lb-cap { color: #e6eef8; text-align: center; max-width: 720px; margin: 0 auto; }
.lb-cap h2 { margin: 0; font-size: 1.05rem; }
.lb-credit { margin: 2px 0 0; font-size: .85rem; color: #9fb0c6; }
.lb-credit a { color: #8cc8ff; }
.lb-desc { margin: 8px 0 0; font-size: .88rem; color: #c8d4e2; white-space: pre-line; max-height: 5.5em; overflow-y: auto; }
.lb-btn {
  position: absolute; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 16px; right: 16px; font-size: 1.1rem; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .gallery { columns: 2 140px; column-gap: 10px; }
  .art { margin-bottom: 10px; }
  .lightbox { padding: 60px 10px 16px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-img-wrap img { max-height: calc(100vh - 230px); }
}

/* admin: gallery / links */
.thumb-sm { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; background: var(--sky-50); }
.admin-item .left { display: flex; gap: 12px; align-items: center; min-width: 0; }
.art-preview { max-width: 240px; max-height: 240px; border-radius: 12px; border: 1px solid var(--line); display: block; }
.link-row { display: grid; grid-template-columns: 130px 1fr 1fr auto; gap: 8px; align-items: end; }
@media (max-width: 640px) { .link-row { grid-template-columns: 1fr 1fr; } }

/* ───────── 홈: 작은 제목 / 작은 본진 / 작은 주의사항 ───────── */
.section-title.small { font-size: .85rem; margin: 28px 0 10px; color: var(--ink-soft); }
.section-title.small::before { height: 16px; width: 5px; }
.fav-grid.compact { display: flex; flex-wrap: wrap; gap: 8px; grid-template-columns: none; }
.fav-grid.compact .fav {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 12px; border-radius: 999px; box-shadow: none;
}
.fav-grid.compact .fav::before { content: none; }
.fav-grid.compact .fav { border-color: var(--line); background: var(--card); }
.fav-grid.compact .fav:hover { transform: none; }
.fav-grid.compact .fav-icon { font-size: 1.05rem; }
.fav-grid.compact .fav h3 { margin: 0; font-size: .85rem; }
.fav-grid.compact .fav p { font-size: .75rem; }
.fav-grid.compact .fav p::before { content: "· "; }

.mini-notes-list {
  list-style: none; margin: 0; padding: 12px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  display: grid; gap: 6px; font-size: .82rem;
}
.mini-notes-list li { display: flex; gap: 8px; flex-wrap: wrap; line-height: 1.6; }
.mini-notes-list li::before { content: "・"; color: var(--sky-500); font-weight: 800; }
.mini-notes-list strong { font-weight: 800; }
.mini-notes-list span { color: var(--ink-soft); white-space: pre-line; flex: 1 1 200px; }

/* ───────── 게시판 (블로그형) ───────── */
.blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.blog-list { list-style: none; padding: 0; margin: 24px 0 0; border-top: 2px solid var(--ink); }
.blog-item { border-bottom: 1px solid var(--line); }
.blog-link {
  display: flex; gap: 20px; align-items: center; justify-content: space-between;
  padding: 22px 6px; text-decoration: none; color: var(--ink);
}
.blog-link:hover .blog-title { color: var(--sky-700); text-decoration: underline; text-underline-offset: 3px; }
.blog-text { min-width: 0; flex: 1; }
.blog-title { margin: 0; font-size: 1.12rem; line-height: 1.5; overflow-wrap: anywhere; }
.blog-excerpt {
  margin: 6px 0 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.blog-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-top: 10px; font-size: .78rem; color: var(--ink-soft); }
.blog-author { font-weight: 700; color: var(--ink); }
.admin-badge { background: var(--sky-100); color: var(--sky-700); margin-left: 0; }
.blog-thumb {
  flex: none; width: 120px; height: 120px; border-radius: 12px; overflow: hidden;
  background: var(--sky-50); border: 1px solid var(--line);
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-thumb { display: grid; place-items: center; font-size: 2rem; color: var(--sky-500); }
.pager { display: flex; justify-content: center; gap: 4px; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px;
  display: inline-grid; place-items: center; text-decoration: none; font-weight: 700; font-size: .88rem;
  color: var(--ink-soft); border: 1px solid transparent;
}
.pager a:hover { border-color: var(--line); color: var(--sky-700); }
.pager .cur { background: var(--sky-500); color: #fff; }

.back-link { display: inline-block; margin-bottom: 18px; font-size: .85rem; font-weight: 700; text-decoration: none; color: var(--ink-soft); }
.back-link:hover { color: var(--sky-700); }
.post-header { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 26px; }
.post-header h1 { margin: 0; font-size: 1.7rem; line-height: 1.45; overflow-wrap: anywhere; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 12px; font-size: .85rem; color: var(--ink-soft); }
.post-content { font-size: 1rem; line-height: 1.95; }
.post-text { white-space: pre-line; overflow-wrap: anywhere; margin: 0 0 1.2em; }
.post-text a { word-break: break-all; }
.post-media { margin: 0 0 1.4em; text-align: center; }
.post-media img, .post-media video {
  max-width: 100%; max-height: 80vh; border-radius: 10px; display: inline-block; vertical-align: top;
  background: #000;
}
.post-media img { background: transparent; }
.post-actions { display: flex; justify-content: flex-end; margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--line); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.post-nav a {
  display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); min-width: 0;
}
.post-nav a.next { text-align: right; }
.post-nav a:hover { border-color: var(--sky-400); }
.post-nav a.empty { visibility: hidden; }
.post-nav small { color: var(--ink-soft); font-size: .75rem; font-weight: 700; }
.post-nav span { font-weight: 700; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.write-title { font-size: 1.5rem; margin: 0 0 16px; }
.body-editor { min-height: 320px !important; line-height: 1.8; }
.attach { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.attach-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.attach-item {
  display: flex; gap: 12px; align-items: center;
  border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; background: var(--card);
}
.attach-item.failed { border-color: var(--danger); }
.attach-item.failed small { color: var(--danger); }
.attach-thumb {
  flex: none; width: 54px; height: 54px; border-radius: 8px; overflow: hidden;
  background: var(--sky-50); display: grid; place-items: center; font-size: 1.4rem;
}
.attach-thumb img { width: 100%; height: 100%; object-fit: cover; }
.attach-info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.attach-info strong { font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attach-info small { font-size: .75rem; color: var(--ink-soft); }
.progress { height: 5px; border-radius: 3px; background: var(--sky-100); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--sky-500); transition: width .2s; }

@media (max-width: 640px) {
  .blog-link { gap: 12px; padding: 16px 2px; }
  .blog-thumb { width: 84px; height: 84px; }
  .blog-title { font-size: 1rem; }
  .post-header h1 { font-size: 1.35rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a.next { text-align: left; }
  .attach-item { flex-wrap: wrap; }
}

/* ───────── 방명록 ───────── */
.gb-form { margin-top: 22px; }
.gb-form textarea { min-height: 90px; }
.gb-form-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gb-form-foot .counter { margin: 0 0 0 auto; }
.admin-note {
  margin: 22px 0 0; padding: 8px 14px; border-radius: 10px; font-size: .82rem; font-weight: 700;
  background: var(--sky-100); color: var(--sky-700);
}
.gb-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.gb-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow);
}
.gb-item.secret { border-style: dashed; }
.gb-item.is-hidden { opacity: .55; }
.gb-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gb-nick { overflow-wrap: anywhere; }
.gb-date { margin-left: auto; font-size: .75rem; color: var(--ink-soft); }
.gb-head .badge { margin-left: 0; }
.gb-body { margin: 8px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.gb-body.muted { color: var(--ink-soft); font-size: .88rem; }
.gb-replied { margin: 6px 0 0; font-size: .78rem; color: var(--sky-700); font-weight: 700; }
.gb-reply {
  margin-top: 12px; padding: 10px 14px; border-radius: 12px;
  background: var(--sky-50); border-left: 3px solid var(--sky-400);
}
.gb-reply-head { display: flex; align-items: center; gap: 8px; font-size: .85rem; }
.gb-reply p { margin: 4px 0 0; white-space: pre-line; overflow-wrap: anywhere; font-size: .92rem; }
.gb-reply-edit { margin-top: 12px; gap: 8px; }
.gb-foot { display: flex; justify-content: flex-end; gap: 6px; margin-top: 6px; }
.link-btn.strong { color: var(--sky-700); font-weight: 700; }

/* 갤러리: 트윗 카드형 크레딧 */
.art-cap { gap: 4px; }
.art-credit { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.art-artist { display: inline-flex; align-items: baseline; gap: 5px; min-width: 0; text-decoration: none; color: var(--ink); flex-wrap: wrap; }
.art-artist strong { font-size: .88rem; overflow-wrap: anywhere; }
.art-handle { font-size: .75rem; color: var(--ink-soft); }
a.art-artist:hover strong { color: var(--sky-700); text-decoration: underline; }
.art-tweet { font-size: .72rem; font-weight: 700; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.art-tweet:hover { color: var(--sky-700); }
.art-comment { margin: 2px 0 0; font-size: .82rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.lb-credit { display: flex; gap: 12px; justify-content: center; align-items: baseline; flex-wrap: wrap; }
.lb-credit .art-artist { color: #e6eef8; }
.lb-credit .art-handle, .lb-credit .art-tweet { color: #9fb0c6; }
.lb-credit .art-tweet:hover, .lb-credit a.art-artist:hover strong { color: #8cc8ff; }

/* admin: 트윗 불러오기 */
.inline-field { display: flex; gap: 8px; }
.inline-field input { flex: 1; min-width: 0; }
.tw-preview { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--sky-50); }
.tw-author { font-weight: 800; }
.tw-author span { font-weight: 400; color: var(--ink-soft); margin-left: 6px; font-size: .85rem; }
.tw-text { margin: 0; font-size: .85rem; color: var(--ink-soft); white-space: pre-line; max-height: 6em; overflow: auto; }
.tw-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.tw-photo { position: relative; cursor: pointer; }
.tw-photo img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; border: 3px solid transparent; display: block; }
.tw-photo input { position: absolute; top: 6px; left: 6px; width: 18px; height: 18px; }
.tw-photo input:checked + img { border-color: var(--sky-500); }
.tw-photo input:not(:checked) + img { opacity: .4; }
.manual-add { margin-top: 18px; }
.manual-add summary { cursor: pointer; font-weight: 800; font-size: .92rem; color: var(--ink-soft); padding: 8px 0; }
.manual-add[open] summary { margin-bottom: 10px; }
.gb-admin-reply { width: 100%; margin-top: 8px; display: grid; gap: 6px; }
.gb-admin-reply textarea { min-height: 60px; }
.admin-item.col { flex-direction: column; align-items: stretch; }
.admin-item .row { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.hero .avatar { z-index: 1; }
@media (max-width: 640px) { .hero::after { display: none; } }
.gb-admin-reply textarea {
  font: inherit; font-size: .9rem; color: var(--ink); width: 100%;
  border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--input-bg);
}

/* 글쓰기: 텍스트 / HTML 전환 + 미리보기 */
.editor-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.editor-label { font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--card); }
.seg button {
  font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer;
  border: 0; background: transparent; color: var(--ink-soft); padding: 4px 12px; border-radius: 999px;
}
.seg button[aria-checked="true"] { background: var(--sky-500); color: #fff; }
.body-editor.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; line-height: 1.6; }
.preview-box { border: 1px dashed var(--sky-400); border-radius: 14px; padding: 14px 18px; background: var(--card); }
.preview-head { font-size: .75rem; font-weight: 800; color: var(--sky-700); margin-bottom: 10px; letter-spacing: .08em; }

/* HTML 글 본문 기본 모양 (글 영역 밖으로 못 나가게) */
.html-content { overflow-wrap: anywhere; overflow-x: auto; contain: layout paint; }
.html-content > :first-child { margin-top: 0; }
.html-content p { margin: 0 0 1em; }
.html-content h2, .html-content h3, .html-content h4 { line-height: 1.4; margin: 1.4em 0 .6em; }
.html-content blockquote { margin: 1em 0; padding: 8px 16px; border-left: 4px solid var(--sky-400); background: var(--sky-50); border-radius: 0 10px 10px 0; }
.html-content pre { background: var(--sky-50); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow-x: auto; font-size: .85rem; line-height: 1.6; }
.html-content code, .html-content kbd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.html-content :not(pre) > code { background: var(--sky-50); padding: 1px 6px; border-radius: 6px; }
.html-content table { border-collapse: collapse; margin: 1em 0; max-width: 100%; }
.html-content th, .html-content td { border: 1px solid var(--line); padding: 6px 10px; }
.html-content th { background: var(--sky-50); }
.html-content img { max-width: 100%; height: auto; }
.html-content ul, .html-content ol { padding-left: 1.6em; }
.html-content hr { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }
.html-content details { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 1em 0; }
.html-content summary { cursor: pointer; font-weight: 700; }
.html-content mark { background: #fff3a3; color: inherit; }
.html-content a:not([href]) { color: inherit; text-decoration: none; cursor: text; }

/* ───────── 홈: 프로필 카드 하나로 정리 ───────── */
.profile-card { padding: 32px; position: relative; overflow: hidden; }
.profile-card::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px;
  border-radius: 50%; border: 18px solid var(--sky-100); pointer-events: none; opacity: .7;
}
.profile-top { display: flex; gap: 28px; align-items: flex-start; position: relative; z-index: 1; }
.profile-top .avatar { margin-top: 10px; }
.profile-main { min-width: 0; flex: 1; display: grid; gap: 12px; }
.profile-main .hero-name { margin: 0; }
.profile-main .hero-bio { margin: 0; font-size: 1rem; line-height: 1.8; color: var(--ink); white-space: pre-line; }
.profile-main .sns-links { margin-top: 0; }
.fav-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fav-tag {
  --c: var(--sky-500);
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .78rem; font-weight: 700; color: var(--ink);
  padding: 3px 11px 3px 9px; border-radius: 999px;
  background: color-mix(in srgb, var(--c) 12%, var(--card));
  border: 1px solid color-mix(in srgb, var(--c) 35%, var(--line));
}
.fav-tag.c-blue { --c: #2f97f2; } .fav-tag.c-red { --c: #e2384f; } .fav-tag.c-purple { --c: #a873ff; }
.fav-tag.c-pink { --c: #ff6fa5; } .fav-tag.c-green { --c: #22a06b; } .fav-tag.c-orange { --c: #ff8a3d; }
.fav-tag.c-yellow { --c: #e0a800; } .fav-tag.c-gray { --c: #6b7a90; }

.profile-notes {
  position: relative; z-index: 1;
  margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line);
}
.profile-notes-title { margin: 0 0 10px; font-size: .85rem; font-weight: 800; color: var(--ink-soft); display: flex; gap: 6px; align-items: center; }
.profile-notes-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: pn; }
.profile-notes-list li {
  counter-increment: pn; position: relative;
  padding: 10px 14px 10px 44px; border-radius: 12px; background: var(--sky-50);
}
.profile-notes-list li::before {
  content: counter(pn); position: absolute; left: 12px; top: 10px;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; font-weight: 800; color: #fff; background: var(--sky-500);
}
.profile-notes-list strong { display: block; font-size: .88rem; }
.profile-notes-list p { margin: 2px 0 0; font-size: .84rem; color: var(--ink-soft); white-space: pre-line; overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .profile-card { padding: 26px 18px; }
  .profile-card::after { display: none; }
  .profile-top { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .profile-main .hero-name { justify-content: center; }
  .fav-tags, .profile-main .sns-links { justify-content: center; }
}
.profile-notes-title .edit-link {
  margin-left: auto; font-size: .75rem; font-weight: 700; text-decoration: none;
  color: var(--sky-700); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
}
.profile-notes-title .edit-link:hover { border-color: var(--sky-400); }
.note-row-head { display: flex; align-items: center; justify-content: space-between; }
.note-num {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: .75rem; color: #fff; background: var(--sky-500);
}

/* 주의사항: 줄 글 → 점 목록 */
.profile-notes-list { counter-reset: none; gap: 4px; padding: 12px 16px; background: var(--sky-50); border-radius: 12px; }
.profile-notes-list li {
  counter-increment: none; padding: 2px 0 2px 16px; background: none; border-radius: 0;
  font-size: .9rem; line-height: 1.7; overflow-wrap: anywhere;
}
.profile-notes-list li::before {
  content: ""; left: 2px; top: .75em; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sky-500); color: transparent;
}
.notes-text { min-height: 110px; line-height: 1.8; }
.profile-main > .edit-link {
  justify-self: start; font-size: .78rem; font-weight: 700; text-decoration: none;
  color: var(--sky-700); padding: 4px 12px; border-radius: 999px; border: 1px dashed var(--sky-400);
}
@media (max-width: 640px) { .profile-main > .edit-link { justify-self: center; } .profile-notes-list { text-align: left; } }
.form textarea.notes-text { min-height: 170px; }
#notesEditor, #linksEditor { scroll-margin-top: 80px; }

/* 홈: 좋아하는 것 / SNS 줄 구분 */
.profile-rows { display: grid; gap: 10px; margin-top: 4px; }
.profile-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-label {
  flex: none; min-width: 72px; font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  color: var(--ink-soft); padding-right: 12px; border-right: 2px solid var(--line);
}
.profile-row .sns-links { margin: 0; }
.profile-row > .edit-link {
  font-size: .78rem; font-weight: 700; text-decoration: none; color: var(--sky-700);
  padding: 4px 12px; border-radius: 999px; border: 1px dashed var(--sky-400);
}
@media (max-width: 640px) {
  .profile-row { flex-direction: column; gap: 6px; }
  .row-label { border-right: 0; padding-right: 0; min-width: 0; }
}

/* 홈: 라벨·구분선 없이 모양으로만 구분 */
.profile-rows { gap: 12px; margin-top: 2px; }
.profile-row { gap: 6px; }
.row-label { display: none; }
.fav-tag {
  border: 0; padding: 4px 12px 4px 10px; font-weight: 700; font-size: .8rem;
  background: color-mix(in srgb, var(--c) 10%, var(--card));
}
.profile-row .sns {
  border: 0; padding: 5px 12px; gap: 5px; font-size: .78rem;
  background: var(--ink); color: var(--bg-base);
}
.profile-row .sns .sns-dot { display: none; }
.profile-row .sns::after { content: "↗"; font-size: .72rem; opacity: .7; }
.profile-row .sns:hover { color: var(--bg-base); background: var(--sky-500); transform: translateY(-1px); }
@media (max-width: 640px) { .profile-row { flex-direction: row; justify-content: center; } }
