:root {
    color-scheme: light;
    --ink: #122d2f;
    --muted: #607274;
    --deep: #082f35;
    --deep-soft: #10464d;
    --teal: #087e7d;
    --teal-bright: #16a3a0;
    --foam: #e9f5f1;
    --sand: #f6f1e7;
    --coral: #ee7f5c;
    --line: #d8e3df;
    --white: #ffffff;
    --shadow: 0 22px 55px rgba(8, 47, 53, 0.11);
    --card-depth-shadow: 0 7px 18px rgba(8, 47, 53, 0.09);
    --card-depth-hover-shadow: 0 10px 24px rgba(8, 47, 53, 0.13);
    --card-edge-highlight: rgba(255, 255, 255, 0.72);
    font-family: Inter, Aptos, "Segoe UI", system-ui, sans-serif;
    background: var(--sand);
    color: var(--ink);
}

.quick-drop-toolbar,
.quick-drop-setup .button-row,
.drop-sync-state {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.quick-drop-toolbar {
    padding: 0.25rem 0 0.75rem;
}

.quick-drop-consent,
.quick-drop-setup,
.drop-sync-state {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: color-mix(in srgb, var(--foam) 72%, var(--white));
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.quick-drop-consent small {
    display: block;
    margin: 0.35rem 0 0 1.8rem;
    color: var(--muted);
}

.drop-sync-state strong {
    margin-right: auto;
}

@media (max-width: 640px) {
    .quick-drop-toolbar .button {
        flex: 1 1 auto;
    }

    .drop-sync-state .button {
        width: 100%;
    }
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 12%, rgba(22, 163, 160, 0.12), transparent 27rem),
        linear-gradient(180deg, #fbfaf6 0%, var(--sand) 100%);
}

body.photo-viewer-open {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--deep);
}

h1:focus {
    outline: none;
}

.site-shell {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: 0 32px;
}

.web-ad-slot {
    width: min(100% - 2rem, 1200px);
    min-height: 72px;
    margin: 0.75rem auto 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--muted);
    background: var(--panel);
    font-size: 0.78rem;
}

.topbar {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(8, 47, 53, 0.12);
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.brand-mark-link {
    overflow: hidden;
    border-radius: 50%;
}

.brand-wordmark {
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
}

.brand-mark-link:focus-visible,
.brand-wordmark:focus-visible,
.account-login:focus-visible,
.account-trigger:focus-visible,
.account-menu a:focus-visible,
.account-menu button:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 3px;
}

.brand strong,
.brand small {
    display: block;
}

.play-discovery-link {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 12px 5px 5px;
    background: var(--white);
    color: var(--deep-soft);
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.15;
}

.play-discovery-link::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: -1px;
    border: inherit;
    border-radius: inherit;
    background: inherit;
    pointer-events: none;
}

.play-discovery-icon,
.play-discovery-link span {
    position: relative;
    z-index: 2;
}

.play-discovery-icon {
    width: 42px;
    height: 24px;
    display: block;
    border-radius: 999px;
    object-fit: cover;
}

.play-discovery-android-peek {
    position: absolute;
    z-index: 0;
    top: -13px;
    right: -52px;
    width: 60px;
    height: 60px;
    object-fit: contain;
    pointer-events: none;
    transform: scaleX(-1);
    transform-origin: center;
    filter: drop-shadow(0 3px 3px rgba(8, 47, 53, 0.22));
}

.play-discovery-link:hover {
    border-color: var(--teal);
    background: var(--foam);
}

.play-discovery-link:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 3px;
}

.account-control {
    position: relative;
    display: flex;
    justify-content: flex-end;
    margin-bottom: -10px;
    padding-bottom: 10px;
}

.topbar-account-cluster {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-bell {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--deep-soft);
    font-size: 1.35rem;
    text-decoration: none;
}

.notification-bell:hover {
    border-color: var(--teal);
    background: var(--foam);
}

.notification-bell:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 3px;
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -7px;
    min-width: 21px;
    border: 2px solid var(--page);
    border-radius: 999px;
    background: var(--coral);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    line-height: 1;
    padding: 4px 5px;
    text-align: center;
}

.account-login {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--deep-soft);
    font-weight: 800;
    padding: 8px 15px;
    text-decoration: none;
}

.account-trigger {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    overflow: hidden;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: var(--deep);
    color: var(--sand);
    box-shadow: 0 0 0 1px var(--line);
    cursor: pointer;
    font-weight: 900;
}

.account-trigger img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.account-initials {
    letter-spacing: 0.02em;
}

.field-label-with-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.privacy-help {
    position: relative;
    margin-left: auto;
}

.privacy-help summary {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid var(--teal);
    border-radius: 50%;
    background: var(--white);
    color: var(--teal);
    cursor: help;
    font-size: 0.9rem;
    font-weight: 900;
    list-style: none;
}

.privacy-help summary::-webkit-details-marker {
    display: none;
}

.privacy-help summary:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 2px;
}

.privacy-help-tooltip {
    position: absolute;
    z-index: 80;
    top: calc(100% + 8px);
    right: 0;
    width: min(360px, calc(100vw - 64px));
    display: none;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
    padding: 14px;
}

.privacy-help:hover .privacy-help-tooltip,
.privacy-help:focus-within .privacy-help-tooltip,
.privacy-help[open] .privacy-help-tooltip {
    display: grid;
}

.privacy-help-tooltip p {
    margin: 0;
    color: var(--ink);
    font-size: 0.78rem;
    line-height: 1.45;
}

.account-menu {
    position: absolute;
    z-index: 50;
    top: 100%;
    right: 0;
    width: min(260px, calc(100vw - 28px));
    display: grid;
    gap: 3px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 9px;
}

.account-menu-name {
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 10px 12px 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu a,
.account-menu button {
    width: 100%;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-weight: 700;
    padding: 11px 12px;
    text-align: left;
    text-decoration: none;
}

.account-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.menu-count-badge {
    min-width: 24px;
    border-radius: 999px;
    background: var(--teal);
    color: var(--white);
    font-size: 0.72rem;
    line-height: 1;
    padding: 5px 7px;
    text-align: center;
}

.account-menu a:hover,
.account-menu button:hover {
    background: var(--foam);
}

.brand strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
}

.brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.73rem;
}

.version-badge,
.count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--foam);
    color: var(--deep-soft);
    font-size: 0.77rem;
    font-weight: 700;
    padding: 7px 11px;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
    gap: 48px;
    align-items: center;
    padding: 72px 48px;
    margin: 32px 0;
    overflow: hidden;
    border-radius: 32px;
    background: var(--deep);
    color: #d9ebe7;
    box-shadow: var(--shadow);
}

.hero::before {
    content: "";
    position: absolute;
    inset: auto -10% -70% 35%;
    height: 145%;
    border: 1px solid rgba(199, 255, 239, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(199, 255, 239, 0.035), 0 0 0 110px rgba(199, 255, 239, 0.025);
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.eyebrow {
    margin-bottom: 10px;
    color: var(--teal-bright);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 730px;
    margin-bottom: 20px;
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.hero-intro {
    max-width: 650px;
    color: #bcd3cf;
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 28px;
}

.hero-pills span {
    border: 1px solid rgba(203, 255, 239, 0.24);
    border-radius: 999px;
    padding: 8px 12px;
    color: #d6f5ed;
    font-size: 0.78rem;
}

.water-card {
    position: relative;
    z-index: 1;
    min-height: 240px;
    display: grid;
    place-items: center;
}

.water-rings {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(199, 255, 239, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(199, 255, 239, 0.07), 0 0 0 70px rgba(199, 255, 239, 0.035);
}

.float-marker {
    position: relative;
    width: 92px;
    height: 116px;
    display: grid;
    place-items: center;
    border-radius: 50% 50% 45% 45%;
    background: var(--coral);
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.5rem;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.18);
}

.water-card p {
    position: absolute;
    bottom: 20px;
    margin: 0;
    color: #bcd3cf;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(340px, 0.8fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 48px;
}

.right-column {
    display: grid;
    gap: 24px;
}

.panel {
    border: 1px solid rgba(8, 47, 53, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 40px rgba(8, 47, 53, 0.07);
    padding: 30px;
    backdrop-filter: blur(12px);
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.panel-heading.compact {
    align-items: center;
    margin-bottom: 18px;
}

.panel-heading h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.08;
}

.account-chip {
    max-width: 220px;
    text-align: right;
}

.account-chip span {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.78rem;
    text-overflow: ellipsis;
}

.account-chip button,
.text-button,
.report-actions button {
    border: 0;
    background: transparent;
    color: var(--teal);
    cursor: pointer;
    font-weight: 700;
    padding: 5px 0;
}

.text-button {
    width: 100%;
    margin-top: 17px;
}

.resend-button {
    margin-top: 8px;
}

.turnstile-field {
    display: grid;
    gap: 7px;
    min-height: 76px;
    margin: 4px 0 18px;
}

.turnstile-field small {
    color: var(--muted);
    font-size: 0.76rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 14px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    height: 1px;
    flex: 1;
    background: var(--line);
    content: "";
}

.google-identity-control {
    display: grid;
    justify-items: center;
    gap: 7px;
    min-height: 44px;
    max-width: 420px;
    margin: 0 auto;
}

.google-identity-control > div {
    max-width: 100%;
    min-height: 40px;
}

.google-identity-control small {
    color: var(--muted);
    font-size: 0.76rem;
}

.connected-account-password {
    max-width: 520px;
}

.field {
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
}

.password-input {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

.password-input > input {
    box-sizing: border-box;
    padding-right: 74px;
}

.password-visibility-toggle {
    position: absolute;
    right: 4px;
    min-width: 58px;
    min-height: 40px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--teal);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
}

.password-visibility-toggle:hover,
.password-visibility-toggle:focus-visible {
    background: var(--foam);
}

.password-visibility-toggle:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 1px;
}

.field label,
.location-heading strong {
    color: var(--deep);
    font-size: 0.85rem;
    font-weight: 700;
}

.field small,
.location-heading small,
.drop-step-guidance,
.security-note,
.section-intro {
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

.drop-step-guidance {
    display: block;
    margin: -10px 0 18px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fcfdfc;
    color: var(--ink);
    outline: none;
    padding: 12px 13px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

textarea {
    min-height: 112px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--teal-bright);
    box-shadow: 0 0 0 4px rgba(22, 163, 160, 0.12);
}

.valid.modified:not([type=checkbox]) {
    border-color: var(--teal);
}

.invalid {
    border-color: #c94d4d;
}

.validation-message,
.validation-errors {
    color: #a53636;
    font-size: 0.8rem;
}

.validation-errors {
    margin: 0 0 18px;
    padding-left: 20px;
}

.form-row {
    display: grid;
    gap: 16px;
}

.field-group-label {
    margin: 16px 0 8px;
    color: var(--deep);
    font-weight: 700;
}

.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.location-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 24px 0 12px;
}

.location-heading small {
    display: block;
    margin-top: 2px;
}

.privacy-field {
    margin-top: 4px;
    border: 1px solid #cfe7df;
    border-radius: 14px;
    background: var(--foam);
    padding: 16px;
}

.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-line input {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    margin: 0;
}

.attribution-field {
    border-left: 4px solid var(--teal);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.button {
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    padding: 12px 17px;
    transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.button:disabled {
    cursor: wait;
    opacity: 0.62;
}

.button-primary {
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(8, 126, 125, 0.2);
}

.button-secondary {
    border: 1px solid #bddbd2;
    background: var(--foam);
    color: var(--deep-soft);
}

.button-quiet {
    background: #edf0ed;
    color: var(--muted);
}

.button-full {
    width: 100%;
}

.security-note {
    margin: 22px 0 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.notice {
    margin: 0 0 20px;
    border-radius: 13px;
    padding: 13px 16px;
    font-size: 0.87rem;
    font-weight: 600;
}

.notice-success {
    border: 1px solid #b7ddcf;
    background: #e8f7f1;
    color: #165f4f;
}

.notice-error {
    border: 1px solid #edc2ba;
    background: #fff0ed;
    color: #943f32;
}

.notice-inline {
    margin: 4px 0 2px;
}

.report-list {
    display: grid;
    gap: 12px;
}

.report-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fdfefc;
    padding: 16px;
}

.report-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 0.72rem;
}

.activity-tag,
.visibility-tag {
    display: inline-flex;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 8px;
}

.activity-tag {
    background: var(--foam);
    color: var(--teal);
}

.activity-catch {
    background: #fff0e8;
    color: #a94c2f;
}

.activity-lostfish {
    background: #f1eff5;
    color: #665378;
}

.visibility-tag {
    background: #f2f3ef;
    color: var(--muted);
}

.report-card h3 {
    margin: 12px 0 5px;
    color: var(--deep);
    font-size: 1rem;
}

.report-card p {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.78rem;
}

.report-attribution {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 5px 0 6px;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.report-attribution img,
.report-attribution > span:first-child {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--deep);
    color: white;
    object-fit: cover;
    font-size: 0.65rem;
}

.coordinates {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.location-link {
    width: fit-content;
    border: 0;
    background: transparent;
    color: var(--teal);
    cursor: pointer;
    font: inherit;
    padding: 2px 0;
    text-align: left;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.location-link:hover,
.location-link:focus-visible {
    color: var(--coral);
}

.address-link {
    display: block;
    margin: 4px 0;
}

.address-search-field {
    position: relative;
}

.address-suggestions {
    position: absolute;
    z-index: 45;
    top: 78px;
    left: 0;
    right: 0;
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.address-suggestions button {
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    padding: 12px 14px;
    text-align: left;
}

.address-suggestions button:last-child {
    border-bottom: 0;
}

.address-suggestions button:hover,
.address-suggestions button:focus-visible {
    background: var(--foam);
}

.report-detail-row .field > label {
    min-height: 1.3rem;
}

.report-detail-row .field > input {
    box-sizing: border-box;
    height: 48px;
}

.page-return {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.policy-page {
    width: min(900px, 100%);
    margin: 36px auto 52px;
}

.policy-page > .section-intro {
    max-width: 720px;
}

.policy-card {
    margin-top: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: clamp(20px, 4vw, 34px);
}

.policy-card h2 {
    margin-bottom: 10px;
}

.policy-card p:last-child,
.policy-card li:last-child {
    margin-bottom: 0;
}

.policy-card li + li {
    margin-top: 8px;
}

.policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.preferences-card {
    display: grid;
    gap: 24px;
}

.notification-center {
    max-width: 820px;
    margin-inline: auto;
}

.notification-center-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.notification-list {
    display: grid;
    gap: 9px;
}

.notification-item {
    width: 100%;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    padding: 14px;
    text-align: left;
}

.notification-item:hover,
.notification-item:focus-visible {
    border-color: var(--teal);
    background: var(--foam);
}

.notification-item:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 2px;
}

.notification-unread {
    border-left: 4px solid var(--teal);
}

.notification-category {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--deep);
    color: var(--sand);
    font-size: 1.15rem;
    font-weight: 900;
}

.notification-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.notification-copy span,
.notification-copy small {
    color: var(--muted);
}

.notification-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--coral);
}

.notification-empty {
    border: 1px dashed var(--line);
    border-radius: 16px;
    background: var(--foam);
    padding: 30px;
    text-align: center;
}

.notification-empty p {
    margin: 6px 0 0;
}

.admin-health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.admin-health-grid article {
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--foam);
    padding: 13px;
}

.admin-health-grid small,
.admin-health-grid span {
    color: var(--muted);
}

.admin-health-grid strong {
    color: var(--deep-soft);
}

.preferences-version {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    color: var(--muted);
    font-size: 0.8rem;
    text-align: center;
}

.report-actions {
    display: flex;
    gap: 16px;
    margin-top: 11px;
    border-top: 1px solid #edf0ed;
    padding-top: 8px;
}

.report-actions .danger-link {
    color: #b3463a;
}

.report-attribution-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 10px;
}

.relationship-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid #bddbd2;
    border-radius: 999px;
    background: var(--foam);
    color: var(--deep-soft);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    padding: 7px 10px;
}

.relationship-badge-compact {
    padding: 5px 8px;
    font-size: 0.68rem;
}

.relationship-incomingrequest {
    border-color: #e8b7a8;
    background: #fff0ed;
    color: #943f32;
}

.relationship-friends {
    border-color: #8ecfbd;
    background: #e8f7f1;
    color: #165f4f;
}

.relationship-blockedbyyou {
    border-color: #d1d5d2;
    background: #edf0ed;
    color: var(--muted);
}

.report-share {
    margin-top: 11px;
    border-top: 1px solid #edf0ed;
    padding-top: 9px;
}

.report-share summary {
    width: fit-content;
    color: var(--teal);
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 800;
}

.report-share-privacy {
    margin-top: 10px;
}

.share-exact-confirmation {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: flex-start;
    gap: 9px;
    margin: 10px 0;
    padding: 10px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
}

.share-exact-confirmation input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.preferences-build-number {
    border: 0;
    padding: 4px 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.fishnibbles-easter-egg {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    overflow: hidden;
}

.fishnibbles-easter-animation {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    max-height: 100vh;
}

.fishnibbles-easter-animation svg {
    display: block;
    width: 100% !important;
    height: auto !important;
}

.fishnibbles-easter-close {
    position: absolute;
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--panel);
    color: var(--deep);
    font-size: 1.5rem;
    pointer-events: auto;
}

.share-exact-confirmation span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.profile-tackle-inventory {
    margin-bottom: 18px;
}

.profile-inventory-editor + .profile-inventory-editor {
    margin-top: 12px;
}

.profile-inventory-add .button-row {
    align-items: flex-end;
}

.profile-inventory-add input {
    min-width: 0;
    flex: 1 1 240px;
}

.profile-inventory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-inventory-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 8px 5px 12px;
    background: var(--panel-soft);
}

.profile-inventory-chip button {
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}

.profile-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.profile-section-heading h2,
.profile-section-heading p {
    margin-top: 0;
}

.profile-tackle-summary {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.profile-tackle-summary-group h3 {
    margin: 0 0 .45rem;
    font-size: .92rem;
}

.profile-inventory-chip-readonly {
    padding-right: .72rem;
}

@media (max-width: 640px) {
    .profile-section-heading {
        align-items: stretch;
        flex-direction: column;
    }
}
.report-share-actions,
.friendship-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.report-share-actions button {
    border: 1px solid #bddbd2;
    border-radius: 999px;
    background: var(--foam);
    color: var(--deep-soft);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 8px 12px;
}

.report-share-actions button:disabled {
    cursor: wait;
    opacity: 0.62;
}

.report-share > small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.45;
}

.shared-nibble-panel {
    scroll-margin-top: 24px;
    margin-bottom: 28px;
}

.shared-nibble-panel:focus {
    outline: 3px solid rgba(22, 163, 160, 0.28);
    outline-offset: 4px;
}

.shared-nibble-card {
    max-width: 760px;
    margin: 0 auto;
}

.shared-nibble-photo {
    display: block;
    width: min(100%, 560px);
    max-height: 420px;
    margin: 14px 0;
    border-radius: 13px;
    object-fit: cover;
}

.public-panel {
    background: linear-gradient(145deg, rgba(233, 245, 241, 0.92), rgba(255, 255, 255, 0.92));
}

.recent-nibbles-heading {
    justify-content: center;
    margin-bottom: 12px;
    text-align: center;
}

.recent-nibbles-separator {
    width: 90%;
    height: 4px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--teal-bright) 12%, var(--teal-bright) 88%, transparent);
    box-shadow: 0 5px 14px rgba(22, 163, 160, 0.24);
}

.recent-nibbles-tools {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.recent-nibbles-tools small {
    width: 100%;
    color: var(--muted);
}

.empty-state {
    border: 1px dashed #bfd1cb;
    border-radius: 14px;
    padding: 28px 18px;
    text-align: center;
}

.empty-state.small {
    padding: 20px 14px;
}

.empty-state strong {
    color: var(--deep);
}

.empty-state p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.loading-panel,
.startup-loader {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    color: var(--muted);
}

.loading-panel::before,
.startup-loader::before {
    content: "";
    width: min(100%, 520px);
    height: 94px;
    border-radius: 14px;
    background:
        linear-gradient(rgba(8, 126, 125, 0.14), rgba(8, 126, 125, 0.14)) 0 0 / 38% 12px no-repeat,
        linear-gradient(rgba(8, 126, 125, 0.14), rgba(8, 126, 125, 0.14)) 0 28px / 78% 21px no-repeat,
        linear-gradient(rgba(8, 126, 125, 0.10), rgba(8, 126, 125, 0.10)) 0 65px / 100% 13px no-repeat,
        linear-gradient(rgba(8, 126, 125, 0.10), rgba(8, 126, 125, 0.10)) 0 86px / 84% 8px no-repeat;
}

.loading-panel > .spinner,
.startup-loader > .spinner {
    display: none;
}

.startup-loader {
    min-height: 100vh;
    padding: 24px;
}

.spinner {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(8, 126, 125, 0.16);
    border-top-color: var(--teal);
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.site-footer {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(8, 47, 53, 0.12);
    color: var(--muted);
    font-size: 0.76rem;
}

.play-discovery-footer {
    flex: 0 1 auto;
}

#blazor-error-ui {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 1000;
    display: none;
    max-width: 620px;
    margin: 0 auto;
    border-radius: 12px;
    background: #8e372e;
    color: white;
    box-shadow: var(--shadow);
    padding: 14px 18px;
}

#blazor-error-ui a,
#blazor-error-ui button {
    margin-left: 12px;
    border: 0;
    background: transparent;
    color: white;
    cursor: pointer;
    font-weight: 800;
}

.map-experience {
    margin-bottom: 24px;
    overflow: hidden;
}

.discover-experience {
    margin: 24px 0;
    overflow: hidden;
}

.discover-heading {
    align-items: flex-end;
}

.discover-heading h1 {
    margin-bottom: 8px;
}

.discover-heading .map-control select,
.discover-control select {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--white);
    color: var(--ink);
    padding: 0 12px;
}

.discover-heading .map-control small,
.discover-tool small {
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.4;
}

.discover-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    height: max(58vh, 520px);
    min-height: max(58vh, 520px);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
}

.discover-map-wrap {
    min-height: 100%;
}

.discover-tools {
    min-width: 0;
    overflow-y: auto;
    border-left: 1px solid var(--line);
    background: var(--foam);
    padding: 18px;
}

.discover-tool {
    display: grid;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.discover-tool h2 {
    margin-bottom: 0;
    font-size: 1.3rem;
}

.discover-control {
    max-width: none;
}

.discover-tool-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.discover-tools .map-access-message {
    margin: 0;
}

.discover-tools .public-land-warning {
    display: block;
}

.discover-condition-summary {
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    padding: 12px;
}

.discover-condition-summary > strong {
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.05rem;
}

.discover-details {
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--white);
    padding: 9px 11px;
}

.discover-details > summary {
    color: var(--ink);
    cursor: pointer;
    font-weight: 800;
}

.discover-forecast-list {
    display: grid;
    gap: 8px;
    max-height: 230px;
    margin-top: 10px;
    overflow-y: auto;
}

.discover-forecast-list > span {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.discover-control input[type="range"] {
    width: 100%;
    accent-color: var(--teal);
}

.legend-river {
    display: inline-grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border: 2px solid #082f35;
    border-radius: 50%;
    background: #55d6c2;
    color: #082f35;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 900;
}

.map-heading {
    align-items: flex-end;
}

.map-actions {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.map-control {
    display: grid;
    gap: 5px;
    min-width: 170px;
    max-width: 245px;
}

.map-control > label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.map-terrain-disclosure {
    flex: 0 0 100%;
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.3;
    text-align: left;
}

.public-land-warning {
    flex: 0 0 100%;
    border-left: 3px solid #9a5a08;
    color: var(--muted);
    padding-left: 9px;
    font-size: 0.68rem;
    line-height: 1.35;
    text-align: left;
}

.map-access-actions {
    flex: 0 0 100%;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

.map-access-message {
    flex: 1 1 260px;
    align-self: center;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.35;
}

.map-access-message.error {
    color: #8e372e;
    font-weight: 800;
}

.map-actions select {
    min-width: 170px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--white);
    color: var(--ink);
    padding: 0 12px;
}

.map-overlay-toggle {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--white);
    color: var(--ink);
    padding: 0 12px;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
}

.map-overlay-toggle input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--teal);
}

.map-layout {
    --map-panel-height: 510px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
    height: calc(var(--map-panel-height) + 2px);
    min-height: calc(var(--map-panel-height) + 2px);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
}

.map-canvas-wrap {
    position: relative;
    min-width: 0;
    min-height: 0;
}

.map-canvas {
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #dcebea;
}

.map-status {
    position: absolute;
    z-index: 5;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 100px);
    border-radius: 999px;
    background: rgba(8, 47, 53, 0.92);
    color: white;
    padding: 9px 16px;
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
}

.map-status-error {
    background: rgba(142, 55, 46, 0.95);
}

.map-legend {
    position: absolute;
    z-index: 4;
    right: 10px;
    bottom: 28px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: calc(100% - 20px);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--deep);
    padding: 8px 10px;
    box-shadow: 0 7px 20px rgba(8, 47, 53, 0.16);
    font-size: 0.7rem;
    font-weight: 800;
}

.map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.legend-point,
.legend-cluster {
    width: 14px;
    height: 14px;
    display: inline-grid;
    place-items: center;
    border: 2px solid var(--deep);
    border-radius: 50%;
    font-size: 0.46rem;
    font-style: normal;
}

.legend-point.approximate {
    background: #e9c46a;
}

.legend-point.exact {
    background: #2a9d8f;
}

.legend-cluster {
    width: 20px;
    height: 20px;
    background: #f4a261;
}

.legend-access {
    width: 16px;
    height: 16px;
    display: inline-grid;
    place-items: center;
    border: 2px solid #43256b;
    border-radius: 5px 5px 5px 0;
    background: #8a5db7;
    transform: rotate(-45deg);
}

.legend-land {
    width: 17px;
    height: 17px;
    display: inline-grid;
    place-items: center;
    border: 2px solid #146b60;
    background: rgba(42, 157, 143, 0.18);
    color: var(--deep);
    font-size: 0.66rem;
    font-style: normal;
    line-height: 1;
}

.legend-land.open {
    border-radius: 50%;
}

.legend-land.restricted {
    border-color: #9a5a08;
    border-style: dashed;
    background: rgba(233, 162, 59, 0.16);
}

.legend-land.closed {
    border: 3px double #8f2727;
    background: rgba(207, 98, 93, 0.1);
}

.legend-land.unknown {
    border-color: #4f4b61;
    border-style: dotted;
    background: rgba(129, 125, 147, 0.08);
}

.map-results {
    min-height: 0;
    max-height: var(--map-panel-height);
    border-left: 1px solid var(--line);
    background: #f8fbfa;
    padding: 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.map-result-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.map-result-heading h3,
.map-result-card h4 {
    margin: 0;
    color: var(--deep);
}

.map-result-list {
    display: grid;
    gap: 10px;
}

.map-result-card,
.map-list-button {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    padding: 14px;
    text-align: left;
}

.map-result-card:focus,
.map-list-button:focus-visible,
.draft-map-marker:focus-visible,
.fishnibbles-google-marker:focus-visible,
.fishnibbles-google-access-marker:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 2px;
}

.map-result-card p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.public-land-tag.oa {
    background: #d9f0eb;
    color: #146b60;
}

.public-land-tag.ra {
    background: #fff0d4;
    color: #7d4907;
}

.public-land-tag.xa {
    background: #f8ddda;
    color: #8f2727;
}

.public-land-tag.uk {
    background: #e9e7ef;
    color: #4f4b61;
}

.map-result-card .public-land-detail-warning {
    margin-top: 12px;
    border-left: 3px solid #9a5a08;
    padding-left: 9px;
    color: var(--ink);
}

.map-list-alternative {
    margin-top: 14px;
}

.map-list-alternative summary {
    cursor: pointer;
    color: var(--deep);
    font-weight: 800;
    padding: 10px 2px;
}

.map-list-button {
    display: grid;
    gap: 4px;
    cursor: pointer;
}

.map-list-button:hover {
    border-color: var(--teal);
}

.map-list-button span {
    color: var(--muted);
    font-size: 0.78rem;
}

.draft-map-marker {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 3px solid white;
    border-radius: 50% 50% 50% 0;
    background: var(--coral);
    color: white;
    box-shadow: 0 5px 16px rgba(8, 47, 53, 0.3);
    cursor: move;
    font-size: 1.5rem;
    font-weight: 900;
    transform: rotate(-45deg);
}

.draft-map-marker::first-letter {
    transform: rotate(45deg);
}

.fishnibbles-google-marker {
    position: absolute;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 3px solid var(--deep-teal);
    border-radius: 50%;
    padding: 0;
    box-shadow: 0 2px 6px rgb(0 0 0 / 35%);
    color: #fff;
    cursor: pointer;
    font: 900 0.78rem/1 var(--sans);
}

.fishnibbles-google-marker.exact {
    background: var(--teal);
}

.fishnibbles-google-marker.approximate {
    background: #e9c46a;
    color: var(--deep-teal);
}

.fishnibbles-google-access-marker {
    position: absolute;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -100%) rotate(-45deg);
    transform-origin: 50% 100%;
    border: 3px solid white;
    border-radius: 50% 50% 50% 0;
    background: #7b4aa3;
    color: white;
    box-shadow: 0 3px 9px rgb(0 0 0 / 40%);
    cursor: pointer;
    font: 900 0.74rem/1 var(--sans);
}

.fishnibbles-google-access-marker span {
    display: block;
    transform: rotate(45deg);
}

.fishing-access-result {
    border-color: #8a5db7;
    border-left: 4px solid #7b4aa3;
}

.fishing-access-tag {
    background: #eee5f7;
    color: #43256b;
}

.fishing-access-directions {
    width: 100%;
    margin-top: 14px;
    text-align: center;
}

.fishing-access-attribution {
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 0.7rem;
    overflow-wrap: anywhere;
}

.fishing-access-list-button {
    border-left: 4px solid #7b4aa3;
}

.location-confirmation {
    margin: 4px 0 18px;
    border-left: 4px solid var(--teal);
    border-radius: 8px;
    background: var(--foam);
    padding: 11px 13px;
    color: var(--deep);
    font-size: 0.8rem;
}

.accuracy-warning {
    color: #8e372e;
    font-weight: 800;
}

.optional-label {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 500;
}

.profile-editor {
    margin: -4px 0 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f8fbfa;
    padding: 20px;
}

.profile-editor h3 {
    margin: 0 0 4px;
    color: var(--deep);
}

.profile-editor > div > p:last-child,
.danger-zone p {
    color: var(--muted);
    font-size: 0.8rem;
}

.danger-zone {
    margin-top: 18px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.danger-zone summary {
    cursor: pointer;
    color: #8e372e;
    font-weight: 800;
}

.button-danger {
    border-color: #8e372e;
    background: #8e372e;
    color: white;
}

.progressive-fields {
    margin: 16px 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfdfc;
    padding: 0 16px;
}

.progressive-fields summary {
    cursor: pointer;
    color: var(--deep);
    font-weight: 800;
    padding: 15px 0;
}

.progressive-fields summary span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 500;
}

.progressive-fields[open] summary {
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.three-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inline-inputs {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(76px, 0.6fr);
    gap: 8px;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    margin-bottom: 14px;
    color: var(--deep);
    font-weight: 700;
}

.checkbox-field input {
    width: 20px;
    height: 20px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.photo-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    gap: 8px;
    margin: 12px 0;
}

.photo-strip figure {
    position: relative;
    aspect-ratio: 1;
    margin: 0;
}

.photo-thumbnail-button {
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 9px;
    background: transparent;
    cursor: zoom-in;
}

.photo-thumbnail-button img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.photo-thumbnail-button:focus-visible,
.photo-delete-button:focus-visible,
.photo-viewer-close:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 2px;
}

.photo-delete-button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(142, 55, 46, 0.92);
    color: white;
    cursor: pointer;
    font-weight: 900;
}

.photo-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.photo-actions button,
.photo-upload-button {
    border: 0;
    background: transparent;
    color: var(--teal);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
}

.photo-actions button:disabled {
    cursor: not-allowed;
    opacity: 0.64;
}

.photo-capacity,
.photo-inline-message {
    margin: 8px 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.photo-inline-message {
    border-left: 3px solid var(--teal);
    padding: 7px 9px;
}

.photo-inline-error {
    border-color: #a33f35;
    color: #7d2b24;
}

.photo-inline-success {
    border-color: var(--teal);
    color: var(--deep-soft);
}

.photo-empty {
    color: var(--muted);
    font-size: 0.76rem;
}

.photo-viewer-backdrop {
    position: fixed;
    z-index: 1400;
    top: 0;
    left: 0;
    width: var(--photo-viewer-viewport-width, 100vw);
    height: var(--photo-viewer-viewport-height, 100dvh);
    box-sizing: border-box;
    display: grid;
    place-items: center;
    overflow: hidden;
    overscroll-behavior: contain;
    padding:
        max(12px, env(safe-area-inset-top))
        max(12px, env(safe-area-inset-right))
        max(12px, env(safe-area-inset-bottom))
        max(12px, env(safe-area-inset-left));
    background: rgba(2, 19, 23, 0.9);
    cursor: zoom-out;
}

.photo-viewer {
    position: relative;
    width: min(1100px, 100%);
    height: min(860px, 100%);
    box-sizing: border-box;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(233, 245, 241, 0.35);
    border-radius: 18px;
    background: #061f24;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
    padding: 52px 18px 18px;
    cursor: default;
}

.photo-viewer img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.photo-viewer-close {
    position: absolute;
    z-index: 1;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(233, 245, 241, 0.5);
    border-radius: 50%;
    background: rgba(8, 47, 53, 0.96);
    color: var(--foam);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

.photo-viewer-status {
    display: grid;
    place-items: center;
    gap: 12px;
    max-width: 520px;
    color: var(--foam);
    text-align: center;
}

.photo-viewer-status p {
    margin: 0;
}

.log-tools {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(120px, 0.8fr));
    gap: 10px;
    margin: 0 0 18px;
}

.log-tools label {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.log-tools input,
.log-tools select {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: white;
    padding: 9px 10px;
    color: var(--ink);
    font: inherit;
}

.report-details {
    margin: 10px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
}

.report-details summary {
    color: var(--teal);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 800;
}

.report-details-login {
    display: block;
    margin: 10px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    color: var(--teal);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.report-details-login:hover,
.report-details-login:focus-visible {
    color: var(--coral);
}

.report-details dl {
    display: grid;
    grid-template-columns: minmax(7rem, max-content) minmax(0, 1fr);
    gap: 5px 10px;
    margin: 10px 0 2px;
    font-size: 0.78rem;
}

@media (max-width: 520px) {
    .report-details dl {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .report-details dd {
        margin-bottom: 7px;
    }
}

.report-details dt {
    color: var(--muted);
    font-weight: 800;
}

.report-details dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.log-more {
    width: 100%;
    margin-top: 14px;
}

.provider-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 12px 0 16px;
}

.provider-attribution a {
    color: var(--teal-700);
    font-weight: 700;
}

@media (prefers-color-scheme: dark) {
    .provider-attribution a {
        color: var(--sand-200);
    }
}

.provider-actions small {
    max-width: 520px;
    color: var(--muted);
}

.login-page,
.profile-page {
    width: min(1040px, 100%);
    min-height: calc(100vh - 178px);
    margin: 36px auto;
}

.login-page {
    width: min(520px, 100%);
    display: grid;
    align-items: center;
}

.login-card h1 {
    margin-bottom: 8px;
    font-size: clamp(2rem, 6vw, 3rem);
}

.profile-card {
    overflow: hidden;
}

.profile-identity {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding-bottom: 26px;
}

.profile-identity h1 {
    margin-bottom: 7px;
    overflow-wrap: anywhere;
    font-size: clamp(2.1rem, 6vw, 3.7rem);
}

.profile-identity p {
    margin-bottom: 5px;
    color: var(--muted);
}

.profile-member-since {
    font-size: 0.8rem;
}

.profile-avatar {
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--deep);
    color: #c8ffef;
    font-weight: 900;
}

.profile-avatar-large {
    width: clamp(86px, 14vw, 132px);
    height: clamp(86px, 14vw, 132px);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-editor,
.profile-section,
.profile-empty-state {
    border-top: 1px solid var(--line);
    padding: 24px 0;
}

.profile-friend-actions {
    min-width: min(100%, 290px);
}

.friendship-controls {
    display: grid;
    gap: 7px;
}

.friendship-actions {
    margin-top: 2px;
}

.friendship-actions .button {
    padding: 9px 12px;
    font-size: 0.78rem;
}

.friendship-actions .danger-link {
    color: #b3463a;
}

.friends-hub {
    display: grid;
    gap: 28px;
}

.friend-view-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(100%, 390px);
}

.friend-view-button {
    min-height: 44px;
}

.friends-activity {
    display: grid;
    gap: 16px;
}

.friends-activity-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.friends-activity-heading h2,
.friends-activity-heading p,
.friends-activity-filters .field {
    margin-bottom: 0;
}

.friends-activity-heading p {
    color: var(--muted);
}

.friends-activity-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 12px;
}

.friends-activity-list {
    margin-top: 2px;
}

.friends-activity-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.friends-activity-pager span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-align: center;
}

.friend-search,
.friends-section {
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.friend-search h2,
.friends-section h2 {
    margin-bottom: 14px;
}

.friend-search-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.friend-search-controls .field {
    margin-bottom: 0;
}

.friend-search-controls .button {
    min-height: 48px;
}

.friend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 12px;
    margin-top: 16px;
}

.friend-card {
    min-width: 0;
    display: grid;
    gap: 14px;
    align-content: start;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fdfefc;
    padding: 15px;
}

.friend-profile-link {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.friend-profile-link > span:last-child {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.friend-profile-link strong,
.friend-profile-link small {
    overflow: hidden;
    text-overflow: ellipsis;
}

.friend-profile-link small {
    color: var(--muted);
    font-size: 0.74rem;
}

.friend-profile-link:hover strong,
.friend-profile-link:focus-visible strong {
    color: var(--teal);
}

.friend-avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
}

.blocked-friends summary {
    color: var(--deep);
    cursor: pointer;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    font-weight: 800;
}

.blocked-friends > p {
    color: var(--muted);
    font-size: 0.82rem;
}

.preferences-section {
    margin-top: 26px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.preferences-section h2 {
    margin-bottom: 7px;
}

.preferences-section > p {
    max-width: 760px;
    margin-top: 0;
    color: var(--muted);
    font-size: 0.84rem;
}
.feedback-entry form {
    max-width: 760px;
}

.feedback-entry .checkbox-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    color: var(--deep);
    font-size: 0.88rem;
    font-weight: 700;
}

.feedback-entry .checkbox-row input {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.feedback-entry small {
    display: block;
    max-width: 760px;
    margin-top: 8px;
    color: var(--muted);
}

.feedback-preview {
    max-width: 760px;
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--foam);
    padding: 16px;
}

.feedback-preview h3 {
    margin-bottom: 12px;
    color: var(--deep);
}

.feedback-preview .detail-list {
    display: grid;
    grid-template-columns: minmax(100px, 0.3fr) minmax(0, 1fr);
    gap: 8px 14px;
    margin: 0;
}

.feedback-preview dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.feedback-preview dd {
    min-width: 0;
    margin: 0;
}

.feedback-preview-details {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.admin-feedback-queue {
    margin-top: 28px;
}

.admin-feedback-item {
    margin-top: 14px;
    padding-top: 16px;
}

.admin-feedback-item > p {
    margin: 6px 0 0;
}

.status-pill {
    color: var(--teal);
    font-weight: 800;
}

.admin-feedback-detail {
    max-width: none;
}

.profile-photo-editor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.profile-photo-editor h2,
.profile-section h2,
.profile-empty-state h2 {
    margin-bottom: 7px;
}

.profile-photo-editor p,
.profile-empty-state p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.upload-button {
    position: relative;
    overflow: hidden;
}

.upload-button input[type=file] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.profile-form fieldset {
    min-width: 0;
    margin: 24px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0 0;
}

.profile-form legend {
    color: var(--deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 700;
    padding: 0 14px 0 0;
}

.privacy-note {
    border-left: 4px solid var(--teal);
    border-radius: 8px;
    background: var(--foam);
    color: var(--muted);
    padding: 13px 16px;
    font-size: 0.82rem;
    line-height: 1.55;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.profile-details-grid > div {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
}

.profile-details-grid dt {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-details-grid dd {
    margin: 5px 0 0;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.profile-biography {
    max-width: 74ch;
    white-space: pre-wrap;
    line-height: 1.7;
}

.offline-notice {
    border-color: #d39b38;
    background: #fff4d6;
    color: #6e4a08;
}

@media (max-width: 980px) {
    .discover-layout {
        grid-template-columns: 1fr;
        grid-template-rows: max(55vh, 440px) minmax(260px, auto);
        height: auto;
        min-height: 0;
    }

    .discover-map-wrap,
    .discover-map-wrap .map-canvas {
        height: max(55vh, 440px);
        min-height: max(55vh, 440px);
    }

    .discover-tools {
        max-height: 520px;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .hero,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .water-card {
        display: none;
    }

    .hero {
        padding: 54px 36px;
    }

    .map-layout {
        height: auto;
        min-height: 0;
        grid-template-columns: 1fr;
        grid-template-rows: var(--map-panel-height) minmax(0, auto);
    }

    .map-canvas-wrap,
    .map-canvas {
        height: var(--map-panel-height);
        min-height: var(--map-panel-height);
        max-height: var(--map-panel-height);
    }

    .map-results {
        min-height: 150px;
        max-height: 330px;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .three-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .site-shell {
        padding: 0 14px;
    }

    .topbar {
        min-height: 76px;
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 0;
    }

    .brand small,
    .version-badge {
        display: none;
    }

    .brand {
        gap: 9px;
    }

    .play-discovery-header {
        min-width: 44px;
        padding-right: 5px;
    }

    .play-discovery-header .play-discovery-android-peek {
        top: -7px;
        right: -42px;
        width: 48px;
        height: 48px;
    }

    .play-discovery-header span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand strong {
        font-size: 1.12rem;
    }

    .hero {
        margin: 14px 0;
        border-radius: 20px;
        padding: 38px 24px;
    }

    .hero h1 {
        font-size: 2.65rem;
    }

    .panel {
        border-radius: 18px;
        padding: 22px 18px;
    }

    .two-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .three-columns {
        grid-template-columns: 1fr;
    }

    .log-tools {
        grid-template-columns: 1fr;
    }

    .panel-heading,
    .location-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .map-actions,
    .map-control,
    .map-actions select,
    .map-actions .button,
    .map-overlay-toggle,
    .map-access-actions .text-button {
        width: 100%;
        max-width: none;
    }

    .map-access-message {
        flex-basis: 100%;
    }

    .map-layout,
    .map-canvas {
        --map-panel-height: 420px;
        min-height: 420px;
    }

    .map-canvas {
        height: 420px;
    }

    .map-results {
        min-height: auto;
        max-height: 360px;
    }

    .map-legend {
        left: 8px;
        right: 8px;
        justify-content: center;
    }

    .account-chip {
        max-width: 100%;
        text-align: left;
    }

    .location-heading .button {
        width: 100%;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
    }

    .play-discovery-footer {
        align-self: flex-start;
    }

    .profile-identity {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 15px;
    }

    .profile-edit-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .profile-friend-actions {
        grid-column: 1 / -1;
        width: 100%;
    }

    .friend-search-controls {
        grid-template-columns: 1fr;
    }

    .friend-search-controls .button {
        width: 100%;
    }

    .profile-photo-editor {
        align-items: stretch;
        flex-direction: column;
    }

    .profile-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --ink: #e3f1ee;
        --muted: #a9bfbb;
        --deep: #dff7f1;
        --deep-soft: #bde9df;
        --teal: #55c9be;
        --teal-bright: #72ddd1;
        --foam: #153b3d;
        --sand: #071b1f;
        --coral: #ff9876;
        --line: #315154;
        --shadow: 0 22px 55px rgba(0, 0, 0, 0.36);
        --card-depth-shadow: 0 7px 18px rgba(0, 0, 0, 0.28);
        --card-depth-hover-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
        --card-edge-highlight: rgba(189, 233, 223, 0.13);
        background: var(--sand);
    }

    body {
        background:
            radial-gradient(circle at 12% 12%, rgba(85, 201, 190, 0.12), transparent 27rem),
            linear-gradient(180deg, #0b2428 0%, var(--sand) 100%);
    }

    .topbar {
        border-bottom-color: rgba(189, 233, 223, 0.2);
    }

    .play-discovery-link {
        border-color: var(--line);
        background: #0d272b;
        color: var(--foam);
    }

    .hero {
        border: 1px solid #315154;
        background: #092f35;
    }

    .panel {
        border-color: var(--line);
        background: rgba(13, 39, 43, 0.94);
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
    }

    .policy-card {
        border-color: var(--line);
        background: #102f33;
    }

    .photo-inline-error {
        color: #ffb29d;
    }

    .account-login,
    .account-menu,
    .privacy-help summary,
    .privacy-help-tooltip {
        border-color: var(--line);
        background: #102f33;
    }

    .discover-tools {
        background: #0d292d;
    }

    .discover-heading .map-control select,
    .discover-control select {
        border-color: var(--line);
        background: #102f33;
        color: var(--ink);
    }

    input,
    select,
    textarea,
    .map-actions select,
    .map-overlay-toggle,
    .report-card,
    .map-result-card,
    .map-list-button,
    .log-tools input,
    .log-tools select {
        border-color: var(--line);
        background: #102f33;
        color: var(--ink);
    }

    input::placeholder,
    textarea::placeholder {
        color: #829c98;
    }

    .button-secondary,
    .activity-tag,
    .version-badge,
    .count-badge,
    .location-confirmation,
    .privacy-field {
        border-color: #3a6264;
        background: #153b3d;
        color: var(--deep);
    }

    .button-quiet,
    .visibility-tag {
        background: #273c3f;
        color: var(--muted);
    }

    .notice-success {
        border-color: #2f7667;
        background: #143d34;
        color: #bdebdc;
    }

    .notice-error {
        border-color: #915247;
        background: #452722;
        color: #ffd2ca;
    }

    .activity-catch {
        background: #4b3026;
        color: #ffbea6;
    }

    .activity-lostfish {
        background: #362f45;
        color: #d9c9ef;
    }

    .public-panel {
        background: linear-gradient(145deg, rgba(17, 54, 54, 0.96), rgba(13, 39, 43, 0.96));
    }

    .map-results,
    .profile-editor,
    .progressive-fields {
        border-color: var(--line);
        background: #0d292d;
    }

    .map-canvas {
        background: #173f43;
    }

    .map-legend {
        border: 1px solid var(--line);
        background: rgba(13, 39, 43, 0.95);
        color: var(--deep);
        box-shadow: 0 7px 20px rgba(0, 0, 0, 0.35);
    }

    .report-actions,
    .report-share,
    .security-note,
    .danger-zone,
    .progressive-fields[open] summary {
        border-color: var(--line);
    }

    .friend-card {
        border-color: var(--line);
        background: #102f33;
    }

    .relationship-badge,
    .report-share-actions button {
        border-color: #3a6264;
        background: #153b3d;
        color: var(--deep);
    }

    .relationship-incomingrequest {
        border-color: #915247;
        background: #452722;
        color: #ffd2ca;
    }

    .relationship-friends {
        border-color: #2f7667;
        background: #143d34;
        color: #bdebdc;
    }

    .relationship-blockedbyyou {
        background: #273c3f;
        color: var(--muted);
    }

    .offline-notice {
        border-color: #a5782c;
        background: #493a1b;
        color: #ffe5a8;
    }

    .accuracy-warning,
    .danger-zone summary,
    .report-actions .danger-link {
        color: #ff9f8e;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
.walkthrough-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: rgb(3 25 29 / 76%);
}

.walkthrough-card {
    width: min(100%, 34rem);
    max-height: min(90vh, 42rem);
    overflow-y: auto;
    padding: clamp(1.35rem, 4vw, 2rem);
    border: 1px solid rgba(8, 47, 53, 0.1);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 35%);
    color: var(--ink);
}

.walkthrough-card h2 {
    margin: 0.35rem 0 0.75rem;
}

.walkthrough-card h2:focus {
    outline: none;
}

.walkthrough-progress {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.walkthrough-progress span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--line);
}

.walkthrough-progress span.active {
    width: 1.6rem;
    background: var(--teal-bright);
}

.walkthrough-location {
    margin: 1rem 0 0;
    color: var(--muted);
    font-weight: 700;
}

.walkthrough-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.walkthrough-actions .button-row {
    margin: 0;
}

@media (max-width: 34rem) {
    .walkthrough-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .walkthrough-actions .button-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (prefers-color-scheme: dark) {
    .walkthrough-card {
        border-color: var(--line);
        background: rgba(13, 39, 43, 0.98);
    }
}

@media (prefers-reduced-motion: reduce) {
    .walkthrough-progress span {
        transition: none;
    }
}
.outings-hub,
.outings-section,
.outings-list {
    display: grid;
    gap: 1rem;
}

.map-current-location-control {
    position: absolute;
    z-index: 6;
    right: 12px;
    bottom: 12px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface-strong);
    color: var(--accent-strong);
    box-shadow: 0 2px 7px rgba(2, 18, 21, 0.24);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.map-current-location-control:hover,
.map-current-location-control:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
}

.map-current-location-control:disabled {
    cursor: wait;
    opacity: 0.72;
}

.map-current-location-control svg {
    width: 1.55rem;
    height: 1.55rem;
    display: block;
    margin: auto;
}

.map-current-location-message {
    position: absolute;
    z-index: 6;
    right: 68px;
    bottom: 14px;
    max-width: min(24rem, calc(100% - 92px));
    border-radius: 999px;
    background: rgba(8, 47, 53, 0.94);
    color: #fff;
    padding: 0.55rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.outings-grid {
    display: grid;
    grid-template-columns: minmax(17rem, 0.78fr) minmax(20rem, 1.22fr);
    gap: 1rem;
    align-items: start;
}

.outing-card-heading,
.participant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.outing-share-controls,
.outings-import {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.outings-location-actions {
    margin: 0.75rem 0;
}

.outings-location-actions .button {
    flex: 1 1 13rem;
}

.outings-location-status {
    margin: 0.65rem 0 0.85rem;
}

.saved-spot-map-picker {
    display: grid;
    gap: 0.45rem;
    margin: 0.85rem 0 1rem;
}

.saved-spot-map-canvas-wrap {
    position: relative;
}

.saved-spot-map-picker .map-canvas {
    min-height: 22rem;
    height: 48vh;
    max-height: 34rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    overflow: hidden;
}

.trip-details {
    margin-top: 0.6rem;
}

.trip-details > summary {
    color: var(--accent-strong);
    cursor: pointer;
    font-weight: 800;
    padding: 0.55rem 0;
}

.trip-details-body {
    display: grid;
    gap: 0.45rem;
    padding-top: 0.35rem;
}

.outings-page .address-suggestions {
    top: calc(100% + 0.3rem);
}

.privacy-warning {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trip-timeline-item {
    display: grid;
    gap: 0.15rem;
    padding: 0.7rem 0;
    border-top: 1px solid var(--line);
}

@media (max-width: 850px) {
    .outings-grid { grid-template-columns: 1fr; }
}

html[data-appearance="light"] {
    color-scheme: light;
    --ink: #122d2f;
    --muted: #607274;
    --deep: #082f35;
    --deep-soft: #10464d;
    --teal: #087e7d;
    --teal-bright: #16a3a0;
    --foam: #e9f5f1;
    --sand: #f6f1e7;
    --coral: #ee7f5c;
    --line: #d8e3df;
    --white: #ffffff;
    --card-depth-shadow: 0 7px 18px rgba(8, 47, 53, 0.09);
    --card-depth-hover-shadow: 0 10px 24px rgba(8, 47, 53, 0.13);
    --card-edge-highlight: rgba(255, 255, 255, 0.72);
}

html[data-appearance="dark"] {
    color-scheme: dark;
    --ink: #e3f1ee;
    --muted: #a9bfbb;
    --deep: #dff7f1;
    --deep-soft: #bde9df;
    --teal: #55c9be;
    --teal-bright: #72ddd1;
    --foam: #153b3d;
    --sand: #071b1f;
    --coral: #ff9876;
    --line: #315154;
    --white: #0d272b;
    --card-depth-shadow: 0 7px 18px rgba(0, 0, 0, 0.28);
    --card-depth-hover-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
    --card-edge-highlight: rgba(189, 233, 223, 0.13);
}

html[data-appearance="sunlight"] {
    color-scheme: light;
    --ink: #062d31;
    --muted: #294f50;
    --deep: #052f34;
    --deep-soft: #0a4c50;
    --teal: #006b69;
    --teal-bright: #008b87;
    --foam: #edf8f4;
    --sand: #fff9e9;
    --coral: #c94f2d;
    --line: #347c78;
    --white: #fffef8;
    --shadow: 0 18px 42px rgba(5, 47, 52, 0.18);
    --card-depth-shadow: 0 7px 18px rgba(5, 47, 52, 0.13);
    --card-depth-hover-shadow: 0 10px 24px rgba(5, 47, 52, 0.18);
    --card-edge-highlight: rgba(255, 255, 255, 0.86);
}

.insights-heading,
.insight-card summary,
.insight-distribution li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.insights-heading { align-items: end; }
.compact-field { min-width: 10rem; }
.insights-range { color: var(--muted); }
.insights-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; margin: 1rem 0 2rem; }
.insight-fact { display: grid; gap: 0.2rem; padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: var(--foam); }
.insight-fact strong { font: 700 1.8rem Georgia, serif; color: var(--deep); }
.insights-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.insight-card { padding: 1rem; box-shadow: none; }
.insight-card summary { cursor: pointer; min-height: 44px; }
.insight-card summary span { color: var(--muted); font-size: 0.85rem; }
.insight-distribution { list-style: none; padding: 0; margin: 0; }
.insight-distribution li { padding: 0.45rem 0; border-top: 1px solid var(--line); }
.discover-filter-trigger { margin-top: 0.55rem; min-height: 44px; }
.saved-filter-list { list-style: none; display: grid; gap: 0.35rem; padding: 0; margin: 0.75rem 0 0; }
.saved-filter-list li { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; min-height: 44px; border-top: 1px solid var(--line); }

@media (max-width: 700px) {
    .insights-heading { align-items: stretch; flex-direction: column; }
    .insights-facts, .insights-grid { grid-template-columns: 1fr; }
}

.journal-export-card { display: grid; gap: 1.25rem; }
.journal-export-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 1rem; align-items: start; }
.journal-section-heading { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.journal-choice-list { border: 0; padding: 0; margin: 1.25rem 0 0; min-width: 0; }
.journal-choice-list legend { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: var(--text-strong); padding: 0; }
.journal-select-actions { display: flex; gap: .85rem; margin: .25rem 0 .75rem; }
.journal-choice { margin-bottom: .55rem; }
.journal-choice input { flex: 0 0 auto; }
.journal-choice span { min-width: 0; }
.journal-choice small { display: block; }
.choice-card-disabled { opacity: .62; }
.journal-create-button { width: 100%; margin-top: 1rem; }
.journal-empty-state { max-width: 620px; margin-inline: auto; }

/* Version 10 Phase 3: paint-only depth. These selectors intentionally exclude
   map canvases, page panels, navigation, and every layout container. */
.report-card,
.map-result-card,
.friend-card,
.notification-item,
.choice-card,
.outing-card,
.insight-card {
    box-shadow:
        inset 0 1px 0 var(--card-edge-highlight),
        var(--card-depth-shadow);
}

@media (hover: hover) and (pointer: fine) {
    .report-card,
    .map-result-card,
    .friend-card,
    .notification-item,
    .choice-card:not(.choice-card-disabled),
    .outing-card,
    .insight-card {
        transition: transform 160ms ease, box-shadow 160ms ease;
    }

    .report-card:hover,
    .map-result-card:hover,
    .friend-card:hover,
    .notification-item:hover,
    .choice-card:not(.choice-card-disabled):hover,
    .outing-card:hover,
    .insight-card:hover {
        transform: translateY(-2px);
        box-shadow:
            inset 0 1px 0 var(--card-edge-highlight),
            var(--card-depth-hover-shadow);
    }
}

.notification-item:active,
.choice-card:not(.choice-card-disabled):active,
.map-list-button:active {
    transform: translateY(1px);
}

@keyframes fishnibbles-mascot-greeting {
    0%, 100% { transform: translateY(0) rotate(0); }
    45% { transform: translateY(-2px) rotate(-2deg); }
    70% { transform: translateY(-1px) rotate(1deg); }
}

.play-discovery-link:hover .play-discovery-icon,
.play-discovery-link:focus-visible .play-discovery-icon {
    animation: fishnibbles-mascot-greeting 520ms ease-out 1;
}

@media (prefers-reduced-motion: reduce) {
    .report-card,
    .map-result-card,
    .friend-card,
    .notification-item,
    .choice-card,
    .outing-card,
    .insight-card,
    .play-discovery-icon {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 800px) {
    .journal-export-grid { grid-template-columns: 1fr; }
}
