@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 500 600;
    font-display: swap;
    src: url("/fonts/cormorant-garamond-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 500 600;
    font-display: swap;
    src: url("/fonts/cormorant-garamond-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
        U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/fonts/montserrat-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/fonts/montserrat-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
        U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    color-scheme: light;
    --night: #02020f;
    --night-soft: #0b0b19;
    --paper: #f7f6f2;
    --white: #fff;
    --sand: #b9a07d;
    --sand-light: #d2c1a9;
    --ink: #11111a;
    --muted: #727078;
    --line: rgb(255 255 255 / 16%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--night);
    color: var(--white);
    font: 16px/1.55 "Montserrat", Arial, sans-serif;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open::before {
    position: fixed;
    z-index: 30;
    inset: 0;
    background: rgb(0 0 0 / 72%);
    content: "";
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    z-index: 30;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    padding: 0 clamp(24px, 4vw, 58px);
    border-bottom: 1px solid var(--line);
    background: rgb(2 2 15 / 93%);
    backdrop-filter: blur(15px);
}

.brand {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font: 600 25px/1 "Cormorant Garamond", Georgia, serif;
    letter-spacing: .09em;
    text-decoration: none;
}

.brand-symbol {
    display: block;
    width: 38px;
    height: auto;
    object-fit: contain;
}

.menu-toggle {
    position: fixed;
    z-index: 32;
    top: clamp(22px, 5vh, 48px);
    right: clamp(25px, 5vw, 76px);
    display: grid;
    width: 48px;
    height: 48px;
    padding: 11px 7px;
    border: 0;
    background: transparent;
    place-content: center;
    gap: 6px;
}

.menu-toggle > span:not(.visually-hidden) {
    display: block;
    width: 34px;
    height: 2px;
    border-radius: 2px;
    background: var(--sand);
    transition: transform .25s ease, opacity .25s ease;
}

.menu-open .menu-toggle > span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-open .menu-toggle > span:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-toggle > span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.site-menu {
    position: fixed;
    z-index: 31;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: min(735px, calc(100vw - 24px));
    padding: clamp(38px, 6vh, 64px) clamp(54px, 8vw, 112px) clamp(28px, 5vh, 52px);
    visibility: hidden;
    flex-direction: column;
    overflow-y: auto;
    border-left: 1px solid rgb(204 153 88 / 72%);
    background:
        radial-gradient(circle at 25% 18%, rgb(255 255 255 / 2.8%), transparent 28%),
        radial-gradient(circle at 78% 70%, rgb(193 137 72 / 3%), transparent 34%),
        linear-gradient(115deg, #080a0c, #030405 58%, #080909);
    box-shadow: -24px 0 70px rgb(0 0 0 / 42%);
    opacity: 0;
    transform: translateX(100%);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.menu-open .site-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.menu-caption {
    display: block;
    margin-bottom: clamp(50px, 9vh, 96px);
    color: #c49155;
    font-size: clamp(12px, 1.25vw, 17px);
    font-weight: 500;
    letter-spacing: .38em;
    text-transform: uppercase;
}

.menu-caption span {
    margin: 0 .42em;
}

.menu-links {
    position: relative;
}

.menu-links a {
    position: relative;
    display: flex;
    gap: clamp(34px, 5vw, 68px);
    align-items: baseline;
    width: 100%;
    padding: 0 0 clamp(24px, 4vh, 38px);
    margin-bottom: clamp(24px, 4vh, 40px);
    border-bottom: 1px solid rgb(255 255 255 / 18%);
    color: var(--white);
    text-decoration: none;
    transition: color .2s ease;
}

.menu-links a:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.menu-links a::before {
    position: absolute;
    top: 50%;
    left: calc(clamp(54px, 8vw, 112px) * -1 - 1px);
    width: 10px;
    height: 74px;
    background: #e6b56e;
    content: "";
    opacity: 0;
    transform: translateY(-60%) scaleY(.4);
    transition: opacity .2s ease, transform .25s ease;
}

.menu-links a span {
    min-width: 42px;
    color: #b77e42;
    font: 500 clamp(29px, 4vw, 42px)/1 "Cormorant Garamond", Georgia, serif;
}

.menu-links a strong {
    font: 500 clamp(41px, 6vw, 62px)/1 "Cormorant Garamond", Georgia, serif;
}

.menu-links a:hover,
.menu-links a.active {
    color: #e6b56e;
}

.menu-links a.active::before {
    opacity: 1;
    transform: translateY(-60%) scaleY(1);
}

.menu-brand {
    display: grid;
    justify-items: center;
    margin-top: auto;
    padding-top: clamp(44px, 7vh, 74px);
    color: #b77e42;
    text-align: center;
}

.menu-brand img {
    width: min(280px, 72vw);
    height: auto;
    max-height: 180px;
    margin-bottom: 24px;
    object-fit: contain;
    border-radius: 10px;
}

.menu-brand p {
    margin: 0;
    font-size: clamp(10px, 1.15vw, 14px);
    line-height: 1.9;
    letter-spacing: .34em;
}

.menu-socials {
    display: flex;
    gap: clamp(34px, 6vw, 68px);
    justify-content: center;
    margin-top: clamp(28px, 5vh, 48px);
}

.menu-socials a {
    display: grid;
    width: 58px;
    height: 58px;
    border: 1px solid #b77e42;
    border-radius: 10px;
    color: #b77e42;
    place-items: center;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.menu-socials a:hover {
    border-color: #e6b56e;
    background: rgb(230 181 110 / 9%);
    color: #e6b56e;
}

.menu-socials svg {
    width: 29px;
    height: 29px;
    fill: currentcolor;
}

main {
    min-height: calc(100vh - 170px);
}

.page {
    width: 100%;
    min-height: calc(100vh - 74px);
    padding: clamp(70px, 8vw, 112px) clamp(24px, 6.5vw, 100px);
    background: var(--paper);
    color: var(--ink);
}

.hero {
    padding: 0;
    background: var(--night);
    color: var(--white);
}

.hero-title {
    padding: clamp(55px, 7vw, 90px) 24px clamp(48px, 5vw, 74px);
    text-align: center;
}

.hero-title h1 {
    margin: 0;
    font: 500 clamp(82px, 13vw, 170px)/.78 "Cormorant Garamond", Georgia, serif;
    letter-spacing: .02em;
}

.hero-title p {
    margin: 20px 0 0;
    font-size: clamp(12px, 1.4vw, 18px);
    font-weight: 500;
    letter-spacing: .32em;
}

.home-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: clamp(55px, 10vw, 160px);
    align-items: center;
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding-bottom: clamp(72px, 9vw, 120px);
}

.eyebrow {
    display: block;
    margin-bottom: 18px;
    color: var(--sand);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: #8d7452;
}

h1,
h2,
p {
    margin-top: 0;
}

.hero-copy h2 {
    margin-bottom: 24px;
    font-size: clamp(23px, 2.4vw, 34px);
    line-height: 1.22;
}

.hero-copy p {
    max-width: 620px;
    margin: 0;
    color: rgb(255 255 255 / 82%);
    font-size: clamp(16px, 1.65vw, 20px);
    line-height: 1.55;
}

.entry-card {
    padding: 30px;
    border-radius: 9px;
    background: var(--sand);
    color: var(--white);
    text-align: center;
}

.entry-label {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
}

.entry-card > strong {
    font-size: 17px;
}

.date-blocks {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    margin: 22px 0;
}

.date-blocks span {
    display: grid;
    width: 38px;
    height: 54px;
    place-items: center;
    border-radius: 7px;
    background: var(--white);
    color: var(--night);
    font-size: 25px;
    font-weight: 700;
}

.date-blocks i {
    color: var(--night);
    font-style: normal;
    font-weight: 700;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 30px;
    border: 1px solid var(--night);
    border-radius: 999px;
    background: var(--night);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.entry-card .button {
    width: 100%;
}

.button:hover {
    background: var(--white);
    color: var(--night);
    transform: translateY(-2px);
}

.button-small {
    min-height: 46px;
}

.button-secondary {
    border-color: rgb(255 255 255 / 25%);
    background: transparent;
}

.community-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(45px, 9vw, 120px);
    align-items: center;
    padding: clamp(65px, 8vw, 105px) max(24px, calc((100vw - 1120px) / 2));
    background: var(--white);
    color: var(--ink);
}

.community-panel > div:first-child > p {
    max-width: 590px;
    margin: 0;
    font-size: clamp(22px, 2.5vw, 34px);
    line-height: 1.45;
}

.nature-art {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    border-radius: 44px;
    background:
        radial-gradient(circle at 30% 20%, rgb(255 255 255 / 45%), transparent 30%),
        linear-gradient(150deg, #6f8171 0%, #b5a27e 44%, #2c4a4c 100%);
}

.nature-art::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgb(2 2 15 / 25%));
    content: "";
}

.nature-art svg {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: rgb(255 255 255 / 55%);
    stroke-width: 2px;
}

.nature-art .fish {
    fill: rgb(2 2 15 / 13%);
    stroke: rgb(255 255 255 / 65%);
}

.nature-art span {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 23px;
    color: var(--white);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.page-heading {
    display: flex;
    gap: 30px;
    align-items: end;
    justify-content: space-between;
    max-width: 1160px;
    margin: 0 auto;
}

.page-heading h1 {
    max-width: 870px;
    margin: 0 0 22px;
    font: 500 clamp(50px, 7vw, 92px)/.95 "Cormorant Garamond", Georgia, serif;
    letter-spacing: -.035em;
}

.status,
.finished {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #d5d1ca;
    border-radius: 99px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5b8655;
    box-shadow: 0 0 0 5px rgb(91 134 85 / 12%);
}

.page > .meta,
.page > .lead {
    max-width: 1160px;
    margin-right: auto;
    margin-left: auto;
}

.page-actions {
    max-width: 1160px;
    margin: 0 auto 28px;
}

.meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px;
}

.lead {
    max-width: 680px;
    margin-top: 26px;
    margin-bottom: 36px;
    color: var(--muted);
    font-size: clamp(16px, 1.7vw, 20px);
}

.table-card {
    max-width: 1160px;
    margin: 50px auto 0;
    overflow: hidden;
    border-radius: 9px;
    background: var(--night);
    color: var(--white);
}

.table-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    border-bottom: 1px solid var(--line);
}

.table-title h2 {
    margin: 0;
    font: 500 29px "Cormorant Garamond", Georgia, serif;
}

.admin-rating-subtitle {
    border-top: 1px solid var(--line);
}

.admin-rating-subtitle h3 {
    margin: 0;
    color: var(--sand);
    font-size: 15px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.table-title span {
    color: rgb(255 255 255 / 48%);
    font-size: 11px;
}

.table-scroll {
    overflow-x: auto;
}

.admin-section .table-scroll,
.admin-participants .table-scroll {
    max-height: min(62vh, 620px);
    overflow: auto;
}

.admin-section .table-scroll thead th,
.admin-participants .table-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--night);
}

.moderation-table {
    min-width: 1280px;
    background: var(--night);
    color: var(--white);
}

.moderation-table th,
.moderation-table td {
    padding: 14px 16px;
    border: 1px solid var(--line);
    text-align: center;
    vertical-align: middle;
}

.moderation-table th {
    background: var(--night) !important;
    color: rgb(255 255 255 / 52%);
    font-size: 10px;
    letter-spacing: .08em;
    line-height: 1.25;
    text-transform: uppercase;
}

.moderation-table td {
    font-size: 12px;
    font-weight: 600;
}

.moderation-table .needs-moderation td {
    background: rgb(185 160 125 / 15%);
}

.moderation-result {
    color: #a5d6a7;
    font-weight: 800 !important;
}

.moderation-photo {
    display: block;
    width: 72px;
    aspect-ratio: 1.55;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 2px;
    background: rgb(255 255 255 / 8%);
}

.moderation-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.archive-photo-gallery {
    display: flex;
    min-width: 150px;
    max-width: 310px;
    flex-wrap: wrap;
    gap: 6px;
}

.archive-photo-gallery .moderation-photo {
    width: 68px;
    margin: 0;
}

.moderation-actions {
    min-width: 170px;
}

.moderation-actions .text-button {
    display: inline-flex;
    min-height: 26px;
    margin: 2px;
    padding: 0 8px;
    border: 1px solid currentColor;
    border-radius: 4px;
    align-items: center;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
}

.moderation-actions .approve-action::before {
    content: "✓";
    margin-right: 4px;
}

.moderation-actions .reject-action {
    margin-left: 2px;
}

.moderation-actions .reject-action::before {
    content: "×";
    margin-right: 4px;
}

.result-edit-photo {
    display: grid;
    gap: 8px;
}

.result-edit-photo > span {
    color: rgb(255 255 255 / 52%);
    font-size: 12px;
    font-weight: 500;
}

.result-edit-photo a {
    display: block;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 4px;
    background: rgb(255 255 255 / 8%);
}

.result-edit-photo img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.result-edit-photo p {
    margin: 0;
    color: rgb(255 255 255 / 58%);
}

.photo-preview-dialog {
    width: min(96vw, 1180px);
    max-width: none;
    max-height: 94vh;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--white);
    overflow: visible;
}

.photo-preview-dialog::backdrop {
    background: rgb(0 0 0 / 84%);
    backdrop-filter: blur(4px);
}

.photo-preview-dialog img {
    display: block;
    max-width: min(96vw, 1180px);
    max-height: 94vh;
    margin: auto;
    object-fit: contain;
}

.photo-preview-close {
    position: absolute;
    z-index: 2;
    top: -18px;
    right: -18px;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0 0 3px;
    border: 1px solid rgb(255 255 255 / 36%);
    border-radius: 50%;
    background: rgb(5 14 20 / 92%);
    color: var(--white);
    font-size: 30px;
    line-height: 1;
    place-items: center;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 21px 32px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

th {
    color: rgb(255 255 255 / 48%);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

tbody tr:last-child td {
    border-bottom: 0;
}

.place {
    display: grid;
    width: 33px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 26%);
    border-radius: 50%;
    font-weight: 700;
}

tr:first-child .place {
    border-color: var(--sand);
    background: var(--sand);
    color: var(--night);
}

.tournament-grid,
.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1160px;
    margin: 40px auto 0;
}

.tournament-card {
    padding: clamp(28px, 4vw, 45px);
    border-radius: 9px;
    background: var(--white);
    box-shadow: 0 18px 60px rgb(4 4 15 / 7%);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 62px;
}

.card-index {
    color: #967c5a;
    font-size: 11px;
    font-weight: 700;
}

.tournament-card h2 {
    max-width: 520px;
    margin-bottom: 20px;
    font: 500 clamp(30px, 3vw, 43px)/1.05 "Cormorant Garamond", Georgia, serif;
}

.tournament-card > p,
.admin-card > p {
    margin: 26px 0;
    color: var(--muted);
}

.winner {
    display: flex;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid #e6e2dc;
    flex-direction: column;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.winner strong {
    margin-top: 6px;
    color: var(--ink);
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
}

footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 128px;
    padding: 28px clamp(24px, 5vw, 70px);
    border-top: 1px solid var(--line);
    background: var(--night);
    color: rgb(255 255 255 / 48%);
    font-size: 11px;
    text-align: center;
}

footer a {
    color: rgb(255 255 255 / 65%);
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-self: end;
}

.footer-brand {
    justify-self: start;
    color: var(--white);
    font: 500 30px "Cormorant Garamond", Georgia, serif;
    letter-spacing: .08em;
}

.footer-brand small {
    color: rgb(255 255 255 / 40%);
    font: 400 10px "Montserrat", sans-serif;
}

.admin-body {
    background: var(--night);
}

.admin-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}

.admin-header .text-link {
    justify-self: end;
}

.admin-actions {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-self: end;
}

.text-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--sand-light);
    font-size: 12px;
}

.text-button.region-delete {
    margin-left: 12px;
    color: #ff9d9d;
}

.admin-label {
    color: rgb(255 255 255 / 45%);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.text-link {
    color: var(--white);
    font-size: 12px;
    text-decoration: none;
}

.admin-main {
    width: min(1200px, 100%);
    min-height: calc(100vh - 74px);
    margin: 0 auto;
    padding: 80px 24px;
}

.admin-main .page-heading {
    margin: 0;
}

.admin-main .page-heading h1 {
    color: var(--white);
}

.admin-main .lead {
    margin: 0;
    color: rgb(255 255 255 / 52%);
}

.admin-page-tabs {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 28px 0 0;
    padding: 10px 0 16px;
    background: var(--night);
}

.admin-page-tabs button {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    flex: 0 0 auto;
    background: rgb(255 255 255 / 4%);
    color: rgb(255 255 255 / 62%);
    font: 700 11px/1 Montserrat, Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-page-tabs button.active {
    border-color: var(--sand);
    background: var(--sand-light);
    color: var(--night);
}

[data-admin-page][hidden] {
    display: none !important;
}

.admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 32px;
    margin-left: 0;
}

.admin-card {
    display: flex;
    min-height: 330px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    flex-direction: column;
    background: var(--night-soft);
}

.admin-card h2 {
    margin-top: 46px;
    font: 500 30px/1.1 "Cormorant Garamond", Georgia, serif;
}

.admin-card p {
    flex: 1;
    color: rgb(255 255 255 / 48%);
}

.admin-message {
    min-height: 26px;
    margin-top: 24px;
    color: var(--sand-light);
}

.admin-participants {
    max-width: none;
    margin-top: 32px;
}

.admin-section {
    max-width: none;
    margin-top: 32px;
}

.inline-admin-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 16px;
    align-items: end;
    padding: 24px 32px;
    border-bottom: 1px solid var(--line);
}

.inline-admin-form label {
    display: grid;
    gap: 7px;
}

.inline-admin-form label span {
    color: rgb(255 255 255 / 52%);
    font-size: 12px;
}

.inline-admin-form label strong {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    color: var(--sand);
    font-size: 22px;
}

.inline-admin-form .inline-checkbox {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-bottom: 12px;
}

.inline-admin-form input[type="checkbox"] {
    width: 22px;
    height: 22px;
}

.table-filter {
    display: flex;
    gap: 10px;
    align-items: center;
    color: rgb(255 255 255 / 58%);
    font-size: 12px;
}

.table-filter select,
.table-filter input,
.inline-admin-form select,
.form-fields select {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--night);
    color: var(--white);
    font: inherit;
}

.table-filter input {
    width: 180px;
}

.region-data-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.admin-section .region-data-controls {
    max-width: 760px;
}

.region-data-summary {
    display: grid;
    gap: 6px;
}

.region-data-summary > span {
    color: rgb(255 255 255 / 58%);
    font-size: 12px;
}

.needs-moderation td {
    background: rgb(185 160 125 / 15%);
}

.submission-line {
    padding: 6px 0;
    color: rgb(255 255 255 / 82%);
}

.submission-line + .submission-line {
    border-top: 1px solid rgb(255 255 255 / 10%);
}

.table-card hr {
    border: 0;
    border-top: 1px solid rgb(255 255 255 / 12%);
}

.approve-action {
    color: #a5d6a7;
}

.reject-action {
    margin-left: 12px;
    color: #ffb4ab;
}

.admin-participants td {
    font-size: 13px;
    line-height: 1.6;
}

.admin-participants tr.participant-new td {
    background: #f3d7a4;
    color: #1d1710;
}

.admin-participants tr.participant-new small,
.admin-participants tr.participant-new .text-button {
    color: #3b2a14;
}

.admin-participants .participant-acknowledge:disabled {
    cursor: default;
    color: rgb(255 255 255 / 35%);
    text-decoration: none;
}

.admin-participants tr.participant-new .participant-acknowledge:disabled {
    color: rgb(29 23 16 / 48%);
}

.admin-participants small {
    color: rgb(255 255 255 / 48%);
}

.admin-participants tr.participant-new small {
    color: #3b2a14;
}

.admin-analytics-table {
    min-width: 1120px;
    table-layout: fixed;
}

.admin-analytics-col-id {
    width: 7.5%;
}

.admin-analytics-col-country {
    width: 7.5%;
}

.admin-analytics-col-region {
    width: 16%;
}

.admin-analytics-col-count {
    width: 8%;
}

.admin-analytics-col-average,
.admin-analytics-col-maximum {
    width: 9%;
}

.admin-analytics-col-score {
    width: 12%;
}

.admin-analytics-col-current,
.admin-analytics-col-recommended {
    width: 10%;
}

.admin-analytics-col-action {
    width: 11%;
}

.admin-analytics-table th,
.admin-analytics-table td {
    padding: 14px 16px;
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
    vertical-align: middle;
}

.admin-analytics-table th {
    white-space: normal;
    letter-spacing: .08em;
}

.admin-analytics-table td:nth-child(3) {
    text-align: left;
}

.participant-delete {
    color: #ffb4ab;
}

.archive-delete {
    color: #ffb4ab;
}

.danger-button {
    border-color: rgb(255 180 171 / 45%);
    background: rgb(255 180 171 / 10%);
    color: #ffb4ab;
}

.danger-button:hover {
    background: rgb(255 180 171 / 18%);
}

.danger-button:disabled {
    cursor: progress;
    opacity: .55;
}

.participant-delete:disabled {
    opacity: .45;
}

.legal-page {
    width: min(920px, 100%);
    margin: 0 auto;
    padding: 90px 24px 120px;
}

.legal-page h1 {
    max-width: 820px;
    margin: 22px 0 54px;
    font: 500 clamp(48px, 7vw, 86px)/.95 "Cormorant Garamond", Georgia, serif;
}

.legal-page section {
    padding: 30px 0;
    border-top: 1px solid #d9d3ca;
}

.legal-page h2 {
    margin-bottom: 16px;
    font: 600 28px "Cormorant Garamond", Georgia, serif;
}

.legal-page p {
    max-width: 780px;
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.75;
}

dialog {
    width: min(620px, calc(100% - 32px));
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--night-soft);
    color: var(--white);
}

dialog::backdrop {
    background: rgb(0 0 0 / 80%);
    backdrop-filter: blur(5px);
}

dialog form {
    padding: 32px;
}

.dialog-heading,
.dialog-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.dialog-heading {
    margin-bottom: 30px;
}

.dialog-heading h2 {
    margin: 0;
    font: 500 34px "Cormorant Garamond", Georgia, serif;
}

.dialog-actions {
    margin-top: 32px;
    justify-content: flex-end;
}

.icon-button {
    border: 0;
    background: transparent;
    color: rgb(255 255 255 / 55%);
    font-size: 30px;
}

.form-fields {
    display: grid;
    gap: 20px;
}

.form-fields label {
    display: grid;
    gap: 7px;
}

.form-fields label span {
    color: rgb(255 255 255 / 52%);
    font-size: 12px;
    font-weight: 500;
}

.form-fields .form-checkbox {
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-fields .form-checkbox input {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.dialog-message {
    min-height: 22px;
    margin: 18px 0 0;
    color: var(--sand);
    font-size: 14px;
    line-height: 1.45;
}

input,
textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    outline: none;
    background: var(--night);
    color: var(--white);
}

input:focus,
textarea:focus {
    border-color: var(--sand);
}

.error-state {
    text-align: center;
}

.registration-dialog {
    width: min(860px, calc(100% - 32px));
    max-height: min(94vh, 1100px);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
}

.registration-dialog::backdrop {
    background: rgb(2 2 15 / 78%);
    backdrop-filter: blur(7px);
}

.registration-form {
    max-height: min(94vh, 1100px);
    padding: clamp(28px, 5vw, 54px);
    overflow-y: auto;
}

.registration-heading {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    justify-content: space-between;
}

.registration-heading h2 {
    max-width: 690px;
    margin-bottom: 34px;
    font: 500 clamp(36px, 5vw, 58px)/1.03 "Cormorant Garamond", Georgia, serif;
}

.registration-close {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0 0 3px;
    flex: 0 0 auto;
    border: 1px solid #b9b6b1;
    border-radius: 50%;
    background: transparent;
    color: #8a8782;
    font-size: 27px;
    line-height: 1;
    place-items: center;
}

.order-line {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    min-height: 84px;
    border-top: 1px solid #d4d0ca;
    border-bottom: 1px solid #d4d0ca;
    font-size: clamp(18px, 2.3vw, 24px);
}

.order-line span {
    font: 500 26px "Cormorant Garamond", Georgia, serif;
}

.order-subtotal,
.registration-total {
    margin-top: 34px;
    font-size: 18px;
    font-weight: 600;
    text-align: right;
}

.registration-notice {
    max-width: 680px;
    margin: 70px 0 42px;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.75;
}

.registration-fields {
    display: grid;
    gap: 18px;
}

.registration-fields label {
    display: block;
}

.registration-fields label > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.registration-fields.result-fields label {
    display: grid;
    gap: 9px;
}

.registration-fields.result-fields label > span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    color: #5e574e;
    font-size: 13px;
    font-weight: 700;
}

.registration-fields input {
    min-height: 72px;
    padding: 0 24px;
    border: 1px solid var(--sand);
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
    font-size: 18px;
}

.registration-fields input::placeholder {
    color: #979493;
}

.registration-fields input:focus {
    border-color: var(--night);
}

.delivery-options {
    display: grid;
    gap: 12px;
    margin: 38px 0 30px;
    padding: 0;
    border: 0;
}

.delivery-options legend {
    margin-bottom: 12px;
    font-size: 17px;
}

.delivery-options label,
.registration-consents label {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    width: fit-content;
    cursor: pointer;
}

.delivery-options input[type="radio"],
.registration-consents input[type="checkbox"] {
    width: 28px;
    height: 28px;
    margin: 0;
    flex: 0 0 auto;
    border: 2px solid #73716e;
    border-radius: 50%;
    appearance: none;
    background: var(--white);
}

.delivery-options input[type="radio"]:checked {
    border: 7px solid var(--white);
    outline: 3px solid var(--ink);
    background: var(--ink);
}

.registration-consents {
    display: grid;
    gap: 22px;
    margin-top: 34px;
}

.registration-consents input[type="checkbox"] {
    border-radius: 0;
}

.registration-consents input[type="checkbox"]:checked {
    border-color: var(--night);
    background:
        linear-gradient(45deg, transparent 43%, var(--white) 43% 54%, transparent 54%) 5px 9px / 9px 9px no-repeat,
        linear-gradient(-45deg, transparent 43%, var(--white) 43% 54%, transparent 54%) 10px 5px / 14px 14px no-repeat,
        var(--night);
}

.registration-consents span {
    max-width: 660px;
    font-size: 15px;
    line-height: 1.45;
}

.registration-consents a {
    color: #db745f;
    text-decoration: none;
}

.registration-total {
    margin-top: 68px;
}

.registration-cost {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding: 18px 20px;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 6px;
    background: rgb(5 14 20 / 54%);
}

.registration-cost p {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
    color: rgb(255 255 255 / 78%);
    font-size: 15px;
}

.registration-cost p:last-child {
    padding-top: 8px;
    border-top: 1px solid rgb(255 255 255 / 14%);
    color: #f2eee6;
    font-weight: 800;
}

.registration-cost strong {
    color: #f2eee6;
}

.registration-submit {
    width: 100%;
    min-height: 70px;
    margin-top: 35px;
    border: 0;
    background: var(--night);
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
}

.registration-submit:hover {
    background: var(--sand);
    color: var(--night);
}

.registration-message {
    min-height: 24px;
    margin: 18px 0 0;
    color: #746143;
    font-size: 13px;
    text-align: center;
}

.login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 85% 15%, rgb(185 160 125 / 12%), transparent 26%),
        var(--night);
}

.login-layout {
    display: grid;
    width: min(1120px, calc(100% - 48px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 38px 0;
    grid-template-rows: auto 1fr auto;
}

.login-brand {
    align-self: start;
}

.login-card {
    width: min(500px, 100%);
    margin: auto;
    padding: clamp(30px, 5vw, 52px);
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--night-soft);
}

.login-card h1 {
    margin-bottom: 10px;
    font: 500 clamp(60px, 8vw, 88px)/.9 "Cormorant Garamond", Georgia, serif;
}

.login-card > p {
    color: rgb(255 255 255 / 48%);
}

.login-card form {
    display: grid;
    gap: 20px;
    margin-top: 34px;
}

.login-card label {
    display: grid;
    gap: 7px;
}

.login-card label span {
    color: rgb(255 255 255 / 55%);
    font-size: 12px;
}

.login-card .button {
    width: 100%;
    margin-top: 10px;
    border-color: var(--sand);
    background: var(--sand);
    color: var(--night);
}

.login-card .button:disabled {
    cursor: wait;
    opacity: .55;
}

.login-message {
    min-height: 25px;
    margin: 18px 0 0;
    color: #e4a99e !important;
    font-size: 13px;
}

.login-note {
    color: rgb(255 255 255 / 32%);
    text-align: center;
}

@media (max-width: 900px) {
    .home-grid,
    .community-panel {
        grid-template-columns: 1fr;
    }

    .home-grid {
        width: min(680px, calc(100% - 48px));
    }

    .community-panel {
        padding: 70px 24px;
    }

    .nature-art {
        min-height: 340px;
    }

    .tournament-grid,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-header {
        grid-template-columns: 1fr auto;
    }

    .admin-label {
        display: none;
    }

    .inline-admin-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .site-header {
        height: 66px;
    }

    .hero-title {
        padding-top: 64px;
    }

    .hero-title h1 {
        font-size: 76px;
    }

    .hero-title p {
        font-size: 10px;
        letter-spacing: .22em;
    }

    .date-blocks span {
        width: 32px;
        height: 48px;
        font-size: 21px;
    }

    .page {
        padding: 64px 20px;
    }

    .page-heading,
    .table-title {
        align-items: flex-start;
        flex-direction: column;
    }

    th,
    td {
        padding: 17px;
    }

    footer {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer-links,
    .footer-brand {
        justify-self: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .registration-dialog {
        width: 100%;
        max-width: none;
        max-height: 100vh;
        margin: 0;
    }

    .registration-form {
        max-height: 100vh;
        padding: 26px 20px 38px;
    }

    .registration-heading h2 {
        font-size: 35px;
    }

    .registration-notice {
        margin-top: 48px;
    }

    .registration-fields input {
        min-height: 64px;
    }
}

/* Public redesign from HASTA PDFs. Photo slots are intentional placeholders. */
.public-body {
    background: #090a0f;
}

.public-page,
.tournament-page,
.placeholder-page {
    padding: 0;
    background: #090a0f;
    color: #f2eee6;
}

.placeholder-photo {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgb(0 0 0 / 64%), rgb(9 14 20 / 44)),
        radial-gradient(circle at 70% 30%, rgb(200 155 93 / 22%), transparent 32%),
        linear-gradient(150deg, #0a1118 0%, #111f28 46%, #06080d 100%);
}

.placeholder-photo::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgb(0 0 0 / 14%), rgb(0 0 0 / 36%)),
        repeating-linear-gradient(135deg, rgb(255 255 255 / 3%) 0 1px, transparent 1px 8px);
    content: "";
}

.placeholder-photo::after {
    position: absolute;
    right: 22px;
    bottom: 18px;
    color: rgb(242 238 230 / 24%);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    content: "место для фото";
}

.placeholder-photo--light {
    min-height: 360px;
    border-radius: 36px;
    background:
        linear-gradient(120deg, rgb(239 229 214 / 20%), rgb(9 14 20 / 10%)),
        radial-gradient(circle at 72% 24%, rgb(200 155 93 / 24%), transparent 28%),
        linear-gradient(145deg, #d9cbb9, #6d766b 48%, #1c2a2d);
}

.mission-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1714 / 1290;
    min-height: 0;
    border-radius: 36px;
    background:
        linear-gradient(120deg, rgb(239 229 214 / 10%), rgb(9 14 20 / 18%)),
        url("/images/mission-photo.webp") center / cover no-repeat;
}

.mission-image::before,
.mission-image::after {
    content: none;
}

.brand-hero,
.tournament-hero {
    display: grid;
    min-height: 100vh;
    padding: clamp(28px, 5vw, 56px);
    align-items: center;
}

.brand-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    background:
        linear-gradient(120deg, rgb(0 0 0 / 70%), rgb(8 12 18 / 32%)),
        url("/images/home-hero.webp") center / cover no-repeat;
}

.brand-hero::before,
.brand-hero::after {
    content: none;
}

.hero-nav {
    position: absolute;
    z-index: 2;
    inset: 32px clamp(28px, 5vw, 64px) auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #f2eee6;
    font-weight: 700;
    letter-spacing: .32em;
    text-transform: uppercase;
}

.hero-nav a {
    color: #f2eee6;
    font-size: 12px;
    text-decoration: none;
}

.hero-logo-symbol {
    display: block;
    width: 38px;
    height: auto;
}

.brand-hero__content,
.tournament-hero__content {
    position: relative;
    z-index: 1;
    max-width: 980px;
}

.brand-hero__content h1,
.tournament-hero__content h1 {
    margin: 0;
    color: #f2eee6;
    font: 500 clamp(74px, 13vw, 168px)/.9 "Cormorant Garamond", Georgia, serif;
    letter-spacing: .24em;
    text-shadow: 0 18px 42px rgb(0 0 0 / 50%);
}

.brand-hero__content i,
.tournament-hero__content i {
    display: block;
    width: 84px;
    height: 2px;
    margin: 22px 0;
    background: #c89b5d;
}

.brand-hero__content p,
.tournament-hero__content p {
    margin: 0 0 12px;
    color: #e0e0e0;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.brand-hero__content small {
    color: #e0a44d;
    font-size: 13px;
    letter-spacing: .32em;
    text-transform: uppercase;
}

.paper-section {
    position: relative;
    background:
        radial-gradient(circle at 50% 50%, transparent, rgb(0 0 0 / 5%)),
        #efe5d6;
    color: #11111a;
}

.mission-section {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(32px, 6vw, 92px);
    align-items: center;
    padding: clamp(64px, 8vw, 120px) clamp(24px, 7vw, 104px);
}

.section-kicker {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    color: #0f141b;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-kicker::after {
    width: 82px;
    height: 1px;
    background: #c89b5d;
    content: "";
}

.mission-section h2,
.teaser-copy h2 {
    margin: 42px 0 28px;
    font: 500 clamp(42px, 7vw, 76px)/1 "Cormorant Garamond", Georgia, serif;
    text-transform: uppercase;
}

.mission-section p,
.teaser-copy p {
    max-width: 560px;
    color: #2f3136;
    font-size: 17px;
    line-height: 1.75;
}

.principles-section {
    padding: 16px clamp(30px, 4.4vw, 60px) 20px;
    background: #080d12;
}

.principles-section h2 {
    margin-bottom: 8px;
    color: #ad916d;
    font: 800 13px Montserrat, Arial, sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.history-section h2 {
    margin-bottom: 44px;
    color: #ad916d;
    font: 500 34px "Cormorant Garamond", Georgia, serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    border: 0;
}

.principles-grid article {
    display: grid;
    justify-items: center;
    align-content: start;
    min-height: 96px;
    padding: 0 clamp(20px, 4vw, 58px);
    text-align: center;
}

.principles-grid article + article {
    border-left: 1px solid #9c6531;
}

.line-icon {
    display: grid;
    width: 74px;
    height: 42px;
    margin-bottom: 7px;
    place-items: center;
    color: #ad916d;
}

.line-icon svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.line-icon--image img {
    display: block;
    width: 84px;
    max-width: none;
    height: auto;
}

.principles-grid h3 {
    margin: 0 0 7px;
    color: #ad916d;
    font: 800 12px Montserrat, Arial, sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.principles-grid p {
    max-width: 270px;
    margin: 0;
    color: rgb(255 255 255 / 82%);
    font-size: 11px;
    line-height: 1.65;
}

.tournament-teaser {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 330px) minmax(220px, 330px);
    gap: 28px;
    align-items: center;
    padding: clamp(64px, 8vw, 110px) clamp(24px, 7vw, 104px);
}

.text-arrow {
    display: inline-flex;
    margin-top: 22px;
    color: #b2611c;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.tournament-card-preview {
    min-height: 330px;
    padding: 28px;
    border: 1px solid #c9a477;
    border-radius: 8px;
    background:
        repeating-linear-gradient(0deg, rgb(0 0 0 / 3%) 0 1px, transparent 1px 7px),
        #f5ead8;
    box-shadow: 0 14px 30px rgb(29 22 13 / 14%);
}

.tournament-card-preview span {
    color: #b2611c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tournament-card-preview strong {
    display: block;
    margin: 130px 0 14px;
    color: #0b2239;
    font: 800 28px/1 "Montserrat", Arial, sans-serif;
    text-transform: uppercase;
}

.tournament-card-preview small {
    color: #171a1f;
    line-height: 1.6;
    text-transform: uppercase;
}

.cta-section {
    position: relative;
    overflow: hidden;
    display: grid;
    min-height: 58vh;
    place-items: center;
    background:
        radial-gradient(circle at 50% 25%, rgb(200 155 93 / 12%), transparent 34%),
        linear-gradient(120deg, #070b10, #101923 52%, #06080d);
    text-align: center;
}

.cta-section::before,
.cta-section::after {
    display: none;
    background: none;
    content: none;
}

.cta-section > div {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    margin: 0;
    font: 500 clamp(58px, 10vw, 118px)/1 "Cormorant Garamond", Georgia, serif;
    letter-spacing: .32em;
}

.cta-section p {
    letter-spacing: .28em;
    text-transform: uppercase;
}

.button-gold {
    border-color: #c89b5d;
    background: transparent;
    color: #c89b5d;
    border-radius: 4px;
    text-transform: uppercase;
}

.tournament-hero {
    min-height: 720px;
    background:
        linear-gradient(120deg, rgb(0 0 0 / 64%), rgb(6 12 18 / 28%)),
        url("/images/tournament-hero.webp") center / cover no-repeat;
    text-align: center;
}

.tournament-hero.placeholder-photo::before,
.tournament-hero.placeholder-photo::after {
    content: none;
}

.tournament-hero__content {
    margin: auto;
    justify-self: center;
    text-align: center;
    width: min(100%, 980px);
}

.tournament-hero__content h1 {
    display: block;
    max-width: 100%;
    padding-left: 0;
    overflow-wrap: anywhere;
    font-size: clamp(56px, 9vw, 112px);
    line-height: .92;
    letter-spacing: .12em;
    text-wrap: balance;
}

.tournament-hero__content span {
    color: #f18719;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.tournament-hero__content i {
    margin-right: auto;
    margin-left: auto;
}

.tournament-actions {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 18px;
    width: min(1100px, 100%);
    margin: 0 auto;
}

.tournament-actions button,
.tournament-actions a {
    display: grid;
    grid-template-rows: minmax(44px, 1fr) minmax(28px, 1fr);
    gap: 0;
    min-height: 92px;
    align-items: center;
    justify-items: center;
    border: 1px solid rgb(200 155 93 / 28%);
    border-radius: 7px;
    background: rgb(5 14 20 / 72%);
    color: #f18719;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.tournament-action-icon {
    grid-row: 1;
    align-self: center;
    transform: translateY(8px);
    display: block;
    width: min(156px, 56%);
    max-height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgb(241 135 25 / 52%));
    pointer-events: none;
}

.tournament-action-icon--document {
    width: min(86px, 42%);
}

.tournament-action-icon--angler {
    width: min(96px, 40%);
    max-height: 52px;
}

.tournament-action-label {
    grid-row: 2;
    display: block;
    align-self: center;
    transform: translateY(-8px);
}

.tournament-shell {
    padding: 0 clamp(18px, 5vw, 96px) 92px;
    background: #071018;
}

.tournament-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    transform: translateY(-30px);
}

.tournament-meta div,
.about-tournament,
.rating-block,
.history-card {
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 8px;
    background: linear-gradient(145deg, rgb(10 31 43 / 82%), rgb(5 13 20 / 88%));
    color: #f2eee6;
}

.tournament-meta div {
    padding: 24px;
    text-align: center;
}

.tournament-meta span {
    color: #f18719;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.tournament-meta strong {
    display: block;
    margin-top: 8px;
}

.about-tournament {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    padding: clamp(34px, 5vw, 64px);
    isolation: isolate;
}

.about-tournament::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgb(5 13 20 / 96%) 0%, rgb(5 13 20 / 88%) 34%, rgb(5 13 20 / 38%) 62%, rgb(5 13 20 / 0%) 100%),
        linear-gradient(180deg, rgb(5 13 20 / 18%), rgb(5 13 20 / 62%));
}

.about-tournament > div:first-child {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.about-tournament h2,
.rating-block h2 {
    color: #f18719;
    font: 700 22px "Montserrat", Arial, sans-serif;
    text-transform: uppercase;
}

.about-tournament p {
    color: rgb(255 255 255 / 78%);
    line-height: 1.8;
}

.fish-placeholder {
    position: absolute;
    inset: 0;
    z-index: -2;
    border: 0;
    border-radius: inherit;
    background: url("/images/about-tournament.webp") center right / cover no-repeat;
}

.rating-block {
    margin-top: 18px;
    overflow: hidden;
    --rating-header-height: 54px;
    --rating-row-height: 72px;
}

.analytics-score {
    color: #ed9b00 !important;
    font-weight: 800;
}

.recommendation-pill {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: #475569;
    font-weight: 800;
}

.recommendation-pill::before {
    width: 12px;
    height: 12px;
    border: 2px solid #ed9b00;
    border-radius: 50%;
    content: "";
}

.recommendation-pill--up::before {
    border-color: #e32525;
}

.recommendation-pill--up {
    color: #c4121f;
}

.recommendation-pill--balance::before {
    border-color: #078a29;
}

.recommendation-pill--balance {
    color: #067a26;
}

.recommendation-pill--down::before {
    border-color: #e32525;
}

.recommendation-pill--down {
    color: #c4121f;
}

.recommendation-pill--neutral::before {
    border-color: #9aa3b2;
}

.recommendation-pill--neutral {
    color: #64748b;
}

.rating-block .table-title {
    border-bottom-color: rgb(255 255 255 / 10%);
}

.rating-tabs {
    display: flex;
    gap: 0;
    padding: 12px;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    background: rgb(5 14 20 / 68%);
}

.rating-tabs button {
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid rgb(255 255 255 / 16%);
    background: rgb(255 255 255 / 4%);
    color: rgb(255 255 255 / 72%);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.rating-tabs button:first-child {
    border-radius: 8px 0 0 8px;
}

.rating-tabs button:last-child {
    border-left: 0;
    border-radius: 0 8px 8px 0;
}

.rating-tabs button.active {
    background: #d8b36a;
    color: #10202d;
}

.rating-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
    justify-content: flex-end;
}

.rating-stage-summary {
    display: grid;
    gap: 5px;
    min-height: 38px;
    align-content: center;
    padding: 0 8px;
}

.rating-stage-summary strong {
    color: var(--white);
    font-size: 14px;
}

.rating-filters label {
    display: grid;
    gap: 5px;
    min-width: 160px;
}

.rating-filters span {
    color: rgb(255 255 255 / 52%);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.rating-filters input {
    min-height: 38px;
    padding: 8px 10px;
    border-color: rgb(255 255 255 / 16%);
    background: rgb(5 14 20 / 72%);
    color: var(--white);
    font-size: 13px;
}

.rating-block th,
.rating-block td {
    padding: 12px 24px;
}

.rating-block th {
    height: var(--rating-header-height);
    position: sticky;
    top: 0;
    z-index: 2;
    background: #071018;
}

.rating-block tbody tr {
    height: var(--rating-row-height);
}

.rating-block .table-scroll {
    max-height: calc(var(--rating-header-height) + (var(--rating-row-height) * 10));
    overflow: auto;
    scrollbar-gutter: stable;
}

.rating-block .rating-row--top td {
    border-bottom-color: rgb(16 24 32 / 12%);
    background: #f4ead8;
    color: #10202d;
}

.rating-block .rating-row--blue-light td {
    border-bottom-color: rgb(16 53 87 / 14%);
    background: #dceeff;
    color: #10202d;
}

.rating-block .rating-row--blue-dark td {
    border-bottom-color: rgb(255 255 255 / 12%);
    background: #164a7d;
    color: #f7fbff;
}

.rating-block .rating-row--top small,
.rating-block .rating-row--blue-light small,
.rating-block .rating-row--blue-dark small {
    display: block;
    margin-top: 4px;
    color: inherit;
}

.rating-block .rating-row--top .place,
.rating-block .rating-row--blue-light .place {
    border-color: rgb(16 32 45 / 22%);
    background: rgb(255 255 255 / 46%);
    color: #10202d;
}

.rating-block .rating-row--blue-dark .place {
    border-color: rgb(255 255 255 / 36%);
    background: rgb(255 255 255 / 14%);
    color: #f7fbff;
}

.rating-block .rating-stage-best {
    background: #d8b36a !important;
    color: #10202d !important;
}

.rating-block .rating-stage-best strong {
    color: #10202d;
}

.table-card .rating-stage-best {
    background: #d8b36a !important;
    color: #10202d !important;
}

.table-card .rating-stage-best small {
    display: block;
    margin-top: 4px;
}

.region-data-page {
    min-height: 100vh;
    padding: 110px 24px 80px;
    background: var(--night);
}

.region-data-shell {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.region-data-shell .page-heading {
    margin: 0;
}

.region-data-shell .page-heading h1,
.region-data-card h2 {
    color: #f2eee6;
}

.region-data-shell .lead {
    margin: 12px 0 0;
    color: rgb(255 255 255 / 62%);
}

.region-data-card {
    margin-top: 32px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 8px;
    background: linear-gradient(145deg, rgb(10 31 43 / 82%), rgb(5 13 20 / 88%));
    color: #f2eee6;
}

.region-data-card th,
.region-data-card td {
    padding: 18px 24px;
}

.history-section {
    padding-top: 48px;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.history-card {
    position: relative;
    min-height: 350px;
    padding: 36px 34px;
    border-color: rgb(173 145 109 / 42%);
    background: #efe3cf;
    color: #26333c;
}

.history-card span {
    color: #bd6f43;
    font: 800 14px Montserrat, Arial, sans-serif;
    letter-spacing: .28em;
}

.history-card h3 {
    margin: 14px 0 20px;
    color: #1d2d38;
    font: 600 clamp(30px, 4vw, 42px) "Cormorant Garamond", Georgia, serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.history-card h3::after {
    display: block;
    width: 38px;
    height: 2px;
    margin-top: 18px;
    background: #d77842;
    content: "";
}

.history-card p {
    max-width: 470px;
    color: #48535a;
    font-size: 17px;
    line-height: 1.58;
}

.history-card-date {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 18px;
    color: #27333c !important;
    font-weight: 800;
    text-transform: uppercase;
}

.history-card-date::before {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    border: 2px solid #c9773f;
    border-top-width: 5px;
    border-radius: 3px;
    content: "";
}

.history-card-action {
    margin-top: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #c9773f;
    font: 800 15px Montserrat, Arial, sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.history-card--hasta-evolution::after {
    position: absolute;
    top: 50%;
    right: -46px;
    z-index: 2;
    color: #d27b36;
    font: 400 44px "Cormorant Garamond", Georgia, serif;
    content: "→";
    transform: translateY(-50%);
}

.placeholder-page {
    min-height: 100vh;
    padding: clamp(80px, 10vw, 150px) clamp(24px, 8vw, 120px);
}

.placeholder-page h1 {
    font: 500 clamp(64px, 10vw, 130px)/.9 "Cormorant Garamond", Georgia, serif;
}

.placeholder-page p {
    max-width: 620px;
    color: rgb(255 255 255 / 66%);
    font-size: 20px;
}

.tournament-dialog {
    width: min(1080px, calc(100% - 28px));
    max-height: 94vh;
    overflow: hidden;
    border: 1px solid rgb(200 155 93 / 25%);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgb(5 16 24 / 92%), rgb(4 9 14 / 96%)),
        #071018;
    color: #f2eee6;
}

.tournament-dialog::backdrop {
    background: rgb(0 0 0 / 78%);
}

.tournament-form {
    max-height: 94vh;
    overflow-y: auto;
    padding: clamp(28px, 5vw, 58px);
    background:
        linear-gradient(180deg, rgb(5 16 24 / 12%) 0, rgb(5 16 24 / 30%) 110px, rgb(5 16 24 / 86%) 250px, rgb(5 16 24) 360px),
        linear-gradient(120deg, rgb(0 0 0 / 58%), rgb(4 9 14 / 12%) 52%, rgb(4 9 14 / 62%)),
        url("/images/tournament-hero.webp") top center / 100% 360px no-repeat,
        #051018;
    background-attachment: local, local, local, scroll;
}

.dialog-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #f18719;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.dialog-top button {
    border: 0;
    background: transparent;
    color: #f2eee6;
    font-size: 42px;
}

.thanks-dialog {
    width: min(520px, calc(100% - 32px));
    padding: 0;
    overflow: hidden;
    border: 1px solid rgb(200 155 93 / 28%);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgb(5 16 24 / 94%), rgb(4 9 14 / 98%)),
        #071018;
    color: #f2eee6;
}

.thanks-dialog::backdrop {
    background: rgb(0 0 0 / 78%);
}

.thanks-dialog-content {
    position: relative;
    display: grid;
    gap: 18px;
    padding: clamp(34px, 7vw, 56px);
    text-align: center;
}

.thanks-dialog-content button {
    position: absolute;
    top: 14px;
    right: 18px;
    border: 0;
    background: transparent;
    color: #f2eee6;
    font-size: 38px;
    line-height: 1;
}

.thanks-dialog-content span {
    color: #f18719;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.thanks-dialog-content h2 {
    margin: 0;
    font: 500 clamp(34px, 7vw, 58px)/1 "Cormorant Garamond", Georgia, serif;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tournament-form h2 {
    margin: 28px 0 44px;
    text-align: center;
    font: 500 clamp(38px, 6vw, 70px)/1 "Cormorant Garamond", Georgia, serif;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-shadow: 0 14px 34px rgb(0 0 0 / 55%);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-grid label {
    display: grid;
    gap: 10px;
}

.form-grid .wide {
    grid-column: 1 / -1;
}

.form-grid label > span {
    color: #f2eee6;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.form-grid input,
.form-grid select {
    min-height: 64px;
    border-color: rgb(255 255 255 / 16%);
    background: rgb(5 14 20 / 72%);
    color: #f2eee6;
}

.region-combobox,
.participant-combobox {
    position: relative;
}

.region-suggestions,
.participant-suggestions {
    position: absolute;
    z-index: 20;
    right: 0;
    left: 0;
    max-height: min(280px, 45vh);
    margin-top: 6px;
    overflow-y: auto;
    border: 1px solid rgb(255 255 255 / 18%);
    background: #071018;
    box-shadow: 0 18px 38px rgb(0 0 0 / 36%);
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.region-suggestions[hidden],
.participant-suggestions[hidden] {
    display: none;
}

.region-suggestion,
.participant-suggestion {
    display: grid;
    width: 100%;
    min-height: 58px;
    padding: 10px 14px;
    border: 0;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    background: transparent;
    color: #f2eee6;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.region-suggestion:last-child,
.participant-suggestion:last-child {
    border-bottom: 0;
}

.region-suggestion:hover,
.region-suggestion:focus,
.participant-suggestion:hover,
.participant-suggestion:focus {
    background: rgb(241 135 25 / 18%);
    outline: none;
}

.region-suggestion strong,
.participant-suggestion strong {
    font-size: 15px;
}

.region-suggestion small,
.participant-suggestion small {
    margin-top: 3px;
    color: rgb(255 255 255 / 62%);
    font-size: 12px;
}

.delivery-fields {
    margin-top: 18px;
}

.form-grid label:has(input[name="mainPhotoUrl"]) {
    display: none;
}

.photo-upload-section {
    padding: 0 0 26px;
    border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.photo-upload-section h3 {
    margin: 0;
    color: #f2eee6;
    font: 700 18px "Montserrat", Arial, sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.photo-section-heading {
    display: flex;
    gap: 26px;
    align-items: baseline;
    margin-bottom: 16px;
}

.photo-section-heading strong {
    color: #f18719;
    font-size: 14px;
}

.photo-section-lead,
.photo-upload-section > p {
    margin: 12px 0 16px;
    color: rgb(255 255 255 / 68%);
    line-height: 1.5;
}

.photo-upload-row {
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(220px, .7fr);
    gap: 28px;
    align-items: center;
}

.photo-upload-row > p {
    margin: 0;
    color: rgb(255 255 255 / 66%);
    font-size: 16px;
    line-height: 1.55;
}

.photo-upload {
    position: relative;
    display: grid !important;
    place-items: center;
    align-content: center;
    gap: 8px;
    border: 2px dashed rgb(255 255 255 / 36%);
    border-radius: 8px;
    background: rgb(5 14 20 / 36%);
    color: #f2eee6;
    cursor: pointer;
    text-align: center;
    transition: border-color .2s ease, background .2s ease;
}

.photo-upload:hover {
    border-color: #f18719;
    background: rgb(5 14 20 / 58%);
}

.photo-upload-large {
    min-height: 190px;
}

.photo-upload-small {
    min-height: 178px;
}

.photo-upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.photo-upload-title {
    max-width: 260px;
    color: rgb(255 255 255 / 78%);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.photo-upload small {
    color: rgb(255 255 255 / 65%);
    font-size: 14px;
    line-height: 1.45;
}

.photo-upload-icon {
    position: relative;
    width: 46px;
    height: 34px;
    margin-bottom: 4px;
    border: 3px solid rgb(255 255 255 / 58%);
    border-radius: 8px;
}

.photo-upload-icon::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 11px;
    width: 18px;
    height: 10px;
    border: 3px solid rgb(255 255 255 / 58%);
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
}

.photo-upload-icon::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 13px;
    width: 14px;
    height: 14px;
    border: 3px solid rgb(255 255 255 / 58%);
    border-radius: 50%;
}

.additional-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.photo-upload-add {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 4px;
    place-items: center;
    border: 2px solid rgb(255 255 255 / 58%);
    border-radius: 50%;
    color: rgb(255 255 255 / 78%);
    font-size: 34px;
    line-height: 1;
}

.photo-upload-note {
    position: relative;
    margin: 18px 0 0 !important;
    padding-left: 32px;
    color: rgb(255 255 255 / 66%);
}

.photo-upload-note::before {
    content: "i";
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 46%);
    border-radius: 50%;
    color: rgb(255 255 255 / 68%);
    font-size: 13px;
    font-weight: 700;
}

.photo-requirements {
    padding: 0 0 0 8px;
}

.photo-requirements h3 {
    margin: 0 0 24px;
    color: #f18719;
    font: 800 18px "Montserrat", Arial, sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.photo-requirement {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 18px 0 20px;
    border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.photo-requirement:first-of-type {
    padding-top: 0;
}

.photo-requirement-icon {
    position: relative;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgb(241 135 25 / 34%);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgb(241 135 25 / 16%), rgb(255 255 255 / 4%)),
        rgb(5 14 20 / 42%);
    color: #f5b46f;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%);
}

.photo-requirement-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.photo-requirement h4 {
    margin: 3px 0 8px;
    color: #f2eee6;
    font: 800 15px "Montserrat", Arial, sans-serif;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.photo-requirement p {
    margin: 0;
    color: rgb(255 255 255 / 68%);
    line-height: 1.5;
}

.photo-requirement ul {
    display: grid;
    gap: 7px;
    margin: 10px 0 0;
    padding-left: 18px;
    color: rgb(255 255 255 / 68%);
    line-height: 1.45;
}

.photo-requirement li::marker {
    color: #f18719;
}

.photo-requirements-support {
    margin: 18px 0 0;
    color: rgb(255 255 255 / 74%);
    font-size: 14px;
    line-height: 1.55;
}

.photo-requirements-support a {
    color: #f5b46f;
    font-weight: 800;
    text-decoration: none;
}

.photo-requirements-support a:hover {
    color: #ffd2a0;
    text-decoration: underline;
}

.result-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 28px;
    align-items: start;
}

.tournament-delivery {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    margin-top: 22px;
    padding: 20px;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 6px;
}

.tournament-consents {
    margin-top: 28px;
}

.tournament-consents label {
    width: auto;
}

.tournament-consents a {
    color: #f18719;
}

.result-consents {
    display: grid;
    gap: 18px;
    margin-top: 28px;
    padding: 18px;
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: 8px;
    background: rgb(5 14 20 / 44%);
}

.result-consents label {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 14px;
    align-items: start;
    color: rgb(255 255 255 / 72%);
    cursor: pointer;
    line-height: 1.45;
}

.result-consents input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin: 0;
    border: 2px solid rgb(255 255 255 / 62%);
    border-radius: 4px;
    appearance: none;
    background: transparent;
}

.result-consents input[type="checkbox"]:checked {
    border-color: #f18719;
    background:
        linear-gradient(45deg, transparent 42%, #071018 42% 55%, transparent 55%) 5px 9px / 7px 7px no-repeat,
        linear-gradient(-45deg, transparent 42%, #071018 42% 55%, transparent 55%) 9px 5px / 11px 11px no-repeat,
        #f18719;
}

.result-submit {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 2px;
    border: 0;
    border-radius: 8px;
    background: #f18719;
    color: #071018;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.result-submit:hover {
    background: #ff9a2d;
}

.result-submit:disabled {
    cursor: progress;
    opacity: .68;
}

.result-submit span {
    font-size: 28px;
    line-height: 1;
}

.result-secure-note {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    padding-left: 28px;
    color: rgb(255 255 255 / 50%);
    font-size: 13px;
    line-height: 1.35;
}

.result-secure-note::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 14px;
    height: 11px;
    border: 2px solid rgb(255 255 255 / 38%);
    border-radius: 3px;
}

.result-secure-note::after {
    content: "";
    position: absolute;
    left: 4px;
    top: -4px;
    width: 6px;
    height: 8px;
    border: 2px solid rgb(255 255 255 / 38%);
    border-bottom: 0;
    border-radius: 7px 7px 0 0;
}

@media (max-width: 900px) {
    .brand-hero {
        background-position: right center;
    }

    .mission-section,
    .tournament-teaser,
    .about-tournament,
    .result-layout,
    .tournament-meta,
    .history-grid {
        grid-template-columns: 1fr;
    }

    .history-card--hasta-evolution::after {
        display: none;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .principles-grid article + article {
        border-top: 1px solid rgb(200 155 93 / 42%);
        border-left: 0;
    }

    .about-tournament {
        min-height: 560px;
        padding: 32px 24px;
    }

    .about-tournament::before {
        background:
            linear-gradient(180deg, rgb(5 13 20 / 96%) 0%, rgb(5 13 20 / 84%) 42%, rgb(5 13 20 / 30%) 72%, rgb(5 13 20 / 72%) 100%);
    }

    .fish-placeholder {
        background-position: 62% center;
    }

    .tournament-actions {
        grid-template-columns: 1fr;
    }

    .tournament-action-icon {
        width: min(170px, 62%);
        max-height: 52px;
    }

    .tournament-action-icon--document {
        width: min(96px, 45%);
    }

    .tournament-action-icon--angler {
        width: min(104px, 46%);
        max-height: 56px;
    }

    .tournament-meta {
        margin-top: 24px;
        transform: none;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .photo-section-heading,
    .photo-upload-row {
        display: grid;
        gap: 12px;
    }

    .photo-upload-row {
        grid-template-columns: 1fr;
    }

    .additional-photo-grid {
        grid-template-columns: 1fr;
    }

    .photo-requirements {
        padding-left: 0;
    }

    .photo-requirement {
        grid-template-columns: 54px 1fr;
        gap: 14px;
    }

    .photo-requirement-icon {
        width: 52px;
        height: 52px;
    }

    .photo-requirement-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 650px) {
    .brand-hero__content h1,
    .tournament-hero__content h1 {
        font-size: 50px;
        letter-spacing: .16em;
    }

    .tournament-hero__content h1 {
        font-size: clamp(38px, 12vw, 50px);
        letter-spacing: .08em;
    }

    .brand-hero,
    .tournament-hero {
        min-height: 620px;
        padding: 24px;
    }

    .site-menu {
        width: 100vw;
        padding: 30px 26px 28px;
    }

    .menu-toggle {
        top: 18px;
        right: 18px;
    }

    .menu-caption {
        margin-bottom: 58px;
        font-size: 11px;
    }

    .menu-links a {
        gap: 24px;
        padding-bottom: 22px;
        margin-bottom: 24px;
    }

    .menu-links a::before {
        left: -27px;
        width: 7px;
        height: 58px;
    }

    .menu-links a span {
        min-width: 36px;
        font-size: 29px;
    }

    .menu-links a strong {
        font-size: clamp(35px, 11vw, 46px);
    }

    .menu-brand {
        padding-top: 42px;
    }

    .menu-brand img {
        width: 122px;
        margin-bottom: 16px;
    }

    .menu-brand p {
        font-size: 9px;
        line-height: 1.8;
    }

    .menu-socials {
        gap: 22px;
        margin-top: 28px;
    }

    .menu-socials a {
        width: 52px;
        height: 52px;
    }

    .menu-socials svg {
        width: 25px;
        height: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-menu,
    .menu-toggle > span:not(.visually-hidden),
    .menu-links a::before {
        transition: none;
    }
}

/* Mobile experience */
.mobile-site-header {
    display: none;
}

@media (max-width: 650px) {
    :root {
        --mobile-gutter: 18px;
        --mobile-header-height: 64px;
    }

    html {
        scroll-padding-top: var(--mobile-header-height);
    }

    body {
        font-size: 15px;
    }

    body.menu-open::before {
        z-index: 38;
        background: rgb(2 5 9 / 54%);
        backdrop-filter: blur(2px);
    }

    .mobile-site-header {
        position: fixed;
        z-index: 39;
        inset: 0 0 auto;
        display: flex;
        height: var(--mobile-header-height);
        padding: 0 72px 0 var(--mobile-gutter);
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid rgb(200 155 93 / 26%);
        background: linear-gradient(180deg, rgb(3 7 11 / 96%), rgb(3 7 11 / 88%));
        backdrop-filter: blur(16px);
    }

    .mobile-brand {
        display: inline-flex;
        gap: 10px;
        align-items: center;
        color: #f2eee6;
        font: 600 19px/1 "Cormorant Garamond", Georgia, serif;
        letter-spacing: .18em;
        text-decoration: none;
    }

    .mobile-brand img {
        width: 27px;
        height: 27px;
        object-fit: contain;
    }

    .menu-toggle {
        z-index: 41;
        top: 8px;
        right: 10px;
        width: 48px;
        height: 48px;
        padding: 13px 10px;
        border-radius: 50%;
        background: rgb(255 255 255 / 5%);
        gap: 5px;
    }

    .menu-toggle > span:not(.visually-hidden) {
        width: 25px;
        height: 1.5px;
    }

    .menu-open .menu-toggle {
        background: rgb(200 155 93 / 14%);
    }

    .menu-open .menu-toggle > span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    .menu-open .menu-toggle > span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    .site-menu {
        z-index: 40;
        inset: calc(var(--mobile-header-height) + 8px) 10px auto auto;
        width: min(340px, calc(100vw - 20px));
        max-height: calc(100dvh - var(--mobile-header-height) - 18px);
        padding: 18px;
        border: 1px solid rgb(200 155 93 / 58%);
        border-radius: 18px;
        box-shadow: 0 24px 70px rgb(0 0 0 / 58%);
        opacity: 0;
        transform: translateY(-10px) scale(.98);
        transform-origin: top right;
    }

    .menu-open .site-menu {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .menu-caption {
        margin: 0 0 14px;
        padding: 2px 2px 13px;
        border-bottom: 1px solid rgb(255 255 255 / 10%);
        font-size: 9px;
        letter-spacing: .28em;
    }

    .menu-links {
        display: grid;
        gap: 4px;
    }

    .menu-links a {
        gap: 14px;
        min-height: 54px;
        margin: 0;
        padding: 8px 10px;
        border-radius: 10px;
        border-bottom: 0;
    }

    .menu-links a::before {
        left: -18px;
        width: 4px;
        height: 36px;
        border-radius: 0 4px 4px 0;
    }

    .menu-links a span {
        min-width: 26px;
        font-size: 14px;
    }

    .menu-links a strong {
        font: 600 24px/1 "Cormorant Garamond", Georgia, serif;
        letter-spacing: .02em;
    }

    .menu-links a:hover,
    .menu-links a.active {
        background: rgb(200 155 93 / 10%);
    }

    .menu-brand {
        display: none;
    }

    .menu-socials {
        gap: 10px;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgb(255 255 255 / 10%);
    }

    .menu-socials a {
        width: 40px;
        height: 40px;
    }

    .menu-socials svg {
        width: 19px;
        height: 19px;
    }

    .brand-hero,
    .tournament-hero {
        min-height: 100svh;
        padding: calc(var(--mobile-header-height) + 40px) var(--mobile-gutter) 34px;
    }

    .brand-hero {
        align-items: end;
        background-position: 60% center;
    }

    .hero-nav {
        display: none;
    }

    .brand-hero__content,
    .tournament-hero__content {
        width: 100%;
    }

    .brand-hero__content h1 {
        font-size: clamp(58px, 21vw, 86px);
        letter-spacing: .1em;
    }

    .brand-hero__content i,
    .tournament-hero__content i {
        width: 52px;
        margin: 16px 0;
    }

    .brand-hero__content p,
    .tournament-hero__content p {
        max-width: 300px;
        font-size: 10px;
        line-height: 1.7;
        letter-spacing: .2em;
    }

    .brand-hero__content small {
        font-size: 9px;
        letter-spacing: .2em;
    }

    .mission-section,
    .tournament-teaser {
        gap: 26px;
        padding: 54px var(--mobile-gutter);
    }

    .mission-image {
        order: initial;
        width: 100%;
        margin: 6px 0 0;
        border-radius: 24px;
    }

    .section-kicker {
        font-size: 10px;
        letter-spacing: .1em;
    }

    .section-kicker::after {
        width: 46px;
    }

    .mission-section h2,
    .teaser-copy h2 {
        margin: 24px 0 18px;
        font-size: clamp(38px, 12vw, 52px);
        line-height: .98;
    }

    .mission-section p,
    .teaser-copy p {
        font-size: 15px;
        line-height: 1.7;
    }

    .principles-section {
        padding: 42px 0 46px var(--mobile-gutter);
        overflow: hidden;
    }

    .principles-section h2 {
        margin: 0 0 20px;
    }

    .principles-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding: 0 var(--mobile-gutter) 10px 0;
        scroll-padding-left: var(--mobile-gutter);
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .principles-grid::-webkit-scrollbar {
        display: none;
    }

    .principles-grid article {
        min-width: min(78vw, 290px);
        min-height: 230px;
        padding: 32px 24px;
        align-content: center;
        border: 1px solid rgb(200 155 93 / 26%);
        border-radius: 18px;
        background: rgb(255 255 255 / 3%);
        scroll-snap-align: start;
    }

    .principles-grid article + article {
        border: 1px solid rgb(200 155 93 / 26%);
    }

    .line-icon {
        width: 84px;
        height: 50px;
        margin-bottom: 20px;
    }

    .principles-grid h3 {
        margin-bottom: 10px;
        font-size: 11px;
    }

    .principles-grid p {
        font-size: 12px;
    }

    .tournament-teaser {
        grid-template-columns: 1fr;
        width: 100%;
        min-width: 0;
        padding-right: 24px;
        padding-left: 24px;
        overflow: hidden;
    }

    .tournament-teaser > *,
    .teaser-copy {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .teaser-copy h2,
    .teaser-copy p {
        overflow-wrap: anywhere;
    }

    .tournament-card-preview {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 220px;
        padding: 24px;
        border-radius: 16px;
        overflow: hidden;
    }

    .tournament-card-preview strong {
        margin: 74px 0 12px;
        font-size: 23px;
    }

    .cta-section {
        min-height: 480px;
        padding: 60px var(--mobile-gutter);
    }

    .cta-section h2 {
        font-size: 64px;
        letter-spacing: .18em;
    }

    .cta-section p {
        font-size: 9px;
        line-height: 1.7;
        letter-spacing: .18em;
    }

    .cta-section .button {
        width: 100%;
        min-height: 54px;
        margin-top: 20px;
    }

    .tournament-hero {
        min-height: 760px;
        align-content: end;
        gap: 42px;
        background-position: 58% center;
    }

    .tournament-hero__content h1 {
        font-size: clamp(42px, 14vw, 60px);
    }

    .tournament-hero__content i {
        margin-right: auto;
        margin-left: auto;
    }

    .tournament-hero__content p {
        margin-right: auto;
        margin-left: auto;
    }

    .tournament-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .tournament-actions button,
    .tournament-actions a {
        min-height: 106px;
        padding: 10px 5px;
        grid-template-rows: 52px auto;
        border-radius: 12px;
        font-size: 8px;
        line-height: 1.3;
    }

    .tournament-action-icon,
    .tournament-action-icon--document,
    .tournament-action-icon--angler {
        width: 64px;
        max-width: 72%;
        max-height: 42px;
        transform: none;
    }

    .tournament-action-label {
        align-self: start;
        transform: none;
    }

    .tournament-shell {
        padding: 18px var(--mobile-gutter) 64px;
    }

    .tournament-meta {
        gap: 8px;
        grid-template-columns: 1fr 1fr;
        margin-top: 0;
    }

    .tournament-meta div {
        padding: 16px 10px;
    }

    .tournament-meta span {
        font-size: 9px;
    }

    .tournament-meta strong {
        font-size: 12px;
        line-height: 1.45;
    }

    .about-tournament {
        margin-top: 18px;
        min-height: 500px;
        padding: 26px 20px;
        border-radius: 14px;
    }

    .about-tournament h2,
    .rating-block h2 {
        font-size: 18px;
    }

    .about-tournament p {
        font-size: 14px;
        line-height: 1.7;
    }

    .rating-block {
        border-radius: 14px;
        --rating-row-height: 64px;
    }

    .rating-block .table-title {
        gap: 18px;
        padding: 20px;
    }

    .rating-filters {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }

    .rating-stage-summary {
        grid-column: 1 / -1;
        padding: 0;
    }

    .rating-filters label {
        min-width: 0;
    }

    .rating-tabs {
        padding: 8px;
    }

    .rating-tabs button {
        min-width: 0;
        flex: 1;
        padding: 0 8px;
        font-size: 9px;
    }

    .rating-block th,
    .rating-block td,
    .region-data-card th,
    .region-data-card td {
        min-width: 120px;
        padding: 12px 14px;
        font-size: 12px;
    }

    .rating-block th:first-child,
    .rating-block td:first-child {
        min-width: 74px;
    }

    .history-section {
        padding-top: 38px;
    }

    .history-section h2 {
        margin-bottom: 22px;
        font-size: 26px;
    }

    .history-grid {
        gap: 12px;
    }

    .history-card {
        min-height: 0;
        padding: 26px 22px;
        border-radius: 14px;
    }

    .history-card h3 {
        font-size: 30px;
    }

    .history-card p {
        font-size: 14px;
    }

    .region-data-page {
        padding: calc(var(--mobile-header-height) + 34px) var(--mobile-gutter) 60px;
    }

    .region-data-shell .page-heading h1 {
        font-size: clamp(42px, 13vw, 58px);
        line-height: .95;
    }

    .region-data-card {
        margin-top: 24px;
        border-radius: 14px;
    }

    .region-data-card .table-title,
    .region-data-controls {
        display: grid;
        width: 100%;
        gap: 12px;
    }

    .region-data-card .table-title {
        padding: 20px;
    }

    .table-filter {
        width: 100%;
    }

    .table-filter input,
    .table-filter select {
        min-height: 44px;
    }

    dialog.tournament-dialog {
        width: 100%;
        max-width: none;
        max-height: calc(100dvh - 16px);
        margin: auto 0 0;
        border-radius: 22px 22px 0 0;
    }

    .tournament-form {
        max-height: calc(100dvh - 16px);
        padding: 24px var(--mobile-gutter) 34px;
    }

    .dialog-top {
        position: sticky;
        z-index: 4;
        top: -24px;
        margin: -24px calc(var(--mobile-gutter) * -1) 24px;
        padding: 14px var(--mobile-gutter);
        background: rgb(7 16 24 / 96%);
        backdrop-filter: blur(12px);
    }

    .tournament-form > h2 {
        font-size: 36px;
        line-height: 1;
    }

    .tournament-delivery {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        padding: 18px;
    }

    .tournament-delivery legend {
        grid-column: 1 / -1;
        width: 100%;
        margin-bottom: 4px;
    }

    .registration-cost {
        padding: 15px;
    }

    .registration-cost p {
        font-size: 13px;
    }

    .registration-submit,
    .result-submit {
        min-height: 56px;
        font-size: 14px;
    }

    .photo-upload-section,
    .result-consents,
    .photo-requirements {
        padding: 18px;
        border-radius: 14px;
    }

    .photo-requirements {
        margin-top: 8px;
    }

    footer {
        gap: 18px;
        padding: 36px var(--mobile-gutter);
    }

    .footer-links {
        align-items: flex-start;
        flex-direction: column;
    }
}
