:root {
    --ls-ocean: #123f49;
    --ls-ocean-deep: #092b34;
    --ls-seafoam: #dcebe5;
    --ls-seafoam-dark: #b8d2c9;
    --ls-gold: #dfb63f;
    --ls-gold-pale: #fff1b8;
    --ls-coral: #b95045;
    --ls-coral-dark: #7f302b;
    --ls-cream: #fff9e8;
    --ls-paper: #fffef8;
    --ls-ink: #173039;
    --ls-muted: #536b70;
    --ls-moss: #476b56;
    --ls-line: #779698;
    --ls-soft-line: #c3d3cf;
    --ls-border: 2px solid var(--ls-ink);
    --ls-shadow: 4px 4px 0 rgba(9, 43, 52, 0.2);
    --ls-shell-width: 1160px;
    --ls-content-width: 1096px;
    --ls-sidebar-width: 205px;
    --ls-masthead-artwork: none;
}

* {
    box-sizing: border-box;
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background-color: var(--ls-ocean-deep);
    background-image: none;
    color: var(--ls-ink);
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

body::before {
    position: fixed;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(var(--ls-shell-width), calc(100% - 32px));
    border-right: 2px solid rgba(255, 255, 255, 0.22);
    border-left: 2px solid rgba(255, 255, 255, 0.22);
    background: var(--ls-seafoam);
    box-shadow: 0 0 22px rgba(0, 0, 0, 0.34);
    content: "";
    transform: translateX(-50%);
}

body.admin-bar .wp-site-blocks {
    position: relative;
    top: -16px;
    margin-bottom: -16px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #181d4d;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
    color: var(--ls-coral-dark);
}

:focus-visible {
    outline: 3px solid var(--ls-gold);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
    color: var(--ls-ink);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

h1 {
    font-size: 2.55rem;
}

h2 {
    font-size: 1.68rem;
}

h3 {
    font-size: 1.18rem;
}

button,
input,
select,
textarea {
    font: inherit;
    letter-spacing: 0;
}

button,
.ls-button,
.wp-element-button,
.wp-block-button__link {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ls-ocean-deep);
    border-radius: 2px;
    background: var(--ls-ocean);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 2px 2px 0 rgba(9, 43, 52, 0.2);
    color: var(--ls-cream);
    cursor: pointer;
    font-weight: 700;
    line-height: 1.2;
    padding: 0.62rem 0.9rem;
    text-align: center;
    text-decoration: none;
}

button:hover,
button:focus-visible,
.ls-button:hover,
.ls-button:focus-visible,
.wp-element-button:hover,
.wp-element-button:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
    background: var(--ls-ocean-deep);
    color: var(--ls-cream);
}

input[type="text"],
input[type="search"],
input[type="number"],
input[type="url"],
select,
textarea {
    width: 100%;
    min-height: 42px;
    border: 2px inset var(--ls-line);
    border-radius: 1px;
    background: var(--ls-paper);
    color: var(--ls-ink);
    padding: 0.58rem 0.7rem;
}

input:hover,
select:hover,
textarea:hover {
    border-color: var(--ls-ocean);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--ls-ocean-deep);
    outline: 3px solid rgba(223, 182, 63, 0.55);
    outline-offset: 1px;
}

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

.ls-skip-link {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 1rem;
    transform: translateY(-120%);
    border: var(--ls-border);
    background: var(--ls-gold-pale);
    color: var(--ls-ink);
    font-weight: 700;
    padding: 0.65rem 0.9rem;
}

.ls-skip-link:focus {
    transform: translateY(0);
}

/* Site shell and masthead */

.ls-site-header {
    position: relative;
    z-index: 20;
    width: min(var(--ls-shell-width), calc(100% - 32px));
    border-right: var(--ls-border);
    border-left: var(--ls-border);
    background: var(--ls-cream);
    margin: 0 auto;
}

.ls-masthead {
    display: flex;
    min-height: 174px;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-top: 7px solid var(--ls-gold);
    border-bottom: var(--ls-border);
    background-color: var(--ls-cream);
    background-image: none;
    padding: 1.35rem 2rem;
}

.ls-site-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 1.4rem;
    color: var(--ls-ink);
    text-decoration: none;
}

.ls-site-brand:hover,
.ls-site-brand:focus-visible {
    color: var(--ls-ink);
}

.ls-masthead-art {
    position: relative;
    display: flex;
    width: 150px;
    height: 118px;
    flex: 0 0 150px;
    align-items: center;
    justify-content: center;
    border: var(--ls-border);
    background-color: var(--ls-ocean);
    background-image: var(--ls-masthead-artwork);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    box-shadow: var(--ls-shadow);
    overflow: hidden;
}

.ls-masthead-art::before,
.ls-masthead-art::after {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--ls-gold-pale);
    box-shadow: 28px 14px 0 rgba(255, 249, 232, 0.65), 72px -18px 0 rgba(255, 249, 232, 0.75), 98px 24px 0 rgba(255, 249, 232, 0.5);
    content: "";
    transform: rotate(45deg);
}

.ls-masthead-art::before {
    top: 24px;
    left: 20px;
}

.ls-masthead-art::after {
    right: 30px;
    bottom: 25px;
}

.ls-moon-seal {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 78px;
    height: 78px;
    align-items: center;
    justify-content: center;
    border: 3px double var(--ls-ocean-deep);
    border-radius: 50%;
    background: var(--ls-gold-pale);
    box-shadow: 4px 4px 0 var(--ls-coral);
    color: var(--ls-ocean-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 700;
}

.ls-art-slot-label {
    position: absolute;
    right: 5px;
    bottom: 3px;
    color: rgba(255, 255, 255, 0.75);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.58rem;
    text-transform: uppercase;
}

.ls-brand-copy {
    display: block;
    min-width: 0;
}

.ls-brand-copy > * {
    display: block;
}

.ls-brand-copy small {
    color: var(--ls-coral-dark);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ls-brand-copy strong {
    margin: 0.15rem 0 0.2rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.15rem;
    line-height: 1;
}

.ls-brand-copy > span {
    color: var(--ls-muted);
    font-size: 1rem;
    font-weight: 700;
}

.ls-masthead-note {
    display: grid;
    flex: 0 0 180px;
    gap: 0.3rem;
    border: 1px solid var(--ls-line);
    background: rgba(255, 254, 248, 0.8);
    margin: 0;
    padding: 0.75rem;
}

.ls-masthead-note span {
    display: block;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.ls-masthead-note span::before {
    color: var(--ls-coral);
    content: "> ";
    font-weight: 700;
}

.ls-nav-bar {
    min-height: 47px;
    border-bottom: 4px solid var(--ls-gold);
    background: var(--ls-ocean-deep);
}

.ls-primary-nav ul,
.ls-mobile-nav-links ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ls-primary-nav li {
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.ls-primary-nav a {
    display: flex;
    min-height: 45px;
    align-items: center;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    color: var(--ls-cream);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.45rem 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
}

.ls-primary-nav a:hover,
.ls-primary-nav a:focus-visible {
    background: #1b5963;
    color: var(--ls-paper);
}

.ls-primary-nav a[aria-current="page"] {
    border-top-color: var(--ls-gold-pale);
    border-bottom-color: var(--ls-coral);
    background: var(--ls-gold);
    box-shadow: inset 0 2px 0 var(--ls-gold-pale);
    color: var(--ls-ocean-deep);
}

.ls-mobile-nav {
    display: none;
}

/* Shared page shell */

.ls-site-main,
.ls-content-page,
.ls-home-main {
    width: min(var(--ls-shell-width), calc(100% - 32px));
    border-right: var(--ls-border);
    border-left: var(--ls-border);
    background: var(--ls-seafoam);
    margin: 0 auto;
}

.ls-site-main,
.ls-content-page {
    min-height: 56vh;
    padding: 1.65rem 2rem 3rem;
}

.ls-reference-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.ls-reference-layout > br {
    display: none;
}

.ls-reference-main {
    min-width: 0;
}

.ls-context-sidebar {
    position: sticky;
    top: 1rem;
    border: var(--ls-border);
    background: var(--ls-paper);
    box-shadow: 3px 3px 0 rgba(9, 43, 52, 0.18);
}

.ls-context-sidebar details > summary {
    border-bottom: var(--ls-border);
    background: var(--ls-ocean);
    color: var(--ls-cream);
    cursor: pointer;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 0.65rem 0.8rem;
}

.ls-context-sidebar nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ls-context-sidebar nav li + li {
    border-top: 1px solid var(--ls-soft-line);
}

.ls-context-sidebar nav a {
    display: block;
    color: var(--ls-ink);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.58rem 0.75rem;
    text-decoration: none;
}

.ls-context-sidebar nav a::before {
    color: var(--ls-coral);
    content: ">";
    margin-right: 0.42rem;
}

.ls-context-sidebar nav a:hover,
.ls-context-sidebar nav a:focus-visible,
.ls-context-sidebar nav a[aria-current="page"] {
    background: var(--ls-gold-pale);
}

.ls-context-sidebar nav a[aria-current="page"]::before {
    color: var(--ls-ocean);
    content: ">>";
}

.ls-sidebar-related {
    display: grid;
    gap: 0.35rem;
    border-top: var(--ls-border);
    background: #eef5f1;
    padding: 0.75rem;
}

.ls-sidebar-related span {
    color: var(--ls-coral-dark);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ls-sidebar-related a {
    font-size: 0.8rem;
}

.ls-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    color: var(--ls-muted);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.72rem;
    margin-bottom: 1rem;
}

.ls-eyebrow,
.ls-panel-label {
    margin: 0 0 0.38rem;
    color: var(--ls-coral-dark);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ls-page-heading,
.ls-profile-heading {
    border-bottom: var(--ls-border);
    margin: 0 0 1.35rem;
    padding: 0 0 1rem;
}

.ls-page-heading h1,
.ls-profile-heading h1 {
    margin: 0 0 0.48rem;
}

.ls-page-heading > p:last-child,
.ls-page-intro,
.ls-profile-name {
    max-width: 720px;
    margin: 0;
    color: var(--ls-muted);
    font-size: 1rem;
}

.ls-page-heading-compact {
    max-width: none;
}

.ls-registry-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 250px);
    align-items: center;
    gap: 1.25rem;
}

.ls-registry-heading-copy > p:last-child {
    max-width: 720px;
    margin: 0;
    color: var(--ls-muted);
    font-size: 1rem;
}

.ls-shark-request-callout {
    display: flex;
    min-height: 128px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    border: var(--ls-border);
    border-radius: 8px;
    background: var(--ls-paper);
    box-shadow: var(--ls-shadow);
    color: #181d4d;
    font-family: "Bungee", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ls-shark-request-callout:hover {
    background: #fff;
    box-shadow: 3px 3px 0 rgba(9, 43, 52, 0.18);
    color: #181d4d;
    transform: translateY(-2px);
}

.ls-section-heading {
    margin-bottom: 0.9rem;
}

.ls-section-heading h2,
.ls-section-heading h3 {
    margin: 0;
}

.ls-section-heading-inline {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.ls-heading-count {
    display: inline-flex;
    min-width: 1.8rem;
    height: 1.8rem;
    align-items: center;
    justify-content: center;
    border: var(--ls-border);
    border-radius: 50%;
    background: var(--ls-gold-pale);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.78rem;
    vertical-align: middle;
}

/* Home hub */

.ls-home-main {
    min-height: 60vh;
}

.ls-home-welcome {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 1.5rem;
    align-items: center;
    border-bottom: var(--ls-border);
    background: var(--ls-cream);
    padding: 1.8rem 2rem;
}

.ls-home-welcome h1 {
    margin: 0 0 0.7rem;
    font-size: 2.55rem;
}

.ls-home-welcome-copy > p:not(.ls-eyebrow) {
    max-width: 650px;
}

.ls-home-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.ls-home-spotlight {
    position: relative;
    border: var(--ls-border);
    background: var(--ls-paper);
    box-shadow: var(--ls-shadow);
    margin: 0;
    padding: 0.5rem;
}

.ls-home-spotlight > a {
    display: flex;
    aspect-ratio: 4 / 3;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ls-line);
    background: #f5f8f2;
    overflow: hidden;
}

.ls-home-spotlight img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ls-home-spotlight figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.48rem 0.3rem 0.05rem;
}

.ls-home-spotlight figcaption span {
    color: var(--ls-coral-dark);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.ls-home-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.2rem 2rem;
}

.ls-home-panel {
    position: relative;
    min-width: 0;
    border: var(--ls-border);
    background: var(--ls-paper);
    box-shadow: 3px 3px 0 rgba(9, 43, 52, 0.15);
    padding: 1rem 1.1rem;
}

.ls-home-panel::before {
    position: absolute;
    top: -2px;
    right: -2px;
    left: -2px;
    height: 7px;
    background: var(--ls-gold);
    content: "";
}

.ls-home-news::before {
    background: var(--ls-coral);
}

.ls-home-world::before {
    background: var(--ls-ocean);
}

.ls-home-panel h2 {
    margin: 0 0 0.6rem;
    font-size: 1.35rem;
}

.ls-home-panel ul {
    display: grid;
    gap: 0.2rem;
    margin: 0.55rem 0 0;
    padding: 0;
    list-style: none;
}

.ls-home-panel li {
    border-top: 1px dotted var(--ls-line);
    padding: 0.38rem 0;
}

.ls-home-panel li::before {
    color: var(--ls-coral);
    content: "> ";
    font-family: Consolas, Monaco, monospace;
    font-weight: 700;
}

.ls-quiet-empty {
    border: 1px dashed var(--ls-line);
    color: var(--ls-muted);
    font-size: 0.9rem;
    margin: 0;
    padding: 0.65rem;
}

.ls-update-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ls-update-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
}

.ls-update-list time {
    color: var(--ls-muted);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.7rem;
}

.ls-home-registry-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.ls-home-registry-stats > div {
    border: 1px solid var(--ls-line);
    background: #E0D8C3;
    padding: 0.65rem;
}

.ls-home-registry-stats > div + div {
    border-left: 0;
}

.ls-home-registry-stats dt {
    color: var(--ls-muted);
    font-size: 0.75rem;
}

.ls-home-registry-stats dd {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    font-weight: 700;
}

.ls-home-featured-band {
    border-top: var(--ls-border);
    background: #fff;
    padding: 1.4rem 2rem 1.8rem;
}

.ls-home-community {
    border-top: 4px double var(--ls-gold);
    background: var(--ls-ocean-deep);
    color: #e9f4ef;
    padding: 1.5rem 2rem;
}

.ls-home-community h2,
.ls-home-community a {
    color: var(--ls-cream);
}

.ls-home-community .ls-panel-label {
    color: var(--ls-gold);
}

.ls-home-community p {
    max-width: 820px;
}

/* Wiki and editable information pages */

.ls-wiki-article {
    border: var(--ls-border);
    background: var(--ls-paper);
    box-shadow: var(--ls-shadow);
    padding: 1.35rem 1.5rem 1.7rem;
}

.ls-wiki-article > h1 {
    margin: 0 0 0.9rem;
    padding-bottom: 0.65rem;
    border-bottom: var(--ls-border);
}

.ls-page-artwork-placeholder,
.ls-page-banner-image {
    width: 100%;
    min-height: 155px;
    max-height: 280px;
    border: var(--ls-border);
    object-fit: cover;
    margin: 0 0 1.2rem;
}

.ls-page-artwork-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--ls-ocean);
    background-image: none;
    color: var(--ls-cream);
    text-align: center;
}

.ls-page-artwork-placeholder span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.ls-page-artwork-placeholder small {
    color: var(--ls-seafoam-dark);
    font-size: 0.75rem;
}

.ls-wiki-article .wp-block-heading {
    border-bottom: 1px solid var(--ls-line);
    margin-top: 1.5rem;
    padding-bottom: 0.28rem;
}

.is-style-ls-info-box,
.is-style-ls-notice-box,
.is-style-ls-lore-box,
.is-style-ls-registry-box,
.is-style-ls-community-box,
.ls-info-box,
.ls-notice-box,
.ls-lore-box,
.ls-registry-box,
.ls-community-box {
    position: relative;
    border: var(--ls-border);
    background: var(--ls-paper);
    margin: 1.25rem 0;
    padding: 2rem 1rem 0.9rem;
}

.is-style-ls-info-box::before,
.ls-info-box::before,
.is-style-ls-notice-box::before,
.ls-notice-box::before,
.is-style-ls-lore-box::before,
.ls-lore-box::before,
.is-style-ls-registry-box::before,
.ls-registry-box::before,
.is-style-ls-community-box::before,
.ls-community-box::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    border-bottom: 1px solid var(--ls-ink);
    background: var(--ls-ocean);
    color: var(--ls-cream);
    content: "Information";
    font-family: Consolas, Monaco, monospace;
    font-size: 0.67rem;
    font-weight: 700;
    padding: 0.28rem 0.55rem;
    text-transform: uppercase;
}

.is-style-ls-notice-box,
.ls-notice-box {
    background: var(--ls-gold-pale);
}

.is-style-ls-notice-box::before,
.ls-notice-box::before {
    background: var(--ls-gold);
    color: var(--ls-ocean-deep);
    content: "Note";
}

.is-style-ls-lore-box,
.ls-lore-box {
    background: #fbf0e8;
}

.is-style-ls-lore-box::before,
.ls-lore-box::before {
    background: var(--ls-coral);
    content: "From the Archives";
}

.is-style-ls-registry-box,
.ls-registry-box {
    background: #fff;
}

.is-style-ls-registry-box::before,
.ls-registry-box::before {
    background: var(--ls-ocean-deep);
    content: "Official Registry";
}

.is-style-ls-community-box,
.ls-community-box {
    border-color: var(--ls-coral-dark);
    background: #fff2ed;
}

.is-style-ls-community-box::before,
.ls-community-box::before {
    background: var(--ls-coral-dark);
    content: "Community";
}

.ls-related-pages {
    border-top: 4px double var(--ls-line);
    margin-top: 1.8rem;
    padding-top: 1rem;
}

.ls-related-pages h2 {
    margin: 0 0 0.65rem;
}

.ls-related-pages ul,
.ls-related-information ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ls-related-pages li::before,
.ls-related-information li::before {
    color: var(--ls-coral);
    content: "> ";
    font-family: Consolas, Monaco, monospace;
    font-weight: 700;
}

/* Registry search and browse */

.ls-registry-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 230px));
    justify-content: center;
    gap: 1rem;
    margin: 0 auto 1.6rem;
}

.ls-registry-stats > div {
    display: flex;
    min-height: 104px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border: var(--ls-border);
    border-radius: 8px;
    background: var(--ls-paper);
    box-shadow: var(--ls-shadow);
    padding: 1rem 1.25rem;
    text-align: center;
}

.ls-registry-stats strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.ls-registry-stats span {
    color: var(--ls-muted);
    font-size: 0.8rem;
    line-height: 1.35;
}

.ls-search-section,
.ls-profile-section {
    border: var(--ls-border);
    background: var(--ls-paper);
    box-shadow: 3px 3px 0 rgba(9, 43, 52, 0.14);
    margin-top: 1rem;
    padding: 1rem;
}

.ls-search-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.ls-search-tool {
    position: relative;
    border: 1px solid var(--ls-line);
    background: #fff;
    padding: 1rem;
}

.ls-search-tool::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: var(--ls-gold);
    content: "";
}

.ls-search-tool:nth-child(2)::before {
    background: var(--ls-coral);
}

.ls-search-tool h3 {
    margin: 0 0 0.15rem;
}

.ls-search-tool > p {
    min-height: 2.8em;
    margin: 0 0 0.7rem;
    color: var(--ls-muted);
    font-size: 0.88rem;
}

.ls-search-tool label,
.ls-filter-field label,
.ls-form-field label {
    display: block;
    color: var(--ls-ink);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.ls-search-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}

.ls-search-control input {
    border-radius: 0;
}

.ls-search-control button {
    border-left: 0;
    box-shadow: none;
    white-space: nowrap;
}

.ls-search-results {
    border-top: 4px double var(--ls-ink);
    margin-top: 1.5rem;
    padding-top: 1rem;
}

.ls-owner-results {
    display: grid;
    gap: 0.55rem;
}

.ls-owner-result {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: var(--ls-border);
    border-left: 7px solid var(--ls-coral);
    background: var(--ls-paper);
    padding: 0.7rem 0.9rem;
}

.ls-owner-result h3,
.ls-owner-result p {
    margin: 0;
}

.ls-owner-result p,
.ls-owner-result-meta {
    color: var(--ls-muted);
    font-size: 0.82rem;
}

.ls-owner-result-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    white-space: nowrap;
}

.ls-action-links,
.ls-registry-actions,
.ls-public-actions,
.ls-filter-actions,
.ls-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.ls-registry-actions {
    border-top: 4px double var(--ls-ink);
    margin-top: 1.5rem;
    padding-top: 1rem;
}

.ls-action-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0.8rem;
    width: 100%;
}

.ls-action-links a {
    display: flex;
    min-height: 96px;
    box-sizing: border-box;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    border: var(--ls-border);
    border-radius: 8px;
    background: var(--ls-paper);
    box-shadow: 2px 2px 0 rgba(9, 43, 52, 0.14);
    color: #181d4d;
    padding: 0.9rem 1rem;
    text-decoration: none;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ls-action-links a::before {
    color: var(--ls-coral);
    content: ">";
    font-family: Consolas, Monaco, monospace;
    font-weight: 700;
}

.ls-action-links a span {
    color: var(--ls-muted);
    font-size: 0.8rem;
    font-weight: 400;
}

.ls-action-links a:hover {
    background: #fff;
    box-shadow: 3px 3px 0 rgba(9, 43, 52, 0.18);
    color: #181d4d;
    transform: translateY(-2px);
}

.ls-expedition-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1rem;
}

.ls-litter-archive-grid,
.ls-litter-archive-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ls-litter-archive-card,
.ls-litter-result-card {
    min-width: 0;
    border: var(--ls-border);
    border-radius: 8px;
    background: var(--ls-paper);
    box-shadow: var(--ls-shadow);
}

.ls-litter-archive-card {
    padding: 1rem;
}

.ls-litter-archive-card h2 {
    margin: 0.2rem 0 0.45rem;
}

.ls-litter-archive-card dl,
.ls-litter-archive-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 1rem 0;
    border-top: 1px solid var(--ls-soft-line);
    border-left: 1px solid var(--ls-soft-line);
}

.ls-litter-archive-card dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ls-litter-archive-card dl > div,
.ls-litter-archive-meta > div {
    display: grid;
    gap: 0.15rem;
    padding: 0.65rem;
    border-right: 1px solid var(--ls-soft-line);
    border-bottom: 1px solid var(--ls-soft-line);
}

.ls-litter-archive-card dt,
.ls-litter-archive-meta dt {
    color: var(--ls-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
}

.ls-litter-archive-card dd,
.ls-litter-archive-meta dd {
    margin: 0;
}

.ls-litter-archive-detail {
    margin-top: 1rem;
}

.ls-litter-result-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    overflow: hidden;
}

.ls-litter-result-image {
    display: grid;
    place-items: center;
    min-height: 150px;
    border-right: var(--ls-border);
    background: #fff;
    overflow: hidden;
}

.ls-litter-result-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.ls-litter-result-card > div {
    display: grid;
    align-content: center;
    gap: 0.25rem;
    padding: 0.85rem;
}

.ls-litter-result-card > div > strong {
    color: var(--ls-navy);
    font-size: 1.2rem;
}

.ls-expedition-result-card {
    min-width: 0;
    border: var(--ls-border);
    border-radius: 8px;
    background: var(--ls-paper);
    box-shadow: var(--ls-shadow);
    overflow: hidden;
}

.ls-expedition-result-card > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    border-bottom: var(--ls-border);
    background: #e0d8c3;
    padding: 0.9rem 1rem;
}

.ls-expedition-result-card h2,
.ls-expedition-result-card h3,
.ls-expedition-result-card p {
    margin-top: 0;
}

.ls-expedition-result-card h2 {
    margin-bottom: 0;
    font-size: 1.35rem;
}

.ls-expedition-result-card .ls-eyebrow {
    margin-bottom: 0.25rem;
}

.ls-expedition-result-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid var(--ls-soft-line);
}

.ls-expedition-result-meta p {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0;
    padding: 0.75rem 1rem;
}

.ls-expedition-result-meta p + p {
    border-left: 1px solid var(--ls-soft-line);
}

.ls-expedition-result-meta strong {
    color: var(--ls-muted);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.68rem;
    text-transform: uppercase;
}

.ls-expedition-result-meta span,
.ls-expedition-result-meta a {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ls-expedition-rewards {
    padding: 0.9rem 1rem;
}

.ls-expedition-rewards h3 {
    margin-bottom: 0.65rem;
}

.ls-expedition-rewards ul {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ls-expedition-rewards li {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
    border-top: 1px dotted var(--ls-line);
    padding-top: 0.45rem;
}

.ls-expedition-rewards li.has-image {
    grid-template-columns: 48px minmax(0, 1fr);
}

.ls-expedition-rewards li:first-child {
    border-top: 0;
    padding-top: 0;
}

.ls-expedition-reward-image,
.ls-expedition-rewards img {
    display: block;
    width: 48px;
    height: 48px;
}

.ls-expedition-rewards img {
    border: 1px solid var(--ls-line);
    background: #fff;
    object-fit: contain;
}

.ls-expedition-rewards li > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.ls-expedition-rewards small {
    color: var(--ls-muted);
}

.ls-expedition-result-card > footer {
    border-top: 1px solid var(--ls-soft-line);
    padding: 0.8rem 1rem 1rem;
}

.ls-expedition-history {
    margin-top: 1rem;
}

.ls-history-disclaimer {
    margin: -0.35rem 0 1rem;
    border-left: 5px solid var(--ls-gold);
    background: var(--ls-paper);
    color: var(--ls-muted);
    padding: 0.7rem 0.85rem;
}

.ls-expedition-history-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: end;
    gap: 0.65rem;
    margin-bottom: 1rem;
    border: 1px solid var(--ls-soft-line);
    background: var(--ls-paper);
    padding: 0.8rem;
}

.ls-expedition-history-filters label {
    display: grid;
    gap: 0.3rem;
    color: var(--ls-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
}

.ls-expedition-history-filters select,
.ls-expedition-history-filters input {
    width: 100%;
    min-height: 42px;
}

.ls-expedition-history-list,
.ls-expedition-record-members {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ls-expedition-history-list-user {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.ls-expedition-history-card,
.ls-expedition-record-member {
    min-width: 0;
    border: var(--ls-border);
    border-radius: 8px;
    background: var(--ls-paper);
    box-shadow: var(--ls-shadow);
    overflow: hidden;
}

.ls-expedition-history-card {
    display: grid;
    align-content: start;
}

.ls-expedition-history-card > header,
.ls-expedition-record-member > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: var(--ls-border);
    background: #e0d8c3;
    padding: 0.8rem 0.9rem;
}

.ls-expedition-history-card h3,
.ls-expedition-history-card p,
.ls-expedition-record-member h2,
.ls-expedition-record-member p {
    margin: 0;
}

.ls-expedition-history-card time {
    color: var(--ls-muted);
    font-size: 0.75rem;
}

.ls-expedition-history-card > div,
.ls-expedition-history-card > p,
.ls-expedition-record-member > div {
    border-bottom: 1px solid var(--ls-soft-line);
    padding: 0.75rem 0.9rem;
}

.ls-expedition-history-card > .ls-button {
    justify-self: start;
    margin: 0.85rem 0.9rem 0.95rem;
}

.ls-expedition-history-card-user > header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem;
    padding: 0.55rem 0.65rem;
}

.ls-expedition-history-card-user > header h3 {
    font-size: 0.92rem;
    line-height: 1.2;
}

.ls-expedition-history-card-user > header > a,
.ls-expedition-history-card-user time {
    font-size: 0.67rem;
}

.ls-expedition-history-card-user .ls-expedition-history-card-details {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    border-bottom: 1px solid var(--ls-soft-line);
    padding: 0;
}

.ls-expedition-history-card-user .ls-expedition-history-card-details > div {
    min-width: 0;
    padding: 0.55rem 0.6rem;
    font-size: 0.74rem;
}

.ls-expedition-history-card-user .ls-expedition-history-card-details > div + div {
    border-left: 1px solid var(--ls-soft-line);
}

.ls-expedition-history-card-user .ls-expedition-history-card-details p {
    margin-top: 0.3rem;
    overflow-wrap: anywhere;
}

.ls-expedition-history-card-user .ls-expedition-history-rewards {
    gap: 0.2rem;
    margin-top: 0.3rem;
    font-size: 0.72rem;
}

.ls-expedition-history-card-user .ls-expedition-history-rewards li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 0.3rem;
}

.ls-expedition-history-card-user .ls-expedition-history-rewards img {
    width: 28px;
    height: 28px;
}

.ls-expedition-history-card-user > .ls-button {
    min-height: 32px;
    margin: 0.55rem 0.6rem 0.65rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.7rem;
}

.ls-expedition-history-rewards {
    display: grid;
    gap: 0.4rem;
    margin: 0.45rem 0 0;
    padding: 0;
    list-style: none;
}

.ls-expedition-history-rewards li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
}

.ls-expedition-history-rewards li:not(.has-image) {
    grid-template-columns: minmax(0, 1fr);
}

.ls-expedition-history-rewards img {
    width: 42px;
    height: 42px;
    border: 1px solid var(--ls-soft-line);
    background: #fff;
    object-fit: contain;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.ls-expedition-history-rewards span {
    display: grid;
}

.ls-expedition-history-rewards small {
    color: var(--ls-muted);
}

.ls-expedition-history-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1rem;
    border: 1px solid var(--ls-soft-line);
    background: var(--ls-paper);
}

.ls-expedition-history-summary span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0.9rem;
}

.ls-expedition-history-summary span + span {
    border-left: 1px solid var(--ls-soft-line);
}

.ls-expedition-history-summary strong {
    color: var(--ls-navy);
    font-size: 1.3rem;
}

.ls-expedition-record-page .ls-page-heading {
    border-bottom: var(--ls-border);
    margin-bottom: 1rem;
}

.ls-expedition-record-member > div h3 {
    margin: 0 0 0.45rem;
}

.ls-expedition-record-member > div > ul:not(.ls-expedition-history-rewards) {
    margin: 0;
    padding-left: 1.15rem;
}

.ls-filter-bar {
    display: grid;
    grid-template-columns: minmax(210px, 2fr) repeat(auto-fit, minmax(135px, 1fr));
    align-items: end;
    gap: 0.55rem;
    border: var(--ls-border);
    border-top: 7px solid var(--ls-gold);
    background: var(--ls-paper);
    box-shadow: var(--ls-shadow);
    margin-bottom: 1.1rem;
    padding: 0.8rem;
}

.ls-filter-actions button,
.ls-filter-actions .ls-button {
    min-width: 82px;
}

.ls-filter-actions a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    border: 1px solid var(--ls-line);
    background: var(--ls-cream);
    color: var(--ls-ink);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.5rem 0.65rem;
    text-decoration: none;
}

.ls-results-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--ls-line);
    border-bottom: var(--ls-border);
    background: rgba(255, 254, 248, 0.55);
    margin-bottom: 1rem;
    padding: 0.45rem 0.6rem;
}

.ls-results-summary p {
    margin: 0;
}

/* Collectible archive cards */

.ls-shark-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.ls-shark-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(150px, 42%) minmax(0, 1fr);
    min-width: 0;
    border: var(--ls-border);
    border-radius: 8px;
    background: var(--ls-cream);
    box-shadow: 3px 3px 0 rgba(9, 43, 52, 0.2);
    overflow: hidden;
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.ls-shark-card::before {
    display: none;
}

.ls-shark-card > p {
    display: none;
}

.ls-shark-card:hover,
.ls-shark-card:focus-within {
    box-shadow: 6px 6px 0 rgba(9, 43, 52, 0.24);
    transform: translate(-2px, -2px);
}

.ls-shark-card-image {
    display: flex;
    min-height: 150px;
    align-items: center;
    justify-content: center;
    border: 1px inset var(--ls-line);
    background-color: #f5f8f2;
    background-image: none;
    color: var(--ls-line);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0.5rem;
    text-decoration: none;
    overflow: hidden;
}

.ls-shark-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.ls-shark-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    border-left: 1px solid var(--ls-line);
    padding: 0.7rem 0.8rem;
}

.ls-shark-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    font-size: 0.72rem;
}

.ls-shark-card-id {
    color: var(--ls-ocean-deep);
    font-family: Consolas, Monaco, monospace;
    font-weight: 700;
}

.ls-shark-card h3 {
    margin: 0.45rem 0 0.55rem;
    font-size: 1.22rem;
    text-transform: uppercase;
}

.ls-shark-card h3 a {
    color: var(--ls-ink);
    text-decoration: none;
}

.ls-shark-card-body > p {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 0.45rem;
    margin: 0.25rem 0 0;
    color: var(--ls-muted);
    font-size: 0.8rem;
}

.ls-shark-card-body > p > span:first-child {
    color: var(--ls-ink);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ls-shark-card-body > p a {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ls-shark-card-body > p br {
    display: none;
}

.ls-status-badge {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    border: 1px solid var(--ls-moss);
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    color: #294d37;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.4rem 0.75rem;
    text-transform: uppercase;
}

.ls-status-unlinked,
.ls-status-inactive {
    border-color: var(--ls-line);
    background: #fff;
    color: var(--ls-muted);
}

.ls-status-pending-link,
.ls-status-adoption {
    border-color: #9a7411;
    background: var(--ls-gold-pale);
    color: #674d0c;
}

.ls-status-trade-pending {
    border-color: #73736d;
    background: #fff;
    color: #2b2b2b;
}

@media (max-width: 760px) {
    .ls-shark-grid {
        grid-template-columns: 1fr;
    }
}

.ls-status-suspended,
.ls-status-locked {
    border-color: var(--ls-coral-dark);
    background: #f9e7e5;
    color: var(--ls-coral-dark);
}

.ls-empty-state {
    border: 2px dashed var(--ls-line);
    background: rgba(255, 254, 248, 0.72);
    padding: 1.1rem;
}

.ls-empty-state h2,
.ls-empty-state h3,
.ls-empty-state p {
    margin-top: 0;
}

.ls-empty-state p:last-child {
    margin-bottom: 0;
}

.ls-empty-state-page {
    min-height: 30vh;
}

.ls-pagination {
    margin-top: 1.2rem;
}

.ls-pagination > .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ls-pagination li {
    margin: 0;
}

.ls-pagination a.page-numbers,
.ls-pagination span.page-numbers {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border: var(--ls-border);
    background: var(--ls-paper);
    color: var(--ls-ink);
    font-weight: 700;
    padding: 0.32rem 0.55rem;
    text-decoration: none;
}

.ls-pagination span.current {
    background: var(--ls-gold-pale);
}

/* Shark and owner records */

.ls-profile-heading,
.ls-owner-heading,
.ls-shark-record-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: var(--ls-border);
    border-left: 9px solid var(--ls-coral);
    background: var(--ls-paper);
    box-shadow: var(--ls-shadow);
    padding: 0.85rem 1rem;
}

.ls-profile-heading h1 {
    margin: 0;
}

.ls-profile-heading .ls-profile-name {
    margin-top: 0.28rem;
}

.ls-owner-id {
    display: inline-block;
    color: var(--ls-muted);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.88rem;
    margin-left: 0.45rem;
}

.ls-shark-profile-overview {
    display: grid;
    grid-template-columns: minmax(280px, 1.08fr) minmax(280px, 0.92fr);
    gap: 1rem;
    align-items: stretch;
}

.ls-profile-image {
    display: flex;
    aspect-ratio: 4 / 3;
    align-items: center;
    justify-content: center;
    border: var(--ls-border);
    background: var(--ls-paper);
    box-shadow: var(--ls-shadow);
    margin: 0;
    overflow: hidden;
}

.ls-profile-image::before {
    position: absolute;
}

.ls-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.ls-profile-image-placeholder {
    color: var(--ls-line);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.4rem;
    font-weight: 700;
    text-align: center;
}

.ls-profile-image-placeholder p {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 0.85rem;
}

.ls-profile-data {
    border: var(--ls-border);
    border-top: 7px solid var(--ls-ocean);
    background: var(--ls-paper);
    padding: 0.9rem 1rem;
}

.ls-data-list {
    margin: 0;
}

.ls-data-list > div {
    display: grid;
    grid-template-columns: minmax(115px, 0.75fr) minmax(0, 1.25fr);
    gap: 0.7rem;
    border-bottom: 1px dotted var(--ls-line);
    padding: 0.55rem 0;
}

.ls-data-list > div:first-child {
    padding-top: 0;
}

.ls-data-list > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ls-data-list dt {
    color: var(--ls-muted);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ls-data-list dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.ls-data-list-wide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--ls-line);
    background: #f6faf7;
}

.ls-data-list-wide > div {
    display: block;
    border-bottom: 1px solid var(--ls-soft-line);
    padding: 0.8rem 0.9rem;
}

.ls-data-list-wide > div:nth-child(odd) {
    border-right: 1px solid var(--ls-soft-line);
}

.ls-data-list-wide > div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.ls-data-list-wide dt {
    margin-bottom: 0.18rem;
}

.ls-current-owner {
    border: 1px solid var(--ls-line);
    border-left: 7px solid var(--ls-coral);
    background: var(--ls-gold-pale);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 0.65rem 0.8rem;
}

.ls-table-wrap {
    max-width: 100%;
    border: var(--ls-border);
    background: var(--ls-paper);
    overflow-x: auto;
}

.ls-public-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.ls-public-table th,
.ls-public-table td {
    border-bottom: 1px solid var(--ls-soft-line);
    padding: 0.65rem 0.75rem;
}

.ls-public-table th {
    background: var(--ls-ocean);
    color: var(--ls-cream);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.ls-public-table tbody tr:nth-child(even) {
    background: #f3f8f5;
}

.ls-public-table tbody tr:last-child td {
    border-bottom: 0;
}

.ls-user-table th:first-child {
    width: 34%;
}

.ls-user-table th:not(:first-child) {
    width: 22%;
}

.ls-user-identity {
    color: #181d4d;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.ls-user-archive-button {
    display: inline-flex;
    min-width: 112px;
    min-height: 38px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ls-ocean-deep);
    border-radius: 6px;
    background: #181d4d;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.5rem 0.7rem;
    text-decoration: none;
}

.ls-user-archive-button:hover,
.ls-user-archive-button:focus-visible {
    background: var(--ls-ocean-deep);
    color: #fff;
}

.ls-user-archive-button.is-disabled {
    border-color: #aaa9a3;
    background: #d8d7d1;
    box-shadow: none;
    color: #686762;
    cursor: not-allowed;
}

.ls-expedition-baseline {
    border-left: 7px solid var(--ls-gold);
}

.ls-expedition-baseline > strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.4rem;
    line-height: 1;
}

.ls-expedition-baseline > p {
    max-width: 620px;
    color: var(--ls-muted);
    font-size: 0.88rem;
}

.ls-public-actions a,
.ls-public-actions button {
    min-height: 38px;
    border: var(--ls-border);
    background: var(--ls-cream);
    box-shadow: 2px 2px 0 rgba(9, 43, 52, 0.15);
    color: var(--ls-ink);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.48rem 0.65rem;
    text-decoration: none;
}

.ls-public-actions a:hover,
.ls-public-actions button:hover {
    background: var(--ls-gold-pale);
    color: var(--ls-ink);
}

.ls-copy-result {
    min-height: 1.4em;
    color: var(--ls-moss);
    font-size: 0.82rem;
    font-weight: 700;
}

.ls-trade-sides {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.ls-trade-party {
    min-width: 0;
    margin: 0;
    padding: 1.25rem;
    border: 1px solid #928d82;
    border-radius: 7px;
    background: #E0D8C3;
}

.ls-trade-party legend {
    float: left;
    width: 100%;
    margin: 0 0 1rem;
    border-bottom: 1px solid #b8b3a8;
    padding: 0 0 .55rem;
    font-size: 1.1rem;
    font-weight: 550;
}

.ls-trade-party legend + * {
    clear: both;
}

.ls-trade-party .ls-form-field + .ls-form-field {
    margin-top: 1rem;
}

.ls-checkbox-field input {
    width: auto;
    margin-right: .45rem;
}

.ls-trade-bbcode {
    box-sizing: border-box;
    width: 100%;
    margin-top: .5rem;
    font-family: Consolas, Monaco, monospace;
}

.ls-trade-steps {
    padding-left: 1.4rem;
}

@media (max-width: 760px) {
    .ls-trade-sides {
        grid-template-columns: 1fr;
    }
}

.ls-name-history {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ls-name-history li {
    border: 1px solid var(--ls-line);
    background: var(--ls-cream);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.8rem;
    padding: 0.28rem 0.45rem;
}

.ls-owner-history-summary {
    max-width: 520px;
}

/* Archive request */

.ls-archive-form-section {
    max-width: 760px;
}

.ls-archive-form {
    display: grid;
    gap: 0.9rem;
    border: 1px solid var(--ls-line);
    background: #f4f8f5;
    padding: 1rem;
}

.ls-shark-request-section {
    max-width: 980px;
}

.ls-shark-request-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ls-shark-request-form .ls-form-field-wide {
    grid-column: 1 / -1;
}

.ls-shark-request-form input[type="file"] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--ls-line);
    background: #fff;
    padding: 0.62rem;
}

.ls-proof-fieldset {
    display: grid;
    gap: 0.5rem;
    border-top: var(--ls-border);
    padding-top: 0.9rem;
}

.ls-proof-fieldset h3 {
    margin: 0;
    font-size: 1.05rem;
}

.ls-form-field label span {
    color: var(--ls-muted);
    font-weight: 400;
}

.ls-field-help {
    margin: -0.12rem 0 0.32rem;
    color: var(--ls-muted);
    font-size: 0.78rem;
}

.ls-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ls-notice {
    border: var(--ls-border);
    border-left-width: 7px;
    background: var(--ls-paper);
    padding: 1rem;
}

.ls-notice-success {
    border-left-color: var(--ls-moss);
}

.ls-notice-error {
    border-left-color: var(--ls-coral);
}

.ls-notice h3,
.ls-notice p:first-child {
    margin-top: 0;
}

/* Footer */

.ls-site-footer {
    width: min(var(--ls-shell-width), calc(100% - 32px));
    border: var(--ls-border);
    border-top: 5px solid var(--ls-gold);
    background: var(--ls-ocean-deep);
    color: #dce9e4;
    margin: 0 auto 2rem;
}

.ls-site-footer-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.25fr;
    gap: 1.4rem;
    padding: 1.35rem 1.7rem;
}

.ls-site-footer strong {
    color: var(--ls-cream);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
}

.ls-site-footer p {
    margin: 0.25rem 0 0;
    color: #c1d5cf;
    font-size: 0.8rem;
}

.ls-site-footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.2rem 0.8rem;
}

.ls-site-footer a {
    color: var(--ls-gold-pale);
    font-size: 0.78rem;
}

.ls-footer-community {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    padding-left: 1rem;
}

@media (max-width: 980px) {

    .ls-expedition-history-list-user {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ls-primary-nav {
        display: none;
    }

    .ls-nav-bar {
        padding: 0.35rem;
    }

    .ls-mobile-nav {
        display: block;
        position: relative;
    }

    .ls-mobile-nav > summary {
        display: flex;
        min-height: 40px;
        align-items: center;
        border: 1px solid rgba(255, 255, 255, 0.55);
        background: var(--ls-ocean);
        color: var(--ls-cream);
        cursor: pointer;
        font-weight: 700;
        padding: 0.45rem 0.7rem;
    }

    .ls-mobile-nav-links ul {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1px;
        border: 1px solid var(--ls-cream);
        background: rgba(255, 255, 255, 0.28);
        margin-top: 0.35rem;
    }

    .ls-mobile-nav-links a {
        display: flex;
        min-height: 42px;
        align-items: center;
        background: var(--ls-ocean-deep);
        color: var(--ls-cream);
        font-size: 0.75rem;
        font-weight: 700;
        padding: 0.45rem 0.65rem;
        text-decoration: none;
        text-transform: uppercase;
    }

    .ls-mobile-nav-links a[aria-current="page"] {
        background: var(--ls-gold);
        color: var(--ls-ocean-deep);
    }

    .ls-reference-layout {
        grid-template-columns: 1fr;
    }

    .ls-registry-heading {
        grid-template-columns: minmax(0, 1fr) 210px;
    }

    .ls-context-sidebar {
        position: static;
    }

    .ls-context-sidebar details:not([open]) + .ls-sidebar-related {
        display: none;
    }

    .ls-context-sidebar nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ls-context-sidebar nav li + li {
        border-top: 0;
    }

    .ls-context-sidebar nav li {
        border-top: 1px solid var(--ls-soft-line);
    }

    .ls-context-sidebar nav li:nth-child(even) {
        border-left: 1px solid var(--ls-soft-line);
    }

    .ls-shark-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ls-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ls-filter-field-search {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    body::before {
        width: 100%;
        border: 0;
    }

    .ls-site-header,
    .ls-site-main,
    .ls-content-page,
    .ls-home-main,
    .ls-site-footer {
        width: 100%;
        border-right: 0;
        border-left: 0;
    }

    .ls-site-footer {
        margin-bottom: 0;
    }

    .ls-masthead {
        min-height: 126px;
        gap: 0.8rem;
        padding: 0.9rem 1rem;
    }

    .ls-masthead-art {
        width: 94px;
        height: 86px;
        flex-basis: 94px;
    }

    .ls-moon-seal {
        width: 58px;
        height: 58px;
        font-size: 1.1rem;
    }

    .ls-art-slot-label,
    .ls-masthead-note {
        display: none;
    }

    .ls-brand-copy small {
        font-size: 0.62rem;
    }

    .ls-brand-copy strong {
        font-size: 2.1rem;
    }

    .ls-brand-copy > span {
        font-size: 0.8rem;
    }

    .ls-mobile-nav-links ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ls-site-main,
    .ls-content-page {
        padding: 1.1rem 1rem 2.2rem;
    }

    h1 {
        font-size: 2.1rem;
    }

    h2 {
        font-size: 1.45rem;
    }

    .ls-home-welcome {
        grid-template-columns: 1fr;
        padding: 1.25rem 1rem;
    }

    .ls-home-welcome h1 {
        font-size: 2.15rem;
    }

    .ls-home-spotlight {
        max-width: 460px;
    }

    .ls-home-panel-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .ls-home-featured-band,
    .ls-home-community {
        padding: 1.2rem 1rem;
    }

    .ls-search-grid,
    .ls-expedition-archive-grid,
    .ls-expedition-history-list:not(.ls-expedition-history-list-user),
    .ls-expedition-record-members,
    .ls-litter-archive-grid,
    .ls-litter-archive-results,
    .ls-shark-profile-overview,
    .ls-site-footer-inner {
        grid-template-columns: 1fr;
    }

    .ls-litter-archive-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ls-search-tool > p {
        min-height: 0;
    }

    .ls-data-list-wide {
        grid-template-columns: 1fr;
    }

    .ls-data-list-wide > div,
    .ls-data-list-wide > div:nth-child(odd),
    .ls-data-list-wide > div:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid var(--ls-soft-line);
    }

    .ls-data-list-wide > div:last-child {
        border-bottom: 0;
    }

    .ls-section-heading-inline,
    .ls-results-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .ls-profile-heading,
    .ls-owner-heading,
    .ls-shark-record-heading {
        align-items: flex-start;
    }

    .ls-expedition-result-card > header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ls-expedition-history-filters {
        grid-template-columns: 1fr;
    }

    .ls-expedition-history-list-user {
        grid-template-columns: 1fr;
    }

    .ls-expedition-history-filters .ls-button {
        justify-content: center;
        width: 100%;
    }

    .ls-expedition-history-summary {
        grid-template-columns: 1fr;
    }

    .ls-expedition-history-summary span + span {
        border-top: 1px solid var(--ls-soft-line);
        border-left: 0;
    }

    .ls-site-footer-inner {
        gap: 1rem;
    }

    .ls-footer-community {
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        border-left: 0;
        padding-top: 0.8rem;
        padding-left: 0;
    }
}

@media (max-width: 540px) {
    .ls-site-brand {
        gap: 0.65rem;
    }

    .ls-masthead-art {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
    }

    .ls-moon-seal {
        width: 48px;
        height: 48px;
        box-shadow: 2px 2px 0 var(--ls-coral);
        font-size: 0.9rem;
    }

    .ls-brand-copy small {
        display: none;
    }

    .ls-brand-copy strong {
        font-size: 1.72rem;
    }

    .ls-brand-copy > span {
        max-width: 180px;
        font-size: 0.7rem;
    }

    .ls-mobile-nav-links ul,
    .ls-context-sidebar nav ul,
    .ls-registry-stats,
    .ls-home-registry-stats,
    .ls-shark-grid,
    .ls-filter-bar,
    .ls-action-links {
        grid-template-columns: 1fr;
    }

    .ls-registry-heading,
    .ls-shark-request-form {
        grid-template-columns: 1fr;
    }

    .ls-shark-request-callout {
        min-height: 112px;
    }

    .ls-action-links a {
        min-height: 128px;
    }

    .ls-context-sidebar nav li:nth-child(even) {
        border-left: 0;
    }

    .ls-home-registry-stats > div + div {
        border-top: var(--ls-border);
        border-left: 0;
    }

    .ls-search-control {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .ls-search-control button {
        border-left: 2px solid var(--ls-ocean-deep);
    }

    .ls-owner-result,
    .ls-owner-result-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .ls-filter-field-search {
        grid-column: auto;
    }

    .ls-filter-actions,
    .ls-public-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ls-filter-actions > *,
    .ls-public-actions > * {
        width: 100%;
    }

    .ls-data-list > div {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .ls-profile-heading,
    .ls-owner-heading,
    .ls-shark-record-heading {
        flex-direction: column;
    }

    .ls-owner-id {
        display: block;
        margin: 0.2rem 0 0;
    }

    .ls-shark-card-body > p {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.1rem;
    }

    .ls-shark-card {
        grid-template-columns: minmax(110px, 42%) minmax(0, 1fr);
    }

    .ls-shark-card-image {
        min-height: 140px;
    }

    .ls-public-table,
    .ls-public-table tbody,
    .ls-public-table tr,
    .ls-public-table td {
        display: block;
        width: 100%;
    }

    .ls-public-table thead {
        display: none;
    }

    .ls-public-table tr {
        border-bottom: var(--ls-border);
        padding: 0.35rem 0;
    }

    .ls-public-table tr:last-child {
        border-bottom: 0;
    }

    .ls-public-table td {
        display: grid;
        grid-template-columns: minmax(95px, 0.8fr) minmax(0, 1.2fr);
        gap: 0.65rem;
        border-bottom: 1px solid var(--ls-soft-line);
        padding: 0.48rem 0.65rem;
    }

    .ls-public-table td::before {
        color: var(--ls-muted);
        content: attr(data-label);
        font-family: Consolas, Monaco, monospace;
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
    }

    .ls-wiki-article,
    .ls-profile-section,
    .ls-search-section {
        padding: 0.85rem;
    }

    .ls-page-artwork-placeholder {
        min-height: 120px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .ls-shark-card {
        transition: none;
    }
}
