.message-paths-page,
.ocean-page {
    width: min(100% - 2rem, 1180px);
    margin-inline: auto;
    padding: 2.4rem 0 5rem;
}

/* Messages through time and distance */
.message-path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.message-path-card {
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 1.5rem;
    color: inherit;
    text-decoration: none;
}

.message-path-card h2 {
    margin: .55rem 0 .7rem;
    font-size: clamp(2rem, 4vw, 3.7rem);
}

.message-path-card p {
    color: var(--muted);
    line-height: 1.65;
}

.message-path-card strong {
    margin-top: auto;
    color: var(--forest);
}

.message-path-ocean {
    background: linear-gradient(150deg, #173f35, #245d50);
    color: #fff;
}

.message-path-ocean p,
.message-path-ocean strong { color: rgba(255,255,255,.82); }
.message-path-label { font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

/* Ocean page heading */
.ocean-page-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.ocean-page-heading h1 { margin: .25rem 0 .4rem; }
.ocean-page-heading p { max-width: 720px; color: var(--muted); }
.ocean-back-link { display: inline-flex; margin-bottom: 1rem; color: var(--forest); text-decoration: none; font-weight: 800; }

/* Main two-mode switch */
.ocean-primary-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin: 1.25rem 0 .95rem;
    padding: .45rem;
    border: 1px solid rgba(31, 82, 68, .13);
    border-radius: 20px;
    background: rgba(255, 253, 248, .76);
    box-shadow: 0 14px 34px rgba(27, 53, 45, .06);
}

.ocean-primary-switch button {
    display: grid;
    gap: .2rem;
    min-width: 0;
    padding: .9rem 1rem;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: var(--muted);
    text-align: left;
    cursor: pointer;
}

.ocean-primary-switch button span {
    color: var(--ink);
    font-size: 1.02rem;
    font-weight: 900;
}

.ocean-primary-switch button small {
    color: inherit;
    line-height: 1.35;
}

.ocean-primary-switch button.is-active {
    background: var(--forest);
    color: rgba(255,255,255,.78);
    box-shadow: 0 12px 28px rgba(24, 77, 63, .2);
}

.ocean-primary-switch button.is-active span { color: #fff; }

/* One map for finding and writing */
.ocean-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(330px, .75fr);
    gap: 1rem;
    align-items: start;
    scroll-margin-top: 96px;
}

.ocean-map-card,
.ocean-side-panel,
.ocean-library-panel {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 253, 248, .94);
    box-shadow: 0 16px 36px rgba(31, 61, 51, .07);
}

.ocean-map-card { overflow: hidden; }

.ocean-map-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
    gap: 1rem;
    align-items: end;
    padding: 1rem 1.05rem;
    border-bottom: 1px solid var(--line);
}

.ocean-map-heading h2 {
    margin: .18rem 0 .15rem;
    font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.ocean-map-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.ocean-zone-control {
    display: grid;
    gap: .38rem;
    min-width: 0;
    font-weight: 800;
}

.ocean-zone-control span {
    color: var(--muted);
    font-size: .8rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ocean-zone-control select { width: 100%; }

#ocean-letter-map {
    width: 100%;
    min-height: 520px;
    background: #dbe9e5;
}

#ocean-letter-map.is-picking { cursor: crosshair; }

.ocean-map-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .85rem;
    min-height: 52px;
    padding: .75rem 1rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.ocean-map-status {
    min-width: 0;
    font-size: .92rem;
    line-height: 1.4;
    text-align: right;
}

.ocean-light-legend {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
}

.ocean-light-legend i {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #75e8cf;
    box-shadow: 0 0 0 7px rgba(117,232,207,.17), 0 0 22px rgba(117,232,207,.85);
}

/* Map markers */
.ocean-light-marker,
.ocean-release-marker {
    border: 0 !important;
    background: transparent !important;
}

.ocean-light-marker span {
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.96);
    border-radius: 50%;
    background: #8ff5df;
    box-shadow: 0 0 0 8px rgba(100,231,202,.18), 0 0 25px rgba(100,231,202,.95);
    animation: oceanLightPulse 2.2s ease-in-out infinite;
}

.ocean-light-marker.is-owned span {
    background: #e8c36c;
    box-shadow: 0 0 0 8px rgba(232,195,108,.18), 0 0 25px rgba(232,195,108,.95);
}

.ocean-release-marker span {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 3px solid #fffaf0;
    border-radius: 50% 50% 50% 0;
    background: #194f42;
    box-shadow: 0 8px 25px rgba(16, 52, 43, .38);
    transform: rotate(-45deg);
}

.ocean-release-marker span::before {
    content: "✉";
    color: #fff7df;
    font-size: 1.05rem;
    line-height: 1;
    transform: rotate(45deg);
}

@keyframes oceanLightPulse {
    0%, 100% { transform: scale(.82); opacity: .72; }
    50% { transform: scale(1.18); opacity: 1; }
}

/* Right panel */
.ocean-side-panel {
    position: sticky;
    top: 92px;
    overflow: hidden;
}

.ocean-find-panel,
.ocean-write-panel {
    padding: 1.15rem;
}

.ocean-find-panel h2,
.ocean-compose-heading h2 {
    margin: .25rem 0 .55rem;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.ocean-find-panel > p {
    color: var(--muted);
    line-height: 1.62;
}

.ocean-rule-list {
    display: grid;
    gap: .62rem;
    margin: 1rem 0;
}

.ocean-rule-list div {
    display: grid;
    gap: .13rem;
    padding: .72rem .78rem;
    border: 1px solid rgba(31, 82, 68, .12);
    border-radius: 14px;
    background: #f3f7f4;
}

.ocean-rule-list strong { color: var(--forest); }
.ocean-rule-list span { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.ocean-find-hint { margin: .9rem 0 0; padding: .75rem; border-radius: 13px; background: #fff7e7; color: #76571d !important; font-size: .92rem; }

/* Compose form */
.ocean-create-form { display: grid; gap: .85rem; }

.ocean-compose-heading {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: .75rem;
}

.ocean-compose-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, .58fr);
    gap: .75rem;
}

.ocean-compose-fields label,
.ocean-option-grid label {
    min-width: 0;
}

.ocean-compose-fields .span-2 { grid-column: 1 / -1; }
.ocean-compose-fields textarea { min-height: 210px; resize: vertical; }

.ocean-location-confirmation {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: .7rem;
    align-items: center;
    padding: .72rem .78rem;
    border: 1px dashed rgba(31, 82, 68, .25);
    border-radius: 14px;
    background: #f7faf8;
}

.ocean-location-confirmation.is-selected {
    border-style: solid;
    border-color: rgba(31, 82, 68, .3);
    background: #eaf4ef;
}

.ocean-location-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--forest);
    color: #fff7df;
}

.ocean-location-confirmation strong,
.ocean-location-confirmation span { display: block; }
.ocean-location-confirmation span { margin-top: .12rem; color: var(--muted); font-size: .87rem; line-height: 1.35; }

.ocean-compose-options {
    border: 1px solid rgba(31, 82, 68, .13);
    border-radius: 15px;
    background: #fff;
}

.ocean-compose-options summary {
    padding: .78rem .86rem;
    color: var(--forest);
    font-weight: 850;
    cursor: pointer;
}

.ocean-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    padding: 0 .86rem .86rem;
}

.ocean-option-grid .check-row {
    align-items: flex-start;
    padding: .65rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fafbf9;
}

.ocean-safety-note {
    display: grid;
    gap: .12rem;
    padding: .72rem .8rem;
    border-radius: 13px;
    background: #fff7e7;
    color: #76571d;
    font-size: .89rem;
    line-height: 1.4;
}

.ocean-release-button { width: 100%; }

/* Details and lists */
.ocean-detail-card { margin: 1.1rem 0; padding: 1.25rem; }
.ocean-detail-top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.ocean-detail-top h2 { margin-top: .3rem; }
.ocean-letter-body { padding: 1.1rem; border-radius: 18px; background: #eef5f1; font-size: 1.08rem; line-height: 1.75; overflow-wrap: anywhere; }
.ocean-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .7rem; margin-top: 1rem; }
.ocean-photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 15px; }
.ocean-detail-card audio { width: 100%; margin-top: 1rem; }
.ocean-letter-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; color: var(--muted); }
.ocean-reply-card { margin-top: 1rem; padding: 1rem; border-radius: 16px; background: #fff7e7; }
.ocean-reply-form { margin-top: 1rem; }
.ocean-detail-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.ocean-safety-details { width: min(100%, 620px); }
.ocean-safety-details summary { cursor: pointer; color: var(--forest); font-weight: 800; }
.ocean-safety-details form { margin-top: .8rem; }

.ocean-map-popup { min-width: 190px; }
.ocean-map-popup strong { display: block; margin-bottom: .35rem; }
.ocean-map-popup span { display: block; color: #68736e; }
.ocean-map-popup a { display: inline-flex; margin-top: .5rem; color: #174c3f; font-weight: 800; }

.ocean-library {
    margin-top: 2.2rem;
    scroll-margin-top: 96px;
}

.ocean-library-heading { margin-bottom: .8rem; }
.ocean-library-heading h2 { margin: .2rem 0 0; }
.ocean-library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ocean-library-panel { padding: 1rem; }
.ocean-library-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.ocean-library-panel-heading h3 { margin: 0; }
.ocean-list { display: grid; gap: .7rem; }
.ocean-list-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem .9rem; color: inherit; text-decoration: none; }
.ocean-list-card div { min-width: 0; }
.ocean-list-card strong { display: block; overflow-wrap: anywhere; }
.ocean-list-card span:not(.badge) { display: block; margin-top: .25rem; color: var(--muted); }

/* Explore page note */
.ocean-explore-note {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: .35rem 0 1rem;
    padding: .75rem .9rem;
    border: 1px solid rgba(31,82,68,.12);
    border-radius: 16px;
    background: rgba(238,245,241,.78);
}
.ocean-explore-note a { color: var(--forest); font-weight: 800; text-decoration: none; }

@media (max-width: 980px) {
    .ocean-workspace { grid-template-columns: 1fr; }
    .ocean-side-panel { position: static; }
    .ocean-library-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .message-paths-page,
    .ocean-page { width: min(100% - 1.25rem, 1180px); padding-top: 1.4rem; }
    .message-path-grid { grid-template-columns: 1fr; }
    .message-path-card { min-height: 230px; }
    .ocean-page-heading { align-items: flex-start; flex-direction: column; }
    .ocean-primary-switch { grid-template-columns: 1fr; }
    .ocean-primary-switch button { padding: .78rem .85rem; }
    .ocean-map-toolbar { grid-template-columns: 1fr; }
    #ocean-letter-map { min-height: 360px; }
    .ocean-map-footer { align-items: flex-start; flex-direction: column; }
    .ocean-map-status { text-align: left; }
    .ocean-compose-fields,
    .ocean-option-grid { grid-template-columns: 1fr; }
    .ocean-compose-fields .span-2 { grid-column: auto; }
    .ocean-compose-heading { align-items: flex-start; flex-direction: column; }
    .ocean-photo-grid { grid-template-columns: 1fr; }
    .ocean-detail-top { flex-direction: column; }
    .ocean-list-card { align-items: flex-start; }
    .ocean-explore-note { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .ocean-light-marker span { animation: none; }
}

/* Unified Explore map: public lives and ocean letters share one map. */
.explore-unified {
    --ocean-panel: rgba(255, 253, 248, .96);
}

.explore-mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
    margin: 1.15rem 0 1rem;
    padding: .38rem;
    border: 1px solid rgba(31, 82, 68, .13);
    border-radius: 20px;
    background: rgba(255, 253, 248, .78);
    box-shadow: 0 14px 36px rgba(28, 54, 46, .06);
}

.explore-mode-switch button,
.explore-ocean-action-switch button {
    min-width: 0;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    text-align: left;
}

.explore-mode-switch button {
    display: grid;
    gap: .18rem;
    padding: .88rem 1rem;
}

.explore-mode-switch button span,
.explore-ocean-action-switch button span {
    color: var(--ink);
    font-weight: 900;
}

.explore-mode-switch button small,
.explore-ocean-action-switch button small {
    color: inherit;
    line-height: 1.35;
}

.explore-mode-switch button.is-active {
    color: rgba(255,255,255,.78);
    background: linear-gradient(145deg, #194f42, #276656);
    box-shadow: 0 12px 28px rgba(24, 77, 63, .2);
}

.explore-mode-switch button.is-active span { color: #fff; }

.explore-ocean-controls { margin-bottom: .9rem; }

.explore-ocean-action-switch {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: .35rem;
    padding: .32rem;
    border: 1px solid rgba(31, 82, 68, .13);
    border-radius: 16px;
    background: rgba(255, 253, 248, .82);
}

.explore-ocean-action-switch button {
    display: grid;
    gap: .12rem;
    padding: .68rem .82rem;
}

.explore-ocean-action-switch button.is-active {
    background: #e0eee7;
    color: #31584d;
}

.explore-unified-layout {
    align-items: start;
}

.explore-map-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 253, 248, .94);
    box-shadow: 0 18px 42px rgba(31, 61, 51, .08);
}

.explore-map-card #explore-map {
    border: 0 !important;
    border-radius: 0 !important;
    min-height: 520px;
}

.explore-map-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    min-height: 52px;
    padding: .72rem .95rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.explore-map-footer span { font-weight: 800; color: var(--forest); }
.explore-map-footer small { text-align: right; line-height: 1.4; }

.explore-ocean-side {
    display: grid;
    align-content: start;
    gap: .85rem;
    min-width: 0;
    padding: 1.15rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--ocean-panel);
    box-shadow: 0 16px 36px rgba(31, 61, 51, .07);
}

.explore-ocean-side h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
    line-height: 1.05;
}

.explore-ocean-side > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.explore-ocean-zone-filter {
    display: grid;
    gap: .4rem;
    font-weight: 800;
}

.explore-ocean-count {
    display: flex;
    align-items: baseline;
    gap: .55rem;
    padding: .85rem .9rem;
    border-radius: 16px;
    background: #eaf4ef;
    color: #31584d;
}

.explore-ocean-count strong {
    color: var(--forest);
    font-family: Georgia, serif;
    font-size: 2rem;
    line-height: 1;
}

.explore-ocean-count span { font-weight: 800; }
.explore-ocean-hint { padding: .75rem .82rem; border-radius: 14px; background: #f7f2e7; }
.explore-ocean-side .text-link { color: var(--forest); font-weight: 850; text-decoration: none; }
.explore-ocean-side .text-link:hover { text-decoration: underline; }

.explore-ocean-compose form,
#explore-ocean-form {
    display: grid;
    gap: .78rem;
    min-width: 0;
}

.explore-ocean-compose-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: .7rem;
}

.explore-ocean-compose-head h2 { margin-top: .1rem; }


.ocean-daily-quota {
    flex: 0 0 auto;
    display: grid;
    justify-items: center;
    align-content: center;
    min-width: 92px;
    min-height: 62px;
    padding: .48rem .72rem .44rem;
    border: 1px solid rgba(31, 82, 68, .14);
    border-radius: 17px;
    background: linear-gradient(145deg, #e4f0e9, #f4f8f5);
    color: var(--forest);
    box-shadow: 0 10px 24px rgba(31, 82, 68, .08);
    text-align: center;
}

.ocean-daily-quota strong {
    display: flex;
    align-items: baseline;
    gap: .12rem;
    font-family: Georgia, serif;
    font-size: 1.48rem;
    line-height: 1;
    font-weight: 700;
}

.ocean-daily-quota strong small {
    font-family: inherit;
    font-size: .78rem;
    font-weight: 700;
    opacity: .72;
}

.ocean-daily-quota > span {
    margin-top: .28rem;
    font-size: .64rem;
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ocean-daily-quota.is-empty {
    border-color: rgba(153, 73, 53, .17);
    background: linear-gradient(145deg, #f8e9e3, #fff7f3);
    color: #874531;
}

#explore-ocean-form label {
    display: grid;
    gap: .38rem;
    min-width: 0;
    font-weight: 800;
}

#explore-ocean-form input,
#explore-ocean-form select,
#explore-ocean-form textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

#explore-ocean-form textarea {
    min-height: 150px;
    resize: vertical;
}

.explore-ocean-location {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .72rem;
    align-items: center;
    padding: .78rem .82rem;
    border: 1px dashed rgba(31, 82, 68, .24);
    border-radius: 15px;
    background: #f7faf8;
    color: var(--muted);
}

.explore-ocean-location.is-selected {
    border-style: solid;
    background: #e8f4ee;
    color: #365a50;
}

.explore-ocean-location-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--forest);
    color: #fff;
}

.explore-ocean-location strong,
.explore-ocean-location span:last-child { display: block; }
.explore-ocean-location strong { color: var(--ink); margin-bottom: .12rem; }
.explore-ocean-location span:last-child { font-size: .88rem; line-height: 1.4; }

.explore-ocean-options {
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.explore-ocean-options summary {
    padding: .8rem .86rem;
    color: var(--forest);
    font-weight: 900;
    cursor: pointer;
}

.explore-ocean-options-body {
    display: grid;
    gap: .75rem;
    padding: 0 .86rem .86rem;
}

.explore-ocean-options-body input[type="file"] {
    padding: .55rem;
    border: 1px dashed rgba(31, 82, 68, .22);
    border-radius: 13px;
    background: #fbfcfa;
}

.explore-ocean-options-body small {
    color: var(--muted);
    font-weight: 500;
    line-height: 1.45;
}

.explore-ocean-options-body .check-row {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    padding: .65rem .7rem;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fbfcfa;
}

.explore-ocean-options-body .check-row input { width: auto; margin-top: .18rem; }

.explore-ocean-safety {
    margin: 0;
    padding: .68rem .75rem;
    border-radius: 13px;
    background: #fff5df;
    color: #7a5b20 !important;
    font-size: .88rem;
    line-height: 1.45;
}

#explore-map.is-ocean-picking { cursor: crosshair; }

.explore-unified.is-ocean-mode .explore-side-column {
    position: sticky;
    top: 92px;
}

@media (max-width: 980px) {
    .explore-unified.is-ocean-mode .explore-side-column { position: static; }
    .explore-map-card #explore-map { min-height: 440px; }
}

@media (max-width: 720px) {
    .explore-mode-switch {
        grid-template-columns: 1fr;
        border-radius: 17px;
    }

    .explore-mode-switch button { padding: .78rem .85rem; }
    .explore-ocean-action-switch { width: 100%; grid-template-columns: 1fr 1fr; }
    .explore-ocean-action-switch button { padding: .62rem .65rem; }
    .explore-map-card #explore-map { min-height: 330px; }
    .explore-map-footer { align-items: flex-start; flex-direction: column; }
    .explore-map-footer small { text-align: left; }
    .explore-ocean-side { padding: .95rem; border-radius: 18px; }
    .explore-ocean-compose-head { align-items: flex-start; flex-direction: column; }
}


/* Keep the inactive Explore ocean panel completely hidden.
   The component uses display:grid, so this explicit rule must win over it. */
.explore-unified-layout [data-explore-side][hidden],
.explore-ocean-side[hidden] {
    display: none !important;
}

/* Explore mode heading visibility and ocean archive action. */
.explore-unified [data-explore-heading][hidden] {
    display: none !important;
}

.explore-unified .explore-heading-ocean .button,
.explore-unified .explore-heading-ocean .button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: .72rem 1.08rem;
    border-radius: 999px;
    white-space: nowrap;
    line-height: 1.15;
    text-align: center;
}

@media (max-width: 720px) {
    .explore-unified .explore-heading-ocean .button,
    .explore-unified .explore-heading-ocean .button-secondary {
        align-self: flex-start;
        width: auto;
    }
}


@media (max-width: 720px) {
    .explore-ocean-compose-head {
        width: 100%;
    }

    .ocean-daily-quota {
        grid-template-columns: auto auto;
        justify-items: start;
        align-items: center;
        column-gap: .48rem;
        min-width: 0;
        min-height: 0;
        padding: .46rem .68rem;
        border-radius: 999px;
    }

    .ocean-daily-quota strong {
        font-size: 1.16rem;
    }

    .ocean-daily-quota > span {
        margin-top: 0;
        font-size: .61rem;
    }
}


/* Keep the active Explore map legend isolated to its own mode. */
.explore-map-footer[hidden],
[data-map-footer][hidden] {
    display: none !important;
}
