:root {
  --brand: #0fa5a1; --brand-dark: #0a7f7b; --brand-soft: #e3fff5;
  --ink: #17252a; --muted: #5b6b70; --line: #d7ebe8; --bg: #fff; --bg-alt: #f1fbf8;
  --accent: #f2e03a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.site-body { margin: 0; color: var(--ink); background: var(--bg); line-height: 1.7;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; }
.site-body a { color: var(--brand-dark); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* header / footer */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 22px; letter-spacing: .04em; color: var(--brand) !important; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink) !important; text-decoration: none; font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--brand) !important; }
.nav .nav-cta { background: var(--brand); color: #fff !important; padding: 8px 16px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--brand-dark); color: #fff !important; }
.nav-logout { background: none; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; padding: 0; width: auto; margin: 0; }
.logo img { width: 34px; height: 34px; border-radius: 8px; }
.nav-toggle { display: none; }
.nav .nav-login { background: none; border: 2px solid var(--brand); color: var(--brand-dark); font: inherit; font-size: 14px; font-weight: 700; padding: 6px 16px; border-radius: 999px; cursor: pointer; width: auto; margin: 0; }
.nav .nav-login:hover { background: var(--brand-soft); }
.store-btn { display: inline-block; line-height: 0; transition: transform .15s; }
.store-btn:hover { transform: translateY(-2px); }
.store-btn img { height: 54px; width: auto; }
.store-btn.soon { opacity: .55; pointer-events: none; }
.soon-label { font-size: 13px; font-weight: 700; color: var(--muted); align-self: center; }
.final-cta .soon-label { color: rgba(255,255,255,.85); }
/* login modal */
.login-modal { border: 0; border-radius: 20px; padding: 28px; width: min(400px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.login-modal::backdrop { background: rgba(13,59,58,.55); }
.login-modal h2 { margin: 0 0 4px; font-size: 22px; }
.login-modal .sub { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.login-modal label { display: block; font-size: 13px; font-weight: 700; margin: 14px 0 5px; color: var(--ink); }
.login-modal input[type=email], .login-modal input[type=password] { width: 100%; padding: 11px 13px; border: 1px solid #cdd9d7; border-radius: 10px; font: inherit; }
.login-modal input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.login-modal .cta { width: 100%; margin-top: 18px; padding: 13px; }
.login-modal .or { text-align: center; color: #8a9a9d; font-size: 12px; margin: 16px 0 4px; }
.login-modal .oauth { display: block; width: 100%; text-align: center; padding: 11px; border-radius: 12px; font-weight: 700; font-size: 14px; text-decoration: none; margin-top: 8px; border: 1px solid var(--line); color: var(--ink) !important; background: #fff; }
.login-modal .oauth.line { background: #06c755; border-color: #06c755; color: #fff !important; }
.login-modal .close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 24px; width: auto; margin: 0; padding: 0; color: var(--muted); cursor: pointer; }
.login-modal .err[hidden] { display: none; }
.login-modal .err { background: #fdeceb; color: #d70015; padding: 9px 12px; border-radius: 10px; font-size: 13px; margin-top: 12px; }
.login-modal .foot { text-align: center; font-size: 13px; margin: 16px 0 0; color: var(--muted); }
.site-footer { background: #0d3b3a; color: #b9cac7; padding: 40px 0 28px; font-size: 14px; }
.site-footer a { color: #d7e5e2 !important; text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 20px; }
.footer-copy { font-size: 12px; color: #7f9390; }

/* buttons */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none;
  border-radius: 14px; padding: 15px 28px; font-size: 16px; border: 2px solid transparent; transition: transform .15s, box-shadow .15s; width: auto; margin: 0; cursor: pointer; font-family: inherit; }
.cta:hover { transform: translateY(-2px); }
.cta-primary { background: var(--brand); color: #fff !important; box-shadow: 0 8px 20px rgba(15,165,161,.3); }
.cta-primary:hover { background: var(--brand-dark); }
.cta-ghost { background: #fff; color: var(--brand) !important; border-color: var(--brand); }
.cta-soon { background: #e6ecea; color: var(--muted) !important; cursor: default; box-shadow: none; }
.cta-soon:hover { transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-note { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* hero */
.hero { background: linear-gradient(160deg, var(--brand-soft) 0%, #fff 60%); padding: 56px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; background: #fff; border: 1px solid var(--line); color: var(--brand); font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: 44px; line-height: 1.25; margin: 0 0 18px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--brand); background: linear-gradient(transparent 62%, rgba(242,224,58,.55) 62%); }
.hero p.lead { font-size: 17px; color: var(--muted); margin: 0 0 28px; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; color: var(--muted); }
.hero-points li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 6px; }

/* phone mock */
.phone { width: 270px; margin: 0 auto; background: #0d3b3a; border-radius: 40px; padding: 11px; box-shadow: 0 30px 60px rgba(16,32,30,.25); transform: rotate(3deg); }
.phone-screen { background: #fff; border-radius: 30px; padding: 22px 18px 24px; min-height: 470px; }
.ticket-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ticket-top { background: var(--brand); color: #fff; padding: 14px 16px; }
.ticket-top small { opacity: .8; font-size: 11px; }
.ticket-top strong { display: block; font-size: 16px; line-height: 1.4; }
.ticket-body { padding: 16px; text-align: center; }
.ticket-body .qr { width: 150px; height: 150px; margin: 4px auto 10px; display: block; }
.ticket-body p { margin: 0; font-size: 12px; color: var(--muted); }
.ticket-meta { display: flex; justify-content: space-between; border-top: 1px dashed var(--line); padding: 10px 16px; font-size: 12px; color: var(--muted); }
.pill-ok { display: block; margin: 14px auto 0; width: max-content; background: #e6f9ed; color: #1a7f37; font-weight: 700; font-size: 13px; padding: 6px 16px; border-radius: 999px; }

/* sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .kicker { color: var(--brand); font-weight: 800; font-size: 13px; letter-spacing: .12em; }
.section-head h2 { font-size: 30px; line-height: 1.4; margin: 6px 0 12px; }
.section-head p { color: var(--muted); margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.box h3 { margin: 12px 0 8px; font-size: 18px; }
.box p { margin: 0; color: var(--muted); font-size: 15px; }
.ico { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 24px; }
.pain .box { border-left: 4px solid var(--accent); border-radius: 12px; padding: 18px 20px; }
.pain .box p { color: var(--ink); font-weight: 600; }

/* feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 28px 0; }
.split.rev .split-text { order: 2; }
.split h3 { font-size: 26px; line-height: 1.4; margin: 8px 0 14px; }
.split p { color: var(--muted); }
.split ul { padding: 0; list-style: none; margin: 16px 0 0; }
.split li { padding-left: 26px; position: relative; margin-bottom: 8px; font-weight: 600; font-size: 15px; }
.split li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.visual { background: linear-gradient(145deg, var(--brand-soft), #fff); border: 1px solid var(--line); border-radius: 24px; padding: 28px; min-height: 260px; display: grid; place-items: center; }
.chip { display: inline-block; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 12px; padding: 3px 12px; border-radius: 999px; }
.mini-list { width: 100%; max-width: 300px; }
.mini-row { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.mini-row span.tag { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: #e6f9ed; color: #1a7f37; }
.mini-row span.tag.wait { background: #fff6e0; color: #a86500; }
.offline-banner { background: #0d3b3a; color: #fff; border-radius: 12px; padding: 12px 16px; font-size: 14px; display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.role-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 28px; }
.role-tabs a { padding: 9px 22px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 14px; color: var(--ink) !important; background: #fff; }
.role-tabs a:hover { border-color: var(--brand); color: var(--brand) !important; }

/* pricing page (2026-11-15) */
.plan-note { max-width: 760px; margin: 0 auto 28px; background: #fff6e0; color: #7a4b00; border-radius: 12px; padding: 12px 16px; font-size: 14px; text-align: center; }
.plan-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 20px; text-align: center; }
.plan-card.free { border-color: var(--brand); }
.plan-card h3 { margin: 0 0 6px; font-size: 18px; }
.plan-card .qty { font-size: 34px; font-weight: 800; color: var(--brand); line-height: 1.2; }
.plan-card .unit { color: var(--muted); font-size: 13px; }
.plan-card .price { margin-top: 12px; font-weight: 700; font-size: 14px; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.plan-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.plan-table th, .plan-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.plan-table th:first-child, .plan-table td:first-child { text-align: left; font-weight: 700; }
.plan-table thead th { background: var(--bg-alt); font-size: 13px; }
.plan-table td small { display: block; color: var(--muted); font-weight: 400; margin-top: 2px; }
.plan-table .no { color: #b0b8bb; }
.role-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); margin-left: 6px; vertical-align: middle; }
.callout { background: var(--brand-soft); border-radius: 14px; padding: 16px 20px; margin-top: 24px; font-size: 14px; }
.callout strong { display: block; margin-bottom: 4px; }
@media (max-width: 820px) { .plan-cards { grid-template-columns: 1fr 1fr; } }

/* faq */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* final cta */
.final-cta { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; text-align: center; padding: 72px 0; }
.final-cta h2 { font-size: 30px; margin: 0 0 12px; line-height: 1.4; }
.final-cta p { opacity: .9; margin: 0 0 28px; }
.final-cta .cta-row { justify-content: center; }
.final-cta .cta-primary { background: #fff; color: var(--brand) !important; box-shadow: none; }
.final-cta .cta-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.7); }
.final-cta .cta-soon { background: rgba(255,255,255,.18); color: #fff !important; }
.final-cta .store-note { color: rgba(255,255,255,.75); }

/* page head / prose / form */
.page-head { background: linear-gradient(160deg, var(--brand-soft), #fff); padding: 48px 0 36px; text-align: center; }
.page-head h1 { margin: 0 0 8px; font-size: 32px; }
.page-head p { margin: 0; color: var(--muted); }
.prose h2 { font-size: 19px; margin: 34px 0 8px; padding-left: 12px; border-left: 4px solid var(--brand); }
.prose p, .prose li { color: #33474b; font-size: 15px; }
.prose ol, .prose ul { padding-left: 22px; }
.draft-note { background: #fff6e0; border: 1px solid #f0d9a0; color: #7a5200; border-radius: 12px; padding: 12px 16px; font-size: 13px; margin-bottom: 8px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.form-card label { display: block; font-size: 14px; font-weight: 700; margin: 16px 0 6px; }
.form-card input, .form-card select, .form-card textarea { width: 100%; padding: 12px 14px; border: 1px solid #cdd9d7; border-radius: 10px; font: inherit; background: #fff; }
.form-card textarea { min-height: 150px; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.form-card .cta { width: 100%; margin-top: 22px; }
.hp { position: absolute; left: -9999px; }
.flash { background: #e6f9ed; color: #1a7f37; padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; }
.flash-err { background: #fdeceb; color: #d70015; padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: 14px; }

.sticky-cta { display: none; }

/* 読み込み中オーバーレイ（<dialog>のtop layerで、ログインモーダルよりも前面に出す） */
dialog.loading-overlay { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: transparent; align-items: center; justify-content: center; }
dialog.loading-overlay[open] { display: flex; animation: loading-in .15s ease-out; }
dialog.loading-overlay::backdrop { background: rgba(13,59,58,.35); }
.loading-box { display: flex; align-items: center; gap: 12px; background: #fff; color: #17252a; font: 600 15px/1 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif; padding: 18px 24px; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.spinner { width: 22px; height: 22px; border: 3px solid #d7ebe8; border-top-color: #0fa5a1; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loading-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 820px) {
  .hero { padding: 36px 0 44px; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 32px; }
  .split.rev .split-text { order: 0; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .section-head h2, .final-cta h2 { font-size: 24px; }
  .phone { transform: none; width: 250px; }
  .nav-toggle { display: block; background: none; border: 0; font-size: 26px; width: auto; margin: 0; padding: 0 4px; cursor: pointer; color: var(--ink); }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav .nav-login { text-align: center; margin-top: 12px; }
  .nav a, .nav-logout { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
  .nav .nav-cta { text-align: center; margin-top: 12px; border: 0; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
  .sticky-cta { text-align: center; }
  .site-footer { padding-bottom: 90px; }
}

/* ---- ログイン後のイベント一覧・詳細（アプリの「イベント」タブに合わせた構成） ---- */
.pill-tabs { display: flex; gap: 8px; margin-bottom: 14px; overflow-x: auto; }
.pill-tabs a { flex: 1; text-align: center; white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink) !important; font-size: 14px; font-weight: 600; text-decoration: none; }
.pill-tabs a.active { background: var(--brand); border-color: var(--brand); color: #fff !important; }
a.ev-card { display: block; position: relative; color: inherit !important; text-decoration: none; overflow: hidden; }
.ev-card .ev-issuer, .ev-issuer { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.ev-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.ev-title { font-size: 16px; font-weight: 600; margin-top: 4px; }
.small { font-size: 12px; }
.chip-cat { display: inline-block; color: #fff; font-size: 11px; padding: 2px 10px; border-radius: 999px; }
.badge.info { background: #e3f3ff; color: #0a6ab5; }
.badge.discount { background: #fdeceb; color: #d70015; margin-right: 4px; }
.ev-stamp { position: absolute; inset: 0; background: rgba(0,0,0,.35); display: grid; place-items: center; }
.ev-stamp span { color: #fff; font-size: 20px; font-weight: 700; }
.card.empty { text-align: center; padding: 40px 20px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 12px 0 0; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; }
button.btn[data-open-dialog] { margin-top: 14px; }
.chat h2 { margin: 0 0 10px; }
.chat-scroll { max-height: 360px; overflow-y: auto; padding: 4px 2px; }
.chat-row { display: flex; margin: 10px 0; }
.chat-row.mine { justify-content: flex-end; }
.chat-col { max-width: 80%; display: flex; flex-direction: column; }
.chat-row.mine .chat-col { align-items: flex-end; }
.chat-bubble { padding: 10px 12px; border-radius: 12px; background: #f1f3f2; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.chat-row.mine .chat-bubble { background: var(--brand); color: #fff; }
.chat-time { margin-top: 2px; font-size: 11px; color: var(--muted); }
.chat-empty { text-align: center; color: var(--muted); font-size: 13px; margin: 24px 0; }
.chat-name { width: 100%; box-sizing: border-box; margin: 12px 0 0; }
.chat-input { display: flex; align-items: flex-end; gap: 8px; margin-top: 12px; }
.chat-input textarea { flex: 1; margin: 0; resize: vertical; min-height: 44px; }
.chat-input button { width: 44px; height: 44px; margin: 0; padding: 0; flex: none; border-radius: 50%; }
.ticket-modal { border: 0; border-radius: 20px; padding: 24px 20px 12px; width: min(380px, calc(100vw - 32px)); text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.ticket-modal::backdrop { background: rgba(13,59,58,.55); }
.ticket-modal h2 { margin: 0 24px 4px; font-size: 17px; }
.ticket-modal .close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 24px; width: auto; margin: 0; padding: 0; color: var(--muted); cursor: pointer; }

/* フッターを常にページ下部へ（内容が短い画面でも画面の下に付く） */
body.site-body, body.has-footer { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.site-body > #page-content, body.has-footer > #page-content { flex: 1 0 auto; width: 100%; }
body.site-body > .site-footer, body.has-footer > .site-footer { margin-top: auto; flex-shrink: 0; }

/* 確認ダイアログ */
.confirm-modal { border: 0; border-radius: 18px; padding: 24px 20px 20px; width: min(340px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(0,0,0,.3); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif; }
.confirm-modal::backdrop { background: rgba(13,59,58,.55); }
.confirm-modal p { margin: 0 0 18px; font-size: 15px; font-weight: 600; line-height: 1.6; text-align: center; color: #17252a; }
.confirm-actions { display: flex; gap: 10px; }
.confirm-actions .btn { margin-top: 0; padding: 11px 8px; }

/* 性別選択モーダル（保存するまで閉じられない） */
.sex-modal { border: 0; border-radius: 20px; padding: 28px 22px 22px; width: min(360px, calc(100vw - 32px)); text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.3); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif; }
.sex-modal::backdrop { background: rgba(13,59,58,.65); }
.sex-modal h2 { margin: 0 0 6px; font-size: 20px; color: #17252a; }
.sex-modal .sub { margin: 0 0 16px; font-size: 13px; color: #5b6b70; }
.sex-buttons { display: flex; gap: 12px; }
.sex-buttons button { flex: 1; margin-top: 0; padding: 16px 8px; font-size: 16px; }

/* お知らせ（トップページ。運用者が管理画面で作ったもの） */
.news { padding: 28px 0; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.news h2 { font-size: 18px; margin: 0 0 12px; color: var(--brand-dark); }
.news ul { list-style: none; margin: 0; padding: 0; }
.news li { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.news summary { cursor: pointer; padding: 12px 16px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.news time { color: var(--muted); font-size: 13px; }
.news details p { margin: 0; padding: 0 16px 14px; color: var(--ink); }

.members { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 14px; }
.members th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted, #6e6e73); padding: 6px 4px; border-bottom: 1px solid #d1d1d6; }
.members td { padding: 8px 4px; border-bottom: 1px solid #ececf0; }
.members tbody tr:last-child td { border-bottom: 0; }
.members .amount { text-align: right; white-space: nowrap; }
.members .act { width: 40px; text-align: right; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; margin: 0; border: 0; border-radius: 8px; background: transparent; color: var(--brand-dark, #0d3b3a); cursor: pointer; }
.icon-btn:hover { background: #eef6f3; }
.icon-btn.danger { color: #d70015; }
.icon-btn.danger:hover { background: #fdeceb; }
.add-member .names { display: flex; gap: 8px; }
.add-member .names input { flex: 1; min-width: 0; }
.add-member .sexes { display: flex; gap: 8px; margin: 10px 0 14px; }
.add-member .chip { margin: 0; cursor: pointer; flex: 1; }
.add-member .chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.add-member .chip span { display: flex; align-items: center; justify-content: center; width: 100%; padding: 10px 14px; border: 1.5px solid #d1d1d6; border-radius: 10px; background: #fff; font-weight: 600; }
.add-member .chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
