@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-latin-500-normal.woff2) format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-latin-600-normal.woff2) format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/inter-latin-700-normal.woff2) format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/inter-latin-800-normal.woff2) format("woff2");
}
@media print {
  .no-print { display: none !important; }
}
body { font-family: Inter, Segoe UI, sans-serif; }
.brand-boot {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 42%, #14532d 0%, #052e16 42%, #020805 100%);
  color: #ecfdf5;
  transition: opacity .55s ease, visibility .55s ease;
}
.brand-boot.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.brand-boot-stage {
  position: relative;
  width: 188px;
  height: 188px;
  display: grid;
  place-items: center;
}
.brand-boot-glow {
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, .45), transparent 68%);
  animation: bootPulse 1.6s ease-in-out infinite;
}
.brand-boot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #86efac;
  border-right-color: #e2e8f0;
  animation: bootSpin 1.1s linear infinite;
}
.brand-boot-crest {
  position: relative;
  z-index: 1;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #bbf7d0;
  box-shadow: 0 0 40px rgba(34,197,94,.55), 0 12px 30px rgba(0,0,0,.45);
  animation: bootCrest 1.4s ease-in-out infinite;
}
.brand-boot-name {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-align: center;
  color: #f8fafc;
}
.brand-boot-sub {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #86efac;
  text-align: center;
}
@keyframes bootSpin { to { transform: rotate(360deg); } }
@keyframes bootPulse {
  0%, 100% { transform: scale(.92); opacity: .65; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes bootCrest {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.pub-shell {
  background: #f4f5f7;
  color: #0f172a;
}
.pub-top {
  background: #fff;
  border-bottom: 1px solid #e6e8ee;
}
.pub-top-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.pub-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.pub-brand:hover .pub-logo { transform: rotate(-6deg) scale(1.06); }
.pub-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #111827;
  color: #e2e8f0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
}
.pub-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px #e2e8f0, 0 8px 18px rgba(15, 23, 42, .08);
  transition: transform .25s ease;
}
.pub-brand strong { display: block; font-size: 16px; line-height: 1.1; color: #0f172a; }
.pub-brand span { display: block; font-size: 11px; color: #64748b; font-weight: 700; letter-spacing: .04em; }
.pub-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pub-nav a, .pub-nav button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  color: #334155;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.pub-nav a:hover, .pub-nav button:hover { background: #f1f5f9; transform: translateY(-1px); }
.pub-nav a.on { background: #ecfdf5; color: #14532d; }
.pub-nav .btn {
  background: #14532d;
  color: #fff;
  box-shadow: 0 8px 16px rgba(15, 23, 42, .12);
}
.pub-nav .btn:hover { background: #166534; }
.pub-nav .ghost {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
}
.pub-nav .staff { color: #94a3b8; font-weight: 600; font-size: 12px; }
.pub-main { max-width: 1120px; margin: 0 auto; padding: 28px 20px 64px; }
.pub-flash {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}
.pub-flash.ok { background: #14532d; color: #bbf7d0; }
.pub-flash.bad { background: #7f1d1d; color: #fecaca; }

.pub-head h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -.03em;
  font-weight: 800;
  color: #0f172a;
}
.pub-head p {
  margin: 8px 0 0;
  max-width: 560px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
}
.pub-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.pub-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: #14532d;
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
  transition: transform .15s ease, filter .15s ease;
}
.pub-actions .btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.pub-actions .btn.alt {
  background: #fff;
  color: #334155;
  border: 1px solid #e2e8f0;
  box-shadow: none;
}

.pub-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0 8px;
}
.pub-chips a, .pub-chips button {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.pub-chips a:hover, .pub-chips button:hover { transform: translateY(-1px); background: #f8fafc; border-color: #cbd5e1; }
.pub-chips .on {
  background: #111827;
  border-color: #111827;
  color: #fff;
}
@keyframes hubIn {
  from { opacity: 0; transform: translateY(12px) scale(.99); }
  to { opacity: 1; transform: none; }
}
.hub-panel { animation: hubIn .22s ease-out; }
.hub-search {
  width: 100%;
  border-radius: 12px;
  border: 0;
  background: #f1f5f9;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
}
.hub-search:focus {
  background: #fff;
  box-shadow: 0 0 0 2px #0f766e33;
}
.lineup {
  display: grid;
  gap: 22px;
}
.lineup-intro {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #334155;
}
.lineup-me td {
  background: #ecfdf5;
}
.lineup-bar {
  position: sticky;
  top: 64px;
  z-index: 10;
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.94));
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(5, 46, 22, .08);
  border: 1px solid rgba(20, 83, 45, .12);
}
.lineup-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lineup-pills button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dbe7df;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #3f5b4c;
  cursor: pointer;
}
.lineup-pills button strong {
  min-width: 1.4em;
  font-size: 13px;
  color: #052e16;
}
.lineup-pills button.is-on {
  background: #14532d;
  border-color: #14532d;
  color: #ecfdf5;
  box-shadow: 0 8px 18px rgba(20, 83, 45, .22);
}
.lineup-pills button.is-on strong { color: #fff; }
.lineup-pills button.warn { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.lineup-pills button.warn strong { color: #92400e; }
.lineup-pills button.warn.is-on { background: #b45309; border-color: #b45309; color: #fff; }
.lineup-pills button.warn.is-on strong { color: #fff; }
.lineup-hint {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}
.lineup-day {
  display: grid;
  gap: 14px;
}
.lineup-day h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 4px 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #14532d;
}
.lineup-day h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(20,83,45,.18), transparent);
}
.lineup-day-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 1080px) {
  .lineup-day-grid { grid-template-columns: 1fr 1fr; }
}
.lineup-ico {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.14);
  color: #fff;
  flex-shrink: 0;
}
.lineup-tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 800;
  background: #ecfdf5;
  color: #14532d;
}
.lineup-tag.muted { background: #eef2f7; color: #475569; }
.lineup-tag.warm { background: #fff7ed; color: #c2410c; }
.lineup-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 11px;
  background: #fff;
  color: #14532d;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(5, 46, 22, .12);
}
.lineup-open:hover { transform: translateY(-1px); }
.lineup-event {
  border: 1px solid #dce8e1;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .05);
}
.lineup-event.is-empty {
  border-color: #f3e0c4;
  box-shadow: 0 14px 30px rgba(180, 83, 9, .06);
}
.lineup-sheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.lineup-sheet thead tr:first-child th {
  background: linear-gradient(135deg, #052e16 0%, #14532d 58%, #166534 100%);
  color: #fff;
  padding: 0;
  font-weight: 800;
  text-align: left;
}
.lineup-event.is-empty .lineup-sheet thead tr:first-child th {
  background: linear-gradient(135deg, #7c2d12 0%, #b45309 70%);
}
.lineup-sheet-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.lineup-sheet-head p {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.lineup-sheet-meta {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  color: #bbf7d0;
}
.lineup-event.is-empty .lineup-sheet-meta { color: #ffedd5; }
.lineup-sheet-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.lineup-stat {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(255,255,255,.14);
  color: #ecfdf5;
  font-size: 11px;
  font-weight: 800;
}
.lineup-event.is-empty .lineup-stat { background: rgba(255,255,255,.16); color: #fff7ed; }
.lineup-sheet thead tr:last-child th {
  background: #f4faf6;
  color: #3f5b4c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-bottom: 1px solid #e3eee7;
}
.lineup-sheet tbody td {
  padding: 11px 16px;
  border-top: 1px solid #f1f5f4;
  color: #334155;
  vertical-align: middle;
}
.lineup-sheet tbody tr:nth-child(even) td { background: #fbfefc; }
.lineup-sheet tbody tr:hover td { background: #ecfdf5; }
.lineup-who {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lineup-none {
  color: #b45309 !important;
  font-weight: 700;
  background: #fffbeb !important;
  text-align: center;
}
.hub-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.hub-table td { vertical-align: middle; }
.hub-table tbody tr:hover { background: #f8fafc; }
[data-join-filter].is-on {
  box-shadow: 0 0 0 2px rgba(20, 83, 45, .18);
}
.lineup-pills button.is-on {
  box-shadow: 0 8px 18px rgba(20, 83, 45, .22);
}

.pub-day {
  margin-top: 28px;
}
.pub-day h2 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
}
.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  perspective: 900px;
}
.pub-card {
  --accent: #334155;
  --wash: #f8fafc;
  --deep: #475569;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
  transform-style: preserve-3d;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pub-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%);
  transform: translateX(-130%);
}
.pub-card:hover::before {
  transform: translateX(130%);
  transition: transform .7s ease;
}
.pub-card[data-tone="ink"] { --accent:#111827; --wash:#f8fafc; --deep:#334155; }
.pub-card[data-tone="silver"] { --accent:#64748b; --wash:#f8fafc; --deep:#475569; }
.pub-card[data-tone="stone"] { --accent:#78716c; --wash:#fafaf9; --deep:#57534e; }
.pub-card[data-tone="gold"] { --accent:#b45309; --wash:#fffbeb; --deep:#92400e; }
.pub-card[data-tone="teal"] { --accent:#0f766e; --wash:#f0fdfa; --deep:#115e59; }
.pub-card[data-tone="slate"] { --accent:#475569; --wash:#f8fafc; --deep:#334155; }
.pub-card[data-tone="night"] { --accent:#1e3a5f; --wash:#f1f5f9; --deep:#1e293b; }
.pub-card[data-tone="moss"] { --accent:#3f6212; --wash:#f7fee7; --deep:#3f6212; }
.pub-card:hover {
  box-shadow: 0 18px 36px rgba(15, 23, 42, .10);
}
.pub-card-banner {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 14px;
  background: var(--wash);
  border-bottom: 1px solid #eef1f4;
}
.pub-card-banner::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
}
.pub-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.pub-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  background: #fff;
  color: var(--deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px #e6e8ee;
}
.pub-ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px color-mix(in srgb, var(--accent) 35%, transparent);
}
.pub-ico img {
  filter: brightness(0) invert(1);
}
.pub-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 4px 16px 16px;
}
.pub-card h3 {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: #0f172a;
}
.pub-meta {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}
.pub-card-foot {
  margin-top: auto;
  padding-top: 14px;
}
.pub-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.pub-cta:hover { filter: brightness(1.08); }
.pub-cta.quiet {
  background: transparent;
  color: var(--deep);
  border: 1px solid #e2e8f0;
}
.pub-note {
  margin: 0;
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--wash);
  font-size: 13px;
  font-weight: 700;
  color: var(--deep);
  text-align: center;
  padding: 0 10px;
}
.pub-note.is-player {
  background: #ecfdf5;
  color: #14532d;
}
.pub-note.is-wait {
  background: #fffbeb;
  color: #92400e;
}
.pub-note.is-out {
  background: #f1f5f9;
  color: #475569;
}
.pub-note.is-pending {
  background: #f8fafc;
  color: #334155;
}
.pub-card-foot .pub-meta {
  margin-top: 8px;
  text-align: center;
}
.pub-roster {
  margin: 8px 0 28px;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .08);
  border: 1px solid #e8ecf1;
}
.pub-roster h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.pub-roster-lead {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}
.pub-roster-you {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.pub-roster-you.out {
  background: #fff7ed;
  color: #9a3412;
}
.pub-roster-you.in {
  background: #ecfdf5;
  color: #14532d;
}
.pub-roster-search {
  width: 100%;
  margin-top: 16px;
  border: 0;
  border-radius: 14px;
  background: #f1f5f9;
  padding: 12px 14px;
  font-size: 14px;
}
.pub-roster-cols {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
@media (min-width: 800px) {
  .pub-roster-cols { grid-template-columns: 1fr 1fr; }
}
.pub-roster-col {
  border: 1px solid #e8ecf1;
  border-radius: 18px;
  overflow: hidden;
  min-height: 160px;
}
.pub-roster-col.joined { border-color: #fde68a; }
.pub-roster-col h3 {
  margin: 0;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
  background: #f8fafc;
}
.pub-roster-col.joined h3 { background: #fffbeb; }
.pub-roster-col ul {
  margin: 0;
  padding: 8px;
  max-height: 320px;
  overflow: auto;
  list-style: none;
}
.pub-roster-col li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 13px;
}
.pub-roster-col li:hover { background: #f8fafc; }
.pub-roster-col li.you {
  background: #fff7ed;
  box-shadow: 0 0 0 1px #fdba74;
}
.pub-roster-col.joined li.you {
  background: #ecfdf5;
  box-shadow: 0 0 0 1px #86efac;
}
.pub-roster-col li strong { font-weight: 750; color: #0f172a; }
.pub-roster-col li span { color: #64748b; font-size: 12px; }
.pub-roster-empty {
  padding: 18px 12px;
  color: #64748b;
  font-size: 13px;
}

.pub-auth {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 32px 16px 56px;
  background:
    radial-gradient(520px 300px at 8% -10%, rgba(15, 23, 42, .06), transparent 58%),
    radial-gradient(420px 260px at 100% 0%, rgba(20, 83, 45, .08), transparent 52%),
    #eef1f4;
}
.pub-auth-card {
  width: min(440px, 100%);
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .10);
  border: 1px solid #e6e8ee;
}
.pub-auth-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 28px 26px;
  color: #fff;
  background: #111827;
}
.pub-auth-card.is-register .pub-auth-hero {
  background: #111827;
}
.pub-auth-hero::before,
.pub-auth-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
}
.pub-auth-hero::before {
  width: 160px;
  height: 160px;
  right: -40px;
  top: -50px;
}
.pub-auth-hero::after {
  width: 90px;
  height: 90px;
  right: 48px;
  bottom: -30px;
  background: rgba(134, 239, 172, .35);
}
.pub-auth-hero .kicker,
.pub-auth-brand p.kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pub-auth-hero h1,
.pub-auth-brand h1 {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  font-size: 30px;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.pub-auth-hero .lead,
.pub-auth-brand p.lead {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  max-width: 28ch;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  line-height: 1.55;
}
.pub-auth-form { padding: 22px 28px 28px; }
.pub-auth-form h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.pub-auth-form .hint { margin: 8px 0 0; color: #64748b; font-size: 14px; line-height: 1.5; }
.pub-field { margin-top: 14px; }
.pub-field label { display: block; font-size: 13px; font-weight: 700; color: #334155; }
.pub-field input, .pub-field select, .pub-field textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 14px;
  padding: 12px 13px;
  font: inherit;
  font-size: 15px;
}
.pub-field input:focus, .pub-field select:focus, .pub-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: #0f766e;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, .14);
}
.pub-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 650;
  color: #475569;
}
.pub-submit {
  width: 100%;
  margin-top: 18px;
  border: 0;
  border-radius: 14px;
  background: #14532d;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  padding: 13px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}
.pub-submit:hover { filter: brightness(1.06); }
.pub-auth-card.is-register .pub-submit {
  background: #14532d;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}
.pub-foot { margin: 16px 0 0; text-align: center; color: #64748b; font-size: 13px; }
.pub-foot a { color: #14532d; font-weight: 800; text-decoration: none; }
.pub-suggest { position: relative; }
.pub-suggest-list {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  top: calc(100% - 2px);
  max-height: 220px;
  overflow: auto;
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, .12);
}
.pub-suggest-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 9px 10px;
  font: inherit;
  font-size: 14px;
  color: #0f172a;
  cursor: pointer;
}
.pub-suggest-item:hover { background: #f1f5f9; }
.pub-field-msg {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #64748b;
}
.pub-field-msg.is-ok { color: #166534; }
.pub-field-msg.is-warn { color: #b45309; }
.pub-field-msg.is-bad { color: #b91c1c; }
.pub-submit:disabled {
  opacity: .45;
  cursor: not-allowed;
  filter: none;
}
.pub-money {
  margin-top: 36px;
  padding-top: 8px;
}
.pub-money > h2 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
}
.pub-money-lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: #64748b;
}
.pub-money-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.pub-money-stat {
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 18px;
  padding: 16px 18px;
}
.pub-money-stat span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
}
.pub-money-stat strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}
.pub-money-card {
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.pub-money-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.pub-money-table {
  width: 100%;
  margin-top: 10px;
  font-size: 14px;
  border-collapse: collapse;
}
.pub-money-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 8px 0;
}
.pub-money-table td {
  padding: 8px 0;
  border-top: 1px solid #f1f5f9;
  color: #334155;
}
.pub-money-table td:last-child,
.pub-money-table th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pub-pay {
  margin: 8px 0 28px;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 18px;
  padding: 18px 20px;
}
.pub-pay-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.pub-pay-top h2 {
  margin: 0;
  font-size: 18px;
}
.pub-pay-top p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #64748b;
}
.pub-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.pub-pay-grid div {
  background: #f8fafc;
  border-radius: 14px;
  padding: 12px 14px;
}
.pub-pay-grid span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748b;
}
.pub-pay-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}
.pub-pay.is-player { border-color: #a7f3d0; background: #f0fdf4; }
.pub-pay.is-wait { border-color: #fde68a; background: #fffbeb; }
.pub-pay.is-out { border-color: #fecaca; background: #fff7f7; }
.fin-ui { display: grid; gap: 18px; }
.fin-hero {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.fin-stat, .fin-meter {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid #e7ebe8;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.fin-stat:hover, .fin-meter:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, .08);
}
.fin-stat::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -18px;
  top: -24px;
  border-radius: 50%;
  opacity: .18;
}
.fin-stat.is-in::after { background: #22c55e; }
.fin-stat.is-out::after { background: #f59e0b; }
.fin-stat.is-hold.is-empty {
  border-color: #fecaca;
  background: #fff7f7;
}
.fin-stat.is-hold.is-empty strong { color: #b91c1c; }
.fin-alert {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.fin-alert strong { display: block; margin-bottom: 4px; }
.fin-alert.is-low {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
}
.fin-alert.is-pay {
  background: #fefce8;
  border: 1px solid #fde68a;
  color: #854d0e;
}
.fin-stat span, .fin-meter span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
}
.fin-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  letter-spacing: -.03em;
}
.fin-stat em, .fin-meter em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 12px;
  color: #64748b;
}
.fin-meter { display: grid; justify-items: center; text-align: center; }
.fin-ring {
  --pct: 0;
  width: 84px;
  height: 84px;
  margin: 8px 0 4px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#14532d calc(var(--pct) * 1%), #e2e8f0 0);
}
.fin-ring b {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  font-size: 16px;
}
.fin-board {
  background: linear-gradient(180deg, #fff, #fbfdfb);
  border: 1px solid #e7ebe8;
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
  overflow: hidden;
}
.fin-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
  background: #f3f6f4;
}
.fin-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #475569;
  border-radius: 16px;
  padding: 12px 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.fin-tabs button small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 650;
  color: #64748b;
}
.fin-tabs button:hover { background: #fff; transform: translateY(-1px); }
.fin-tabs button[aria-selected="true"] {
  background: #14532d;
  color: #fff;
  box-shadow: 0 10px 18px rgba(20, 83, 45, .22);
}
.fin-tabs button[aria-selected="true"] small { color: #bbf7d0; }
.fin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px 12px;
}
.fin-toolbar input {
  flex: 1;
  min-width: 0;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 14px;
  padding: 11px 14px;
  font: inherit;
  outline: none;
}
.fin-toolbar input:focus { border-color: #14532d; box-shadow: 0 0 0 3px #14532d22; }
.fin-toolbar p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}
.fin-table-wrap { overflow-x: auto; padding: 0 8px 12px; }
.fin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}
.fin-table th {
  position: sticky;
  top: 0;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748b;
  padding: 12px;
  background: #f8faf9;
  cursor: pointer;
  user-select: none;
}
.fin-table th:hover { color: #14532d; }
.fin-table td {
  padding: 13px 12px;
  border-top: 1px solid #eef2ef;
  color: #334155;
  vertical-align: middle;
}
.fin-table tbody tr { transition: background .15s ease; }
.fin-table tbody tr:hover { background: #f0fdf4; }
.fin-table th:last-child,
.fin-table td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 700;
}
.fin-table small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}
.fin-link {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 800;
  color: #14532d;
  cursor: pointer;
}
.fin-link:hover { text-decoration: underline; }
.fin-receipt {
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #dbe4dc;
  background: #f8fafc;
}
.fin-receipt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fin-muted {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}
.fin-use {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.fin-use-bar {
  display: inline-block;
  width: 72px;
  height: 7px;
  border-radius: 99px;
  background: #e2e8f0;
  overflow: hidden;
  vertical-align: middle;
}
.fin-use-bar i {
  display: block;
  height: 100%;
  background: #14532d;
}
.fin-empty {
  margin: 0 16px 16px;
  padding: 28px 16px;
  border-radius: 16px;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
}
@media (max-width: 980px) {
  .pub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pub-money-grid,
  .pub-pay-grid { grid-template-columns: 1fr; }
  .fin-hero { grid-template-columns: 1fr 1fr; }
  .fin-tabs { grid-template-columns: 1fr; }
  .fin-toolbar { flex-direction: column; align-items: stretch; }
  .fin-toolbar p { white-space: normal; }
}
@media (max-width: 640px) {
  .pub-top-inner { flex-wrap: wrap; }
  .pub-nav { width: 100%; justify-content: flex-start; }
  .pub-grid { grid-template-columns: 1fr; }
  .fin-hero { grid-template-columns: 1fr; }
}

.msg-header-btn {
  position: relative;
  z-index: 21;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #14532d;
  cursor: pointer;
  pointer-events: auto;
}
.msg-header-btn svg { width: 18px; height: 18px; }
.msg-header-count,
.msg-fab-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.msg-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
  width: auto;
  pointer-events: none;
}
.msg-dock[hidden] {
  display: none !important;
}
.msg-fab,
.msg-panel {
  pointer-events: auto;
}
.msg-fab {
  position: relative;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: #14532d;
  color: #fff;
  box-shadow: 0 12px 30px rgba(20, 83, 45, .35);
  cursor: pointer;
}
.msg-fab svg { width: 26px; height: 26px; margin: 0 auto; display: block; }
.msg-panel {
  display: none;
  width: min(380px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 110px));
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
  border: 1px solid #e2e8f0;
}
.msg-dock.is-open .msg-panel {
  display: flex;
}
.msg-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px 10px;
  background: #052e16;
  color: #fff;
}
.msg-head-copy { min-width: 0; flex: 1; }
.msg-head-copy strong { display: block; font-size: 15px; }
.msg-head-copy span { display: block; font-size: 11px; color: #bbf7d0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-icon, .msg-back {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.msg-screen { display: none; flex: 1; min-height: 0; flex-direction: column; }
.msg-screen.is-on { display: flex; }
.msg-search {
  margin: 10px 12px 0;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  padding: 10px 14px;
  font-size: 14px;
}
.msg-list { flex: 1; overflow: auto; padding: 8px; }
.msg-row, .msg-person {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px;
  border-radius: 14px;
  cursor: pointer;
}
.msg-row:hover, .msg-person:hover, .msg-person.is-on { background: #f0fdf4; }
.msg-person.is-off { opacity: .55; cursor: default; }
.msg-group-label {
  margin: 8px 10px 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
}
.msg-av {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  background: #14532d;
}
.msg-row b, .msg-person b { display: block; font-size: 14px; color: #0f172a; }
.msg-row small, .msg-person small { display: block; color: #64748b; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-unread {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #14532d;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}
.msg-picks { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; }
.msg-chip {
  border: 0;
  border-radius: 999px;
  background: #dcfce7;
  color: #14532d;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.msg-start {
  margin: 8px 12px 12px;
  border: 0;
  border-radius: 14px;
  background: #14532d;
  color: #fff;
  font-weight: 800;
  padding: 10px;
  cursor: pointer;
}
.msg-thread {
  flex: 1;
  overflow: auto;
  padding: 12px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.msg-bubble {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
}
.msg-bubble.is-them { align-self: flex-start; background: #fff; border: 1px solid #e2e8f0; color: #0f172a; }
.msg-bubble.is-me { align-self: flex-end; background: #14532d; color: #fff; }
.msg-bubble em { display: block; font-style: normal; font-size: 10px; opacity: .7; margin-bottom: 2px; }
.msg-compose {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}
.msg-compose textarea {
  flex: 1;
  resize: none;
  border: 0;
  border-radius: 16px;
  background: #f1f5f9;
  padding: 10px 12px;
  font: inherit;
  max-height: 90px;
}
.msg-empty { padding: 28px 16px; text-align: center; color: #64748b; font-size: 13px; }
.msg-compose button[type=submit] {
  border: 0;
  border-radius: 14px;
  background: #14532d;
  color: #fff;
  font-weight: 800;
  padding: 0 14px;
  cursor: pointer;
}
.msg-tool {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #14532d;
  font-size: 20px;
  cursor: pointer;
}
.msg-av { position: relative; }
.msg-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  vertical-align: middle;
  line-height: 1.4;
}
.msg-tag.is-admin { background: #fef3c7; color: #92400e; }
.msg-tag.is-finance { background: #ccfbf1; color: #0f766e; }
.msg-tag.is-leader { background: #ffedd5; color: #9a3412; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-head-copy .msg-tag.is-leader { max-width: min(220px, 55vw); }
.msg-chip .msg-tag { margin-left: 4px; }
.msg-row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
}
.msg-row.is-muted { opacity: .65; }
.msg-menu {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.msg-menu.hidden { display: none; }
.msg-menu button {
  border: 0;
  background: #fff;
  text-align: left;
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
}
.msg-menu button:hover, .msg-menu button.is-on { background: #f0fdf4; }
.msg-bubble .msg-name {
  display: block;
  border: 0;
  background: none;
  padding: 0;
  color: #14532d;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.msg-quote {
  display: block;
  margin-bottom: 4px;
  padding-left: 8px;
  border-left: 3px solid #86efac;
  font-size: 11px;
  opacity: .85;
}
.msg-photo {
  display: block;
  max-width: 220px;
  max-height: 180px;
  border-radius: 12px;
  margin: 4px 0;
  object-fit: cover;
}
.msg-text { display: block; }
.msg-tools {
  display: none;
  gap: 2px;
  margin-top: 4px;
}
.msg-bubble:hover .msg-tools { display: flex; flex-wrap: wrap; }
.msg-tools button, .msg-react {
  border: 0;
  background: rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 11px;
  cursor: pointer;
}
.msg-reacts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.msg-react.is-on { background: #dcfce7; }
.msg-typing, .msg-seen, .msg-hint {
  margin: 0;
  padding: 0 12px 6px;
  font-size: 11px;
  color: #64748b;
}
.msg-reply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 10px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #ecfdf5;
  font-size: 12px;
}
.msg-emojis {
  display: flex;
  gap: 4px;
  padding: 4px 10px;
}
.msg-emojis button {
  border: 0;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 4px 8px;
  cursor: pointer;
}
@media (max-width: 640px) {
  .msg-dock { right: 12px; bottom: 12px; left: auto; }
  .msg-dock.is-open { left: 12px; align-items: stretch; }
  .msg-dock.is-open .msg-fab { align-self: flex-end; }
  .msg-panel { width: 100%; height: min(70vh, 560px); }
}
