:root {
    color-scheme: light;
    --ink: #17151a;
    --muted: #67616c;
    --paper: #faf8f4;
    --pink: #ff90e8;
    --rule: #ded9df;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font:
        16px/1.5 system-ui,
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 5vw;
    border-bottom: 1px solid var(--rule);
    gap: 20px;
}
a {
    color: inherit;
}
.brand {
    font-size: 25px;
    font-weight: 850;
    letter-spacing: -1px;
    text-decoration: none;
}
.brand span {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    margin-left: 14px;
    border-left: 1px solid var(--rule);
    padding-left: 16px;
}
main {
    max-width: 1550px;
    margin: auto;
    padding: 48px 5vw;
}
.eyebrow {
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--muted);
    font-weight: 700;
}
h1 {
    font-size: clamp(34px, 5vw, 66px);
    line-height: 1.03;
    letter-spacing: -0.045em;
    margin: 16px 0 20px;
}
#description {
    max-width: 780px;
    color: var(--muted);
}
#provenance {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font:
        12px/1.6 ui-monospace,
        monospace;
    overflow-wrap: anywhere;
}
#provenance > div {
    padding: 12px 16px;
    border: 1px solid var(--rule);
    border-radius: 12px;
    background: white;
    max-width: 100%;
}
#coverage {
    padding: 14px 0;
    background: transparent;
    font-size: 14px;
    color: #4f4a54;
}
.empty-state {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: clamp(28px, 6vw, 88px);
    overflow: hidden;
    margin: 34px 0 48px;
    padding: clamp(28px, 6vw, 72px);
    border: 1px solid #e4d9e5;
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 10%, #ffffff 0 10%, transparent 38%),
        linear-gradient(135deg, #fffdfa 0%, #f5eff8 58%, #ffe6f7 100%);
    box-shadow: 0 22px 60px rgb(67 36 77 / 10%);
}
.empty-state::after {
    position: absolute;
    width: 260px;
    height: 260px;
    right: -100px;
    bottom: -150px;
    border: 1px solid rgb(255 144 232 / 45%);
    border-radius: 50%;
    content: '';
}
.empty-art {
    position: relative;
    min-height: 210px;
}
.empty-orbit {
    position: absolute;
    border: 1px solid rgb(183 140 192 / 45%);
    border-radius: 50%;
    transform: rotate(-24deg);
}
.empty-orbit-one {
    inset: 19px 0 18px;
}
.empty-orbit-two {
    inset: 0 32px 38px 30px;
    border-color: rgb(255 144 232 / 58%);
    transform: rotate(58deg);
}
.empty-card {
    position: absolute;
    top: 28px;
    left: 50%;
    width: 112px;
    height: 154px;
    border: 1px solid #cdbbd1;
    border-radius: 16px;
    background: rgb(255 255 255 / 74%);
    box-shadow: 0 18px 30px rgb(86 51 94 / 14%);
    transform: translateX(-50%) rotate(-10deg);
}
.empty-card-back {
    background: rgb(255 255 255 / 42%);
    transform: translateX(-44%) rotate(10deg);
}
.empty-card-front {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    border-color: #17151a;
    background: #17151a;
    transform: translateX(-56%) rotate(-4deg);
}
.empty-card-front::before {
    width: 38px;
    height: 38px;
    border: 1px solid #ff90e8;
    border-radius: 50%;
    content: '';
}
.empty-card-front span {
    display: block;
    width: 48px;
    height: 3px;
    border-radius: 4px;
    background: #ff90e8;
}
.empty-card-front span:nth-child(2) {
    width: 30px;
    opacity: 0.65;
}
.empty-card-front span:nth-child(3) {
    width: 38px;
    opacity: 0.4;
}
.empty-copy {
    position: relative;
    z-index: 1;
    max-width: 600px;
}
.empty-kicker {
    margin: 0 0 14px;
    color: #8a668e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
}
.empty-state h2 {
    max-width: 600px;
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}
.empty-state #empty-message {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}
.empty-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
}
.empty-actions button {
    padding: 10px 16px;
    border: 1px solid #17151a;
    border-radius: 999px;
    background: #17151a;
    color: #fff;
    font-weight: 700;
}
.empty-actions button:hover {
    background: #3a2d3d;
}
.empty-status {
    color: #8a668e;
    font-size: 12px;
    font-weight: 700;
}
.filters-stack {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--paper);
}
.date-filter {
    padding: 0 0 28px;
}
.date-filter-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 9px;
}
.date-filter-head h2 {
    margin: 0;
    font-size: 12px;
}
.date-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 3px 2px 9px;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}
.date-tile {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    scroll-snap-align: start;
    border: 1px solid #aaa2ac;
    border-radius: 12px;
    background: white;
    font-size: 12px;
    font-weight: 750;
}
.date-tile strong,
.date-tile span {
    display: block;
}
.date-tile strong {
    font-size: 18px;
    line-height: 1;
}
.date-tile span {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1;
}
.date-tile:hover:not(:disabled),
.date-tile:focus-visible {
    border-color: var(--ink);
}
.date-tile:focus-visible {
    outline: 3px solid rgb(255 144 232 / 65%);
    outline-offset: 2px;
}
.date-tile.active {
    border-color: var(--ink);
    background: var(--ink);
    color: white;
}
.date-tile.unavailable {
    border-color: #e1dce2;
    background: #eeebee;
    color: #aaa4ac;
    cursor: not-allowed;
}
.date-tile-all {
    border-style: dashed;
}
.mode-row {
    padding: 20px 0 10px;
}
.filters-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 0 0 26px;
}
.filters {
    display: contents;
}
label {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    font-weight: 650;
    gap: 6px;
}
#locale-control {
    flex: 0 0 96px;
}
#source-control {
    flex: 0 0 170px;
}
#search-control {
    flex: 1 1 auto;
    min-width: 180px;
}
#flow-control {
    flex: 0 1 230px;
}
#status-control {
    flex: 0 1 170px;
}
.switch-control {
    position: relative;
    flex: 0 0 auto !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    white-space: nowrap;
}
.switch-control input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.switch {
    position: relative;
    width: 42px;
    height: 24px;
    flex: 0 0 auto;
    border: 1px solid #aaa2ac;
    border-radius: 999px;
    background: #ded9df;
    transition:
        background 120ms ease,
        border-color 120ms ease;
}
.switch::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 1px 3px rgb(23 21 26 / 20%);
    content: '';
    transition: transform 120ms ease;
}
.switch-control input:checked + .switch {
    border-color: #17151a;
    background: #17151a;
}
.switch-control input:checked + .switch::after {
    transform: translateX(18px);
}
.switch-control input:focus-visible + .switch {
    outline: 3px solid rgb(255 144 232 / 65%);
    outline-offset: 2px;
}
input,
select,
button {
    font: inherit;
    color: inherit;
}
input,
select {
    border: 1px solid #aaa2ac;
    border-radius: 8px;
    background: white;
    padding: 11px 13px;
    min-width: 0;
}
select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%2317151a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px 9px;
}
input[type='search'] {
    width: 100%;
}
button {
    cursor: pointer;
}
#screens {
    display: grid;
    gap: 24px;
}
#screens.all-screens {
    grid-template-columns: repeat(auto-fill, 235px);
    justify-content: start;
}
#screens.changed-screens {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.load-more {
    padding: 22px 0 8px;
    color: #4f4a54;
    text-align: center;
    font-size: 13px;
}
.tile {
    background: white;
    border: 1px solid var(--rule);
    border-radius: 16px;
    overflow: hidden;
    scroll-margin-top: 120px;
}
.tile:target {
    outline: 3px solid var(--pink);
}
.tile-head {
    padding: 18px 18px 12px;
}
.tile h2 {
    font-size: 16px;
    line-height: 1.35;
    margin: 6px 0;
}
.tag {
    display: inline-block;
    border-radius: 5px;
    background: #f0edf1;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 7px;
    font-weight: 750;
}
.tag.changed {
    background: #ffdbf6;
}
.tag.added {
    background: #d7f4db;
}
.tag.passed {
    background: #d7f4db;
}
.tag.failed {
    background: #ffecd4;
}
.tag.unavailable {
    background: #ffecd4;
}
.meta {
    font-size: 12px;
    color: var(--muted);
}
.pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
    background: #f1eef1;
}
.pair.single {
    display: flex;
    justify-content: center;
}
.shot {
    margin: 0;
    min-width: 0;
}
.pair.single .shot {
    width: 197px;
    flex: 0 0 197px;
}
figcaption {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 6px;
}
.shot button {
    padding: 0;
    border: 1px solid #d8d2da;
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
    width: 100%;
    display: block;
}
.pair.single .shot button,
.pair.single .shot img {
    width: 197px;
    height: 427px;
    object-fit: cover;
}
.journey-screens .pair.single .shot button,
.journey-screens .pair.single .shot img {
    height: auto;
    object-fit: contain;
}
.shot img {
    width: 100%;
    height: auto;
    display: block;
}
.missing {
    font-size: 12px;
    padding: 14px;
    border: 1px dashed #c5bcc8;
    border-radius: 8px;
    overflow-wrap: anywhere;
}
.tile-foot {
    font-size: 11px;
    padding: 10px 18px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
}
#versions {
    display: grid;
    gap: 34px;
    margin-bottom: 25px;
}
.version-group {
    display: grid;
    gap: 12px;
}
.version-date {
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--rule);
    font-size: 18px;
    letter-spacing: -0.015em;
}
.version-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}
.version {
    position: relative;
    display: flex;
    min-height: 230px;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 16px;
    overflow-wrap: anywhere;
    text-decoration: none;
    box-shadow: 0 8px 26px rgb(47 35 49 / 4%);
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}
.version:hover {
    transform: translateY(-2px);
    border-color: #c7bdc9;
    box-shadow: 0 14px 34px rgb(47 35 49 / 9%);
}
.version:focus-visible {
    outline: 3px solid rgb(255 144 232 / 65%);
    outline-offset: 3px;
}
.version-top,
.version-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.version-top {
    justify-content: space-between;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}
.version-kind {
    color: #7b627e;
}
.version-branch {
    margin-top: 22px;
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}
.version-meta {
    min-height: 27px;
    margin-top: 12px;
}
.version-pr,
.version-incomplete {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1edf2;
    color: #554c57;
    font-size: 11px;
    font-weight: 750;
}
.version-incomplete {
    background: #fff0dc;
}
.version-count {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: auto;
    padding-top: 24px;
    padding-right: 72px;
}
.version-count strong {
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.045em;
}
.version-count span {
    color: var(--muted);
    font-size: 12px;
}
.version-open {
    position: absolute;
    right: 20px;
    bottom: 21px;
    color: #7b627e;
    font-size: 11px;
    font-weight: 750;
}
dialog {
    border: 0;
    border-radius: 16px;
    padding: 22px;
    max-width: 1000px;
    width: 95vw;
    max-height: 95vh;
}
dialog::backdrop {
    background: #17121bdd;
}
.dialog-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.dialog-head h2 {
    font-size: 18px;
}
.dialog-head button,
.zoom-controls button {
    border: 1px solid var(--rule);
    background: white;
    border-radius: 8px;
    padding: 8px 13px;
}
.zoom-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
#zoom-images {
    display: flex;
    justify-content: center;
    gap: 20px;
}
#zoom-images img {
    max-width: 100%;
    width: 393px;
    object-fit: contain;
    align-self: flex-start;
}
#zoom-images .overlay {
    position: relative;
    max-width: 393px;
    width: 100%;
}
.overlay img {
    display: block;
    width: 100% !important;
}
.overlay img + img {
    position: absolute;
    inset: 0;
    clip-path: inset(0 50% 0 0);
}
footer {
    font-size: 12px;
    color: var(--muted);
    padding: 25px 5vw;
    border-top: 1px solid var(--rule);
}
.auth-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, 235px);
    gap: 24px;
    margin-top: 26px;
    overflow: hidden;
    max-height: 610px;
}
.auth-preview-card {
    height: 510px;
    padding: 18px;
    border: 1px solid var(--rule);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 50px rgb(48 31 51 / 8%);
}
.auth-preview-card span,
.auth-preview-card i,
.auth-preview-card b {
    display: block;
    border-radius: 999px;
    background: #e9e3e9;
}
.auth-preview-card span {
    width: 64%;
    height: 12px;
    margin-bottom: 12px;
}
.auth-preview-card i {
    width: 42%;
    height: 8px;
    margin-bottom: 20px;
}
.auth-preview-card b {
    width: 197px;
    height: 427px;
    border-radius: 10px;
    background:
        radial-gradient(circle at 50% 16%, #ff90e8 0 9%, transparent 9.5%),
        linear-gradient(150deg, #fff2fc 0%, #eee7f0 48%, #dcd2df 100%);
}
.auth-gate {
    position: fixed;
    z-index: 20;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: auto;
    background: rgb(250 248 244 / 38%);
    -webkit-backdrop-filter: blur(15px) saturate(0.82);
    backdrop-filter: blur(15px) saturate(0.82);
}
.auth-card {
    position: relative;
    width: min(100%, 480px);
    overflow: hidden;
    padding: clamp(34px, 6vw, 58px);
    border: 1px solid rgb(255 255 255 / 82%);
    border-radius: 30px;
    background: rgb(255 253 250 / 94%);
    box-shadow:
        0 34px 100px rgb(57 35 61 / 22%),
        inset 0 1px 0 #fff;
    text-align: center;
}
.auth-card::before,
.auth-card::after {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    content: '';
    pointer-events: none;
}
.auth-card::before {
    top: -150px;
    right: -85px;
    background: rgb(255 144 232 / 28%);
}
.auth-card::after {
    bottom: -175px;
    left: -110px;
    border: 1px solid rgb(255 144 232 / 48%);
}
.auth-mark {
    position: relative;
    width: 58px;
    height: 58px;
    margin: 0 auto 24px;
    border-radius: 18px;
    background: var(--ink);
    box-shadow: 0 12px 30px rgb(23 21 26 / 18%);
}
.auth-mark::before,
.auth-mark::after,
.auth-mark span {
    position: absolute;
    border-radius: 50%;
    background: var(--pink);
    content: '';
}
.auth-mark::before {
    width: 17px;
    height: 17px;
    top: 13px;
    left: 13px;
}
.auth-mark::after {
    width: 12px;
    height: 12px;
    right: 12px;
    bottom: 12px;
}
.auth-mark span {
    width: 8px;
    height: 8px;
    right: 14px;
    top: 12px;
    opacity: 0.65;
}
.auth-product {
    position: relative;
    margin: 0 0 13px;
    color: #7f687f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.17em;
}
.auth-card h2 {
    position: relative;
    margin: 0;
    font-size: clamp(38px, 6vw, 54px);
    line-height: 0.98;
    letter-spacing: -0.052em;
}
.auth-description {
    position: relative;
    max-width: 330px;
    margin: 20px auto 28px;
    color: var(--muted);
    font-size: 15px;
}
.google-sign-in {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    padding: 13px 20px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 12px 24px rgb(23 21 26 / 13%);
    transition:
        transform 150ms ease,
        background 150ms ease,
        box-shadow 150ms ease;
}
.google-sign-in:hover {
    background: #302931;
    box-shadow: 0 16px 34px rgb(23 21 26 / 20%);
    transform: translateY(-2px);
}
.google-sign-in:focus-visible {
    outline: 4px solid rgb(255 144 232 / 60%);
    outline-offset: 3px;
}
.google-sign-in svg {
    width: 21px;
    height: 21px;
    padding: 2px;
    border-radius: 50%;
    background: #fff;
}
.auth-domain {
    position: relative;
    margin: 18px 0 0;
    color: #746e77;
    font-size: 12px;
}
.auth-domain > span {
    display: inline-grid;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    place-items: center;
    border-radius: 50%;
    background: #f6ddf1;
    color: #6f496b;
    font-size: 10px;
    font-weight: 900;
}
.auth-required > header,
.auth-required > main,
.auth-required > footer {
    min-height: 20vh;
    pointer-events: none;
    user-select: none;
}
[hidden] {
    display: none !important;
}
@media (prefers-reduced-motion: reduce) {
    .google-sign-in {
        transition: none;
    }
}
@media (max-width: 600px) {
    .empty-state {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 28px;
    }
    .empty-art {
        min-height: 170px;
        transform: scale(0.84);
        transform-origin: left center;
    }
    header {
        padding: 18px;
    }
    .brand span {
        display: none;
    }
    main {
        padding: 30px 18px;
    }
    .auth-gate {
        padding: 14px;
    }
    .auth-card {
        border-radius: 24px;
    }
    .filters-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    #search-control {
        flex-basis: 100%;
    }
    #locale-control,
    #flow-control,
    #status-control {
        flex: 1 1 120px;
    }
    #screens {
        justify-content: center;
    }
    #screens.changed-screens {
        grid-template-columns: 1fr;
    }
    #screens.all-screens {
        grid-template-columns: 235px;
    }
    #zoom-images {
        gap: 8px;
    }
    #zoom-images > img {
        width: 48%;
    }
}

#provenance > div {
    flex: 1;
    min-width: min(100%, 320px);
}
details {
    margin: 16px 0;
    font-size: 13px;
}
summary {
    cursor: pointer;
    padding: 8px 0;
}
