:root {
  color-scheme: light;
  --forest-950: #0b2e24;
  --forest-900: #123f31;
  --forest-800: #19513f;
  --forest-700: #23654f;
  --forest-100: #dfece5;
  --forest-50: #eef5f1;
  --gold-600: #aa7620;
  --gold-500: #d7aa4b;
  --gold-100: #f6e9c9;
  --ink: #1d2622;
  --muted: #69736e;
  --line: #d8dfdb;
  --paper: #fbfcfb;
  --white: #ffffff;
  --danger: #9c302c;
  --shadow: 0 18px 50px rgba(11, 46, 36, 0.12);
  --radius-lg: 22px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }

html { min-height: 100%; overflow-x: hidden; background: #e9efeb; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 0%, rgba(215, 170, 75, 0.14), transparent 30rem),
    linear-gradient(180deg, #f5f8f6 0%, #e8efeb 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 14px max(22px, env(safe-area-inset-left)) 14px max(22px, env(safe-area-inset-right));
  color: var(--white);
  background: rgba(11, 46, 36, 0.97);
  box-shadow: 0 6px 22px rgba(11, 46, 36, 0.2);
  backdrop-filter: blur(12px);
}

.brand, .topbar-actions, .section-heading, .dialog-heading, .dialog-actions {
  display: flex;
  align-items: center;
}

.brand { gap: 13px; }
.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
}
.brand-mark svg { width: 30px; fill: none; stroke: var(--gold-500); stroke-width: 2; stroke-linecap: round; }
.brand-mark svg circle:nth-child(2) { fill: var(--gold-500); }
.brand h1, .section-heading h2, .dialog-heading h2 { margin: 0; line-height: 1.15; }
.brand h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2vw, 1.85rem); letter-spacing: .01em; }
.eyebrow { margin: 0 0 2px; color: var(--gold-500); font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.topbar-actions { justify-content: flex-end; gap: 10px; }
.save-state { display: inline-flex; align-items: center; gap: 8px; margin-right: 6px; color: #d8e8df; font-size: .9rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #6ed39c; box-shadow: 0 0 0 4px rgba(110,211,156,.12); }

.app-shell { width: min(1440px, calc(100% - 40px)); margin: 28px auto 56px; }
.setup-panel {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(18, 63, 49, .1);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
}
.setup-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.setup-heading h2 { margin: 0; color: var(--forest-950); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.1; }
.step-number { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--white); background: var(--forest-900); font-family: Georgia, serif; font-size: 1.4rem; font-weight: 800; }
.setup-grid { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(360px, 1.28fr); min-width: 0; gap: clamp(24px, 4vw, 48px); align-items: start; }
.setup-fields { display: grid; min-width: 0; gap: 18px; }
.setup-fields label, .field-label { display: grid; min-width: 0; gap: 6px; color: var(--muted); font-size: .83rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.participant-setup { min-width: 0; }
.participant-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.field-kicker { color: var(--forest-950); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 800; }
.participant-heading p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.participant-count { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--forest-900); background: var(--forest-100); font-weight: 900; }
.setup-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.setup-hint { margin: 0; color: var(--muted); font-size: .9rem; text-align: right; }
.start-button { min-width: 190px; min-height: 54px; }
.setup-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding: 12px 14px; border: 1px solid rgba(18,63,49,.12); border-radius: 14px; background: rgba(255,255,255,.9); box-shadow: 0 8px 26px rgba(11,46,36,.06); }
.setup-summary-copy { display: flex; align-items: center; min-width: 0; gap: 11px; }
.summary-check { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--white); background: var(--forest-700); font-weight: 900; }
.setup-summary-copy div { min-width: 0; }
.setup-summary-copy span:not(.summary-check) { display: block; color: var(--muted); font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.setup-summary-copy strong { display: block; overflow: hidden; color: var(--forest-950); font-size: .97rem; text-overflow: ellipsis; white-space: nowrap; }
.summary-edit { flex: 0 0 auto; min-height: 42px; }
.print-meta { display: none; }
input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #cbd4cf;
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}
input[type="date"] { display: block; min-width: 0; max-width: 100%; text-align: left; -webkit-appearance: none; appearance: none; }
input[type="date"]::-webkit-date-and-time-value { min-width: 0; text-align: left; }
input:focus { border-color: var(--forest-700); box-shadow: 0 0 0 4px rgba(35,101,79,.12); }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 18px; }
#runningView { width: min(100%, 900px); min-width: 0; margin-inline: auto; }
.setup-summary { width: min(100%, 900px); margin-inline: auto; }
.live-panel, .queue-panel, .score-panel {
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(18, 63, 49, .1);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}
.live-panel, .queue-panel { padding: clamp(20px, 3vw, 32px); }
.live-panel > .section-heading { margin-top: 22px; }
.section-heading { justify-content: space-between; gap: 16px; }
.section-heading h2 { color: var(--forest-950); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.round-count, .progress-label { color: var(--muted); font-size: .9rem; font-weight: 700; white-space: nowrap; }

.current-shooter {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(138px, 18vw, 190px);
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
  min-height: 185px;
  margin: 26px 0 20px;
  padding: clamp(24px, 4vw, 44px);
  overflow: hidden;
  border-radius: 18px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(255,255,255,.06), transparent 55%),
    var(--forest-900);
}
.current-shooter-main { display: flex; align-items: center; min-width: 0; gap: clamp(16px, 2vw, 28px); }
.current-copy { min-width: 0; }
.current-number { display: grid; flex: 0 0 auto; width: 68px; height: 68px; place-items: center; border: 2px solid var(--gold-500); border-radius: 50%; color: var(--gold-500); font-family: Georgia, serif; font-size: 2rem; font-weight: 700; }
.current-label { margin: 0 0 5px; color: #b9cec4; font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.current-name { position: relative; z-index: 1; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 4.8vw, 3.6rem); font-weight: 700; line-height: 1.06; overflow-wrap: anywhere; }
.current-shooter.is-empty { background: #eef3f0; color: var(--muted); }
.current-shooter.is-empty .current-label { color: var(--muted); }
.current-shooter.is-finished {
  background:
    linear-gradient(120deg, rgba(215,170,75,.2), transparent 58%),
    var(--forest-950);
}
.bird-figure { position: relative; z-index: 1; height: 150px; margin: 0; overflow: hidden; border: 2px solid rgba(215,170,75,.72); border-radius: 15px; background: #e8ecea; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.bird-figure img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.bird-figure figcaption { position: absolute; right: 7px; bottom: 7px; padding: 3px 7px; border-radius: 6px; color: var(--white); background: rgba(11,46,36,.82); font-size: .7rem; font-weight: 800; letter-spacing: .04em; }

.action-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.button:active:not(:disabled) { transform: translateY(1px); }
.button:disabled { cursor: not-allowed; opacity: .45; }
.button-primary { color: var(--white); background: var(--forest-700); }
.button-primary:hover:not(:disabled) { background: var(--forest-800); }
.button-secondary { border-color: #cbd5d0; color: var(--forest-900); background: var(--white); }
.button-secondary:hover:not(:disabled), .button-quiet:hover { background: var(--forest-50); }
.button-accent { color: var(--forest-950); background: var(--gold-500); }
.button-accent:hover { background: #e1b75f; }
.button-quiet { min-height: 42px; border-color: rgba(255,255,255,.18); color: var(--white); background: rgba(255,255,255,.08); }
.button-danger-text { color: var(--danger); background: transparent; }
.button-danger-text:hover { background: #faeeee; }
.action-button { min-height: 58px; font-size: 1rem; }
.undo-button { display: block; margin: 14px auto 0; padding: 5px 10px; border: 0; color: var(--muted); background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.undo-button:disabled { cursor: default; opacity: .4; text-decoration: none; }

.add-person { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 14px 0 14px; }
.queue-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.queue-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.queue-item:first-child { border-color: rgba(215,170,75,.85); background: var(--gold-100); }
.queue-position { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--forest-900); background: var(--forest-100); font-weight: 800; }
.queue-item:first-child .queue-position { color: var(--white); background: var(--forest-900); }
.queue-name { min-width: 0; font-weight: 800; overflow-wrap: anywhere; }
.queue-item:first-child .queue-name::after { display: block; content: "jetzt"; color: var(--gold-600); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.setup-list .queue-item:first-child .queue-name::after { content: "startet"; }
.next-shooters { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.running-list { margin-top: 16px; }
.running-list .queue-item { grid-template-columns: 34px minmax(0, 1fr); padding-right: 14px; }
.running-list .queue-item:first-child { border-color: var(--line); background: var(--paper); }
.running-list .queue-item:first-child .queue-position { color: var(--forest-900); background: var(--forest-100); }
.running-list .queue-name::after { display: none !important; }
.queue-controls { display: flex; gap: 2px; }
.mini-button, .icon-button { display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 9px; color: var(--muted); background: transparent; cursor: pointer; font-weight: 900; }
.mini-button:hover, .icon-button:hover { color: var(--forest-900); background: rgba(18,63,49,.08); }
.mini-button.remove:hover { color: var(--danger); background: #faeeee; }
.empty-note { margin: 22px 2px; color: var(--muted); text-align: center; }

.score-dropdown { width: 100%; min-width: 0; max-width: 100%; margin-bottom: 12px; overflow: hidden; contain: inline-size; border: 1px solid rgba(18,63,49,.12); border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 8px 26px rgba(11,46,36,.06); }
.score-dropdown > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; color: var(--forest-950); cursor: pointer; font-weight: 900; list-style: none; }
.score-dropdown > summary::-webkit-details-marker { display: none; }
.score-summary-count { color: var(--muted); font-size: .85rem; }
.score-chevron { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--forest-50); font-size: 1.2rem; transition: transform .2s ease; }
.score-dropdown[open] .score-chevron { transform: rotate(180deg); }
.score-dropdown[open] > summary { border-bottom: 1px solid var(--line); }
.score-panel { width: 100%; min-width: 0; max-width: 100%; margin: 0; padding: clamp(14px, 3vw, 20px); overflow: hidden; border: 0; border-radius: 0 0 14px 14px; box-shadow: none; }
.score-table-wrap { width: 100%; min-width: 0; max-width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.score-table { width: 100%; min-width: 0; max-width: 100%; table-layout: fixed; border-collapse: collapse; text-align: left; }
.score-table th:first-child, .score-table td:first-child { width: 54%; }
.score-table th:last-child, .score-table td:last-child { width: 46%; }
.score-table th { padding: 13px 15px; color: #dce9e2; background: var(--forest-900); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.score-table td { height: 62px; padding: 11px 15px; border-top: 1px solid var(--line); background: var(--white); }
.score-table tr:first-child td { border-top: 0; }
.target-name, .result-winner { overflow-wrap: anywhere; word-break: normal; }
.target-name { font-weight: 800; }
.target-name > span, .target-status { display: block; }
.target-status { margin-top: 3px; color: var(--muted); font-size: .72rem; font-weight: 700; line-height: 1.25; }
.result-winner span { display: block; }
.winner-empty { color: #98a19c; }
.king-row td { background: #fbf4e2; }
.empty-result { font-size: .83rem; line-height: 1.3; }
.result-entries { display: grid; min-width: 0; gap: 6px; }
.result-entry {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid #d6dfda;
  border-radius: 8px;
  color: var(--forest-950);
  background: var(--forest-50);
  cursor: pointer;
  text-align: left;
}
.result-entry span { overflow-wrap: anywhere; font-size: .88rem; font-weight: 800; }
.result-entry small { display: block; margin-top: 2px; color: var(--muted); font-size: .68rem; }
.result-entry:hover { border-color: var(--forest-700); }

.dialog { width: min(650px, calc(100% - 28px)); max-height: min(760px, calc(100vh - 28px)); padding: 0; overflow: auto; border: 0; border-radius: 22px; background: transparent; box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.dialog-small { width: min(520px, calc(100% - 28px)); }
.dialog::backdrop { background: rgba(8,28,22,.62); backdrop-filter: blur(3px); }
.dialog-card { padding: clamp(22px, 4vw, 32px); background: var(--white); }
.dialog-heading { justify-content: space-between; gap: 16px; }
.dialog-heading h2 { color: var(--forest-950); font-family: Georgia, serif; font-size: 1.8rem; }
.icon-button { flex: 0 0 auto; font-size: 1.8rem; }
.dialog-copy { margin: 18px 0; color: var(--muted); }
.target-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.target-button { justify-content: flex-start; min-height: 62px; text-align: left; }
.target-button strong { display: grid; min-width: 48px; min-height: 28px; flex: 0 0 auto; place-items: center; margin-right: 10px; padding: 3px 7px; border-radius: 99px; color: var(--white); background: var(--forest-700); font-size: .76rem; }
.target-button span { min-width: 0; overflow-wrap: anywhere; }
.target-button.king { border-color: var(--gold-500); background: var(--gold-100); }
.choice-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #d6dfda;
  border-radius: 12px;
  color: var(--forest-950);
  background: var(--forest-50);
  cursor: pointer;
}
.choice-card input { width: 22px; min-width: 22px; min-height: 22px; margin: 1px 0 0; accent-color: var(--forest-700); }
.choice-card strong, .choice-card small { display: block; }
.choice-card small { margin-top: 3px; color: var(--muted); font-size: .78rem; font-weight: 500; line-height: 1.4; }
.progress-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.progress-choice { display: block; min-height: 92px; padding: 14px; text-align: left; }
.progress-choice strong, .progress-choice span { display: block; }
.progress-choice span { margin-top: 5px; font-size: .76rem; font-weight: 500; opacity: .82; }
.dialog-cancel { width: 100%; margin-top: 16px; }
.field-label { margin-top: 18px; }
.dialog-actions { justify-content: space-between; gap: 12px; margin-top: 26px; }
.data-actions { display: grid; gap: 10px; }
.file-button { position: relative; overflow: hidden; }
.file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.toast { position: fixed; z-index: 50; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); max-width: calc(100% - 32px); padding: 11px 17px; border-radius: 10px; color: var(--white); background: var(--forest-950); box-shadow: 0 12px 32px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transform: translate(-50%, 14px); transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .setup-grid { grid-template-columns: 1fr; }
  .queue-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .topbar { position: sticky; align-items: center; min-height: 68px; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 40px; height: 40px; border-radius: 11px; }
  .brand-mark svg { width: 25px; }
  .brand .eyebrow { display: none; }
  .brand h1 { font-size: 1.25rem; }
  .save-state { display: none; }
  .topbar-actions { flex-wrap: nowrap; gap: 6px; }
  .topbar-actions .button { min-height: 38px; padding: 7px 10px; font-size: .82rem; }
  .app-shell { width: min(100% - 24px, 1440px); margin-top: 16px; }
  .setup-panel { padding: 20px 16px; border-radius: 16px; }
  .setup-heading { margin-bottom: 22px; }
  .step-number { width: 42px; height: 42px; font-size: 1.2rem; }
  .setup-footer { grid-template-columns: 1fr; gap: 10px; }
  .setup-hint { grid-row: 1; text-align: left; }
  .start-button { grid-row: 2; min-width: 0; width: 100%; }
  .setup-footer .button-danger-text { grid-row: 3; justify-self: start; }
  .setup-summary { margin-bottom: 12px; }
  .live-panel, .queue-panel, .score-panel { border-radius: 16px; }
  .live-panel, .queue-panel { padding: 16px; }
  .live-panel > .section-heading { margin-top: 18px; }
  .current-shooter { grid-template-columns: minmax(0, 1fr) 120px; min-height: 150px; margin: 18px 0 16px; padding: 18px; gap: 12px; }
  .current-shooter-main { align-items: flex-start; flex-direction: column; gap: 12px; }
  .current-number { width: 52px; height: 52px; font-size: 1.55rem; }
  .current-name { font-size: clamp(1.75rem, 9vw, 2.5rem); }
  .current-label { font-size: .72rem; }
  .bird-figure { height: 130px; }
  .queue-list, .target-grid { grid-template-columns: 1fr; }
  .action-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .action-button { min-height: 52px; padding-inline: 8px; font-size: .92rem; }
  .queue-item { min-height: 62px; }
  .running-list { margin-top: 16px; }
  .next-shooters { margin-top: 20px; padding-top: 20px; }
  .score-panel { padding: 18px 12px 14px; }
  .score-table th, .score-table td { padding-right: 10px; padding-left: 10px; }
  .score-table th { font-size: .72rem; }
  .progress-choice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .topbar { flex-direction: row; }
  .brand-mark { display: none; }
  .topbar-actions { width: auto; margin-left: auto; }
  .topbar-actions .button { flex: 0 0 auto; }
  .setup-summary-copy span:not(.summary-check) { display: none; }
  .summary-check { width: 30px; height: 30px; }
  .summary-edit { padding-inline: 11px; }
  .current-shooter { grid-template-columns: minmax(0, 1fr) 104px; padding: 16px; }
  .bird-figure { height: 116px; }
  .add-person { grid-template-columns: 1fr; }
  .dialog-actions { align-items: stretch; flex-direction: column-reverse; }
  .score-table th:first-child, .score-table td:first-child { width: 52%; }
  .score-table th:last-child, .score-table td:last-child { width: 48%; }
}

@media print {
  @page { size: A4 portrait; margin: 14mm; }
  body { background: #fff; color: #111; }
  .topbar, .dashboard-grid, .setup-panel, .setup-summary, .score-dropdown > summary, .progress-track, .progress-label, .edit-link, .toast { display: none !important; }
  .app-shell { width: 100%; margin: 0; }
  .print-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0 0 28px; }
  .print-meta p { margin: 0; padding-bottom: 7px; border-bottom: 1px solid #333; }
  .score-dropdown { display: block; margin: 0; border: 0; box-shadow: none; }
  .score-dropdown:not([open]) > .score-panel { display: block; }
  .score-panel { display: block; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .score-panel::before { display: block; margin-bottom: 24px; content: "Schießliste zum Vogelschießen"; font-family: Georgia, serif; font-size: 24pt; font-weight: 700; text-align: center; }
  .score-table-wrap { border-color: #333; border-radius: 0; overflow: visible; }
  .score-table { min-width: 0; }
  .score-table th { color: #fff; background: #174c3b !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .score-table td { height: 72px; border-color: #333; }
  .king-row td { background: #e7eee9 !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
