/* Shared Ceed Journal palette. IPS component selectors belong in a separate adapter. */
:root {
    color-scheme: light;
    --ceed-bg: #f6f7f4;
    --ceed-surface: #fff;
    --ceed-soft: #ecefea;
    --ceed-ink: #17201d;
    --ceed-muted: #626b66;
    --ceed-line: #dce1d9;
    --ceed-accent: #cbe978;
    --ceed-accent-ink: #182117;
    --ceed-header: rgba(246, 247, 244, .96);
    --ceed-link: #486519;
    --ceed-link-hover: #324b0d;
    --ceed-shadow: 0 14px 40px rgba(20, 35, 23, .05);
    --ceed-radius: 14px;
    --ceed-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --ceed-bg: #111714;
    --ceed-surface: #19211c;
    --ceed-soft: #222d25;
    --ceed-ink: #edf1e9;
    --ceed-muted: #abb6ab;
    --ceed-line: #334036;
    --ceed-header: rgba(17, 23, 20, .96);
    --ceed-link: #cbe978;
    --ceed-link-hover: #e0f8a8;
    --ceed-shadow: 0 14px 40px rgba(0, 0, 0, .14);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        color-scheme: dark;
        --ceed-bg: #111714;
        --ceed-surface: #19211c;
        --ceed-soft: #222d25;
        --ceed-ink: #edf1e9;
        --ceed-muted: #abb6ab;
        --ceed-line: #334036;
        --ceed-header: rgba(17, 23, 20, .96);
        --ceed-link: #cbe978;
        --ceed-link-hover: #e0f8a8;
        --ceed-shadow: 0 14px 40px rgba(0, 0, 0, .14);
    }
}
.ceed-club-header,
.ceed-club-header *,
.ceed-club-footer,
.ceed-club-footer * {
    box-sizing: border-box;
}
.ceed-club-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--ceed-header);
    color: var(--ceed-ink);
    border-bottom: 1px solid var(--ceed-line);
    font-family: var(--ceed-font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    backdrop-filter: blur(16px);
}
.ceed-club-header a {
    color: inherit;
    text-decoration: none;
}
.ceed-club-header a,
.ceed-club-header button {
    touch-action: manipulation;
    transition: background .18s, color .18s;
}
.ceed-club-header :focus-visible {
    outline: 3px solid #7e9d39;
    outline-offset: 5px;
}
.ceed-club-header svg {
    flex-shrink: 0;
}
.ceed-club-inner {
    width: min(1280px, calc(100% - 80px));
    min-height: 86px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 32px;
}
.ceed-club-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}
.ceed-club-brand-word {
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
}
.ceed-club-brand-dot {
    color: #8ba93e;
}
.ceed-club-brand-sub {
    padding-left: 14px;
    border-left: 1px solid var(--ceed-line);
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .07em;
    line-height: 1.7;
}
.ceed-club-navigation {
    margin-left: auto;
}
.ceed-club-nav-list {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.ceed-club-nav-list a {
    display: inline-block;
    padding-block: 10px;
    font-size: 12px;
    font-weight: 620;
    line-height: 1.3;
}
.ceed-club-nav-list a:hover,
.ceed-club-nav-list a[aria-current="page"] {
    color: var(--ceed-link);
}
.ceed-club-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
.ceed-theme-toggle {
    display: none;
    align-items: center;
    gap: 7px;
    min-width: 77px;
    min-height: 44px;
    padding: 9px 0;
    border: 0;
    background: none;
    color: var(--ceed-ink);
    font: 11px var(--ceed-font);
    cursor: pointer;
}
.ceed-js .ceed-theme-toggle {
    display: inline-flex;
}
.ceed-theme-toggle:hover {
    color: var(--ceed-link);
}
.ceed-club-forum-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--ceed-accent);
    color: var(--ceed-accent-ink) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}
.ceed-club-forum-link:hover {
    background: #d8f595;
}
.ceed-club-menu-toggle {
    display: none;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--ceed-line);
    border-radius: 6px;
    background: transparent;
    color: var(--ceed-ink);
    font: 12px var(--ceed-font);
    cursor: pointer;
}
.ceed-club-footer {
    background: var(--ceed-soft);
    color: var(--ceed-ink);
    border-top: 1px solid var(--ceed-line);
    font-family: var(--ceed-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.ceed-club-footer a {
    color: inherit;
    text-decoration: none;
}
.ceed-club-footer :focus-visible {
    outline: 3px solid #7e9d39;
    outline-offset: 5px;
}
.ceed-club-footer-inner {
    width: min(1280px, calc(100% - 80px));
    margin-inline: auto;
}
.ceed-club-footer-main {
    display: grid;
    grid-template-columns: 1.4fr .65fr .9fr 1fr;
    gap: 35px;
    padding-block: 52px 40px;
}
.ceed-club-footer .ceed-club-brand-word {
    font-size: 36px;
}
.ceed-club-footer .ceed-club-brand-sub {
    font-size: 8px;
}
.ceed-club-footer-summary {
    margin: 20px 0 0;
    color: var(--ceed-muted);
    font-size: 12px;
    line-height: 1.7;
}
.ceed-club-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    font-size: 12px;
}
.ceed-club-footer-links > h2,
.ceed-club-footer-search > label {
    margin: 0 0 7px;
    color: var(--ceed-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.6;
}
.ceed-club-footer-links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ceed-club-footer-search > label {
    display: block;
}
.ceed-club-footer-search > div {
    display: flex;
    align-items: center;
    margin-top: 18px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--ceed-muted);
}
.ceed-club-footer-search input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ceed-ink);
    box-shadow: none;
    font: 12px var(--ceed-font);
}
.ceed-club-footer-search button {
    min-width: 44px;
    min-height: 44px;
    padding: 0 0 0 10px;
    border: 0;
    background: none;
    color: var(--ceed-ink);
    font: 22px var(--ceed-font);
    cursor: pointer;
}
.ceed-club-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 23px;
    border-top: 1px solid var(--ceed-line);
    color: var(--ceed-muted);
    font-size: 9px;
}
@media (max-width: 1200px) {
    .ceed-club-inner,
    .ceed-club-footer-inner {
        width: calc(100% - 56px);
    }
    .ceed-club-inner {
        gap: 20px;
    }
    .ceed-club-brand-sub {
        display: none;
    }
    .ceed-club-nav-list {
        gap: 20px;
    }
    .ceed-club-footer-main {
        grid-template-columns: 1.2fr .8fr 1fr;
        gap: 30px;
    }
    .ceed-club-footer-search {
        grid-column: 1 / -1;
        max-width: 350px;
    }
}
@media (max-width: 1000px) {
    .ceed-club-inner {
        min-height: 76px;
    }
    .ceed-club-nav-list {
        gap: 15px;
    }
    .ceed-club-nav-list a {
        font-size: 11px;
    }
    .ceed-club-actions {
        gap: 14px;
    }
    .ceed-theme-toggle {
        min-width: 44px;
        justify-content: center;
    }
    .ceed-theme-toggle [data-ceed-theme-label] {
        display: none;
    }
}
@media (max-width: 859px) {
    .ceed-club-inner {
        width: calc(100% - 40px);
        min-height: 75px;
        flex-wrap: wrap;
        gap: 15px;
        padding-block: 16px;
    }
    .ceed-club-brand {
        margin-right: auto;
    }
    .ceed-club-brand-word {
        font-size: 31px;
    }
    .ceed-club-actions {
        order: 1;
    }
    .ceed-js .ceed-club-menu-toggle {
        display: inline-flex;
        order: 2;
    }
    .ceed-club-navigation {
        order: 3;
        width: 100%;
        margin: 0;
        padding: 12px 0 2px;
    }
    .ceed-club-nav-list {
        flex-wrap: wrap;
        gap: 7px 24px;
    }
    .ceed-club-nav-list a {
        font-size: 14px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    .ceed-js .ceed-club-navigation:not(.is-open) {
        display: none;
    }
    .ceed-club-forum-link {
        padding: 8px 12px;
        font-size: 12px;
    }
    .ceed-club-footer-inner {
        width: calc(100% - 40px);
    }
    .ceed-club-footer-main {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 25px;
    }
    .ceed-club-footer-bottom {
        font-size: 8px;
    }
}
@media (max-width: 600px) {
    .ceed-club-inner {
        width: calc(100% - 32px);
        gap: 12px;
        padding-block: 13px;
    }
    .ceed-club-brand-word {
        font-size: 29px;
    }
    .ceed-club-actions {
        gap: 10px;
    }
    .ceed-club-menu-toggle {
        padding: 7px 11px;
    }
    .ceed-club-menu-toggle .ceed-club-menu-label {
        display: none;
    }
    .ceed-club-footer-inner {
        width: calc(100% - 32px);
    }
    .ceed-club-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding-top: 38px;
    }
    .ceed-club-footer-main > div:first-child {
        grid-column: 1 / -1;
    }
    .ceed-club-footer .ceed-club-brand-sub {
        display: block;
    }
    .ceed-club-footer-links {
        gap: 10px;
        font-size: 11px;
    }
    .ceed-club-footer-search {
        max-width: 100%;
    }
    .ceed-club-footer-bottom {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px 20px;
    }
    .ceed-club-footer-bottom > a {
        margin-left: auto;
    }
}
@media (max-width: 340px) {
    .ceed-club-forum-link {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ceed-club-header a,
    .ceed-club-header button {
        transition: none;
    }
}
@media print {
    .ceed-club-header,
    .ceed-club-footer {
        display: none;
    }
}
