:root {
    color-scheme: light;
    font-family: "DM Sans", "Noto Sans KR", sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --page: #fff9fb;
    --surface: #ffffff;
    --surface-soft: #fff1f5;
    --text: #302331;
    --muted: #938590;
    --line: #f0e6ec;
    --accent: #e77ba1;
    --accent-deep: #c95d85;
    --shadow: 0 12px 35px rgb(81 44 67 / 6%);
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    margin: 0;
    background: var(--page);
    color: var(--text);
    transition: background-color 180ms ease, color 180ms ease;
}

@view-transition {
    navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 180ms;
    animation-timing-function: ease-out;
}

.site-loader {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff9fb;
    color: #302331;
    opacity: 0;
    visibility: hidden;
    transition: opacity 520ms ease, visibility 520ms ease;
}

.site-loader.is-visible {
    opacity: 1;
    visibility: visible;
}

.site-loader.is-hiding {
    opacity: 0;
}

.site-loader[data-theme="dark"] {
    background:
        radial-gradient(circle at 50% 48%, rgb(119 103 145 / 18%), transparent 20%),
        #100e14;
    color: #f4eef5;
}

.site-loader[data-theme="record"] {
    background:
        radial-gradient(circle at 50% 48%, rgb(239 193 120 / 13%), transparent 22%),
        #49304d;
    color: #fff8ef;
}

.site-loader-stars {
    position: absolute;
    inset: 50%;
    width: 1px;
    height: 1px;
}

.site-loader-stars span {
    --loader-angle: 0deg;
    --loader-distance: 40vmin;
    --loader-delay: 0s;
    --loader-size: 3px;
    position: absolute;
    width: var(--loader-size);
    height: var(--loader-size);
    border-radius: 50%;
    background: #e77ba1;
    box-shadow: 0 0 9px currentColor;
    transform: rotate(var(--loader-angle)) translateX(0) scale(0);
    transform-origin: 0 0;
    animation: loader-star-flight 1.05s var(--loader-delay) cubic-bezier(.18,.7,.22,1) both;
}

.site-loader-stars span::after {
    position: absolute;
    top: 50%;
    right: 50%;
    width: clamp(18px, 4vmin, 54px);
    height: 1px;
    content: "";
    background: linear-gradient(to left, currentColor, transparent);
    transform-origin: right center;
    opacity: .58;
}

.site-loader[data-theme="dark"] .site-loader-stars span {
    background: #fff;
    color: #fff;
    box-shadow: 0 0 12px rgb(255 255 255 / 85%);
}

.site-loader[data-theme="record"] .site-loader-stars span {
    background: #efc178;
    color: #efc178;
    box-shadow: 0 0 12px rgb(239 193 120 / 75%);
}

.site-loader-brand {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.site-loader-moon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: #e77ba1;
    font-size: 22px;
    animation: loader-moon-pulse 1.2s ease-in-out infinite alternate;
}

.site-loader[data-theme="dark"] .site-loader-moon {
    color: #fff;
}

.site-loader[data-theme="record"] .site-loader-moon {
    color: #efc178;
}

.site-loader-brand p {
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .18em;
}

.site-loader-line {
    width: 44px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: left;
    animation: loader-line-progress 1s ease-in-out infinite;
}

@keyframes loader-star-flight {
    0% {
        opacity: 0;
        transform: rotate(var(--loader-angle)) translateX(8px) scale(.2);
    }
    18% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(var(--loader-angle)) translateX(var(--loader-distance)) scale(1);
    }
}

@keyframes loader-moon-pulse {
    to { transform: scale(1.08); box-shadow: 0 0 28px rgb(231 123 161 / 18%); }
}

@keyframes loader-line-progress {
    0% { transform: scaleX(.25); opacity: .45; }
    55% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(.25); opacity: .45; }
}

body.dark-mode::before,
body.dark-mode::after {
    position: fixed;
    z-index: 0;
    inset: 0;
    content: "";
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

body.dark-mode::before {
    background-image: url("dark-stars.svg");
    animation: background-star-twinkle 4.8s ease-in-out infinite alternate;
}

body.dark-mode::after {
    background-image: url("dark-stars-secondary.svg");
    animation: background-star-twinkle 6.2s -2.7s ease-in-out infinite alternate;
}

button,
input,
select {
    font: inherit;
}

button,
select {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid rgb(231 123 161 / 45%);
    outline-offset: 3px;
}

body.dark-mode :is(button, a, input, select):focus-visible {
    outline-color: rgb(255 255 255 / 55%);
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    height: 82px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-decoration: none;
}

.brand-mark,
.footer-mark {
    color: var(--accent);
    font-size: 23px;
}

.brand-mark {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.brand-light {
    color: var(--accent-deep);
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-return-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease;
}

.home-return-button:hover {
    transform: translateY(-1px);
    border-color: var(--accent);
}

.home-return-button span {
    color: var(--accent-deep);
    font-size: 16px;
}

.theme-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: border-color 160ms ease, transform 160ms ease;
}

.theme-button:hover {
    transform: translateY(-1px);
    border-color: var(--accent);
}

.theme-icon {
    font-size: 15px;
}

.hero {
    position: relative;
    display: flex;
    min-height: 330px;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    margin: 28px 0 74px;
    padding: 54px 9%;
    border: 1px solid #f8e8ee;
    border-radius: 28px;
    background:
        radial-gradient(ellipse at 75% 18%, rgb(255 255 255 / 95%), transparent 32%),
        linear-gradient(112deg, #fff0f4 0%, #fbe9f4 52%, #f2ecff 100%);
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent-deep);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.eyebrow-star {
    padding-right: 4px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 1.27;
}

.hero h1 span {
    color: var(--accent-deep);
}

.hero-description {
    margin: 16px 0 0;
    color: #857482;
    font-size: 13px;
    white-space: nowrap;
}

.hero-art {
    position: absolute;
    top: 50%;
    right: 13%;
    width: 220px;
    height: 220px;
    transform: translateY(-50%);
}

.hero-orbit {
    position: absolute;
    inset: 13px;
    border: 1px solid rgb(201 93 133 / 18%);
    border-radius: 50%;
}

.orbit-two {
    inset: 37px -5px;
    transform: rotate(-33deg);
}

.hero-moon {
    position: absolute;
    top: 35px;
    left: 70px;
    color: var(--accent-deep);
    font-size: 126px;
    line-height: 1;
    text-shadow: 8px 10px 28px rgb(201 93 133 / 20%);
    transform: rotate(-20deg);
}

.hero-spark {
    position: absolute;
    z-index: 1;
    color: var(--accent-deep);
}

.spark-one {
    top: 26px;
    right: 28px;
    font-size: 26px;
}

.spark-two {
    bottom: 34px;
    left: 21px;
    font-size: 34px;
}

.hero-caption {
    position: absolute;
    right: -20px;
    bottom: 9px;
    color: #a17f9c;
    font-size: 10px;
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-align: right;
}

.catalog-section {
    padding-bottom: 70px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 23px;
}

.section-heading .eyebrow {
    margin-bottom: 7px;
    font-size: 9px;
}

.section-heading h2 {
    margin: 0;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.catalog-note {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 10px;
}

.catalog-count {
    margin: 0 0 3px;
    color: var(--muted);
    font-size: 12px;
}

.catalog-count strong {
    color: var(--accent-deep);
    font-size: 15px;
}

.filters {
    display: grid;
    grid-template-columns: minmax(200px, 1.55fr) repeat(4, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 29px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.search-field,
.select-field {
    position: relative;
    display: flex;
    min-width: 0;
    height: 43px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--page);
}

.search-field {
    padding-left: 37px;
}

.search-icon {
    position: absolute;
    left: 13px;
    top: 7px;
    color: #ad9aa8;
    font-size: 24px;
    line-height: 1;
    transform: rotate(-20deg);
}

.search-field input,
.select-field select {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 11px;
}

.search-field input {
    min-width: 0;
    padding: 0 10px 0 0;
    outline: none;
}

.search-field input::placeholder {
    color: #a99ca7;
}

.select-field select {
    padding: 0 27px 0 11px;
    cursor: pointer;
    outline: none;
}

.goods-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.goods-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 7px 22px rgb(81 44 67 / 4%);
    text-align: left;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.goods-card:hover,
.goods-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.goods-card-media {
    position: relative;
}

.goods-art {
    position: relative;
    display: grid;
    min-height: 185px;
    place-items: center;
    overflow: hidden;
    cursor: pointer;
}

.goods-art::before,
.goods-art::after {
    position: absolute;
    content: "";
    border: 1px solid rgb(255 255 255 / 65%);
    border-radius: 50%;
}

.goods-art::before {
    width: 135px;
    height: 135px;
}

.goods-art::after {
    width: 166px;
    height: 166px;
}

.goods-art-icon {
    position: relative;
    z-index: 1;
    font-size: 66px;
    filter: drop-shadow(0 8px 7px rgb(80 47 64 / 13%));
    transition: transform 180ms ease;
}

.goods-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.goods-card:hover .goods-art-icon {
    transform: scale(1.08) rotate(-4deg);
}

.goods-collection-plus,
.collection-remove-button {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 90%);
    border-radius: 50%;
    background: rgb(255 255 255 / 94%);
    color: var(--accent-deep);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 3px 12px rgb(48 35 49 / 18%);
    transition: transform 160ms ease, background-color 160ms ease;
}

.goods-collection-plus:hover,
.collection-remove-button:hover {
    transform: scale(1.08);
}

.goods-collection-plus:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.goods-collection-popover {
    position: absolute;
    z-index: 4;
    top: 57px;
    right: 12px;
    min-width: 190px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.goods-collection-action {
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    text-align: left;
}

.goods-collection-action:hover {
    background: var(--surface-soft);
    color: var(--accent-deep);
}

.goods-name-button {
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.goods-name-button:hover {
    color: var(--accent-deep);
}

.goods-art-spark {
    position: absolute;
    z-index: 1;
    color: rgb(255 255 255 / 90%);
    font-size: 18px;
}

.art-spark-a {
    top: 24%;
    left: 22%;
}

.art-spark-b {
    right: 19%;
    bottom: 23%;
    font-size: 13px;
}

.goods-info {
    padding: 14px 15px 15px;
}

.collection-status {
    margin: 14px 0;
    color: var(--accent-deep);
    font-size: 12px;
    font-weight: 700;
}

.collection-main {
    min-height: calc(100vh - 152px);
    padding: 42px 0 70px;
}

.collection-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.collection-heading h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.06em;
}

.collection-heading .hero-description {
    margin-top: 12px;
    white-space: normal;
}

.collection-container[hidden] {
    display: none;
}

.collection-browse-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 0 17px;
    border: 1px solid var(--accent-deep);
    border-radius: 999px;
    background: var(--accent-deep);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

body.dark-mode .goods-collection-plus,
body.dark-mode .collection-remove-button {
    border-color: #fff;
    background: #fff;
    color: #100e14;
}

body.dark-mode .collection-browse-button {
    color: #100e14;
}

.goods-tags {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
}

.member-name {
    overflow: hidden;
    color: var(--accent-deep);
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.goods-type {
    flex: 0 0 auto;
    max-width: 95px;
    overflow: hidden;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--accent-deep);
    font-size: 9px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.goods-info h3 {
    overflow: hidden;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.goods-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
    color: var(--muted);
    font-size: 10px;
}

.goods-price {
    margin: 11px 0 0;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.goods-dialog {
    position: fixed;
    width: min(760px, calc(100% - 32px));
    max-width: none;
    max-height: min(90vh, 720px);
    overflow: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 24px 80px rgb(32 17 29 / 24%);
}

.goods-dialog::backdrop {
    background: rgb(28 19 29 / 58%);
    backdrop-filter: blur(4px);
}

.dialog-close {
    position: absolute;
    z-index: 2;
    top: 13px;
    right: 13px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 65%);
    border-radius: 50%;
    background: rgb(255 255 255 / 88%);
    color: #493b49;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.detail-art {
    display: grid;
    min-height: 300px;
    place-items: center;
    overflow: hidden;
}

.detail-art-icon {
    font-size: clamp(100px, 23vw, 160px);
    filter: drop-shadow(0 14px 12px rgb(80 47 64 / 15%));
}

.detail-photo {
    width: 100%;
    max-height: min(48vh, 420px);
    object-fit: contain;
}

.detail-content {
    padding: 26px 32px 32px;
}

.detail-member {
    margin: 0 0 7px;
    color: var(--accent-deep);
    font-size: 12px;
    font-weight: 700;
}

.detail-content h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.05em;
}

.detail-description {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.detail-info-note {
    margin: 17px 0 0;
    color: var(--accent-deep);
    font-size: 10px;
}

.detail-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 19px 0 0;
}

.detail-facts div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--page);
}

.detail-facts dt {
    color: var(--muted);
    font-size: 10px;
}

.detail-facts dd {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 700;
}

.detail-facts dd a {
    color: var(--accent-deep);
    text-decoration: none;
}

.detail-facts dd a:hover {
    text-decoration: underline;
}

.empty-state {
    padding: 54px 20px;
    border: 1px dashed var(--line);
    border-radius: 18px;
    background: var(--surface);
    text-align: center;
}

.empty-state[hidden] {
    display: none;
}

.empty-icon {
    color: var(--accent);
    font-size: 31px;
}

.empty-state h3 {
    margin: 12px 0 6px;
    font-size: 16px;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.reset-button {
    margin-top: 18px;
    padding: 9px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--accent-deep);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.site-footer {
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
}

.site-footer p {
    margin: 0;
}

.site-footer p span {
    padding: 0 3px;
    color: var(--accent);
}

.footer-mark {
    font-size: 15px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

body.dark-mode {
    color-scheme: dark;
    --page: #100e14;
    --surface: #19161f;
    --surface-soft: #29222e;
    --text: #f4eef5;
    --muted: #a89dab;
    --line: #302a35;
    --accent: #fff;
    --accent-deep: #fff;
    --shadow: 0 12px 35px rgb(0 0 0 / 28%);
}

body.dark-mode .home-primary-button {
    border-color: #fff;
    background: #fff;
    color: #100e14;
    box-shadow: 0 8px 18px rgb(255 255 255 / 10%);
}

body.dark-mode .chzzk-lookup-button:not(:disabled),
body.dark-mode .post-primary-button {
    border-color: #fff;
    background: #fff;
    color: #100e14;
}

body.dark-mode .home-hero {
    border-color: #39313e;
    background:
        radial-gradient(ellipse at 75% 40%, rgb(255 255 255 / 8%), transparent 29%),
        radial-gradient(ellipse at 18% 100%, rgb(153 127 161 / 8%), transparent 38%),
        linear-gradient(116deg, #241d28 0%, #211a25 48%, #1a1926 100%);
}

body.dark-mode .home-art-halo {
    border-color: rgb(255 255 255 / 15%);
    background: radial-gradient(circle, rgb(255 255 255 / 9%) 0%, rgb(255 255 255 / 3%) 58%, transparent 70%);
}

body.dark-mode .home-art-orbit {
    border-color: rgb(255 255 255 / 23%);
}

body.dark-mode .home-art-moon,
body.dark-mode .home-art-star {
    color: #fff;
}

body.dark-mode .home-art-moon {
    text-shadow: 0 0 24px rgb(255 255 255 / 25%);
}

body.dark-mode .home-art-star {
    text-shadow: 0 0 8px rgb(255 255 255 / 65%);
    animation: home-star-twinkle 3.4s ease-in-out infinite;
}

body.dark-mode .home-art-star-two {
    animation-delay: 1.1s;
}

body.dark-mode .home-art-star-three {
    animation-delay: 2.2s;
}

body.dark-mode .feature-goods-object,
body.dark-mode .feature-art-spark,
body.dark-mode .chzzk-heart,
body.dark-mode .chzzk-spark,
body.dark-mode .collection-art-spark,
body.dark-mode .collection-art-badge,
body.dark-mode .feature-corner-mark {
    color: #fff;
}

body.dark-mode .chzzk-live-pill span {
    background: #fff;
    box-shadow: 0 0 0 4px rgb(255 255 255 / 18%);
}

body.dark-mode .feature-goods-art {
    background:
        radial-gradient(ellipse at 50% 110%, rgb(255 255 255 / 7%), transparent 47%),
        linear-gradient(120deg, #241d28 0%, #211b29 54%, #1b1927 100%);
}

body.dark-mode .feature-chzzk-art {
    background:
        radial-gradient(ellipse at 50% 50%, rgb(255 255 255 / 8%) 0%, rgb(255 255 255 / 3%) 26%, transparent 62%),
        linear-gradient(120deg, #1a1926 0%, #251d29 50%, #241b25 100%);
}

body.dark-mode .feature-collection-art {
    background:
        radial-gradient(ellipse at 50% 110%, rgb(255 255 255 / 7%), transparent 48%),
        linear-gradient(125deg, #201b29, #251d29 54%, #29201f);
}

body.dark-mode .collection-art-orbit {
    border-color: rgb(255 255 255 / 20%);
    box-shadow: 0 0 0 18px rgb(255 255 255 / 5%), 0 0 0 38px rgb(255 255 255 / 3%);
}

body.dark-mode .collection-art-badge {
    border-color: rgb(255 255 255 / 25%);
    background: rgb(255 255 255 / 8%);
}

@keyframes background-star-twinkle {
    from {
        opacity: 0.18;
    }

    to {
        opacity: 0.72;
    }
}

@keyframes home-star-twinkle {
    0%,
    100% {
        opacity: 0.58;
        text-shadow: 0 0 7px rgb(255 255 255 / 40%);
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 18px rgb(255 255 255 / 95%), 0 0 30px rgb(255 255 255 / 40%);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.dark-mode::before,
    body.dark-mode::after,
    body.dark-mode .home-art-star {
        animation: none;
    }
}

.dark-mode .select-field select,
.dark-mode .select-field select option,
.dark-mode .select-field select optgroup {
    color: var(--text);
}

.dark-mode .select-field select option,
.dark-mode .select-field select optgroup {
    background-color: var(--surface);
}

.dark-mode .hero {
    border-color: #39313e;
    background:
        radial-gradient(ellipse at 75% 18%, rgb(255 255 255 / 7%), transparent 32%),
        linear-gradient(112deg, #241d28 0%, #211a25 52%, #1a1926 100%);
}

.dark-mode .hero-orbit {
    border-color: rgb(255 255 255 / 22%);
}

.dark-mode .hero-moon,
.dark-mode .hero-spark {
    color: #fff;
}

.dark-mode .hero-moon {
    text-shadow: 8px 10px 28px rgb(255 255 255 / 24%);
}

.dark-mode .hero-spark {
    text-shadow: 0 0 10px rgb(255 255 255 / 70%);
    animation: home-star-twinkle 3.4s ease-in-out infinite;
}

.dark-mode .spark-two {
    animation-delay: 1.7s;
}

.dark-mode .hero-description {
    color: #c0aeba;
}

.dark-mode .hero-caption {
    color: rgb(255 255 255 / 62%);
}

.home-main {
    padding-bottom: 74px;
}

.home-hero {
    position: relative;
    display: flex;
    min-height: 368px;
    align-items: center;
    overflow: hidden;
    margin: 26px 0 60px;
    padding: 54px 8%;
    border: 1px solid #f5e2ec;
    border-radius: 30px;
    background:
        radial-gradient(ellipse at 75% 40%, rgb(255 255 255 / 88%), transparent 26%),
        radial-gradient(ellipse at 18% 100%, rgb(255 255 255 / 72%), transparent 38%),
        linear-gradient(116deg, #fff1f5 0%, #f9eaf3 48%, #eee9fb 100%);
    box-shadow: 0 20px 60px rgb(81 44 67 / 6%);
}

.home-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 590px;
}

.home-hero .eyebrow {
    margin-bottom: 17px;
    font-size: 10px;
}

.home-hero h1 {
    margin: 0;
    font-size: clamp(39px, 5.2vw, 58px);
    font-weight: 800;
    letter-spacing: -0.075em;
    line-height: 1.23;
}

.home-hero h1 span {
    color: var(--accent-deep);
}

.home-hero .hero-description {
    margin-top: 17px;
    font-size: 13px;
    line-height: 1.8;
}

.home-primary-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 19px;
    margin-top: 25px;
    padding: 0 18px;
    border: 1px solid var(--accent-deep);
    border-radius: 999px;
    background: var(--accent-deep);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 18px rgb(201 93 133 / 20%);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 24px rgb(201 93 133 / 30%);
}

.home-primary-button span {
    font-size: 17px;
}

.home-hero-art {
    position: absolute;
    top: 50%;
    right: 8%;
    width: 335px;
    height: 335px;
    transform: translateY(-48%);
    isolation: isolate;
}

.home-art-halo,
.home-art-orbit,
.home-art-moon,
.home-art-star {
    position: absolute;
}

.home-art-halo {
    inset: 39px;
    border: 1px solid rgb(201 93 133 / 13%);
    border-radius: 50%;
    background: radial-gradient(circle, rgb(255 255 255 / 70%) 0%, rgb(255 255 255 / 12%) 58%, transparent 70%);
    box-shadow: 0 0 65px rgb(180 118 174 / 14%);
}

.home-art-orbit {
    top: 50%;
    left: 50%;
    width: 320px;
    height: 136px;
    border: 1px solid rgb(174 124 178 / 28%);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-33deg);
}

.home-art-orbit-two {
    width: 280px;
    height: 195px;
    transform: translate(-50%, -50%) rotate(48deg);
}

.home-art-moon {
    top: 70px;
    left: 96px;
    color: var(--accent-deep);
    font-size: 174px;
    line-height: 1;
    text-shadow: 11px 14px 28px rgb(201 93 133 / 20%);
    transform: rotate(-20deg);
}

.home-art-star {
    color: var(--accent-deep);
    text-shadow: 0 4px 16px rgb(188 113 154 / 30%);
}

.home-art-star-one {
    top: 47px;
    right: 54px;
    font-size: 30px;
}

.home-art-star-two {
    bottom: 54px;
    left: 27px;
    font-size: 38px;
}

.home-art-star-three {
    top: 133px;
    right: 17px;
    font-size: 17px;
}

.home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
}

.home-section-heading .eyebrow {
    margin-bottom: 7px;
    font-size: 9px;
}

.home-section-heading h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 18px;
}

.home-live-status {
    margin-top: 48px;
}

.home-live-status .home-section-heading {
    align-items: flex-end;
}

.live-status-groups {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.live-status-group {
    display: grid;
    gap: 8px;
}

.live-status-group h3 {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.live-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 12px;
}

.live-status-card {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "member badge"
        "broadcast broadcast"
        "duration duration";
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 10px;
    min-height: 108px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
}

.live-status-member {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    grid-area: member;
}

.live-status-member img {
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--surface-soft);
    object-fit: cover;
}

.live-status-member strong {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 5px;
    color: var(--text);
    font-size: 12px;
}

.live-status-name {
    min-width: 0;
}

.live-status-oshimark {
    flex: 0 0 auto;
    font-size: 11px;
}

.live-status-badge {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    grid-area: badge;
}

.live-status-duration {
    grid-area: duration;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.live-status-info {
    display: grid;
    min-width: 0;
    grid-area: broadcast;
    gap: 4px;
}

.live-status-info[hidden] {
    display: none;
}

.live-status-title {
    overflow: hidden;
    color: var(--text);
    font-size: 11px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-status-category {
    justify-self: start;
    max-width: 100%;
    overflow: hidden;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-status-badge.is-online {
    border-color: #b6e4c4;
    background: #e8f7ed;
    color: #24743c;
}

.live-status-badge.is-offline {
    border-color: #e8b3b3;
    background: #fff0f0;
    color: #a83232;
}

.live-status-badge.is-checking,
.live-status-badge.is-unavailable {
    border-color: var(--line);
    background: var(--page);
    color: var(--muted);
}

.live-status-card.is-online {
    border-color: #78c98b;
    background: #f3fbf5;
    box-shadow: 0 0 14px rgb(68 180 94 / 28%);
    cursor: pointer;
}

.live-status-card.is-online:hover {
    box-shadow: 0 0 18px rgb(68 180 94 / 45%);
}

.live-status-card.is-online:focus-visible {
    outline: 2px solid #278943;
    outline-offset: 2px;
}

.live-status-card.is-offline {
    border-color: #e5b0b0;
}

.member-platform-x {
    border-color: #f1c8da;
    background: #fff0f6;
    color: #c94f88;
}

a.member-platform-x:hover {
    border-color: #e995b9;
    background: #ffe4ef;
    color: #b83d76;
}

body.dark-mode .live-status-badge.is-online {
    border-color: #39744c;
    background: #203d2a;
    color: #9ce0ad;
}

body.dark-mode .live-status-badge.is-offline {
    border-color: #744141;
    background: #3c2525;
    color: #f0a3a3;
}

body.dark-mode .live-status-card.is-online {
    border-color: #4a9b5c;
    background: #1d3022;
    box-shadow: 0 0 14px rgb(75 190 101 / 30%);
}

body.dark-mode .live-status-card.is-online:hover {
    box-shadow: 0 0 18px rgb(75 190 101 / 48%);
}

body.dark-mode .live-status-card.is-offline {
    border-color: #744141;
}

body.dark-mode .member-platform-x {
    border-color: #76485e;
    background: #422b38;
    color: #f2a9cb;
}

.feature-collection-art {
    position: relative;
    display: grid;
    overflow: hidden;
    place-items: center;
    background:
        radial-gradient(ellipse at 50% 110%, rgb(255 255 255 / 90%), transparent 48%),
        linear-gradient(125deg, #e8e4fb, #f8e9f2 54%, #f9e7dc);
}

.collection-art-orbit {
    position: absolute;
    width: 158px;
    height: 158px;
    border: 1px solid rgb(158 124 185 / 25%);
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgb(255 255 255 / 16%), 0 0 0 38px rgb(255 255 255 / 12%);
}

.collection-book {
    z-index: 1;
    font-size: 82px;
    filter: drop-shadow(0 12px 13px rgb(119 72 102 / 20%));
    transform: rotate(-22deg);
    transition: transform 350ms ease;
}

.home-feature-collection:hover .collection-book {
    transform: rotate(-12deg) translateY(-4px);
}

.collection-art-spark {
    position: absolute;
    z-index: 1;
    color: #a97db2;
}

.collection-art-spark-one {
    top: 29px;
    left: 24%;
    font-size: 23px;
}

.collection-art-spark-two {
    right: 23%;
    bottom: 31px;
    font-size: 19px;
}

.collection-art-badge {
    position: absolute;
    top: 20px;
    right: 22px;
    display: grid;
    width: 45px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 80%);
    border-radius: 15px;
    background: rgb(255 255 255 / 66%);
    color: #896f9d;
    font-size: 8px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    transform: rotate(8deg);
}

.collection-art-caption {
    position: absolute;
    right: 22px;
    bottom: 16px;
    color: rgb(107 73 103 / 58%);
    font-size: 8px;
    letter-spacing: 0.2em;
    line-height: 1.7;
    text-align: right;
}

.home-feature {
    position: relative;
    display: grid;
    min-width: 0;
    grid-template-rows: 190px 1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 21px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.home-feature:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 20px 42px rgb(81 44 67 / 12%);
}

.feature-art {
    position: relative;
    display: grid;
    overflow: hidden;
    place-items: center;
}

.feature-goods-art {
    background:
        radial-gradient(ellipse at 50% 110%, rgb(255 255 255 / 92%), transparent 47%),
        linear-gradient(120deg, #fae8ef 0%, #f5eaf5 54%, #e9e7fa 100%);
}

.feature-art-orbit {
    position: absolute;
    width: 170px;
    height: 170px;
    border: 1px solid rgb(196 123 158 / 24%);
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgb(255 255 255 / 14%), 0 0 0 38px rgb(255 255 255 / 12%);
}

.feature-goods-object {
    z-index: 1;
    color: #c8759a;
    font-size: 78px;
    filter: drop-shadow(0 12px 13px rgb(119 72 102 / 21%));
    transform: rotate(-12deg);
    transition: transform 350ms ease;
}

.home-feature-goods:hover .feature-goods-object,
.home-feature-goods:focus-visible .feature-goods-object {
    transform: rotate(0) translateY(-4px);
}

.feature-art-spark {
    position: absolute;
    z-index: 1;
    color: #b978a2;
}

.feature-art-spark-one {
    top: 29px;
    left: 24%;
    font-size: 23px;
}

.feature-art-spark-two {
    right: 23%;
    bottom: 31px;
    font-size: 19px;
}

.feature-art-caption {
    position: absolute;
    right: 22px;
    bottom: 16px;
    color: rgb(107 73 103 / 58%);
    font-size: 8px;
    letter-spacing: 0.2em;
    line-height: 1.7;
    text-align: right;
}

.feature-chzzk-art {
    background:
        radial-gradient(ellipse at 50% 50%, rgb(255 255 255 / 100%) 0%, rgb(253 232 242 / 85%) 26%, transparent 62%),
        linear-gradient(120deg, #f2ebfc 0%, #fceaf2 50%, #fbe6ed 100%);
}

.chzzk-glow {
    position: absolute;
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background: rgb(225 146 182 / 23%);
    filter: blur(25px);
}

.chzzk-ring {
    position: absolute;
    width: 156px;
    height: 156px;
    border: 1px solid rgb(182 117 164 / 25%);
    border-radius: 50%;
}

.chzzk-ring-two {
    width: 212px;
    height: 212px;
    border-style: dashed;
    border-color: rgb(182 117 164 / 20%);
}

.chzzk-heart {
    z-index: 1;
    color: #d76f9a;
    font-size: 88px;
    line-height: 1;
    text-shadow: 0 8px 22px rgb(215 111 154 / 22%);
    transition: transform 350ms ease;
}

.home-feature-chzzk:hover .chzzk-heart,
.home-feature-chzzk:focus-visible .chzzk-heart {
    transform: scale(1.09) rotate(-7deg);
}

.chzzk-live-pill {
    position: absolute;
    top: 25px;
    left: 25px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgb(255 255 255 / 80%);
    border-radius: 999px;
    background: rgb(255 255 255 / 72%);
    color: #8d7087;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.chzzk-live-pill span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ed83a8;
    box-shadow: 0 0 0 4px rgb(237 131 168 / 16%);
}

.chzzk-spark {
    position: absolute;
    right: 24%;
    bottom: 24px;
    color: #ae78a4;
    font-size: 23px;
}

.feature-content {
    position: relative;
    padding: 20px 23px 22px;
}

.feature-kicker {
    color: var(--accent-deep);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.feature-content h3 {
    margin: 8px 0 0;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.4;
}

.feature-content p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.feature-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 17px;
    color: var(--accent-deep);
    font-size: 11px;
    font-weight: 700;
}

.feature-action span {
    font-size: 16px;
    transition: transform 180ms ease;
}

.home-feature:hover .feature-action span {
    transform: translateX(4px);
}

.feature-corner-mark {
    position: absolute;
    right: 22px;
    bottom: 20px;
    color: var(--line);
    font-size: 21px;
}

.home-members {
    position: relative;
    margin-top: 62px;
    padding: 28px 30px 24px;
    border: 1px solid var(--line);
    border-radius: 21px;
    background: var(--surface);
}

.members-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.members-heading .eyebrow {
    margin-bottom: 7px;
    font-size: 9px;
}

.members-heading h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.members-heading-star {
    color: var(--accent);
    font-size: 27px;
}

.member-groups {
    display: grid;
    gap: 0;
    margin-top: 17px;
}

.member-group {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.member-group h3 {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.member-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.member-list a,
.member-profile-button {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--page);
    color: var(--text);
    font-family: inherit;
    font-size: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.member-list a:hover,
.member-profile-button:hover {
    border-color: var(--accent);
    background: var(--surface-soft);
    color: var(--accent-deep);
}

.member-emojis {
    margin-left: 2px;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.members-footnote {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 15px 0 0;
    color: var(--muted);
    font-size: 10px;
}

.members-footnote span {
    color: var(--accent);
}

.member-profile-dialog {
    position: relative;
    width: min(560px, calc(100% - 32px));
    max-height: min(82vh, 680px);
    overflow: auto;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 24px 80px rgb(32 17 29 / 24%);
}

.member-profile-dialog::backdrop {
    background: rgb(28 19 29 / 58%);
    backdrop-filter: blur(4px);
}

.member-profile-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--page);
    color: var(--muted);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.member-profile-header {
    padding-right: 42px;
}

.member-profile-image {
    display: block;
    width: 82px;
    height: 82px;
    margin: 0 0 14px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface-soft);
    object-fit: cover;
    object-position: center 25%;
}

.member-profile-image.is-loading {
    visibility: hidden;
}

.member-profile-header .eyebrow {
    margin: 0 0 6px;
}

.member-profile-header h2 {
    margin: 0;
    font-size: 25px;
    letter-spacing: -0.04em;
}

.member-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 22px 0 0;
}

.member-profile-grid > div {
    min-height: 70px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--page);
}

.member-profile-grid dt {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
}

.member-profile-grid dd {
    margin: 7px 0 0;
    font-size: 12px;
    font-weight: 700;
}

.member-profile-platforms {
    grid-column: 1 / -1;
}

.member-profile-platforms dd {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.member-platform {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text);
    font-size: 10px;
    text-decoration: none;
}

a.member-platform:hover {
    border-color: var(--accent);
    color: var(--accent-deep);
}

.dark-mode .feature-art-orbit {
    border-color: rgb(255 255 255 / 20%);
    box-shadow: 0 0 0 18px rgb(255 255 255 / 5%), 0 0 0 38px rgb(255 255 255 / 3%);
}

.dark-mode .feature-art-caption {
    color: rgb(255 255 255 / 62%);
}

.dark-mode .chzzk-live-pill {
    border-color: rgb(255 255 255 / 10%);
    background: rgb(33 28 38 / 74%);
    color: #d3bfd0;
}

.chzzk-main {
    padding: 48px 0 72px;
}

.chzzk-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.chzzk-heading .eyebrow {
    margin-bottom: 10px;
}

.chzzk-heading h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 39px);
    font-weight: 800;
    letter-spacing: -0.06em;
}

.chzzk-intro {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.chzzk-member-count {
    display: flex;
    min-width: 96px;
    flex-direction: column;
    align-items: flex-end;
    padding-bottom: 3px;
}

.chzzk-member-count span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.chzzk-member-count strong {
    color: var(--accent-deep);
    font-size: 27px;
    line-height: 1.2;
}

.chzzk-notice {
    display: flex;
    min-height: 70px;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    padding: 14px 18px;
    border: 1px solid #f1dce7;
    border-radius: 15px;
    background: linear-gradient(100deg, var(--surface-soft), var(--surface));
}

.chzzk-notice-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    background: rgb(255 255 255 / 70%);
    color: var(--accent-deep);
    font-size: 20px;
}

.chzzk-notice p {
    flex: 1;
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

.chzzk-notice p strong {
    color: var(--text);
    font-size: 12px;
}

.chzzk-notice-label {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--accent-deep);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.chzzk-roster {
    display: grid;
    width: 100%;
    max-width: 1120px;
    max-height: min(680px, calc(100vh - 340px));
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    overflow-y: auto;
    margin: 0 auto;
    padding: 12px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    scrollbar-color: var(--accent) var(--surface-soft);
    scrollbar-width: thin;
}

.chzzk-member-card {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    box-shadow: 0 8px 25px rgb(81 44 67 / 5%);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    text-align: left;
}

.chzzk-member-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.chzzk-member-art {
    position: relative;
    display: grid;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    place-items: end center;
    isolation: isolate;
}

.member-graduate .chzzk-member-art {
    background: radial-gradient(ellipse at 50% 48%, #ffffff 0%, #e9efff 68%, #dce6fa 100%);
}

.member-everless .chzzk-member-art {
    background: radial-gradient(ellipse at 50% 48%, #ffffff 0%, #f0eaff 68%, #e5dcfa 100%);
}

.member-universe .chzzk-member-art {
    background: radial-gradient(ellipse at 50% 48%, #ffffff 0%, #ffedf3 68%, #f9dfe9 100%);
}

.member-cliche .chzzk-member-art {
    background: radial-gradient(ellipse at 50% 48%, #ffffff 0%, #eaf7fb 68%, #dceef4 100%);
}

.member-abyss .chzzk-member-art {
    background: radial-gradient(ellipse at 50% 48%, #ffffff 0%, #efeafa 68%, #ddd5f0 100%);
}

.member-ceo .chzzk-member-art {
    background: radial-gradient(ellipse at 50% 48%, #ffffff 0%, #f2f2e7 68%, #e5e5d5 100%);
}

.chzzk-member-orbit {
    position: absolute;
    top: 22px;
    left: 50%;
    width: 168px;
    height: 168px;
    border: 1px solid rgb(255 255 255 / 85%);
    border-radius: 50%;
    box-shadow: 0 0 0 13px rgb(255 255 255 / 22%), 0 0 0 27px rgb(255 255 255 / 16%);
    transform: translateX(-50%);
}

.chzzk-member-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transition: transform 220ms ease;
}

.chzzk-member-card:hover .chzzk-member-image {
    transform: scale(1.04);
}

.chzzk-member-spark {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 20px;
    color: rgb(180 112 157 / 75%);
    font-size: 18px;
}

.chzzk-member-info {
    padding: 14px 15px 16px;
}

.chzzk-generation {
    display: inline-flex;
    min-height: 21px;
    align-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--accent-deep);
    font-size: 9px;
    font-weight: 700;
}

.chzzk-member-info h2 {
    overflow: hidden;
    margin: 9px 0 12px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.045em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chzzk-member-info h2 span {
    font-size: 11px;
    letter-spacing: 0;
}

.chzzk-activity-tags {
    display: flex;
    gap: 6px;
}

.chzzk-activity-tags span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 9px;
}

body.dark-mode .chzzk-notice {
    border-color: var(--line);
    background: linear-gradient(100deg, #382333, #211c26);
}

body.dark-mode .chzzk-notice-icon {
    background: rgb(255 255 255 / 6%);
}

body.dark-mode .member-graduate .chzzk-member-art {
    background: radial-gradient(ellipse at 50% 48%, #49445a 0%, #302c40 68%, #282438 100%);
}

body.dark-mode .member-everless .chzzk-member-art {
    background: radial-gradient(ellipse at 50% 48%, #51445d 0%, #392f48 68%, #302638 100%);
}

body.dark-mode .member-universe .chzzk-member-art {
    background: radial-gradient(ellipse at 50% 48%, #59414f 0%, #3d2e3d 68%, #34232f 100%);
}

body.dark-mode .member-cliche .chzzk-member-art {
    background: radial-gradient(ellipse at 50% 48%, #3c5059 0%, #2d3e48 68%, #252b38 100%);
}

body.dark-mode .member-abyss .chzzk-member-art {
    background: radial-gradient(ellipse at 50% 48%, #4a4560 0%, #36334a 68%, #2b2a3d 100%);
}

body.dark-mode .member-ceo .chzzk-member-art {
    background: radial-gradient(ellipse at 50% 48%, #565641 0%, #3f4032 68%, #343428 100%);
}

body.dark-mode .chzzk-member-orbit {
    border-color: rgb(255 255 255 / 17%);
    box-shadow: 0 0 0 13px rgb(255 255 255 / 5%), 0 0 0 27px rgb(255 255 255 / 3%);
}

.chzzk-login-dialog {
    position: fixed;
    width: min(440px, calc(100% - 32px));
    max-width: none;
    overflow: visible;
    padding: 34px 34px 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 24px 80px rgb(32 17 29 / 24%);
    text-align: center;
}

.chzzk-login-dialog::backdrop {
    background: rgb(28 19 29 / 58%);
    backdrop-filter: blur(4px);
}

.chzzk-dialog-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--page);
    color: var(--muted);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.chzzk-dialog-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    place-items: center;
    border-radius: 17px;
    background: var(--surface-soft);
    color: var(--accent-deep);
    font-size: 27px;
}

.chzzk-dialog-member-image {
    display: block;
    width: 92px;
    height: 92px;
    margin: 0 auto 14px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface-soft);
    object-fit: cover;
    object-position: center 25%;
}

.chzzk-lookup-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 20px;
}

.chzzk-lookup-stat {
    padding: 12px 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--page);
}

.chzzk-lookup-stat span,
.chzzk-lookup-stat strong {
    display: block;
}

.chzzk-lookup-stat span {
    color: var(--muted);
    font-size: 10px;
}

.chzzk-lookup-stat strong {
    margin-top: 6px;
    color: var(--accent-deep);
    font-size: 11px;
}

.chzzk-login-dialog .eyebrow {
    margin-bottom: 7px;
    font-size: 9px;
}

.chzzk-login-dialog h2 {
    margin: 0;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.chzzk-dialog-message {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.chzzk-dialog-message strong {
    color: var(--text);
    font-size: 15px;
}

.chzzk-dialog-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.chzzk-dialog-actions {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 23px;
}

.chzzk-login-link,
.chzzk-lookup-button,
.chzzk-dialog-dismiss {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.chzzk-login-link {
    border-color: #18c77a;
    background: #18c77a;
    color: #fff;
}

.chzzk-login-link:hover {
    background: #12ae69;
}

.chzzk-lookup-button {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
    cursor: pointer;
}

.chzzk-lookup-button:disabled {
    border-color: var(--line);
    background: var(--surface-soft);
    color: var(--muted);
    cursor: not-allowed;
}

.chzzk-dialog-dismiss {
    background: var(--surface-soft);
    color: var(--text);
    cursor: pointer;
}

.chzzk-dialog-dismiss:hover,
.chzzk-dialog-close:hover {
    border-color: var(--accent);
}

@media (max-width: 900px) {
    .hero {
        padding-left: 7%;
    }

    .hero-art {
        right: 8%;
        transform: translateY(-50%) scale(0.85);
    }

    .filters {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .search-field {
        grid-column: 1 / -1;
    }

    .goods-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-hero-art {
        right: -28px;
        opacity: 0.8;
        transform: translateY(-48%) scale(0.78);
    }

    .home-hero h1 {
        font-size: clamp(38px, 5vw, 49px);
    }

    .chzzk-roster {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {
    .page-shell {
        width: min(100% - 32px, 480px);
    }

    .site-header {
        height: 64px;
    }

    .brand {
        gap: 7px;
        font-size: 11px;
    }

    .brand-mark {
        width: 18px;
        height: 18px;
    }

    .theme-button {
        min-height: 34px;
        padding: 0 9px;
        font-size: 10px;
    }

    .header-actions {
        gap: 6px;
    }

    .home-return-button {
        min-height: 34px;
        gap: 5px;
        padding: 0 8px;
        font-size: 9px;
    }

    .collection-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .collection-heading .catalog-count {
        margin: 0;
    }

    .hero {
        min-height: 305px;
        margin: 18px 0 54px;
        padding: 35px 25px;
        border-radius: 22px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-description {
        max-width: none;
        font-size: clamp(9px, 3vw, 11px);
        line-height: 1.7;
    }

    .hero-art {
        top: auto;
        right: -26px;
        bottom: -43px;
        transform: scale(0.7);
        transform-origin: bottom right;
    }

    .home-hero {
        min-height: 455px;
        margin: 18px 0 40px;
        align-items: flex-start;
        padding: 32px 23px;
        border-radius: 22px;
    }

    .home-hero h1 {
        font-size: clamp(32px, 8vw, 39px);
    }

    .home-hero .hero-description {
        max-width: 290px;
        white-space: normal;
    }

    .home-hero-art {
        top: auto;
        right: -54px;
        bottom: -101px;
        transform: scale(0.72);
        transform-origin: bottom right;
    }

    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .home-section-heading h2 {
        font-size: 21px;
    }

    .home-feature-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .home-live-status {
        margin-top: 34px;
    }

    .home-live-status .home-section-heading {
        align-items: flex-end;
        gap: 8px;
    }

    .live-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .live-status-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "member"
            "badge"
            "broadcast"
            "duration";
        grid-template-rows: auto auto auto auto;
        gap: 7px;
        padding: 10px;
    }

    .live-status-member {
        gap: 5px;
    }

    .live-status-member strong {
        font-size: 10px;
    }

    .live-status-oshimark {
        font-size: 10px;
    }

    .live-status-badge {
        justify-self: start;
        min-height: 23px;
        padding: 0 8px;
        font-size: 9px;
    }

    .live-status-duration {
        font-size: 9px;
    }

    .home-feature {
        grid-template-rows: 160px 1fr;
        border-radius: 17px;
    }

    .feature-content {
        padding: 18px 18px 21px;
    }

    .feature-content h3 {
        font-size: 17px;
    }

    .feature-content p {
        font-size: 10px;
    }

    .home-members {
        margin-top: 42px;
        padding: 22px 18px 19px;
        border-radius: 17px;
    }

    .members-heading h2 {
        font-size: 18px;
    }

    .member-groups {
        margin-top: 14px;
    }

    .member-group {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 12px 0;
    }

    .member-group h3 {
        font-size: 10px;
    }

    .member-list {
        gap: 7px;
    }

    .member-list a,
    .member-profile-button {
        min-height: 32px;
        padding: 0 10px;
        font-size: 9px;
    }

    .member-profile-dialog {
        width: calc(100% - 24px);
        max-height: 82vh;
        padding: 20px 14px 14px;
        border-radius: 18px;
    }

    .member-profile-header h2 {
        font-size: 21px;
    }

    .member-profile-image {
        width: 72px;
        height: 72px;
    }

    .member-profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin-top: 17px;
    }

    .member-profile-grid > div {
        min-height: 64px;
        padding: 10px;
    }

    .member-profile-grid dd {
        font-size: 11px;
    }

    .members-footnote {
        align-items: flex-start;
        font-size: 9px;
    }

    .chzzk-main {
        padding: 32px 0 48px;
    }

    .chzzk-heading {
        align-items: flex-start;
        margin-bottom: 19px;
    }

    .chzzk-heading h1 {
        font-size: clamp(24px, 7vw, 31px);
        line-height: 1.3;
    }

    .chzzk-intro {
        max-width: 260px;
        font-size: 11px;
        line-height: 1.6;
    }

    .chzzk-member-count {
        min-width: 50px;
        padding-top: 9px;
    }

    .chzzk-member-count strong {
        font-size: 23px;
    }

    .chzzk-notice {
        gap: 10px;
        margin-bottom: 19px;
        padding: 12px;
        border-radius: 13px;
    }

    .chzzk-notice-icon {
        width: 32px;
        height: 32px;
    }

    .chzzk-notice p {
        font-size: 9px;
    }

    .chzzk-notice p strong {
        font-size: 10px;
    }

    .chzzk-notice-label {
        display: none;
    }

    .chzzk-roster {
        width: 100%;
        max-height: min(620px, calc(100vh - 315px));
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 8px;
    }

    .chzzk-member-card {
        border-radius: 14px;
    }

    .chzzk-member-orbit {
        top: 10%;
        width: 76%;
        height: auto;
        aspect-ratio: 1;
    }

    .chzzk-member-info {
        padding: 11px 10px 12px;
    }

    .chzzk-member-info h2 {
        margin: 7px 0 10px;
        font-size: 12px;
    }

    .chzzk-member-info h2 span {
        font-size: 10px;
    }

    .chzzk-activity-tags span {
        min-height: 22px;
        padding: 0 7px;
        font-size: 8px;
    }

    .chzzk-login-dialog {
        padding: 31px 21px 23px;
        border-radius: 19px;
    }

    .chzzk-login-dialog h2 {
        font-size: 20px;
    }

    .chzzk-dialog-member-image {
        width: 78px;
        height: 78px;
    }

    .chzzk-dialog-message {
        font-size: 12px;
    }

    .section-heading h2 {
        font-size: 22px;
    }

    .filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        border-radius: 15px;
    }

    .search-field {
        grid-column: 1 / -1;
    }

    .select-field select {
        font-size: 10px;
    }

    .goods-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .goods-art {
        min-height: 145px;
    }

    .goods-art-icon {
        font-size: 54px;
    }

    .goods-collection-plus,
    .collection-remove-button {
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
        font-size: 21px;
    }

    .goods-collection-popover {
        top: 49px;
        right: 8px;
        min-width: 168px;
    }

    .goods-info {
        padding: 12px 11px;
    }

    .goods-info h3 {
        font-size: 12px;
    }

    .detail-art {
        min-height: 230px;
    }

    .detail-content {
        padding: 22px 18px 24px;
    }

    .detail-content h2 {
        font-size: 20px;
    }

    .detail-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .goods-tags {
        gap: 5px;
    }

    .member-name {
        font-size: 9px;
    }

    .goods-type {
        padding: 3px 6px;
        font-size: 8px;
    }

    .site-footer {
        min-height: 62px;
        font-size: 9px;
    }
}

@media (max-width: 380px) {
    .goods-home-link,
    .collection-header-link {
        width: 32px;
        min-width: 32px;
        justify-content: center;
        padding: 0;
        font-size: 0;
    }

    .goods-home-link span,
    .collection-header-link span {
        font-size: 15px;
    }
}

.showcase-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
    gap: 18px;
    margin-top: 24px;
}

.showcase-preview-panel,
.showcase-profile-form {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.showcase-section-heading {
    margin-bottom: 20px;
}

.showcase-section-heading .eyebrow {
    margin-bottom: 7px;
    font-size: 9px;
}

.showcase-section-heading h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
}

.showcase-profile-preview {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 14px;
    background: linear-gradient(115deg, var(--surface-soft), var(--surface));
}

.showcase-avatar {
    display: grid;
    width: 84px;
    height: 84px;
    flex: 0 0 auto;
    overflow: hidden;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, #d7eee7, #f4dce4);
    color: var(--accent-deep);
    font-size: 30px;
    box-shadow: 0 8px 22px rgb(48 41 52 / 12%);
}

.showcase-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-preview-copy {
    min-width: 0;
}

.showcase-preview-kicker {
    color: var(--accent-deep);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.showcase-preview-copy h3 {
    overflow-wrap: anywhere;
    margin: 5px 0 0;
    font-size: 19px;
    font-weight: 800;
}

.showcase-preview-copy p,
.showcase-empty-shelf p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.showcase-empty-shelf {
    display: grid;
    min-height: 150px;
    margin-top: 14px;
    place-items: center;
    align-content: center;
    border: 1px dashed var(--line);
    border-radius: 14px;
    color: var(--accent-deep);
}

.showcase-empty-shelf > span {
    font-size: 23px;
}

.showcase-empty-shelf p {
    margin: 8px 14px 0;
    text-align: center;
}

.showcase-profile-form {
    display: grid;
    gap: 17px;
}

.showcase-profile-form .showcase-section-heading {
    margin-bottom: 0;
}

.showcase-field {
    display: grid;
    min-width: 0;
    gap: 8px;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.showcase-field input[type="text"],
.showcase-field input[type="file"] {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-soft);
    color: var(--text);
    font: inherit;
    font-weight: 500;
}

.showcase-field input[type="file"] {
    padding: 8px;
    font-size: 11px;
}

.showcase-field small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
}

.showcase-login-button,
.showcase-save-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 11px;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.showcase-login-button {
    background: #16a36a;
    color: #fff;
}

.showcase-login-button > span {
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 6px;
    background: #fff;
    color: #16a36a;
    font-size: 13px;
    font-weight: 900;
}

.showcase-save-button {
    border: 1px solid var(--line);
    background: var(--surface-soft);
    color: var(--muted);
}

.showcase-login-button:disabled,
.showcase-save-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.showcase-form-status {
    margin: -7px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 760px) {
    .showcase-profile-layout {
        grid-template-columns: 1fr;
    }
}

.post-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.showcase-main [hidden],
.post-dialog [hidden] {
    display: none !important;
}

.post-auth-status {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.post-primary-button,
.post-secondary-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 18px;
    border: 1px solid var(--accent);
    border-radius: 10px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.post-primary-button {
    background: var(--accent);
    color: #fff;
}

.post-primary-button:hover:not(:disabled) {
    background: var(--accent-deep);
}

.post-primary-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.post-secondary-button {
    border-color: var(--line);
    background: var(--surface-soft);
    color: var(--text);
}

.post-secondary-button:hover {
    border-color: var(--accent);
}

.post-notice {
    margin: 0 0 18px;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--accent-deep);
    font-size: 12px;
    font-weight: 700;
}

.post-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    align-items: start;
    gap: 18px;
}

.post-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--surface);
    box-shadow: 0 8px 25px rgb(81 44 67 / 5%);
    cursor: pointer;
}

.post-card:hover,
.post-card:focus-visible {
    border-color: var(--accent);
}

.post-view-dialog {
    width: min(860px, calc(100% - 32px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 28px 30px 30px;
    text-align: left;
}

.post-view-dialog article {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-view-image {
    width: 100%;
    max-height: 70vh;
    border-radius: 14px;
    object-fit: contain;
    background: var(--surface-soft);
}

.post-view-content {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.post-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-card-header > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.post-card-header strong {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-card-header time {
    color: var(--muted);
    font-size: 10px;
}

.post-avatar {
    display: grid;
    width: 34px;
    height: 34px;
    flex: none;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--accent-deep);
    font-size: 14px;
    font-weight: 800;
}

.post-image {
    width: 100%;
    max-height: 360px;
    border-radius: 12px;
    object-fit: cover;
}

.post-content {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.post-delete-button {
    align-self: flex-end;
    padding: 4px 8px;
    border: 0;
    background: none;
    color: var(--muted);
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.post-delete-button:hover {
    color: var(--accent-deep);
}

.post-more {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.post-dialog {
    width: min(520px, calc(100% - 32px));
    text-align: left;
}

.post-dialog .chzzk-dialog-actions {
    justify-content: flex-end;
}

.post-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 16px;
}

.post-field > span {
    font-size: 12px;
    font-weight: 700;
}

.post-field textarea,
.post-field input[type="file"] {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 13px;
}

.post-field textarea {
    resize: vertical;
}

.post-field small {
    color: var(--muted);
    font-size: 10px;
}

.post-image-preview {
    width: 100%;
    max-height: 240px;
    margin-top: 14px;
    border-radius: 12px;
    object-fit: cover;
}

.post-form-status {
    min-height: 18px;
    margin: 12px 0 0;
    color: var(--accent-deep);
    font-size: 11px;
}

.post-warning {
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #f2c98a;
    border-radius: 10px;
    background: #fff6e5;
    color: #8a5a10;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

body.dark-mode .post-warning {
    border-color: #6b5328;
    background: #3a2f1a;
    color: #f3c97a;
}

.post-admin-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.post-admin-actions button {
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--text);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.post-admin-actions button:hover {
    border-color: var(--accent);
}

.post-notices {
    margin: 0 0 22px;
    padding: 16px 18px;
    border: 1px solid #f2c98a;
    border-radius: 14px;
    background: #fff6e5;
    color: #6f4a0d;
}

body.dark-mode .post-notices {
    border-color: #6b5328;
    background: #3a2f1a;
    color: #f3c97a;
}

.post-notices h2 {
    margin: 0 0 10px;
    font-size: 13px;
}

.post-notices ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.post-notice-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.post-notice-item p {
    margin: 0;
}

.post-notice-item time {
    font-size: 10px;
    opacity: 0.8;
}

.post-notice-snippet {
    opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 380px) {
    .live-status-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

body.record-room-mode {
    color-scheme: dark;
    --page: #49304d;
    --surface: #674465;
    --surface-soft: #563850;
    --text: #fff8ef;
    --muted: rgb(255 248 239 / 72%);
    --line: rgb(239 193 120 / 34%);
    --accent: #efc178;
    --accent-deep: #efc178;
    --shadow: 0 12px 35px rgb(0 0 0 / 25%);
}

body.record-room-mode::before,
body.record-room-mode::after {
    filter: sepia(0.65) saturate(0.8);
}

body.record-room-mode :is(button, a, input, select):focus-visible {
    outline-color: rgb(239 193 120 / 72%);
}

body.record-room-mode .home-primary-button,
body.record-room-mode .chzzk-lookup-button:not(:disabled),
body.record-room-mode .post-primary-button {
    border-color: #efc178;
    background: #efc178;
    color: #49304d;
    box-shadow: 0 8px 18px rgb(239 193 120 / 12%);
}

body.record-room-mode .home-hero,
body.record-room-mode .hero {
    border-color: rgb(239 193 120 / 34%);
    background:
        radial-gradient(ellipse at 75% 30%, rgb(239 193 120 / 14%), transparent 34%),
        radial-gradient(ellipse at 18% 100%, rgb(255 248 239 / 6%), transparent 38%),
        linear-gradient(116deg, #674465, #49304d 70%);
}

body.record-room-mode .home-art-halo {
    border-color: rgb(239 193 120 / 36%);
    background: radial-gradient(circle, rgb(239 193 120 / 14%), transparent 70%);
}

body.record-room-mode .home-art-orbit,
body.record-room-mode .hero-orbit,
body.record-room-mode .collection-art-orbit {
    border-color: rgb(239 193 120 / 38%);
}

body.record-room-mode .home-art-moon,
body.record-room-mode .home-art-star,
body.record-room-mode .feature-goods-object,
body.record-room-mode .feature-art-spark,
body.record-room-mode .chzzk-heart,
body.record-room-mode .chzzk-spark,
body.record-room-mode .collection-art-spark,
body.record-room-mode .collection-art-badge,
body.record-room-mode .feature-corner-mark,
body.record-room-mode .hero-moon,
body.record-room-mode .hero-spark {
    color: #efc178;
}

body.record-room-mode .home-art-moon,
body.record-room-mode .home-art-star,
body.record-room-mode .hero-moon,
body.record-room-mode .hero-spark {
    text-shadow: 0 0 16px rgb(239 193 120 / 45%);
}

body.record-room-mode .home-hero-copy .hero-description,
body.record-room-mode .hero-description,
body.record-room-mode .hero-caption,
body.record-room-mode .feature-art-caption {
    color: rgb(255 248 239 / 76%);
}

body.record-room-mode .feature-goods-art,
body.record-room-mode .feature-chzzk-art,
body.record-room-mode .feature-collection-art,
body.record-room-mode .member-graduate .chzzk-member-art,
body.record-room-mode .member-everless .chzzk-member-art,
body.record-room-mode .member-universe .chzzk-member-art,
body.record-room-mode .member-cliche .chzzk-member-art,
body.record-room-mode .member-abyss .chzzk-member-art,
body.record-room-mode .member-ceo .chzzk-member-art {
    background:
        radial-gradient(ellipse at 50% 20%, rgb(239 193 120 / 14%), transparent 48%),
        linear-gradient(125deg, #674465, #49304d);
}

body.record-room-mode .collection-art-badge {
    border-color: rgb(239 193 120 / 48%);
    background: rgb(239 193 120 / 10%);
}

body.record-room-mode .chzzk-live-pill span {
    background: #efc178;
    box-shadow: 0 0 0 4px rgb(239 193 120 / 18%);
}

body.record-room-mode .chzzk-member-orbit {
    border-color: rgb(239 193 120 / 28%);
    box-shadow: 0 0 0 13px rgb(239 193 120 / 6%), 0 0 0 27px rgb(239 193 120 / 3%);
}

body.record-room-mode .chzzk-notice {
    border-color: var(--line);
    background: linear-gradient(100deg, #674465, #49304d);
}
