/* SEE IT 회원 미니홈피. 미니홈피의 틀(왼쪽 프로필 · 오른쪽 세로 탭 · TODAY/TOTAL)은 살리고, 글꼴·여백·색은 요즘 화면에 맞게 다듬었다.
   인라인 스타일 없음(CSP). 3D 미니룸 스타일(r3-*)도 이 파일에 있다. */
:root {
  --ink: #1f2430; --sub: #6b7280; --faint: #9aa1ad; --line: #e6e8ee; --paper: #ffffff; --card: #f7f8fb;
  --accent: #3b82c4; --accent-2: #6aa9de; --accent-soft: #e8f1fa; --accent-ink: #fff;
  --page: #eef3f8; --page-2: #e3ecf5; --frame-1: #8db5d9; --frame-2: #5f8fbd;
  --radius: 16px; --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
}
.skin-spring { --accent: #3f8f4f; --accent-2: #7ab868; --accent-soft: #e9f4e4; --page: #eef5ea; --page-2: #e2efdb; --frame-1: #a2cb8a; --frame-2: #6fa95f; }
.skin-night { --accent: #6c7cf0; --accent-2: #9aa6ff; --accent-soft: #ecedff; --page: #161b33; --page-2: #1e2547; --frame-1: #3a4479; --frame-2: #262d58; }
.skin-rose { --accent: #cf5a7f; --accent-2: #e88aa6; --accent-soft: #fbe9ef; --page: #f8eef2; --page-2: #f3e1e8; --frame-1: #e6a2b7; --frame-2: #c9708f; }
.skin-gold { --accent: #b7862b; --accent-2: #d8b25c; --accent-soft: #f7efdc; --page: #f6f1e5; --page-2: #efe6d0; --frame-1: #d9bf7d; --frame-2: #b28c3f; }

* { box-sizing: border-box; }
body.cy { margin: 0; min-height: 100vh; color: var(--ink); font: 14px/1.6 "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  background: radial-gradient(1200px 600px at 10% -10%, var(--page-2), transparent 60%), radial-gradient(900px 500px at 110% 10%, var(--page-2), transparent 60%), var(--page); }
.cy a { color: var(--accent); text-decoration: none; } .cy a:hover { text-decoration: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cy-ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }

/* ---------- 위쪽 막대 ---------- */
.cy-top { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px max(2vw, 16px); background: rgba(255, 255, 255, .78); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(0, 0, 0, .05); }
.skin-night .cy-top { background: rgba(22, 27, 51, .78); border-color: rgba(255, 255, 255, .06); }
.cy-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink) !important; text-decoration: none !important; }
.skin-night .cy-brand, .skin-night .cy-toplinks a:not(.cy-btn) { color: #e6e8f5 !important; }
.cy-brand img { border-radius: 8px; } .cy-brand b { font-size: 15px; letter-spacing: .02em; } .cy-brand span { font-size: 13px; color: var(--sub); }
.skin-night .cy-brand span { color: #a8afd0; }
.cy-toplinks { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.cy-toplinks a:not(.cy-btn) { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; color: var(--ink); font-size: 13px; text-decoration: none; }
.cy-toplinks a:not(.cy-btn):hover { background: var(--accent-soft); color: var(--accent); }
.skin-night .cy-toplinks a:not(.cy-btn):hover { background: rgba(255, 255, 255, .08); }

/* ---------- 큰 틀 ---------- */
.cy-wrap { width: min(1760px, 96vw); margin: 0 auto; padding: 18px 0 28px; }
.cy-notice { display: flex; align-items: center; gap: 8px; margin: 0 72px 12px 0; padding: 10px 14px; border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); font-size: 13px; }
.cy-notice .cy-ico { color: var(--accent); }
.cy-book { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 14px; padding: 14px; margin-right: 72px; border-radius: 24px; background: linear-gradient(145deg, var(--frame-1), var(--frame-2)); box-shadow: 0 20px 50px rgba(16, 24, 40, .16), inset 0 1px 0 rgba(255, 255, 255, .35); }
.cy-book > * { min-width: 0; }
.cy-left, .cy-right { background: var(--paper); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 2px 6px rgba(16, 24, 40, .08); }
.cy-left { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.cy-right { padding: 18px 22px; }
@media (min-width: 1100px) {
  .cy-book { height: min(calc(min(1760px, 96vw) * .5625), calc(100vh - 110px)); min-height: 660px; }
  .cy-left, .cy-right { overflow: auto; scrollbar-width: thin; }
}
.cy-foot { margin: 14px 72px 0 0; text-align: center; font-size: 12px; color: var(--sub); }
.skin-night .cy-foot { color: #a8afd0; }

/* ---------- 왼쪽 프로필 ---------- */
.cy-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.cy-stats p { margin: 0; padding: 8px 10px; border-radius: 12px; background: var(--card); text-align: center; }
.cy-stats span { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--faint); }
.cy-stats b { font-size: 18px; color: var(--accent); }
.cy-card { display: flex; flex-direction: column; gap: 8px; flex: 1 0 auto; }
.cy-photo { display: flex; justify-content: center; align-items: center; padding: 14px; border-radius: 16px; background: linear-gradient(160deg, var(--accent-soft), #fff); }
.cy-avatar { image-rendering: pixelated; }
.cy-photo .cy-avatar { width: 132px; height: 132px; }
.cy-owner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 0; } .cy-owner b { font-size: 18px; }
.cy-grade { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #475467; background: #eef0f4; }
.cy-grade.g2 { color: #2f6f3d; background: #e4f3e6; } .cy-grade.g3 { color: #2c4f9c; background: #e5ecfb; } .cy-grade.g4 { color: #8a5d12; background: #faefd6; }
.cy-mood { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); font-size: 12px; }
.cy-mood span { color: var(--sub); } .cy-mood b { color: var(--accent); }
.cy-mood.empty { background: transparent; padding: 0; }
.cy-intro { margin: 0; color: #4b5563; font-size: 13px; }
.cy-meta { display: flex; gap: 14px; margin: 2px 0 0; font-size: 13px; color: var(--sub); }
.cy-meta a, .cy-meta span { display: inline-flex; align-items: center; gap: 5px; color: var(--sub); } .cy-meta b { color: var(--ink); }
.cy-dotori-note { margin: -4px 0 0; }
.cy-small { margin: 4px 0; font-size: 12px; color: var(--sub); }
.cy-owner-menu { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.cy-alert { margin: 0; padding: 8px 10px; border-radius: 10px; background: #fff4e5; border: 1px solid #f6d6a8; font-size: 12px; }
.cy-rel { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: 13px; } .cy-rel .cy-ico, .cy-rel b { color: var(--accent); }
.cy-req summary { list-style: none; cursor: pointer; } .cy-req summary::-webkit-details-marker { display: none; }
.cy-req form { display: grid; gap: 8px; margin-top: 8px; padding: 12px; border-radius: 12px; background: var(--card); }
.cy-req label { display: grid; gap: 4px; font-size: 12px; color: var(--sub); }
.cy-surf { margin-top: 6px; padding: 12px; border-radius: 14px; background: var(--card); }
.cy-surf label { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-weight: 700; color: var(--ink); }
.cy-surf label .cy-ico { color: var(--accent); }
.cy-surf-row { display: flex; gap: 6px; } .cy-surf select { flex: 1; min-width: 0; }
.cy-gohome { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(135deg, #fff, var(--accent-soft)); color: var(--ink) !important; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease; }
.cy-gohome:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cy-gohome img { border-radius: 10px; }
.cy-gohome span { display: flex; flex-direction: column; line-height: 1.35; } .cy-gohome b { color: var(--accent); font-size: 14px; } .cy-gohome small { color: var(--sub); font-size: 11px; }

/* ---------- 오른쪽 본문 ---------- */
.cy-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.cy-head h1 { margin: 0; font-size: 20px; line-height: 1.3; } .cy-head h1 a { color: var(--ink); }
.cy-head p { margin: 2px 0 0; font-size: 12px; color: var(--sub); }
.cy-box { margin: 0 0 22px; }
.cy-box > h2 { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15px; }
.cy-box > h2 span { display: inline-flex; align-items: center; gap: 8px; }
.cy-box > h2 span::before { content: ""; width: 4px; height: 16px; border-radius: 4px; background: linear-gradient(var(--accent), var(--accent-2)); }
.cy-box.accent { padding: 14px; border-radius: 14px; background: var(--accent-soft); }
.cy-more { font-size: 12px; font-weight: 500; color: var(--sub) !important; }
.cy-home-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr); gap: 22px; align-items: start; }
.cy-two { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: 22px; align-items: start; }
@media (max-width: 1099px) { .cy-home-grid, .cy-two { grid-template-columns: 1fr; } }
.cy-banner { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); }
.cy-banner p { flex: 1; margin: 0; font-size: 13px; } .cy-banner .cy-ico { color: var(--accent); width: 20px; height: 20px; }
.cy-banner.warn { background: #fff4e5; border: 1px solid #f6d6a8; } .cy-banner.soft { background: var(--card); color: var(--sub); }
.cy-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 12px; border: 1px dashed var(--line); border-radius: 14px; text-align: center; color: var(--sub); }
.cy-empty .cy-ico { width: 28px; height: 28px; color: var(--accent-2); }
.cy-empty p { margin: 0; font-size: 13px; }
.cy-list { list-style: none; margin: 0; padding: 0; }
.cy-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cy-list li:last-child { border-bottom: 0; }
.cy-list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.cy-date { flex: none; font-size: 12px; color: var(--faint); white-space: nowrap; }
.cy-lock { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 999px; background: #f1f2f6; color: var(--sub); font-size: 11px; }
.cy-tools { display: inline-flex; gap: 8px; margin-left: auto; }
.cy-md h2, .cy-md h3 { font-size: 14px; margin: 14px 0 6px; } .cy-md p, .cy-md li { margin: 6px 0; }
.cy-md table { border-collapse: collapse; } .cy-md td, .cy-md th { border: 1px solid var(--line); padding: 4px 8px; }

/* ---------- 버튼·입력 ---------- */
.cy-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink) !important; font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1; text-decoration: none !important; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; white-space: nowrap; }
.cy-btn:hover { border-color: var(--accent-2); background: var(--accent-soft); }
.cy-btn:active { transform: translateY(1px); }
.cy-btn.primary { border-color: transparent; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink) !important; box-shadow: 0 2px 8px rgba(16, 24, 40, .15); }
.cy-btn.primary:hover { filter: brightness(1.05); }
.cy-btn.big { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.cy-mini { height: 32px; padding: 0 12px; border: 0; border-radius: 9px; background: var(--ink); color: #fff; font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.cy-mini:hover { filter: brightness(1.2); }
.cy-link { padding: 0; border: 0; background: none; color: var(--faint); font-family: inherit; font-size: 12px; cursor: pointer; }
.cy-link:hover { color: var(--accent); text-decoration: none; }
.cy input:not([type=checkbox]):not([type=file]), .cy select, .cy textarea { width: 100%; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-family: inherit; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.cy textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.6; }
.cy input:focus, .cy select:focus, .cy textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px var(--accent-soft); }
.cy select:disabled { background: var(--card); color: var(--faint); }
.cy-chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--sub); cursor: pointer; }
.form-msg { margin: 0; font-size: 12px; color: var(--sub); } .form-msg.err { color: #c0392b; } .form-msg.ok { color: #2e7d32; }
.cy-compose { display: grid; gap: 8px; margin: 0 0 16px; padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.cy-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.cy-row select { width: auto; }
.cy-row input[name=caption] { flex: 1; width: auto; }
.cy-oneline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 12px; }
.cy-oneline > input { flex: 1; width: auto !important; }
.cy-oneline label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--sub); }
.cy-oneline label input { width: 9em !important; flex: none; }
.cy-search { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cy-search input { border: 0 !important; box-shadow: none !important; } .cy-search .cy-ico { color: var(--faint); }

/* ---------- 일촌평·방명록·다이어리·사진 ---------- */
.cy-notes { list-style: none; margin: 0; padding: 0; }
.cy-notes.ilchon li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cy-notes.ilchon li:last-child { border-bottom: 0; }
.cy-q { flex: 1 1 60%; }
.cy-q::before { content: "\201C"; color: var(--accent-2); font-weight: 700; margin-right: 2px; }
.cy-by { font-size: 12px; color: var(--sub); }
.cy-notes.guest li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; margin: 0 0 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cy-gav .cy-avatar { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); }
.cy-gh { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; } .cy-gh > a { font-weight: 700; color: var(--ink); }
.cy-gb { margin: 6px 0 0; white-space: pre-wrap; }
.cy-reply { margin: 10px 0 0; padding: 8px 12px; border-left: 3px solid var(--accent-2); border-radius: 0 10px 10px 0; background: var(--accent-soft); font-size: 13px; }
.cy-reply b { color: var(--accent); margin-right: 6px; }
.cy-replyf { margin-top: 8px; } .cy-replyf summary { list-style: none; } .cy-replyf summary::-webkit-details-marker { display: none; } .cy-replyf form { margin: 8px 0 0; }
.cy-secret { color: var(--faint); }
.cy-diary { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cy-diary li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cy-dd { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; color: var(--faint); }
.cy-dt { margin: 6px 0 2px; font-size: 15px; }
.cy-photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.cy-photos li { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.cy-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cy-photos p { display: flex; gap: 6px; align-items: center; margin: 0; padding: 8px 10px; font-size: 12px; }
.cy-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cy-thumbs img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.cy-friends { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.cy-friends li { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cy-friends .cy-avatar { flex: none; border-radius: 12px; background: var(--accent-soft); }
.cy-friends p { margin: 0; } .cy-ftools { display: flex; gap: 10px; align-items: center; margin-top: 4px !important; }
.cy-inline summary { list-style: none; } .cy-inline summary::-webkit-details-marker { display: none; } .cy-inline form { margin: 6px 0 0; }
.cy-reqs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cy-reqs li { padding: 12px; border-radius: 12px; background: #fff; }
.cy-reqs p { margin: 0 0 4px; } .cy-reqs q { color: var(--sub); }
.cy-cards { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cy-cards a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink) !important; text-decoration: none !important; text-align: center; transition: transform .15s, box-shadow .15s; }
.cy-cards a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cy-cards .cy-avatar { border-radius: 14px; background: var(--accent-soft); }
.cy-cards span { font-size: 12px; color: var(--sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cy-cards em { font-style: normal; font-size: 11px; color: var(--faint); }
.cy-profile-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--card); }
.cy-profile-card .cy-avatar { flex: none; border-radius: 14px; background: #fff; }
.cy-profile-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; font-size: 13px; }
.cy-profile-card dt { color: var(--sub); } .cy-profile-card dd { margin: 0; }
.cy-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.cy-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cy-table th, .cy-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cy-table thead th { background: var(--card); font-size: 12px; color: var(--sub); font-weight: 600; }
.cy-table tbody tr:last-child th, .cy-table tbody tr:last-child td { border-bottom: 0; }
.cy-table tr.on th, .cy-table tr.on td { background: var(--accent-soft); }
.cy-table tr.on th { color: var(--accent); }

/* ---------- 관리(설정) ---------- */
.cy-settings { display: grid; gap: 14px; }
.cy-fs { margin: 0; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cy-fs legend { padding: 0 6px; font-weight: 700; font-size: 14px; }
.cy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 14px; align-items: start; }
.cy-grid.five { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); flex: 1; }
.cy-field { display: grid; gap: 6px; font-size: 13px; }
.cy-field > span { font-weight: 600; color: #374151; }
.cy-field small { font-size: 11px; color: var(--faint); }
.cy-fs > .cy-field { margin-top: 12px; }
.cy-avrow { display: flex; gap: 16px; align-items: center; }
.cy-avrow > .cy-avatar { flex: none; border-radius: 16px; background: var(--accent-soft); }
.cy-savebar { position: sticky; bottom: -18px; display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin: 0 -22px -18px; padding: 12px 22px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); border-top: 1px solid var(--line); }

/* ---------- 오른쪽 세로 탭 ---------- */
.cy-tabs { position: absolute; top: 32px; right: -66px; display: flex; flex-direction: column; gap: 6px; }
.cy-tab { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 66px; padding: 10px 0 9px; border-radius: 0 14px 14px 0; background: rgba(255, 255, 255, .72); color: var(--sub) !important; font-size: 11px; font-weight: 600; text-decoration: none !important; box-shadow: 2px 2px 8px rgba(16, 24, 40, .08); transition: background .15s, color .15s, transform .15s; }
.cy-tab .cy-ico { width: 18px; height: 18px; }
.cy-tab:hover { background: #fff; color: var(--accent) !important; transform: translateX(2px); }
.cy-tab.on { background: var(--paper); color: var(--accent) !important; box-shadow: 4px 4px 12px rgba(16, 24, 40, .12); }
.cy-tab.own { color: var(--accent) !important; background: var(--accent-soft); }
.cy-tab.own.on { background: var(--paper); }
.skin-night .cy-tab:not(.on) { background: rgba(255, 255, 255, .12); color: #c9cdea !important; }

/* ---------- 레트로 뮤직 플레이어 ---------- */
.cy-player { position: relative; display: flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 12px; background: linear-gradient(#34363d, #1d1f24); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 4px 10px rgba(0, 0, 0, .18); }
.cy-lcd { width: 210px; overflow: hidden; white-space: nowrap; padding: 3px 8px; border-radius: 6px; background: #0c1a10; box-shadow: inset 0 0 8px #000; color: #8cff7a; font: 12px/1.5 "Courier New", monospace; }
.cy-marq { display: inline-block; padding-left: 100%; animation: marq 12s linear infinite; }
.cy-player.off .cy-marq { animation: none; padding-left: 0; color: #5a8a5a; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.cy-pbtn { width: 26px; height: 24px; padding: 0; border: 1px solid #0e0f12; border-radius: 6px; background: linear-gradient(#5a5d66, #34363d); color: #f1f1f1; font-size: 10px; cursor: pointer; }
.cy-pbtn:hover { filter: brightness(1.2); }
.cy-eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; } .cy-eq i { width: 3px; height: 3px; border-radius: 1px; background: #8cff7a; }
.cy-player.playing .cy-eq i { animation: eq .7s infinite ease-in-out alternate; }
.cy-player.playing .cy-eq i:nth-child(2) { animation-delay: .15s; } .cy-player.playing .cy-eq i:nth-child(3) { animation-delay: .3s; } .cy-player.playing .cy-eq i:nth-child(4) { animation-delay: .45s; } .cy-player.playing .cy-eq i:nth-child(5) { animation-delay: .6s; }
@keyframes eq { from { height: 2px; } to { height: 14px; } }
.cy-yt { position: absolute; top: 112%; right: 0; z-index: 5; padding: 4px; background: #1d1f24; border-radius: 10px; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.cy-yt iframe { display: block; width: 220px; height: 124px; border: 0; border-radius: 6px; }

/* ---------- 소개(로그인 전)·회원 찾기 ---------- */
.cy-page { max-width: 1100px; margin: 0 auto; padding: 22px 24px; border-radius: 22px; background: var(--paper); box-shadow: var(--shadow); }
.landing .cy-wrap { width: min(1280px, 94vw); }
.cy-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: center; margin: 8px 0 22px; padding: 28px; border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); }
.cy-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.cy-hero h1 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; }
.cy-hero p { color: #4b5563; }
.cy-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.cy-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; }
.cy-feats div { padding: 18px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.cy-feats .cy-ico { width: 24px; height: 24px; color: var(--accent); }
.cy-feats h3 { margin: 8px 0 4px; font-size: 15px; } .cy-feats p { margin: 0; font-size: 13px; color: var(--sub); }
.landing .cy-box { padding: 20px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); }
.cy-book.locked .cy-right { display: flex; align-items: center; justify-content: center; }

/* ---------- 휴대폰 ---------- */
@media (max-width: 760px) {
  .cy-wrap { width: 100%; padding: 10px 10px 20px; }
  .cy-book { grid-template-columns: 1fr; margin-right: 0; padding: 8px; border-radius: 18px; }
  .cy-notice, .cy-foot { margin-right: 0; }
  .cy-tabs { position: static; flex-direction: row; overflow-x: auto; order: -1; gap: 4px; scrollbar-width: none; }
  .cy-tab { flex: 1 0 auto; width: auto; min-width: 58px; padding: 8px 6px; border-radius: 12px; }
  .cy-right { order: 0; padding: 14px; } .cy-left { order: 1; }
  .cy-photo .cy-avatar { width: 96px; height: 96px; }
  .cy-toplinks span { display: none; } .cy-brand span { display: none; }
  .cy-lcd { width: 140px; }
  .cy-hero { grid-template-columns: 1fr; padding: 18px; } .cy-feats { grid-template-columns: 1fr 1fr; }
  .cy-savebar { margin: 0 -14px -14px; padding: 10px 14px; bottom: -14px; }
}

/* ================= 3D 미니룸 ================= */
.cy-room3d { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.r3-view { position: relative; overflow: hidden; width: 100%; height: 400px; background: radial-gradient(ellipse at 50% 30%, #fffaf0 0%, #f1e6d4 60%, #e2d3bc 100%); }
.r3-stage { position: absolute; left: 50%; top: 0; width: 560px; height: 400px; perspective: 1500px; perspective-origin: 50% 30%; display: flex; justify-content: center; align-items: center; transform-origin: top center; transform: translateX(-50%); transition: transform .45s ease; }
.r3-world { position: relative; transform-style: preserve-3d; transition: transform .5s ease; margin-top: 60px; }
.r3-face { position: absolute; left: 0; top: 0; transform-origin: 0 0; backface-visibility: visible; }
.r3-box, .r3-item { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.r3-floor { transform-style: preserve-3d; }
.r3-cell { position: absolute; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04); cursor: pointer; }
.r3-cell.alt { background: rgba(0, 0, 0, .03); }
[data-edit] .r3-cell:hover { background: rgba(255, 140, 0, .35); }
.r3-wall { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.r3-baseboard { position: absolute; left: 0; top: 0; background: rgba(110, 69, 32, .5); }
.r3-wcell { position: absolute; top: 0; cursor: pointer; } .r3-wcell:hover { background: rgba(255, 140, 0, .22); }
.r3-item { cursor: pointer; }
.r3-item.sel .r3-face { outline: 2px solid #ff8c00; }
.r3-shadow { filter: blur(3px); pointer-events: none; }
.r3-item.lit .r3-face { box-shadow: 0 0 26px 8px rgba(255, 214, 130, .5); }
.r3-item.boing { animation: boing .5s ease; }
@keyframes boing { 0% { transform: translateZ(0); } 35% { transform: translateZ(14px); } 70% { transform: translateZ(-3px); } 100% { transform: translateZ(0); } }
.r3-item.pet { animation: petbob 2.4s ease-in-out infinite; }
@keyframes petbob { 0%, 100% { transform: translateZ(0); } 50% { transform: translateZ(3px); } }
.r3-item.spin { animation: spinz 1.5s ease-in-out; }
@keyframes spinz { to { transform: rotateZ(360deg); } }
.r3-mini { position: absolute; left: 0; top: 0; transform-style: preserve-3d; cursor: pointer; }
.r3-mini-body { transform-style: preserve-3d; animation: breathe 2.6s ease-in-out infinite; }
.r3-mini.walking .r3-mini-body { animation: hop .32s ease-in-out infinite alternate; }
.r3-mini.praying .r3-mini-body { animation: none; transform: scale3d(1, 1, .72); }
.r3-mini.jump .r3-mini-body { animation: jump .6s ease; }
@keyframes breathe { 0%, 100% { transform: translateZ(0); } 50% { transform: translateZ(1.5px); } }
@keyframes hop { from { transform: translateZ(0); } to { transform: translateZ(6px); } }
@keyframes jump { 0% { transform: translateZ(0); } 40% { transform: translateZ(30px); } 100% { transform: translateZ(0); } }
.r3-light { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; }
.t-morning .r3-light { background: linear-gradient(120deg, rgba(255, 236, 200, .55), rgba(255, 255, 255, 0) 55%); mix-blend-mode: soft-light; }
.t-day .r3-light { background: radial-gradient(ellipse at 30% 10%, rgba(255, 255, 230, .35), rgba(255, 255, 255, 0) 60%); mix-blend-mode: soft-light; }
.t-evening .r3-light { background: linear-gradient(160deg, rgba(255, 170, 110, .32), rgba(120, 70, 120, .22)); }
.t-night .r3-light { background: radial-gradient(ellipse at 50% 55%, rgba(60, 70, 130, .08) 0%, rgba(20, 25, 70, .5) 75%); }
.r3-view::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 70px rgba(60, 40, 20, .22); }
.r3-tod { position: absolute; top: 10px; left: 12px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .8); font-size: 11px; font-weight: 600; color: #6b5a3a; }
.r3-bubble { position: absolute; z-index: 4; max-width: 280px; padding: 8px 12px; border-radius: 14px; background: #fff; color: #222; font-size: 13px; line-height: 1.5; transform: translate(-50%, -100%); pointer-events: none; animation: pop .25s ease; box-shadow: 0 8px 20px rgba(0, 0, 0, .16); }
.r3-bubble::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: #fff; transform: translateX(-50%) rotate(45deg); }
@keyframes pop { from { transform: translate(-50%, -80%) scale(.6); opacity: 0; } to { transform: translate(-50%, -100%) scale(1); opacity: 1; } }
.r3-star { position: absolute; top: 12%; left: 15%; width: 90px; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff7c2); border-radius: 2px; box-shadow: 0 0 8px #fff7c2; animation: star 1.4s ease-out forwards; pointer-events: none; z-index: 3; }
@keyframes star { from { transform: translate(0, 0) rotate(18deg); opacity: 1; } to { transform: translate(420px, 140px) rotate(18deg); opacity: 0; } }
.r3-ctrl { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-top: 1px solid var(--line); background: #fff; }
.r3-ctrl .cy-mini { width: 32px; padding: 0; background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.r3-ctrl .cy-mini:hover { background: var(--accent-soft); filter: none; }
.r3-hint { font-size: 12px; color: var(--faint); }
.r3-status { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--sub); }
.r3-tools { padding: 12px; border-top: 1px solid var(--line); background: var(--card); }
.r3-colors { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 10px; font-size: 13px; }
.r3-colors label { display: inline-flex; align-items: center; gap: 6px; } .r3-colors select { width: auto; height: 32px; }
.r3-palette { display: flex; flex-wrap: wrap; gap: 6px; }
.r3-pal { height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-family: inherit; font-size: 12px; color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; }
.r3-pal:hover:not(:disabled) { border-color: var(--accent-2); }
.r3-pal.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.r3-pal:disabled, .r3-pal.locked { color: var(--faint); background: transparent; border-style: dashed; cursor: not-allowed; }
.r3-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; min-height: 32px; font-size: 13px; }
.r3-panel p { margin: 0 4px 0 0; } .r3-panel .cy-mini { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.r3-note { display: inline-flex; align-items: center; gap: 6px; flex-basis: 100%; font-size: 12px; color: var(--sub); } .r3-note input { max-width: 420px; height: 32px !important; }
.r3-tools .cy-row { margin-top: 10px; }
.r3-save { height: 36px; padding: 0 18px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.cy-hero-room .cy-room3d { box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .cy-marq { animation: none; padding-left: 0; } .r3-mini-body, .r3-item.pet, .r3-item.boing, .r3-item.spin { animation: none !important; } .r3-mini, .r3-stage, .r3-world { transition: none !important; } }

/* 밑줄은 쓰지 않는다: 눌러야 하는 것은 단추나 칩 모양으로 만든다 */
a, a:hover, a:focus { text-decoration: none; }
