/* =====================================================================
   Cat See° 配色・文字 "Coquette Noir" (2026-11-15 整理済み) 小悪魔・コケティッシュ
   黒と白のモノトーンに、くすみピンクとゴールドを少しだけ差しました。
   ボタン・文字・枠の「色」だけを変えるファイルです。
   猫・まばたき・きらめき・星空の背景・カードの絵には触れていません。王冠とつる草の飾りは全画面で非表示です。
   元に戻すときは、各HTMLの <link rel="stylesheet" href="/catsee-palette.css…"> の1行を消すだけです。

   色の役割
     黒          #141014 … 明るいボタンの中の文字
     白          #f7f2f4 … 本文・副ボタンの枠
     くすみピンク #d9a3b2 … 主ボタン・見出し・強調 (小悪魔の差し色)
     ゴールド     #f4dc9c … 枠・飾り・星印・大事な数字 (Cat See° のしるし)
     グレージュ   #bfb2b8 … 補足の文字
   ===================================================================== */
:root {
  --cq-ink: #141014;
  --cq-white: #f7f2f4;
  --cq-pink: #d9a3b2;
  --cq-pink-hi: #e8bfca;
  --cq-pink-soft: rgba(217, 163, 178, .35);
  --cq-gold: #f4dc9c;
  --cq-gray: #bfb2b8;
}

/* ----- ロゴまわり ----- */
.brand { color: var(--cq-white); text-shadow: 0 0 18px rgba(255, 255, 255, .5), 0 0 34px rgba(217, 163, 178, .35); }
.sub { color: var(--cq-gold); }

/* ----- トップの枠 (枠の色は元のまま。スマホでは猫と入力欄のあいだの線は出しません) ----- */
.frame .lead { color: var(--cq-white) !important; }
.hint { color: var(--cq-gray); }
.u { color: var(--cq-white); }
.err { color: #ff8fa3; }

/* 生年月日の欄: 半透明のすりガラス + 白い細枠が、ほんのり光る */
.fb, .bi .fb {
  background: rgba(255, 255, 255, .08) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(247, 242, 244, .6) !important;
  color: var(--cq-white) !important; -webkit-text-fill-color: var(--cq-white) !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, .12), inset 0 0 8px rgba(255, 255, 255, .05) !important;
}
.fb:focus, .fb:focus-visible, .fld.open .fb {
  border-color: var(--cq-pink) !important;
  background: rgba(217, 163, 178, .16) !important;
  box-shadow: 0 0 14px rgba(217, 163, 178, .4) !important;
  outline-color: var(--cq-pink) !important;
}
.bi.locked .fb { border-color: rgba(247, 242, 244, .35) !important; box-shadow: none !important; }

.pop { border-color: var(--cq-pink-soft) !important; }
.pop::before { border-color: var(--cq-pink) !important; background: rgba(217, 163, 178, .16) !important; }

/* ----- 主ボタン (今日の占い / 今日のカード / 相性占い / 相性を占う / ふたりのカード / TOP) ----- */
/* 占う・今日のカード・相性占い など: ミルキーなパールピンク + やわらかい光。文字は濃いめのローズピンク */
.btn, .btn:hover, #go-solo, #go-solo:hover {
  background: linear-gradient(180deg, rgba(255, 240, 245, .96), rgba(250, 213, 226, .92)) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: 1px solid rgba(255, 255, 255, .9) !important;
  box-shadow: inset 0 -6px 14px rgba(232, 160, 185, .35), 0 0 24px rgba(255, 200, 218, .5) !important;
  color: #93405f !important;
  -webkit-text-fill-color: #93405f !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6) !important;
  -webkit-text-stroke: 0 !important;
  font-weight: 800 !important;
}
.btn:hover, #go-solo:hover {
  background: linear-gradient(180deg, #fff6f9, rgba(252, 222, 233, .96)) !important;
  box-shadow: inset 0 -6px 14px rgba(232, 160, 185, .3), 0 0 30px rgba(255, 200, 218, .65) !important;
}

/* ----- 副ボタン (BACK): 白い細枠 + 白い文字 ----- */
.btn.ghost, .btn.ghost:hover, .btn.ghost.back, .btn.ghost.back:hover {
  background: transparent !important;
  border: 1.5px solid var(--cq-white) !important;
  box-shadow: none !important;
  color: var(--cq-white) !important;
  -webkit-text-fill-color: var(--cq-white) !important;
  text-shadow: none !important;
  opacity: 1;
}
.btn.ghost:not(.talk):hover { border-color: var(--cq-pink) !important; background: rgba(217, 163, 178, .12) !important; }

/* ----- Talk Sea°でおしゃべりする: 前と同じ Talk Sea° のアイスブルー (#bcdcf5) の枠と文字 ----- */
.btn.ghost.talk, .btn.ghost.talk:hover {
  background: rgba(255, 255, 255, .08) !important;   /* 触る前から、ほかの枠と同じすりガラス */
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  border: 1.5px solid #bcdcf5 !important;
  box-shadow: none !important;
  color: #bcdcf5 !important;
  -webkit-text-fill-color: #bcdcf5 !important;
  text-shadow: 0 0 8px rgba(188, 220, 245, .35) !important;
  opacity: 1;
}
.btn.ghost.talk:hover { background: rgba(188, 220, 245, .16) !important; }

/* ----- Xでシェア: モノトーンに合わせて、黒地に白 (Xの公式カラー) ----- */
.x-share, .btnrow .x-share { background: #000 !important; border: 1.5px solid var(--cq-white) !important; color: #fff !important; box-shadow: none !important; }
.x-share:hover { background: #1c181b !important; }

/* ----- 結果の画面 ----- */
.screen:not(.top) .body { border-color: rgba(244, 220, 156, .35) !important; }
.sec.txt::before { background: linear-gradient(90deg, transparent, var(--cq-pink-soft), transparent) !important; }
.sec.txt h3::before, .sec.txt h3::after { color: var(--cq-gold) !important; }
.sec.txt .ttl { color: var(--cq-pink) !important; }
#r-solo .sec.today .ttl { text-shadow: 0 0 12px rgba(217, 163, 178, .55) !important; }

/* 相性: 「ふたりの相性」「あなた」「お相手」はピンク、点数はゴールド */
.scorecard .kw, .mini .who, .trait .kw { color: var(--cq-pink) !important; }
.scorecard .score { color: var(--cq-gold) !important; text-shadow: 0 0 14px rgba(244, 220, 156, .45) !important; }

/* ----- ページの下 ----- */
.foot, .foot p { color: var(--cq-gray); }
.foot a { color: var(--cq-gray) !important; text-decoration-color: var(--cq-pink-soft) !important; }
.foot a:hover { color: var(--cq-pink) !important; }

/* ----- よくある質問・利用規約・プライバシー ----- */
.legal a { color: var(--cq-pink); text-decoration-color: var(--cq-pink-soft); }
.legal h1 { color: var(--cq-white); }
.legal h2 { color: var(--cq-pink); }
.legal .note, .legal-nav { border-top-color: var(--cq-pink-soft); }

/* ----- キーボード操作の枠 ----- */
.btn:focus-visible, .fb:focus-visible { outline-color: var(--cq-pink) !important; }

/* ----- トップの外枠: ほかの画面と同じ「すりガラス + ぼんやりしたゴールドの細い線」にそろえる ----- */
/* スマホ・タブレット縦 (猫と入力欄をまとめて囲む枠) */
@media not all and (min-width:860px) and (min-aspect-ratio:1/1){
  .hero::before{
    border: 1px solid rgba(244, 220, 156, .35) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .37), 0 0 18px rgba(244, 220, 156, .08);
    z-index: 0;
  }
  /* ロゴ・猫・入力欄は、すりガラスより手前に (ぼやけないように) */
  .hero > .head, .hero > .cat, .hero .frame, .hero .talk { position: relative; z-index: 1; }
}
/* PC・タブレット横 (入力欄の枠) */
@media (min-width:860px) and (min-aspect-ratio:1/1){
  .screen.top .frame{
    border: 1px solid rgba(244, 220, 156, .35) !important;
    border-radius: 24px;
    background: rgba(255, 255, 255, .08) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .37), 0 0 18px rgba(244, 220, 156, .08) !important;
  }
}
/* 結果の画面のすりガラスにも、同じぼんやりした光を */
.screen:not(.top) .body { box-shadow: 0 8px 32px rgba(0, 0, 0, .37), 0 0 18px rgba(244, 220, 156, .08) !important; }

/* BACK も、Talk Sea° のボタンと同じすりガラスに (白い細枠と白い文字はそのまま) */
.btn.ghost.back, .btn.ghost.back:hover {
  background: rgba(255, 255, 255, .08) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, .1) !important;
  color: var(--cq-white) !important;
  -webkit-text-fill-color: var(--cq-white) !important;
  text-shadow: none !important;
}
.btn.ghost.back:hover { background: rgba(217, 163, 178, .14) !important; border-color: var(--cq-pink) !important; }

/* =====================================================================
   フォントの統一 (2026-11-15)  Talk Sea° / Cat See° 共通
     本文・ボタン・入力欄・英字 … Zen Maru Gothic (丸ゴシック)
     見出しだけ                 … しっぽり明朝 (Shippori Mincho)
   ロゴ「Cat See°」「NUMEROLOGY & ORACLE」は変えていません。
   ===================================================================== */
:root {
  --cq-font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}
body, body.legal-page, button, input, textarea, select,
.btn, #go-solo, .fb, .wi, .u, .hint, .err, .x-share, .foot, .sec.txt p, .cardtxt p, .trait, .mini, .duo {
  font-family: var(--cq-font) !important;
}
/* 見出しだけ明朝 */
.frame .lead, .sec.txt h3, .cardtxt h3, .scorecard .kw, .sec.txt .ttl, .mini .who, .scorecard .score,
.legal h1, .legal h2 {
  font-family: var(--serif) !important;
}

/* ----- カードの画面の見出し「今日のカード」「ふたりのカード」 (ほかの見出しと同じ、明朝 + ピンク + ゴールドの✦) ----- */
.cardhead {
  margin: 0 0 1em; text-align: center;
  font-family: var(--serif) !important; font-weight: 700; font-size: 1.2rem; letter-spacing: .12em;
  color: var(--cq-pink);
  text-shadow: 0 0 10px rgba(217, 163, 178, .35);
}
.cardhead::before { content: "✦ "; color: var(--cq-gold); font-size: .85em; }
.cardhead::after { content: " ✦"; color: var(--cq-gold); font-size: .85em; }

/* ===== 2026-11-15 夜の調整 ===== */
/* 王冠・つる草の飾りは、すべての画面で出さない (飾りのぶんの上下の余白もつめる) */
.screen:not(.top) .body::before, .screen:not(.top) .body::after,
.screen.top .frame::before, .screen.top .frame::after,
.legal::before, .legal::after { display: none !important; }
.screen:not(.top) .body { padding-top: 2.2em !important; padding-bottom: 2.2em !important; }
.legal { padding-top: 26px !important; padding-bottom: 30px !important; }

/* 今日のお告げ: すりガラスの枠をなくして、いちばん上に (文字の大きさはそのまま) */
#r-solo .sec.txt.today { margin-top: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
#r-solo .sec.txt.today::before { display: none !important; }
/* お告げの下の「あなたは○○」: 区切りの線 + ✦ のあとに */
#r-solo .trait { margin-top: 1.8em; }
#r-solo .trait::before, .body .frame + .frame::before {
  content: "✦"; display: block; width: 11rem; margin: 0 auto 1.4em;
  font-size: .62rem; line-height: 1; text-align: center; color: var(--cq-gold);
  background: linear-gradient(90deg, transparent, rgba(244, 220, 156, .6) 38%, transparent 45%, transparent 55%, rgba(244, 220, 156, .6) 62%, transparent) center / 100% 1px no-repeat;
}
/* 相性の入力画面: 2つの生年月日のあいだの線を、トップと同じ「細い金の線 + ✦」に */
.body .frame + .frame { border-top: 0 !important; margin-top: 1.4em !important; padding-top: 0 !important; }

/* ===== 文字の大きさの統一 (2026-11-15) ===== */
/* 占いの結果の本文: すべて「今日のお告げ」の本文と同じ大きさに */
.sec.txt p:not(.ttl), .cardtxt .msg, .cardtxt .mean, .mini .mt { font-size: 1.05rem !important; line-height: 2 !important; }
/* 占いの結果の見出し: すべて「今日のお告げ」と同じ (明朝・ゴールド・同じ大きさ・ほのかな光) */
.sec.txt h3, .cardhead, .scorecard .kw, #r-pair .sec.txt h3 {
  font-family: var(--serif) !important; font-size: 1.2rem !important; font-weight: 700 !important; letter-spacing: .1em !important;
  color: var(--cq-gold) !important; text-shadow: 0 0 12px rgba(244, 220, 156, .35) !important;
}
/* 小さい説明文・最下部のリンク: Talk Sea° と同じ大きさに */
.hint { font-size: 13.6px !important; }
.foot a { font-size: 12.5px !important; }
.foot p { font-size: 12px !important; }
.foot nav { gap: .4em 1em !important; }

/* ----- 特別な画面だけの印 (2026-11-15) -----
   カードをめくった画面の見出しの上に、細い線の小さな王冠をひとつ。相性の％は、金の光を少し強く */
.cardhead {
  padding-top: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 26' fill='none' stroke='%23f4dc9c' stroke-width='1.6' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M5 20 L3 7 L13 14 L22 3 L31 14 L41 7 L39 20 Z'/%3E%3Cpath d='M6 23.5 H38'/%3E%3Ccircle cx='3' cy='6' r='1.6' fill='%23f4dc9c' stroke='none'/%3E%3Ccircle cx='22' cy='2.2' r='1.8' fill='%23f4dc9c' stroke='none'/%3E%3Ccircle cx='41' cy='6' r='1.6' fill='%23f4dc9c' stroke='none'/%3E%3C/svg%3E") center top / 34px auto no-repeat;
  filter: drop-shadow(0 0 6px rgba(244, 220, 156, .35));
}
.scorecard .score {
  text-shadow: 0 0 10px rgba(244, 220, 156, .55), 0 0 26px rgba(244, 220, 156, .45), 0 0 48px rgba(244, 220, 156, .25) !important;
}

/* ----- Ill Shh…°で診断する (2026-11-20 追加): 「Talk Sea°でおしゃべりする」と同じ形で、Ill Shh…° の灯りの色 (#f0b860) ----- */
.btn.ghost.selfc-go, .btn.ghost.selfc-go:hover {
  display: block; margin-top: .7rem;
  background: rgba(255, 255, 255, .08) !important;
  -webkit-backdrop-filter: blur(12px) !important; backdrop-filter: blur(12px) !important;
  border: 1.5px solid #f0b860 !important; box-shadow: none !important;
  color: #f0b860 !important; -webkit-text-fill-color: #f0b860 !important;
  text-shadow: 0 0 8px rgba(240, 184, 96, .35) !important;
  font-size: .92rem; font-weight: 700; letter-spacing: .06em; opacity: 1;
}
.btn.ghost.selfc-go:hover { background: rgba(240, 184, 96, .16) !important; }
.btn.ghost.selfc-go::after { content: "→"; margin-left: .5em; font-weight: 700; }
/* 「Talk Sea°でおしゃべりする」と「Ill Shh…°で診断する」を同じ幅にそろえる */
.panel .btn.ghost.talk, .panel .btn.ghost.selfc-go { width: 19em; max-width: 100%; margin-left: auto; margin-right: auto; text-align: center; white-space: nowrap; }

/* ----- Floooot でつぶやく (2026-11-21 追加): 「Ill Shh…°で診断する」と同じ形で、Floooot° のソーダ色 (#9be3ef) ----- */
.btn.ghost.floooot-go, .btn.ghost.floooot-go:hover {
  display: block; margin-top: .7rem;
  background: rgba(255, 255, 255, .08) !important;
  -webkit-backdrop-filter: blur(12px) !important; backdrop-filter: blur(12px) !important;
  border: 1.5px solid #9be3ef !important; box-shadow: none !important;
  color: #9be3ef !important; -webkit-text-fill-color: #9be3ef !important;
  text-shadow: 0 0 8px rgba(155, 227, 239, .35) !important;
  font-size: .92rem; font-weight: 700; letter-spacing: .06em; opacity: 1;
}
.btn.ghost.floooot-go:hover { background: rgba(155, 227, 239, .16) !important; }
.btn.ghost.floooot-go::before { content: "🫧"; margin-right: .45em; -webkit-text-fill-color: initial; }
.btn.ghost.floooot-go::after { content: "→"; margin-left: .5em; font-weight: 700; }
.panel .btn.ghost.floooot-go { width: 19em; max-width: 100%; margin-left: auto; margin-right: auto; text-align: center; white-space: nowrap; }

/* 今日のカードの画面: BACK と TOP を横に並べる (広告の下。TOP も BACK と同じ黒いボタン) */
.screen:not(.top) .btnrow.backrow{order:4;width:min(100%,22em)}
.screen:not(.top) .btnrow.backrow .btn{order:0;flex:1 1 0;width:auto;max-width:none;margin-top:0}
