:root {
    --bg: #030711;
    --bg2: #070d19;
    --card: #0b1424;
    --card2: #101c30;
    --line: #1d2c43;

    --blue: #168fff;
    --blue2: #54b6ff;

    --text: #f6f8fc;
    --muted: #8192aa;

    --green: #28d17c;
    --red: #ff5964;

    --radius: 20px;
}


* {
    box-sizing: border-box;
}


html {
    background: var(--bg);
}


body {
    margin: 0;

    background:
        radial-gradient(
            circle at 50% -10%,
            #0c2b50 0,
            #06111f 24%,
            #030711 53%
        );

    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    min-height: 100vh;

    padding-bottom: 105px;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
select,
textarea {
    font: inherit;
}


.topbar {
    height: 74px;

    display: flex;
    align-items: center;

    padding:
        env(safe-area-inset-top)
        20px
        0;

    border-bottom:
        1px solid rgba(255,255,255,.05);

    background:
        rgba(3,7,17,.88);

    backdrop-filter:
        blur(18px);

    position: sticky;
    top: 0;

    z-index: 20;
}


.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}


.brand-hook {
    font-size: 26px;
}


.brand strong {
    display: block;

    font-weight: 1000;
    font-style: italic;

    letter-spacing: .7px;

    font-size: 20px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #dce3ec 55%,
            #8290a3
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


.brand small {
    display: block;

    color: var(--blue);

    font-size: 8px;
    letter-spacing: 4px;

    font-weight: 800;

    margin-top: 1px;
}


.page {
    width: min(
        100%,
        720px
    );

    margin: 0 auto;

    padding:
        22px 16px 30px;
}


.hero {
    padding:
        27px 4px 24px;
}


.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #a8b6c9;

    border:
        1px solid var(--line);

    background:
        rgba(255,255,255,.035);

    padding:
        7px 10px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .8px;
}


.live-pill i {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 12px var(--green);
}


.eyebrow {
    color: var(--blue);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1.7px;

    margin:
        22px 0 6px;
}


.hero h1,
.page-heading h1 {
    font-size:
        clamp(
            29px,
            8vw,
            46px
        );

    line-height: 1.02;

    margin: 0;

    letter-spacing: -1.5px;
}


.hero-sub,
.page-heading > p:last-child {
    color: var(--muted);

    font-size: 14px;

    margin-top: 10px;
}


.primary-button,
.secondary-button {
    display: flex;

    width: 100%;

    min-height: 56px;

    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 16px;

    font-weight: 950;

    letter-spacing: .6px;

    cursor: pointer;
}


.primary-button {
    margin-top: 24px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #0074e6,
            #179eff
        );

    box-shadow:
        0 13px 35px
        rgba(0,126,255,.22);
}


.secondary-button {
    background: #13233a;

    color: #d7e4f3;

    margin-top: 16px;
}


.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 8px;

    margin-bottom: 26px;
}


.stat {
    background:
        linear-gradient(
            180deg,
            #0d1828,
            #09111f
        );

    border:
        1px solid var(--line);

    border-radius: 16px;

    padding: 15px 10px;
}


.stat small {
    display: block;

    color: var(--muted);

    font-size: 8px;

    letter-spacing: .7px;

    font-weight: 850;

    min-height: 20px;
}


.stat strong {
    display: block;

    font-size: 19px;

    margin-top: 6px;
}


.stat em {
    font-size: 9px;

    color: var(--muted);

    font-style: normal;
}


.section {
    margin-top: 31px;
}


.section-title {
    display: flex;

    justify-content:
        space-between;

    align-items: flex-end;

    margin-bottom: 13px;
}


.section-title span {
    color: var(--blue);

    font-size: 9px;

    letter-spacing: 1.5px;

    font-weight: 900;
}


.section-title h2 {
    margin: 2px 0 0;

    font-size: 20px;
}


.section-title > a {
    color: var(--blue2);

    font-size: 12px;

    font-weight: 750;

    padding-bottom: 2px;
}


.podium-list,
.ranking-table,
.people-list {
    background: var(--card);

    border:
        1px solid var(--line);

    border-radius: var(--radius);

    overflow: hidden;
}


.podium-row,
.ranking-row,
.person-row {
    display: flex;

    align-items: center;

    min-height: 72px;

    border-bottom:
        1px solid var(--line);
}


.podium-row:last-child,
.ranking-row:last-child,
.person-row:last-child {
    border-bottom: 0;
}


.position {
    width: 52px;

    text-align: center;

    font-size: 23px;
}


.angler-data,
.rank-name {
    flex: 1;

    min-width: 0;
}


.angler-data strong,
.rank-name strong {
    display: block;

    font-size: 15px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.angler-data span,
.rank-name span {
    display: block;

    color: var(--muted);

    font-size: 11px;

    margin-top: 4px;
}


.weight,
.rank-weight {
    text-align: right;

    padding-right: 17px;
}


.weight strong,
.rank-weight strong {
    font-size: 18px;
}


.weight small,
.rank-weight small {
    color: var(--muted);

    font-size: 10px;
}


.record-card {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 22px;

    padding: 16px;

    border:
        1px solid rgba(
            22,143,255,.40
        );

    background:
        linear-gradient(
            130deg,
            rgba(18,110,198,.18),
            rgba(10,18,31,.8)
        );

    border-radius: var(--radius);
}


.record-icon {
    display: grid;

    place-items: center;

    width: 51px;
    height: 51px;

    background: #102842;

    border-radius: 15px;

    font-size: 28px;
}


.record-card small {
    display: block;

    color: var(--blue2);

    font-size: 8px;

    letter-spacing: 1.1px;

    font-weight: 900;
}


.record-card strong {
    display: block;

    font-size: 17px;

    margin-top: 4px;
}


.record-card span {
    display: block;

    color: #9cadc3;

    font-size: 12px;

    margin-top: 3px;
}


.catch-feed {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 10px;
}


.catch-card {
    overflow: hidden;

    background: var(--card);

    border:
        1px solid var(--line);

    border-radius: 18px;
}


.catch-card > img {
    display: block;

    width: 100%;

    aspect-ratio: 1 / .92;

    object-fit: cover;

    background: #111;
}


.catch-info {
    padding: 12px;
}


.catch-name {
    display: flex;

    justify-content: space-between;

    gap: 7px;
}


.catch-name strong {
    font-size: 12px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.catch-name time {
    color: var(--muted);

    font-size: 9px;
}


.catch-card h3 {
    font-size: 15px;

    margin: 7px 0 8px;
}


.catch-numbers {
    display: flex;

    flex-direction: column;

    gap: 4px;

    color: #9fb0c5;

    font-size: 10px;
}


.page-heading {
    margin:
        10px 4px
        26px;
}


.page-heading .eyebrow {
    margin-top: 8px;
}


.ranking-row {
    min-height: 78px;
}


.rank-number {
    width: 55px;

    text-align: center;

    font-weight: 850;
}


.rank-weight strong {
    font-size: 20px;

    color: #fff;
}


.form-card {
    display: flex;

    flex-direction: column;

    gap: 16px;
}


.field > span {
    display: flex;

    justify-content:
        space-between;

    margin:
        0 4px 7px;

    color: #aebdce;

    font-size: 11px;

    font-weight: 850;

    letter-spacing: .5px;
}


.field > span i {
    color: #64768c;

    font-weight: 500;

    font-style: normal;
}


.field input,
.field select,
.field textarea,
.inline-form input {
    display: block;

    width: 100%;

    color: #fff;

    background: #0b1525;

    border:
        1px solid #20314a;

    border-radius: 15px;

    min-height: 54px;

    padding:
        0 14px;

    outline: none;
}


.field textarea {
    padding-top: 13px;

    resize: vertical;
}


.field input:focus,
.field select:focus,
.field textarea:focus,
.inline-form input:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px
        rgba(22,143,255,.10);
}


.two-fields {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;
}


.input-unit {
    position: relative;
}


.input-unit input {
    padding-right: 44px;
}


.input-unit b {
    position: absolute;

    right: 14px;
    top: 18px;

    color: #73869d;

    font-size: 11px;
}


.photo-field input {
    display: none;
}


.photo-button {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 19px;

    border:
        1px dashed #2d72aa;

    background:
        rgba(15,80,135,.12);

    border-radius: 17px;

    cursor: pointer;
}


.photo-button > span {
    font-size: 29px;
}


.photo-button strong {
    display: block;

    font-size: 12px;
}


.photo-button small {
    display: block;

    color: #8195aa;

    font-size: 10px;

    margin-top: 3px;
}


.location-button {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 49px;

    color: #9fb1c6;

    background: #0a1422;

    border:
        1px solid #21334a;

    border-radius: 14px;

    cursor: pointer;
}


.location-ok {
    color: var(--green);

    border-color:
        rgba(40,209,124,.45);
}


.submit {
    margin-top: 3px;
}


.inline-form {
    display: flex;

    gap: 8px;

    margin-bottom: 17px;
}


.inline-form button {
    width: 56px;

    border: 0;

    border-radius: 15px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #0074e6,
            #179eff
        );

    font-size: 25px;

    font-weight: 700;
}


.person-row {
    padding:
        10px 15px;

    gap: 12px;
}


.person-avatar {
    display: grid;

    place-items: center;

    width: 42px;
    height: 42px;

    border-radius: 14px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #065aab,
            #178fff
        );

    font-weight: 900;
}


.person-row strong {
    flex: 1;
}


.empty {
    text-align: center;

    padding: 38px 20px;

    background: var(--card);

    border:
        1px solid var(--line);

    border-radius: var(--radius);
}


.empty.compact {
    padding: 28px 20px;
}


.empty > span {
    display: block;

    font-size: 31px;

    margin-bottom: 9px;
}


.empty strong {
    display: block;

    font-size: 15px;
}


.empty p {
    margin:
        5px 0 0;

    color: var(--muted);

    font-size: 12px;
}


.flash {
    padding:
        12px 14px;

    border-radius: 13px;

    margin:
        0 0 16px;

    font-size: 12px;

    font-weight: 700;
}


.flash.success {
    color: #9ff1c5;

    background:
        rgba(40,209,124,.11);

    border:
        1px solid
        rgba(40,209,124,.30);
}


.flash.error {
    color: #ffc1c5;

    background:
        rgba(255,89,100,.10);

    border:
        1px solid
        rgba(255,89,100,.30);
}


.bottom-nav {
    position: fixed;

    z-index: 50;

    left: 50%;
    bottom: 0;

    transform:
        translateX(-50%);

    width: min(
        100%,
        720px
    );

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    align-items: end;

    padding:
        9px 8px
        calc(
            8px +
            env(safe-area-inset-bottom)
        );

    background:
        rgba(5,10,19,.95);

    border-top:
        1px solid #172338;

    backdrop-filter:
        blur(20px);
}


.bottom-nav a {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 2px;

    min-height: 50px;

    color: #73859c;
}


.bottom-nav a > span {
    font-size: 20px;
}


.bottom-nav small {
    font-size: 9px;

    font-weight: 700;
}


.bottom-nav a.active {
    color: var(--blue2);
}


.bottom-nav .capture-nav {
    width: 58px;
    height: 58px;

    justify-self: center;

    margin-top: -23px;

    color: #fff;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #0072dd,
            #19a3ff
        );

    box-shadow:
        0 8px 28px
        rgba(0,132,255,.34);
}


.bottom-nav .capture-nav span {
    font-size: 30px;

    line-height: 20px;
}


.bottom-nav .capture-nav small {
    display: none;
}


@media (min-width: 650px) {

    .page {
        padding-left: 24px;
        padding-right: 24px;
    }

    .catch-feed {
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

}


.login-screen {
    min-height: calc(100vh - 140px);

    display: flex;
    flex-direction: column;
    justify-content: center;

    text-align: center;

    padding: 30px 8px;
}


.login-symbol {
    font-size: 58px;

    margin-bottom: 4px;

    filter:
        drop-shadow(
            0 12px 30px
            rgba(22,143,255,.22)
        );
}


.login-screen .eyebrow {
    margin-top: 15px;
}


.login-screen h1 {
    margin: 2px 0 0;

    font-size:
        clamp(
            31px,
            9vw,
            48px
        );

    line-height: 1;
}


.login-copy {
    color: var(--muted);

    margin:
        13px auto
        24px;

    max-width: 300px;

    font-size: 14px;
}


.login-form {
    width: 100%;
}


.login-form input {
    width: 100%;

    min-height: 56px;

    padding: 0 16px;

    color: #fff;

    background: #0b1525;

    border:
        1px solid #20314a;

    border-radius: 16px;

    outline: none;

    text-align: center;

    font-size: 16px;
}


.login-form input:focus {
    border-color: var(--blue);
}


.admin-link {
    display: inline-block;

    margin-top: 24px;

    color: #71849c;

    font-size: 11px;
}


.admin-catch {
    overflow: hidden;

    margin-bottom: 16px;

    background: var(--card);

    border:
        1px solid var(--line);

    border-radius: var(--radius);
}


.admin-catch > img {
    width: 100%;

    max-height: 420px;

    display: block;

    object-fit: cover;

    background: #111;
}


.admin-catch-body {
    padding: 16px;
}


.admin-catch-body > small {
    color: var(--muted);

    font-size: 10px;
}


.admin-catch-body h3 {
    margin:
        5px 0 0;

    font-size: 19px;
}


.admin-catch-body > p {
    margin:
        4px 0 10px;

    color: #a8b7c9;
}


.gps-ok {
    color: var(--green) !important;

    font-size: 11px;
}


.admin-actions {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 9px;

    margin-top: 16px;
}


.admin-actions form {
    margin: 0;
}


.admin-actions button {
    width: 100%;

    min-height: 48px;

    border-radius: 13px;

    font-weight: 900;

    font-size: 11px;

    cursor: pointer;
}


.approve-button {
    color: #8df0bd;

    background:
        rgba(40,209,124,.10);

    border:
        1px solid
        rgba(40,209,124,.32);
}


.reject-button {
    color: #ffb0b5;

    background:
        rgba(255,89,100,.09);

    border:
        1px solid
        rgba(255,89,100,.28);
}


.logout-link {
    display: block;

    text-align: center;

    margin:
        34px 0 10px;

    color: #71849c;

    font-size: 12px;
}


.member-admin-link {
    display: block;

    margin-top: 18px;

    color: var(--blue2);

    font-size: 12px;

    font-weight: 800;
}


.admin-member-select {
    width: 100%;

    min-height: 56px;

    padding: 0 15px;

    margin-bottom: 12px;

    color: #fff;

    background: #0b1525;

    border:
        1px solid #20314a;

    border-radius: 16px;

    outline: none;

    font-size: 15px;
}


.admin-members-list {
    overflow: hidden;

    background: var(--card);

    border:
        1px solid var(--line);

    border-radius: var(--radius);
}


.admin-member-row {
    display: flex;

    align-items: center;

    gap: 11px;

    padding: 14px;

    border-bottom:
        1px solid var(--line);
}


.admin-member-row:last-child {
    border-bottom: 0;
}


.admin-member-info {
    flex: 1;

    min-width: 0;
}


.admin-member-info strong {
    display: block;

    font-size: 14px;
}


.admin-member-info span {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;
}


.admin-badge {
    color: #ffc84a !important;

    font-size: 10px;

    font-weight: 800;
}


.promote-button,
.small-admin-button,
.small-remove-button {
    border-radius: 10px;

    min-height: 38px;

    padding:
        0 11px;

    font-size: 9px;

    font-weight: 900;

    cursor: pointer;
}


.promote-button,
.small-admin-button {
    color: #ffd76c;

    background:
        rgba(255,196,55,.09);

    border:
        1px solid
        rgba(255,196,55,.28);
}


.small-remove-button {
    color: #ffafb5;

    background:
        rgba(255,89,100,.08);

    border:
        1px solid
        rgba(255,89,100,.24);
}


.admin-member-actions {
    display: flex;

    flex-direction: column;

    gap: 6px;
}


.admin-member-actions form {
    margin: 0;
}


.participant-name-block {
    flex: 1;
}


.participant-name-block strong {
    display: block;
}


.participant-name-block small {
    display: block;

    margin-top: 4px;
}
