@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
    --ink: #152640;
    --muted: #52647b;
    --green: #155eef;
    --dark: #102544;
    --cream: #f8fafc;
    --line: #f1f5f9;
    --gold: #cfb47e;
    --white: #fff;
    --radius: 12px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}
body {
    margin: 0;
    background: #f8fafc;
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #b39a53;
    outline-offset: 3px;
}
button {
    color: inherit;
}
h1,
h2,
h3 {
    font-family: Manrope, sans-serif;
    letter-spacing: -1px;
    line-height: 1.2;
    margin: 0 0 18px;
}
h2 {
    font-size: 30px;
    font-weight: 750;
}
h3 {
    font-size: 20px;
    letter-spacing: -0.5px;
}
p {
    margin: 0 0 16px;
}
.wrap {
    max-width: 1280px;
    margin: auto;
    padding-left: 48px;
    padding-right: 48px;
}
.topbar {
    background: var(--dark);
    color: #f1f5f9;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.topbar .wrap {
    display: flex;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
}
.topbar .wrap > span:last-child {
    letter-spacing: 2px;
    font-weight: 600;
}
.gold {
    color: var(--gold);
}
header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.nav {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    font-family: Manrope, sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
}
.brand small {
    display: block;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 6px;
}
.brand-mark {
    width: 42px;
    height: 44px;
    position: relative;
    display: block;
    flex-shrink: 0;
}
.brand-mark i {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--green);
}
.brand-mark i + i {
    top: 15px;
    left: 16px;
    background: #e5d8b9;
    border: 3px solid white;
}
.nav nav {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
}
.nav nav a {
    padding: 13px 0;
    position: relative;
}
.nav nav a.active {
    color: var(--green);
}
.nav nav a.active:after {
    content: "";
    position: absolute;
    bottom: 2px;
    height: 2px;
    background: var(--green);
    left: 0;
    right: 0;
}
.nav nav .admin-link {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 17px;
    margin-left: 10px;
}
.admin-link span {
    margin-left: 14px;
}
.hero {
    background: var(--green);
    color: white;
    overflow: hidden;
}
.hero-inner {
    min-height: 455px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 70px;
    padding-top: 45px;
    padding-bottom: 40px;
}
.eyebrow {
    font-size: 14px;
    letter-spacing: 1.7px;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
}
.hero .eyebrow {
    color: #cbd6c9;
    font-size: 14px;
}
.tiny-line {
    display: inline-block;
    vertical-align: middle;
    background: var(--gold);
    width: 26px;
    height: 1px;
    margin-right: 8px;
}
.hero h1 {
    font-size: 53px;
    letter-spacing: -2.6px;
    line-height: 1.13;
    font-weight: 650;
    margin-bottom: 23px;
}
.hero h1 em {
    font-style: normal;
    color: #ddd3ad;
}
.hero-copy > p {
    color: #c6d5cc;
    font-size: 16px;
    line-height: 1.9;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 27px;
}
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 11px 18px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}
.button.light {
    background: #f1f5f9;
    color: var(--dark);
}
.button.primary {
    background: var(--green);
    color: white;
}
.button.outline {
    background: white;
    border-color: #f1f5f9;
}
.button.danger {
    color: #a44338;
    background: #f1f5f9;
    border-color: #f0d1c9;
}
.button:hover {
    filter: brightness(0.95);
}
.quiet-link {
    font-size: 14px;
    color: #f1f5f9;
}
.quiet-link span {
    margin-left: 10px;
}
.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #b6ccc0;
    font-size: 14px;
    margin-top: 33px;
}
.status-dot {
    height: 5px;
    width: 5px;
    border-radius: 50%;
    background: #cbb47c;
}
.board-scene {
    position: relative;
    max-width: 380px;
    justify-self: end;
    width: 100%;
    padding: 12px 25px 10px;
}
.board-label {
    color: #d0dac6;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}
.go-board {
    position: relative;
    aspect-ratio: 1;
    background-color: #dabf89;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent calc(12.5% - 1px),
            #52647b calc(12.5% - 1px),
            #52647b 12.5%
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent calc(12.5% - 1px),
            #52647b calc(12.5% - 1px),
            #52647b 12.5%
        );
    border: 19px solid #d8bd88;
    outline: 1px solid #e4cea1;
    border-radius: 3px;
    box-shadow: 14px 25px 45px #06281e80;
    transform: rotate(-9deg);
    margin: 18px 0 32px;
}
.stone {
    position: absolute;
    left: calc((var(--x) - 1) * 12.5%);
    top: calc((var(--y) - 1) * 12.5%);
    width: 11.9%;
    height: 11.9%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 2px 5px 6px #402b3377;
}
.stone.black {
    background: radial-gradient(
        circle at 35% 25%,
        #545a50,
        #18211c 60%,
        #111710
    );
}
.stone.white {
    background: radial-gradient(
        circle at 35% 25%,
        #f8fafc,
        #e1dfd0 75%,
        #c8c8b9
    );
}
.board-star {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #7d6642;
    transform: translate(-50%, -50%);
}
.board-caption {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    letter-spacing: 1px;
    color: #cbd3b8;
}
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding-top: 29px;
    padding-bottom: 29px;
}
.stat-strip > div {
    display: flex;
    gap: 20px;
    align-items: center;
    border-right: 1px solid var(--line);
    padding-left: 28px;
}
.stat-strip > div:first-child {
    padding-left: 0;
}
.stat-strip > div:last-child {
    border: 0;
}
.stat-icon {
    font-size: 24px;
    color: #52647b;
    background: #f1f5f9;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
}
.stat-strip strong {
    display: block;
    font-family: Manrope, sans-serif;
    font-size: 26px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.8px;
}
.stat-strip small {
    font-size: 14px;
    color: var(--muted);
}
.stat-strip b {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
}
.section {
    padding-top: 60px;
    padding-bottom: 15px;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 28px;
}
.teal {
    color: #52647b;
}
.section-heading .eyebrow {
    margin-bottom: 12px;
    font-size: 14px;
}
.section-heading h2 {
    margin-bottom: 10px;
}
.section-heading p {
    color: var(--muted);
    font-size: 16px;
    margin: 0;
}
.leaderboard,
.panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.filters {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--line);
}
input,
select,
textarea {
    border: 1px solid #f1f5f9;
    border-radius: 6px;
    background: white;
    color: var(--ink);
    padding: 11px 12px;
    min-width: 0;
    max-width: 100%;
}
select {
    cursor: pointer;
}
input::placeholder {
    color: #52647b;
}
textarea {
    min-height: 110px;
    resize: vertical;
}
.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid #f1f5f9;
    border-radius: 6px;
    padding-left: 14px;
    gap: 10px;
}
.search-field span {
    font-size: 23px;
    line-height: 1;
    color: #52647b;
}
.search-field input {
    width: 100%;
    border: 0;
    background: transparent;
    font-size: 16px;
}
.filters select {
    font-size: 14px;
    min-width: 132px;
}
.table-scroll {
    overflow-x: auto;
}
table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
    font-size: 16px;
}
th {
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
    color: #52647b;
    background: #f8fafc;
    padding: 16px 21px;
    white-space: nowrap;
}
td {
    padding: 17px 21px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
tbody tr:last-child td {
    border-bottom: 0;
}
td small {
    display: block;
    color: var(--muted);
    font-size: 14px;
    margin-top: 4px;
}
td strong {
    font-weight: 600;
}
.ranking-table tr:hover {
    background: #f8fafc;
}
.position {
    font-family: Manrope, sans-serif;
    color: #52647b;
    font-size: 16px;
    font-weight: 600;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
}
.top-position {
    background: #f1f5f9;
    color: #8a7439;
    border-radius: 50%;
    font-size: 14px;
}
.player-cell {
    display: flex;
    gap: 14px;
    align-items: center;
    background: transparent;
    border: 0;
    padding: 0;
    text-align: left;
}
.player-cell strong {
    font-size: 16px;
}
.player-cell small span {
    padding: 0 5px;
    color: #52647b;
}
.avatar {
    display: grid;
    place-items: center;
    border: 1px solid #f1f5f9;
    background: #f1f5f9;
    color: #617659;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.tone-1 {
    background: #f1f5f9;
    color: #52647b;
    border-color: #f1f5f9;
}
.tone-2 {
    background: #f1f5f9;
    color: #52647b;
    border-color: #f1f5f9;
}
.tone-3 {
    background: #f1f5f9;
    color: #52647b;
    border-color: #e5dbd2;
}
.rating-value {
    font-family: Manrope, sans-serif;
    font-size: 15px;
    letter-spacing: 0.1px;
}
.rating-band {
    margin-left: 9px;
    font-size: 14px;
    background: #f1f5f9;
    padding: 3px 6px;
    color: #52647b;
    border-radius: 3px;
}
.badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 5px 9px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #52647b;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0.2px;
}
.certified {
    background: #f1f5f9;
    color: #54704c;
}
.certified span {
    font-size: 14px;
    color: #52647b;
    border-left: 1px solid #ccd9bf;
    padding-left: 8px;
}
.muted {
    color: var(--muted);
    font-size: 14px;
}
.mono {
    font-variant-numeric: tabular-nums;
    color: #52647b;
}
.row-open,
.icon-button {
    border: 1px solid var(--line);
    background: white;
    display: grid;
    place-items: center;
    border-radius: 5px;
    width: 29px;
    height: 29px;
    color: #52647b;
}
.row-open:hover {
    background: #f1f5f9;
}
.table-bottom {
    border-top: 1px solid var(--line);
    padding: 17px 21px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #52647b;
    gap: 15px;
}
.pagination {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 14px;
    margin: 12px 0;
}
.pagination a,
.pagination > span:first-child,
.pagination > span:last-child {
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 3px 10px;
    background: #fff;
}
.pagination [aria-disabled] {
    opacity: 0.4;
}
.rating-explainer {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 20px 0 0;
    color: #52647b;
    font-size: 14px;
}
.rating-explainer > span {
    font-size: 17px;
}
.rating-explainer p {
    margin: 0;
}
.rating-explainer strong {
    font-weight: 500;
    color: #5e7155;
}
.rating-explainer a {
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-left: 5px;
}
.events-section {
    padding-top: 45px;
}
.text-link,
.text-button {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--green);
}
.text-link span {
    margin-left: 20px;
}
.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.event-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 24px;
    transition: transform 0.2s;
}
.event-card:hover {
    transform: translateY(-3px);
}
.event-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.event-date {
    margin: 27px 0 12px;
    font-size: 14px;
    letter-spacing: 0.8px;
    color: #52647b;
    text-transform: uppercase;
}
.event-card h3 {
    font-size: 18px;
    letter-spacing: -0.5px;
    line-height: 1.5;
    margin-bottom: 8px;
}
.event-card p {
    color: var(--muted);
    font-size: 14px;
}
.event-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 15px;
    margin-top: 25px;
    font-size: 14px;
    color: #52647b;
}
.event-bottom span {
    color: var(--green);
    font-weight: 600;
}
.principles {
    background: #f1f5f9;
    border-radius: 10px;
    max-width: 1184px;
    padding: 35px;
    display: grid;
    grid-template-columns: 1.25fr 1.4fr 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 65px;
}
.principles .eyebrow {
    font-size: 14px;
    color: #52647b;
    margin: 0 0 11px;
}
.principles h2 {
    font-size: 23px;
    letter-spacing: -0.8px;
    margin: 0;
}
.principles p {
    font-size: 14px;
    color: #52647b;
    margin: 0;
}
.principles .button {
    justify-self: end;
}
footer {
    border-top: 1px solid var(--line);
    background: #fff;
    margin-top: 50px;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr 0.8fr;
    gap: 30px;
    padding-top: 42px;
    padding-bottom: 38px;
    align-items: start;
}
.footer-main .brand {
    font-size: 18px;
}
.footer-main p {
    font-size: 14px;
    color: #52647b;
    line-height: 1.9;
}
.footer-main > div a {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    color: #52647b;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
    padding-bottom: 22px;
    font-size: 14px;
    color: #52647b;
}
.empty {
    text-align: center;
    padding: 50px 20px;
    color: #52647b;
}
.empty > span {
    font-size: 28px;
}
.empty h3 {
    margin-top: 15px;
    color: var(--ink);
}
.empty p {
    font-size: 16px;
}
.page-title {
    font-size: 44px;
    letter-spacing: -1.8px;
    margin-top: 15px;
    max-width: 850px;
}
.lead {
    color: #52647b;
    font-size: 15px;
    margin-bottom: 32px;
}
.description {
    white-space: pre-line;
    color: #52647b;
    margin-bottom: 25px;
}
.padded {
    padding: 30px;
}
.notice {
    padding: 17px 20px;
    background: #f1f5f9;
    border: 1px solid #f1f5f9;
    border-radius: 7px;
    margin: 20px 0;
    color: #617451;
    font-size: 16px;
}
.notice.success {
    background: #f1f5f9;
    color: #386946;
}
.notice.error {
    background: #f1f5f9;
    color: #a34d3c;
    border-color: #efcfc7;
}
.notice ul {
    margin: 8px 0 0;
    padding-left: 20px;
}
.stack {
    display: grid;
    gap: 20px;
}
.stack label,
.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
}
.stack .check-label {
    display: flex;
    flex-direction: row;
    font-weight: 400;
    align-items: flex-start;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.span-2 {
    grid-column: 1/-1;
}
.form-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 24px;
}
.login-card {
    max-width: 470px;
    margin: 20px auto 50px;
}
.login-card h1 {
    font-size: 34px;
    margin: 10px 0;
}
.login-card > p {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 30px;
}
.login-card .stack {
    margin: 30px 0;
}
.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}
.guide .panel h2 {
    font-size: 23px;
}
.guide .panel p {
    font-size: 16px;
    color: #52647b;
}
.guide .number {
    font-size: 16px;
    color: #52647b;
    display: block;
    margin-bottom: 18px;
}
.guide > .section-heading {
    margin-top: 40px;
}
.formula {
    background: #f8fafc;
    border-radius: 7px;
    padding: 18px;
}
.band-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}
.band-grid > div {
    display: flex;
    justify-content: space-between;
    background: white;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
}
.band-grid span {
    color: var(--muted);
}
dialog {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 30px 100px #092e3266;
    padding: 28px;
    max-width: 850px;
    width: calc(100% - 32px);
    max-height: 88vh;
    color: var(--ink);
    background: #fff;
}
dialog::backdrop {
    background: #102f2c99;
    backdrop-filter: blur(3px);
}
.dialog-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.dialog-top .eyebrow {
    margin: 0;
    color: #52647b;
    font-size: 14px;
}
.profile-heading {
    display: flex;
    align-items: center;
    gap: 18px;
}
.avatar.large {
    width: 64px;
    height: 64px;
    font-size: 24px;
}
.profile-heading h2 {
    font-size: 26px;
    margin: 0 0 7px;
}
.profile-heading p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}
.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: #f8fafc;
    border-radius: 10px;
    padding: 23px;
    margin: 25px 0;
}
.profile-stats small {
    font-size: 14px;
    letter-spacing: 1px;
    color: #52647b;
    display: block;
}
.profile-stats strong {
    font-family: Manrope, sans-serif;
    display: block;
    font-size: 25px;
    margin: 5px 0;
}
.profile-stats span {
    font-size: 14px;
    color: #52647b;
}
.tabs {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 20px;
}
.tabs button {
    border: 0;
    background: transparent;
    padding: 10px 0;
    font-size: 16px;
    color: #52647b;
    border-bottom: 2px solid transparent;
}
.tabs button[aria-selected="true"] {
    border-color: var(--green);
    color: var(--green);
    font-weight: 600;
}
.positive {
    color: #408451;
}
.negative {
    color: #b05e4d;
}
.adminnav {
    background: #f1f5f9;
    border-bottom: 1px solid var(--line);
}
.adminnav > .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
}
.adminnav strong {
    font-size: 14px;
    letter-spacing: 1px;
    color: #52647b;
}
.adminnav nav {
    display: flex;
    gap: 20px;
    font-size: 14px;
}
.adminnav nav .active {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 7px;
}
.adminnav .text-button {
    font-size: 14px;
}
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 25px 0;
}
.admin-stats a {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 23px;
    background: white;
}
.admin-stats strong {
    display: block;
    font-size: 34px;
    font-family: Manrope, sans-serif;
    margin-bottom: 7px;
}
.admin-stats span {
    font-size: 16px;
    color: var(--muted);
}
.actions {
    display: flex;
    align-items: center;
    gap: 13px;
    white-space: nowrap;
}
.actions form {
    margin: 0;
}
.actions .text-button {
    font-size: 14px;
}
.delete {
    color: #ad6354;
}
.subheading {
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.subheading h2 {
    font-size: 23px;
    margin: 0;
}
.compact-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 20px;
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
}
.compact-form label {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    gap: 5px;
}
.compact-form select,
.compact-form input {
    width: 100%;
    font-size: 14px;
}
.compact-form .button {
    align-self: end;
}
.details-edit > summary {
    cursor: pointer;
    color: var(--green);
    font-size: 14px;
}
.details-edit .compact-form {
    min-width: 580px;
}
.demo-banner {
    background: #f1f5f9;
    color: #947632;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 5px;
}
.import-preview td input {
    width: 210px;
}
.import-preview td select {
    width: 260px;
    font-size: 14px;
}
.import-review {
    position: sticky;
    bottom: 0;
    background: #f1f5f9;
    border: 1px solid #d7e2cc;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 25px;
}
.import-review label {
    font-size: 16px;
}
.import-review input {
    margin-right: 8px;
}
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.warning-list {
    font-size: 16px;
    color: #8f7b53;
    padding-left: 20px;
}
.preview-summary {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 16px;
    margin: 20px 0;
}
.check-label input {
    width: auto;
}
.help {
    font-size: 14px;
    color: #52647b;
    margin-top: 8px;
}
.admin-title {
    font-size: 32px;
}
.inline-check {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 16px;
}
@media (min-width: 1600px) {
    .wrap {
        max-width: 1400px;
    }
    .hero-inner {
        min-height: 490px;
    }
    .hero h1 {
        font-size: 60px;
    }
    .board-scene {
        max-width: 420px;
    }
    .principles {
        max-width: 1304px;
    }
}
@media (max-width: 1050px) {
    .wrap {
        padding-left: 28px;
        padding-right: 28px;
    }
    .hero-inner {
        gap: 30px;
    }
    .hero h1 {
        font-size: 44px;
    }
    .nav nav {
        gap: 16px;
    }
    .hero-actions {
        gap: 15px;
    }
    .quiet-link {
        font-size: 14px;
    }
    .stat-strip > div {
        padding-left: 16px;
        gap: 10px;
    }
    .stat-icon {
        width: 35px;
        height: 35px;
    }
    .stat-strip strong {
        font-size: 23px;
    }
    .principles {
        margin-left: 28px;
        margin-right: 28px;
        grid-template-columns: 1fr 1.3fr;
    }
    .principles .button {
        grid-column: 1/-1;
        justify-self: start;
    }
    .ranking-table th,
    .ranking-table td {
        padding-left: 14px;
        padding-right: 14px;
    }
    .brand {
        font-size: 17px;
    }
    .nav nav .admin-link {
        margin-left: 0;
    }
    .adminnav strong {
        display: none;
    }
    .band-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 760px) {
    .wrap {
        padding-left: 20px;
        padding-right: 20px;
    }
    .topbar {
        font-size: 14px;
    }
    .nav {
        min-height: 115px;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding-top: 15px;
        padding-bottom: 10px;
    }
    .nav nav {
        gap: 22px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    .nav nav .admin-link {
        padding: 6px 9px;
    }
    .brand-mark {
        transform: scale(0.85);
        margin-right: -4px;
    }
    .brand {
        font-size: 18px;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-top: 40px;
        padding-bottom: 40px;
        gap: 20px;
    }
    .hero h1 {
        font-size: 46px;
    }
    .hero-copy > p {
        font-size: 16px;
    }
    .hero .eyebrow {
        font-size: 14px;
    }
    .board-scene {
        display: none;
    }
    .hero-note {
        margin-top: 25px;
    }
    .stat-strip {
        grid-template-columns: 1fr 1fr;
        row-gap: 25px;
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .stat-strip > div {
        padding-left: 0;
        border: 0;
    }
    .stat-strip small {
        font-size: 14px;
    }
    .section {
        padding-top: 35px;
    }
    .section-heading {
        align-items: flex-start;
        gap: 15px;
    }
    .section-heading h2 {
        font-size: 23px;
    }
    .section-heading .button {
        font-size: 14px;
        padding: 9px;
        gap: 5px;
    }
    .section-heading p {
        font-size: 14px;
    }
    .section-heading .eyebrow {
        font-size: 14px;
    }
    .filters {
        flex-wrap: wrap;
        padding: 13px;
        gap: 8px;
    }
    .search-field {
        flex-basis: 100%;
    }
    .filters select {
        min-width: 0;
        flex: 1;
        font-size: 14px;
    }
    .filters .button {
        font-size: 14px;
    }
    .ranking-table {
        min-width: 700px;
    }
    .table-bottom {
        padding: 12px;
        flex-wrap: wrap;
    }
    .table-bottom .muted {
        display: none;
    }
    .event-grid {
        grid-template-columns: 1fr;
    }
    .event-card {
        padding: 22px;
    }
    .event-date {
        margin-top: 20px;
    }
    .principles {
        grid-template-columns: 1fr;
        margin: 30px 20px 40px;
        padding: 25px;
        gap: 15px;
    }
    .footer-main {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-top: 30px;
        padding-bottom: 20px;
    }
    .footer-main > div {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }
    .footer-main p {
        margin: 0;
    }
    .footer-bottom {
        font-size: 14px;
        gap: 20px;
    }
    .guide-grid,
    .form-grid,
    .split {
        grid-template-columns: 1fr;
    }
    .span-2 {
        grid-column: auto;
    }
    .guide h1,
    .page-title {
        font-size: 34px;
    }
    .band-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .band-grid > div {
        padding: 9px;
        font-size: 14px;
    }
    .padded {
        padding: 22px;
    }
    .profile-heading h2 {
        font-size: 21px;
    }
    .profile-stats {
        gap: 10px;
        padding: 16px;
    }
    .profile-stats strong {
        font-size: 22px;
    }
    .profile-stats small {
        font-size: 14px;
    }
    .tabs {
        gap: 18px;
    }
    .tabs button {
        font-size: 14px;
    }
    dialog {
        padding: 20px;
    }
    .adminnav > .wrap {
        gap: 15px;
        overflow: auto;
        white-space: nowrap;
    }
    .adminnav nav {
        gap: 18px;
    }
    .admin-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .admin-stats a {
        padding: 17px;
    }
    .admin-stats strong {
        font-size: 28px;
    }
    .admin-stats span {
        font-size: 14px;
    }
    .admin-title {
        font-size: 25px;
    }
    .import-review {
        position: static;
        flex-direction: column;
        align-items: flex-start;
    }
    .compact-form {
        grid-template-columns: 1fr 1fr;
    }
    .demo-banner {
        font-size: 14px;
    }
    .rating-explainer {
        font-size: 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .event-card {
        transition: none;
    }
}
@media (max-width: 480px) {
    .nav nav {
        gap: 10px;
        font-size: 14px;
        white-space: nowrap;
    }
    .nav nav .admin-link {
        padding: 6px 8px;
    }
    .admin-link span {
        margin-left: 5px;
    }
    .hero h1 {
        font-size: 34px;
        letter-spacing: -1.6px;
    }
    .hero-actions {
        flex-wrap: wrap;
    }
    .quiet-link {
        white-space: nowrap;
    }
}
