/* Rin Onboarding v1.2.0 — 既存「英語のりん」ブランド（app-v7: 黒〜チャコール背景・落ち着いたゴールド・白文字）に統一。
 * v1.1 までの「紙色の巨大カード＋カード内カード＋左右2列」を廃止。
 *   スマホ(〜767px): りん＋質問 → 選択肢が縦一列 → 「次へ」は下。カードは使わず、余白と罫線で区切る。
 *   PC(768px〜): 左にりん（sticky）、右に設問。選択肢は2列（1100px〜は3列）。iPhone のレイアウトを引き伸ばさない。
 * トークンは app-v7.css の --ra-* を参照し、無い環境でも同じ値で描けるよう fallback を持つ。外部フォント・画像・依存なし。 */
.rin-onboarding {
  --rin-bg: var(--ra-bg, #0a0a0b);
  --rin-surface: var(--ra-surface, #151516);
  --rin-raised: var(--ra-raised, #1f1f21);
  --rin-paper: var(--rin-surface);
  --rin-ink: var(--ra-text, #f5f5f2);
  --rin-muted: var(--ra-muted, #b8b5af);
  --rin-faint: var(--ra-faint, #8a8782);
  --rin-brass: var(--ra-brass, #c08a3e);
  --rin-brass-light: var(--ra-brass-light, #ddbb84);
  --rin-brass-dark: var(--rin-brass-light);
  --rin-border: var(--ra-line, rgba(255, 255, 255, .14));
  --rin-border-soft: var(--ra-line-soft, rgba(255, 255, 255, .09));
  --rin-tint: rgba(192, 138, 62, .14);
  --rin-error: #e8a39b;
  --rin-cta: var(--ra-cta, linear-gradient(100deg, #c08a3e 0%, #ddbb84 100%));
  --rin-serif: var(--ra-serif, "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif);
  --rin-sans: var(--ra-sans, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif);
  --rin-tap: var(--ra-tap, 44px);
  color: var(--rin-ink);
  background: transparent;
  font-family: var(--rin-sans);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  padding: 4px 0 28px;
  min-width: 0;
  color-scheme: dark;
}
.rin-onboarding *, .rin-onboarding *::before, .rin-onboarding *::after { box-sizing: border-box; }
.rin-onboarding [hidden] { display: none !important; }
.rin-onboarding h2, .rin-onboarding h3, .rin-onboarding h4, .rin-onboarding p, .rin-onboarding dl, .rin-onboarding dd { margin: 0; }
.rin-onboarding button, .rin-onboarding input, .rin-onboarding textarea, .rin-onboarding select { font: inherit; letter-spacing: inherit; }
.rin-onboarding button { cursor: pointer; touch-action: manipulation; }
.rin-onboarding button:disabled { cursor: wait; opacity: .65; }
.rin-onboarding button:focus-visible, .rin-onboarding input:focus-visible, .rin-onboarding textarea:focus-visible, .rin-onboarding select:focus-visible, .rin-onboarding summary:focus-visible { outline: 2px solid var(--rin-brass-light); outline-offset: 3px; }
.rin-onboarding input[type='checkbox'], .rin-onboarding input[type='radio'] { accent-color: var(--rin-brass); }
.rin-onboarding input[type='checkbox'] { width: 20px; height: 20px; flex: 0 0 20px; margin: 3px 0 0; cursor: pointer; }
.rin-onboarding .rin-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* 骨格 */
.rin-shell { max-width: 560px; margin: 0 auto; min-width: 0; }
.rin-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; min-height: var(--rin-tap); }
.rin-brand { display: flex; align-items: center; gap: 9px; font-family: var(--rin-serif); font-size: 17px; font-weight: 500; letter-spacing: .06em; }
.rin-brand-dot { display: block; width: 8px; height: 8px; background: var(--rin-brass); border-radius: 50%; }
.rin-exit-button { color: var(--rin-muted); background: transparent; border: 0; padding: 10px 2px; font-size: 13px !important; min-height: var(--rin-tap); white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }
.rin-progress-area { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.rin-progress-label { font-size: 12px; font-weight: 600; color: var(--rin-brass-light); letter-spacing: .04em; }
.rin-progress-note { color: var(--rin-faint); font-size: 11px; }
.rin-progress { height: 3px; overflow: hidden; border-radius: 3px; background: var(--rin-border-soft); margin-bottom: 20px; }
.rin-progress > span { display: block; height: 100%; background: var(--rin-cta); border-radius: inherit; transition: width .18s ease; }

/* りん＋ひとこと（スマホ: 横並びの小さな一段。全画面の巨大装飾にしない） */
.rin-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rin-sidebar { width: 100%; }
.rin-sidebar-caption { display: none; }
.rin-coach { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; }
.rin-character { width: 84px; height: 84px; position: relative; flex: 0 0 auto; display: grid; place-items: center; }
.rin-character > * { max-width: 100%; }
.rin-character img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.rin-fallback { position: relative; width: 72px; height: 64px; border-radius: 49% 51% 47% 48%; background: var(--rin-raised); border: 1px solid var(--rin-border); }
.rin-fallback::after { position: absolute; content: ''; right: 6px; bottom: -2px; width: 12px; height: 11px; background: var(--rin-raised); border-bottom: 1px solid var(--rin-border); border-right: 1px solid var(--rin-border); transform: rotate(24deg); border-bottom-right-radius: 6px; }
.rin-eye { position: absolute; top: 23px; width: 5px; height: 7px; background: var(--rin-ink); border-radius: 50%; }
.rin-eye--left { left: 20px; }
.rin-eye--right { right: 20px; }
.rin-mouth { position: absolute; left: 31px; top: 32px; width: 9px; height: 6px; border-bottom: 2px solid var(--rin-ink); border-radius: 0 0 9px 9px; }
.rin-cheek { position: absolute; top: 35px; width: 9px; height: 4px; background: var(--rin-brass); border-radius: 50%; opacity: .55; }
.rin-cheek--left { left: 13px; }
.rin-cheek--right { right: 13px; }
.rin-fallback--thinking .rin-mouth { width: 5px; height: 4px; left: 33px; top: 35px; border-radius: 40%; }
.rin-fallback--listening { transform: rotate(-5deg); }
.rin-coach-bubble { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid var(--rin-border-soft); border-radius: 16px; padding: 10px 14px; min-width: 0; }
.rin-coach-bubble::before { content: ''; position: absolute; left: -7px; top: calc(50% - 6px); width: 12px; height: 12px; background: var(--rin-bg); border-left: 1px solid var(--rin-border-soft); border-bottom: 1px solid var(--rin-border-soft); transform: rotate(45deg); }
.rin-coach-name { display: block; color: var(--rin-brass-light); font-size: 12px; letter-spacing: .08em; margin-bottom: 2px; }
.rin-coach-bubble p { font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }

/* 設問（カードにしない） */
.rin-form { min-width: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.rin-title { font-family: var(--rin-serif); font-weight: 500; font-size: 24px; line-height: 1.45; letter-spacing: .02em; overflow-wrap: anywhere; outline: none; color: var(--rin-ink); }
.rin-onboarding .rin-screen-body > * + * { margin-top: 16px; }
.rin-title + .rin-screen-body, .rin-error-summary + .rin-screen-body { margin-top: 14px; }
.rin-screen-body > .rin-helper:first-child { margin-top: 0; }
.rin-helper { color: var(--rin-muted); font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }

/* 選択肢: スマホは縦一列 */
.rin-choice-group { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.rin-choice { position: relative; min-width: 0; cursor: pointer; }
.rin-choice > input { position: absolute; width: 1px; height: 1px; opacity: 0; inset: 50% auto auto 50%; }
.rin-choice-face { display: flex; align-items: center; gap: 12px; padding: 13px 14px; background: var(--rin-surface); border: 1px solid var(--rin-border); border-radius: 14px; min-height: 56px; height: 100%; transition: background .1s ease, border-color .1s ease; }
.rin-choice-face:hover { border-color: var(--rin-brass); }
.rin-choice > input:checked + .rin-choice-face { background: var(--rin-tint); border-color: var(--rin-brass); }
.rin-choice > input:focus-visible + .rin-choice-face { outline: 2px solid var(--rin-brass-light); outline-offset: 3px; }
.rin-choice-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.rin-choice-title { font-size: 15px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.rin-choice-sub { font-size: 12px; color: var(--rin-muted); line-height: 1.6; }
.rin-choice-symbol { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; background: rgba(255, 255, 255, .05); border: 1px solid var(--rin-border-soft); border-radius: 10px; color: var(--rin-brass-light); font-size: 14px; font-weight: 600; }
.rin-choice > input:checked + .rin-choice-face .rin-choice-symbol { background: rgba(192, 138, 62, .22); border-color: transparent; }
.rin-choice-mark { display: block; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--rin-border); position: relative; }
.rin-choice > input:checked + .rin-choice-face .rin-choice-mark { border-color: var(--rin-brass); background: var(--rin-brass); }
.rin-choice > input:checked + .rin-choice-face .rin-choice-mark::after { content: ''; position: absolute; width: 8px; height: 4px; left: 4px; top: 5px; border-bottom: 2px solid #141008; border-left: 2px solid #141008; transform: rotate(-45deg); }
.rin-choice-group--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rin-choice-group--compact .rin-choice-face { padding: 11px 12px; min-height: var(--rin-tap); gap: 8px; }
.rin-choice-group--compact .rin-choice-title { font-size: 14px; }
.rin-privacy-note { border-left: 2px solid var(--rin-brass); padding: 2px 0 2px 12px; color: var(--rin-muted); font-size: 12px; line-height: 1.8; }

/* 戻る／次へ: 下に固定せず、設問の直後（親指の届く位置）。次へが主 */
.rin-nav { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rin-border-soft); }
.rin-nav-spacer { flex: 0 0 0; }
.rin-button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: 14px; background: var(--rin-cta); color: #141008; min-height: 52px; font-size: 15px !important; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; }
.rin-button:hover:not(:disabled) { filter: brightness(1.08); }
.rin-button--primary { flex: 1 1 auto; }
.rin-button--secondary { flex: 0 0 auto; background: transparent; color: var(--rin-ink); border-color: var(--rin-border); min-width: 96px; font-weight: 600; }
.rin-button--secondary:hover:not(:disabled) { background: rgba(255, 255, 255, .05); filter: none; }
.rin-button--small { min-height: var(--rin-tap); padding: 9px 16px; }
.rin-text-button { border: 0; background: transparent; color: var(--rin-brass-light); padding: 8px 0; min-height: var(--rin-tap); font-size: 13px !important; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* 途中回答の保存（設問の下、控えめに） */
.rin-storage { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--rin-border-soft); color: var(--rin-muted); font-size: 12px; }
.rin-storage-label { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; cursor: pointer; min-height: 36px; }
.rin-storage-label input { width: 18px !important; height: 18px !important; flex-basis: 18px !important; margin-top: 2px !important; }
.rin-storage-label span { font-size: 13px; color: var(--rin-ink); }
.rin-storage > .rin-helper { margin-left: 28px; font-size: 12px; }
.rin-storage > .rin-text-button { margin-left: 28px; font-size: 12px !important; }
.rin-storage-notice:not(:empty) { margin: 6px 0 0 28px; }
.rin-footer { margin-top: 16px; font-size: 11px; line-height: 1.7; color: var(--rin-faint); }

/* 目標の例・入力 */
.rin-example { background: var(--rin-surface); border: 1px solid var(--rin-border-soft); padding: 14px 16px; border-radius: 14px; }
.rin-example p:not(.rin-helper) { font-size: 14px; font-weight: 600; margin: 4px 0 !important; }
.rin-example .rin-text-button { padding-bottom: 0; min-height: 36px; }
.rin-eyebrow { display: block; font-size: 11px; letter-spacing: .06em; color: var(--rin-brass-light); }
.rin-field { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 0; }
.rin-label { font-size: 14px; font-weight: 600; color: var(--rin-ink); }
.rin-input { width: 100%; max-width: 100%; min-width: 0; border: 1px solid var(--rin-border); border-radius: 12px; padding: 12px 14px; color: var(--rin-ink); background: var(--rin-surface); min-height: 50px; font-size: 16px !important; color-scheme: dark; }
.rin-input::placeholder { color: var(--rin-faint); font-size: 14px; }
textarea.rin-input { resize: vertical; line-height: 1.7; min-height: 86px; }
.rin-input[aria-invalid='true'] { border-color: var(--rin-error); }
.rin-count { text-align: right; color: var(--rin-faint); font-size: 11px; }
.rin-section-heading { font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--rin-ink); }
.rin-weekday-group { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; min-width: 0; }
.rin-day { cursor: pointer; position: relative; }
.rin-day > input { position: absolute; width: 1px !important; height: 1px !important; opacity: 0; }
.rin-day > span { display: flex; justify-content: center; align-items: center; min-height: var(--rin-tap); border: 1px solid var(--rin-border); border-radius: 10px; background: var(--rin-surface); font-size: 14px; font-weight: 600; }
.rin-day > input:checked + span { background: var(--rin-cta); border-color: transparent; color: #141008; }
.rin-day > input:focus-visible + span { outline: 2px solid var(--rin-brass-light); outline-offset: 3px; }
.rin-soft-note { background: var(--rin-tint); border: 1px solid rgba(221, 187, 132, .28); border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.8; }
.rin-soft-note strong { display: block; margin-bottom: 4px; font-size: 14px; color: var(--rin-brass-light); }
.rin-goal-quote { background: var(--rin-surface); border-left: 2px solid var(--rin-brass); padding: 10px 14px; border-radius: 0 10px 10px 0; font-size: 14px; margin-top: 12px !important; overflow-wrap: anywhere; }
.rin-details { border: 1px solid var(--rin-border-soft); border-radius: 12px; padding: 2px 14px 14px; }
.rin-details > summary { cursor: pointer; font-size: 13px; font-weight: 600; min-height: var(--rin-tap); padding: 11px 0; color: var(--rin-brass-light); }
.rin-details > * + * { margin-top: 12px; }
.rin-details:not([open]) { padding-bottom: 0; }
.rin-demo-notice { background: var(--rin-tint); padding: 12px 14px; border-radius: 10px; font-size: 12px; margin-top: 16px !important; }
.rin-toggle-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: var(--rin-surface); border: 1px solid var(--rin-border-soft); border-radius: 12px; font-size: 15px; font-weight: 600; cursor: pointer; }

/* 確認一覧・ジャーニー */
.rin-summary { border-top: 1px solid var(--rin-border-soft); }
.rin-summary-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rin-border-soft); }
.rin-summary-item > div { min-width: 0; }
.rin-summary-item dt { color: var(--rin-muted); font-size: 11px; margin-bottom: 2px; }
.rin-summary-item dd { font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.rin-edit-button { background: transparent; color: var(--rin-brass-light); border: 0; min-height: var(--rin-tap); min-width: var(--rin-tap); font-size: 12px !important; text-decoration: underline; text-underline-offset: 3px; flex: 0 0 auto; }
.rin-journey { padding-top: 4px; }
.rin-journey-list { list-style: none; padding: 0; margin: 12px 0; }
.rin-journey-item { display: flex; gap: 14px; position: relative; padding-bottom: 18px; }
.rin-journey-item:last-child { padding-bottom: 0; }
.rin-journey-item:not(:last-child)::before { content: ''; position: absolute; top: 30px; bottom: 0; left: 14px; width: 1px; background: var(--rin-border); }
.rin-stage-number { width: 29px; height: 29px; flex: 0 0 29px; display: flex; align-items: center; justify-content: center; color: var(--rin-brass-light); background: var(--rin-surface); border: 1px solid rgba(221, 187, 132, .4); border-radius: 50%; font-size: 12px; font-weight: 700; }
.rin-journey-item h4 { font-size: 14px; margin: 3px 0 4px; }
.rin-journey-item p { font-size: 13px; color: var(--rin-muted); overflow-wrap: anywhere; }
.rin-confirm { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; padding: 12px 0 0; }
.rin-error { color: var(--rin-error); font-size: 13px; line-height: 1.7; grid-column: 1 / -1; }
.rin-error-summary { margin-top: 12px !important; border-left: 2px solid var(--rin-error); padding: 8px 12px; background: rgba(208, 135, 127, .12); color: var(--rin-error); font-size: 13px; }
.rin-resume-banner { background: var(--rin-surface); border: 1px solid rgba(221, 187, 132, .35); padding: 14px 16px; border-radius: 14px; margin: 0 0 18px; font-size: 13px; }
.rin-inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 10px; }

/* 中断の確認（モーダル） */
.rin-modal-backdrop { position: fixed; inset: 0; z-index: 2147483000; background: rgba(0, 0, 0, .6); display: grid; place-items: center; padding: 20px; overscroll-behavior: contain; }
.rin-modal { background: var(--rin-raised); border: 1px solid var(--rin-border); border-radius: 20px; width: min(100%, 420px); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 24px; box-shadow: 0 20px 80px rgba(0, 0, 0, .5); }
.rin-modal h2 { font-family: var(--rin-serif); font-weight: 500; font-size: 20px; margin: 18px 0 10px; }
.rin-modal > p { font-size: 14px; color: var(--rin-muted); }
.rin-modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.rin-coach--compact { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
.rin-coach--compact .rin-character { width: 72px; height: 72px; }
.rin-coach--compact .rin-fallback { transform: scale(.85); }
.rin-coach--compact .rin-coach-bubble { width: auto; flex: 1; }

/* 終了・中断の画面 */
.rin-end-card { max-width: 560px; margin: 0 auto; padding: 8px 0 0; background: transparent; border: 0; }
.rin-end-card > * + * { margin-top: 18px; }
.rin-end-card .rin-title { margin-top: 22px; }
.rin-end-card > p { font-size: 14px; color: var(--rin-muted); }
.rin-end-card + .rin-storage { max-width: 560px; margin: 20px auto 0; }
.rin-json { white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; background: var(--rin-surface); padding: 16px; max-height: 460px; overflow: auto; border-radius: 12px; color: var(--rin-muted); }

/* 小さい端末（320px）: 余白を詰めるだけ。列は増やさない */
@media (max-width: 360px) {
  .rin-title { font-size: 21px; }
  .rin-coach { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
  .rin-character { width: 72px; height: 72px; }
  .rin-choice-face { padding: 12px; gap: 10px; }
  .rin-choice-title { font-size: 14px; }
  .rin-choice-group--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rin-weekday-group { gap: 4px; }
  .rin-day > span { font-size: 13px; border-radius: 8px; }
  .rin-nav { gap: 8px; }
  .rin-button { padding: 12px 14px; font-size: 14px !important; }
  .rin-button--secondary { min-width: 80px; }
}

/* PC / タブレット（768px〜）: 左にりん、右に設問。広さを活かし、選択肢は2列 */
@media (min-width: 768px) {
  .rin-onboarding { padding: 8px 0 40px; font-size: 15px; }
  .rin-shell { max-width: 960px; }
  .rin-header { margin-bottom: 18px; }
  .rin-brand { font-size: 19px; }
  .rin-progress { margin-bottom: 28px; }
  .rin-main { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
  .rin-sidebar { position: sticky; top: 24px; }
  .rin-coach { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
  .rin-character { width: 128px; height: 128px; }
  .rin-fallback { width: 91px; height: 80px; }
  .rin-eye { top: 29px; width: 6px; height: 8px; } .rin-eye--left { left: 25px; } .rin-eye--right { right: 25px; }
  .rin-mouth { left: 40px; top: 39px; width: 10px; height: 7px; }
  .rin-cheek { top: 43px; width: 10px; height: 5px; } .rin-cheek--left { left: 17px; } .rin-cheek--right { right: 17px; }
  .rin-coach-bubble { width: 100%; padding: 14px 16px; }
  .rin-coach-bubble::before { left: calc(50% - 6px); top: -7px; border-left: 1px solid var(--rin-border-soft); border-top: 1px solid var(--rin-border-soft); border-bottom: 0; }
  .rin-coach-bubble p { font-size: 14px; }
  .rin-sidebar-caption { display: block; margin: 16px 4px 0; color: var(--rin-faint); font-size: 11px; line-height: 1.9; text-align: center; }
  .rin-form { padding: 0 0 0 40px; border-left: 1px solid var(--rin-border-soft); }
  .rin-title { font-size: 28px; }
  .rin-onboarding .rin-screen-body > * + * { margin-top: 20px; }
  .rin-choice-group { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rin-choice-face { padding: 16px; min-height: 76px; }
  .rin-choice-group--compact { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
  .rin-nav { margin-top: 32px; padding-top: 22px; }
  .rin-button--primary { flex: 0 1 320px; margin-left: auto; }
  .rin-storage { margin-left: 260px; }
  .rin-footer { margin-left: 260px; }
  .rin-modal { padding: 28px; }
  .rin-modal-actions { flex-direction: row; }
  .rin-modal-actions .rin-button { flex: 1; }
  .rin-end-card { padding-top: 24px; }
}
@media (min-width: 1100px) {
  .rin-main { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; }
  .rin-choice-group { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rin-storage, .rin-footer { margin-left: 296px; }
}
@media (prefers-reduced-motion: reduce) {
  .rin-onboarding *, .rin-onboarding *::before, .rin-onboarding *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .rin-choice > input:checked + .rin-choice-face, .rin-day > input:checked + span { outline: 2px solid Highlight; }
}
/* 2026-09-22 目的の絵文字アイコン */
.rin-choice-symbol{width:36px;height:36px;flex-basis:36px;font-size:19px;line-height:1}
/* 2026-09-23 ブランド欄: 金の丸を既存の羽ロゴ(assets/brand/logo-white.png)へ */
.rin-brand-logo{display:block;height:20px;width:auto;flex:none}
