@charset "UTF-8";
/* =====================================================================
   Floooot° スタイル (いただいたイメージ画像にそろえた版)
   ・トップ: 上が明るい水色、下が深い青のグラデーション + すりガラスのパネル
   ・ほかの画面: 深い青 (トップと同じにするかは未定)
   ・線と文字はこげ茶、名前やタブの文字はローズ、ボタンはミントと黄色
   ・字体: Zen Maru Gothic (やさしい丸ゴシック)
   色を変えたいときは、すぐ下の :root の数字だけを直してください。
   ===================================================================== */
:root {
  --brown: #3b2a26;         /* 線・文字 */
  --sub: rgba(59, 42, 38, .72);   /* 補足の小さな文字 (半透明のこげ茶。水色の上でも読みやすい) */
  /* サイト内の白は、すべてロゴ「Floooot°」の泡の色 (クリームっぽい柔らかい白) にそろえています */
  --foam: #f9eee6;          /* ロゴの泡の色 */
  --cream: var(--foam);     /* クリーム (写真枠・入力欄・ポイント) */
  --white: var(--foam);
  --rose: #c56b7b;          /* 名前・タブの文字・ポイント */
  --rose-soft: #f6c9d4;     /* 選んでいるタブ */
  --mint: #a9dcb6;          /* ミントのボタン */
  --green: #8fd9a0;
  --logo-rose: #b26f73;      /* ロゴの「Floooot」の色 (お知らせの印) */
  --logo-rose-deep: #a3606a; /* ロゴの色を少し深くしたもの (白い文字を乗せるとき。読みやすさのため) */         /* 「新規登録」のタブとボタン (はっきりしたパステルグリーン) */
  --yellow: #f0d77c;        /* 「ログイン」ボタン */
  --tan: #e6cfa9;           /* タブのイラスト */
  --sky: #a3e2fb;           /* トップの上 */
  --deep: #062e61;          /* トップの下 */
  --navy-bg: #075b91;       /* ほかの画面の背景 */
  --glass: rgba(214, 233, 246, .58);
  --line: 3px solid var(--brown);
  --band: #dc647d;          /* 全ページ共通の、上のピンクの帯 */
  --band-h: calc(8px + env(safe-area-inset-top)); /* 帯の高さ (スマホの時計・電池の部分も含む) */

  --radius: 24px;
  /* 文字はすべて丸ゴシック (Zen Maru Gothic)。読み込めないときも、なるべく近い丸ゴシックで表示 */
  /* どの機種でも日本語の字が出るように、うしろに各機種の日本語フォントを順に並べています
     (iPhone・Mac → Windows → Android・Chromebook → Linux → どれもなければ機種の標準) */
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", "Hiragino Sans", "ヒラギノ角ゴシック",
    "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", "游ゴシック", "Meiryo", "メイリオ",
    "Noto Sans JP", "Noto Sans CJK JP", "Source Han Sans JP", "IPAexGothic", system-ui, sans-serif;
  /* ポイントの数字 (だるまドロップ)。読み込めないときは丸ゴシックの太字で表示 */
  --font-num: "Darumadrop One", var(--font);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; font-family: var(--font); color: var(--brown);
  font-size: 16px; line-height: 1.7; background: var(--navy-bg);
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brown); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------------
   背景
   --------------------------------------------------------------------- */
.wall { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: var(--navy-bg); transition: background .4s; }
body.is-top .wall { background: linear-gradient(180deg, var(--sky) 0%, #6db8e2 30%, #2c76b0 62%, var(--deep) 100%); }
/* ぼんやりした光の粒 */
.wall::after {
  content: ""; position: absolute; inset: 0; filter: blur(6px); opacity: .55;
  background:
    radial-gradient(14px 14px at 18% 38%, rgba(249,238,230,.9), transparent 70%),
    radial-gradient(18px 18px at 72% 30%, rgba(249,238,230,.8), transparent 70%),
    radial-gradient(12px 12px at 40% 58%, rgba(249,238,230,.8), transparent 70%),
    radial-gradient(20px 20px at 84% 52%, rgba(249,238,230,.7), transparent 70%),
    radial-gradient(14px 14px at 28% 72%, rgba(249,238,230,.7), transparent 70%),
    radial-gradient(16px 16px at 62% 80%, rgba(249,238,230,.6), transparent 70%),
    radial-gradient(10px 10px at 90% 74%, rgba(249,238,230,.7), transparent 70%);
}
/* 気泡 (白に濃い青のふち。下から上へ) */
.fizz { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fizz i {
  position: absolute; bottom: -24px; border-radius: 50%;
  border: 1.6px solid #1d3d63;
  background: radial-gradient(circle at 34% 30%, var(--foam) 0 22%, #f2f6fa 45%, #d7e3ee 100%);
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  8% { opacity: 1; }
  50% { transform: translate(8px, -50vh); }
  92% { opacity: .9; }
  100% { transform: translate(-4px, -106vh); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .fizz i { animation: none; bottom: auto; } }

/* ---------------------------------------------------------------------
   骨組み
   --------------------------------------------------------------------- */
.app { max-width: 520px; margin: 0 auto; padding: 0 16px calc(118px + env(safe-area-inset-bottom)); }
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  top: var(--band-h); margin: 0 -16px; padding: 8px 18px 10px;
  background: linear-gradient(var(--navy-bg) 70%, rgba(7,91,145,0));
}
.topbar .logo-s { height: 54px; width: auto; }
.topbar h1 { font-size: 18px; margin: 0; flex: 1; text-align: center; color: var(--cream); word-break: break-all; }
.round-btn {
  color: var(--brown); width: 42px; height: 42px; border-radius: 50%; border: var(--line); background: var(--cream);
  display: grid; place-items: center; cursor: pointer; flex: none; padding: 0;
}
.round-btn svg { width: 24px; height: 24px; }
/* ポイント数: 枠なしの数字だけ。だるまドロップの白 (泡の色) に、こげ茶のふちどり */
.chip {
  display: inline-grid; place-items: center; min-width: 52px; padding: 0 4px; background: none; border: 0;
  font-family: var(--font-num); font-weight: 400; font-size: 30px; line-height: 1; color: var(--foam);
  letter-spacing: .03em;
  /* こげ茶のふちどり (どのブラウザでも同じに見えるよう、影を16方向に重ねています) */
  text-shadow: 2.4px 0.0px 0 var(--brown), 2.2px 0.9px 0 var(--brown), 1.7px 1.7px 0 var(--brown), 0.9px 2.2px 0 var(--brown), 0.0px 2.4px 0 var(--brown), -0.9px 2.2px 0 var(--brown), -1.7px 1.7px 0 var(--brown), -2.2px 0.9px 0 var(--brown), -2.4px 0.0px 0 var(--brown), -2.2px -0.9px 0 var(--brown), -1.7px -1.7px 0 var(--brown), -0.9px -2.2px 0 var(--brown), -0.0px -2.4px 0 var(--brown), 0.9px -2.2px 0 var(--brown), 1.7px -1.7px 0 var(--brown), 2.2px -0.9px 0 var(--brown), 0 3px 0 var(--brown);
}
.chip b { font-weight: inherit; }

h1, h2, h3 { font-weight: 700; line-height: 1.45; margin: 0 0 .5em; }
h2 { font-size: 19px; }

/* すりガラスのカード */
.card {
  position: relative; background: var(--glass); border: var(--line); border-radius: var(--radius);
  padding: 14px 16px; margin: 0 0 14px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.note { color: var(--sub); font-size: 13.5px; line-height: 1.7; }
.empty { text-align: center; color: var(--brown); padding: 22px 10px; font-size: 15px; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 50px; padding: 6px 22px; border-radius: 999px; cursor: pointer; text-decoration: none;
  border: var(--line); color: var(--brown); font-weight: 700; font-size: 18px; letter-spacing: .04em;
  background: var(--mint); transition: transform .08s;
}
.btn:active { transform: translateY(2px); }
.btn[disabled] { opacity: .55; cursor: default; }
.btn.block { display: flex; width: 100%; }
.btn.yellow { background: var(--yellow); }
.btn.green { background: var(--green); }
.btn.white { background: var(--cream); }
.btn.rose { background: var(--rose); color: var(--white); }
.btn.small { min-height: 38px; padding: 2px 16px; font-size: 15px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--sub); text-decoration: underline; cursor: pointer; font-size: 14px; }
.danger-text { color: var(--rose); }

/* 入力欄 */
label.field { display: block; margin: 0 0 12px; }
label.field > span { display: block; font-weight: 700; font-size: 15px; margin-bottom: 3px; }
.input, select.input, textarea.input {
  width: 100%; border: var(--line); border-radius: 16px; background: var(--cream);
  padding: 8px 13px; outline: none; font-size: 16px; /* iPhoneで拡大されない大きさ */
}
textarea.input { resize: none; line-height: 1.6; }
.input:focus { box-shadow: 0 0 0 3px var(--rose-soft); }
.check { display: flex; gap: 10px; align-items: center; margin: 8px 0; font-size: 15px; }
/* チェックボックス: ふつうは白い四角なので、泡の色の四角にこげ茶のチェックで自作 */
.check input {
  appearance: none; -webkit-appearance: none; margin: 0; width: 22px; height: 22px; flex: none; cursor: pointer;
  border: 2px solid var(--brown); border-radius: 6px; background: var(--foam) center / 16px no-repeat;
}
.check input:checked { background-color: var(--brown);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4.5 12.5l5 5L19.5 6.5' fill='none' stroke='%23f9eee6' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.check input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.counter { font-size: 12px; color: var(--sub); }
.counter.over { color: var(--rose); font-weight: 700; }
.error { color: #b23a52; font-weight: 700; font-size: 14.5px; min-height: 1.4em; margin: 6px 0 0; }

/* ラベル付きの行 (合言葉・血液型・星座・自己紹介) */
.lrow { display: flex; align-items: stretch; border: var(--line); border-radius: 14px; overflow: hidden; margin: 0 0 8px; background: var(--cream); }
.lrow > .lab { flex: none; min-width: 92px; display: flex; align-items: center; padding: 6px 12px; background: var(--brown); color: var(--cream); font-weight: 700; }
.lrow > select, .lrow > input, .lrow > textarea, .lrow > .val {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 6px 12px; font-size: 16px; outline: none; color: var(--brown); -webkit-text-fill-color: var(--brown); font-weight: 700;
}
.lrow > select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='10'><path d='M2 2l6 6 6-6' fill='none' stroke='%233b2a26' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") right 12px center no-repeat; padding-right: 36px; }
.lrow > textarea { resize: none; color: var(--brown); font-weight: 400; min-height: 64px; }
.lrow > .val { color: var(--brown); font-weight: 400; white-space: pre-wrap; word-break: break-word; }
.lrow.tall { align-items: stretch; }
.lrow.tall > .lab { align-items: flex-start; padding-top: 9px; }

/* ---------------------------------------------------------------------
   トップ
   --------------------------------------------------------------------- */
.top { display: flex; flex-direction: column; min-height: calc(100dvh - var(--band-h)); }
/* ログイン中はボックスが小さいので、上下のまん中あたりに置いてバランスをとる */
.top-main { flex: 1; display: flex; flex-direction: column; }
.top.is-in { min-height: calc(100dvh - var(--band-h) - 118px - env(safe-area-inset-bottom)); }
.top.is-in .top-main { justify-content: center; padding: 10px 0 24px; }
.top.is-in .top-panel { padding: 84px 24px 34px; }
.top.is-in .hero-actions { gap: 18px; }
.sister { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; font-size: 30px; letter-spacing: .02em; }
.sister sup { font-size: 13px; }
.sister svg { width: 34px; height: 34px; }
/* なかまのサイト (左から Cat See° / Creeeam° / Ill Shh…°。文字とマークは白) */
/* 見出し「MORE」: ボタンと同じすりガラスの札 */
.sister-head { display: flex; align-items: center; gap: 10px; margin: 10px 2px 10px; }
.sister-head::before, .sister-head::after { content: ""; flex: 1; height: 1.5px; background: rgba(230, 243, 252, .55); border-radius: 2px; }
.sister-head span {
  padding: 4px 18px; border-radius: 999px; color: var(--foam); font-size: 16px; font-weight: 800; letter-spacing: .12em;
  background: linear-gradient(180deg, rgba(249,238,230,.26), rgba(249,238,230,.08));
  border: 1.5px solid rgba(249,238,230,.7); box-shadow: inset 0 1px 0 rgba(249,238,230,.45);
}
.sister-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
/* 1つずつ: 浮き出たすりガラスのボタン (名前とマーク + 何のサイトか)。枠の色はそれぞれのサイトの色 */
.sister-row .sister {
  --accent: rgba(249,238,230,.8);
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 86px; padding: 10px 2px 9px; color: var(--foam); font-size: clamp(15px, 4.4vw, 21px); white-space: nowrap;
  border-radius: 20px; border: 2px solid var(--accent);
  background: linear-gradient(180deg, rgba(249,238,230,.30) 0%, rgba(249,238,230,.12) 55%, rgba(249,238,230,.06) 100%);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 6px 0 rgba(6, 40, 84, .55), 0 12px 20px rgba(0, 0, 0, .22), inset 0 2px 0 rgba(249,238,230,.5);
  transition: transform .08s, box-shadow .08s, background .15s;
}
.sister-row .sister.cat { --accent: #f0c2cd; }
.sister-row .sister.sea { --accent: #bcdcf5; }
.sister-row .sister.selfc { --accent: #f4cf8e; }
.sister-row .sister:hover { background: linear-gradient(180deg, rgba(249,238,230,.38), rgba(249,238,230,.14) 55%, rgba(249,238,230,.08)); }
.sister-row .sister:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(6, 40, 84, .55), 0 4px 10px rgba(0, 0, 0, .2), inset 0 2px 0 rgba(249,238,230,.4); }
.sister-row .sister:focus-visible { outline: 3px solid var(--foam); outline-offset: 3px; }
.sister-name { display: inline-flex; align-items: center; gap: 3px; text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.sister-desc {
  font-size: 12.5px; font-weight: 800; letter-spacing: .06em; line-height: 1.5; color: var(--foam);
  padding: 1px 10px; border-radius: 999px; background: rgba(6, 40, 84, .35);
}
.sister-row .sister sup { font-size: .5em; }
.sister-row .sister svg { width: 1.15em; height: 1.15em; flex: none; filter: drop-shadow(0 1px 3px rgba(0,0,0,.25)); }
.sister-row .sister img { width: auto; height: 1.15em; flex: none; filter: drop-shadow(0 1px 3px rgba(0,0,0,.25)); }
/* マークの画像を、文字と同じ色で塗る (Ill Shh…° のマーク) */
.mark-img { display: inline-block; height: 1.15em; aspect-ratio: 96 / 126; flex: none; background: currentColor;
  -webkit-mask: url(/img/selfc-mark.png) center / contain no-repeat; mask: url(/img/selfc-mark.png) center / contain no-repeat; }
/* 見出し「MORE」: 下の3つのサイト名と同じ字体・太さ */
.sister-row .sister .mark-img { filter: drop-shadow(0 1px 3px rgba(0,0,0,.25)); }
.sister-head span { font-size: clamp(15px, 4.4vw, 21px); font-weight: 700; letter-spacing: .02em; line-height: 1.5; padding: 2px 20px; }
.share-row { display: flex; justify-content: center; margin: 14px 0 0; }
/* 広告の枠 (中身は floooot-ads.js が入れます。Creeeam°・Cat See° と同じ考え方) */
.ad-slot { width: min(100%, 728px); margin: 18px auto 20px; display: flex; flex-direction: column; align-items: center; overflow: hidden; text-align: center; }
.ad-slot:empty, .ad-slot[hidden] { display: none; }
.ad-slot:not(:empty)::before { content: "広告（PR）"; margin-bottom: 4px; font-size: 12px; color: #e6f3fc; letter-spacing: .1em; }
.ad-body { position: relative; max-width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.ad-body a { display: block; max-width: 100%; line-height: 0; }
.ad-body img { max-width: 100%; height: auto; }
.ad-body img[width="1"] { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ad-body iframe, .ad-body ins, .ad-body div { max-width: 100%; }
/* 登録・ログインのタブ (選んでいる方は色つき、もう一方はうすく) */
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border: var(--line); border-radius: 999px; overflow: hidden; background: rgba(249,238,230,.55); }
.auth-tabs button {
  border: 0; background: transparent; min-height: 56px; padding: 4px 6px; cursor: pointer; line-height: 1.15;
  font-weight: 700; font-size: 18px; color: rgba(59,42,38,.55); transition: background .15s, color .15s;
}
.auth-tabs button small { display: block; font-size: 12.5px; font-weight: 700; }
.auth-tabs .tab-reg { border-right: 3px solid var(--brown); }
.auth-tabs [aria-selected="true"] { color: var(--brown); box-shadow: inset 0 -5px 0 rgba(59,42,38,.18); }
.auth-tabs .tab-reg[aria-selected="true"] { background: var(--green); }
.auth-tabs .tab-login[aria-selected="true"] { background: var(--yellow); }
.auth-tabs button:focus-visible { outline: 3px solid var(--rose); outline-offset: -6px; }
.auth-form { margin-top: 16px; }
/* お名前と合言葉を覚えておく (スイッチ) */
.remember-toggle {
  display: flex; align-items: center; gap: 10px; width: 100%; margin: 12px 0 4px; padding: 8px 12px;
  border: 2.5px solid var(--brown); border-radius: 16px; background: rgba(249,238,230,.75); cursor: pointer;
  text-align: left; font-weight: 700; font-size: 14.5px; line-height: 1.35; color: var(--sub);
}
.remember-toggle svg { width: 22px; height: 22px; flex: none; color: var(--sub); }
.remember-toggle .rt-label { flex: 1; }
.rt-switch { position: relative; flex: none; width: 50px; height: 28px; border-radius: 999px; background: #d9cfc4; border: 2px solid var(--brown); transition: background .15s; }
.rt-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--foam); border: 2px solid var(--brown); transition: transform .15s; }
.remember-toggle[aria-pressed="true"] { background: var(--foam); color: var(--brown); }
.remember-toggle[aria-pressed="true"] svg { color: var(--rose); }
.remember-toggle[aria-pressed="true"] .rt-switch { background: var(--rose-soft); }
.remember-toggle[aria-pressed="true"] .rt-switch::after { transform: translateX(22px); }
/* 伏せ字 (パスワード欄を使わずに、文字の見た目だけ「●」にする) */
/* 目のアイコン (お名前・合言葉) */
.eye-btn {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 34px; padding: 0; display: grid; place-items: center;
  border: 0; border-radius: 10px; background: transparent; color: var(--sub); cursor: pointer;
}
.eye-btn svg { width: 24px; height: 24px; }
.eye-btn[aria-pressed="true"] { color: var(--rose); }
.pw-wrap .input { padding-right: 52px; }
.remember-note { margin: 2px 2px 6px; font-size: 12.5px; }
.auth-notice { margin: 0 0 12px; padding: 9px 12px; border: 2px solid var(--rose); border-radius: 14px; background: var(--foam); color: #8f3348; font-weight: 700; font-size: 14.5px; line-height: 1.6; }
.logged-in { margin: 0 0 6px; }
/* 「ログイン中」の小さなバッジ (お名前は、外で画面を見られても分からないように出しません) */
.login-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 14px; border: 2px solid var(--brown); border-radius: 999px;
  background: var(--cream); color: var(--brown); font-size: 14.5px; font-weight: 700; letter-spacing: .08em; }
.login-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6cc28a; box-shadow: 0 0 0 2px rgba(108,194,138,.25); }
.top-panel { position: relative; margin: 74px 0 0; padding: 70px 22px 26px; text-align: center; }
.top-panel .logo { position: absolute; left: 50%; top: -52px; transform: translateX(-50%); width: min(94%, 404px); filter: drop-shadow(0 4px 6px rgba(0,0,0,.18)); }
/* キャッチコピー: 丸ゴシック・こげ茶・フチなし */
.top-panel .catch { font-size: 21px; line-height: 1.9; margin: 0 0 22px; color: var(--brown); font-weight: 700; letter-spacing: .05em; }
.top-panel .hero-actions { display: grid; gap: 14px; }
.top-panel form { text-align: left; margin-top: 18px; }
.top-foot { margin-top: auto; padding: 8px 0 calc(16px + env(safe-area-inset-bottom)); }
.foot-links { display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; font-size: 16.5px; margin: 18px 4px 4px; }
.foot-links a { color: #bfe3fb; }
.copy { text-align: center; color: #bfe3fb; font-size: 17px; margin: 6px 0 0; }
/* 合言葉の欄 (右端に目のアイコン) */
.pw-wrap { position: relative; }
label.field.tight { margin-bottom: 3px; }
.pw-hint { margin: 2px 0 6px; font-size: 12.5px; }
.attention { font-size: 14px; color: var(--brown); margin: 6px 0 4px; }

/* ---------------------------------------------------------------------
   つぶやき
   --------------------------------------------------------------------- */
.composer { display: flex; gap: 8px; align-items: flex-end; padding: 10px; }
.composer textarea { min-height: 46px; max-height: 120px; }
.composer .side { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.post { padding: 12px 14px; cursor: pointer; }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.who { background: none; border: 0; padding: 0; font-weight: 800; cursor: pointer; text-align: left; font-size: 17px; color: var(--brown); }
.post-head .time { margin-left: auto; font-size: 13px; white-space: nowrap; color: var(--sub); font-weight: 500; }
/* つぶやきの言葉: Zen Maru Gothic の太字 */
.post-body { white-space: pre-wrap; word-break: break-word; font-size: 16px; font-family: var(--font); font-weight: 700; }
.post-meta { text-align: right; font-size: 13px; color: var(--sub); }
/* いいね・わかる・メッセする: 枠なしで、マークだけ */
.post-actions { display: flex; justify-content: flex-end; gap: 14px; margin-top: 6px; margin-right: -6px; }
.act {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--brown); cursor: pointer; text-decoration: none;
  transition: transform .12s;
}
.act:active { transform: scale(.9); }
.act:focus-visible { outline: 3px solid var(--yellow); outline-offset: 0; }
/* 押したあとは、うすい丸の上にのせて「押した」がわかるように */
.act.on { background: rgba(59, 42, 38, .12); }
.act[disabled] { cursor: default; }
.more { display: flex; justify-content: center; margin: 4px 0 16px; }

/* 写真 (四角)。まだないときは、クリーム色にこげ茶のドット */
.avatar {
  width: 52px; height: 52px; border-radius: 12px; flex: none; overflow: hidden; display: block; border: var(--line);
  background: var(--cream) url(/img/avatar-default.svg) center / cover no-repeat;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 96px; height: 96px; border-radius: 18px; }

/* ---------------------------------------------------------------------
   My log・やりとり
   --------------------------------------------------------------------- */
.log-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-decoration: none; color: inherit; cursor: pointer; }
.log-item .l-main { flex: 1; min-width: 0; }
.log-item .l-name { font-weight: 800; color: var(--brown); font-size: 17px; }
.log-item .l-text { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-item .l-kind { display: block; font-size: 13px; color: var(--sub); font-weight: 500; }
.log-item .l-time { font-size: 13px; white-space: nowrap; align-self: center; color: var(--sub); font-weight: 500; }

.chat { display: flex; flex-direction: column; gap: 8px; padding: 6px 0 12px; }
.bubble-row { display: flex; align-items: flex-end; }
.bubble-row.mine { justify-content: flex-end; }
.bubble { max-width: 78%; padding: 7px 13px; border-radius: 18px; white-space: pre-wrap; word-break: break-word; background: var(--cream); border: var(--line); }
.bubble-row.mine .bubble { background: var(--rose-soft); border-bottom-right-radius: 6px; }
.bubble-row:not(.mine) .bubble { border-bottom-left-radius: 6px; }
.bubble-time { font-size: 12px; color: #cfe6f6; margin: 0 6px; white-space: nowrap; }
.bubble-img { position: relative; max-width: 70%; }
.bubble-img img { border-radius: 14px; max-height: 300px; width: auto; border: var(--line); }
.bubble-img .x { position: absolute; top: -10px; right: -10px; width: 36px; height: 36px; border-radius: 50%; border: var(--line); background: var(--cream); display: grid; place-items: center; cursor: pointer; }
.bubble.gone { color: var(--sub); font-size: 13.5px; opacity: .8; }
.composer-chat { position: sticky; bottom: calc(108px + env(safe-area-inset-bottom)); z-index: 10; display: flex; gap: 8px; align-items: flex-end; padding: 8px; margin-top: 6px; }
.composer-chat textarea { min-height: 46px; max-height: 120px; }
.icon-btn { flex: none; width: 46px; height: 46px; border-radius: 50%; border: var(--line); background: var(--cream); display: grid; place-items: center; cursor: pointer; padding: 0; }
.icon-btn.fill { background: var(--yellow); color: var(--brown); }
.icon-btn[disabled] { opacity: .4; cursor: default; }
.icon-btn svg { width: 24px; height: 24px; }
/* 枠なしのマークだけのボタン (つぶやきの送信): ハンドルネームと同じこげ茶 */
.icon-btn.plain { border: 0; background: none; color: var(--brown); }
.icon-btn.plain svg { width: 28px; height: 28px; }
.icon-btn.plain:focus-visible { outline: 3px solid var(--yellow); outline-offset: 0; }
.unlock { text-align: center; font-size: 13.5px; color: #cfe6f6; margin: 2px auto 0; }

/* ---------------------------------------------------------------------
   プロフィール
   --------------------------------------------------------------------- */
.prof { padding: 14px 16px 12px; }
.prof-top { display: flex; gap: 14px; align-items: flex-end; margin-bottom: 12px; min-height: 96px; }
.prof .info { flex: 1; min-width: 0; padding: 0 0 6px; }
/* お名前: 青い背景にそのまま、こげ茶の太い丸ゴシック (フチや影はなし) */
.prof .name {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%; white-space: nowrap; margin: 0; padding: 4px 2px;
  background: none; border: 0; cursor: pointer; text-align: left;
}
.prof .name-text {
  white-space: nowrap; font-size: 30px; font-weight: 900; line-height: 1.3; letter-spacing: .04em; word-break: break-all; color: var(--brown); -webkit-text-fill-color: var(--brown);
  position: relative; z-index: 0; padding: 0 2px;
}
/* 名前の下 (文字にかぶらない位置) に、太いクレヨンでひいたような下線 (サイトの白 = ロゴの泡の色)。
   形は img/crayon-underline.svg、色はここの background で変えられます */
.prof .name-text::before {
  content: ""; position: absolute; z-index: -1; left: -4px; right: -4px; top: 100%; height: .3em;
  background: var(--foam);
  -webkit-mask: url(/img/crayon-underline.svg) center / 100% 100% no-repeat;
  mask: url(/img/crayon-underline.svg) center / 100% 100% no-repeat;
}
.prof .name-bubbles { flex: none; width: 26px; height: 23px; margin-right: -3px; align-self: flex-start; }
/* 鉛筆: 文字の6割ほどの大きさ。押せることが分かるように */
.prof .name-pen { flex: none; width: 22px; height: 22px; }
.prof .name:active .name-text { opacity: .8; }
p.name { cursor: default; }
/* 歯車: 茶色の丸にクリームの歯車 */
.prof .gear { position: absolute; top: 14px; right: 14px; background: var(--brown); color: var(--cream); }
/* 自己紹介の白い枠 */
.bio-box { margin: 4px 0 6px; }
.bio-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.bio-head .lab { display: inline-block; padding: 3px 16px; border-radius: 999px; background: var(--brown); color: var(--cream); font-weight: 700; }
.bio-head .counter { font-size: 13px; color: var(--sub); }
.bio-head .counter.over { color: #b23a52; font-weight: 700; }
.bio-area {
  /* 最初は4行分の高さ。たくさん書くと、全部見えるところまで自動で伸びます (中でスクロールしない) */
  display: block; width: 100%; height: 118px; padding: 9px 14px; border: var(--line); border-radius: 18px;
  background: var(--foam); color: var(--brown); -webkit-text-fill-color: var(--brown); font-size: 16px; line-height: 1.55; resize: none; outline: none; overflow-y: auto;
  white-space: pre-wrap; word-break: break-word;
}
.bio-area:focus { box-shadow: 0 0 0 3px var(--rose-soft); }
.bio-area.view { height: auto; min-height: 120px; }
.bio-area::placeholder { color: #a8968e; -webkit-text-fill-color: #a8968e; }
.save-profile { margin: 12px 0 2px; }
.prof-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.quiet-row { display: flex; justify-content: center; gap: 18px; margin: 2px 0 6px; }
.quiet-row button { background: none; border: 0; color: #d9ecf8; font-size: 14px; text-decoration: underline; cursor: pointer; padding: 6px; }
.status-note { font-size: 13.5px; background: var(--cream); border: 2px solid var(--brown); border-radius: 12px; padding: 6px 10px; margin: 10px 0 0; }

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li + li { border-top: 2px dashed rgba(59,42,38,.3); }
.menu-list button, .menu-list a { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: 0; padding: 12px 4px; font-weight: 700; color: var(--brown); cursor: pointer; text-decoration: none; font-size: 16px; }

/* ---------------------------------------------------------------------
   下のタブ (post / my log / profile)
   --------------------------------------------------------------------- */
.tabbar {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 30;
  bottom: calc(10px + env(safe-area-inset-bottom)); width: min(488px, calc(100% - 28px));
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  background: var(--white); border-radius: 28px; padding: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; text-decoration: none; border-radius: 22px; padding: 2px 0 0; color: var(--rose); font-weight: 700; font-size: clamp(15px, 4.4vw, 19px); line-height: 1.2; white-space: nowrap; }
.tabbar a svg { width: 50px; height: 42px; }
.tabbar a span { padding-bottom: 4px; }
.tabbar a[aria-current="page"] { background: var(--rose-soft); }

/* お知らせ・小窓 */
.toast {
  /* 画面の下のほう (メニューのすぐ上) に出す。上のロゴには重ならない */
  position: fixed; left: 50%; bottom: calc(128px + env(safe-area-inset-bottom)); transform: translate(-50%, 30px); opacity: 0;
  z-index: 60; background: var(--cream); border: var(--line); border-radius: 16px; padding: 8px 16px; font-weight: 700;
  max-width: calc(100% - 32px); text-align: center; transition: transform .3s, visibility .3s; visibility: hidden;
}
.toast { transition: transform .25s, opacity .25s, visibility .25s; box-shadow: 0 6px 16px rgba(6,46,97,.25); width: max-content; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.modal-back { position: fixed; inset: 0; z-index: 50; background: rgba(6,46,97,.45); display: grid; place-items: center; padding: 20px; }
.modal { width: min(380px, 100%); max-height: 86dvh; overflow: auto; margin: 0; background: var(--white); }
.modal .btns { display: grid; gap: 10px; margin-top: 14px; }
.radio-list { display: grid; gap: 4px; margin: 6px 0 10px; }
.radio-list label { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.radio-list input {
  appearance: none; -webkit-appearance: none; margin: 0; width: 20px; height: 20px; flex: none; cursor: pointer;
  border: 2px solid var(--brown); border-radius: 50%; background: var(--foam);
}
.radio-list input:checked { background: radial-gradient(circle, var(--brown) 0 4.5px, var(--foam) 5px); }
.radio-list input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* 全ページ共通の、上のピンクの帯 (スマホの時計・電池の部分まで塗ります)
   見本の表示のあいだは、帯の中に「見本の表示です」と出ます */
.site-band {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70; min-height: var(--band-h);
  padding: env(safe-area-inset-top) 8px 0; background: var(--band); color: var(--foam);
  text-align: center; font-size: 12.5px; font-weight: 700; line-height: 22px;
}
body.demo { --band-h: calc(26px + env(safe-area-inset-top)); }
.app { padding-top: var(--band-h); }

/* 読み込み中 */
.loading { display: flex; justify-content: center; gap: 8px; padding: 30px 0; }
.loading i { width: 12px; height: 12px; border-radius: 50%; background: var(--foam); border: 1.6px solid #1d3d63; animation: pop 1s infinite; }
.loading i:nth-child(2) { animation-delay: .15s; }
.loading i:nth-child(3) { animation-delay: .3s; }
@keyframes pop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* 規約などの文章ページ */
.doc { padding-top: calc(12px + var(--band-h)); padding-bottom: 40px; }
.doc .doc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.doc .doc-top img { width: 202px; }
/* Creeeam° / Cat See° と同じ「← トップへもどる」(カードの左上) */
.legal-back { display: inline-block; margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--brown); text-underline-offset: 3px; }
.doc .card { line-height: 1.9; background: rgba(249,238,230,.92); }
.doc h2 { margin-top: 1.3em; font-size: 17px; }
.doc h2:first-child { margin-top: 0; }
.doc ol, .doc ul { padding-left: 1.3em; }
.to-top { text-align: center; margin: 14px 0; }
.to-top .btn { min-height: 48px; padding: 4px 36px; font-size: 18px; letter-spacing: .08em; }
.doc .foot-links { justify-content: center; }

/* 管理画面用 (admin.html) */
.tabs-mini { display: flex; gap: 8px; margin-bottom: 14px; }
.tabs-mini button { flex: 1; border: var(--line); background: var(--cream); border-radius: 999px; padding: 6px 4px; font-weight: 700; cursor: pointer; font-size: 14px; }
.tabs-mini button[aria-selected="true"] { background: var(--rose-soft); }
.btn.cherry { background: var(--rose); color: var(--foam); }

/* ---------------------------------------------------------------------
   つぶやきの「…」メニュー (ブロック・通報・削除)
   --------------------------------------------------------------------- */
.more-btn {
  flex: none; width: 34px; height: 30px; margin: -4px -8px -4px 0; padding: 0; display: grid; place-items: center;
  border: 0; border-radius: 999px; background: transparent; color: rgba(59, 42, 38, .7); cursor: pointer;
}
.more-btn svg { width: 20px; height: 20px; fill: currentColor; }
.more-btn:hover, .more-btn[aria-expanded="true"] { background: rgba(249, 238, 230, .7); color: var(--brown); }
/* 小さなクリーム色の吹き出し */
.post-menu {
  position: absolute; z-index: 15; top: 50px; right: 10px; min-width: 210px; padding: 6px;
  background: var(--cream); border: var(--line); border-radius: 16px; box-shadow: 0 8px 20px rgba(6, 46, 97, .25);
  display: grid; gap: 2px; animation: menu-pop .14s ease-out;
}
.post-menu::before {
  content: ""; position: absolute; top: -9px; right: 14px; width: 14px; height: 14px; background: var(--cream);
  border-left: var(--line); border-top: var(--line); transform: rotate(45deg); border-top-left-radius: 3px;
}
.post-menu button {
  position: relative; display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 11px; background: transparent;
  color: var(--brown); font-weight: 700; font-size: 15px; text-align: left; cursor: pointer;
}
.post-menu button:hover, .post-menu button:focus-visible { background: rgba(240, 215, 124, .45); outline: none; }
@keyframes menu-pop { from { opacity: 0; transform: translateY(-4px) scale(.97); } to { opacity: 1; transform: none; } }
.small-note { display: inline-block; margin-top: 6px; font-size: 12.5px; color: var(--sub); }
/* ブロックしたユーザー一覧の「解除する」 */
.unblock-pill { flex: none; padding: 2px 12px; border: 2px solid var(--brown); border-radius: 999px; background: var(--yellow); font-size: 13px; font-weight: 700; color: var(--brown); }

/* ---------------------------------------------------------------------
   新着メッセージの印 (自分にだけ見える)
   --------------------------------------------------------------------- */
.tabbar a { position: relative; }
.tab-badge {
  position: absolute; top: 2px; right: calc(50% - 40px); min-width: 24px; height: 24px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 999px; border: 2px solid var(--brown);
  background: var(--logo-rose-deep); color: var(--foam); font-size: 13px; font-weight: 900; line-height: 1;
  box-shadow: 0 2px 6px rgba(6, 46, 97, .25); animation: badge-pop .3s ease-out;
}
@keyframes badge-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
/* my log: メッセージのやりとりは、読んだあともクリーム色 (つぶやき・いいねの水色と見分けがつくように) */
.log-item.msg { background: var(--cream); -webkit-backdrop-filter: none; backdrop-filter: none; }
.log-item.msg .l-text { color: var(--brown); }
/* まだ読んでいないメッセージ: チャットの自分の吹き出しと同じピンクで塗る */
.log-item.msg.unread { background: var(--rose-soft); border-color: var(--logo-rose-deep); box-shadow: 0 0 0 3px rgba(178, 111, 115, .25); }
.log-item.msg.unread .l-text { font-weight: 700; }

/* 未読の丸い印 (ロゴの色) */
.unread-dot {
  display: inline-block; flex: none; width: 14px; height: 14px; margin-left: 8px; border-radius: 50%; vertical-align: 1px;
  background: var(--logo-rose); border: 2px solid var(--brown); box-shadow: 0 0 0 3px rgba(178, 111, 115, .25);
}
/* 上から出る「〇〇さんからメッセージが届いています」(ロゴの色の帯。押すとそのやりとりへ) */
.msg-notice {
  position: fixed; z-index: 65; left: 50%; top: calc(var(--band-h) + 10px); transform: translate(-50%, -140%);
  display: flex; align-items: center; gap: 8px; width: min(480px, calc(100% - 24px)); padding: 13px 16px;
  background: var(--logo-rose-deep); border: var(--line); border-radius: 18px; box-shadow: 0 10px 26px rgba(6, 46, 97, .38);
  color: var(--foam); font-weight: 800; font-size: 15.5px; text-align: left; cursor: pointer;
  opacity: 0; visibility: hidden; transition: transform .3s ease, opacity .3s, visibility .3s;
}
.msg-notice.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; animation: notice-nudge .6s ease .35s 2; }
@keyframes notice-nudge { 0%, 100% { margin-top: 0; } 50% { margin-top: 5px; } }
.msg-notice-icon { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--foam); color: var(--logo-rose-deep); }
.msg-notice-icon svg { width: 20px; height: 20px; animation: bell .8s ease .3s 2; transform-origin: 50% 10%; }
@keyframes bell { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(14deg); } 75% { transform: rotate(-14deg); } }
.msg-notice-text { flex: 1; min-width: 0; }
.msg-notice-go { font-size: 24px; line-height: 1; color: var(--foam); }
/* 下から出る知らせ: 長い文章も読みやすく。タップで閉じられる */
.toast { cursor: pointer; line-height: 1.65; text-wrap: pretty; }

/* つぶやき: アイコンを押すとプロフィールへ */
.avatar-btn { flex: none; padding: 0; border: 0; background: none; border-radius: 12px; cursor: pointer; }
.avatar-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.post { cursor: default; }
/* つぶやきの下の段: 左に数、右に「＋」(リアクション) */
.post-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; min-height: 32px; }
.post-foot .post-meta { text-align: left; }
.react-toggle {
  flex: none; display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
  width: 36px; height: 36px; padding: 0; margin-right: -6px;
  border: 0; border-radius: 50%; background: none; color: var(--brown); cursor: pointer;
}
/* 閉じているときは「＋」、開いているときは「✓」 (枠なし・ハンドルネームと同じこげ茶) */
.react-toggle svg { width: 24px; height: 24px; }
.react-toggle .i-check { display: none; }
.react-toggle[aria-expanded="true"] .i-plus { display: none; }
.react-toggle[aria-expanded="true"] .i-check { display: block; }
.react-toggle:focus-visible { outline: 3px solid var(--yellow); outline-offset: 0; }

/* いいね (グッド)・わかる (ハート) のマーク */
.ic { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -0.28em; flex: none; }
.cnt { display: inline-flex; align-items: center; gap: 3px; margin-right: 10px; font-weight: 800; color: var(--brown); font-size: 14.5px; }
.cnt .ic { width: 20px; height: 20px; }
.post-meta .cnt:last-child, .l-counts .cnt:last-child { margin-right: 0; }
.l-kind .cnt { margin: 0 0 0 2px; vertical-align: -2px; }
.l-counts { margin-left: 8px; }
.act .ic { margin: 0; width: 30px; height: 30px; vertical-align: 0; }
.l-kind .l-counts .cnt { margin: 0 10px 0 0; }

/* Xでシェア: Creeeam°・Cat See° と同じ黒地に白文字 */
.x-share {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 24px;
  color: var(--foam); background: #000; border: 0; border-radius: 999px; text-decoration: none;
  font-weight: 800; font-size: 16px; letter-spacing: .04em; line-height: 1.3;
}
.x-share svg { width: 18px; height: 18px; flex: none; }
.x-share:hover { background: #1c181b; }
.x-share:active { transform: translateY(1px); }

/* パスワード保存 (キーチェーンなど) の案内 */
.keychain-note { display: flex; align-items: flex-start; gap: 6px; margin: 8px 2px 0; font-size: 13px; line-height: 1.6; color: var(--sub); font-weight: 600; }
.keychain-note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--brown); }
.remember-toggle .rt-label small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 600; color: var(--sub); }

/* 「このスマホに覚えた…でログイン」ボタンと「または」の線 */
.saved-login { line-height: 1.45; margin-bottom: 4px; }
.or-line { display: flex; align-items: center; gap: 10px; margin: 14px 2px 6px; font-size: 13px; font-weight: 600; color: var(--sub); }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1.5px; background: rgba(59,42,38,.25); border-radius: 1px; }

/* =====================================================================
   黄色の背景 (お試し版)
   index.html の <body class="theme-yellow"> のときだけ効きます。
   青に戻すときは、index.html の class="theme-yellow" を消すだけで元どおりです。
   ===================================================================== */
body.theme-yellow {
  --yellow-bg: #fed023;     /* ほかの画面の背景 (ファビコンの黄色) */
  --navy-bg: var(--yellow-bg);
  --glass: rgba(249, 238, 230, .6);   /* カードのすりガラス: 黄色の上なので泡の色に */
  background: var(--yellow-bg);
}
/* トップだけグラデーション: 上が明るいレモン色、下が濃い山吹色 */
body.theme-yellow.is-top .wall { background: linear-gradient(180deg, #fff3b8 0%, #ffe36a 30%, #fed023 62%, #f0a800 100%); }
body.theme-yellow .topbar { background: linear-gradient(var(--yellow-bg) 70%, rgba(254, 208, 35, 0)); }
/* 背景が明るいので、白や水色だった文字・線をこげ茶に */
body.theme-yellow .topbar h1 { color: var(--brown); }
body.theme-yellow .sister-head::before, body.theme-yellow .sister-head::after { background: rgba(59, 42, 38, .35); }
body.theme-yellow .sister-head span { color: var(--brown); border-color: rgba(59, 42, 38, .4); background: rgba(249, 238, 230, .6); box-shadow: none; }
body.theme-yellow .sister-row .sister {
  border-color: rgba(59, 42, 38, .4);   /* 3つとも「MORE」の枠と同じ色 (影の色になじむこげ茶) */
  color: var(--brown); background: linear-gradient(180deg, rgba(249,238,230,.8) 0%, rgba(249,238,230,.55) 100%);
  box-shadow: 0 5px 0 rgba(59, 42, 38, .28), 0 10px 18px rgba(59, 42, 38, .15), inset 0 2px 0 rgba(249,238,230,.9);
}
body.theme-yellow .sister-row .sister:hover { background: linear-gradient(180deg, rgba(249,238,230,.95), rgba(249,238,230,.7)); }
body.theme-yellow .sister-row .sister:active { box-shadow: 0 1px 0 rgba(59, 42, 38, .28), 0 3px 8px rgba(59, 42, 38, .15), inset 0 2px 0 rgba(249,238,230,.9); }
body.theme-yellow .sister-row .sister:focus-visible { outline-color: var(--brown); }
body.theme-yellow .sister-name { text-shadow: none; }
body.theme-yellow .sister-row .sister svg, body.theme-yellow .sister-row .sister .mark-img { filter: none; }
body.theme-yellow .sister-desc { background: var(--brown); color: var(--foam); }
body.theme-yellow .foot-links a, body.theme-yellow .copy { color: var(--brown); }
body.theme-yellow .ad-slot:not(:empty)::before { color: var(--sub); }
body.theme-yellow .bubble-time, body.theme-yellow .unlock { color: var(--brown); }

/* Ill Shh…° のボタンの「サイコパス診断」: 7文字あるので、このボタンだけ文字の間隔と余白を少し詰めて、ボタンの中に収めます */
.sister-row .sister.selfc .sister-desc { letter-spacing: 0; padding: 1px 6px; font-size: min(12.5px, 3.3vw); max-width: calc(100% - 4px); }

/* ロボット確認 (Turnstile): ふだんは見えない。チェックが必要なときだけ枠が出ます */
.ts-box { display: flex; justify-content: center; }
.ts-box:not(:empty) { margin: 8px 0; }

/* =====================================================================
   ゆるいデザイン (2026-11-25)
   「箱に入れない・線を細く・字を軽く・色をやさしく・背景をやわらかく」で、のんびり眺められる画面に。
   ・ほかの画面の背景も、トップと同じ明るい水色の系統に (紙に水彩でにじませたような質感)
   ・つぶやき / my log / メッセージ / プロフィールは、カードの太い枠をやめて、背景にそのまま文字をのせる
   ・字は手書きふうの「よもぎフォント (Yomogi)」。Google Fonts から読み込み、JIS第二水準までの漢字が入っています。
     読み込めないときや、フォントにない字 (絵文字など) は、その字だけ丸ゴシック → 各機種の日本語フォントで出るので、文字化けしません
   ・文字の色は、こげ茶をうすめた色に (圧迫感をへらす)。アイコンの線の色はそのまま
   この区切りより下を消すと、前のデザインにもどります。
   ===================================================================== */
:root {
  --ink: #322a27;                             /* 文字の色: ほぼ黒 (星の王子さまメッセージと同じく黒系。真っ黒より少しだけやわらかく) */
  --brown: var(--ink);
  --sub: rgba(50, 42, 39, .58);               /* 時刻などの小さな文字 */
  --rose: #cd7d8b;                            /* 名前の色: 少し明るく */
  --paper-top: #e6f5f9;
  --paper-bottom: #cbe7f1;
  --line: 1.5px solid rgba(102, 84, 77, .4);  /* 太い3pxの線 → 細くやわらかい線 */
  --soft-line: 1.5px dashed rgba(102, 84, 77, .2);
  --band: #e8899c;                            /* 上の帯: 少しやわらかいピンク */
  --font-hand: "Yomogi", var(--font);         /* 手書きふうの字 */
}
body { background: var(--paper-top); color: var(--ink); }

/* 背景: 明るい水色に、水彩のにじみと紙の質感 */
.wall, body.is-top .wall {
  background:
    radial-gradient(60% 40% at 15% 20%, rgba(255, 255, 255, .55), transparent 70%),
    radial-gradient(50% 35% at 85% 60%, rgba(150, 205, 228, .35), transparent 70%),
    radial-gradient(45% 30% at 30% 85%, rgba(255, 255, 255, .45), transparent 70%),
    linear-gradient(180deg, var(--paper-top) 0%, var(--paper-bottom) 100%);
}
.wall::after {
  filter: none; opacity: .5; mix-blend-mode: multiply;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .55  0 0 0 0 .62  0 0 0 0 .68  0 0 0 .16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* 気泡: こい青のふちをやめて、うすく白い泡に */
.fizz i { border: 1px solid rgba(102, 84, 77, .16); background: radial-gradient(circle at 34% 30%, #fff 0 20%, rgba(255,255,255,.75) 45%, rgba(214, 236, 246, .6) 100%); opacity: .8; }
.loading i { border-color: rgba(102, 84, 77, .3); }

/* ロゴの段は背景と同じ色に溶けこませる */
.topbar { background: linear-gradient(var(--paper-top) 70%, rgba(230, 245, 249, 0)); }
.topbar h1 { color: var(--ink); }
.topbar .logo-s { height: 46px; }
.chip { font-size: 26px; }

/* 白っぽかった文字 (濃い青の上で使っていたもの) を、うすいこげ茶に */
.bubble-time, .unlock, .quiet-row button, .foot-links a, .copy, .ad-slot:not(:empty)::before { color: var(--sub); }

/* カード全般: 太い枠の箱 → うすい紙を一枚置いたくらいに */
.card { background: rgba(255, 255, 255, .42); border: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.card.empty { background: none; border: 0; color: var(--sub); font-family: var(--font-hand); }

/* ボタン: 線を細く、字は太すぎないように */
.btn { border: var(--line); font-weight: 700; box-shadow: 0 2px 0 rgba(102, 84, 77, .1); }
.btn.white { background: rgba(255, 255, 255, .7); }
.round-btn, .icon-btn { border: var(--line); }
.avatar { border: 1.4px solid rgba(102, 84, 77, .3); border-radius: 10px; }
.avatar.lg { border-radius: 16px; }

/* ---- つぶやき: 箱をやめて「アイコン | 名前・時刻 / 本文」の並びに。区切りは点線だけ ---- */
.composer.card { background: rgba(255, 255, 255, .55); border-radius: 18px; padding: 8px 8px 8px 10px; margin-bottom: 6px; }
.composer .input { border: 0; background: transparent; box-shadow: none; font-family: var(--font-hand); font-size: 17px; }
.post.card {
  display: grid; grid-template-columns: 46px 1fr auto auto; column-gap: 12px; align-items: start;
  background: none; border: 0; border-radius: 0; margin: 0; padding: 16px 2px 14px;
  border-bottom: var(--soft-line);
}
.post .post-head { display: contents; }
.post .avatar-btn { grid-row: 1 / span 3; grid-column: 1; }
.post .avatar { width: 46px; height: 46px; }
.post .who { grid-column: 2; font-family: var(--font-hand); font-weight: 400; color: var(--rose); font-size: 17px; line-height: 1.5; }
.post .post-head .time { grid-column: 3; font-family: var(--font-hand); font-size: 13px; color: var(--sub); line-height: 1.9; margin: 0; }
.post .more-btn { grid-column: 4; margin: -2px -8px 0 0; color: rgba(102, 84, 77, .45); }
.post .post-body { grid-column: 2 / -1; font-family: var(--font-hand); font-weight: 400; font-size: 17.5px; line-height: 1.75; margin-top: 2px; color: var(--ink); }
.post .post-foot, .post .post-actions { grid-column: 2 / -1; }
.post .post-foot { min-height: 0; margin-top: 0; }
.post .react-toggle { width: 32px; height: 32px; color: rgba(102, 84, 77, .5); }
.post .react-toggle svg { width: 20px; height: 20px; }

/* ---- my log: 同じく箱をやめて、行だけ ---- */
.log-item.card { background: none; border: 0; border-radius: 0; margin: 0; padding: 14px 2px; border-bottom: var(--soft-line); align-items: flex-start; }
.log-item .avatar { width: 46px; height: 46px; }
.log-item .l-name { font-family: var(--font-hand); font-weight: 400; color: var(--rose); font-size: 17px; }
.log-item .l-kind { font-family: var(--font-hand); font-size: 13.5px; color: var(--sub); }
.log-item .l-text { font-family: var(--font-hand); font-size: 17px; color: var(--ink); }
.log-item .l-time { font-family: var(--font-hand); font-size: 13px; align-self: flex-start; padding-top: 2px; }
.cnt { font-weight: 400; color: var(--sub); }
.log-item.msg { background: none; }
.log-item.msg .l-text { color: var(--ink); }
/* 未読のメッセージ: うすいピンクの、ふちなしの帯 */
.log-item.msg.unread { background: rgba(246, 201, 212, .45); border: 0; border-radius: 16px; box-shadow: none; padding-left: 10px; padding-right: 10px; margin: 4px -8px; border-bottom: 0; }
.log-item.msg.unread .l-text { font-weight: 400; }
.unread-dot { width: 9px; height: 9px; border: 0; box-shadow: none; margin-left: 6px; vertical-align: 2px; }

/* ---- メッセージ (チャット) ---- */
.bubble { border: 1.4px solid rgba(102, 84, 77, .22); background: rgba(255, 255, 255, .8); font-family: var(--font-hand); font-size: 17px; line-height: 1.7; padding: 8px 14px; color: var(--ink); }
.bubble-row.mine .bubble { background: rgba(246, 201, 212, .8); }
.bubble-time { font-family: var(--font-hand); }
.bubble-img img { border: 1.4px solid rgba(102, 84, 77, .22); }
.composer-chat.card { background: rgba(255, 255, 255, .7); border-radius: 22px; }
.composer-chat .input { border: 0; background: transparent; box-shadow: none; font-family: var(--font-hand); font-size: 17px; }
.icon-btn.fill { border: 0; }

/* ---- プロフィール: 黒いラベルの札をやめて、左にローズの見出し・右に値 (下に点線) ---- */
.prof.card { background: none; border: 0; padding: 6px 4px 12px; }
.prof .name-text { font-family: var(--font-hand); font-size: 28px; font-weight: 400; color: var(--ink); -webkit-text-fill-color: var(--ink); }
.prof .name-text::before { background: var(--rose-soft); }   /* 名前の下のクレヨン線: 明るい背景でも見えるように */
.prof .gear { top: 6px; right: 4px; background: rgba(255, 255, 255, .6); color: var(--ink); border: var(--line); }
.lrow { border: 0; border-radius: 0; background: none; margin: 0; border-bottom: var(--soft-line); overflow: visible; }
.lrow > .lab { background: none; color: var(--rose); font-family: var(--font-hand); font-weight: 400; font-size: 17px; min-width: 96px; padding: 12px 4px; }
.lrow > select, .lrow > input, .lrow > textarea, .lrow > .val { font-family: var(--font-hand); font-weight: 400; font-size: 17px; padding: 12px 8px; color: var(--ink); -webkit-text-fill-color: var(--ink); }
.lrow > select { background-position: right 6px center; padding-right: 30px; }
.bio-box { margin-top: 14px; }
.bio-head .lab { background: none; color: var(--rose); padding: 0 4px; font-family: var(--font-hand); font-weight: 400; font-size: 17px; }
.bio-area { border: 1.4px solid rgba(102, 84, 77, .22); background: rgba(255, 255, 255, .6); font-family: var(--font-hand); font-size: 17px; line-height: 1.75; color: var(--ink); -webkit-text-fill-color: var(--ink); }
.save-profile { margin-top: 18px; }
.status-note { border: 1.4px solid rgba(102, 84, 77, .22); background: rgba(255, 255, 255, .6); }

/* 下のメニュー・お知らせ: 影をやわらかく */
.tabbar { box-shadow: 0 4px 16px rgba(102, 84, 77, .1); background: rgba(249, 238, 230, .94); }
.toast { border: var(--line); box-shadow: 0 6px 16px rgba(102, 84, 77, .15); }
.modal-back { background: rgba(102, 84, 77, .28); }

/* 写真がまだない人のアイコン: 線を細く、色をうすく (img/avatar-default-soft.svg) */
.avatar { background-image: url(/img/avatar-default-soft.svg); }
/* 「〇〇さんからメッセージが届いています」の帯: 濃いローズ → うすいピンクに、やさしい文字 */
.msg-notice { background: #f8d3db; color: var(--ink); border: var(--line); box-shadow: 0 8px 20px rgba(102, 84, 77, .16); font-family: var(--font-hand); font-weight: 400; font-size: 16.5px; }
.msg-notice-icon { background: rgba(255, 255, 255, .8); color: var(--rose); }
.msg-notice-go { color: var(--rose); }
.tab-badge { border: 0; background: var(--rose); box-shadow: none; }

/* ---------------------------------------------------------------------
   中性的な色 (2026-11-25): ピンクを減らして「ミルクティー × ソーダ」に
   ・名前などの差し色 = キャラメル色 (星の王子さまメッセージのオレンジのような役目。男女どちらにもなじむ)
   ・選んでいるタブ・自分の吹き出し・未読 = うすいミルクティー色
   ・ロゴの文字 = ココア色 (img/logo-top-soft.png / logo-top-s-soft.webp。元の画像はそのまま残しています)
   --------------------------------------------------------------------- */
:root {
  --rose: #b07a5a;           /* 差し色 (名前): キャラメル */
  --accent-soft: #f1e5d8;    /* うすいミルクティー */
  --rose-soft: var(--accent-soft);
  --band: #9ccbdd;           /* 上の帯: やわらかいソーダ色 */
  --yellow: #f1e2a6;         /* 保存ボタンなどの黄色を、少しやさしく */
}
.site-band { color: #fff; }
/* 下のメニュー: 文字はやわらかいこげ茶、選んでいるところはミルクティー */
.tabbar a { color: var(--sub); }
.tabbar a[aria-current="page"] { background: var(--accent-soft); color: var(--ink); }
.tab-badge { background: var(--rose); }
/* 自分の吹き出し */
.bubble-row.mine .bubble { background: rgba(241, 229, 216, .92); }
/* 未読のメッセージ: うすいミルクティーの帯 + キャラメルの点 */
.log-item.msg.unread { background: rgba(255, 255, 255, .55); }
.unread-dot { background: var(--rose); }
/* お知らせの帯: 白っぽいミルクティー */
.msg-notice { background: #f8f0e8; }
.msg-notice-icon { color: var(--rose); }
.msg-notice-go { color: var(--rose); }

/* my log: 自分のつぶやきは右寄せ (アイコンも右)。ほかの人のことは左寄せのまま */
.log-item.mine { flex-direction: row-reverse; text-align: right; }
.log-item.mine .l-time { padding-top: 2px; }
.log-item.mine .l-counts { margin: 0 8px 0 0; }

/* プロフィール: ファンシーさをおさえる
   ・見出し (年代・都道府県…) は差し色をやめて、うすいこげ茶
   ・名前の下の線は、下のメニューと同じクリーム系のなじむ色 */
.lrow > .lab, .bio-head .lab { color: var(--sub); }
.prof .name-text::before { background: #ecdccb; }
.prof .name-bubbles { opacity: .7; }

/* トップの「MORE」となかまのサイトのボタン: 明るい背景でも読めるように、白い文字 → こげ茶の文字 */
.sister-head::before, .sister-head::after { background: rgba(102, 84, 77, .2); }
.sister-head span { color: var(--ink); background: rgba(255, 255, 255, .55); border: var(--line); box-shadow: none; }
.sister-row .sister { color: var(--ink); background: rgba(255, 255, 255, .55); box-shadow: 0 3px 0 rgba(102, 84, 77, .12); }
.sister-row .sister:hover { background: rgba(255, 255, 255, .7); }
.sister-row .sister:active { box-shadow: 0 1px 0 rgba(102, 84, 77, .12); }
.sister-name, .sister-row .sister svg, .sister-row .sister img, .sister-row .sister .mark-img { text-shadow: none; filter: none; }
.sister-desc { color: var(--ink); background: rgba(102, 84, 77, .08); font-weight: 700; }

/* =====================================================================
   もうひと押し (2026-11-25): サイトの字はすべてよもぎフォント、枠はできるだけなくす
   ===================================================================== */
:root {
  /* 字: よもぎフォントを先頭に。読み込めないとき・ない字は、そのうしろの丸ゴシック → 各機種のフォントで出ます */
  --font: "Yomogi", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", "Hiragino Sans", "ヒラギノ角ゴシック",
    "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", "游ゴシック", "Meiryo", "メイリオ",
    "Noto Sans JP", "Noto Sans CJK JP", "Source Han Sans JP", "IPAexGothic", system-ui, sans-serif;
  --font-hand: var(--font);
  --font-num: "Darumadrop One", var(--font);
  /* 枠: なし (色の面と、ごくうすい影だけで分ける) */
  --line: 0 solid transparent;
  --fill: rgba(255, 255, 255, .62);   /* 入力欄・白いボタンの面 */
}
/* よもぎフォントには太字がないので、ブラウザがむりに太らせない (にじまないように) */
body { font-synthesis: none; letter-spacing: .02em; }
button, input, select, textarea { font-family: var(--font); }

/* ボタン: 枠なしの、やわらかい色の丸いボタン */
.btn { border: 0; box-shadow: 0 2px 6px rgba(102, 84, 77, .1); letter-spacing: .08em; font-size: 18px; }
.btn.white { background: var(--fill); }
.round-btn, .icon-btn { border: 0; background: var(--fill); box-shadow: 0 1px 4px rgba(102, 84, 77, .1); }
.icon-btn.plain { background: none; box-shadow: none; }
.icon-btn.fill { background: var(--yellow); }
.prof .gear { border: 0; }
.save-profile { width: auto; min-width: 60%; margin-left: auto; margin-right: auto; display: flex; }

/* 入力欄: 枠なしの白い面 */
.input, select.input, textarea.input { border: 0; background: var(--fill); }
.input:focus, .bio-area:focus { box-shadow: 0 0 0 2px rgba(156, 203, 221, .8); }
.bio-area { border: 0; background: var(--fill); }
.composer.card, .composer-chat.card { border: 0; box-shadow: 0 2px 8px rgba(102, 84, 77, .06); }
.bubble { border: 0; box-shadow: 0 1px 4px rgba(102, 84, 77, .08); }
.bubble-img img { border: 0; }
.avatar { border: 0; box-shadow: 0 0 0 1px rgba(102, 84, 77, .12); }

/* トップの箱・登録とログインのタブ・覚えておくスイッチ */
.top-panel.card { background: rgba(255, 255, 255, .38); border: 0; box-shadow: 0 4px 18px rgba(102, 84, 77, .06); }
.auth-tabs { border: 0; background: rgba(255, 255, 255, .5); }
.auth-tabs .tab-reg { border-right: 0; }
.auth-tabs button { font-weight: 400; color: var(--sub); }
.auth-tabs [aria-selected="true"] { box-shadow: none; color: var(--ink); }
.auth-tabs .tab-reg[aria-selected="true"] { background: #cfe9d6; }
.auth-tabs .tab-login[aria-selected="true"] { background: var(--yellow); }
.remember-toggle { border: 0; background: rgba(255, 255, 255, .5); }
.remember-toggle[aria-pressed="true"] { background: var(--fill); }
.rt-switch { border: 0; background: rgba(102, 84, 77, .18); }
.rt-switch::after { border: 0; box-shadow: 0 1px 3px rgba(102, 84, 77, .3); top: 4px; left: 4px; }
.remember-toggle[aria-pressed="true"] .rt-switch { background: #9ccbdd; }
.check input, .radio-list input { border: 1.5px solid rgba(102, 84, 77, .4); }
.check input:checked { background-color: var(--ink); border-color: var(--ink); }
.login-badge { border: 0; background: var(--fill); font-weight: 400; }
.auth-notice { border: 0; background: var(--fill); font-weight: 400; }
.status-note { border: 0; }

/* メニュー・お知らせ・小窓: 枠なし、影だけ */
.post-menu { border: 0; box-shadow: 0 6px 20px rgba(102, 84, 77, .18); }
.post-menu::before { border: 0; box-shadow: -2px -2px 3px rgba(102, 84, 77, .05); }
.post-menu button { font-weight: 400; }
.toast, .msg-notice { border: 0; }
.modal { border: 0; box-shadow: 0 10px 30px rgba(102, 84, 77, .2); }
.unblock-pill { border: 0; }
.tab-badge { border: 0; font-family: var(--font); font-weight: 400; }
.menu-list button, .menu-list a { font-weight: 400; }
.menu-list li + li { border-top: var(--soft-line); }

/* MORE: 見出しは文字だけ。サイト名は出さず、マーク (シルエット) と「何のサイトか」だけを、枠なしで */
.sister-head span { background: none; border: 0; padding: 0 12px; font-weight: 400; color: var(--sub); letter-spacing: .14em; }
.sister-row { gap: 6px; }
.sister-row .sister,
.sister-row .sister.cat, .sister-row .sister.sea, .sister-row .sister.selfc {
  border: 0; background: none; box-shadow: none; min-height: 0; padding: 6px 2px; gap: 6px;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.sister-row .sister:hover { background: none; }
.sister-row .sister:active { transform: translateY(2px); box-shadow: none; }
.sister-icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--fill); box-shadow: 0 2px 8px rgba(102, 84, 77, .08); color: var(--ink); font-size: 30px;
}
.sister-icon svg, .sister-icon .mark-img { width: 32px; height: 32px; }
.sister-row .sister .mark-img { height: 32px; width: auto; }
.sister-desc { background: none; padding: 0; font-size: 14px; font-weight: 400; color: var(--ink); letter-spacing: .04em; }
/* MOREのシルエット: 名前と同じキャラメル色 */
.sister-icon { color: var(--rose); }   /* --rose = キャラメル #b07a5a */

/* つぶやきの送信マーク・＋ / ✓ ・「…」: 濃い色をやめて、やわらかいこげ茶 */
.icon-btn.plain { color: #8f7a70; }
.post .react-toggle, .post .more-btn { color: #a8968e; }
/* 下のメニューの英字: よもぎは字の幅がそろった書体なので、英字の間が空きすぎないように少しつめる */
.tabbar a span { letter-spacing: -.04em; }

/* 写真がまだない人のアイコンは、前の人型 (img/avatar-default-soft.svg) のまま。
   泡の子 (img/avatar-bubble.svg) にしたいときは、この下に次の1行を足してください:
   .avatar { background-image: url(/img/avatar-bubble.svg); background-color: #fbf3ec; } */

/* 小窓 (設定・ログアウト・確認など): うしろの文字が透けて重ならないように、白い面をしっかり塗る。
   うしろはぼかして暗めにし、小窓だけが目に入るように */
.modal, .modal.card { background: #fdf9f5; box-shadow: 0 12px 36px rgba(60, 45, 40, .22); padding: 16px 18px; }
.modal-back { background: rgba(70, 58, 54, .35); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal .menu-list button, .modal .menu-list a { padding: 15px 6px; font-size: 17px; }
.modal .menu-list button span, .modal .menu-list a span { color: var(--sub); }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin: -2px 0 6px; }
.modal-head h2 { margin: 0; font-size: 19px; font-weight: 400; color: var(--ink); }
.modal-x { width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgba(102, 84, 77, .07); display: grid; place-items: center; cursor: pointer; }
.modal-x svg { width: 20px; height: 20px; }
/* 小窓の中: 入力欄・白いボタンが、白い面に溶けて見えなくならないように、うすいミルクティー色の面に */
.modal h2 { font-weight: 400; font-size: 19px; color: var(--ink); }
.modal .input, .modal textarea.input { background: #f2e9e0; }
.modal .input:focus { box-shadow: 0 0 0 2px rgba(156, 203, 221, .9); background: #f6efe8; }
.modal .btn.white { background: #f2e9e0; box-shadow: none; }
.modal .note { margin: 8px 2px 0; }
.modal .radio-list label { font-size: 16px; }

/* アイコンをえらぶ小窓: 4つずつ並べる。選んでいるものは、まわりにうすいソーダ色の輪 */
.preset-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 8px 0 4px; }
.preset { padding: 0; border: 0; background: none; border-radius: 16px; overflow: hidden; cursor: pointer; aspect-ratio: 1; box-shadow: 0 1px 4px rgba(102, 84, 77, .12); transition: transform .1s; }
.preset img { width: 100%; height: 100%; object-fit: cover; }
.preset:active { transform: scale(.95); }
.preset.on { box-shadow: 0 0 0 3px #fdf9f5, 0 0 0 6px #9ccbdd; }
.preset:focus-visible { outline: 3px solid #9ccbdd; outline-offset: 2px; }
.modal .link-btn { justify-self: center; padding: 6px; }

/* 写真がまだない人のアイコン: はじめから「泡とF」(ファビコンと同じ。img/presets/3.webp)。2026-11-25 */
.avatar { background-image: url(/img/presets/3.webp); background-color: #9fd3ee; }

/* my log のいいね・わかる: タップで開く、つぶやきの中身 */
.log-item.act-item { cursor: pointer; }
.log-item .l-body { display: block; margin-top: 6px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .55); font-size: 15.5px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.log-item .l-body[hidden] { display: none; }

/* ハンドルネーム: MOREのシルエットと同じキャラメルの印象に (よもぎの細い線でも同じ色に見えるよう、少しだけ濃く) */
.post .who, .log-item .l-name { color: #95603f; }

/* ハンドルネーム: 少し大きく、ほんの少し太く (よもぎには太字がないので、細い線を足して太く見せる) */
.post .who, .log-item .l-name { font-size: 18.5px; -webkit-text-stroke: .45px currentColor; letter-spacing: .03em; }
.log-av { flex: none; cursor: pointer; border-radius: 10px; }

/* ----- Talk Sea Bubble° (2026-11-26 追加): MORE のボタンが4つになったので、2つずつ2段に並べる ----- */
.sister-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sister-row .sister.links { --accent: #a8e6cf; }

/* 広告の位置 (2026-11-27): つぶやき欄はつぶやく欄の下、my log はいちばん上、プロフィールはいちばん上 */
#app .composer + .ad-slot { margin: 14px auto 18px; }
#app .ad-slot + .prof { margin-top: 6px; }

/* ===== デザインの整理 (2026-11-28) =====
   「Xでシェア」は主役ではないので、黒く塗らずに枠線だけに (主役の「登録してはじめる」などが目立つように) */
.x-share { color: var(--brown); background: rgba(255, 255, 255, .55); border: 1.5px solid var(--brown); }
.x-share:hover { background: rgba(255, 255, 255, .85); }

/* 2回すばやくタップしたときの拡大を止める (指で広げる拡大はそのまま使えます) */
html { touch-action: manipulation; }
