[hidden] { display: none !important; }
:root {
  --pink: #de4f86;
  --pink-d: #c23a6f;
  --pink-m: #fbd3e2;
  --pink-l: #fff1f6;
  --pink-xl: #fff8fa;
  --lav-l: #f3effd;
  --lav-d: #6450c4;
  --bg: #ffffff;
  --text: #33282d;
  --sub: #6f6168;
  --line: #f3e1e9;
  --warn: #9a5a12;
  --warn-l: #fff3e2;
  --linegreen: #06c755;
  --linegreen-d: #05a648;
  --r: 18px;
  --shadow: 0 1px 4px rgba(194, 58, 111, 0.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: normal;
}
a { color: var(--pink-d); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.4; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
:focus-visible { outline: 3px solid #f59ac0; outline-offset: 2px; }

/* header */
.site-header { background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 56px; }
.logo { display: flex; align-items: center; gap: 2px; text-decoration: none; font-weight: 800; font-size: 21px; flex: none; }
.logo-mark { background: var(--pink); color: #fff; border-radius: 10px; padding: 0 7px; line-height: 30px; }
.logo-text { color: var(--pink-d); letter-spacing: 0.02em; }
.header-nav { display: flex; gap: 2px; font-size: 15px; font-weight: 700; min-width: 0; }
.header-nav a { color: var(--text); text-decoration: none; padding: 10px 8px; white-space: nowrap; }

/* hero */
.hero { background-color: var(--pink-l); background-image: radial-gradient(rgba(222, 79, 134, 0.09) 1.6px, transparent 1.8px); background-size: 18px 18px; padding: 22px 0 20px; border-bottom: 1px solid var(--line); }
.hero h1 { margin: 0 0 8px; font-size: 25px; line-height: 1.4; letter-spacing: 0.01em; }
.hero-lead { margin: 0 0 16px; color: var(--sub); font-size: 15px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip-link { display: inline-flex; align-items: center; min-height: 40px; background: #fff; border: 1px solid var(--pink-m); border-radius: 999px; padding: 0 14px; font-size: 14px; text-decoration: none; color: var(--pink-d); font-weight: 700; }
.chip-link::before { content: "#"; margin-right: 2px; opacity: 0.6; }

/* quick filter（エリア・業種の切り替え） */
.qf { display: grid; gap: 8px; margin: 12px 0; }
.qf-row { display: flex; gap: 6px; }
.qf-row a { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 6px; border-radius: 999px; background: #fff; border: 1px solid var(--pink-m); color: var(--text); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.qf-row a[aria-current] { background: var(--pink); border-color: var(--pink); color: #fff; }

.area-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.area-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.area-main { display: block; padding: 12px; font-weight: 800; text-decoration: none; color: var(--pink-d); background: var(--pink-l); }
.area-main b { display: block; font-size: 20px; }
.area-sub { display: flex; flex-direction: column; padding: 6px 12px 10px; font-size: 14px; }
.area-sub a { text-decoration: none; padding: 6px 0; }

/* section */
.section { margin: 32px 0; }
.sec-h { font-size: 20px; margin: 0 0 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.sec-h::before { content: ""; width: 16px; height: 16px; align-self: center; flex: none; background: var(--pink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.3-9.2C1.4 8.4 3.6 5 7 5c2 0 3.4 1.1 5 3 1.6-1.9 3-3 5-3 3.4 0 5.6 3.4 4.3 6.8C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.3-9.2C1.4 8.4 3.6 5 7 5c2 0 3.4 1.1 5 3 1.6-1.9 3-3 5-3 3.4 0 5.6 3.4 4.3 6.8C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat; }
.sec-h small { color: var(--sub); font-size: 14px; font-weight: 700; }
.page-h { font-size: 23px; line-height: 1.4; margin: 10px 0 12px; }
.intro p { color: var(--sub); font-size: 15px; margin: 0 0 10px; }
.more { text-align: center; margin: 16px 0; }
.more .btn { min-width: min(100%, 300px); }
.count { margin: 14px 0 10px; color: var(--sub); }
.count b { font-size: 21px; color: var(--pink-d); }
.lead { color: var(--sub); }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 12px 0 0; font-size: 13px; color: var(--sub); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.crumbs a { color: var(--sub); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-size: 16px; font-weight: 800; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 56px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:active { background: var(--pink-d); }
.btn-ghost { background: #fff; color: var(--pink-d); border-color: var(--pink-m); }
.btn-line { background: var(--linegreen); color: #fff; }
.btn-line:active { background: var(--linegreen-d); }
.btn-danger { background: #fff; color: #b3261e; border-color: #f2c4bf; }

/* chips & tags */
.chips { margin: 0 0 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 800; border-radius: 6px; padding: 1px 8px; background: var(--pink-l); color: var(--pink-d); }
.chip-shinjuku { background: var(--lav-l); color: var(--lav-d); }
.chip-type { background: #2f2329; color: #fff; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 10px 0 0; }
.tags li { font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; color: var(--sub); background: #fff; }
.tags-lg li { font-size: 14px; padding: 3px 12px; }
.unknown { display: inline-block; font-size: 12px; font-weight: 800; font-style: normal; color: var(--warn); background: var(--warn-l); border-radius: 6px; padding: 0 6px; line-height: 1.6; }

/* 求人カード：スマホは縦1列、PCは2〜3列 */
.cards { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.card-link { display: block; color: inherit; text-decoration: none; flex: 1; }
.card-img { aspect-ratio: 4 / 3; background: var(--pink-l); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 4px; min-width: 0; }
.card-title { margin: 0 0 10px; font-size: 19px; line-height: 1.4; }
.pay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin: 0 0 10px; }
.pay-box { background: var(--pink-l); border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; min-width: 0; }
.pay-trial { background: #fff; border: 1px solid var(--pink-m); }
.pay-label { font-size: 12px; font-weight: 700; color: var(--sub); }
.pay-val { font-size: 16px; font-weight: 800; color: var(--pink-d); line-height: 1.45; }
.facts { margin: 0; font-size: 14px; display: grid; gap: 2px; }
.facts div { display: flex; gap: 8px; }
.facts dt { flex: 0 0 4.6em; color: var(--sub); }
.facts dd { margin: 0; min-width: 0; }
.card-actions { display: flex; align-items: center; gap: 10px; padding: 12px 16px 16px; }
.card-actions .btn-primary { flex: 1; }
.compare-toggle { flex: none; display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--sub); white-space: nowrap; cursor: pointer; }
.compare-toggle input { width: 18px; height: 18px; margin: 0; accent-color: var(--pink); }
.compare-toggle:has(input:checked) { border-color: var(--pink); color: var(--pink-d); background: var(--pink-l); }
.noimg { width: 100%; height: 100%; min-height: 80px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #c98aa5; background: var(--pink-l); }
.empty { background: var(--pink-xl); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 16px; text-align: center; color: var(--sub); }

/* filter */
.filter { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin: 12px 0 16px; }
.filter summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px; font-weight: 800; cursor: pointer; list-style: none; }
.filter summary::-webkit-details-marker { display: none; }
.filter summary::after { content: "＋"; color: var(--pink); }
.filter[open] summary::after { content: "－"; }
.filter form { padding: 0 16px 16px; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
legend { font-weight: 800; font-size: 14px; margin-bottom: 8px; padding: 0; }
.seg, .checks { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label, .checks label { position: relative; }
.seg input, .checks input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span, .checks span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--pink-m); background: #fff; font-size: 15px; cursor: pointer; }
.seg input:checked + span, .checks input:checked + span { background: var(--pink); border-color: var(--pink); color: #fff; font-weight: 700; }
.seg input:focus-visible + span, .checks input:focus-visible + span { outline: 3px solid #f59ac0; }
select, input, textarea { font: inherit; font-size: 16px; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #ead2dc; border-radius: 12px; background: #fff; color: var(--text); }
textarea { resize: vertical; line-height: 1.6; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--pink) 50%), linear-gradient(135deg, var(--pink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
input:focus, select:focus, textarea:focus { border-color: var(--pink); outline: 3px solid var(--pink-m); outline-offset: 0; }

/* detail */
.detail { padding-bottom: 96px; max-width: 760px; }
.gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 12px -16px; padding: 0 16px; scrollbar-width: none; }
.gallery figure { flex: 0 0 88%; max-width: 560px; margin: 0; scroll-snap-align: start; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--pink-l); }
.gallery figure:only-child { flex-basis: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(255, 255, 255, 0.92); border-radius: 6px; font-size: 12px; padding: 0 8px; font-weight: 700; }
.detail-h { margin: 4px 0 6px; font-size: 25px; line-height: 1.35; }
.detail-h small { display: block; font-size: 14px; color: var(--sub); font-weight: 700; }
.catch { font-weight: 700; }
.updated { font-size: 13px; color: var(--sub); margin: 0 0 10px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 14px 0; }
.box-h { font-size: 17px; margin: 0 0 10px; color: var(--pink-d); }
.box p { margin: 0 0 8px; }
.pre { white-space: pre-wrap; }
.note { font-size: 13px; color: var(--sub); }
.fact-table { margin: 0; }
.fact-table div { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.fact-table div:last-child { border-bottom: 0; }
.fact-table dt { flex: 0 0 7.2em; color: var(--sub); font-size: 14px; }
.fact-table dd { margin: 0; flex: 1; min-width: 0; font-weight: 700; white-space: pre-wrap; }
.unknown-note { background: var(--warn-l); color: var(--warn); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.closed-banner { background: #f6f1f3; border-radius: 12px; padding: 14px; margin-top: 12px; display: flex; flex-direction: column; }
.box-apply { border: 2px solid var(--pink-m); background: var(--pink-xl); }
.mini-steps { padding-left: 1.3em; margin: 0 0 10px; }
.apply-btns { display: grid; gap: 10px; }
.apply-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); }
.apply-bar .btn { flex: 1; min-height: 52px; padding: 0 10px; min-width: 0; }
.apply-bar .btn-primary { flex: 1.3; }
@media (min-width: 760px) { .apply-bar { justify-content: center; } .apply-bar .btn { flex: 0 1 300px; } }

/* steps & faq */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px 14px 56px; position: relative; display: flex; flex-direction: column; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--pink-l); color: var(--pink-d); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps span { font-size: 14px; color: var(--sub); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; }
.faq summary { padding: 14px 16px; font-weight: 700; cursor: pointer; }
.faq p { margin: 0; padding: 0 16px 14px; color: var(--sub); }
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.guide-list li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.guide-list a { font-weight: 700; }
.guide-list p { margin: 4px 0 0; font-size: 14px; color: var(--sub); }
.article h2 { font-size: 19px; margin: 26px 0 8px; padding-left: 10px; border-left: 5px solid var(--pink); }

/* forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span, .field > legend { font-weight: 700; font-size: 15px; }
.field em { font-style: normal; font-size: 12px; color: #fff; background: var(--pink); border-radius: 4px; padding: 0 6px; margin-left: 6px; }
.field small, .hint { color: var(--sub); font-size: 13px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; min-height: 44px; padding: 8px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--pink); }
.choose { display: grid; gap: 12px; }
.alt { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 0 16px; }
.alt summary { min-height: 52px; display: flex; align-items: center; font-weight: 700; cursor: pointer; color: var(--sub); }
.alt[open] { padding-bottom: 16px; }
.alt .field { margin-bottom: 12px; }
.line-panel { background: #f0fbf4; border: 2px solid #bfeccd; border-radius: var(--r); padding: 16px; display: grid; gap: 10px; }
.line-step { margin: 0; font-weight: 700; }
.line-text-box summary { cursor: pointer; font-size: 14px; color: var(--sub); min-height: 44px; display: flex; align-items: center; }
.line-text-box textarea { margin-bottom: 8px; font-size: 15px; }
.alert { background: #fff0f0; color: #b3261e; border: 1px solid #f6c9c5; border-radius: 12px; padding: 12px 14px; margin: 0; font-weight: 700; }
.ok { background: #effcf3; color: #1e6b36; border: 1px solid #bfeccd; border-radius: 12px; padding: 12px 14px; font-weight: 700; }
.pulse { animation: pulse 1.6s ease-in-out 2; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(6, 199, 85, 0.18); } }

/* compare */
.compare-scroll { overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
.compare { border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); min-width: 100%; font-size: 14px; }
.compare th, .compare td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; min-width: 9em; }
.compare tbody th { color: var(--sub); position: sticky; left: 0; background: #fff; min-width: 6em; }
.compare-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; gap: 8px; background: #fff; color: var(--text); border: 2px solid var(--pink-m); border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: 0 4px 18px rgba(194, 58, 111, 0.16); max-width: 560px; margin: 0 auto; }
.compare-bar span { flex: 1; font-size: 14px; font-weight: 700; min-width: 0; }
.compare-bar .btn { min-height: 44px; flex: none; }
.has-apply-bar .compare-bar { bottom: 84px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 50; background: var(--text); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; max-width: calc(100% - 32px); text-align: center; }

/* footer */
.site-footer { background: var(--pink-xl); border-top: 1px solid var(--line); margin-top: 48px; padding: 28px 0 100px; font-size: 14px; }
.footer-cols { display: grid; gap: 18px; }
@media (min-width: 720px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-cols a { display: block; color: var(--text); text-decoration: none; padding: 6px 0; }
.footer-h { font-weight: 800; margin: 0 0 4px; color: var(--pink-d); }
.footer-note, .copy { color: var(--sub); font-size: 13px; }

@media (min-width: 720px) {
  .hero { padding: 36px 0 30px; }
  .hero h1 { font-size: 32px; }
  .qf { max-width: 560px; }
  .page-h { font-size: 27px; }
}
.detail-head { display: flex; align-items: center; gap: 12px; }
.detail-head-text { min-width: 0; }
.shop-logo { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: #fff; }

/* お気に入り（♡） */
.card { position: relative; }
.fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 4px rgba(51, 40, 45, 0.12); -webkit-tap-highlight-color: transparent; }
.fav svg { fill: none; stroke: var(--pink); stroke-width: 2; }
.fav[aria-pressed="true"] svg { fill: var(--pink); }
.fav-big { position: static; flex: none; margin-left: auto; border: 1px solid var(--pink-m); box-shadow: none; }

/* ヘッダーのマイページと未読数 */
.header-nav .nav-me { color: var(--pink-d); }
.dot { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 800; line-height: 1; }
@media (max-width: 400px) { .header-nav .nav-flow { display: none; } }

/* 会員ページ */
.me-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 12px 0; }
.me-tabs a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px; background: var(--pink-l); color: var(--pink-d); font-weight: 700; font-size: 14px; text-decoration: none; text-align: center; }
.room-list, .history { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.room-list a { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; background: #fff; }
.room-list a.has-unread { border-color: var(--pink); background: var(--pink-xl); }
.room-list .preview { color: var(--sub); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-list .meta { font-size: 12px; color: var(--sub); display: flex; align-items: center; justify-content: space-between; }
.history li { display: grid; gap: 2px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; }
.history span { font-size: 14px; color: var(--sub); }
.member .box.form { margin: 12px 0; }
.signup-box { text-align: center; }
.withdraw { margin-top: 24px; }
.inline-form { margin-top: 8px; }

/* チャット */
.chat-page { padding-bottom: 8px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.chat-head h1 { font-size: 18px; margin: 0; line-height: 1.3; }
.chat-head h1 small { font-size: 14px; color: var(--sub); font-weight: 700; }
.chat-head a { font-size: 14px; }
.chat-head .back { font-size: 32px; line-height: 1; text-decoration: none; padding: 0 8px; min-height: 44px; display: flex; align-items: center; }
.chat-hint { margin: 8px 0; }
.msgs { list-style: none; margin: 0; padding: 8px 0 12px; display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 85%; }
.msg.mine { align-self: flex-end; align-items: flex-end; }
.bubble { background: #f6f1f3; border-radius: 18px 18px 18px 6px; padding: 10px 14px; min-width: 0; max-width: 100%; }
.mine .bubble { background: var(--pink); color: #fff; border-radius: 18px 18px 6px 18px; }
.bubble p { margin: 0; white-space: pre-wrap; }
.bubble img { margin-top: 6px; max-height: 260px; border-radius: 12px; }
.bubble p + a img { margin-top: 8px; }
.msg-meta { font-size: 12px; color: var(--sub); display: flex; gap: 8px; align-items: center; margin-top: 2px; }
.msg-meta .read { color: var(--pink-d); }
.report-btn { border: 0; background: none; color: var(--sub); font: inherit; font-size: 12px; text-decoration: underline; padding: 6px 4px; cursor: pointer; }
.msg-empty { color: var(--sub); text-align: center; padding: 24px 8px; font-size: 14px; }
.composer { position: sticky; bottom: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 8px; align-items: end; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.composer textarea { min-height: 48px; max-height: 160px; resize: none; }
.composer .send { min-width: 72px; }
.attach { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--pink-d); background: var(--pink-l); cursor: pointer; }
.attach-name { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--sub); }
.chat-notice { margin: 10px 0; }
