/* 掲示板（games/community）と同じ色・文字・カード・ボタン。デザインは plans/2026-11-19-fan-community/ExecPlan.md のキャンバスの 1〜9 枚目 */
:root { --bg: #EAF6FF; --sky: #8FD3FF; --ink: #1B1233; --sub: #4A4566; --card: #FFFFFF; --line: #CFE3F2; --soft: #F4FAFF; --acc: #FF6B6B; --accd: #C94B4B; --link: #0B6FCC; --red: #D93A3A;
  --mine: #EAF8F2; --first: #FFF8E1; --firstl: #F2D48A; --bar: rgba(234,246,255,.95); --sa-t: env(safe-area-inset-top, 0px); --sa-b: env(safe-area-inset-bottom, 0px); color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { --bg: #120C24; --sky: #2A3F7A; --ink: #F4F1FF; --sub: #B8B2D6; --card: #1E1638; --line: #33295A; --soft: #19122E; --link: #7CC4FF; --red: #FF8A80;
  --mine: #18302A; --first: #3A3016; --firstl: #6B5A24; --bar: rgba(18,12,36,.95); color-scheme: dark; } }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", system-ui, sans-serif; font-weight: 500; -webkit-text-size-adjust: 100%; }
body { overscroll-behavior-y: none; }
button, a, input, textarea, select { font: inherit; color: inherit; touch-action: manipulation; }
button { border: 0; background: none; cursor: pointer; padding: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.hide { display: none !important; }
#ug-lv { display: none !important; }
#top { position: sticky; top: 0; z-index: 20; background: var(--bg); padding: calc(var(--sa-t) + 12px) 16px 8px; }
.ugbeta-on #top { padding-top: calc(var(--sa-t) + 44px); }
#home { display: inline-block; font-size: 13px; font-weight: 800; color: var(--sub); text-decoration: none; min-height: 24px; }
#title { display: flex; align-items: center; gap: 10px; min-height: 40px; padding-right: 150px; }
#title h1 { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.3; white-space: nowrap; }
main { padding: 4px 16px calc(var(--sa-b) + 40px); max-width: 640px; margin: 0 auto; }
main.withbar { padding-bottom: calc(var(--sa-b) + 130px); }
h2.sec { margin: 18px 0 8px; font-size: 15px; font-weight: 800; }
.note { font-size: 12.5px; color: var(--sub); line-height: 1.7; }
.empty { text-align: center; color: var(--sub); font-weight: 800; padding: 30px 0; line-height: 1.7; font-size: 14px; }
/* 一覧 */
#q { width: 100%; height: 48px; border: 2px solid var(--line); border-radius: 14px; background: var(--card); padding: 0 14px; font-size: 16px; }
.gc { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 10px 12px; margin: 8px 0; text-decoration: none; }
.gc:active { transform: scale(.99); }
.gc .ph { width: 64px; height: 64px; border-radius: 14px; flex: none; object-fit: cover; background: var(--soft); }
.gc .ph.none { border: 1.5px dashed var(--line); display: grid; place-items: center; font-size: 22px; font-weight: 800; color: var(--sub); }
.gc.small .ph { width: 48px; height: 48px; border-radius: 12px; }
.gc .tx { flex: 1; min-width: 0; }
.gc b { display: block; font-size: 16.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc .sm { font-size: 12.5px; color: var(--sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.newb { flex: none; font-size: 12px; font-weight: 800; color: #fff; background: var(--acc); border-radius: 999px; padding: 3px 10px; }
/* グループのページ */
#gHead { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin-top: 4px; }
/* 写真は高さを決めず 16:9 で、上寄せ（グループの写真は顔が上にあることが多い）。持ち主「画像を入れても切れちゃう」2026-11-19 */
#gHead .cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 25%; background: var(--soft); }
#gHead .in2 { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
#gHead h1 { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.3; word-break: break-word; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; color: #1B1233; background: #EEE; white-space: nowrap; }
.chip[hidden] { display: none; }
.chipMore { background: var(--card); color: var(--link); border: 1.5px solid var(--line); text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--acc); color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 4px 0 var(--accd); white-space: nowrap; text-decoration: none; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--accd); }
.btn:disabled { opacity: .5; }
.btn.sub { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line), 0 4px 0 var(--line); }
.btn.wide { width: 100%; }
.meCard { display: flex; align-items: center; gap: 10px; background: var(--mine); border-radius: 14px; padding: 8px 10px; text-decoration: none; color: var(--ink); width: 100%; text-align: left; }
.meCard .tx { flex: 1; min-width: 0; }
.meCard b { display: block; font-size: 14.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meCard small { display: block; font-size: 11.5px; color: var(--sub); line-height: 1.5; }
.firstCard { background: var(--first); border: 1px solid var(--firstl); border-radius: 18px; padding: 14px; margin-top: 10px; text-align: center; }
.firstCard b { display: block; font-size: 16px; font-weight: 800; }
.firstCard p { margin: 4px 0 10px; font-size: 13px; color: var(--sub); }
.firstCard .row { display: flex; gap: 8px; } .firstCard .row > * { flex: 1; }
/* アイコン（丸）。ふちは最初の推しの色 */
.av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 16px; font-weight: 800; overflow: hidden; box-shadow: 0 0 0 2.5px var(--ring, var(--line)); color: var(--ink); }
.av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av.big { width: 88px; height: 88px; font-size: 34px; box-shadow: 0 0 0 4px var(--card), 0 0 0 7px var(--ring, var(--line)); }
/* タイムライン */
.it { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px 12px 10px 12px; margin: 8px 0; display: flex; gap: 10px; }
.it.mine { box-shadow: inset 0 0 0 2px #FF9EB0; }
.it .avb { align-self: flex-start; }
.it .bd { flex: 1; min-width: 0; }
.it .hd { display: flex; align-items: baseline; gap: 6px; }
.it .hd b { font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.it .hd .tm { font-size: 11.5px; color: var(--sub); white-space: nowrap; margin-left: auto; }
.it .op { flex: none; min-width: 32px; min-height: 28px; margin: -6px -6px 0 0; border-radius: 10px; font-size: 16px; color: var(--sub); }
.it .tx { margin-top: 2px; font-size: 15px; line-height: 1.65; white-space: pre-wrap; word-break: break-word; }
.it .join { font-size: 14.5px; line-height: 1.6; }
.it .join b { font-weight: 800; }
.it .days { font-size: 12px; color: var(--sub); margin-top: 4px; }
.it .pic { display: block; margin-top: 8px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; max-width: 100%; }
.it .pic img { display: block; max-width: 100%; max-height: 340px; width: auto; height: auto; }
.it .pic.draw img { width: 200px; height: 200px; }
.rx { display: flex; gap: 6px; justify-content: flex-end; margin-top: 6px; }
.rx > * { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.rx button { background: var(--soft); border: 1px solid var(--line); min-width: 52px; }
.rx button.on { background: #FFE8EE; border-color: #FF8FA8; }
.rx button.on.party { background: #FFF6D6; border-color: #F2C12E; }
.rx span { color: var(--sub); padding: 0 4px; }
.rx svg { width: 20px; height: 20px; flex: none; }
.more { display: block; margin: 10px auto; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--card); font-weight: 800; font-size: 13.5px; border: 1px solid var(--line); }
/* 人のページ */
#uHead { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px 16px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 4px; }
#uHead .nm { text-align: center; }
#uHead .nm b { display: block; font-size: 20px; font-weight: 800; word-break: break-word; }
#uHead .nm small { font-size: 13px; color: var(--sub); }
#uHead .two { display: flex; gap: 8px; width: 100%; }
#uHead .two > div { flex: 1; background: var(--soft); border-radius: 14px; padding: 10px; text-align: center; }
#uHead .two small { display: block; font-size: 11.5px; font-weight: 800; color: var(--sub); }
#uHead .two b { display: block; font-size: 20px; font-weight: 800; }
#uHead .two i { display: block; font-style: normal; font-size: 11px; color: var(--sub); }
.backl { display: inline-block; font-size: 13px; font-weight: 800; color: var(--sub); text-decoration: none; min-height: 32px; padding-top: 4px; }
/* 下の書く欄 */
#bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--bar); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 12px calc(var(--sa-b) + 10px); border-top: 1px solid var(--line); }
#bar .wrap { max-width: 640px; margin: 0 auto; }
#bar .att { display: flex; align-items: center; gap: 10px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 6px 8px; margin-bottom: 8px; }
#bar .att img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; flex: none; background: #fff; }
#bar .att span { flex: 1; font-size: 12.5px; font-weight: 800; color: var(--sub); }
#bar .att button { flex: none; width: 36px; height: 36px; border-radius: 99px; font-size: 16px; color: var(--sub); }
#bar .in { display: flex; gap: 8px; align-items: flex-end; }
.tool { flex: none; width: 46px; height: 46px; border-radius: 14px; border: 2px solid var(--line); background: var(--soft); display: inline-flex; align-items: center; justify-content: center; }
.tool svg { width: 24px; height: 24px; }
#ta { flex: 1; min-width: 0; height: 46px; max-height: 168px; resize: none; border: 2px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 16px; background: var(--soft); line-height: 1.45; display: block; }
#ta:focus { border-color: #5AA9E6; outline: none; }
#send { flex: none; width: 52px; height: 46px; border-radius: 999px; background: var(--acc); box-shadow: 0 4px 0 var(--accd); display: grid; place-items: center; }
#send:disabled { opacity: .45; }
#send svg { width: 30px; height: 30px; }
#cnt { text-align: right; font-size: 11.5px; color: var(--sub); margin-top: 4px; padding-right: 60px; }
#cnt.over { color: var(--red); font-weight: 800; }
/* シート */
#shade { position: fixed; inset: 0; z-index: 40; background: rgba(20,14,40,.45); }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; background: var(--card); border-radius: 24px 24px 0 0; padding: 18px 16px calc(var(--sa-b) + 16px); max-height: 92vh; overflow: auto; max-width: 640px; margin: 0 auto; animation: up .2s ease; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.sheet h3 { margin: 2px 0 12px; font-size: 18px; font-weight: 800; text-align: center; line-height: 1.45; }
.sheet label.l { display: block; font-size: 13px; font-weight: 800; color: var(--sub); margin: 12px 0 4px; }
.sheet input[type=text], .sheet input[type=date] { width: 100%; height: 48px; border: 2px solid var(--line); border-radius: 14px; padding: 0 12px; font-size: 16px; background: var(--soft); }
.sheet .row { display: flex; gap: 8px; margin-top: 16px; } .sheet .row > * { flex: 1; }
.sheet ul { margin: 6px 0 0; padding-left: 1.2em; font-size: 14px; line-height: 1.75; }
.sheet .menu button { display: block; width: 100%; min-height: 50px; border-radius: 12px; font-weight: 800; font-size: 16px; text-align: left; padding: 0 14px; }
.sheet .menu button + button { border-top: 1px solid var(--line); border-radius: 0; }
.sheet .menu .danger { color: var(--red); }
.jTop { display: flex; gap: 12px; align-items: center; }
.iconPick { flex: none; width: 72px; height: 72px; border-radius: 50%; border: 2px dashed var(--line); background: var(--soft); display: grid; place-items: center; overflow: hidden; position: relative; }
.iconPick img { width: 100%; height: 100%; object-fit: cover; }
.iconPick small { font-size: 11px; font-weight: 800; color: var(--sub); line-height: 1.3; text-align: center; }
.unameBox { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 14px; background: var(--soft); padding: 0 12px; height: 48px; }
.unameBox span { font-size: 13px; color: var(--sub); white-space: nowrap; }
.unameBox input { flex: 1; min-width: 0; border: 0 !important; outline: 0; background: transparent !important; height: 44px !important; padding: 0 0 0 2px !important; font-size: 16px; }
.uok { font-size: 11.5px; font-weight: 800; min-height: 1.4em; margin-top: 4px; color: var(--sub); }
.uok.ok { color: #1F7A4D; } .uok.ng { color: var(--red); }
.oshiPick { display: flex; flex-wrap: wrap; gap: 6px; max-height: 210px; overflow: auto; padding: 2px; }
.oshiPick button { min-height: 38px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 800; border: 2px solid var(--line); background: var(--card); display: inline-flex; align-items: center; gap: 6px; }
.oshiPick button i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(27,18,51,.2); }
.oshiPick button.on { border-color: var(--ink); background: var(--soft); }
.oshiPick button.hako.on { background: var(--ink); color: var(--bg); }
.err { color: var(--red); font-size: 13px; font-weight: 800; min-height: 1.2em; margin-top: 8px; text-align: center; }
.leave { display: block; margin: 14px auto 0; font-size: 13px; font-weight: 800; color: var(--sub); text-decoration: underline; min-height: 32px; }
/* 手書き */
#cv { display: block; width: 100%; aspect-ratio: 1; border-radius: 16px; border: 2px solid var(--line); background: #fff; touch-action: none; }
.pens { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pens button { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(27,18,51,.18); }
.pens button.on { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--ink); }
.dtools { display: flex; gap: 8px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.dtools button { min-height: 40px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 800; border: 2px solid var(--line); background: var(--card); display: inline-flex; align-items: center; gap: 4px; }
.dtools button.on { border-color: var(--ink); }
.dtools button.er.on { background: #FFE8EE; }
.dtools svg { width: 24px; height: 24px; }
.dtools .sp { flex: 1; }
#toast { position: fixed; left: 50%; top: calc(var(--sa-t) + 64px); transform: translateX(-50%); z-index: 60; background: var(--ink); color: var(--bg); font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: 99px; box-shadow: 0 6px 18px rgba(0,0,0,.2); max-width: calc(100% - 32px); text-align: center; }
@media (min-width: 720px) { #title h1 { font-size: 28px; } }
.avb, .meCard, .gc { text-decoration: none; color: inherit; }
.rx button.on, .dtools button.er.on, .chip { color: #1B1233; }
.unameBox.fixed b { font-size: 16px; padding-left: 2px; overflow: hidden; text-overflow: ellipsis; }
.uTabs { display: flex; gap: 8px; overflow-x: auto; width: 100%; padding: 2px 2px 8px; scrollbar-width: none; }
.uTabs::-webkit-scrollbar { display: none; }
.uTabs button { flex: none; min-height: 40px; padding: 0 16px; border-radius: 99px; border: 2px solid var(--line); background: var(--card); color: var(--ink); font-weight: 800; font-size: 14px; white-space: nowrap; }
.uTabs button.on { background: var(--ink); color: var(--card); border-color: var(--ink); }
.unameBox.fixed { background: transparent; border-style: dashed; }
.intro { background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 16px 16px 12px; margin: 0 0 14px; }
.intro h2 { margin: 0 0 10px; font-size: 18px; font-weight: 800; }
.intro ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.intro li { display: flex; gap: 10px; align-items: flex-start; }
.intro .ie { flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; font-size: 19px; }
.intro li b { display: block; font-size: 14.5px; line-height: 1.4; }
.intro li small { display: block; font-size: 12.5px; color: var(--sub); line-height: 1.5; }
.intro p { margin: 10px 0 0; font-size: 12px; color: var(--sub); }
.reqBox { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 18px 0 6px; font-size: 13px; color: var(--sub); font-weight: 800; }
.reqBox .btn { width: auto; min-width: 220px; padding: 0 22px; }
/* イベント（第 2 フェーズ。2026-11-19 まず FRUITS ZIPPER） */
.gTabs { display: flex; gap: 8px; margin: 12px 0 4px; }
.gTabs button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 14.5px; font-weight: 800; }
.gTabs button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cal { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px; margin-top: 8px; }
.calH { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.calH b { font-size: 16px; }
.calH button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--soft); color: var(--sub); font-size: 20px; font-weight: 800; }
.calH button:disabled { opacity: .3; }
.calW, .calD { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.calW { font-size: 11px; font-weight: 800; color: var(--sub); }
.calW span:first-child { color: var(--accd); }
.calD { margin-top: 4px; }
.cd { height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font-size: 13px; font-weight: 800; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; }
.cd:disabled { color: var(--sub); opacity: .75; }
.cd.has { background: var(--soft); }
.cd i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.cd.go i { background: #2BB673; }
.cd.today { box-shadow: inset 0 0 0 2px var(--ink); }
.cd.past { opacity: .45; }
.evHint { margin: 10px 0 0; text-align: center; font-size: 13px; font-weight: 800; color: var(--sub); }
.evList { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.evc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; display: flex; align-items: center; gap: 12px; scroll-margin: 80px; }
.evc.past { opacity: .85; }
.evc.flash { animation: evFlash 1.2s; }
@keyframes evFlash { 0%, 40% { box-shadow: 0 0 0 3px var(--acc); } 100% { box-shadow: none; } }
.evDate { width: 46px; flex: none; text-align: center; border-radius: 12px; background: var(--soft); padding: 4px 0; display: flex; flex-direction: column; line-height: 1.15; }
.evDate small { font-size: 10.5px; font-weight: 800; color: var(--sub); }
.evDate b { font-size: 20px; font-weight: 800; }
.evDate.k-ライブ { background: #FFE3E3; } .evDate.k-フェス { background: #DDF2FB; } .evDate.k-生誕祭 { background: #FFF0C9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .evDate.k-ライブ { background: #4A2230; } :root:not([data-theme="light"]) .evDate.k-フェス { background: #1F3A55; } :root:not([data-theme="light"]) .evDate.k-生誕祭 { background: #4A3B1A; } }
.evBody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.evBody b { font-size: 14.5px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.evBody span { font-size: 12px; color: var(--sub); font-weight: 700; }
.evBody .evK { font-size: 11px; color: var(--sub); font-weight: 800; }
.evBody a { font-size: 12px; font-weight: 800; color: var(--sub); text-decoration: none; margin-top: 2px; }
.evGo { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.goBtn { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--acc); color: #fff; font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.goBtn.on { background: #2BB673; }
.evN { font-size: 11px; font-weight: 800; color: var(--sub); white-space: nowrap; }
.evDone { font-size: 11.5px; font-weight: 800; color: var(--sub); }
.evNote { margin-top: 14px; }
.myEv { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; margin-bottom: 8px; color: var(--ink); text-decoration: none; }
.evYears { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; }
.evYears button { flex: none; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--sub); font-size: 13px; font-weight: 800; }
.evYears button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.goBtn.was { background: var(--sub); }
.goBtn.was.on { background: #2BB673; }
/* 行く予定を人のページに見せるか（初めは OFF） */
.evPub { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin-top: 18px; cursor: pointer; }
.evPub > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.evPub b { font-size: 14px; font-weight: 800; }
.evPub small { font-size: 12px; color: var(--sub); font-weight: 700; }
.evPub input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.evPub i { flex: none; width: 50px; height: 30px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; }
.evPub i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.evPub input:checked + i { background: #2BB673; }
.evPub input:checked + i::after { transform: translateX(20px); }
.evPub input:focus-visible + i { outline: 2px solid var(--ink); outline-offset: 2px; }
#gHead .coverEdit { position: absolute; top: 10px; right: 10px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(27,18,51,.72); color: #fff; font-size: 13px; font-weight: 800; }
/* 匿名のお題（2026-11-20） */
.topicNew { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin: 8px 0 4px; border-radius: 16px; border: 1.5px dashed var(--line); background: var(--card); color: var(--ink); font-size: 14.5px; font-weight: 800; }
.topicNew small { font-size: 11.5px; color: var(--sub); font-weight: 700; }
.it.topic { background: linear-gradient(135deg, #FFF7D6, #FFE9F1); border-color: #F3D9A4; }
.it.topic .tq { font-size: 12px; font-weight: 800; color: #8A5A00; }
.it.topic .tb { margin: 6px 0 10px; font-size: 18px; font-weight: 800; line-height: 1.5; word-break: break-word; }
.it.topic .tf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.it.topic .ansBtn { min-height: 38px; padding: 0 18px; font-size: 14px; }
.it.topic .ta { font-size: 12.5px; font-weight: 800; color: var(--sub); }
.it.topic .rx { margin: 0 0 0 auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .it.topic { background: linear-gradient(135deg, #3A2E10, #3A1B2A); border-color: #5A4520; } :root:not([data-theme="light"]) .it.topic .tq { color: #F3C969; } }
.qref { margin-top: 4px; padding: 6px 10px; border-radius: 10px; background: var(--soft); font-size: 12.5px; font-weight: 700; color: var(--sub); word-break: break-word; }
.qto span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.tqCnt { text-align: right; font-size: 12px; color: var(--sub); margin: 4px 0 10px; }
.tqCnt.over { color: var(--accd); }
#tqIn { width: 100%; border: 2px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 16px; background: var(--card); color: var(--ink); resize: none; }
