:root { color-scheme: light; font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif; color: #262626; background: #fafafa; font-synthesis: none; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; line-height: 1.6; }
h1, h2, p { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: wait; opacity: .55; }
button:focus-visible { outline: 2px solid #777; outline-offset: 3px; }
[hidden] { display: none !important; }
.header { background: white; border-bottom: 1px solid #ededed; }
.header-inner { max-width: 920px; min-height: 88px; padding: 20px 28px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
h1 { font-size: 21px; font-weight: 600; letter-spacing: -.5px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid #dedede; border-radius: 10px; background: white; color: #333; font-size: 14px; }
.button:hover { background: #f5f5f5; }
.primary { border-color: #272727; background: #272727; color: white; }
.primary:hover { background: #424242; border-color: #424242; }
.page { max-width: 920px; margin: 0 auto; padding: 28px; }
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
.group { min-width: 0; padding: 22px; display: flex; flex-direction: column; border: 1px solid #e5e5e5; border-radius: 16px; background: white; }
.group-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.group h2 { font-size: 17px; line-height: 1.6; font-weight: 550; overflow-wrap: anywhere; }
.lock { flex-shrink: 0; color: #999; display: flex; padding-top: 4px; }
.lock svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.members { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; flex: 1; min-height: 44px; list-style: none; margin: 19px 0 23px; padding: 0; }
.members li { align-self: flex-start; padding: 4px 10px; max-width: 100%; border: 1px solid #ececec; border-radius: 7px; color: #626262; font-size: 15px; overflow-wrap: anywhere; }
.no-members { margin: 19px 0 23px; flex: 1; min-height: 44px; padding-top: 5px; color: #a3a3a3; font-size: 13px; }
.join { width: 100%; }
.message { padding: 65px 0; color: #969696; text-align: center; font-size: 14px; }
.message button { padding: 4px 0; background: none; border: none; color: #404040; text-decoration: underline; text-underline-offset: 3px; }
.modal { width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 26px; overflow: auto; border: 1px solid #e5e5e5; border-radius: 18px; color: #262626; background: white; overscroll-behavior: contain; }
.modal::backdrop { background: #00000035; }
.modal h2 { margin-bottom: 24px; font-size: 20px; line-height: 1.6; font-weight: 600; overflow-wrap: anywhere; }
.field { display: block; margin-bottom: 20px; }
.field > span { display: block; margin-bottom: 8px; font-size: 13px; color: #555; }
.field input { width: 100%; min-height: 47px; padding: 10px 12px; border: 1px solid #dedede; border-radius: 9px; outline: none; color: #262626; background: white; font-size: 16px; }
.field input:focus { border-color: #777; }
.field input::placeholder { color: #aaa; font-size: 14px; }
.form-actions { display: flex; gap: 10px; margin-top: 26px; }
.form-actions .button { flex: 1; }
.form-error { font-size: 13px; color: #a53e37; line-height: 1.8; overflow-wrap: anywhere; }
body.has-modal { overflow: hidden; }
@media (max-width: 600px) {
  .header-inner { min-height: 78px; padding: 17px 20px; }
  h1 { font-size: 20px; }
  .header .button { padding: 10px 16px; font-size: 13px; }
  .page { padding: 20px; }
  .groups { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .group { padding: 20px; border-radius: 14px; }
  .modal { position: fixed; inset: auto 0 0; width: 100%; max-width: 100%; max-height: calc(100dvh - 20px); margin: 0; padding: 25px 22px max(25px, env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; border-bottom: none; }
}
