:root {

    color-scheme: dark;

    font-family: Arial,Helvetica,sans-serif;

    color: #f6f3ee;

    background: #0d0c0a;

    --bg: #0d0c0a;

    --surface: #292621;

    --surface-2: #211f1b;

    --border: #484037;

    --gold: #d5a64d;

    --muted: #b9b2a7;

}

* {

    box-sizing: border-box;

}

body {

    margin: 0;

    min-height: 100vh;

    background: var(--bg);

    line-height: 1.5;

}

a {

    color: var(--gold);

}

.shell {

    width: min(1120px,calc(100% - 32px));

    margin-inline: auto;

}

.brand {

    font-family: Georgia,"Times New Roman",serif;

    font-size: 1.65rem;

    font-weight: 700;

    color: white;

    text-decoration: none;

}

.brand-mark {

    display: none;

}

.main-content {

    padding: 50px 0 65px;

    min-height: calc(100vh - 140px);

}

.view[hidden],
.notice[hidden] {

    display: none !important;

}

.footer {

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

    padding: 20px 0;

    color: var(--muted);

    font-size: .85rem;

    text-align: center;

}

/* Logged-out welcome: deliberately no website-style header/footer */

body:has(#view-welcome:not([hidden])) .site-header,
body:has(#view-welcome:not([hidden])) .footer {

    display: none;

}

body:has(#view-welcome:not([hidden])) .main-content {

    width: 100%;

    min-height: 100dvh;

    padding: 0 20px;

    display: flex;

    justify-content: center;

    align-items: center;

}

#view-welcome {

    width: 100%;

}

.welcome-screen {

    width: min(100%,520px);

    margin: 36px auto 48px;

    text-align: center;

}

.welcome-brand {

    font-family: Georgia,"Times New Roman",serif;

    color: #fff;

    font-size: clamp(2rem,6vw,2.65rem);

    font-weight: 700;

    line-height: 1.15;

    margin: 0 0 28px;

}

.welcome-card {

    background: var(--surface);

    border: 1px solid #554b3c;

    border-radius: 20px;

    padding: clamp(25px,5vw,44px);

    box-shadow: 0 22px 70px #0005;

}

.welcome-emblem {

    display: grid;

    place-items: center;

    width: 65px;

    height: 65px;

    border: 1px solid #8b6a35;

    border-radius: 18px;

    color: var(--gold);

    font-family: Georgia,serif;

    font-size: 1.6rem;

    font-weight: 700;

    margin: 0 auto 22px;

    background: #211d17;

}

.welcome-card h1 {

    font-family: Georgia,"Times New Roman",serif;

    font-size: clamp(1.65rem,4vw,2.2rem);

    font-weight: 700;

    line-height: 1.2;

    letter-spacing: -.02em;

    margin: 0 0 17px;

    color: #fff;

}

.welcome-description {

    color: var(--muted);

    font-size: 1rem;

    line-height: 1.7;

    margin: 0 auto 27px;

    max-width: 380px;

}

.welcome-actions {

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

    padding-top: 26px;

    display: grid;

    gap: 12px;

}

.welcome-tagline {

    margin: 23px 0 0;

    color: #a79d8f;

    font-size: .85rem;

}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    border-radius: 11px;

    border: 1px solid transparent;

    padding: 12px 18px;

    min-height: 48px;

    font: 700 .98rem Arial,Helvetica,sans-serif;

    text-decoration: none;

    cursor: pointer;

    transition: background .15s,border-color .15s;

}

.btn-primary {

    background: var(--gold);

    color: #16120d;

}

.btn-primary:hover {

    background: #ebbd68;

    color: #16120d;

}

.btn-secondary,
.btn-google {

    background: transparent;

    border-color: #897047;

    color: #f5f1ea;

}

.btn-secondary:hover,
.btn-google:hover {

    background: #3b3428;

    color: #fff;

}

.btn:disabled {

    opacity: .6;

    cursor: wait;

}

/* Existing registration, login and dashboard remain functional; visual theme matches welcome */

h1 {

    font-family: Georgia,"Times New Roman",serif;

    font-size: clamp(2rem,4vw,2.7rem);

    margin: 0 0 20px;

}

h2 {

    font-size: 1.2rem;

    margin: 0 0 12px;

}

.panel {

    background: var(--surface);

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

    border-radius: 18px;

    padding: 34px;

}

.narrow {

    max-width: 520px;

    margin-inline: auto;

}

.form-stack {

    display: grid;

    gap: 17px;

}

.form-stack label {

    display: grid;

    gap: 7px;

    font-weight: 650;

    font-size: .92rem;

}

.form-stack input {

    width: 100%;

    background: #171511;

    color: #fff;

    border: 1px solid #63594b;

    border-radius: 9px;

    padding: 12px 13px;

    font: inherit;

}

.form-stack input:focus {

    outline: 2px solid #d5a64d77;

    border-color: var(--gold);

}

.form-stack input[readonly] {

    opacity: .75;

}

.form-stack small,
.small-muted {

    color: var(--muted);

    font-size: .9rem;

    font-weight: 400;

}

.two-fields {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 13px;

}

.or-divider {

    display: flex;

    align-items: center;

    gap: 13px;

    color: var(--muted);

    margin: 20px 0;

}

.or-divider:before,
.or-divider:after {

    content: "";

    flex: 1;

    height: 1px;

    background: var(--border);

}

.btn-google {

    width: 100%;

}

.form-foot {

    text-align: center;

    margin: 23px 0 0;

}

.notice {

    border: 1px solid #826a40;

    background: #30291d;

    border-radius: 10px;

    padding: 14px 18px;

    margin-bottom: 25px;

}

.notice.error {

    border-color: #ba6767;

    background: #422424;

}

.dashboard-heading {

    display: flex;

    align-items: start;

    justify-content: space-between;

    gap: 20px;

}

.dashboard-intro {

    margin: 12px 0 32px;

}

.tile-grid {

    display: grid;

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

    gap: 18px;

}

.tile {

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

    background: var(--surface);

    border-radius: 16px;

    padding: 26px;

}

.tile p {

    color: var(--muted);

    margin: 0 0 22px;

}

.tile-symbol {

    display: block;

    color: var(--gold);

    font-size: 2rem;

    margin-bottom: 14px;

}

.coming-soon {

    color: var(--gold);

    font-size: .83rem;

    font-weight: 700;

}

.account-panel {

    margin-top: 22px;

}

.account-panel p {

    margin: 0 0 18px;

}

@media (max-width:650px) {

    .main-content {

        padding-top: 30px;

    }

    .panel {

        padding: 23px;

    }

    .two-fields,
    .tile-grid {

        grid-template-columns: 1fr;

    }

    .dashboard-heading {

        align-items: start;

        flex-direction: column;

    }

    .welcome-screen {

        margin: 24px auto;

    }

    .welcome-brand {

        margin-bottom: 22px;

    }

}

/* Authentication screens — same visual identity as the welcome screen */

body:has(#view-login:not([hidden])) .site-header,
body:has(#view-register:not([hidden])) .site-header,
body:has(#view-google-signup:not([hidden])) .site-header,
body:has(#view-login:not([hidden])) .footer,
body:has(#view-register:not([hidden])) .footer,
body:has(#view-google-signup:not([hidden])) .footer {

    display: none;

}

body:has(#view-login:not([hidden])) .main-content,
body:has(#view-register:not([hidden])) .main-content,
body:has(#view-google-signup:not([hidden])) .main-content {

    width: 100%;

    min-height: 100dvh;

    padding: 28px 20px 55px;

}

.auth-screen {

    max-width: 620px;

    margin: 0 auto;

    text-align: center;

}

.auth-brand {

    display: inline-block;

    font-family: Georgia,"Times New Roman",serif;

    font-size: clamp(2rem,6vw,2.65rem);

    font-weight: 700;

    color: #fff;

    text-decoration: none;

    margin: 12px 0 28px;

}

.auth-brand:hover {

    color: #fff;

}

.auth-card {

    width: min(100%,520px);

    margin: 0 auto;

    background: var(--surface);

    border: 1px solid #554b3c;

    border-radius: 20px;

    padding: clamp(24px,5vw,42px);

    box-shadow: 0 22px 70px #0005;

    text-align: left;

}

.auth-card-wide {

    width: min(100%,620px);

}

.auth-symbol {

    display: grid;

    place-items: center;

    width: 56px;

    height: 56px;

    border: 1px solid #8b6a35;

    border-radius: 15px;

    background: #211d17;

    color: var(--gold);

    font-family: Georgia,serif;

    font-weight: 700;

    font-size: 1.3rem;

    margin: 0 auto 16px;

}

.auth-eyebrow {

    text-align: center;

    color: var(--gold);

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

    font-size: .75rem;

    margin: 0 0 5px;

}

.auth-card h1 {

    text-align: center;

    font-size: clamp(1.7rem,4vw,2.2rem);

    margin: 0 0 7px;

    color: #fff;

}

.auth-intro {

    text-align: center;

    color: var(--muted);

    font-size: .95rem;

    margin: 0 0 26px;

}

.auth-card .form-stack {

    gap: 15px;

}

.auth-card .form-stack label {

    color: #f5f1ea;

    font-weight: 600;

}

.auth-card .form-stack input {

    min-height: 46px;

    background: #171511;

    border: 1px solid #63594b;

    border-radius: 10px;

    color: #fff;

}

.auth-card .form-stack input:focus-visible {

    outline: 2px solid var(--gold);

    outline-offset: 1px;

}

.auth-card .form-stack small {

    font-size: .78rem;

    color: #b9b2a7;

}

.auth-card .form-stack .btn {

    width: 100%;

    margin-top: 7px;

}

.auth-card .form-foot {

    font-size: .9rem;

    color: var(--muted);

}

.auth-card .form-foot a {

    font-weight: 700;

}

.auth-card .btn-google {

    min-height: 48px;

}

.google-g {

    font-family: Arial,sans-serif;

    font-size: 1.25rem;

    font-weight: 700;

    color: #fff;

}

.auth-back {

    display: inline-block;

    margin: 24px auto 0;

    color: #b9b2a7;

    text-decoration: none;

    font-size: .9rem;

}

.auth-back:hover {

    color: var(--gold);

}

@media (max-width:650px) {

    .auth-card {

        padding: 24px 20px;

    }

    .auth-card-wide .two-fields {

        grid-template-columns: 1fr;

    }

    .auth-brand {

        margin-top: 5px;

    }

}

/* Sprint 01 authentication polish */

.auth-card .form-stack input[type="password"],
.auth-card .form-stack input[type="email"],
.auth-card .form-stack input[type="text"] {

    display: block;

    width: 100%;

    min-width: 0;

    min-height: 46px;

    padding: 12px 13px;

    margin: 0;

    box-sizing: border-box;

    background: #171511;

    border: 1px solid #63594b;

    border-radius: 10px;

    color: #fff;

    font: inherit;

    appearance: none;

    -webkit-appearance: none;

}

.auth-card .form-stack input:focus-visible {

    outline: 2px solid var(--gold);

    outline-offset: 1px;

}

.auth-card .two-fields > label {

    min-width: 0;

}

.auth-card .notice,
.welcome-card .notice {

    margin: 0 0 20px;

    text-align: left;

    font-size: .92rem;

}

/* Keep paired fields aligned even when one label has helper text. */

.auth-card .two-fields {

    align-items: start;

}

.auth-card .two-fields > label {

    align-self: start;

    grid-template-rows: auto auto;

}

.auth-card .two-fields > label > input {

    height: 46px;

}

.auth-card .two-fields > label > small {

    line-height: 1.35;

}

/* Sprint 01: authenticated app shell and Home */

body:has(#view-dashboard:not([hidden])) .footer,
body:has(#view-profile:not([hidden])) .footer {

    display: none;

}

body:has(#view-dashboard:not([hidden])) .main-content,
body:has(#view-profile:not([hidden])) .main-content {

    padding-top: 105px;

    padding-bottom: 64px;

    min-height: 100dvh;

}

.header-inner {

    min-height: 72px;

}

.site-nav .app-nav-link {

    display: flex;

    align-items: center;

    gap: 7px;

    padding: 10px 13px;

    border-radius: 10px;

    color: #b9b2a7;

    font-size: .92rem;

    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

}

.site-nav .app-nav-link:hover {

    background: #292621;

    color: #fff;

}

.site-nav .app-nav-link.is-active {

    background: #30291d;

    color: var(--gold);

}

.app-page-heading {

    margin: 0 0 27px;

}

.app-kicker {

    margin: 0 0 5px;

    color: var(--gold);

    font-size: .74rem;

    font-weight: 700;

    letter-spacing: .14em;

}

.app-page-heading h1 {

    font-size: clamp(2rem,4vw,2.7rem);

    margin: 0 0 9px;

}

.app-greeting {

    color: #f1e7d8;

    font-size: 1.12rem;

    font-weight: 600;

    margin: 0 0 3px;

}

.app-subtitle {

    color: var(--muted);

    margin: 0;

    font-size: .97rem;

}

.home-tiles {

    display: grid;

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

    gap: 16px;

}

.home-tile {

    display: flex;

    flex-direction: column;

    min-width: 0;

    min-height: 195px;

    padding: 22px;

    border: 1px solid #514536;

    border-radius: 16px;

    background: var(--surface);

}

.home-tile-icon {

    font-size: 2rem;

    color: var(--gold);

    line-height: 1;

    margin-bottom: 20px;

}

.home-tile h2 {

    font-size: 1.08rem;

    line-height: 1.25;

    margin: 0 0 7px;

    color: #fff;

}

.home-tile p {

    font-size: .88rem;

    line-height: 1.5;

    color: var(--muted);

    margin: 0 0 18px;

}

.home-tile-status {

    font-size: .72rem;

    color: #cba65e;

    font-weight: 700;

    margin-top: auto;

    letter-spacing: .04em;

    text-transform: uppercase;

}

.app-empty-state {

    background: var(--surface);

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

    border-radius: 16px;

    text-align: center;

    padding: 55px 25px;

    max-width: 720px;

    margin: 30px auto;

}

.app-empty-icon {

    display: block;

    color: var(--gold);

    font-size: 2.5rem;

    margin-bottom: 10px;

}

.app-empty-state h2 {

    font-size: 1.25rem;

    color: #fff;

}

.app-empty-state p {

    color: var(--muted);

    margin: 0;

}

.profile-card {

    display: flex;

    align-items: center;

    gap: 20px;

    background: var(--surface);

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

    border-radius: 16px;

    padding: 25px;

    margin-bottom: 17px;

}

.profile-avatar {

    display: grid;

    place-items: center;

    flex: none;

    width: 70px;

    height: 70px;

    border: 1px solid #806334;

    background: #211d17;

    border-radius: 50%;

    font-family: Georgia,serif;

    color: var(--gold);

    font-size: 1.4rem;

}

.profile-summary h2 {

    font-size: 1.4rem;

    margin: 0 0 4px;

}

.profile-summary p {

    margin: 0;

    overflow-wrap: anywhere;

}

.profile-actions {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;

}

.profile-actions h2,
.profile-actions p {

    margin: 0;

}

.profile-actions .btn {

    width: auto;

}

@media (max-width:950px) {

    .home-tiles {

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

    }

}

@media (max-width:700px) {

    .home-tiles {

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

        gap: 11px;

    }

    .home-tile {

        padding: 17px;

        min-height: 185px;

    }

    .home-tile-icon {

        margin-bottom: 14px;

    }

    body:has(#view-dashboard:not([hidden])) .main-content,
    body:has(#view-profile:not([hidden])) .main-content {

        padding-top: 105px;

    }

}

@media (max-width:390px) {

    .home-tile h2 {

        font-size: .96rem;

    }

    .home-tile p {

        font-size: .8rem;

    }

}

/* Font Awesome icon sizing */

/* Home screen: full-width welcome tile and three-column feature grid */

#main-content:focus {

    outline: none;

}

.home-welcome {

    background: var(--surface);

    border: 1px solid #514536;

    border-radius: 16px;

    padding: 30px 32px;

    margin: 0 0 16px;

}

.home-welcome-eyebrow {

    color: var(--gold);

    font-size: .76rem;

    font-weight: 700;

    letter-spacing: .1em;

    margin: 0 0 8px;

}

.home-welcome h1 {

    color: #fff;

    font-family: Georgia,"Times New Roman",serif;

    font-size: clamp(1.65rem,3vw,2.2rem);

    line-height: 1.2;

    margin: 0 0 9px;

    overflow-wrap: anywhere;

}

.home-welcome-description {

    color: var(--muted);

    font-size: .97rem;

    margin: 0;

}

@media (max-width:700px) {

    .home-welcome {

        padding: 24px 22px;

        margin-bottom: 12px;

    }

}

@media (max-width:480px) {

    .home-tiles {

        grid-template-columns: 1fr;

    }

    .home-tile {

        min-height: 165px;

    }

}

.home-tile-icon i,
.app-empty-icon i {

    display: inline-block;

    line-height: 1;

}

/* My Profile view */

/* Profile view; scoped so it cannot alter other screens. */

.profile-page {

    margin: auto;

}

.profile-cover {

    height: 190px;

    position: relative;

    overflow: hidden;

    background: linear-gradient(125deg,#3c3020,#211f1b 65%,#4d3822);

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

    border-radius: 18px 18px 0 0;

    display: grid;

    place-items: center;

}

.profile-cover>img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.profile-cover-placeholder {

    color: var(--gold);

    font-size: 2.3rem;

}

.profile-overview {

    display: flex;

    gap: 20px;

    align-items: center;

    background: var(--surface);

    padding: 18px 25px 22px;

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

    border-top: 0;

    border-radius: 0 0 18px 18px;

}

.profile-page .profile-avatar {

    width: 90px;

    height: 90px;

    margin-top: -56px;

    position: relative;

    z-index: 1;

    overflow: hidden;

    background: #211d17;

    border: 3px solid var(--gold);

    border-radius: 50%;

    display: grid;

    place-items: center;

    flex-shrink: 0;

}

.profile-avatar img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.profile-overview-text {

    min-width: 0;

}

.profile-overview h1 {

    font-size: 1.65rem;

    margin: 0 0 5px;

}

.profile-overview p {

    margin: 0 0 4px;

}

.profile-private-identity {

    margin: 12px 0 22px;

}

.profile-tabs {

    display: flex;

    gap: 8px;

    flex-wrap: wrap;

    margin: 20px 0 14px;

}

.profile-tab {

    background: #211f1b;

    color: var(--muted);

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

    border-radius: 10px;

    padding: 11px 16px;

    font: 600 .9rem Arial,sans-serif;

    cursor: pointer;

}

.profile-tab.is-active,
.profile-tab:hover {

    background: #30291d;

    color: var(--gold);

    border-color: #806334;

}

.profile-section {

    background: var(--surface);

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

    border-radius: 16px;

    padding: 26px;

}

.profile-section[hidden] {

    display: none;

}

.profile-section h2 {

    margin: 0 0 20px;

}

.profile-section h3 {

    margin: 0 0 12px;

}

.profile-section hr {

    border: 0;

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

    margin: 28px 0;

}

.profile-section textarea {

    width: 100%;

    background: #171511;

    border: 1px solid #63594b;

    color: #fff;

    border-radius: 10px;

    padding: 12px 13px;

    font: inherit;

    resize: vertical;

}

.profile-section textarea:focus {

    outline: 2px solid var(--gold);

}

.profile-section .form-stack {

    max-width: 640px;

}

.profile-privacy-row {

    display: flex !important;

    flex-direction: row;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 18px;

    background: #211f1b;

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

    border-radius: 10px;

}

.profile-privacy-row span {

    display: grid;

    gap: 5px;

}

.profile-privacy-row small {

    font-weight: 400;

    line-height: 1.4;

}

.profile-privacy-row input {

    width: 23px !important;

    height: 23px;

    flex: none;

    accent-color: var(--gold);

}

.profile-image-forms {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

    margin-top: 26px;

}

.profile-image-form {

    padding: 20px;

    background: #211f1b;

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

    border-radius: 12px;

}

.profile-section input[type=file] {

    padding: 8px;

}

.profile-section .btn {

    width: fit-content;

}

.profile-page #profile-feedback[hidden] {

    display: none !important;

}

.profile-page #profile-feedback {

    margin: 16px 0;

}

@media (max-width:650px) {

    .profile-cover {

        height: 140px;

    }

    .profile-overview {

        padding: 15px;

        gap: 12px;

    }

    .profile-page .profile-avatar {

        width: 70px;

        height: 70px;

        margin-top: -38px;

    }

    .profile-overview h1 {

        font-size: 1.35rem;

    }

    .profile-section {

        padding: 20px 16px;

    }

    .profile-image-forms {

        grid-template-columns: 1fr;

    }

}

/* Collections: feed-style list and dedicated application screens. */

body:has(#view-collections:not([hidden])) .footer,
body:has(#view-collection:not([hidden])) .footer,
body:has(#view-collection-create:not([hidden])) .footer {

    display: none;

}

body:has(#view-collections:not([hidden])) .main-content,
body:has(#view-collection:not([hidden])) .main-content,
body:has(#view-collection-create:not([hidden])) .main-content {

    padding-top: 105px;

    min-height: 100dvh;

}

.collections-feed {


    margin: 0 auto;

    display: grid;

    gap: 18px;

}

.collection-feed-card {

    display: block;

    text-decoration: none;

    color: inherit;

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

    background: var(--surface);

    border-radius: 16px;

    overflow: hidden;

    transition: border-color .15s;

}

.collection-feed-card:hover {

    border-color: var(--gold);

    color: inherit;

}

.collection-feed-cover,
.collection-cover-wrap {

    height: 240px;

    background: linear-gradient(135deg,#3b2d1e,#211f1b);

    display: grid;

    place-items: center;

    overflow: hidden;

}

.collection-feed-cover img,
.collection-cover-wrap img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.collection-feed-cover i,
.collection-cover-wrap span {

    color: var(--gold);

    font-size: 2.8rem;

}

.collection-feed-body {

    padding: 22px 25px;

}

.collection-feed-body h2 {

    font-size: 1.4rem;

    margin: 7px 0;

}

.collection-feed-body p {

    color: var(--muted);

    margin: 0 0 15px;

    white-space: pre-wrap;

    overflow-wrap: anywhere;

}

.collection-feed-meta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: var(--muted);

    font-size: .85rem;

}

.collection-form {


    margin: auto;

}

.collection-form textarea,
.collection-form select {

    width: 100%;

    background: #171511;

    color: #fff;

    border: 1px solid #63594b;

    border-radius: 9px;

    padding: 12px 13px;

    font: inherit;

}

.collection-form textarea:focus,
.collection-form select:focus {

    outline: 2px solid var(--gold);

}

.collection-visibility {

    display: flex !important;

    flex-direction: row;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding: 17px;

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

    border-radius: 11px;

    background: var(--surface-2);

}

.collection-visibility span {

    display: grid;

    gap: 4px;

}

.collection-visibility input {

    width: 24px !important;

    height: 24px;

    accent-color: var(--gold);

}

.collection-edit-cover {

    max-width: 100%;

    max-height: 200px;

    object-fit: cover;

    border-radius: 12px;

}

.form-actions {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;

    margin-top: 10px;

}

.btn-danger {

    background: #5a2828;

    border-color: #a65b5b;

    color: #fff;

}

.btn-danger:hover {

    background: #763232;

}

.form-actions [data-form-delete] {

    margin-left: auto;

}

.collection-detail {

    margin: auto;

}

.collection-back {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 18px;

    color: var(--muted);

    text-decoration: none;

}

.collection-back:hover {

    color: var(--gold);

}

.collection-detail-card {

    background: var(--surface);

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

    border-radius: 18px;

    overflow: hidden;

}

.collection-cover-wrap {

    height: 270px;

}

.collection-detail-body {

    padding: 25px;

}

.collection-detail-top {

    display: flex;

    justify-content: space-between;

    gap: 18px;

    align-items: start;

}

.collection-detail-body h1 {

    margin: 0 0 12px;

}

.collection-detail-body .app-subtitle {

    white-space: pre-wrap;

    overflow-wrap: anywhere;

}

.collection-entries-heading {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 14px;

    margin: 30px 0 0;

}

.collection-entries-heading h2 {

    margin: 0;

}

.collection-entries-heading .btn:disabled {

    opacity: .55;

    cursor: not-allowed;

}

.collections-feed:empty {

    display: none;

}

#collections-empty[hidden],
#collection-entries-empty[hidden],
#collection-form-cover[hidden] {

    display: none !important;

}

@media (max-width:700px) {

    .collection-feed-cover,
    .collection-cover-wrap {

        height: 180px;

    }

    .collection-feed-body,
    .collection-detail-body {

        padding: 18px;

    }

    .collection-detail-top {

        align-items: start;

    }

    .collection-entries-heading .btn {

        padding: 10px;

    }

    .form-actions .btn {

        flex: 1;

    }

    .form-actions [data-form-delete] {

        margin-left: 0;

    }

}

a.home-tile {

    color: inherit;

    text-decoration: none;

    cursor: pointer;

}

a.home-tile:hover,
a.home-tile:focus-visible {

    border-color: var(--gold);

    background: #30291d;

}

a.home-tile:focus-visible {

    outline: 2px solid var(--gold);

    outline-offset: 3px;

}

/* Clickable Home tiles */

a.home-tile,
a.home-tile:link,
a.home-tile:visited,
a.home-tile:hover,
a.home-tile:active {

    color: inherit;

    text-decoration: none;

}

a.home-tile h2,
a.home-tile p {

    color: inherit;

    text-decoration: none;

}

a.home-tile h2 {

    color: #fff;

}

a.home-tile p {

    color: var(--muted);

}

/* Collection overview: compact 360v7-style identity card. */

.collection-detail-card {

    display: flex;

    align-items: stretch;

    gap: 0;

    min-height: 130px;

}

.collection-detail-card .collection-cover-wrap {

    flex: 0 0 116px;

    width: 116px;

    height: auto;

    min-height: 130px;

    border-radius: 0;

    background: #302b24;

}

.collection-detail-card .collection-cover-wrap img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.collection-detail-card .collection-cover-wrap span {

    font-size: 2rem;

}

.collection-detail-card .collection-detail-body {

    display: flex;

    align-items: center;

    flex: 1;

    min-width: 0;

    padding: 22px 26px;

}

.collection-detail-card .collection-detail-top {

    display: block;

    min-width: 0;

}

.collection-detail-card .collection-detail-body h1 {

    font-size: clamp(1.3rem,2.4vw,1.85rem);

    line-height: 1.25;

    margin: 5px 0 8px;

    overflow-wrap: anywhere;

}

.collection-detail-card .collection-detail-body .app-subtitle {

    font-size: .9rem;

}

.collection-detail-card .collection-detail-body .app-kicker {

    font-size: .7rem;

}

.collection-entries-heading {

    margin-top: 24px;

}

@media (max-width:650px) {

    .collection-detail-card .collection-cover-wrap {

        flex-basis: 82px;

        width: 82px;

        min-height: 110px;

    }

    .collection-detail-card .collection-detail-body {

        padding: 16px;

    }

    .collection-detail-card .collection-detail-body h1 {

        font-size: 1.3rem;

    }

}

/* Collections feed: restore dashboard-style header and compact cards */

.collections-page-header {

    display: flex;

    align-items: center;

    gap: 16px;

    background: var(--surface);

    border: 1px solid #514536;

    border-radius: 16px;

    padding: 20px 24px;

    margin: 0 0 22px;

}

.collections-page-icon {

    display: grid;

    place-items: center;

    flex: 0 0 46px;

    width: 46px;

    height: 46px;

    background: #39342d;

    color: var(--gold);

    border-radius: 11px;

    font-size: 1.45rem;

}

.collections-page-heading {

    min-width: 0;

}

.collections-page-heading h1 {

    font-size: clamp(1.45rem,2.6vw,1.85rem);

    line-height: 1.25;

    margin: 0 0 4px;

    color: #fff;

}

.collections-page-heading p {

    margin: 0;

    color: var(--muted);

    font-size: .91rem;

}

#view-collections .collections-feed {

    max-width: none;

    gap: 16px;

}

#view-collections .collection-feed-card {

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

    background: var(--surface);

    border-radius: 16px;

    overflow: hidden;

    transition: border-color .15s;

}

#view-collections .collection-feed-card:hover {

    border-color: var(--gold);

}

#view-collections .collection-feed-title {

    font-family: Georgia,"Times New Roman",serif;

    font-size: 1.38rem;

    line-height: 1.3;

    margin: 0;

    padding: 16px 22px 12px;

    color: #fff;

    overflow-wrap: anywhere;

}

#view-collections .collection-feed-cover {

    height: 145px;

    overflow: hidden;

    background: linear-gradient(125deg,#33291d,#211f1b);

    display: grid;

    place-items: center;

}

#view-collections .collection-feed-cover img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

#view-collections .collection-feed-cover i {

    font-size: 2.2rem;

    color: var(--gold);

}

#view-collections .collection-feed-body {

    padding: 18px 22px 21px;

}

#view-collections .collection-feed-privacy {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    border: 1px solid #66533a;

    border-radius: 999px;

    background: #342c20;

    color: #e5bc70;

    padding: 4px 10px;

    font-size: .78rem;

    font-weight: 600;

}

#view-collections .collection-feed-description {

    color: var(--muted);

    font-size: .9rem;

    line-height: 1.5;

    margin: 12px 0 0;

    white-space: pre-wrap;

    overflow-wrap: anywhere;

}

#view-collections .collection-feed-progress {

    margin-top: 19px;

}

#view-collections .collection-feed-progress-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    color: var(--muted);

    font-size: .81rem;

    margin-bottom: 9px;

}

#view-collections .collection-feed-progress-row strong {

    color: #f6f3ee;

    font-weight: 700;

}

#view-collections .collection-feed-progress-track {

    height: 8px;

    border-radius: 999px;

    background: #171511;

    overflow: hidden;

    border: 1px solid #494037;

}

#view-collections .collection-feed-progress-track span {

    display: block;

    height: 100%;

    background: var(--gold);

    border-radius: 999px;

}

#view-collections .collection-feed-stats {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 16px;

}

#view-collections .collection-feed-stats span {

    display: inline-flex;

    align-items: center;

    background: #211f1b;

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

    border-radius: 8px;

    padding: 6px 10px;

    color: #d5cec4;

    font-size: .8rem;

}

@media (max-width:650px) {

    .collections-page-header {

        padding: 17px;

        gap: 12px;

    }

    .collections-page-icon {

        flex-basis: 40px;

        width: 40px;

        height: 40px;

    }

    #view-collections .collection-feed-title {

        padding: 14px 16px 10px;

        font-size: 1.18rem;

    }

    #view-collections .collection-feed-cover {

        height: 115px;

    }

    #view-collections .collection-feed-body {

        padding: 16px;

    }

    #view-collections .collection-feed-progress-row {

        align-items: flex-start;

        flex-direction: column;

        gap: 3px;

    }

}

/* Spacing between collection form header and form */

#view-collection-create .home-welcome {

    margin-bottom: 20px;

}

/* Entries: shared application width and responsive editing form. */
#view-entry-create .home-welcome { margin-bottom: 20px; }
#entry-form textarea,
#entry-form select { width: 100%; background: #171511; color: #fff; border: 1px solid #63594b; border-radius: 9px; padding: 12px 13px; font: inherit; }
#entry-form textarea:focus,
#entry-form select:focus { outline: 2px solid var(--gold); }
.entry-form-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.entry-fieldset { border: 1px solid var(--border); border-radius: 12px; padding: 16px; min-width: 0; }
.entry-fieldset legend { padding: 0 8px; font-weight: 700; }
.entry-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#entry-form .entry-checks label,
#entry-form .entry-inline-check { display: flex; align-items: center; gap: 9px; font-weight: 500; }
#entry-form input[type="checkbox"] { width: 20px; height: 20px; flex: none; accent-color: var(--gold); }
.entry-card { display: flex; gap: 16px; align-items: center; padding: 17px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.entry-card-image { width: 82px; height: 82px; flex: 0 0 82px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.entry-card-body { min-width: 0; flex: 1; }
.entry-card-body h3 { margin: 0 0 5px; font-size: 1.06rem; overflow-wrap: anywhere; }
.entry-card-body p { margin: 0; color: var(--muted); font-size: .85rem; }
.entry-card .btn { min-height: 40px; padding: 8px 12px; }
@media (max-width: 650px) {
  .entry-form-numbers, .entry-checks { grid-template-columns: 1fr 1fr; }
  .entry-card { flex-wrap: wrap; }
  .entry-card-image { width: 65px; height: 65px; flex-basis: 65px; }
}

/* Entry creation: match the authenticated 1120px application layout. */
body:has(#view-entry-create:not([hidden])) .footer {
    display: none;
}
body:has(#view-entry-create:not([hidden])) .main-content {
    padding-top: 105px;
    min-height: 100dvh;
}
#view-entry-create .entry-form-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
#view-entry-create .entry-visibility input[type="checkbox"] {
    width: 24px !important;
    height: 24px;
    flex: none;
    accent-color: var(--gold);
}
@media (max-width: 650px) {
    #view-entry-create .entry-form-numbers {
        grid-template-columns: 1fr;
    }
}

/* Entry form: matching two-column fields with aligned inputs. */
#view-entry-create .entry-form-pair,
#view-entry-create .entry-form-numbers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

#view-entry-create .entry-form-pair > label,
#view-entry-create .entry-form-numbers > label {
    display: grid;
    grid-template-rows: auto 46px auto;
    align-content: start;
    min-width: 0;
    align-self: start;
}

#view-entry-create .entry-form-pair > label > input,
#view-entry-create .entry-form-numbers > label > input {
    width: 100%;
    min-width: 0;
    height: 46px;
    min-height: 46px;
    box-sizing: border-box;
    margin: 0;
}

#view-entry-create .entry-form-numbers > label > small {
    line-height: 1.35;
}

@media (max-width: 650px) {
    #view-entry-create .entry-form-pair,
    #view-entry-create .entry-form-numbers {
        grid-template-columns: 1fr;
    }
}

/* Entry and member detail screens */
body:has(#view-entry:not([hidden])) .main-content,body:has(#view-member:not([hidden])) .main-content,body:has(#view-member-create:not([hidden])) .main-content{padding-top:105px;min-height:100dvh}
body:has(#view-entry:not([hidden])) .footer,body:has(#view-member:not([hidden])) .footer,body:has(#view-member-create:not([hidden])) .footer{display:none}
.hobby-card-list,#collection-entries{display:grid;gap:12px;margin-top:15px}
.hobby-entry-card{display:flex;align-items:center;gap:18px;min-width:0;padding:14px 18px;background:var(--surface);border:1px solid var(--border);border-radius:14px;text-decoration:none;color:#fff}
.hobby-entry-card:hover{border-color:var(--gold);color:#fff}
.hobby-thumb{display:grid;place-items:center;flex:0 0 110px;width:110px;height:110px;overflow:hidden;border-radius:10px;background:#1b1916;color:var(--gold)}
.hobby-thumb img{width:100%;height:100%;object-fit:contain}
.hobby-entry-card-body{min-width:0;flex:1}.hobby-entry-card-body h3{margin:0 0 5px;font-size:1.15rem}.hobby-entry-card-body p{margin:0 0 5px;color:var(--muted);font-size:.9rem}
.hobby-mini-progress{position:relative;margin-top:10px;padding-bottom:11px;color:var(--muted);font-size:.8rem}
.hobby-mini-progress:after{content:'';position:absolute;bottom:0;left:0;right:0;height:5px;border-radius:5px;background:#171511}
.hobby-mini-progress span{position:absolute;bottom:0;left:0;height:5px;border-radius:5px;background:var(--gold);z-index:1}
.hobby-detail{display:flex;gap:22px;align-items:start;margin-bottom:18px}.hobby-detail-photo .hobby-thumb{width:180px;height:180px;flex-basis:180px}.hobby-detail-info{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}
.hobby-progress{margin-bottom:20px}.hobby-progress-checks{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0 20px}.hobby-progress-checks label{display:flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:20px;padding:9px 12px;font-size:.9rem}.hobby-progress-checks input{accent-color:var(--gold)}
@media(max-width:650px){.hobby-thumb{width:76px;height:76px;flex-basis:76px}.hobby-detail-photo .hobby-thumb{width:120px;height:120px;flex-basis:120px}.hobby-detail{gap:12px;padding:18px}}

/* Entry Overview: member-level progress is independent of entry-level progress. */
.hobby-member-summary{margin-bottom:20px}
.hobby-member-summary-header{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:15px}
.hobby-member-summary-header h2{margin:0}
.hobby-member-summary-header p{margin:0}
.hobby-member-summary-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 22px}
.hobby-member-stage{min-width:0}
.hobby-member-stage-heading{display:flex;justify-content:space-between;gap:8px;font-size:.9rem;margin-bottom:7px}
.hobby-member-stage-heading strong{color:var(--gold);font-variant-numeric:tabular-nums}
.hobby-member-stage-track{height:7px;border-radius:999px;overflow:hidden;background:#171511}
.hobby-member-stage-track span{display:block;height:100%;border-radius:inherit;background:var(--gold);transition:width .2s ease}
.hobby-entry-card-body .hobby-member-card-status{margin-top:8px;font-size:.8rem;color:var(--muted)}
@media(max-width:760px){.hobby-member-summary-stages{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.hobby-member-summary-stages{grid-template-columns:1fr}}

/* Auto-saving hobby progress buttons — entry and member views */
.hobby-progress-checks { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0 0; }
.hobby-progress-toggle { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:42px; padding:9px 15px; border:1px solid var(--border, #51483b); border-radius:24px; background:transparent; color:inherit; font:inherit; font-size:.9rem; cursor:pointer; transition:background-color .15s,border-color .15s,color .15s; }
.hobby-progress-toggle[aria-pressed="true"] { background:var(--gold, #d5a74c); border-color:var(--gold, #d5a74c); color:#17130b; font-weight:700; }
.hobby-progress-toggle:not(:disabled):hover { border-color:var(--gold, #d5a74c); }
.hobby-progress-toggle:focus-visible { outline:2px solid var(--gold, #d5a74c); outline-offset:3px; }
.hobby-progress-toggle:disabled { cursor:default; opacity:.65; }
.hobby-progress-toggle-mark { font-size:1rem; line-height:1; }

/* 360v7-style progress controls — entries and members */
.hobby-progress-grid{display:block}
.hobby-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.hobby-progress-heading h2{margin:0;font-size:1.1rem}
.hobby-progress-track{height:8px;background:#45413b;border-radius:10px;overflow:hidden;margin-bottom:20px}
.hobby-progress-fill{height:100%;width:0;background:#cba455;border-radius:10px;transition:width .2s}
.hobby-progress-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hobby-progress-stage{display:flex;align-items:center;gap:13px;min-height:56px;padding:14px 17px;border:1px solid #514b42;border-radius:12px;background:#302d28;color:#a7a6a3;text-align:left;font:inherit;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s}
.hobby-progress-stage i{width:20px;text-align:center;color:#777b7d}
.hobby-progress-stage .hobby-progress-checkmark{margin-left:auto;font-size:1.3rem;font-weight:700}
.hobby-progress-stage[aria-pressed="true"]{background:#393326;border-color:#856b35;color:#d4a64f}
.hobby-progress-stage[aria-pressed="true"] i{color:#d4a64f}
.hobby-progress-stage:not(:disabled):hover{border-color:#cba455}
.hobby-progress-stage:focus-visible{outline:2px solid #d4a64f;outline-offset:3px}
.hobby-progress-stage:disabled{cursor:default}
@media(max-width:620px){.hobby-progress-buttons{grid-template-columns:1fr}}

/* Entry Overview: compact details + independent hobby progress */
.entry-overview-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);gap:28px;align-items:start;margin-bottom:18px}
.entry-overview-info{display:flex;align-items:flex-start;gap:20px;min-width:0}
.entry-overview-info .hobby-detail-photo{flex:0 0 132px}
.entry-overview-info .hobby-detail-photo .hobby-thumb{width:132px;height:148px;flex-basis:132px}
.entry-overview-info .hobby-detail-info{flex:1;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}
.entry-overview-info .hobby-detail-info p:first-child{margin-top:0}
.entry-overview-progress{min-width:0}
.entry-overview-progress .hobby-progress-heading{margin-bottom:9px}
.entry-overview-progress .hobby-progress-heading h2{font-size:1rem}
.entry-overview-progress .hobby-progress-track{height:6px;margin-bottom:12px}
.entry-overview-progress .hobby-progress-buttons{gap:8px}
.entry-overview-progress .hobby-progress-stage{min-height:38px;padding:8px 10px;gap:8px;font-size:.82rem;border-radius:8px}
.entry-overview-progress .hobby-progress-stage i{width:15px;font-size:.82rem}
.entry-overview-progress .hobby-progress-checkmark{font-size:1rem}
/* Overall member progress and two-column member cards */
.entry-members-panel{margin-bottom:20px}
.entry-members-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.entry-members-heading h2{margin:0;font-size:1.15rem}
.entry-members-heading p{margin:0}
.entry-members-progress{margin:12px 0 18px}
.entry-members-progress-label{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px;color:var(--muted);font-size:.85rem}
.entry-members-progress-label strong{color:var(--gold);font-variant-numeric:tabular-nums}
.entry-members-progress-track{height:7px;background:#171511;border-radius:999px;overflow:hidden}
.entry-members-progress-track span{display:block;height:100%;background:var(--gold);border-radius:inherit;transition:width .2s}
.entry-members-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.entry-members-grid .hobby-entry-card{padding:12px;gap:13px;min-width:0}
.entry-members-grid .hobby-thumb{flex:0 0 78px;width:78px;height:84px}
.entry-members-grid .hobby-entry-card-body h3{font-size:1rem;margin-bottom:5px}
.entry-members-grid .hobby-entry-card-body p{font-size:.78rem}
.entry-members-grid .hobby-mini-progress{font-size:.78rem}
.entry-members-grid .hobby-member-card-status{margin-top:5px}
@media(max-width:850px){.entry-overview-panel{grid-template-columns:1fr;gap:20px}}
@media(max-width:700px){.entry-members-grid{grid-template-columns:1fr}}
@media(max-width:480px){.entry-overview-info{gap:12px}.entry-overview-info .hobby-detail-photo{flex-basis:96px}.entry-overview-info .hobby-detail-photo .hobby-thumb{width:96px;height:112px;flex-basis:96px}.entry-overview-progress .hobby-progress-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-members-heading{align-items:flex-start}}

/* Entry overview: points/model count in header, larger uncropped image. */
#view-entry .entry-overview-header{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
#view-entry .entry-overview-header-main{min-width:0;flex:1 1 280px}
#view-entry .entry-overview-header-meta{margin:0 0 0 auto;color:var(--gold);font-size:.95rem;font-weight:600;text-align:right;white-space:normal}
#view-entry .entry-overview-info .hobby-detail-photo{flex:0 0 200px;min-width:0}
#view-entry .entry-overview-info .hobby-detail-photo .hobby-thumb{width:200px;height:220px;flex-basis:200px;max-width:100%;object-fit:contain}
#view-entry .entry-overview-info .hobby-detail-photo .hobby-thumb img{width:100%;height:100%;object-fit:contain}
@media(max-width:1050px){#view-entry .entry-overview-panel{grid-template-columns:1fr}}
@media(max-width:650px){#view-entry .entry-overview-header{align-items:flex-start;gap:8px}#view-entry .entry-overview-header-meta{margin:0;text-align:left;width:100%}#view-entry .entry-overview-info .hobby-detail-photo{flex-basis:140px}#view-entry .entry-overview-info .hobby-detail-photo .hobby-thumb{width:140px;height:160px;flex-basis:140px}}
@media(max-width:420px){#view-entry .entry-overview-info .hobby-detail-photo{flex-basis:112px}#view-entry .entry-overview-info .hobby-detail-photo .hobby-thumb{width:112px;height:132px;flex-basis:112px}}


/* Entry header: compact two-column layout matching the approved mockup. */
#view-entry .entry-overview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
  padding: 20px 24px;
  margin-bottom: 16px;
}
#view-entry .entry-overview-header-main {
  flex: 1 1 auto;
  min-width: 0;
}
#view-entry .entry-overview-header h1 {
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 5px;
}
#view-entry .entry-overview-header .home-welcome-description {
  font-size: .88rem;
  line-height: 1.45;
  margin: 0;
}
#view-entry .entry-overview-header-meta {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}
#view-entry .entry-overview-header-meta strong {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
}
#view-entry .entry-overview-header-meta span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 400;
}
#view-entry .entry-overview-header-meta :empty { display: none; }
@media (max-width: 540px) {
  #view-entry .entry-overview-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px;
  }
  #view-entry .entry-overview-header-meta {
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }
}

/* Entry Overview: expandable member management (360v7-inspired) */
.entry-members-grid .entry-member-accordion{min-width:0;border:1px solid #50483e;border-radius:12px;background:#2d2924;overflow:hidden;align-self:start}
.entry-member-accordion-toggle{display:flex;width:100%;gap:12px;align-items:center;padding:12px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}
.entry-member-accordion-toggle:hover{background:rgba(203,164,85,.06)}
.entry-member-accordion-toggle:focus-visible,.entry-member-stage:focus-visible{outline:2px solid #cba455;outline-offset:-3px}
.entry-member-accordion-toggle .hobby-thumb{flex:0 0 62px;width:62px;height:68px;border-radius:8px;overflow:hidden}
.entry-member-accordion-summary{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.entry-member-accordion-summary strong{font-size:1rem;overflow-wrap:anywhere}
.entry-member-accordion-summary>span{font-size:.8rem;color:var(--muted,#aaa)}
.entry-member-accordion-track{height:6px;background:#171511;border-radius:99px;overflow:hidden}
.entry-member-accordion-track span{display:block;height:100%;background:var(--gold,#cba455);border-radius:inherit;transition:width .2s}
.entry-member-chevron{color:#bcb6ac;font-size:.85rem;transition:transform .15s}
.entry-member-accordion-toggle[aria-expanded="true"] .entry-member-chevron{transform:rotate(180deg)}
.entry-member-accordion-details{border-top:1px solid #50483e;padding:14px}
.entry-member-accordion-details[hidden]{display:none}
.entry-member-description{font-size:.85rem;color:var(--muted,#aaa);margin:0 0 12px}
.entry-member-stage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.entry-member-stage{display:flex;align-items:center;gap:8px;min-height:38px;padding:8px 10px;background:#302d28;color:#aaa;border:1px solid #514b42;border-radius:8px;font:inherit;font-size:.8rem;font-weight:600;cursor:pointer;text-align:left}
.entry-member-stage i{width:16px;text-align:center;color:#7f8384}
.entry-member-stage-check{margin-left:auto;font-size:1rem}
.entry-member-stage[aria-pressed="true"]{background:#393326;border-color:#856b35;color:#d4a64f}
.entry-member-stage[aria-pressed="true"] i{color:#d4a64f}
.entry-member-stage:not(:disabled):hover{border-color:#cba455}
.entry-member-stage:disabled{cursor:default}
.entry-member-accordion-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}
.entry-member-accordion-actions .btn{min-height:36px;padding:7px 12px;font-size:.82rem}
.entry-member-delete{border:1px solid #a65a56;background:transparent;color:#f19a92}
.entry-member-edit{border:1px solid #cba455;background:transparent;color:#d4a64f}
.entry-member-save-feedback{color:#f19a92;font-size:.8rem;margin:10px 0 0}
@media(max-width:450px){.entry-member-stage-grid{grid-template-columns:1fr}}

/* 360v8 Collection Overview: compact header, privacy, filters and entry cards. */
.collection-overview-header {display:flex;align-items:stretch;min-height:128px;overflow:hidden;}
.collection-overview-header .collection-cover-wrap {flex:0 0 124px;width:124px;min-height:128px;height:auto;align-self:stretch;border-radius:0;}
.collection-overview-header .collection-cover-wrap img {width:100%;height:100%;object-fit:cover;object-position:center;display:block;}
.collection-overview-header .collection-detail-body {flex:1;min-width:0;padding:22px 24px;display:flex;align-items:center;}
.collection-overview-heading {display:flex;justify-content:space-between;align-items:center;gap:24px;width:100%;}
.collection-overview-main {flex:1;min-width:0;}
.collection-overview-name-row {display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.collection-overview-header .collection-detail-body h1 {font-family:inherit;font-size:clamp(1.2rem,2.1vw,1.65rem);line-height:1.25;font-weight:700;margin:0;}
.collection-overview-header .collection-detail-body .app-subtitle {margin:9px 0 0;font-size:.9rem;line-height:1.45;}
.collection-privacy-icon {display:inline-flex;align-items:center;justify-content:center;color:var(--gold,#d4a54d);font-size:1rem;}
.collection-overview-count {display:flex;flex-direction:column;align-items:flex-end;justify-content:center;flex-shrink:0;min-width:60px;}
.collection-overview-count strong {font-size:1.65rem;color:var(--gold,#d4a54d);line-height:1.1;}
.collection-overview-count span {color:var(--muted,#b5b0a7);font-size:.78rem;margin-top:3px;}
.collection-overview-entries {margin-top:24px;}
.collection-overview-entries .collection-entries-heading {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;}
.collection-overview-entries .collection-entries-heading h2 {margin:0;font-size:1.15rem;}
.collection-entries-toolbar {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin:0 0 16px;}
.collection-toolbar-field {display:flex;flex-direction:column;gap:6px;min-width:0;}
.collection-toolbar-field label {font-size:.78rem;font-weight:600;color:var(--muted,#b5b0a7);}
.collection-toolbar-field select {display:block;width:100%;min-width:0;min-height:42px;padding:9px 34px 9px 12px;border:1px solid var(--border,#51483c);border-radius:9px;background:var(--surface,#292622);color:#f5f1e8;font:inherit;font-size:.9rem;cursor:pointer;}
.collection-toolbar-field select:focus-visible {outline:2px solid var(--gold,#d4a54d);outline-offset:2px;}
.collection-overview-entry .collection-entry-heading {display:flex;align-items:start;justify-content:space-between;gap:12px;}
.collection-overview-entry .collection-entry-heading h3 {margin:0 0 5px;min-width:0;}
.collection-entry-points {flex-shrink:0;display:inline-flex;align-items:center;padding:4px 9px;border:1px solid #6b5630;border-radius:999px;color:var(--gold,#d4a54d);font-size:.78rem;font-weight:600;white-space:nowrap;}
.collection-overview-entry .hobby-mini-progress {margin-top:10px;}
@media(max-width:700px){
 .collection-overview-header .collection-cover-wrap {flex-basis:90px;width:90px;min-height:112px;}
 .collection-overview-header .collection-detail-body {padding:14px;}
 .collection-overview-heading {gap:12px;}
 .collection-overview-count strong {font-size:1.3rem;}
 .collection-overview-header .collection-detail-body h1 {font-size:1.1rem;}
}
@media(max-width:480px){
 .collection-entries-toolbar {grid-template-columns:1fr;gap:10px;}
 .collection-overview-count {min-width:44px;}
 .collection-overview-header .collection-cover-wrap {flex-basis:72px;width:72px;}
 .collection-overview-header .collection-detail-body {padding:12px;}
}

/* Collection header: visibility above a compact, single-line entry count. */
.collection-overview-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 76px;
}
.collection-overview-meta .collection-privacy-icon { font-size: 1.15rem; min-height: 20px; }
.collection-overview-meta .collection-overview-count {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
}
.collection-overview-meta .collection-overview-count strong,
.collection-overview-meta .collection-overview-count span {
  font-size: .8rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
  color: var(--muted, #b5b0a7);
}
@media (max-width: 480px) {
  .collection-overview-meta { min-width: 56px; gap: 7px; }
  .collection-overview-meta .collection-overview-count strong,
  .collection-overview-meta .collection-overview-count span { font-size: .7rem; }
}


/* Collection filter/sort controls — dark, gold-accented panels.
   Scoped to Collection Overview; native selects preserve keyboard/mobile usability. */
#view-collection .collection-entries-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}
#view-collection .collection-toolbar-control {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 15px;
  min-width: 0;
  background: linear-gradient(145deg, #383024 0%, #2b2722 78%);
  border: 1px solid #79613b;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 218, 144, .07), 0 2px 10px rgba(0,0,0,.10);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
#view-collection .collection-toolbar-control:hover {
  border-color: #b58d4a;
  background: linear-gradient(145deg, #403524 0%, #2d2924 78%);
}
#view-collection .collection-toolbar-control:focus-within {
  border-color: #d6a853;
  box-shadow: 0 0 0 2px rgba(214,168,83,.16), inset 0 1px 0 rgba(255,218,144,.09);
}
#view-collection .collection-toolbar-control > label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d8ac61;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .075em;
  line-height: 1.2;
  cursor: pointer;
}
#view-collection .collection-toolbar-control > label i {
  font-size: 1.03rem;
  width: 19px;
  text-align: center;
}
#view-collection .collection-select-wrap {
  position: relative;
  min-width: 0;
}
#view-collection .collection-toolbar-control .collection-select-wrap select {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 45px;
  min-height: 45px;
  margin: 0;
  padding: 0 43px 0 13px;
  background: #211e1a;
  color: #f5f0e7;
  border: 1px solid #65553c;
  border-radius: 8px;
  font: inherit;
  font-size: .95rem;
  font-weight: 650;
  line-height: normal;
  cursor: pointer;
  box-shadow: none;
}
#view-collection .collection-toolbar-control .collection-select-wrap select:hover {
  border-color: #c49a53;
}
#view-collection .collection-toolbar-control .collection-select-wrap select:focus-visible {
  outline: 2px solid #d8ac61;
  outline-offset: 2px;
}
#view-collection .collection-toolbar-control .collection-select-wrap select option {
  background: #292520;
  color: #f5f0e7;
}
#view-collection .collection-select-chevron {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #d8ac61;
  font-size: .85rem;
}
@media (max-width: 600px) {
  #view-collection .collection-entries-toolbar { grid-template-columns: 1fr; gap: 10px; }
  #view-collection .collection-toolbar-control { padding: 12px; }
}


/* Collection Overview: 360v7-inspired, compact showcase entries */
#view-collection .collection-overview-entry {
  display:grid;
  grid-template-columns:minmax(180px,37%) minmax(0,1fr);
  align-items:stretch;
  gap:0;
  padding:0;
  overflow:hidden;
  background:#292520;
  border:1px solid #514638;
  border-radius:14px;
  color:#f4eee5;
  text-decoration:none;
  min-height:235px;
  transition:border-color .16s,transform .16s;
}
#view-collection .collection-overview-entry:hover {
  border-color:#b38b49;
  transform:translateY(-1px);
}
#view-collection .collection-overview-entry:focus-visible {
  outline:2px solid #d6a853;
  outline-offset:3px;
}
#view-collection .collection-showcase-image {
  display:grid;
  place-items:center;
  min-width:0;
  min-height:235px;
  overflow:hidden;
  background:#1b1917;
  color:#a7834b;
}
#view-collection .collection-showcase-image img {
  display:block;
  width:100%;
  height:100%;
  max-height:340px;
  object-fit:contain;
}
#view-collection .collection-showcase-image > i {font-size:2rem;opacity:.65}
#view-collection .collection-showcase-body {
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
  padding:18px 20px;
}
#view-collection .collection-showcase-body .collection-entry-heading h3 {
  margin:0;
  color:#f7f1e7;
  font-size:1.2rem;
  line-height:1.3;
}
#view-collection .collection-showcase-body .collection-entry-points {white-space:nowrap}
#view-collection .collection-showcase-counts-as {
  margin:-5px 0 0;
  font-size:.86rem;
  color:#bcb3a5;
}
#view-collection .collection-showcase-members {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.89rem;
  font-weight:600;
  color:#e8dfd0;
}
#view-collection .collection-showcase-members i {color:#d6a853}
#view-collection .collection-showcase-progress {margin-top:3px}
#view-collection .collection-showcase-progress-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:8px;
  font-size:.84rem;
}
#view-collection .collection-showcase-progress-heading span {color:#ada496;font-size:.78rem}
#view-collection .collection-showcase-progress-track {
  height:7px;
  background:#514637;
  border-radius:20px;
  overflow:hidden;
}
#view-collection .collection-showcase-progress-track > span {
  display:block;
  height:100%;
  background:#d6aa60;
  border-radius:inherit;
}
#view-collection .collection-showcase-stages {display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
#view-collection .collection-showcase-stage {
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 9px;
  border-radius:30px;
  border:1px solid #595045;
  background:#302c27;
  color:#a9a093;
  font-size:.74rem;
  font-weight:650;
  white-space:nowrap;
}
#view-collection .collection-showcase-stage.is-done {
  color:#e3b35d;
  border-color:#806438;
  background:#3a3021;
}
#view-collection .collection-showcase-complete {
  display:flex;
  align-items:center;
  gap:7px;
  color:#d9a64e;
  font-weight:700;
  font-size:.83rem;
}
@media(max-width:680px) {
  #view-collection .collection-overview-entry {grid-template-columns:1fr}
  #view-collection .collection-showcase-image {height:220px;min-height:0}
  #view-collection .collection-showcase-image img {max-height:220px}
  #view-collection .collection-showcase-body {padding:15px}
}

/* Collection header visibility badge: icon + label */
#view-collection .collection-overview-meta .collection-privacy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 27px;
  padding: 4px 10px;
  border: 1px solid #6c5433;
  border-radius: 999px;
  background: #372b1e;
  color: #e5aa4f;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
#view-collection .collection-overview-meta .collection-privacy-icon i { font-size: .76rem; }


/* Collection overview: compact progress summary across all six entry stages */
#view-collection .collection-progress-summary {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #574a39;
  border-radius: 14px;
  background: #292520;
  color: #f4eee5;
}
#view-collection .collection-progress-summary-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
#view-collection .collection-progress-summary-heading h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f4eee5;
}
#view-collection .collection-progress-percent {
  color: #d9ab60;
  font-size: 1.1rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
#view-collection .collection-progress-summary-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #4b4134;
}
#view-collection .collection-progress-summary-track > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #d9ab60;
  transition: width .2s ease;
}
#view-collection .collection-progress-summary-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
#view-collection .collection-progress-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 12px 6px;
  border-radius: 9px;
  background: #211e1b;
  text-align: center;
}
#view-collection .collection-progress-stat strong {
  color: #d9ab60;
  font-size: 1.35rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
#view-collection .collection-progress-stat span {
  color: #b7ad9e;
  font-size: .8rem;
}
@media (max-width: 500px) {
  #view-collection .collection-progress-summary { padding: 15px; }
  #view-collection .collection-progress-summary-stats { gap: 6px; }
  #view-collection .collection-progress-stat { padding: 10px 4px; }
  #view-collection .collection-progress-stat span { font-size: .72rem; }
}


/* My Collections: compact showcase cards matching Collection Overview */
#view-collections .collections-feed { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));align-items:start;gap:18px; }
#view-collections .collection-feed-card {display:flex;flex-direction:column;min-width:0;border:1px solid #574a39;border-radius:14px;background:#292520;color:#f5eee4;text-decoration:none;overflow:hidden;transition:border-color .15s,transform .15s;}
#view-collections .collection-feed-card:hover {border-color:#bd9450;transform:translateY(-2px);}
#view-collections .collection-feed-card:focus-visible {outline:2px solid #d6a853;outline-offset:3px;}
#view-collections .collection-feed-cover {height:160px;min-height:160px;order:0;background:linear-gradient(135deg,#33291d,#1c1a17);overflow:hidden;display:grid;place-items:center;}
#view-collections .collection-feed-cover img {display:block;width:100%;height:100%;object-fit:cover;}
#view-collections .collection-feed-cover i {font-size:2.1rem;color:#d5a451;}
#view-collections .collection-feed-body {display:flex;flex-direction:column;gap:13px;padding:18px 20px 20px;}
#view-collections .collection-feed-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
#view-collections .collection-feed-title {flex:1;min-width:0;margin:0;padding:0;font-size:1.22rem;line-height:1.3;color:#f7f1e7;overflow-wrap:anywhere;}
#view-collections .collection-feed-privacy {display:inline-flex;flex-shrink:0;align-items:center;gap:6px;border:1px solid #806438;border-radius:99px;background:#3b3021;color:#e0b264;padding:5px 9px;font-size:.76rem;font-weight:700;white-space:nowrap;}
#view-collections .collection-feed-description {margin:0;color:#bbb1a4;font-size:.87rem;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;}
#view-collections .collection-feed-progress {margin:3px 0 0;padding-top:14px;border-top:1px solid #514637;}
#view-collections .collection-feed-progress-row {display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 9px;color:#b7ada0;font-size:.82rem;}
#view-collections .collection-feed-progress-row strong {color:#f1e9de;font-weight:700;}
#view-collections .collection-feed-progress-track {height:8px;border:0;background:#514637;border-radius:99px;overflow:hidden;}
#view-collections .collection-feed-progress-track span {display:block;height:100%;background:#d6aa60;border-radius:inherit;}
#view-collections .collection-feed-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0;}
#view-collections .collection-feed-stats .collection-feed-stat {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;padding:11px 5px;background:#211e1b;border:1px solid #40372d;border-radius:9px;text-align:center;}
#view-collections .collection-feed-stat strong {color:#d9aa5b;font-size:1.2rem;line-height:1.2;font-weight:750;}
#view-collections .collection-feed-stat small {color:#b9afa1;font-size:.73rem;}
@media(max-width:520px) {#view-collections .collection-feed-cover{height:145px;min-height:145px;}#view-collections .collection-feed-body{padding:15px;}#view-collections .collection-feed-heading{flex-wrap:wrap;}#view-collections .collection-feed-title{font-size:1.14rem;}}

/* My Collections toolbar reuses the Collection Overview gold-accented controls. */
#view-collections .collections-list-toolbar {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:0 0 12px;
}
#view-collections .collection-toolbar-control {
  display:flex;flex-direction:column;gap:10px;min-width:0;
  padding:14px 16px 15px;
  background:linear-gradient(145deg,#383024 0%,#2b2722 78%);
  border:1px solid #79613b;border-radius:12px;
  box-shadow:inset 0 1px 0 rgba(255,218,144,.07),0 2px 10px rgba(0,0,0,.1);
}
#view-collections .collection-toolbar-control:hover {border-color:#b58d4a}
#view-collections .collection-toolbar-control:focus-within {border-color:#d6a853;box-shadow:0 0 0 2px rgba(214,168,83,.16)}
#view-collections .collection-toolbar-control > label {
  display:flex;align-items:center;gap:9px;color:#d8ac61;
  font-size:.76rem;font-weight:800;letter-spacing:.075em;cursor:pointer;
}
#view-collections .collection-toolbar-control > label i {font-size:1.03rem;width:19px;text-align:center}
#view-collections .collection-select-wrap {position:relative;min-width:0}
#view-collections .collection-select-wrap select {
  appearance:none;-webkit-appearance:none;display:block;width:100%;
  height:45px;margin:0;padding:0 43px 0 13px;
  background:#211e1a;color:#f5f0e7;border:1px solid #65553c;
  border-radius:8px;font:inherit;font-size:.95rem;font-weight:650;cursor:pointer;
}
#view-collections .collection-select-wrap select:hover {border-color:#c49a53}
#view-collections .collection-select-wrap select:focus-visible {outline:2px solid #d8ac61;outline-offset:2px}
#view-collections .collection-select-wrap select option {background:#292520;color:#f5f0e7}
#view-collections .collection-select-chevron {position:absolute;top:50%;right:15px;transform:translateY(-50%);pointer-events:none;color:#d8ac61;font-size:.85rem}
#view-collections #collections-visible-count {margin:0 0 12px}
@media(max-width:600px){
  #view-collections .collections-list-toolbar {grid-template-columns:1fr;gap:10px}
  #view-collections .collection-toolbar-control {padding:12px}
}

/* My Collections: one full-width collection card per row. */
#view-collections .collections-feed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
#view-collections .collection-feed-card {
  width: 100%;
  min-width: 0;
}


/* My Collections — match the horizontal Collection Entry showcase cards. */
#view-collections .collections-feed {
  grid-template-columns: minmax(0, 1fr);
}
#view-collections .collection-feed-card {
  display: grid;
  grid-template-columns: minmax(190px, 30%) minmax(0, 1fr);
  align-items: stretch;
  min-height: 245px;
  width: 100%;
}
#view-collections .collection-feed-cover {
  order: 0;
  width: 100%;
  height: 100%;
  min-height: 245px;
  overflow: hidden;
  background: #1b1917;
}
#view-collections .collection-feed-cover img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
}
#view-collections .collection-feed-body {
  min-width: 0;
  justify-content: center;
  padding: 18px 20px;
}
@media (max-width: 680px) {
  #view-collections .collection-feed-card {
    grid-template-columns: minmax(0, 1fr);
  }
  #view-collections .collection-feed-cover {
    height: 210px;
    min-height: 210px;
  }
  #view-collections .collection-feed-cover img {
    max-height: 210px;
  }
  #view-collections .collection-feed-body {
    padding: 15px;
  }
}

/* Create/Edit Collection: use the same header as My Collections. */
#view-collection-create .collection-form-page-header {
  margin-bottom:20px;
}
#view-collection-create .collection-form-page-header .collections-page-heading h1 {
  margin:0;
}
#view-collection-create .collection-form-page-header .collections-page-heading p {
  margin:4px 0 0;
}

/* Create/Edit Entry and Member headers match the Create/Edit Collection header. */
#view-entry-create .collection-form-page-header,
#view-member-create .collection-form-page-header {margin-bottom:20px}
#view-entry-create .collection-form-page-header .collections-page-heading h1,
#view-member-create .collection-form-page-header .collections-page-heading h1 {margin:0}
#view-entry-create .collection-form-page-header .collections-page-heading p,
#view-member-create .collection-form-page-header .collections-page-heading p {margin:4px 0 0}

/* Private purchase links for Hobby Entries */
.entry-purchase-link[hidden]{display:none!important}
.entry-purchase-link{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;padding:12px 14px;border:1px solid #655034;border-radius:9px;background:rgba(196,143,61,.07)}
.entry-purchase-link strong{color:#e5bc75}
.entry-buy-link,.collection-entry-buy{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none!important;border:1px solid #a77d3c!important;color:#e6ba72!important;background:#35291c!important;border-radius:7px;padding:8px 13px;font-weight:650}
.entry-buy-link:hover,.collection-entry-buy:hover{background:#4a3520!important;color:#ffe0a6!important}
.collection-entry-with-buy{position:relative;min-width:0}
.collection-entry-with-buy>.collection-overview-entry{display:flex;width:100%;height:100%}
.collection-entry-buy{position:absolute;right:16px;top:14px;z-index:3;font-size:.83rem;padding:6px 12px}
.collection-entry-with-buy .collection-entry-heading{padding-right:76px}

.collection-entry-with-buy{width:100%;min-width:0}
.collection-entry-with-buy>.hobby-entry-card{width:100%}

/* Gallery screens use the same clearance below the fixed navbar as Collections. */
body:has(#view-gallery:not([hidden])) .main-content,
body:has(#view-gallery-create:not([hidden])) .main-content,
body:has(#view-gallery-post:not([hidden])) .main-content {
  padding-top:105px;
  padding-bottom:64px;
  min-height:100dvh;
}
body:has(#view-gallery:not([hidden])) .footer,
body:has(#view-gallery-create:not([hidden])) .footer,
body:has(#view-gallery-post:not([hidden])) .footer {display:none;}

/* Independent owner actions: never nest buttons inside card links. */
.w360-managed-card,.collection-entry-with-buy{position:relative;min-width:0}
.w360-managed-card>.collection-feed-card{display:block;width:100%}
.w360-item-actions{position:absolute;top:10px;right:10px;z-index:12}
.w360-item-actions-toggle{display:grid;place-items:center;width:36px;height:36px;border:1px solid #8b714a;border-radius:9px;background:rgba(15,13,10,.94);color:#f6f3ee;cursor:pointer;font-size:1.05rem}
.w360-item-actions-toggle:hover,.w360-item-actions-toggle[aria-expanded=true]{background:#493724;border-color:var(--gold,#d5a64d)}
.w360-item-actions-menu{position:absolute;top:calc(100% + 6px);right:0;width:155px;padding:5px;background:#292621;border:1px solid #69543b;border-radius:10px;box-shadow:0 12px 32px #0009;z-index:20}
.w360-item-actions-menu[hidden]{display:none!important}
.w360-item-actions-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;border-radius:7px;background:transparent;color:#f6f3ee;text-align:left;font:inherit;cursor:pointer}
.w360-item-actions-menu button:hover{background:#3c3429}
.w360-item-actions-menu button i{width:16px;color:var(--gold,#d5a64d)}
.w360-item-actions-menu .w360-item-actions-danger{color:#f1a69a}
.w360-item-actions-menu .w360-item-actions-danger i{color:#f1a69a}
.w360-item-actions-toggle:focus-visible,.w360-item-actions-menu button:focus-visible{outline:2px solid var(--gold,#d5a64d);outline-offset:2px}
.collection-overview-name-row,.entry-overview-header-main{position:relative}
.collection-overview-name-row>.w360-item-actions,.entry-overview-header-main>.w360-item-actions{position:relative;top:auto;right:auto;flex:none}
.entry-overview-header-main>.w360-item-actions{position:absolute;right:0;top:0}
.entry-overview-header-main:has(.w360-detail-actions){padding-right:46px}
.collection-entry-with-buy>.w360-item-actions{top:9px;right:9px}
.collection-entry-with-buy>.hobby-entry-card{display:block}
@media(max-width:600px){.w360-item-actions-toggle{width:32px;height:32px}.w360-item-actions-menu{width:145px}}

/* Consistent Gallery-style owner menus: top-left of the image area. */
.w360-managed-card>.w360-item-actions,
.collection-entry-with-buy.w360-managed-entry>.w360-item-actions,
.w360-managed-entry>.w360-item-actions{left:10px;right:auto;top:10px}
.w360-item-actions-toggle{font-size:.92rem}
.w360-item-actions-menu{left:0;right:auto}
/* The collection cover is the left-hand column, so the menu cannot overlap visibility. */
.w360-managed-card{isolation:isolate}
.w360-managed-card>.collection-feed-card{height:100%}
/* Entries with and without a retailer link use the same positioned wrapper. */
.w360-managed-entry{position:relative;min-width:0}
.w360-managed-entry>.hobby-entry-card{width:100%;height:100%}
/* Detail-level entry actions sit on the entry image itself. */
#entry-photo{position:relative}
#entry-photo>.w360-detail-actions{position:absolute;top:10px;left:10px;right:auto;z-index:12}
#entry-photo>.w360-detail-actions .w360-item-actions-menu{left:0;right:auto}
.entry-overview-header-main:has(.w360-detail-actions){padding-right:0}
/* Allow dropdowns to remain visible above neighbouring cards. */
.w360-managed-card:has(.w360-item-actions-toggle[aria-expanded=true]),
.w360-managed-entry:has(.w360-item-actions-toggle[aria-expanded=true]){z-index:25}

/* Public profile – match existing profile spacing */
body:has(#view-user:not([hidden])) .main-content {
    padding-top: 105px;
}
/* Reused cards on public member profile */
#view-user #public-content.feed-page{max-width:1020px;margin:16px auto 0;}
#view-user #public-content.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:16px;}
#view-user #public-content .gallery-card{min-width:0;}
#view-user #public-content .gallery-card-open{display:block;width:100%;border:0;padding:0;background:transparent;color:inherit;text-align:left;cursor:pointer;}
#view-user #public-content .gallery-card-media img{width:100%;aspect-ratio:1;object-fit:contain;}
#view-user #public-content .gallery-card-info{padding:12px;}
#view-user #public-content .w360-managed-card{position:relative;}
@media(max-width:700px){#view-user #public-content.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}}

/* Public profile cards: reuse the original page-scoped presentation rules. */
#view-user #public-content-create .gallery-form-panel .gallery-visibility-row{
  display:flex;flex-direction:row;align-items:center;justify-content:space-between;
  gap:20px;padding:17px;border:1px solid var(--border,#484037);
  border-radius:11px;background:var(--surface-2,#211f1b);
}
#view-user #public-content-create .gallery-visibility-row>span{display:grid;gap:4px}
#view-user #public-content-create .gallery-visibility-row input[type=checkbox]{width:23px;height:23px;flex:none;accent-color:var(--gold,#d5a64d)}
#view-user #public-content .gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px 18px;
  align-items:start;
}
#view-user #public-content .gallery-card{
  display:block;width:100%;min-width:0;
  padding:0;margin:0;text-align:left;
  border:0;border-radius:0;background:transparent;color:inherit;
  cursor:pointer;overflow:visible;font:inherit;
}
#view-user #public-content .gallery-card-media{
  position:relative;display:block;overflow:hidden;
  border-radius:11px;background:#211f1b;
  border:1px solid #514536;
}
#view-user #public-content .gallery-card-media img{
  display:block;width:100%;height:auto;aspect-ratio:auto;
  object-fit:contain;background:transparent;
  border:0;border-radius:0;
}
#view-user #public-content .gallery-card-placeholder{
  display:grid;place-items:center;min-height:180px;
  color:var(--muted,#b9b2a7);font-size:.88rem;
}
#view-user #public-content .gallery-photo-count{
  position:absolute;top:10px;right:10px;
  display:inline-flex;align-items:center;gap:7px;
  padding:6px 9px;border-radius:8px;
  background:rgba(13,12,10,.86);color:#fff;
  border:1px solid rgba(255,255,255,.2);
  font:600 .82rem Arial,Helvetica,sans-serif;
  pointer-events:none;
}
#view-user #public-content .gallery-card-info{
  padding:10px 2px 0;background:transparent;
}
#view-user #public-content .gallery-card-info strong{
  display:block;white-space:normal;overflow-wrap:anywhere;
  font-size:.94rem;line-height:1.4;color:#f6f3ee;
}
#view-user #public-content .gallery-visibility{
  display:inline-flex;align-items:center;gap:6px;
  margin-top:4px;color:var(--muted,#b9b2a7);
  font-size:.8rem;font-weight:400;
}
#view-user #public-content .gallery-visibility i{font-size:.75rem;color:var(--gold,#d5a64d)}
#view-user #public-content .gallery-card:hover .gallery-card-media{border-color:var(--gold,#d5a64d)}
#view-user #public-content .gallery-card:hover .gallery-card-info strong{color:var(--gold,#d5a64d)}
#view-user #public-content .gallery-card:focus-visible{outline:2px solid var(--gold,#d5a64d);outline-offset:5px;border-radius:8px}
@media (max-width:850px){
#view-user #public-content .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
}
@media (max-width:480px){
#view-user #public-content .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}
#view-user #public-content .gallery-photo-count{top:7px;right:7px;padding:5px 7px}
#view-user #public-content .gallery-card-info strong{font-size:.87rem}
}
#view-user #public-content .gallery-card{
  overflow:hidden;
  border:1px solid #514536;
  border-radius:12px;
  background:var(--surface,#292621);
  transition:border-color .15s ease,background .15s ease;
}
#view-user #public-content .gallery-card-media{
  border:0;
  border-radius:0;
  background:#171511;
}
#view-user #public-content .gallery-card-info{
  padding:12px 14px 14px;
  background:var(--surface,#292621);
}
#view-user #public-content .gallery-card:hover{
  border-color:var(--gold,#d5a64d);
  background:#30291d;
}
#view-user #public-content .gallery-card:hover .gallery-card-media{border-color:transparent}
#view-user #public-content .gallery-card:hover .gallery-card-info{background:#30291d}
#view-user #public-content .gallery-card:focus-visible{
  outline:2px solid var(--gold,#d5a64d);
  outline-offset:3px;
  border-radius:12px;
}
@media (max-width:480px){
#view-user #public-content .gallery-card-info{padding:10px 11px 12px}
}
#view-user #public-content .gallery-card{position:relative;overflow:visible}
#view-user #public-content .gallery-card-open{display:block;width:100%;padding:0;margin:0;border:0;border-radius:11px;overflow:hidden;background:transparent;color:inherit;text-align:left;font:inherit;cursor:zoom-in}
#view-user #public-content .gallery-card-open:focus-visible{outline:2px solid var(--gold,#d5a64d);outline-offset:3px}
#view-user #public-content .gallery-card-menu{position:absolute;top:9px;left:9px;z-index:5}
#view-user #public-content .gallery-card-menu-trigger{display:grid;place-items:center;width:34px;height:34px;border:1px solid #8b714a;border-radius:8px;background:rgba(15,13,10,.9);color:#f6f3ee;cursor:pointer}
#view-user #public-content .gallery-card-menu-trigger:hover,#view-user #public-content .gallery-card-menu-trigger[aria-expanded=true]{background:#4a3824;border-color:var(--gold,#d5a64d)}
#view-user #public-content .gallery-card-menu-actions{position:absolute;top:40px;left:0;min-width:155px;padding:5px;border:1px solid #806334;border-radius:9px;background:#292621;box-shadow:0 10px 25px #000b}
#view-user #public-content .gallery-card-menu-actions[hidden]{display:none!important}
#view-user #public-content .gallery-card-menu-actions button{display:block;width:100%;padding:10px 12px;border:0;border-radius:6px;background:transparent;color:#f6f3ee;text-align:left;font:600 .85rem Arial,sans-serif;cursor:pointer}
#view-user #public-content .gallery-card-menu-actions button:hover{background:#423625}
#view-user #public-content .gallery-card-menu-actions .gallery-card-delete{color:#f0a6a1}
#view-user #public-content .gallery-card:has(.gallery-card-menu-actions:not([hidden])){z-index:6}
#view-user #public-content .gallery-grid{align-items:stretch}
#view-user #public-content .gallery-card{height:100%}
#view-user #public-content .gallery-card-open{height:100%;display:flex;flex-direction:column}
#view-user #public-content .gallery-card-media{height:320px;flex:none;display:flex;align-items:center;justify-content:center;overflow:hidden}
#view-user #public-content .gallery-card-media img{width:100%;height:100%;max-height:100%;object-fit:contain;aspect-ratio:auto}
#view-user #public-content .gallery-card-placeholder{width:100%;height:100%;min-height:0;display:grid;place-items:center}
#view-user #public-content .gallery-card-info{display:flex;flex-direction:column;flex:1;gap:8px;width:100%}
#view-user #public-content .gallery-card-info strong{line-height:1.35;min-height:2.7em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
#view-user #public-content .gallery-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}
#view-user #public-content .gallery-visibility{margin:0;min-width:0}
#view-user #public-content .gallery-photo-count{position:static;display:inline-flex;align-items:center;gap:6px;padding:0;border:0;border-radius:0;background:transparent;color:var(--muted,#b9b2a7);font:400 .8rem Arial,Helvetica,sans-serif;white-space:nowrap;pointer-events:none}
#view-user #public-content .gallery-photo-count i{color:var(--gold,#d5a64d)}
@media (max-width:850px){
#view-user #public-content .gallery-card-media{height:290px}
}
@media (max-width:480px){
#view-user #public-content .gallery-card-media{height:225px}
#view-user #public-content .gallery-card-info{gap:6px}
#view-user #public-content .gallery-photo-count{font-size:.72rem;gap:4px}
#view-user #public-content .gallery-visibility{font-size:.72rem}
}
#view-user #public-content .collections-feed{

    max-width: none;

    gap: 16px;

}
#view-user #public-content .collection-feed-card{

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

    background: var(--surface);

    border-radius: 16px;

    overflow: hidden;

    transition: border-color .15s;

}
#view-user #public-content .collection-feed-card:hover{

    border-color: var(--gold);

}
#view-user #public-content .collection-feed-title{

    font-family: Georgia,"Times New Roman",serif;

    font-size: 1.38rem;

    line-height: 1.3;

    margin: 0;

    padding: 16px 22px 12px;

    color: #fff;

    overflow-wrap: anywhere;

}
#view-user #public-content .collection-feed-cover{

    height: 145px;

    overflow: hidden;

    background: linear-gradient(125deg,#33291d,#211f1b);

    display: grid;

    place-items: center;

}
#view-user #public-content .collection-feed-cover img{

    width: 100%;

    height: 100%;

    object-fit: cover;

}
#view-user #public-content .collection-feed-cover i{

    font-size: 2.2rem;

    color: var(--gold);

}
#view-user #public-content .collection-feed-body{

    padding: 18px 22px 21px;

}
#view-user #public-content .collection-feed-privacy{

    display: inline-flex;

    align-items: center;

    gap: 7px;

    border: 1px solid #66533a;

    border-radius: 999px;

    background: #342c20;

    color: #e5bc70;

    padding: 4px 10px;

    font-size: .78rem;

    font-weight: 600;

}
#view-user #public-content .collection-feed-description{

    color: var(--muted);

    font-size: .9rem;

    line-height: 1.5;

    margin: 12px 0 0;

    white-space: pre-wrap;

    overflow-wrap: anywhere;

}
#view-user #public-content .collection-feed-progress{

    margin-top: 19px;

}
#view-user #public-content .collection-feed-progress-row{

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    color: var(--muted);

    font-size: .81rem;

    margin-bottom: 9px;

}
#view-user #public-content .collection-feed-progress-row strong{

    color: #f6f3ee;

    font-weight: 700;

}
#view-user #public-content .collection-feed-progress-track{

    height: 8px;

    border-radius: 999px;

    background: #171511;

    overflow: hidden;

    border: 1px solid #494037;

}
#view-user #public-content .collection-feed-progress-track span{

    display: block;

    height: 100%;

    background: var(--gold);

    border-radius: 999px;

}
#view-user #public-content .collection-feed-stats{

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 16px;

}
#view-user #public-content .collection-feed-stats span{

    display: inline-flex;

    align-items: center;

    background: #211f1b;

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

    border-radius: 8px;

    padding: 6px 10px;

    color: #d5cec4;

    font-size: .8rem;

}
@media  (max-width:650px) {
#view-user #public-content .collection-feed-title{

        padding: 14px 16px 10px;

        font-size: 1.18rem;

    }
#view-user #public-content .collection-feed-cover{

        height: 115px;

    }
#view-user #public-content .collection-feed-body{

        padding: 16px;

    }
#view-user #public-content .collection-feed-progress-row{

        align-items: flex-start;

        flex-direction: column;

        gap: 3px;

    }
}
#view-user #public-content .collections-feed{ display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));align-items:start;gap:18px; }
#view-user #public-content .collection-feed-card{display:flex;flex-direction:column;min-width:0;border:1px solid #574a39;border-radius:14px;background:#292520;color:#f5eee4;text-decoration:none;overflow:hidden;transition:border-color .15s,transform .15s;}
#view-user #public-content .collection-feed-card:hover{border-color:#bd9450;transform:translateY(-2px);}
#view-user #public-content .collection-feed-card:focus-visible{outline:2px solid #d6a853;outline-offset:3px;}
#view-user #public-content .collection-feed-cover{height:160px;min-height:160px;order:0;background:linear-gradient(135deg,#33291d,#1c1a17);overflow:hidden;display:grid;place-items:center;}
#view-user #public-content .collection-feed-cover img{display:block;width:100%;height:100%;object-fit:cover;}
#view-user #public-content .collection-feed-cover i{font-size:2.1rem;color:#d5a451;}
#view-user #public-content .collection-feed-body{display:flex;flex-direction:column;gap:13px;padding:18px 20px 20px;}
#view-user #public-content .collection-feed-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
#view-user #public-content .collection-feed-title{flex:1;min-width:0;margin:0;padding:0;font-size:1.22rem;line-height:1.3;color:#f7f1e7;overflow-wrap:anywhere;}
#view-user #public-content .collection-feed-privacy{display:inline-flex;flex-shrink:0;align-items:center;gap:6px;border:1px solid #806438;border-radius:99px;background:#3b3021;color:#e0b264;padding:5px 9px;font-size:.76rem;font-weight:700;white-space:nowrap;}
#view-user #public-content .collection-feed-description{margin:0;color:#bbb1a4;font-size:.87rem;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;}
#view-user #public-content .collection-feed-progress{margin:3px 0 0;padding-top:14px;border-top:1px solid #514637;}
#view-user #public-content .collection-feed-progress-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 9px;color:#b7ada0;font-size:.82rem;}
#view-user #public-content .collection-feed-progress-row strong{color:#f1e9de;font-weight:700;}
#view-user #public-content .collection-feed-progress-track{height:8px;border:0;background:#514637;border-radius:99px;overflow:hidden;}
#view-user #public-content .collection-feed-progress-track span{display:block;height:100%;background:#d6aa60;border-radius:inherit;}
#view-user #public-content .collection-feed-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0;}
#view-user #public-content .collection-feed-stats .collection-feed-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;padding:11px 5px;background:#211e1b;border:1px solid #40372d;border-radius:9px;text-align:center;}
#view-user #public-content .collection-feed-stat strong{color:#d9aa5b;font-size:1.2rem;line-height:1.2;font-weight:750;}
#view-user #public-content .collection-feed-stat small{color:#b9afa1;font-size:.73rem;}
@media (max-width:520px) {
#view-user #public-content .collection-feed-cover{height:145px;min-height:145px;}
#view-user #public-content .collection-feed-body{padding:15px;}
#view-user #public-content .collection-feed-heading{flex-wrap:wrap;}
#view-user #public-content .collection-feed-title{font-size:1.14rem;}
}
#view-user #public-content .collections-feed{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
#view-user #public-content .collection-feed-card{
  width: 100%;
  min-width: 0;
}
#view-user #public-content .collections-feed{
  grid-template-columns: minmax(0, 1fr);
}
#view-user #public-content .collection-feed-card{
  display: grid;
  grid-template-columns: minmax(190px, 30%) minmax(0, 1fr);
  align-items: stretch;
  min-height: 245px;
  width: 100%;
}
#view-user #public-content .collection-feed-cover{
  order: 0;
  width: 100%;
  height: 100%;
  min-height: 245px;
  overflow: hidden;
  background: #1b1917;
}
#view-user #public-content .collection-feed-cover img{
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
}
#view-user #public-content .collection-feed-body{
  min-width: 0;
  justify-content: center;
  padding: 18px 20px;
}
@media  (max-width: 680px) {
#view-user #public-content .collection-feed-card{
    grid-template-columns: minmax(0, 1fr);
  }
#view-user #public-content .collection-feed-cover{
    height: 210px;
    min-height: 210px;
  }
#view-user #public-content .collection-feed-cover img{
    max-height: 210px;
  }
#view-user #public-content .collection-feed-body{
    padding: 15px;
  }
}

/* Dashboard: keep restricted tiles hidden until the session confirms access. */
.home-tile[hidden] { display: none !important; }

/* Respect permission-based visibility even on flex/grid tiles. */
.home-tile[hidden], .w360-global-link[hidden], .nav-dropdown-action[hidden] { display: none !important; }

/* Profile account deletion uses existing 360 form/button styling. */
.profile-delete-account{border:1px solid #67483b;border-radius:12px;padding:20px;margin-top:24px;background:rgba(115,44,35,.08)}
.profile-delete-account h3{margin-top:0}
.profile-delete-actions{display:flex;flex-wrap:wrap;gap:12px}
.profile-delete-account .btn-danger{background:#a6372c;border:1px solid #bd5145;color:#fff}
.profile-delete-account .btn-danger:hover{background:#882a22}
.profile-delete-account [hidden]{display:none!important}

/* Gamer discovery settings within Edit Profile */
#view-profile .profile-gamer-discovery select,
.profile-gamer-discovery select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 11px 42px 11px 13px;
  color: #f5eee4;
  background-color: #191613;
  border: 1px solid #6a5944;
  border-radius: 9px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.35;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d9ad61' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 16px;
}
.profile-gamer-discovery select:focus-visible {outline:2px solid #d9ad61;outline-offset:2px}
.profile-gamer-discovery select option {background:#191613;color:#f5eee4}
.profile-gamer-discovery > label:not(.profile-privacy-row) {display:grid;gap:8px}
