/* 带小松鼠出门。手机优先（爸爸妈妈也能轻松阅读）：正文 18px、输入框 18px（iOS 不会放大页面）、按钮至少 48px 高。
   桌面上同一列内容居中（最宽 680px）。 */
:root {
    --fx-ink: #1f2a1c;
    --fx-muted: #56634f;
    --fx-line: #d9e2d1;
    --fx-card: #ffffff;
    --fx-bg: #f5f7f0;
    --fx-green: #3f6b2e;
    --fx-green-soft: #eef4e8;
    --fx-warn: #9a3d12;
    --fx-radius: 16px;
}
.fx-page {
    margin: 0;
    background: var(--fx-bg);
    color: var(--fx-ink);
    font-family: "PingFang SC", "Hiragino Sans GB", "Hiragino Sans", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}
.fx-page *, .fx-page *::before, .fx-page *::after { box-sizing: border-box; }
.fx {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 12px 16px calc(40px + env(safe-area-inset-bottom));
    overflow-wrap: anywhere;
}
.fx h1 { font-size: 30px; line-height: 1.25; margin: 6px 0 4px; }
.fx h2 { font-size: 22px; line-height: 1.35; margin: 0 0 8px; }
.fx-lead { margin: 0; color: var(--fx-muted); }
.fx-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--fx-green); text-decoration: none; font-weight: 600; }

.fx-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.fx-tool {
    display: flex; flex-direction: column; justify-content: center; gap: 2px;
    min-height: 64px; padding: 10px; border-radius: 14px;
    background: var(--fx-card); border: 1px solid var(--fx-line);
    color: var(--fx-ink); text-decoration: none; text-align: center;
}
.fx-tool strong { font-size: 17px; line-height: 1.3; }
.fx-tool-plan { grid-column: 1 / -1; background: var(--fx-green-soft); }
.fx-tool small { font-size: 13px; color: var(--fx-muted); line-height: 1.35; }
.fx-tool:focus-visible, .fx-btn:focus-visible, .fx-inline:focus-visible, .fx-link:focus-visible { outline: 3px solid var(--fx-green); outline-offset: 2px; }

.fx-card { background: var(--fx-card); border: 1px solid var(--fx-line); border-radius: var(--fx-radius); padding: 18px 16px; margin: 0 0 16px; }
.fx-status { margin: 0 0 12px; color: var(--fx-muted); }
.fx-status:empty { display: none; }
.fx-kicker { margin: 0; font-size: 15px; color: var(--fx-muted); }
.fx-intro { margin: 0 0 6px; }
.fx-meta, .fx-progress { margin: 0 0 10px; color: var(--fx-muted); font-size: 16px; }
.fx-note, .fx-hint { font-size: 15px; color: var(--fx-muted); margin: 6px 0 10px; }
.fx-safety { font-size: 15px; background: #fff7ec; border-radius: 12px; padding: 10px 12px; color: #6b4513; }
.fx-message { margin: 8px 0 0; font-size: 16px; }
.fx-message:empty { display: none; }
.fx-message.is-error { color: var(--fx-warn); }
.fx-message.is-ok { color: var(--fx-green); }

.fx-field { display: block; margin: 0 0 12px; }
.fx-field > span { display: block; font-weight: 600; margin-bottom: 4px; }
.fx-field input, .fx-field select, .fx-field textarea {
    width: 100%; min-height: 52px; padding: 10px 12px;
    font: inherit; font-size: 18px; color: var(--fx-ink);
    border: 1px solid #b9c6ae; border-radius: 12px; background: #fff;
}
.fx-field textarea { min-height: 76px; resize: vertical; }
.fx-check { display: flex; align-items: center; gap: 10px; min-height: 48px; font-size: 17px; }
.fx-check input { width: 24px; height: 24px; }

.fx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 52px; padding: 10px 18px; width: 100%;
    font: inherit; font-size: 18px; font-weight: 600;
    border-radius: 14px; border: 1px solid #b9c6ae; background: #fff; color: var(--fx-ink);
    cursor: pointer; text-align: center; text-decoration: none;
}
.fx-btn-primary { background: var(--fx-green); border-color: var(--fx-green); color: #fff; }
.fx-btn-quiet { background: transparent; border-color: transparent; color: var(--fx-green); }
.fx-btn-small { width: auto; min-height: 44px; padding: 6px 12px; font-size: 16px; }
.fx-btn[disabled] { opacity: .55; cursor: not-allowed; }
.fx-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.fx-row > .fx-btn { flex: 1 1 140px; width: auto; }
.fx-inline { background: none; border: 0; padding: 4px 0; min-height: 44px; font: inherit; color: var(--fx-green); text-decoration: underline; cursor: pointer; }
.fx-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--fx-green); font-weight: 600; text-decoration: none; }
.fx-or { display: flex; align-items: center; gap: 10px; color: var(--fx-muted); margin: 16px 0 10px; font-size: 15px; }
.fx-or::before, .fx-or::after { content: ""; flex: 1; border-top: 1px solid var(--fx-line); }
.fx-sent { margin: 0 0 10px; }
.fx-captcha:empty { display: none; }

/* 小松鼠：项目原有素材（shared/assets/growth），保持原比例，不加滤镜 */
.fx-companion { display: flex; gap: 14px; align-items: center; }
.fx-squirrel-frame { flex: 0 0 auto; width: 112px; display: flex; align-items: flex-end; justify-content: center; }
.fx-squirrel-frame img { display: block; width: 100%; height: auto; }
.fx-companion-text { min-width: 0; }
.fx-companion-text p { margin: 0 0 4px; }
.fx-companion-stage { font-size: 15px; color: var(--fx-muted); }
.fx-companion-cones strong { font-size: 26px; color: #83552f; }

.fx-purposes { border: 0; padding: 0; margin: 0 0 12px; }
.fx-purposes legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.fx-purpose { display: flex; gap: 12px; align-items: flex-start; padding: 12px; margin: 0 0 8px; border: 1px solid var(--fx-line); border-radius: 14px; cursor: pointer; min-height: 56px; }
.fx-purpose input { width: 24px; height: 24px; margin: 3px 0 0; flex: 0 0 auto; }
.fx-purpose strong { display: block; }
.fx-purpose small { display: block; color: var(--fx-muted); font-size: 15px; }
.fx-purpose:has(input:checked) { border-color: var(--fx-green); background: var(--fx-green-soft); }

.fx-words { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 12px; }
.fx-word { border: 1px solid var(--fx-line); border-radius: 14px; padding: 14px; }
.fx-word-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.fx-word-ja { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif; font-size: 30px; font-weight: 700; line-height: 1.25; }
.fx-word-kana { font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif; font-size: 18px; color: var(--fx-muted); }
.fx-word-zh { font-size: 20px; margin: 2px 0 6px; }
.fx-word-look { font-size: 16px; color: var(--fx-muted); margin: 0 0 8px; }
.fx-word-alt { font-size: 16px; margin: 0 0 8px; background: var(--fx-green-soft); border-radius: 10px; padding: 8px 10px; }
.fx-word-state { font-size: 15px; margin: 0 0 8px; color: var(--fx-muted); }
.fx-word-state.is-done { color: var(--fx-green); font-weight: 600; }
.fx-word-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fx-word-actions .fx-btn { font-size: 16px; min-height: 48px; padding: 8px 10px; }
.fx-word-actions .fx-find { grid-column: 1 / -1; }
.fx-word-audio { font-size: 15px; margin: 6px 0 0; color: var(--fx-warn); }
.fx-word-audio:empty { display: none; }

.fx-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fx-section-head h2 { margin: 0; }
.fx-posts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.fx-post { border: 1px solid var(--fx-line); border-radius: 14px; overflow: hidden; }
.fx-post-photo { background: #e9eee3; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; color: var(--fx-muted); font-size: 15px; }
.fx-post-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fx-post-body { padding: 10px 12px 12px; }
.fx-post-body p { margin: 0 0 4px; }
.fx-post-who { font-weight: 600; }
.fx-post-word { font-size: 17px; }
.fx-post-caption { font-size: 17px; white-space: pre-wrap; }
.fx-post-time { font-size: 14px; color: var(--fx-muted); }
.fx-post-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.fx-post-actions .fx-btn { width: auto; flex: 1 1 140px; min-height: 48px; font-size: 16px; }
.fx-post-actions .fx-btn.is-on { background: var(--fx-green-soft); border-color: var(--fx-green); color: var(--fx-green); }
.fx-empty { color: var(--fx-muted); padding: 12px 0; }

.fx-invite { background: var(--fx-green-soft); border-radius: 14px; padding: 12px; margin-bottom: 14px; }
.fx-invite p { margin: 0; }
.fx-code { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 30px; letter-spacing: .12em; font-weight: 700; }
.fx-links { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.fx-linkrow { border: 1px solid var(--fx-line); border-radius: 14px; padding: 12px; }
.fx-linkrow p { margin: 0 0 6px; }
.fx-linkrow .fx-row { margin-top: 0; }

.fx-sheet { position: fixed; inset: 0; z-index: 2000; background: rgba(20, 28, 18, .45); display: flex; align-items: flex-end; justify-content: center; }
.fx-sheet[hidden] { display: none; }
.fx-sheet-panel {
    width: 100%; max-width: 680px; max-height: 92vh; overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-radius: 20px 20px 0 0; padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
}
.fx-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fx-sheet-head h2 { margin: 0; }
.fx-close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--fx-line); background: #fff; font-size: 26px; line-height: 1; cursor: pointer; flex: 0 0 auto; }
.fx-file { position: relative; overflow: hidden; }
.fx-file input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; font-size: 0; }
.fx-pick { margin: 6px 0 12px; }
.fx-preview { margin: 0 0 12px; background: #e9eee3; border-radius: 12px; overflow: hidden; }
.fx-preview img { display: block; width: 100%; max-height: 46vh; object-fit: contain; }

.fx-toast {
    position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%);
    width: min(calc(100% - 32px), 520px); z-index: 2100;
    background: #24331f; color: #fff; border-radius: 14px; padding: 12px 16px; font-size: 17px; box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.fx-toast[hidden] { display: none; }

@media (max-width: 380px) {
    .fx-tools { grid-template-columns: 1fr; }
    .fx-tool { flex-direction: row; justify-content: space-between; text-align: left; min-height: 56px; }
    .fx-word-actions { grid-template-columns: 1fr; }
}
@media (min-width: 760px) {
    .fx { padding-top: 24px; }
    .fx-sheet { align-items: center; }
    .fx-sheet-panel { border-radius: 20px; }
}

/* Approved warm family journal: center spine, name-only cards, compact header rewards. */
:root{--fx-bg:#fbf7ef;--fx-card:#fffcf6;--fx-line:#dfd6c5;--fx-green:#496a30;--fx-green-soft:#edf0df;--fx-ink:#302c20;--fx-muted:#736d5c}
.fx-page{font-size:17px;background:var(--fx-bg)}.fx{max-width:800px;padding:18px 16px 110px}.fx-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.fx-head>div{display:flex;gap:12px}.fx-brand{font:700 25px Georgia,serif;color:var(--fx-green);text-decoration:none;white-space:nowrap}.fx-brand span{font:600 19px system-ui;border-left:1px solid var(--fx-line);padding-left:12px;margin-left:8px}
.fx-tools{margin:12px 0}.fx-tool{min-height:48px;padding:8px}.fx-tool small{display:none}.fx-card{border-radius:20px;background:var(--fx-card);box-shadow:0 3px 8px #6c512207}.fx-companion{display:none}.fx-family-summary{padding:16px 20px;margin-bottom:12px;background:#f3f1e3}.fx-family-summary h2{font-family:Georgia,"Noto Serif SC",serif;font-size:24px;margin:3px 0 8px}.fx-family-count{display:flex;gap:14px;align-items:center;font-size:18px}.fx-family-count button{display:flex;align-items:center;gap:7px;font-size:15px;min-height:40px}.fx-family-count svg{width:23px;height:27px}.fx-family-summary progress{display:block;width:75%;height:9px;margin:7px 0;accent-color:var(--fx-green);border:0;border-radius:10px;overflow:hidden}.fx-family-summary progress::-webkit-progress-bar{background:#dedfc6}.fx-family-summary progress::-webkit-progress-value{background:var(--fx-green)}.fx-family-summary .fx-note:empty{display:none}.fx-family-summary .fx-note{margin:4px 0 0}
#fx-feed{background:none;border:0;box-shadow:none;padding:0;margin-top:14px}#fxFeedTitle{font:600 22px Georgia,serif}.fx-timeline-controls{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px}.fx-timeline-controls small{font-size:12px;color:var(--fx-muted);align-self:center}.fx-filters{display:flex;justify-content:center;border:1px solid var(--fx-line);border-radius:30px;overflow:hidden;margin:10px 10% 20px}.fx-filters button{border:0;background:none;color:inherit;font:inherit;min-height:42px;flex:1;border-radius:30px}.fx-filters button.is-on{background:var(--fx-green);color:#fff}
.fx-posts{display:grid!important;grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr);gap:14px 0;position:relative;padding:4px 0!important;list-style:none;align-items:start}.fx-posts:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:1px;background:#80904f}.fx-post{position:relative;display:block!important;grid-column:1;background:var(--fx-card);padding:10px!important;border:1px solid var(--fx-line)!important;border-radius:16px!important;min-width:0;overflow:visible!important;box-shadow:0 3px 6px #6c51220c}.fx-post.is-right{grid-column:3}.fx-post.is-left{grid-column:1}.fx-post-timepoint{position:absolute;top:18px;left:calc(100% + 3px);width:44px;text-align:center;background:#f7e7bf;border-radius:16px;font:600 12px/24px system-ui;z-index:1}.fx-post.is-right .fx-post-timepoint{left:auto;right:calc(100% + 3px)}.fx-post-body{padding:0!important}.fx-post-who{font-size:14px;font-weight:650;line-height:1.4;margin:0 0 8px;overflow-wrap:anywhere}.fx-post-word{display:flex;align-items:center;gap:6px;margin:6px 0!important}.fx-post-word>span{font-size:23px;line-height:1.3;font-family:Georgia,serif;overflow-wrap:anywhere;min-width:0}.fx-post-reading{font-size:13px;line-height:1.5;margin:0 0 7px}.fx-post-photo{margin:8px 0 0;aspect-ratio:1.15!important;width:100%!important;border-radius:10px;overflow:hidden;background:#e9e4d6}.fx-post-photo img{width:100%;height:100%;object-fit:cover;cursor:zoom-in}.fx-post-caption{font-size:14px;margin:8px 0}.fx-post-actions{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0 0}.fx-post-actions .fx-btn{font-size:12px;min-height:34px;padding:4px 7px}.fx-audio{border:1px solid var(--fx-line);border-radius:50%;background:var(--fx-green-soft);color:var(--fx-green);width:36px;height:36px;flex-shrink:0;cursor:pointer}.fx-post-date{grid-column:1/-1;background:var(--fx-bg);z-index:1;font-size:15px;margin:12px 0}.fx-empty{grid-column:1/-1;z-index:1;background:var(--fx-bg);padding:18px}.fx-bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:800px;display:flex;justify-content:space-around;padding:12px 14px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--fx-line);background:#fffcf6f5;backdrop-filter:blur(8px);z-index:8}.fx-bottom button{font:inherit;min-height:48px;width:28%;background:none;border:0;border-radius:24px;color:var(--fx-ink)}.fx-bottom .is-on{background:#e3e9cb;color:var(--fx-green)}.fx-add{position:fixed;right:max(18px,calc((100vw - 780px)/2));bottom:96px;width:55px;height:55px;border:0;border-radius:50%;background:var(--fx-green);color:white;font:36px/1 system-ui;box-shadow:0 4px 12px #45522d33;z-index:7}.fx-rules{text-align:center;padding:25px 6px}.fx-rules h1{font:600 clamp(29px,6vw,42px)/1.5 Georgia,"Noto Serif SC",serif;color:#273a19}.fx-rule-list{background:var(--fx-card);border:1px solid var(--fx-line);border-radius:22px;padding:6px 22px;margin:28px 0}.fx-rule-list>div{display:flex;text-align:left;gap:20px;align-items:center;min-height:110px;border-bottom:1px solid var(--fx-line)}.fx-rule-list>div:last-child{border:0}.fx-rule-list p{font-size:20px;font-family:Georgia,serif;line-height:1.7}.fx-rule-list>div>span{width:85px;flex-shrink:0;position:relative;display:block}.fx-rule-squirrel img{width:80px;height:auto;display:block}.fx-rule-family{height:75px}.fx-rule-family img{position:absolute;width:48px;height:auto;bottom:4px}.fx-rule-family img:nth-child(1){left:-5px}.fx-rule-family img:nth-child(2){right:-4px}.fx-rule-family img:nth-child(3){width:36px;left:24px;bottom:0}.fx-rule-extra svg{width:46px;height:55px;transform:rotate(12deg);margin-left:23px}.fx-rule-extra b{position:absolute;top:-5px;left:5px;font:700 25px/1 system-ui;color:#899b57;transform:rotate(-8deg)}.fx-rule-extra i{position:absolute;bottom:5px;left:7px;width:19px;height:10px;border-top:1px solid #899b57;border-radius:50%;transform:rotate(-30deg)}.fx-rule-note{color:var(--fx-muted)}.fx-rules>.fx-btn{width:100%;border-radius:30px}.fx-page [hidden]{display:none!important}.fx-posts .fx-post{grid-row:var(--row) / span 2}
@media(min-width:600px){.fx-posts{grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr)}.fx-post-timepoint{width:64px;font-size:14px}.fx-post{padding:15px!important}.fx-post-word>span{font-size:30px}.fx-post-who{font-size:16px}}
@media(max-width:370px){.fx{padding-left:10px;padding-right:10px}.fx-brand{font-size:21px}.fx-brand span{font-size:16px;padding-left:6px;margin-left:4px}.fx-head>div{gap:6px}.fx-post{padding:8px!important}.fx-post-word>span{font-size:20px}.fx-rule-list{padding:5px 15px}.fx-rule-list>div{gap:8px}.fx-rule-list p{font-size:18px}}

.fx-photo-dialog{max-width:min(94vw,900px);border:1px solid var(--fx-line);border-radius:18px;background:var(--fx-bg);padding:16px}.fx-photo-dialog::backdrop{background:#172016aa}.fx-photo-dialog img{display:block;max-width:100%;max-height:75vh;object-fit:contain}.fx-photo-dialog button{display:block;margin:14px auto 0;min-height:44px;font:inherit;background:var(--fx-green);color:white;border:0;border-radius:24px;padding:8px 24px}.fx-companion:not([hidden]){display:flex}

.fx-post.is-left .fx-post-timepoint{left:calc(100% + 3px);right:auto}.fx-family-summary{padding:12px 18px}.fx-family-summary h2{font-size:21px}.fx-family-count{font-size:17px}.fx-post-caption{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.fx-post-photo img{min-height:0}.fx-posts{gap:8px 0}

/* Family v2 polish toward the approved mockup: pill header actions, no underlines on the reward state,
   kana beside the word with audio at the end, and on wide screens cards hug the center spine instead of
   stretching into oversized photos. */
.fx-head .fx-inline{min-height:36px;padding:4px 14px;border:1px solid var(--fx-line);border-radius:20px;background:var(--fx-card);text-decoration:none;color:var(--fx-ink);font-size:14px}
.fx-head .fx-inline+.fx-inline{border:0;background:none;padding-left:4px;padding-right:4px}
.fx-family-count .fx-inline{text-decoration:none;color:var(--fx-ink);padding:0}
.fx-family-count .fx-inline:not(:disabled){color:var(--fx-green);font-weight:650;cursor:pointer}
.fx-family-count .fx-inline:disabled{cursor:default;opacity:1}
.fx-post-word{flex-wrap:wrap}.fx-post-kana{font-size:14px;color:var(--fx-muted);margin-left:4px}.fx-post-word .fx-audio{margin-left:auto}
.fx-post-reading{margin:0 0 6px}
@media(min-width:600px){.fx-posts .fx-post{width:100%;max-width:300px}.fx-posts .fx-post.is-left{justify-self:end}.fx-posts .fx-post.is-right{justify-self:start}}

/* 学习计划（Home/plan）の照片：家庭时间线で同じ card、小さな印だけ付ける */
.fx-post-plan { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 999px; background: var(--fx-green-soft); color: var(--fx-green); font-size: 12px; vertical-align: middle; }
/* 已会：生词本的“已学会”。撤销可。本周的已完成・松果は写真の記録だけ */
.fx-word.is-known { border-color: #b8860b; }
.fx-known-tag { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 999px; background: #fff8e1; color: #6b4513; font-size: 14px; }
.fx-btn-known { border-color: #b8860b; background: #fff8e1; color: #6b4513; }
/* 小组改版：小组／好友の見出し、小组邀请カード（本人が確認して加入）、组名と使用场景の編集 */
.fx-subhead{margin:18px 0 6px;font-size:17px;font-weight:700}
#fx-family-controls .fx-subhead:first-child{margin-top:4px}
.fx-group-invite{border:2px solid var(--fx-green);background:var(--fx-green-soft);margin-bottom:12px}
.fx-group-invite h2{margin:4px 0 6px;font-size:20px;line-height:1.35;overflow-wrap:anywhere}
.fx-group-invite .fx-note{margin:0 0 10px}
#fx-family-create,#fx-family-join{margin:0 0 12px}
.fx-group-edit-box{margin:0 0 12px;border:1px solid var(--fx-line);border-radius:14px;padding:0 14px;background:var(--fx-card)}
.fx-group-edit-box>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--fx-green);font-weight:650}
.fx-group-edit-box[open]>summary{margin-bottom:6px}
.fx-group-edit-box form{padding-bottom:12px}
.fx-head .fx-inline{white-space:nowrap}
@media(max-width:430px){.fx-head{gap:8px}.fx-head>div{gap:8px}.fx-brand span{font-size:17px;padding-left:8px;margin-left:6px}.fx-head .fx-inline{padding-left:11px;padding-right:11px}}
#fx-family-scene:empty,#fx-group-owner-note:empty{display:none}

/* Google 登录（Supabase 开通后才显示）与收到邀请的提示 */
.fx-btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: var(--fx-ink, #1f2a22); border-color: var(--fx-line); }
.fx-btn-google svg { flex: none; }
.fx-login-invite { background: #f2f6ef; border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; font-size: 15px; line-height: 1.55; }
.fx-login-invite[hidden], .fx-btn-google[hidden] { display: none; }
/* 小组照片（09）：「分享照片」・分享先の明示・日常分享の札。既存の配色だけを使う */
.fx-feed-actions { margin-top: 0; flex-wrap: nowrap; gap: 8px; }
.fx-feed-actions > .fx-btn { flex: 0 0 auto; }
.fx-sheet-target { margin: 4px 0 2px; font-size: 16px; font-weight: 600; color: var(--fx-green); overflow-wrap: anywhere; }
.fx-post-tag { display: inline-block; margin: 0 0 6px; padding: 0 8px; border-radius: 999px; background: #f7e7bf; color: var(--fx-ink); font-size: 12px; line-height: 22px; }
