:root {
  --ink: #1c2927;
  --muted: #78827e;
  --line: #e3e7e1;
  --paper: #f7f8f4;
  --white: #fff;
  --forest: #244e40;
  --forest-light: #e5eee8;
  --copper: #bd6944;
  --rose: #a64b51;
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'DM Mono', monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 13px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[v-cloak] { display: none; }
.topbar { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; background: #182322; color: #f4f4ed; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.brand:hover, .brand:focus { color: #fff; text-decoration: none; }
.brand-mark { width: 25px; height: 25px; display: inline-flex; justify-content: center; align-items: center; background: #c47a50; color: #172321; font: 700 14px var(--font-display); }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.save-state { margin-right: 12px; color: #abb9b1; font-size: 11px; }
.save-dot, .live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #91b197; vertical-align: 1px; }
.btn-quiet { color: #d3ddd6; border: 1px solid #40504a; border-radius: 2px; background: transparent; padding: 5px 10px; font-size: 11px; }
.btn-quiet:hover, .btn-quiet:focus { color: #fff; border-color: #83948a; background: #25332e; }
.btn-quiet .glyphicon, .btn-outline .glyphicon { margin-right: 5px; font-size: 10px; }
.workspace { display: flex; min-height: calc(100vh - 58px); }
.rail { width: 205px; flex: 0 0 205px; display: flex; flex-direction: column; padding: 28px 14px 18px; border-right: 1px solid #e4e6df; background: #f1f3ee; }
.rail-label, .section-kicker, .eyebrow, .side-heading { font-family: var(--font-mono); letter-spacing: 0; }
.rail-label { padding: 0 12px; margin: 0 0 13px; color: #87918b; font-size: 9px; }
.rail-link { position: relative; display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 12px; margin-bottom: 3px; border: 0; text-align: left; color: #64716b; background: transparent; font-size: 12px; }
.rail-link .glyphicon { width: 13px; font-size: 12px; }
.rail-link.active { background: #e3e9e2; color: #244e40; font-weight: 600; }
.rail-link.active:before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--forest); }
.rail-count { margin-left: auto; color: #8c9890; font: 10px var(--font-mono); }
.rail-bottom { margin-top: auto; padding: 15px 11px 0; border-top: 1px solid #dfe4dc; }
.local-badge { display: flex; gap: 7px; align-items: center; color: var(--forest); font-size: 10px; font-weight: 600; }
.rail-caption { margin: 6px 0 0 18px; color: #909b95; font-size: 10px; line-height: 1.5; }
.main-area { width: calc(100% - 205px); max-width: 1540px; padding: 33px clamp(22px, 3.4vw, 58px) 20px; margin: 0 auto; }
.page-heading { display: flex; justify-content: space-between; align-items: end; padding-bottom: 22px; }
.eyebrow { color: #828d85; font-size: 9px; }
.eyebrow-line { display: inline-block; width: 23px; margin: 0 7px 3px; border-top: 1px solid #bfc7bd; }
h1 { margin: 9px 0 0; font: 600 30px/1.2 var(--font-display); letter-spacing: 0; }
.heading-period { color: var(--copper); }
.round-control { display: flex; align-items: center; gap: 9px; padding-bottom: 3px; }
.round-label { min-width: 92px; text-align: center; font: 11px var(--font-mono); }
.icon-btn { display: inline-flex; justify-content: center; align-items: center; width: 27px; height: 27px; border: 1px solid transparent; background: transparent; color: #77837c; }
.icon-btn:hover:not(:disabled) { color: var(--forest); border-color: #cbd6cc; background: #edf2ed; }
.icon-btn:disabled { opacity: .35; cursor: default; }
.phase-strip { display: flex; align-items: stretch; height: 43px; margin-bottom: 26px; border-top: 1px solid #dce1da; border-bottom: 1px solid #dce1da; }
.phase-step { position: relative; display: inline-flex; align-items: center; gap: 9px; flex: 1; padding: 0 14px; border: 0; background: transparent; color: #87918b; text-align: left; font-size: 11px; }
.phase-step:after { content: ''; position: absolute; bottom: -1px; left: 14px; right: 14px; height: 2px; background: transparent; }
.phase-step.selected { color: var(--forest); font-weight: 700; }
.phase-step.selected:after { background: var(--forest); }
.phase-step.complete .phase-index { background: #e0ebe2; color: var(--forest); }
.phase-index { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; border-radius: 50%; background: #ecefea; color: #738078; font: 9px var(--font-mono); }
.phase-next { width: 40px; border: 0; border-left: 1px solid #dce1da; background: transparent; color: var(--copper); }
.phase-next:hover { background: #f0ece5; }
.phase-next .glyphicon { font-size: 10px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 35px; align-items: start; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 13px; }
.section-kicker { color: #87918a; font-size: 9px; }
h2 { margin: 5px 0 0; font: 600 19px/1.3 var(--font-display); letter-spacing: 0; }
.heading-tools { padding-bottom: 2px; color: #88938c; font: 10px var(--font-mono); }
.action-list { border-top: 1px solid var(--line); }
.action-row { display: flex; gap: 14px; align-items: flex-start; padding: 15px 4px 15px 1px; border-bottom: 1px solid var(--line); animation: rise-in .35s ease both; }
.action-row:nth-child(2) { animation-delay: .04s; }.action-row:nth-child(3) { animation-delay: .08s; }.action-row:nth-child(4) { animation-delay: .12s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.action-check { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; border: 1px solid #b9c3ba; border-radius: 50%; background: transparent; color: #fff; font-size: 9px; }
.action-check:hover { border-color: var(--forest); }
.action-done .action-check { border-color: var(--forest); background: var(--forest); }
.action-main { flex: 1; min-width: 0; }
.action-topline { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.action-topline h3 { margin: 0; font-size: 13px; font-weight: 700; }
.team-label { padding: 2px 6px; color: #587261; background: #edf2ec; font-size: 9px; }
.team-wolves { color: #934b48; background: #f6e9e5; }.team-solo { color: #966637; background: #f5efe2; }
.role-tag { color: #929b93; font: 9px var(--font-mono); }
.role-tag:before { content: '·'; margin-right: 5px; color: #bd6944; }
.action-copy { margin: 6px 0 0; color: #384640; font-size: 12px; }
.action-detail { margin: 4px 0 0; color: #8b948e; font-size: 11px; line-height: 1.45; }
.dependency { margin-top: 7px; color: #a36b42; font-size: 10px; }.dependency .glyphicon { margin-right: 4px; font-size: 9px; }
.action-controls { display: flex; align-items: center; gap: 1px; padding-top: 0; }
.target-select { width: 125px; height: 28px; padding: 4px 22px 4px 8px; border-color: #dce2da; border-radius: 1px; color: #64716a; font-size: 10px; box-shadow: none; }
.order-btn { width: 23px; height: 25px; font-size: 9px; }
.notice-line { padding: 11px; border: 1px solid #e1e6df; color: #78837b; font-size: 11px; }.notice-line .glyphicon { margin-right: 7px; }
.notice-error { border-color: #ead2ca; color: #954d45; }.btn-link { padding: 0 0 0 8px; border: 0; color: var(--forest); font-size: 11px; }
.spin { animation: spin 1s linear infinite; }@keyframes spin { to { transform: rotate(360deg); } }
.empty-brief { display: flex; gap: 12px; padding: 16px 14px; border: 1px solid var(--line); background: #fafbf8; }
.empty-mark { color: #be7651; font: 22px var(--font-display); }.empty-brief strong { font-size: 12px; }.empty-brief p { margin: 4px 0 0; color: #859088; font-size: 11px; }
.section-divider { margin: 27px 0 24px; border-top: 1px solid #dfe4dd; }
.compact-heading { align-items: center; margin-bottom: 12px; }
.compact-heading h2 { font-size: 18px; }
.sub-count { margin-left: 8px; color: #929a93; font: 10px var(--font-body); }
.btn-outline { padding: 6px 9px; border: 1px solid #cbd4cb; border-radius: 1px; background: transparent; color: #53675b; font-size: 10px; }
.btn-outline:hover { border-color: #8ea193; background: #edf2ed; }
.btn-dark { border: 1px solid #244e40; border-radius: 1px; background: #244e40; color: white; font-size: 10px; }
.btn-dark:hover { background: #193c30; color: white; }
.inline-form { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 10px; margin-bottom: 10px; border: 1px solid #e0e5de; background: #f0f3ee; }
.inline-form .form-control { width: auto; min-width: 120px; height: 30px; border-color: #d9e0d8; border-radius: 1px; box-shadow: none; font-size: 11px; }.player-form .form-control:first-child { flex: 1; }.bond-form .form-control { flex: 1; }
.bond-join { color: #8a948d; font-size: 10px; }
.player-table { border-top: 1px solid var(--line); }
.player-row { display: grid; grid-template-columns: 25px 10px minmax(90px, 1.1fr) minmax(115px, 1fr) 85px 27px 27px; align-items: center; gap: 9px; min-height: 42px; border-bottom: 1px solid var(--line); }
.player-seat { color: #9aa39b; font: 9px var(--font-mono); }
.alive-indicator { width: 6px; height: 6px; border-radius: 50%; background: #6a997a; }.alive-indicator.dead { background: #c27770; }
.player-name, .player-role { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #32423a; font-size: 11px; }
.player-name:focus, .player-role:focus { border-bottom: 1px solid #aebdae; }
.player-role { color: #7d8981; font-size: 10px; }
.player-team { color: #98a098; font-size: 9px; }.player-dead .player-name, .player-dead .player-role { color: #a3a8a2; text-decoration: line-through; }
.subtle-btn { width: 25px; height: 25px; color: #9da69f; font-size: 10px; }.subtle-btn:hover { color: #9e4f48; }
.players-empty { display: flex; align-items: center; gap: 10px; padding: 17px 4px; border-top: 1px solid var(--line); color: #919b93; font-size: 11px; }.players-empty .glyphicon { color: #b57b59; }
.bonds-section { margin-top: 29px; }
.bond-list { border-top: 1px solid var(--line); }
.bond-row { display: flex; align-items: center; gap: 8px; min-height: 39px; border-bottom: 1px solid var(--line); font-size: 10px; }.bond-symbol { width: 23px; color: #bd6944; text-align: center; }.bond-type { min-width: 86px; color: #89938b; }.bond-row strong { font-size: 11px; }.bond-with, .bond-note { color: #9aa29c; }.bond-note { margin-left: auto; }.bond-row .icon-btn { margin-left: 2px; }
.muted-copy { padding: 11px 2px; margin: 0; border-top: 1px solid var(--line); color: #98a198; font-size: 11px; }
.side-column { display: flex; flex-direction: column; gap: 16px; }
.side-module { padding: 15px 16px; border: 1px solid #e0e5de; background: rgba(255,255,255,.55); }
.side-heading { display: flex; justify-content: space-between; align-items: center; color: #89948c; font-size: 9px; }
.side-heading .live-dot { margin: 0; background: #77a17e; }
.stat-number { margin-top: 13px; font: 600 33px/1 var(--font-display); }.stat-number span { color: #a1a9a2; font: 12px var(--font-mono); }
.stat-caption { margin: 4px 0 15px; color: #89948c; font-size: 10px; }
.team-meter { display: flex; height: 5px; overflow: hidden; background: #e9ede7; }.team-meter span { transition: width .25s ease; }.village-meter { background: #55816c; }.wolf-meter { background: #b96d58; }
.team-legend { display: flex; justify-content: space-between; padding-top: 9px; color: #78837b; font-size: 10px; }.team-legend b { margin-left: 3px; color: #34433b; font: 10px var(--font-mono); }.legend-dot { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; }.village-dot { background: #55816c; }.wolf-dot { background: #b96d58; }
.side-rule { margin: 12px 0 10px; border-top: 1px solid #e7ebe5; }.stat-line { display: flex; justify-content: space-between; margin: 8px 0; color: #8a958d; font-size: 10px; }.stat-line strong { color: #526158; font: 10px var(--font-mono); }.last-stat { margin-bottom: 0; }
.mini-progress { height: 3px; background: #e9ede7; }.mini-progress span { display: block; height: 100%; background: #72947a; transition: width .2s ease; }
.text-action { padding: 0; border: 0; background: transparent; color: #9a6b4d; font-size: 9px; }.text-action:disabled { color: #c1c8c0; }
.sequence-module { padding-bottom: 11px; }.sequence-row { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 5px; min-height: 27px; border-bottom: 1px solid #edf0eb; }.sequence-row:first-of-type { margin-top: 9px; }.sequence-current .sequence-name { color: #345b49; font-weight: 700; }.sequence-num { color: #a3aaa3; font: 9px var(--font-mono); }.sequence-name { color: #68756c; font-size: 10px; }.sequence-phase { color: #a3aaa3; font: 8px var(--font-mono); }.sequence-note { margin: 9px 0 0; color: #a1a9a2; font-size: 9px; line-height: 1.45; }
.log-list { margin-top: 10px; }.log-entry { display: flex; gap: 8px; padding: 7px 0; border-top: 1px solid #edf0eb; color: #819087; font-size: 9px; line-height: 1.4; }.log-entry strong { color: #43584c; font-weight: 600; }.log-time { flex: 0 0 36px; color: #b1b8b1; font: 8px var(--font-mono); }.log-empty { padding-top: 11px; color: #a1a9a2; font-size: 10px; }
.notes-input { display: block; width: 100%; resize: vertical; padding: 9px 0 0; border: 0; outline: 0; background: transparent; color: #59665e; font-size: 11px; line-height: 1.55; }.notes-input::placeholder { color: #a4ada5; }.note-icon { color: #b0b8b1; }
.page-footer { display: flex; justify-content: space-between; margin-top: 30px; padding: 13px 0 4px; border-top: 1px solid #e0e5de; color: #9da69e; font: 8px var(--font-mono); }.footer-dot { color: #bd6944; }
.toast-message { position: fixed; right: 24px; bottom: 22px; z-index: 20; padding: 10px 14px; background: #1d3129; color: #f3f5ef; box-shadow: 0 4px 18px #17231f30; font-size: 11px; animation: rise-in .2s ease; }.toast-message .glyphicon { margin-right: 6px; color: #9fc2a4; }
@media (min-width: 1500px) { .main-area { margin-left: 0; } }
@media (max-width: 1100px) { .dashboard-grid { grid-template-columns: minmax(0, 1fr) 230px; gap: 22px; }.rail { width: 175px; flex-basis: 175px; }.main-area { width: calc(100% - 175px); padding-right: 25px; padding-left: 25px; }.player-row { grid-template-columns: 22px 8px minmax(80px, 1fr) minmax(100px, 1fr) 27px 27px; }.player-team { display: none; } }
@media (max-width: 800px) { .rail { width: 58px; flex-basis: 58px; padding: 20px 8px; }.rail-label, .rail-link:not(.active) { font-size: 0; }.rail-link { justify-content: center; gap: 0; padding: 12px 5px; font-size: 0; }.rail-link .glyphicon { width: auto; font-size: 14px; }.rail-link.active:after { content: ''; position: absolute; right: 4px; width: 5px; height: 5px; border-radius: 50%; background: #bd6944; }.rail-count, .rail-bottom { display: none; }.main-area { width: calc(100% - 58px); padding: 25px 20px 16px; }.dashboard-grid { grid-template-columns: 1fr; }.side-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }.sequence-module { grid-row: span 2; }.page-heading { align-items: center; } }
@media (max-width: 560px) { .topbar { height: 52px; padding: 0 14px; }.brand { font-size: 15px; }.save-state { display: none; }.topbar-right { gap: 4px; }.btn-quiet { padding: 5px 7px; font-size: 0; }.btn-quiet .glyphicon { margin: 0; font-size: 12px; }.workspace { min-height: calc(100vh - 52px); }.rail { width: 42px; flex-basis: 42px; padding: 15px 4px; }.rail-link { padding: 11px 2px; }.rail-link .glyphicon { font-size: 13px; }.main-area { width: calc(100% - 42px); padding: 22px 13px 14px; }.page-heading { display: block; padding-bottom: 17px; }h1 { font-size: 26px; }.round-control { justify-content: flex-start; margin-top: 12px; }.phase-strip { height: auto; min-height: 42px; margin-bottom: 21px; }.phase-step { justify-content: center; gap: 5px; padding: 9px 4px; flex-direction: column; font-size: 9px; }.phase-step:after { left: 4px; right: 4px; }.phase-index { width: 16px; height: 16px; font-size: 8px; }.phase-next { width: 31px; }.dashboard-grid { gap: 22px; }.action-row { gap: 8px; padding: 13px 0; }.action-controls { flex-wrap: wrap; justify-content: end; max-width: 104px; }.target-select { width: 104px; }.order-btn { width: 20px; }.action-topline { gap: 5px; }.role-tag { display: none; }.section-heading { align-items: center; }.heading-tools { display: none; }.compact-heading h2 { font-size: 16px; }.sub-count { display: block; margin: 2px 0 0; }.btn-outline { padding: 6px; font-size: 9px; }.player-row { grid-template-columns: 18px 7px minmax(60px, 1fr) minmax(70px, .9fr) 24px 24px; gap: 5px; }.player-name { font-size: 10px; }.player-role { font-size: 9px; }.player-row .icon-btn { width: 22px; }.inline-form .form-control { min-width: 100px; }.bond-join { display: none; }.bond-type { min-width: 66px; }.bond-row { gap: 5px; }.bond-note { display: none; }.side-column { grid-template-columns: 1fr; gap: 10px; }.sequence-module { grid-row: auto; }.sequence-row { min-height: 25px; }.page-footer { gap: 8px; flex-direction: column; }.toast-message { right: 12px; bottom: 12px; } }