@font-face {
    font-family: 'Mont Heavy DEMO';
    src: url('../fonts/Mont/mont_heavy_demo.eot');
    src: url('../fonts/Mont/mont_heavy_demo.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Mont/mont_heavy_demo.woff2') format('woff2'),
        url('../fonts/Mont/mont_heavy_demo.woff') format('woff'),
        url('../fonts/Mont/mont_heavy_demo.ttf') format('truetype'),
        url('../fonts/Mont/mont_heavy_demo.svg#mont_heavy_demo') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Chat layout refinement */
.chat-page [hidden] {
    display: none !important;
}

.chat-shell {
    grid-template-columns: 300px minmax(480px, 1fr) 300px;
    gap: 0;
}

.chat-roster {
    display: flex;
    flex-direction: column;
}

.chat-casted-section {
    flex: 0 0 auto;
}

.chat-casted-model {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    width: 100%;
    min-height: 96px;
    padding: 14px;
    border: 1px solid var(--primary);
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    color: #fff;
    text-align: left;
}

.chat-casted-model > img {
    width: 58px;
    height: 68px;
    border-radius: 8px;
    object-position: top center;
}

.chat-casted-model strong,
.chat-casted-model small,
.chat-casted-model em {
    display: block;
}

.chat-casted-model strong {
    font-size: 15px;
}

.chat-casted-model small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.chat-casted-model em {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: #72d795;
    font-size: 12px;
    font-style: normal;
}

.chat-casted-model em i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #66dc8f;
}

.chat-casted-model > b {
    align-self: start;
    color: var(--muted);
    letter-spacing: 2px;
}

.chat-recent-section {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
}

.chat-recent-section .chat-model-list {
    flex: 1 1 auto;
    max-height: none;
    align-content: start;
    grid-auto-rows: max-content;
}

.chat-recent-section .chat-model-item {
    min-height: 70px;
    padding: 15px 15px;
}

.chat-recent-section .chat-model-item:hover {
    border-color: transparent;
    background: rgba(255, 255, 255, .035);
}

.chat-recent-section .chat-model-item.is-active {
    background: rgba(255, 255, 255, .035);
}

.chat-new-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 42px;
    margin-top: 14px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 7px;
    background: transparent;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
}

.chat-new-button:disabled,
.chat-profile button:disabled,
.chat-head-alert:disabled,
.chat-composer-tools button:disabled {
    cursor: default;
    opacity: .72;
}

.chat-usage-card {
    flex: 0 0 auto;
    margin-top: 18px;
    padding: 20px 20px 0;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
}

.chat-usage-card h3 {
    margin: 0 0 18px;
    font-size: 15px;
}

.chat-usage-card > small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.chat-usage-card > strong {
    display: block;
    margin-top: 7px;
    font-size: 14px;
}

.chat-usage-card > strong em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.chat-usage-card > div {
    height: 4px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
}

.chat-usage-card > div i {
    display: block;
    height: 100%;
    background: var(--primary);
}

.chat-usage-card > p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px -14px 0;
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: var(--muted);
    font-size: 12px;
}

.chat-usage-card > p span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.chat-usage-card > p img {
    width: 18px;
    height: 18px;
}

.chat-usage-card > p b {
    color: #fff;
    font-size: 12px;
}

.chat-usage-card .chat-purchased-tokens {
    margin-top: 10px;
}

.chat-usage-card .chat-purchased-tokens b {
    color: #fff;
    font-size: 12px;
}

.chat-usage-card > p button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.chat-usage-card > p button > span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.chat-usage-card > p button:disabled {
    cursor: wait;
    opacity: .55;
}

.chat-conversation {
    border-right: 1px solid rgba(255, 255, 255, .08);
    border-left: 0;
}

.chat-conversation-head {
    min-height: 78px;
    padding: 0 22px;
}

.chat-head-account {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.chat-head-credit {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 7px;
    background: transparent;
    color: #fff;
    font-size: 12px;
}

.chat-head-credit span {
    color: var(--primary);
}

.chat-head-credit img {
    width: 17px;
    height: 17px;
}

.chat-head-alert {
    width: 34px;
    height: 34px;
    background: transparent;
    color: var(--muted);
}

.chat-head-account > img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.chat-model-info-button {
    margin-left: 5px;
}

.chat-message-list {
    padding: 26px 28px 12px;
}

.chat-message.is-user {
    justify-content: flex-end;
    width: 78%;
}

.chat-message.is-user > div {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 7px;
    width: 100%;
    max-width: 100%;
}

.chat-message.is-user p {
    width: fit-content;
    max-width: calc(100% - 48px);
}

.chat-message.is-user time {
    flex: 0 0 auto;
    margin: 0 0 2px;
}

.chat-composer {
    display: block;
    margin: 0 20px 22px;
    padding: 16px 16px 12px;
}

.chat-composer textarea {
    min-height: 56px;
    padding: 0;
}

.chat-composer-bottom {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 8px;
}

.chat-composer-tools {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
    margin-left: -5px;
}

.chat-composer-tools button {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    background: transparent;
    color: #fff;
    opacity: .35;
    cursor: pointer;
    transition: opacity var(--transition-base);
}

.chat-composer-tools button:hover,
.chat-composer-tools button:focus-visible {
    opacity: 1;
}

.chat-composer-tools svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chat-composer-tools button.is-recording {
    color: #d96cff;
    opacity: 1;
    animation: chat-voice-button-pulse 1.15s ease-in-out infinite;
}

.chat-voice-input-panel {
    position: relative;
    overflow: hidden;
    margin: 10px 0 4px;
    padding: 15px 17px 12px;
    border: 1px solid rgba(183, 116, 255, .28);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 0, rgba(193, 92, 255, .18), transparent 38%),
        linear-gradient(145deg, rgba(31, 22, 48, .98), rgba(14, 12, 23, .98));
    box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 14px 35px rgba(0, 0, 0, .22);
}

.chat-voice-input-panel[hidden] { display: none; }

.chat-voice-input-panel::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(214, 133, 255, .05), transparent);
    transform: translateX(-100%);
    content: "";
    pointer-events: none;
}

.chat-voice-input-panel[data-voice-state="processing"]::before,
.chat-voice-input-panel[data-voice-state="waiting"]::before {
    animation: chat-voice-scan 1.8s ease-in-out infinite;
}

.chat-voice-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-voice-orb {
    position: relative;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #f0bbff, #b74df0 42%, #5b248a 75%);
    box-shadow: 0 0 20px rgba(198, 91, 255, .38), inset 0 1px 5px rgba(255, 255, 255, .48);
}

.chat-voice-orb::before,
.chat-voice-orb::after {
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(216, 139, 255, .35);
    border-radius: inherit;
    content: "";
    animation: chat-voice-listening 1.25s ease-out infinite;
}

.chat-voice-orb::after { animation-delay: .55s; }

.chat-voice-orb i {
    position: absolute;
    inset: 10px;
    border: 1.5px solid #fff;
    border-top: 0;
    border-radius: 2px 2px 7px 7px;
}

.chat-voice-head > span:nth-child(2) {
    display: grid;
    gap: 1px;
}

.chat-voice-head em {
    color: rgba(219, 157, 255, .58);
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.chat-voice-input-panel strong {
    color: #f5eaff;
    font-size: 13px;
    font-weight: 600;
}

.chat-voice-head time {
    margin-left: auto;
    color: #fff;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.chat-voice-head button {
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .045);
    font-size: 12px;
    cursor: pointer;
}

.chat-voice-head button:hover {
    color: #fff;
    border-color: rgba(224, 157, 255, .3);
}

.chat-voice-input-panel > small {
    display: block;
    color: rgba(255, 255, 255, .38);
    font-size: 12px;
    text-align: center;
}

.chat-voice-input-panel canvas {
    display: block;
    width: 100%;
    height: 54px;
    margin: 7px 0 1px;
    transition: opacity .25s, filter .25s;
}

.chat-voice-input-panel[data-voice-state="processing"] canvas,
.chat-voice-input-panel[data-voice-state="waiting"] canvas { opacity: .28; filter: blur(1px); }
.chat-voice-input-panel[data-voice-state="speaking"] { border-color: rgba(222, 130, 255, .48); }
.chat-voice-input-panel[data-voice-state="speaking"] canvas { animation: chat-voice-breathe .8s ease-in-out infinite alternate; }
.chat-voice-input-panel[data-voice-state="complete"] { border-color: rgba(123, 237, 190, .28); }
.chat-voice-input-panel[data-voice-state="complete"] .chat-voice-orb { background: radial-gradient(circle at 35% 30%, #d5ffeb, #70dcae 48%, #287152 78%); box-shadow: 0 0 18px rgba(112, 220, 174, .3); }
.chat-voice-input-panel[data-voice-state="complete"] .chat-voice-orb::before,
.chat-voice-input-panel[data-voice-state="complete"] .chat-voice-orb::after { animation: none; }

@keyframes chat-voice-listening {
    from { opacity: .75; transform: scale(.75); }
    to { opacity: 0; transform: scale(1.65); }
}

@keyframes chat-voice-button-pulse {
    50% { transform: scale(1.1); }
}

@keyframes chat-voice-scan {
    55%, 100% { transform: translateX(100%); }
}

@keyframes chat-voice-breathe {
    to { opacity: .62; filter: saturate(1.35); }
}

.chat-composer-tools .chat-voice-input-panel {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    overflow: visible;
    margin: 0 3px 0 -3px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.chat-composer-tools .chat-voice-input-panel[hidden] { display: none; }
.chat-composer-tools .chat-voice-input-panel::before { display: none; }

.chat-composer-tools .chat-voice-input-panel strong {
    max-width: 125px;
    overflow: hidden;
    color: #d96cff;
    font-size: 12px;
    font-weight: 300;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.chat-composer-tools .chat-voice-input-panel canvas {
    width: 72px;
    height: 16px;
    margin: 0;
    filter: none;
    opacity: .9;
}

.chat-composer-tools .chat-voice-input-panel[data-voice-state="processing"] canvas,
.chat-composer-tools .chat-voice-input-panel[data-voice-state="waiting"] canvas { opacity: .38; filter: none; }

.chat-composer-bottom > small {
    color: rgba(255, 255, 255, .32);
    font-size: 12px;
}

.chat-composer-bottom > small {
    min-width: 50px;
}

.chat-composer .chat-send-button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
}

.chat-composer .chat-send-button svg {width: 20px; height:20px;}

.chat-profile {
    padding: 48px 0 28px 20px;
}

.chat-profile-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 10px;
}

.chat-profile-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
}

.chat-profile-controls button {
    padding: 7px;
    background: transparent;
    color: rgba(255, 255, 255, .75);
    font-size: 22px;
}

.chat-profile-visual {
    height: 300px;
    border-radius: 0;
}

.chat-profile-summary {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.chat-profile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 14px;
}

.chat-profile-summary .chat-profile-actions button {
    height: 38px;
    margin: 0;
}

.chat-profile-actions span {
    color: #ffbc34;
    font-size: 16px;
}

.chat-profile-card > section {
    padding: 18px 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.chat-profile-card h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 13px;
    font-size: 12px;
}

.chat-profile-card h3 > span {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
}

.chat-profile-card h3 button {
    padding: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
}

.chat-profile-card section > p {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: 12px;
}

.chat-relationship-section dl,
.chat-relationship-section dl div {
    margin: 0;
}

.chat-relationship-section dl div {
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
}

.chat-relationship-section dt {
    color: rgba(255, 255, 255, .65);
    font-size: 12px;
}

.chat-relationship-section dd {
    position: relative;
    height: 4px;
    margin: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .08);
}

.chat-relationship-section dd i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
}

.chat-relationship-section dd .chat-stage-bar {
    width: 70%;
}

.chat-relationship-section dd span {
    position: absolute;
    right: 0;
    bottom: 8px;
    color: rgba(255, 255, 255, .65);
    font-size: 12px;
}

.chat-relationship-section .chat-relationship-summary {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.chat-shared-memory > div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.chat-shared-memory > div > span {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(255, 255, 255, .06);
    color: var(--muted);
}

.chat-shared-memory img {
    width: 100%;
    height: 100%;
    object-position: top center;
}

.chat-shared-memory .is-audio small {
    position: absolute;
    right: 4px;
    bottom: 3px;
    font-size: 8px;
}

.chat-memo-section ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat-memo-section li {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.chat-memo-section li::before {
    content: "· ";
    color: var(--primary);
}

.chat-release-button {
    width: calc(100% - 28px);
    height: 44px;
    margin: 14px;
    border: 1px solid var(--primary);
    border-radius: 7px;
    background: transparent;
    color: var(--primary);
    font-size: 12px;
}

.chat-empty-state[hidden] {
    display: none !important;
}

.chat-message-gallery {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(430px, 64vw);
    margin-top: 4px;
    overflow: hidden;
    border-radius: 9px;
}

.chat-message-gallery.is-single {
    grid-template-columns: minmax(0, 1fr);
    width: min(280px, 58vw);
    cursor: zoom-in;
}

.chat-message-gallery.is-single::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .32);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.chat-message-gallery.is-single:hover::after {
    opacity: 1;
}

.chat-message-gallery.is-single .chat-image-view-button {
    top: 50%;
    right: 50%;
    z-index: 2;
    transform: translate(50%, calc(-50% - 3px));
}

.chat-message-gallery.is-single:hover .chat-image-view-button,
.chat-message-gallery.is-single .chat-image-view-button:focus-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(50%, -50%);
}

.chat-message-gallery.is-single > img {
    aspect-ratio: 9 / 16;
    border: 0;
    object-fit: cover;
    object-position: top center;
}

.chat-message-gallery .chat-image-view-button img {
    width: 18px;
    height: 18px;
    aspect-ratio: auto;
    border: 0;
}

.chat-message-gallery.is-loading {
    display: grid;
    place-items: center;
    min-height: 220px;
    background: linear-gradient(145deg, #24242d, #1c1c23);
    cursor: default;
}

.chat-message-gallery.is-loading::after {
    display: none;
}

.chat-image-loading-dots {
    display: flex;
    gap: 7px;
}

.chat-image-loading-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: chatTypingDot 1.1s infinite ease-in-out;
}

.chat-image-loading-dots i:nth-child(2) {
    animation-delay: .15s;
}

.chat-image-loading-dots i:nth-child(3) {
    animation-delay: .3s;
}

.chat-message-gallery img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-right: 1px solid rgba(255, 255, 255, .18);
}

.chat-voice-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    padding: 12px 14px;
    border-radius: 8px 14px 14px 14px;
    background: #272731;
}

.chat-voice-bubble button,
.chat-voice-speed {
    background: transparent;
    color: #fff;
}

.chat-voice-bubble > span {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    height: 22px;
}

.chat-voice-bubble > span i {
    width: 2px;
    height: calc(5px + (var(--wave, 1) * 2px));
    border-radius: 3px;
    background: rgba(255, 255, 255, .68);
}

.chat-voice-bubble > span i:nth-child(3n) { height: 18px; }
.chat-voice-bubble > span i:nth-child(2n) { height: 12px; }

.chat-voice-bubble time {
    color: #fff;
    font-size: 12px;
}

.chat-voice-speed {
    float: right;
    margin-top: 7px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 5px;
    font-size: 12px;
}

@media (max-width: 1280px) {
    .chat-content {
        height: calc(100dvh - 75px);
        overflow: hidden;
    }

    .chat-shell {
        display: block;
        height: 100%;
    }

    .chat-conversation:not([hidden]) {
        display: grid;
        width: 100%;
        height: 100%;
        border: 0;
    }

    .chat-profile {
        display: none !important;
    }

    .chat-panel-title {
        display: none;
    }

    .chat-casted-section {
        display: none;
    }

    .chat-recent-section {
        margin-top: 0;
    }

    .chat-usage-card {
        display: none;
    }

    .chat-mobile-back {
        display: block;
    }

    .chat-head-account {
        display: none;
    }

    .chat-empty-state {
        inset: 0;
    }
}

@media (max-width: 720px) {
    .chat-conversation-head {
        padding: 0 12px;
    }

    .chat-message-list {
        padding: 18px 12px 8px;
    }

    .chat-composer {
        margin: 0 8px 10px;
        padding: 13px 12px 10px;
    }

    .chat-composer-bottom > small {
        display: none;
    }
}

/* Keep the public viewer full-screen; generic image-viewer rules above use a 200px detail column. */
.image-viewer-root.is-publication.has-details .image-viewer-dialog {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: stretch;
    width: 100%;
    height: 100dvh;
    max-width: none;
    max-height: none;
    overflow: hidden;
}

.image-viewer-root.is-publication.has-details .image-viewer-details.publication-viewer-panel {
    justify-self: stretch;
    width: 390px;
    min-width: 390px;
    max-width: 390px;
    height: 100dvh;
}

.image-viewer-root.is-publication.is-panel-collapsed.has-details .image-viewer-dialog {
    grid-template-columns: minmax(0, 1fr) 0;
}

@media (max-width: 768px) {
    .image-viewer-root.is-publication.has-details .image-viewer-dialog,
    .image-viewer-root.is-publication.is-panel-collapsed.has-details .image-viewer-dialog {
        display: block;
        width: 100%;
        height: 100dvh;
        min-height: 0;
        overflow: hidden;
    }

    .image-viewer-root.is-publication.has-details .image-viewer-details.publication-viewer-panel {
        width: min(390px, 100vw);
        min-width: 0;
        max-width: 100vw;
    }
}

/* 공개 콘텐츠 상세 뷰어 */
.publication-direct-page { min-height: 100vh; background: #080809; }
.image-viewer-root.is-publication { align-items: stretch; padding: 0; overflow: hidden; cursor: default; background: #080809; }
.image-viewer-root.is-publication .modal-backdrop { background: #080809; }
.image-viewer-root.is-publication .image-viewer-dialog { display: grid; grid-template-columns: minmax(0, 1fr) 390px; width: 100%; height: 100dvh; max-width: none; overflow: hidden; transition: grid-template-columns .32s ease; }
.image-viewer-root.is-publication.is-panel-collapsed .image-viewer-dialog { grid-template-columns: minmax(0, 1fr) 0; }
.image-viewer-root.is-publication.is-standalone-viewer .image-viewer-dialog { grid-template-columns: minmax(0, 1fr); }
.image-viewer-root.is-publication.is-standalone-viewer .image-viewer-details,
.image-viewer-root.is-publication.is-standalone-viewer .image-viewer-close { display: none; }
.image-viewer-stage { box-sizing: border-box; display: flex; min-width: 0; min-height: 0; flex-direction: column; align-items: center; justify-content: center; padding: 38px 34px 22px; }
.image-viewer-root:not(.is-publication) .image-viewer-stage { padding: 0; }
.image-viewer-root:not(.is-publication):not(.has-media-tools) .publication-viewer-tools { display: none; }
.image-viewer-root:not(.is-publication) .publication-viewer-creator,
.image-viewer-root:not(.is-publication) .publication-viewer-actions,
.image-viewer-root:not(.is-publication) .publication-viewer-comments { display: none; }
.image-viewer-root.has-media-tools .publication-viewer-tools { display: flex; }
.image-viewer-root.has-media-tools [data-publication-copy],
.image-viewer-root.has-media-tools [data-publication-panel-toggle] { display: none; }
.image-viewer-root.is-model-profile-image .publication-edit-menu { display: none; }
.image-viewer-root.has-media-tools .image-viewer-media > img { max-height: calc(80vh - 64px); }
.image-viewer-root.is-publication .image-viewer-media { flex: 1; align-items: center; width: 100%; min-height: 0; }
.image-viewer-root.is-publication .image-viewer-media > img,
.image-viewer-root.is-publication .image-viewer-media > video { width: auto; height: 80vh; max-width: 100%; max-height: 80vh; border-radius: 5px; object-fit: contain; }
.publication-viewer-tools { position: relative; display: flex; flex: 0 0 64px; align-items: center; justify-content: center; gap: 38px; }
.publication-viewer-tools[hidden] { display: none; }
.publication-viewer-tools.is-video > :not([data-publication-viewer-dismiss]) { display: none; }
.publication-viewer-tools > button,
.publication-download-menu > button,
.publication-edit-menu > button { display: grid; width: 38px; height: 38px; padding: 7px; place-items: center; border: 0; color: #eee; background: transparent; cursor: pointer; }
.image-viewer-dialog .publication-viewer-tools > button > img,
.image-viewer-dialog .publication-download-menu > button > img,
.image-viewer-dialog .publication-edit-menu > button > img { width: 20px; height: 20px; max-width: 20px; max-height: 20px; border-radius: 0; object-fit: contain; transition: opacity .16s ease; }
.publication-viewer-tools > button:hover > img,
.publication-download-menu > button:hover > img,
.publication-edit-menu > button:hover > img { opacity: .7; }
.publication-download-menu { position: relative; }
.publication-download-menu [data-publication-download-options] { position: absolute; bottom: 52px; left: 50%; z-index: 2; display: grid; width: 180px; padding: 10px; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); border: 0; border-radius: 7px; background: var(--panel); box-shadow: 0 18px 54px rgba(0,0,0,.72); font-family: var(--font-ko); transition: .18s ease; }
.publication-download-menu.is-open [data-publication-download-options] { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.publication-download-menu [data-publication-download-options]::after { content: ""; position: absolute; bottom: -6px; left: 50%; width: 10px; height: 10px; transform: translateX(-50%) rotate(45deg); background: var(--panel); }
.publication-download-menu [data-publication-download] { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; padding: 0 10px; border: 0; border-radius: 5px; color: #fff; background: transparent; font-family: inherit; cursor: pointer; transition: background-color .16s ease; }
.publication-download-menu [data-publication-download]:hover { background: rgba(232, 42, 53, .18); }
.publication-download-menu [data-publication-download] > span { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.publication-download-menu [data-publication-download] strong { color: #fff; font: 400 12px/1 var(--font-ko); }
.publication-download-menu [data-publication-download] small { color: rgba(255,255,255,.3); font: 300 12px/1 var(--font-ko); white-space: nowrap; }
.publication-download-cost { display: flex; align-items: center; gap: 4px; color: #fff; font-style: normal; }
.image-viewer-dialog .publication-download-cost img { flex: 0 0 14px; width: 14px; height: 14px; max-width: 14px; max-height: 14px; border-radius: 0; object-fit: contain; }
.publication-download-cost b { font: 400 12px/1 var(--font-ko); }
.publication-upscale-action { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 20px; min-height: 20px; font-style: normal; }
.publication-upscale-spinner { display: block; width: 14px; height: 14px; box-sizing: border-box; border: 2px solid rgba(255,255,255,.24); border-top-color: #fff; border-radius: 50%; animation: modelSpin .8s linear infinite; }
.publication-upscale-spinner[hidden],
.publication-download-ready[hidden],
.publication-download-cost[hidden] { display: none; }
.publication-download-ready { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: #fff; font-style: normal; }
.image-viewer-dialog .publication-download-ready img { width: 20px; height: 20px; max-width: 20px; max-height: 20px; border-radius: 0; object-fit: contain; }
.publication-download-menu [data-publication-upscale].is-processing { cursor: wait; }
.publication-edit-menu { position: relative; }
.publication-edit-menu [data-publication-edit-options] { position: absolute; bottom: 52px; left: 50%; z-index: 2; display: grid; width: 180px; padding: 10px; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); border: 0; border-radius: 7px; background: var(--panel); box-shadow: 0 18px 54px rgba(0,0,0,.72); font-family: var(--font-ko); transition: .18s ease; }
.publication-edit-menu.is-open [data-publication-edit-options] { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.publication-edit-menu [data-publication-edit-options]::after { content: ""; position: absolute; bottom: -6px; left: 50%; width: 10px; height: 10px; transform: translateX(-50%) rotate(45deg); background: var(--panel); }
.publication-edit-menu [data-publication-edit-action] { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; padding: 0 10px; border: 0; border-radius: 5px; color: #fff; background: transparent; font-family: inherit; cursor: pointer; transition: background-color .16s ease; }
.publication-edit-menu [data-publication-edit-action][hidden] { display: none; }
.publication-edit-menu [data-publication-edit-action]:hover { background: rgba(232, 42, 53, .18); }
.publication-edit-menu [data-publication-edit-action] > strong { color: #fff; font: 400 12px/1 var(--font-ko); }
.publication-edit-menu [data-publication-background-remove].is-processing { cursor: wait; }
.publication-edit-menu [data-publication-image-edit].is-processing { cursor: wait; }
.image-viewer-root.is-publication .image-viewer-close { position: fixed; top: 22px; right: 22px; z-index: 5; display: block; width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; }
.image-viewer-root.is-publication .image-viewer-close::before,
.image-viewer-root.is-publication .image-viewer-close::after { content: ""; position: absolute; top: 18px; left: 8px; width: 22px; height: 1px; background: #eee; }
.image-viewer-root.is-publication .image-viewer-close::before { transform: rotate(45deg); }
.image-viewer-root.is-publication .image-viewer-close::after { transform: rotate(-45deg); }
.image-viewer-root.is-publication.is-panel-collapsed .image-viewer-close::before { top: 13px; left: 13px; width: 10px; height: 10px; border-bottom: 1px solid #eee; border-left: 1px solid #eee; background: transparent; transform: rotate(45deg); }
.image-viewer-root.is-publication.is-panel-collapsed .image-viewer-close::after { top: 18px; left: 13px; width: 17px; transform: none; }
.image-viewer-root.is-publication .publication-viewer-panel { box-sizing: border-box; width: 390px; height: 100dvh; padding: 38px 34px 34px; overflow-y: auto; overscroll-behavior: contain; border-left: 1px solid rgba(255,255,255,.1); background: #0b0b0d; scrollbar-width: none; transition: transform .32s ease; }
.image-viewer-root.is-publication .publication-viewer-panel::-webkit-scrollbar { display: none; }
.image-viewer-root.is-publication.is-panel-collapsed .publication-viewer-panel { transform: translateX(100%); }
.publication-viewer-creator { display: flex; align-items: center; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.image-viewer-dialog .publication-viewer-creator > img { width: 46px; height: 46px; max-width: none; max-height: none; border-radius: 50%; object-fit: cover; }
.publication-viewer-creator div { display: grid; gap: 8px; min-width: 0; }
.publication-viewer-creator strong { overflow: hidden; color: #fff; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.publication-viewer-creator span { display: flex; gap: 9px; color: #aaa; font-size: 12px; }
.publication-viewer-creator b { font-weight: 400; }
.publication-viewer-creator i { color: inherit; font-style: normal; }
.publication-viewer-creator em { color: #555; font-style: normal; }
.publication-viewer-generation { padding: 28px 0 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.publication-viewer-generation-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.image-viewer-details .publication-viewer-generation-head > h3 { margin: 0; }
.image-viewer-root.is-publication .image-viewer-details .publication-viewer-generation-head h3 { color: #fff; font-size: 14px; font-weight: 600; }
.image-viewer-content-type { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 10px; border: 1px solid rgba(var(--primary-rgb), .28); border-radius: 999px; color: var(--primary); background: rgba(var(--primary-rgb), .14); font-size: 12px; font-style: normal; font-weight: 500; }
.image-viewer-content-type[hidden] { display: none; }
.publication-viewer-model { display: flex; align-items: center; gap: 11px; width: 100%; margin: -4px 0 20px; padding: 10px; box-sizing: border-box; border-radius: 8px; background: rgba(255,255,255,.045); cursor: pointer; transition: background .18s ease; }
.publication-viewer-model:hover { background: rgba(255,255,255,.075); }
.publication-viewer-model[hidden] { display: none; }
.image-viewer-dialog .publication-viewer-model > img { flex: 0 0 44px; width: 44px; height: 44px; max-width: 44px; max-height: 44px; border-radius: 50%; object-fit: cover; object-position: center top; }
.publication-viewer-model > div { display: grid; gap: 5px; min-width: 0; }
.publication-viewer-model strong { overflow: hidden; color: #fff; font-size: 13px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.publication-viewer-model span { overflow: hidden; color: #777780; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.image-viewer-root.is-publication .image-viewer-details dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.image-viewer-root.is-publication .image-viewer-details dl > div { display: grid; grid-template-columns: 80px minmax(0,1fr); padding: 0; }
.image-viewer-root.is-publication .image-viewer-details dt { margin: 0; color: #85858d; font-size: 12px; }
.image-viewer-root.is-publication .image-viewer-details dd { color: #c8c8cd; font-size: 12px; line-height: 1.5; }
.publication-viewer-actions { display: flex; align-items: center; gap: 20px; margin: 20px 0 26px; }
.publication-viewer-like { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; color: #aaa; background: transparent; cursor: pointer; }
.image-viewer-dialog .publication-viewer-like img { width: 20px; height: 20px; max-width: 20px; max-height: 20px; border-radius: 0; object-fit: contain; transition: opacity .16s ease; }
.publication-viewer-like:hover img { opacity: .7; }
.publication-viewer-like b { font-size: 13px; }
.publication-viewer-share { display: flex; width: 20px; height: 20px; padding: 0; border: 0; color: #aaa; background: transparent; cursor: pointer; }
.image-viewer-dialog .publication-viewer-share img { width: 20px; height: 20px; max-width: 20px; max-height: 20px; border-radius: 0; object-fit: contain; transition: opacity .16s ease; }
.publication-viewer-share:hover img { opacity: .7; }
.publication-viewer-comments h3 { margin-bottom: 18px; }
.publication-viewer-comments h3 b { color: inherit; }
.image-viewer-root.is-publication .publication-viewer-comments .feed-comment > img { width: 40px; height: 40px; max-width: none; max-height: none; border-radius: 50%; object-fit: cover; object-position: center top; }
.publication-viewer-comments .feed-comment-list { gap: 34px; }
.publication-viewer-comments .feed-comment header .publication-viewer-comment-creator { display: inline-flex; align-items: center; padding: 2px 5px; border: 1px solid var(--primary); border-radius: 3px; color: var(--primary); font-size: 12px; line-height: 1.2; opacity: 1; }
.publication-viewer-comments .feed-comment.is-deleted p { color: #686870; }
.publication-viewer-comments form { position: sticky; bottom: -34px; display: flex; margin: 28px -6px -34px; padding: 14px 6px 20px; border-top: 1px solid rgba(255,255,255,.12); background: #0b0b0d; }
.publication-viewer-comments input { flex: 1; min-width: 0; border: 0; color: #eee; background: transparent; outline: 0; }
.publication-viewer-comments form button { display: grid; width: 36px; height: 36px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--primary); box-shadow: inset 0 0 0 2px rgba(0,0,0,.24); cursor: pointer; }
.publication-viewer-comments form svg { width: 16px; height: 16px; }

@media (max-width: 768px) {
    .image-viewer-root:not(.is-publication) .image-viewer-media > img,
    .image-viewer-root:not(.is-publication) .image-viewer-media > video { width: 100%; max-width: none; max-height: none; }
    .image-viewer-root.is-publication .image-viewer-dialog,
    .image-viewer-root.is-publication.is-panel-collapsed .image-viewer-dialog { display: block; width: 100%; height: 100dvh; min-height: 0; overflow: hidden; }
    .image-viewer-root.is-publication .image-viewer-stage { width: 100%; height: 100dvh; padding: 58px 14px 12px; }
    .image-viewer-root.is-publication .image-viewer-media > img,
    .image-viewer-root.is-publication .image-viewer-media > video { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 132px); object-fit: contain; }
    .image-viewer-root.is-publication .publication-viewer-panel { position: fixed; inset: 0 0 0 auto; z-index: 4; width: min(390px, 100vw); padding: 38px 24px 32px; transform: translateX(0); border: 0; border-left: 1px solid rgba(255,255,255,.1); transition: transform .32s ease; }
    .image-viewer-root.is-publication.is-panel-collapsed .publication-viewer-panel { transform: translateX(100%); }
    .image-viewer-root.is-publication .image-viewer-close { top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); background: rgba(10,10,13,.72); }
    .publication-viewer-tools { gap: 10px; }
}

@media (max-width: 512px) {
    .image-viewer-root:not(.is-publication) .image-viewer-media > img,
    .image-viewer-root:not(.is-publication) .image-viewer-media > video { border-radius: 0; }
    .publication-download-menu [data-publication-download-options] { left: 0; transform: translate(0, 8px); }
    .publication-download-menu.is-open [data-publication-download-options] { transform: translate(0, 0); }
    .publication-download-menu [data-publication-download-options]::after { left: 19px; }
}

/* Chat image archive */
.chat-page {
    --chat-layout-right-gap: 56px;
}

.chat-page .chat-content {
    margin-right: calc(var(--chat-layout-right-gap) * -1);
}

.chat-archive-open,
.feed-discovery-open,
.chat-archive-move {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 46px;
    margin-top: 16px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.chat-archive-open svg,
.feed-discovery-open svg,
.chat-archive-move svg {
    flex: 0 0 24px;
}

.chat-page .chat-main-wrap {
    --chat-archive-width: min(400px, 42vw);
    display: flex;
    align-items: start;
    overflow-x: clip;
}

.chat-page .chat-conversation {
    flex: 1 1 auto;
    min-width: 0;
}

.chat-page .chat-conversation.model-list-section {
    margin-right: 48px;
}

.chat-archive {
    position: sticky;
    top: 0;
    flex: 0 0 var(--chat-archive-width);
    width: var(--chat-archive-width);
    min-width: var(--chat-archive-width);
    height: 100vh;
    display: flex;
    flex-direction: column;
    margin-right: calc(var(--chat-archive-width) * -1);
    overflow: hidden;
    padding: 48px;
    border-left: 1px solid transparent;
    pointer-events: none;
    transition: margin-right .36s ease, border-color .24s ease;
}

.chat-page.is-archive-open .chat-archive {
    margin-right: 0;
    border-left-color: rgba(255, 255, 255, .08);
    pointer-events: auto;
}

body.experience-day .chat-page.is-archive-open .chat-archive {
    border-left-color: rgba(0, 0, 0, .08);
}

body.experience-day .feed-detail-author strong {
    color:#fff;
}

body.experience-day .feed-detail-comments h3 {
    color:#fff;
}

body.experience-day .feed-detail-copy h2 {
    color:#fff;
}

body.experience-day .side-detail-sheet .feed-comment strong,
body.experience-day .image-viewer-root.is-publication .publication-viewer-comments .feed-comment strong {
    color:#fff;
}

body.experience-day .side-detail-sheet .feed-more-icon {
    color: #fff;
}

body.experience-day .side-detail-sheet  .feed-detail-comments form {
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .025);
}

body.experience-day .side-detail-sheet .feed-detail-comments form input {
    background-color: transparent !important;
    color:#fff !important;
}

.chat-archive-head {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    margin-bottom: 18px;
    white-space: nowrap;
}

.chat-archive-head strong {
    color: #fff;
    font-size: 18px;
}

.chat-archive-head span {
    margin-left: auto;
    color: var(--primary);
    font-size: 13px;
}

.chat-archive-head .chat-archive-select-all {
    flex: 0 0 auto;
    gap: 0 !important;
}

.chat-archive-delete {
    margin-left: auto;
    padding: 5px 8px;
    border-radius: 6px;
    background: rgba(var(--primary-rgb), .12);
    color: var(--primary);
    font-size: 12px;
}

.chat-archive-delete[hidden] {
    display: none;
}

.chat-archive-delete:not([hidden]) + span {
    margin-left: 0;
}

.chat-archive-close {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-left: 0;
    border-radius: 50%;
    background: transparent;
    transition: background var(--transition-base);
    margin-right: -5px;
}

.chat-archive-close:hover,
.chat-archive-close:focus-visible {
    background: rgba(255, 255, 255, .12);
}

.chat-archive-close img {
    width: 24px;
    height: 24px;
    opacity: .76;
}

.chat-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: max-content;
    align-content: start;
    flex: 1 1 auto;
    min-height: 0;
    gap: 8px;
    max-height: calc(100vh - 148px);
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.chat-archive-move {
    margin-top: 16px;
}

.chat-archive-move:disabled {
    cursor: default;
    opacity: .35;
}

.chat-archive-grid::-webkit-scrollbar {
    display: none;
}

.chat-archive-item {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
}

.chat-archive-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background var(--transition-base);
}

.chat-archive-item > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.chat-archive-item.is-loading > img {
    opacity: 0;
}

.chat-archive-item > .generation-status-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border-color: rgba(255, 255, 255, .2);
    border-top-color: var(--primary);
}

.chat-archive-item:not(.is-loading) > .generation-status-spinner {
    display: none;
}

.chat-archive-item .chat-archive-view {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 16px;
    height: 16px;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity var(--transition-base);
}

.chat-archive-item .chat-archive-item-check {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 3;
    gap: 0 !important;
}

.chat-archive-item .chat-archive-view img {
    width: 100%;
    height: 100%;
}

.chat-archive-item:hover::after,
.chat-archive-item:focus-visible::after {
    background: rgba(0, 0, 0, .34);
}

.chat-archive-item:hover i,
.chat-archive-item:focus-visible i {
    opacity: 1;
}

.chat-archive-empty {
    grid-column: 1 / -1;
    padding: 60px 10px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

@media (min-width: 1800px) {
    .chat-archive-open,
    .chat-archive-close {
        display: none;
    }

    .chat-page .chat-main-wrap {
        --chat-archive-width: 400px;
    }

    .chat-page .chat-conversation.model-list-section {
        margin-right: 48px;
    }

    .chat-page .chat-archive {
        margin-right: 0;
        border-left-color: rgba(255, 255, 255, .08);
        pointer-events: auto;
    }
}

@media (min-width: 2250px) {
    .chat-page .chat-main-wrap {
        --chat-archive-width: 768px;
    }

    .chat-archive-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

@media (max-width: 1500px) {
    .chat-page .chat-main-wrap {
        overflow-x: visible;
    }

    .chat-page .chat-archive {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 90;
        width: min(400px, 100vw);
        min-width: min(400px, 100vw);
        height: 100dvh;
        margin-right: 0;
        background: var(--bg);
        box-shadow: none;
        transform: translateX(100%);
        transition: transform .36s ease, border-color .24s ease;
    }

    .chat-page.is-archive-open .chat-archive {
        box-shadow: -8px 0 22px rgba(0, 0, 0, .16);
        transform: translateX(0);
    }

    .chat-archive-grid {
        max-height: calc(100dvh - 148px);
    }
}

@media (max-width: 1280px) {
    .chat-page {
        --chat-layout-right-gap: 32px;
    }

    .chat-page .chat-conversation.model-list-section {
        margin-right: 32px;
    }

    .chat-page .chat-archive {
        top: 75px;
        height: calc(100dvh - 75px);
        padding: 32px;
    }

    .chat-archive-grid {
        max-height: calc(100dvh - 191px);
    }
}

@media (max-width: 768px) {
    .chat-page {
        --chat-layout-right-gap: 30px;
    }

    .chat-page .chat-conversation.model-list-section {
        margin-right: 30px;
    }

    .chat-page .chat-archive {
        padding: 30px;
    }

    .chat-archive-grid {
        max-height: calc(100dvh - 187px);
    }
}

@media (max-width: 512px) {
    .chat-page .chat-archive {
        width: 300px;
        min-width: 300px;
    }
}

@media (max-width: 300px) {
    .chat-page .chat-archive {
        width: 100%;
        min-width: 100%;
    }
}

/* PICTORIAL */
.pictorial-builder {
    overflow-y: auto;
}

.pictorial-panel-empty {
    padding: 28px 20px;
    border: 1px solid var(--line, #2b2b33);
    border-radius: 10px;
    color: #92929d;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

.style-preset-swiper.pictorial-model-swiper .swiper-slide::after {
    content: attr(data-model-label);
}

.style-preset-swiper.pictorial-model-swiper span > img:first-child {
    transform: none;
    object-position: top center;
}

.style-preset-swiper.pictorial-model-swiper input:checked + span i {
    display: block;
}

.style-preset-swiper.pictorial-model-swiper input:checked + span i svg {
    width: 18px;
    height: 18px;
}

.pictorial-model-swiper .model-content-count {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 3;
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    box-sizing: border-box;
    border-radius: 11px;
    background: #e32232;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.pictorial-model-swiper .model-content-count[hidden] {
    display: none;
}

.pictorial-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
}

.pictorial-option-grid .custom-dropdown {
    width: 100%;
}

.pictorial-panel-picker {
    position: relative;
    display: block;
}

.pictorial-panel-picker > button {
    position: relative;
    width: 100%;
    height: 44px;
    padding: 0 42px 0 20px;
    border: 0;
    border-radius: 9px;
    background: var(--panel);
    color: var(--text);
    font: 300 12px/1 var(--font-base);
    text-align: left;
    cursor: pointer;
}

.pictorial-panel-picker::after {
    content: "";
    position: absolute;
    top: 22px;
    right: 16px;
    width: 20px;
    height: 20px;
    background: url("../image/svg/down.svg") center/contain no-repeat;
    opacity: .8;
    pointer-events: none;
    transform: translateY(-50%);
    transition: transform .18s ease;
}

.pictorial-panel-picker:has(> button[aria-expanded="true"])::after {
    transform: translateY(-50%) rotate(180deg);
}

.pictorial-panel-layer {
    position: fixed;
    z-index: 12050;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 10px;
    background: #111117;
    box-shadow: 0 22px 52px rgba(0, 0, 0, .55);
}

.pictorial-panel-layer[hidden] {
    display: none;
}

.pictorial-hair-lengths {
    flex: 0 0 auto;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.pictorial-hair-lengths > strong {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.pictorial-hair-lengths > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.pictorial-hair-lengths button {
    height: 32px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--panel);
    color: #a9abb4;
    font-size: 12px;
    cursor: pointer;
}

.pictorial-hair-lengths button:hover,
.pictorial-hair-lengths button.is-active {
    background: rgba(var(--primary-rgb), .14);
    color: var(--primary);
}

.pictorial-panel-tabs {
    flex: 0 0 auto;
    width: 100%;
    overflow: hidden;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.pictorial-panel-tabs .swiper-wrapper {
    align-items: center;
}

.pictorial-panel-tabs [data-panel-picker-tab] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 32px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    cursor: pointer;
}

.pictorial-panel-tabs [data-panel-picker-tab] input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pictorial-panel-tabs [data-panel-picker-tab] > span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pictorial-panel-tabs [data-panel-picker-tab]:hover {
    color: #fff;
}

.pictorial-panel-tabs [data-panel-picker-tab].is-active {
    border-color: rgba(var(--primary-rgb), .38);
    background: rgba(var(--primary-rgb), .14);
    color: #fff;
}

.pictorial-panel-tabs [data-panel-picker-tab].is-active > span {
    color: #fff;
}

.pictorial-panel-tabs [data-panel-picker-tab].is-adult-locked {
    opacity: .35;
}

.pictorial-panel-tabs [data-panel-picker-tab].is-adult-locked:hover {
    color: var(--muted);
}

.pictorial-panel-panels {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 15px 15px 15px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .18) transparent;
}

.pictorial-panel-panels section[hidden] {
    display: none;
}

.pictorial-panel-panels section > strong {
    display: block;
    margin-bottom: 11px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.pictorial-panel-panels section > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.pictorial-panel-panels section button {
    min-width: 0;
    height: 36px;
    padding: 0 10px;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--panel);
    color: #a9abb4;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.pictorial-panel-panels section button:hover {
    background: rgba(var(--primary-rgb), .14);
    color: var(--primary);
}

.pictorial-panel-panels section button.is-active {
    background: rgba(var(--primary-rgb), .14);
    color: var(--primary);
}

.pictorial-panel-special {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    min-height: 48px;
    padding: 8px 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.pictorial-panel-special span {
    color: rgba(255, 255, 255, .18);
    font-size: 12px;
}

.pictorial-panel-special button {
    height: 27px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    cursor: pointer;
}

.pictorial-panel-special button:hover {
    color: #fff;
}

.pictorial-panel-special button.is-active {
    background: rgba(255, 255, 255, .075);
    color: #fff;
}

.model-makeup-mode-description {
    margin: 0px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
    font-weight: 300;
}

.model-makeup-selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.model-makeup-selected-tags[hidden] {
    display: none;
}

.model-makeup-selected-tags span {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .14);
    color: var(--primary);
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    
    
}

[data-model-makeup-category-tabs][hidden] {
    display: none;
}

.model-makeup-option-description {
    justify-content: flex-start;
}

.model-makeup-option-description p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 300;
}

.pictorial-additional {
    display: block;
    margin-top: 14px;
}

.pictorial-additional-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pictorial-additional-head b {
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.pictorial-additional-head i {
    font-style: normal;
}

.pictorial-prohibited-notice {
    margin: 7px 0 0;
    color: var(--primary);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.pictorial-additional textarea {
    width: 100%;
    min-height: 92px;
    padding: 12px;
    resize: vertical;
    border: 0;
    border-radius: 9px;
    outline: none;
    background: var(--panel);
    color: var(--text);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.55;
}

.choice-buttons.fluid.pictorial-ratio-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 20px;
}

.choice-buttons.fluid.pictorial-resolution-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fitting-upload {
    position: relative;
}

.fitting-upload > input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.fitting-upload > label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 82.5px;
    padding: 10px;
    border: 1px dashed #3a3c46;
    border-radius: 8px;
    background: #14151b;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.fitting-upload.has-files > label {
    padding: 8px;
}

.fitting-upload > label:hover {
    border-color: rgba(var(--primary-rgb), .7);
    background: rgba(var(--primary-rgb), .05);
}

.fitting-upload.is-dragover > label {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), .08);
}

.fitting-upload strong {
    font-weight: 300;
    color: var(--muted);
    font-size: 13px;
}

.fitting-reference-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.fitting-reference-grid:empty {
    display: none;
}

.fitting-reference-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid #292b34;
    border-radius: 7px;
    background: #101116;
}

.fitting-reference-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fitting-reference-item button {
    position: absolute;
    top: 5px;
    right: 5px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(10, 10, 13, .78);
    color: #fff;
    font-size: 15px;
    font-weight: 300;
}

.fitting-reference-help {
    margin: 10px 0 0;
    color: #777983;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.6;
}

.movie-fitting-logo-upload {
    margin-top: 0;
}

.movie-fitting-logo-upload .fitting-upload {
    width: 50%;
}

.movie-fitting-logo-upload .fitting-upload > label {
    position: relative;
    min-height: 82.5px;
    height: 82.5px;
    aspect-ratio: auto;
    padding: 6px;
    text-align: center;
    line-height: 1.35;
    overflow: hidden;
}

.movie-fitting-logo-upload .fitting-upload.has-files > label {
    padding: 0;
}

.model-visibility-option.movie-narration-option {
    padding-bottom: 0;
}

body.experience-day .movie-narration-option .switch-toggle input:checked + span {
    background: #17181d;
}

.movie-narration-fields {
    position: relative;
    display: grid;
    gap: 12px;
    margin: 0;
}

.movie-narration-fields > *,
.movie-narration-fields .pictorial-additional,
.movie-narration-fields .movie-storyboard-button {
    margin: 0;
}

.movie-narration-subject {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    outline: none;
    background: var(--panel);
    color: var(--text);
    font-size: 13px;
    font-weight: 300;
}

.movie-narration-voice-builder .model-voice-preset-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.movie-narration-voice-builder .model-voice-preset-card {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 3px;
    padding: 5px;
}

.movie-narration-voice-builder .model-voice-preset-card .chat-model-voice-player {
    gap: 5px;
    padding: 5px;
}

.movie-narration-voice-builder .model-voice-preset-card .chat-model-voice-player > span {
    flex: 0 0 auto;
    justify-content: flex-start;
    gap: 1px;
}

.movie-narration-voice-builder .model-voice-preset-card .chat-model-voice-player > span i:nth-child(n + 10) {
    display: none;
}

.model-voice-builder.movie-narration-voice-builder {
    position: absolute;
    top: 62px;
    right: 0;
    left: 0;
    z-index: 20;
    max-height: 320px;
    overflow-y: auto;
    isolation: isolate;
    opacity: 1;
    background: #0d0d12;
    scrollbar-width: none;
    box-shadow: none;
}

.model-voice-builder.movie-narration-voice-builder::-webkit-scrollbar {
    display: none;
}

.movie-narration-voice-builder .model-voice-preset-group-title,
.movie-narration-voice-builder .model-voice-builder-head > span {
    display: none;
}

body.experience-day .model-voice-builder.movie-narration-voice-builder {
    border-color: #e0e3e8;
    background: #fff;
    color: #1b1c21;
}

body.experience-day .movie-narration-voice-builder .model-voice-preset-card {
    border-color: transparent;
    background: #f3f4f6;
}

body.experience-day .movie-narration-voice-builder .model-voice-preset-card > em {
    color: #202127;
}

body.experience-day .movie-narration-voice-builder .chat-model-voice-player {
    background: #fff;
}

body.experience-day .movie-narration-voice-builder .chat-model-voice-player button {
    background: #e1e3e8;
    color: #202127;
}

body.experience-day .movie-narration-voice-builder .chat-model-voice-player > span i {
    background: #6f737d;
}

body.experience-day .movie-narration-voice-builder .model-voice-preset-card:has(input:checked) {
    border-color: transparent;
    background: #17181d;
}

body.experience-day .movie-narration-voice-builder .model-voice-preset-card:has(input:checked) > em {
    color: #fff;
}

body.experience-day .movie-narration-voice-builder .model-voice-preset-card:has(input:checked) .chat-model-voice-player {
    background: #292a30;
}

body.experience-day .movie-narration-voice-builder .model-voice-preset-card:has(input:checked) .chat-model-voice-player button {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

body.experience-day .movie-narration-voice-builder .model-voice-preset-card:has(input:checked) .chat-model-voice-player > span i {
    background: rgba(255, 255, 255, .74);
}

.model-voice-player.movie-narration-selected-voice {
    grid-template-columns: 72px minmax(0, 1fr) 30px;
    width: 100%;
    cursor: pointer;
    background: #1c1d24;
}

.movie-narration-selected-voice[hidden] {
    display: none;
}

.ugc-movie-page .movie-narration-selected-voice {
    cursor: default;
}

.movie-ugc-voice-empty {
    width: 100%;
    padding: 18px 12px;
}

.movie-ugc-voice-empty[hidden] {
    display: none;
}

.movie-narration-selected-voice .model-waveform {
    width: 100%;
    transform: translateX(-21px);
}

.movie-narration-selected-voice > button {
    justify-self: end;
    cursor: pointer;
}

body.experience-day .movie-narration-selected-voice {
    border-color: transparent;
    background: #fff;
}

body.experience-day .movie-narration-selected-voice time {
    color: #545b68;
}

body.experience-day .movie-narration-selected-voice > button {
    background: #17181d;
}

.movie-narration-fields[hidden] {
    display: none;
}

.movie-narration-generate [data-narration-spinner][hidden] {
    display: none;
}

.movie-narration-generate.is-loading [data-narration-spinner] {
    border-color: rgba(var(--primary-rgb), .24);
    border-top-color: var(--primary);
}

.movie-narration-generate.is-loading > span,
.movie-narration-generate.is-loading > img,
.movie-narration-generate.is-loading > b {
    display: none;
}

.fitting-logo-preview-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.fitting-logo-preview-image[hidden],
.fitting-logo-remove[hidden] {
    display: none;
}

.fitting-logo-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(10, 10, 13, .78);
    color: #fff;
    font-size: 15px;
    font-weight: 300;
}

.fitting-reference-format {
    margin: 2px 0 0;
    color: #777983;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.6;
}

.fitting-adult-option {
    margin-top: 18px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.fitting-adult-option.is-adult-locked {
    opacity: .45;
}

.fitting-adult-option.is-adult-locked .switch-toggle {
    cursor: not-allowed;
}

.movie-pictorial-option.is-adult-locked {
    opacity: .35;
}

.fitting-adult-option > strong {
    display: block;
    margin-bottom: 12px;
    color: var(--text);
    font-size: 14px;
    font-weight: 400;
}

.fitting-adult-option > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.fitting-adult-option > div > span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.55;
}

.fitting-adult-option small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}

.fitting-create-form .pictorial-additional {
    margin-top: 18px;
}

.fitting-additional-help {
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.5;
    opacity: .7;
}

.pictorial-list-section .model-list-head > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.pictorial-list-section .model-list-head strong {
    color: #fff;
    font-size: 16px;
}

.pictorial-list-section .model-list-head small {
    color: #777783;
    font-size: 12px;
}

.feed-stream-grid.pictorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(180px, calc((100% - 16px) / 2)), 1fr));
    gap: 16px;
    align-items: start;
}

.content-example-section {
    padding: 32px 0 20px;
}

.content-example-section[hidden] {
    display: none;
}

.content-example-section > header {
    margin-bottom: 18px;
}

.content-example-section > header h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 22px;
    font-weight: 400;
}

.content-example-section > header p {
    margin: 0;
    color: #777783;
    font-size: 12px;
    font-weight: 300;
}

.pictorial-card.content-example-card {
    aspect-ratio: 1;
}

.content-example-card .pictorial-media::before {
    display: none;
}

.publication-gallery-page .pictorial-list-empty,
.feed-stream-empty.content-list-empty-art,
.chat-empty-state.content-list-empty-art {
    --empty-art-size: clamp(280px, 38vw, 480px);
    position: relative;
    display: grid;
    place-items: center;
    min-height: calc(100vh - 150px);
    overflow: hidden;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    font-weight: 300;
    text-align: center;
}

.publication-gallery-page .pictorial-list-empty[hidden] {
    display: none;
}

.feed-stream-empty.content-list-empty-art[hidden] {
    display: none;
}

.feed-stream-empty.content-list-empty-art {
    min-height: calc(50vh - 75px);
}

.publication-gallery-page .pictorial-list-empty img,
.feed-stream-empty.content-list-empty-art img,
.chat-empty-state.content-list-empty-art img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--empty-art-size);
    height: var(--empty-art-size);
    object-fit: cover;
    filter: brightness(.58);
    opacity: .62;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%, #000 70%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 27%, #000 70%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, #000 30%, #000 70%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 27%, #000 70%, transparent 100%);
    mask-composite: intersect;
    transform: translate(-50%, -50%);
}

.publication-gallery-page .pictorial-list-empty::after,
.feed-stream-empty.content-list-empty-art::after,
.chat-empty-state.content-list-empty-art::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--empty-art-size);
    height: var(--empty-art-size);
    background: linear-gradient(to right, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%), linear-gradient(to bottom, var(--bg) 0%, transparent 27%, transparent 70%, var(--bg) 100%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.publication-gallery-page .pictorial-list-empty span,
.feed-stream-empty.content-list-empty-art > span,
.chat-empty-state.content-list-empty-art > span {
    position: relative;
    z-index: 1;
    padding: 12px 18px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .95);
}

.pictorial-card {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    height: auto;
    min-height: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--panel-dark);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10);
    opacity: 1;
    transform: translateY(0);
    transition: opacity .42s ease var(--feed-delay, 0ms), transform .42s ease var(--feed-delay, 0ms), box-shadow var(--transition-base);
}

.pictorial-card.is-entering {
    opacity: 0;
    transform: translateY(22px);
}

.pictorial-card > .pictorial-card-delete {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 4;
    display: block;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.pictorial-card > .pictorial-card-delete[hidden] {
    display: none;
}

.pictorial-card > .pictorial-card-delete::before,
.pictorial-card > .pictorial-card-delete::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transform: translate(-50%, -50%) rotate(45deg);
}

.pictorial-card > .pictorial-card-delete::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.pictorial-card > .pictorial-card-delete:disabled {
    opacity: .5;
    cursor: wait;
}

.content-publication-button {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: auto;
    height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 300;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.content-publication-button[hidden] { display: none; }
.content-publication-button:hover { background: #d91426; color: #fff; }
.content-publication-button:disabled { cursor: wait; opacity: .55; }
.content-publication-button img { flex: 0 0 15px; width: 15px; height: 15px; margin: 0; object-fit: contain; }
.content-publication-button.is-pending,
.content-publication-button.is-pending:hover { background: #fff; color: #111; cursor: pointer; }
.content-publication-button.is-approved,
.content-publication-button.is-approved:hover { background: #000; color: #fff; cursor: pointer; }

.pictorial-card-private {
    position: absolute;
    top: 54px;
    right: 14px;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    font: 500 12px/1 var(--font-en);
    font-style: normal;
    pointer-events: none;
}

.pictorial-card-private[hidden] {
    display: none;
}

.pictorial-image-open {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.pictorial-media {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #111116;
}

.pictorial-media::before {
    content: '';
    position: absolute;
    inset: 36% 0 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .88));
    pointer-events: none;
}

.pictorial-media > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter .2s ease;
}

.pictorial-media > img[hidden] {
    display: none;
}

.pictorial-media > i {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    opacity: 0;
    transform: translate(-50%, -45%);
    transition: opacity .2s ease, transform .2s ease;
}

.pictorial-media > i img {
    width: 20px;
    height: 20px;
}

.pictorial-image-open:hover .pictorial-media > img {
    filter: brightness(.68);
}

.pictorial-image-open:hover .pictorial-media > i {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.pictorial-media > em {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    padding: 28px;
    color: #92929d;
    font-size: 12px;
    font-style: normal;
    line-height: 1.6;
    text-align: center;
}

.pictorial-card.is-generating .pictorial-media > em,
.pictorial-card.is-failed .pictorial-media > em {
    display: grid;
}

.pictorial-card.is-generating .pictorial-media > em {
    transform: translateY(-18.5px);
}

.movie-card.is-generating .movie-media > em {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transform: translateY(-14px);
}

.pictorial-card.movie-card.is-generating .pictorial-media.movie-media::after {
    top: calc(50% + 26px);
}

.movie-generation-stage {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.pictorial-card.is-generating .pictorial-media::after {
    content: '';
    position: absolute;
    top: calc(50% + 6px);
    left: 50%;
    z-index: 2;
    width: 22px;
    height: 22px;
    margin-left: -11px;
    border: 2px solid #393944;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: modelSpin .8s linear infinite;
}

.pictorial-card footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 20px;
    pointer-events: none;
}

.pictorial-card footer span,
.pictorial-card footer strong,
.pictorial-card footer small {
    display: block;
}

.pictorial-card footer > span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 38px;
}

.pictorial-card footer strong {
    margin-bottom: 4px;
    color: #fff;
    font-size: 13px;
}

.pictorial-card footer small,
.pictorial-card footer time {
    color: #777783;
    font-size: 12px;
}

.pictorial-card footer time {
    display: block;
    margin-top: 3px;
}

.publication-gallery-page .pictorial-card.is-private .pictorial-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .46);
    pointer-events: none;
}

.publication-gallery-page .pictorial-card.is-private:not(.is-locked) .pictorial-media::after {
    background: rgba(0, 0, 0, .12);
}

.publication-gallery-page .pictorial-card.is-private::after {
    content: "19";
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    font: 500 12px/1 var(--font-en);
    pointer-events: none;
}

.publication-gallery-page .pictorial-card.is-private .pictorial-card-private {
    display: none;
}

.publication-gallery-page .pictorial-card.is-private .pictorial-media > i {
    display: none;
}

.publication-gallery-page .pictorial-card.is-private .feed-private-lock {
    display: block;
}

.publication-gallery-page .pictorial-card.is-private .feed-private-lock .is-locked-icon,
.publication-gallery-page .pictorial-card.is-locked .feed-private-lock .is-open-icon {
    display: none;
}

.publication-gallery-page .pictorial-card.is-locked .feed-private-lock .is-locked-icon {
    display: none;
}

.publication-gallery-page .pictorial-card.is-locked .feed-private-lock {
    background: url("../image/svg/private-lock.svg") center/100% 100% no-repeat;
}

.publication-gallery-page .pictorial-card footer {
    justify-content: flex-start;
    align-items: center;
}

.pictorial-page:not(.publication-gallery-page) .pictorial-card footer {
    justify-content: flex-start;
    align-items: center;
}

.publication-model-profile {
    position: relative;
    z-index: 1;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #111116;
    overflow: hidden;
    pointer-events: auto;
    cursor: pointer;
}

.publication-model-profile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: filter var(--transition-base);
}

.publication-model-profile:hover img {
    filter: brightness(.72);
}

.publication-model-profile.is-anonymous {
    cursor: default;
}

.publication-model-profile.is-anonymous img,
.publication-model-profile.is-anonymous:hover img {
    filter: brightness(.45);
}

.movie-pictorial-fieldset > p {
    margin: -2px 0 12px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
    font-weight: 300;
}

.movie-pictorial-fieldset > [data-banner-source-message] {
    margin-bottom: 0;
}

.movie-resolution-options[hidden] {
    display: none;
}

.banner-coming-soon {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: -5px 0 13px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}

.banner-coming-soon em {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 0 7px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #000;
    font: 500 12px/1 var(--font-en);
    font-style: normal;
    letter-spacing: 0;
}

.movie-pictorial-options {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-bottom: 5px;
    overflow: hidden;
}

.movie-pictorial-options[hidden] {
    display: none;
}

.movie-pictorial-option {
    position: relative;
    width: 80px;
    flex: 0 0 80px;
    cursor: pointer;
}

.movie-pictorial-option > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.movie-pictorial-option > span {
    position: relative;
    display: block;
    width: 80px;
    height: 110px;
    overflow: hidden;
    border: 0;
    border-radius: 9px;
    background: var(--panel-dark);
    transition: border-color .2s ease;
}

.movie-pictorial-option > span::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .28);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.movie-pictorial-option > span > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    -webkit-user-drag: none;
    user-select: none;
    transition: filter .22s ease;
}

.movie-pictorial-option > span:hover::after {
    opacity: 1;
}

.movie-pictorial-option > span:hover > img:first-child {
    filter: brightness(.72);
}

.movie-pictorial-option > input:checked + span {
    border-color: transparent;
}

.movie-pictorial-option > span > i {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    display: none;
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.movie-pictorial-option > span > i svg {
    display: block;
    width: 18px;
    height: 18px;
}

.movie-pictorial-option > input:checked + span > i {
    display: block;
}

.movie-source-type {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
    padding: 4px 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .72);
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    line-height: 1;
    pointer-events: none;
    display: none;
}

.movie-pictorial-option > span:hover .preset-view-button {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.movie-pictorial-option .preset-view-button img {
    width: 18px;
    height: 18px;
}

.banner-source-private {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    font: 500 12px/1 var(--font-en);
    font-style: normal;
    pointer-events: none;
}

.banner-card .pictorial-card-private {
    top: 14px;
    right: 14px;
}

.movie-duration {
    display: block;
    margin-top: 18px;
}

.movie-model-disabled-option {
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
}

.movie-create-form [data-movie-model-picker][hidden] {
    display: none !important;
}

.movie-duration > span {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.movie-sound-option > div > span {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
}

.movie-duration > span b {
    color: var(--primary);
    font-weight: 500;
}

.movie-duration > .movie-duration-slider {
    position: relative;
    display: block;
    height: 11px;
    margin: 0;
}

.movie-duration-slider::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: 999px;
    background: #303039;
    transform: translateY(-50%);
}

body.experience-day .movie-duration-slider::before {
    background: rgba(255, 255, 255, .45);
}

.movie-duration input {
    position: relative;
    z-index: 1;
    display: block;
    appearance: none;
    -webkit-appearance: none;
    width: calc(var(--movie-duration-available) + 11px);
    height: 4px;
    margin: 3.5px 0 0;
    border-radius: 999px;
    outline: none;
    background: transparent;
}

.movie-duration input::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(to right, #303039 0 calc(100% - 11px), transparent calc(100% - 11px));
}

body.experience-day .movie-duration input::-webkit-slider-runnable-track {
    background: linear-gradient(to right, rgba(255, 255, 255, .9) 0 calc(100% - 11px), transparent calc(100% - 11px));
}

body.experience-day .movie-duration input::-moz-range-track {
    background: linear-gradient(to right, rgba(255, 255, 255, .9) 0 calc(100% - 11px), transparent calc(100% - 11px));
}

.movie-duration input::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 11px;
    margin-top: -3.5px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    cursor: pointer;
    transition: transform .18s ease;
}

.movie-duration input::-moz-range-track {
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(to right, #303039 0 calc(100% - 11px), transparent calc(100% - 11px));
}

.movie-duration input::-moz-range-thumb {
    width: 22px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    cursor: pointer;
    transition: transform .18s ease;
}

.movie-duration input:hover::-webkit-slider-thumb {
    transform: scale(1.12);
}

.movie-duration input:hover::-moz-range-thumb {
    transform: scale(1.12);
}

.movie-duration > .movie-duration-scale {
    position: relative;
    display: block;
    height: 24px;
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    line-height: 18px;
}

.movie-duration-scale > i {
    position: absolute;
    top: 0;
    left: 0;
    font-style: normal;
}

.movie-duration-scale > i:nth-of-type(2) {
    left: calc(var(--movie-duration-middle) + 5.5px);
    transform: translateX(-50%);
}

.movie-duration-scale > i:nth-of-type(3) {
    left: var(--movie-duration-available);
    transform: translateX(-50%);
}

.movie-duration-coming-soon {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-height: 18px;
    margin: 0;
    padding: 2px 7px 0;
    border-radius: 999px;
    background: var(--primary);
    color: #000;
    font: 500 8px/1 var(--font-en);
    font-style: normal;
    white-space: nowrap;
}

.movie-storyboard-audience {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.movie-storyboard-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 50px;
    margin-top: 14px;
    border: 0;
    border-radius: 9px;
    background: var(--panel);
    color: var(--text);
    font-size: 14px;
    font-weight: 400;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .30);
}

.movie-storyboard-direction {
    margin-top: 14px;
}

.movie-storyboard-direction + .movie-storyboard-button {
    margin-top: 0;
}

.movie-storyboard-direction-help {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.55;
}

.movie-short-script-heading {
    display: block;
    margin-top: 22px;
}

.movie-short-script {
    margin-top: 8px;
}

.movie-short-script textarea {
    min-height: 150px;
}


.movie-storyboard-button > img {
    width: 18px;
    height: 18px;
}

.movie-storyboard-button > b {
    font-weight: 500;
}

.movie-storyboard-button [data-storyboard-spinner][hidden] {
    display: none;
}

.movie-storyboard-button.is-loading [data-storyboard-spinner] {
    border-color: rgba(var(--primary-rgb), .24);
    border-top-color: var(--primary);
}

.movie-storyboard-button.is-loading > span,
.movie-storyboard-button.is-loading > img,
.movie-storyboard-button.is-loading > b {
    display: none;
}

.movie-storyboard-status {
    min-height: 170px;
    margin-top: 12px;
}

.movie-storyboard-status small {
    white-space: normal;
}

.movie-storyboard-translation {
    margin-top: 12px;
    padding: 13px 14px;
    border-radius: 9px;
    background: var(--panel);
}

.movie-storyboard-translation[hidden] {
    display: none;
}

.movie-storyboard-translation > span {
    display: block;
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
}

.movie-storyboard-translation > p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.65;
    white-space: pre-line;
}

.movie-storyboard-translation > .movie-fashion-scenes {
    margin-top: 9px;
}

.movie-tvc-storyboard-review {
    --tvc-storyboard-card-bg: #25252e;
    --tvc-storyboard-soft-bg: #272730;
    width: 100%;
    margin-bottom: 18px;
    padding: 24px;
    border-radius: 16px;
    background: var(--panel);
    box-sizing: border-box;
}

body.experience-day .movie-tvc-storyboard-review {
    --tvc-storyboard-card-bg: rgba(127, 127, 139, .025);
    --tvc-storyboard-soft-bg: rgba(127, 127, 139, .055);
}

body.experience-night .movie-tvc-storyboard-review {
    --tvc-storyboard-card-bg: #25252e;
    --tvc-storyboard-soft-bg: #2d2d37;
}

.movie-tvc-storyboard-review[hidden],
.movie-tvc-storyboard-loading[hidden],
.movie-tvc-storyboard-content[hidden],
.movie-tvc-storyboard-summary > section[hidden],
.movie-tvc-storyboard-content > footer .movie-tvc-storyboard-model[hidden] {
    display: none;
}

.movie-tvc-storyboard-loading {
    display: flex;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    color: var(--text);
}

.movie-tvc-storyboard-loading > .generation-status-spinner {
    width: 28px;
    height: 28px;
    border-color: rgba(var(--primary-rgb), .22);
    border-top-color: var(--primary);
}

.movie-tvc-storyboard-loading > strong {
    font-size: 14px;
    font-weight: 400;
}

.movie-tvc-storyboard-content > header,
.movie-tvc-storyboard-scenes > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.movie-tvc-storyboard-content > header > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.movie-tvc-storyboard-content > header span,
.movie-tvc-storyboard-scenes > header > span,
.movie-tvc-storyboard-summary > section > span {
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
}

.movie-tvc-storyboard-content > header span {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .13);
}

.movie-tvc-storyboard-scenes > header > span {
    font-size: 17px;
    font-weight: 600;
}

.movie-tvc-storyboard-scenes > header {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 8px;
}

.movie-tvc-storyboard-scenes > header small {
    width: 100%;
    line-height: 1.6;
}

.movie-tvc-storyboard-content > header h2 {
    margin: 0;
    color: var(--text);
    font-size: 20px;
    font-weight: 400;
}

.movie-tvc-storyboard-content > header small,
.movie-tvc-storyboard-scenes > header small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 300;
}

.movie-tvc-storyboard-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.movie-tvc-storyboard-summary > section,
.movie-tvc-storyboard-scenes {
    min-width: 0;
    padding: 18px 20px;
    border-radius: 12px;
    background: var(--tvc-storyboard-card-bg);
    box-sizing: border-box;
}

.movie-tvc-storyboard-summary > section {
    min-height: 200px;
}

.movie-tvc-storyboard-summary > section > span {
    display: block;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 600;
}

.movie-tvc-storyboard-summary > section > p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    white-space: pre-line;
}

.movie-tvc-storyboard-product-card > p > span {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

.movie-tvc-storyboard-product-card > p > span + span {
    margin-top: 3px;
}

.movie-tvc-storyboard-product-card > p > span.is-full {
    grid-template-columns: minmax(0, 1fr);
}

.movie-tvc-storyboard-product-card > p strong {
    color: var(--text);
    font-weight: 400;
    white-space: nowrap;
}

.movie-tvc-storyboard-product-card > p em {
    min-width: 0;
    font-style: normal;
    word-break: keep-all;
}

.movie-tvc-storyboard-product-card > p > span.is-expandable em {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    cursor: pointer;
}

.movie-tvc-storyboard-product-card > p > span.is-expandable.is-expanded em {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    white-space: normal;
}

.movie-tvc-storyboard-narration-preset {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 12px;
    align-items: start;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.movie-tvc-storyboard-narration-preset > strong {
    color: var(--text);
    font-weight: 500;
    white-space: nowrap;
}

.movie-tvc-storyboard-narration-preset > em {
    min-width: 0;
    font-style: normal;
}

.movie-tvc-storyboard-model > div {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 25px;
}

.movie-tvc-storyboard-model img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    background: #111;
}

.movie-tvc-storyboard-model-open {
    display: block;
    flex: 0 0 auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    line-height: 0;
}

.movie-tvc-storyboard-model p {
    min-width: 0;
    margin: 0;
}

.movie-tvc-storyboard-model strong,
.movie-tvc-storyboard-model small {
    display: block;
    overflow: hidden;
    color: var(--text);
    font-size: 17px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-tvc-storyboard-model small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 300;
}

.movie-tvc-storyboard-model em {
    display: inline-flex;
    margin-top: 9px;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(127, 127, 139, .1);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
}

.movie-tvc-storyboard-narration-card > p {
    position: relative;
    display: flex;
    min-height: 118px;
    padding: 22px 30px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--tvc-storyboard-soft-bg);
    box-sizing: border-box;
    color: var(--text) !important;
    text-align: center;
}

.movie-tvc-storyboard-narration-card > p::before,
.movie-tvc-storyboard-narration-card > p::after {
    position: absolute;
    color: rgba(var(--primary-rgb), .45);
    font: 600 34px/1 sans-serif;
}

.movie-tvc-storyboard-narration-card > p::before {
    content: "“";
    top: 13px;
    left: 14px;
}

.movie-tvc-storyboard-narration-card > p::after {
    content: "”";
    right: 14px;
    bottom: 4px;
}

.movie-tvc-storyboard-settings {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.movie-tvc-storyboard-settings > div {
    display: flex;
    min-width: 0;
    min-height: 118px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    border-radius: 10px;
    background: var(--tvc-storyboard-soft-bg);
}

.movie-tvc-storyboard-settings i {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: var(--primary);
}

.movie-tvc-storyboard-settings i > svg {
    display: block;
    width: 24px;
    height: 24px;
}

body.experience-day .movie-tvc-storyboard-settings i {
    color: #16181d;
}

body.experience-night .movie-tvc-storyboard-settings i {
    color: var(--primary);
}

.movie-tvc-storyboard-settings b {
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
}

.movie-tvc-storyboard-settings small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}

.movie-tvc-storyboard-scenes {
    margin-top: 16px;
    padding: 18px 20px;
}

.movie-tvc-storyboard-scenes > .movie-fashion-scenes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 40px;
    margin-top: 16px;
}

.movie-tvc-storyboard-scene {
    min-width: 0;
}

.movie-tvc-storyboard-scenes .movie-fashion-scenes > article {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    min-height: 80px;
    box-sizing: border-box;
}

.movie-tvc-storyboard-scene-thumb {
    display: grid;
    width: 80px;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    color: var(--primary);
    background: var(--tvc-storyboard-soft-bg);
}

.movie-tvc-storyboard-scene-thumb > span {
    font-size: 15px;
    font-weight: 400;
}

body.experience-day .movie-tvc-storyboard-scene-thumb {
    color: #16181d;
}

body.experience-night .movie-tvc-storyboard-scene-thumb {
    color: #fff;
}

.movie-tvc-storyboard-scene-body {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    flex-direction: column;
}

.movie-tvc-storyboard-scenes .movie-tvc-storyboard-scene-body > b {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--primary);
    background: rgba(var(--primary-rgb), .12);
    font-size: 13px;
    font-weight: 500;
}

.movie-tvc-storyboard-scenes .movie-tvc-storyboard-scene-body > p {
    margin: 12px 0 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65;
    outline: 0;
}

.movie-tvc-storyboard-scenes .movie-tvc-storyboard-scene-body > p.is-editing {
    display: block;
    padding: 6px 8px;
    overflow: visible;
    border: 1px solid var(--primary);
    cursor: text;
    -webkit-line-clamp: unset;
}

body.experience-day .movie-tvc-storyboard-scenes .movie-tvc-storyboard-scene-body > p.is-editing {
    border-color: rgba(0, 0, 0, .22);
}

body.experience-night .movie-tvc-storyboard-scenes .movie-tvc-storyboard-scene-body > p.is-editing {
    border-color: rgba(255, 255, 255, .28);
}

.movie-tvc-storyboard-content > footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 16px;
}

.movie-tvc-storyboard-content > footer .movie-tvc-storyboard-model {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
}

.movie-tvc-storyboard-content > footer .movie-tvc-storyboard-model > span {
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
}

.movie-tvc-storyboard-content > footer .movie-tvc-storyboard-model > div {
    margin: 0;
}

.movie-tvc-storyboard-content > footer .movie-tvc-storyboard-model img {
    width: 50px;
    height: 50px;
}

.movie-tvc-storyboard-content > footer .movie-tvc-storyboard-model strong {
    font-size: 14px;
}

.movie-tvc-storyboard-content > footer .movie-tvc-storyboard-model small {
    margin-top: 3px;
    font-size: 12px;
}

.movie-tvc-storyboard-content > footer .movie-tvc-storyboard-model em {
    display: none;
}

.movie-tvc-storyboard-content > footer .btn-primary {
    display: inline-flex;
    min-width: 230px;
    height: 50px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 9px;
    background: var(--primary);
    color: #18171d;
    font-size: 16px;
}

.movie-tvc-storyboard-content > footer .btn-primary img {
    width: 18px;
    height: 18px;
}

.movie-tvc-storyboard-content > footer .btn-primary b {
    font-weight: 400;
}

@media (max-width: 2480px) {
    .movie-tvc-storyboard-summary,
    .movie-tvc-storyboard-scenes > .movie-fashion-scenes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1600px) {
    .movie-tvc-storyboard-summary,
    .movie-tvc-storyboard-scenes > .movie-fashion-scenes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1280px) {
    .movie-tvc-storyboard-summary,
    .movie-tvc-storyboard-scenes > .movie-fashion-scenes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .movie-tvc-storyboard-summary,
    .movie-tvc-storyboard-scenes > .movie-fashion-scenes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .movie-tvc-storyboard-summary,
    .movie-tvc-storyboard-scenes > .movie-fashion-scenes {
        grid-template-columns: 1fr;
    }

    .movie-tvc-storyboard-content > footer {
        align-items: stretch;
        flex-direction: column;
    }

}

@media (max-width: 700px) {
    .movie-tvc-storyboard-review {
        padding: 15px;
    }

    .movie-tvc-storyboard-summary,
    .movie-tvc-storyboard-scenes > .movie-fashion-scenes {
        grid-template-columns: 1fr;
    }

    .movie-tvc-storyboard-content > header {
        align-items: flex-start;
        flex-direction: column;
    }

    .movie-tvc-storyboard-content > footer .btn-primary {
        width: 100%;
    }
}

.movie-fashion-storyboard {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.movie-fashion-storyboard[hidden] {
    display: none;
}

.movie-fashion-storyboard > section {
    padding: 13px 14px;
    border-radius: 9px;
    background: var(--panel);
}

.movie-fashion-storyboard > section > span {
    display: block;
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 400;
}

.movie-fashion-storyboard > section > p,
.movie-fashion-scenes p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.65;
    white-space: pre-line;
}

.movie-fashion-scenes {
    display: grid;
    gap: 9px;
}

.movie-fashion-scenes p {
    display: flex;
    align-items: start;
    gap: 9px;
}

.movie-fashion-scenes b {
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .13);
    color: var(--primary);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
}

.movie-fashion-scenes p > span {
    min-width: 0;
    width: 100%;
}

.movie-storyboard-expandable {
    overflow: hidden;
    cursor: pointer;
    -webkit-box-orient: vertical;
}

.movie-storyboard-expandable.is-two-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.movie-storyboard-expandable.is-one-line {
    display: -webkit-box;
    -webkit-line-clamp: 1;
}

.movie-storyboard-expandable.is-expanded {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.movie-card footer {
    bottom: 0;
}

.movie-card-private {
    display: none;
}

.movie-card.is-private .movie-card-private {
    display: grid;
}

.movie-card.is-generating footer,
.movie-card.is-failed footer {
    bottom: 0;
}

.movie-ratio-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
}

.movie-ratio-heading small {
    font-size: 12px;
    font-weight: 300;
}

.movie-ratio-heading b {
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
}

@media (max-width: 720px) {
    .pictorial-option-grid {
        grid-template-columns: 1fr;
    }

.choice-buttons.fluid.pictorial-ratio-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

}

/* Chat uses the same workspace/panel frame as MODEL and FEED. */
.chat-page .chat-content {
    height: auto;
    min-height: 100vh;
    padding: 0;
    overflow: visible;
}

.chat-workspace,
.chat-panels,
.chat-main-wrap {
    height: auto;
    min-height: 100vh;
}

.chat-panels {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
}

.chat-main-wrap {
    position: relative;
    grid-column: 2;
    min-width: 0;
}

.chat-page .chat-conversation.model-list-section {
    display: block;
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 48px 0;
    border: 0;
    overflow: visible;
}

.chat-page .chat-message-list {
    min-height: calc(100vh - 235px);
    padding: 0;
    overflow: visible;
}

.chat-page .chat-composer {
    position: sticky;
    bottom: 48px;
    z-index: 20;
    margin: 0;
}

.chat-head-model {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}

.chat-head-model > img {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    object-position: top center;
}

.chat-head-model > span,
.chat-head-model strong,
.chat-head-model em {
    display: block;
    min-width: 0;
}

.chat-head-model strong {
    font-size: 14px;
}

.chat-head-model em {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.chat-head-model small {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: #72d795;
    font-size: 12px;
}

.chat-head-model small i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #66dc8f;
}

.chat-message.is-model > img[role="button"] {
    cursor: pointer;
}

@media (max-width: 1280px) {
    .chat-page .chat-content {
        height: auto;
        min-height: calc(100dvh - 75px);
    }

    .chat-panels {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .chat-main-wrap {
        grid-column: 1;
        height: auto;
        min-height: calc(100dvh - 75px);
    }

    .chat-page .chat-usage-card {
        display: block;
        flex: 0 0 auto;
        margin-top: 16px;
    }

    .chat-page .chat-conversation.model-list-section {
        height: auto;
        min-height: calc(100dvh - 75px);
        border: 0;
    }

    .chat-page .chat-composer {
        bottom: 48px;
    }

    .chat-page .chat-message-list {
        min-height: calc(100dvh - 260px);
    }
}

@media (max-width: 900px) {
    .chat-page.is-conversation-open .chat-conversation.model-list-section,
    .chat-page .chat-conversation.model-list-section:not([hidden]) {
        position: static;
        inset: auto;
        display: block;
        width: 100%;
        height: auto;
    }

    .chat-page .chat-composer {
        display: block;
        visibility: visible;
    }
}

.chat-profile-actions {
    grid-template-columns: 1fr;
}

.chat-profile .chat-model-guide dl,
.chat-profile .chat-model-guide dl div {
    margin: 0;
}

.chat-profile .chat-model-guide dl div {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin-top: 10px;
}

.chat-profile .chat-model-guide dt {
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
}

.chat-profile .chat-model-guide dd {
    height: auto;
    margin: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, .88);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.45;
    word-break: keep-all;
}

.chat-profile .chat-model-guide > p {
    margin: 16px 0 0 !important;
    color: var(--muted) !important;
    line-height: 1.55;
}

/* Public FEED */

.feed-side-section {
    padding: 0px 0;
    border-top: 0px solid rgba(255, 255, 255, .07);
    margin-bottom: 28px;
}

.feed-side-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 400;
}

.feed-side-heading strong {
    font: inherit;
}

.feed-side-heading button,
.feed-side-heading span,
.feed-side-heading a {
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    text-decoration: none;
}

.choice-buttons.fluid.publication-ratio-filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feed-side-heading button {
    cursor: pointer;
}

.feed-side-section select,
.feed-stream-controls select {
    width: 100%;
    height: 40px;
    padding: 0 34px 0 12px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 8px;
    outline: 0;
    background: var(--panel) url("../image/svg/down.svg") right 10px center/16px no-repeat;
    color: #fff;
    font: 300 12px/1 var(--font-ko);
    appearance: none;
}

.auth-check.feed-public-check,
.auth-check.feed-private-check,
.auth-check.feed-model-scope-check {
    display: inline-flex !important;
    width: fit-content;
    margin: 0;
    font-size: 13px;
    font-weight: 300;
}

.auth-check.feed-public-check + .auth-check.feed-private-check {
    margin: 0 0 0 15px;
}

.auth-check.feed-model-scope-check + .auth-check.feed-model-scope-check {
    margin-left: 0;
}

.feed-model-scope-options {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 15px;
    margin-top: 25px;
    white-space: nowrap;
}

.feed-private-check {
    opacity: 1;
}

.feed-popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.feed-popular-tags button,
.feed-popular-tags > span {
    padding: 7px 9px;
    border: 0;
    border-radius: 7px;
    background: rgba(255, 255, 255, .045);
    color: #aaaab2;
    font-size: 12px;
    font-weight: 300;
}

.feed-popular-tags button {
    cursor: pointer;
    transition: color var(--transition-base), background var(--transition-base);
}

.feed-popular-tags button:hover {
    background: rgba(var(--primary-rgb), .12);
    color: var(--primary);
}

.feed-model-filter-group + .feed-model-filter-group {
    margin-top: 15px;
}

.choice-buttons.fluid.feed-model-filter-tags {
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-buttons.fluid.publication-content-type-filter {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-buttons.fluid.feed-model-filter-tags b {
    height: 35px;
}

.feed-sort-dropdown {
    width: 120px;
}

.feed-view-toggle {
    display: flex;
    align-items: center;
}

.feed-view-toggle {
    gap: 6px;
}

.feed-view-toggle button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, .55);
    line-height: 0;
    cursor: pointer;
    transition: color var(--transition-base), background var(--transition-base);
}

.feed-view-toggle svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
}

.feed-view-toggle button:hover,
.feed-view-toggle button.is-active {
    color: #fff;
}

.feed-view-toggle button.is-active {
    background: rgba(var(--primary-rgb), .14);
}


.feed-stream-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.feed-admin-cron {
    display: grid;
    place-items: center;
    gap: 8px;
    margin: 28px 0 0;
}

.feed-admin-cron > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.feed-admin-cron button {
    position: relative;
    display: grid;
    width: 40px;
    min-width: 0;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    background-color: transparent;
    opacity: 0.4
}

.feed-admin-cron button:hover {opacity: 1;}

.feed-admin-cron button svg {
    width: 18px;
    height: 18px;
    fill: none;
}

.feed-admin-cron button.is-loading {
    color: transparent;
    pointer-events: none;
}

.feed-admin-cron button.is-loading svg {
    opacity: 0;
}

.feed-admin-cron button.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: feedAdminSpin .8s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes feedAdminSpin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.feed-admin-cron > span {
    min-height: 14px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 300;
}

.feed-stream-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    opacity: 1;
    transform: translateY(0);
    transition: opacity .42s ease var(--feed-delay), transform .42s ease var(--feed-delay), border-color var(--transition-base);
}

.feed-stream-card.is-entering {
    opacity: 0;
    transform: translateY(22px);
}

.feed-stream-card.is-menu-open,
[data-home-feed-id].is-menu-open {
    z-index: 20;
    overflow: visible;
}

.feed-stream-card:hover {
    border-color: rgba(var(--primary-rgb), .65);
}

.feed-stream-card.is-text-only {
    grid-column: 1 / -1;
    display: flex;
    min-height: 190px;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
}

.feed-stream-card.is-text-only .feed-card-open {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.feed-stream-card.is-text-only .feed-card-media {
    display: none;
}

.feed-stream-card.is-text-only .feed-card-author {
    padding: 16px 0px 8px;
}

.feed-stream-card.is-text-only .feed-card-copy {
    max-width: 820px;
    padding: 8px 18px 20px;
}

.feed-stream-card.is-text-only .feed-card-copy > b {
    font-size: 16px;
}

.feed-stream-card.is-text-only .feed-card-copy p {
    display: -webkit-box;
    min-height: 0;
    margin-bottom: 12px;
    color: #d0d0d6;
    font-size: 18px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.feed-stream-card.is-text-only footer {
    margin-top: auto;
}

.feed-card-open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.feed-card-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #090a0d;
}

.feed-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 18px 18px;
    transition: background-color var(--transition-base);
}

.feed-stream-card:hover .feed-card-media::after {
    background-color: rgba(0, 0, 0, .14);
}

.feed-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .4s ease;
}

.feed-stream-card:hover .feed-card-media img {
    transform: scale(1.018);
}

.feed-private-lock {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 20px;
    height: 20px;
    color: var(--primary);
    font-style: normal;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity var(--transition-base);
}

.feed-private-lock svg {
    display: block;
    width: 100%;
    height: 100%;
}

.feed-private-lock .is-locked-icon,
.feed-stream-card.is-locked .feed-private-lock .is-open-icon {
    display: none;
}

.feed-stream-card.is-locked .feed-private-lock .is-locked-icon {
    display: block;
}

.feed-stream-card.is-private .feed-card-media::after {
    background-color: rgba(0, 0, 0, .46);
}

.feed-stream-card.is-private .feed-card-media::before {
    content: "19";
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    font: 500 12px/1 var(--font-en);
    pointer-events: none;
}

.feed-stream-card.is-private .feed-private-lock {
    display: block;
}

.feed-stream-card.is-locked .feed-card-media img {
    transform: none;
}

.feed-card-author {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 13px 8px;
}

.feed-card-author > img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.feed-card-author > span {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.feed-card-author strong,
.feed-card-copy > b {
    overflow: hidden;
    font-size: 13px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-card-author small {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-card-author i {
    margin-left: auto;
    font-style: normal;
}

.feed-more-icon {
    display: grid;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #fff;
    opacity: .35;
    cursor: pointer;
    transition: opacity .18s ease;
}

.feed-more-icon:hover {
    opacity: 1;
}

.feed-more-icon svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
}

.feed-more-icon path {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.feed-card-menu {
    position: absolute;
    right: 12px;
    z-index: 8;
    display: grid;
    min-width: 104px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 7px;
    background: #18181f;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .38);
}

.feed-card-menu[hidden] {
    display: none;
}

.feed-card-menu button {
    height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}

.feed-card-menu button:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.feed-card-menu button.is-delete {
    color: var(--primary);
}

button.is-delete[data-review-delete] {
    font: 400 12px/1 var(--font-ko) !important;
}

.feed-card-copy {
    display: block;
    padding: 4px 13px 13px;
}

.feed-card-copy > b {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.feed-card-copy p {
    display: -webkit-box;
    min-height: 38px;
    margin: 0 0 10px;
    overflow: hidden;
    color: #aaaab2;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.feed-model-mention {
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
}

.feed-model-mention:hover {
    text-decoration: underline;
}

.feed-card-copy small {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-stream-card footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.feed-stream-card footer button,
.feed-stream-card footer > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}

.feed-stream-card footer button {
    cursor: pointer;
}

.feed-stream-card footer button > span {
    display: inline-flex;
    font-size: 18px;
    line-height: 1;
}

.feed-stream-card footer button svg {
    width: 14px;
    height: 14px;
}

.feed-stream-card footer button.is-active,
.feed-stream-card footer button.is-active > span {
    color: var(--primary);
}

.feed-stream-card footer > span {
    margin-left: auto;
}

.feed-stream-grid.is-list-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feed-stream-grid.is-list-view .feed-stream-card {
    display: block;
}

.feed-stream-grid.is-list-view .feed-card-open {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
}

.feed-stream-grid.is-list-view .feed-card-media {
    grid-row: 1 / 3;
    height: 100%;
    min-height: 166px;
    aspect-ratio: auto;
}

.feed-stream-grid.is-list-view .feed-card-author,
.feed-stream-grid.is-list-view .feed-card-copy {
    grid-column: 2;
}

.feed-stream-grid.is-list-view .feed-stream-card.is-text-only {
    grid-column: 1 / -1;
}

.feed-stream-grid.is-list-view .feed-stream-card.is-text-only .feed-card-open {
    display: flex;
}

.feed-stream-grid.is-list-view .feed-stream-card footer {
    min-width: 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-left: 0;
}

/* Feed timeline and discovery panel */
.feed-page {
    --feed-layout-right-gap: 56px;
}

.feed-page .content.model-content {
    margin-right: calc(var(--feed-layout-right-gap) * -1);
    padding: 0;
}

.feed-page .feed-main-wrap {
    --feed-discovery-width: min(400px, 42vw);
    display: flex;
    align-items: start;
    overflow-x: clip;
}

.feed-page .feed-stream-section {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 48px;
    padding-block: 48px;
}

.feed-stream-type-nav {
    position: sticky;
    top: 48px;
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.feed-stream-type-nav .feed-admin-cron {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    margin: 0 0 0 4px;
}

.feed-stream-type-nav .feed-admin-cron > div {
    flex-wrap: nowrap;
}

.feed-stream-type-nav .feed-admin-cron button {
    opacity: .7;
}

.feed-stream-type-nav .feed-admin-cron > span {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-stream-type-nav .feed-admin-cron > .feed-admin-cron-dropdown {
    width: 142px;
    overflow: visible;
}

.feed-stream-type-nav .feed-admin-cron .feed-admin-cron-dropdown > button {
    display: block;
    width: 100%;
    height: 38px;
    padding: 0 34px 0 14px;
    background: var(--panel);
    opacity: 1;
}

.feed-stream-type-nav .feed-admin-cron .feed-admin-cron-dropdown .dropdown-menu button {
    display: flex;
    width: 100%;
    height: 36px;
    padding: 0 12px;
    opacity: 1;
}

.feed-search-section {
    display: grid;
    gap: 10px;
}

.feed-search-section .feed-side-heading {
    margin-bottom: 2px;
}

.feed-side-search,
.feed-side-sort {
    width: 100%;
}

.feed-side-search input {
    height: 38px;
    background: rgba(255, 255, 255, .025);
}

.feed-side-sort > button {
    width: 100%;
}

.feed-stream-head {
    justify-content: flex-end;
}

.feed-page .feed-stream-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.feed-page .feed-stream-card,
.feed-page .feed-stream-card.is-text-only {
    grid-column: auto;
    display: block;
    min-height: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scroll-margin-top: 32px;
}

.feed-page .feed-stream-card:hover {
    border-color: transparent;
}

.feed-page .feed-stream-card:not(:last-child) {
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.feed-page .feed-card-open,
.feed-page .feed-stream-card.is-text-only .feed-card-open {
    display: flex;
    flex-direction: column;
    cursor: default;
}

.feed-page .feed-card-author,
.feed-page .feed-stream-card.is-text-only .feed-card-author {
    order: 1;
    padding: 17px 0px 10px;
}

.feed-page:not(.is-private-feed-mode) .feed-stream-card:first-child .feed-card-author {
    padding-top: 0;
}

.feed-page .feed-card-copy,
.feed-page .feed-stream-card.is-text-only .feed-card-copy {
    order: 2;
    width: 100%;
    max-width: none;
    padding: 4px 0px 19px;
}

.feed-page .feed-card-copy > b,
.feed-page .feed-stream-card.is-text-only .feed-card-copy > b {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.45;
    white-space: normal;
}

.feed-page .feed-card-copy p,
.feed-page .feed-stream-card.is-text-only .feed-card-copy p {
    display: block;
    min-height: 0;
    margin-bottom: 12px;
    overflow: visible;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.72;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    -webkit-line-clamp: unset;
}

.feed-page .feed-card-copy small {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    overflow: visible;
    white-space: normal;
}

.feed-page .feed-card-copy small > span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 10px;
    border: 0px solid rgba(255, 255, 255, .07);
    border-radius:6px;
    background: rgba(255, 255, 255, .055);
    color: #aaaab2;
    line-height: 1;
}

.feed-page .feed-card-media {
    order: 3;
    width: min(260px, calc(100% - 40px));
    aspect-ratio: 4 / 5;
    margin: 0 0px 8px;
    border: 0;
    border-radius: 9px;
    cursor: zoom-in;
}

.feed-page .feed-card-media:hover::after {
    background-color: rgba(0, 0, 0, .22);
    background-image: url("../image/svg/view.svg");
}

.feed-page:not(.is-private-feed-mode) .feed-stream-card:not(.is-text-only) .feed-card-open {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 100px;
    grid-template-areas:
        "author author"
        "copy media";
    column-gap: 16px;
    align-items: start;
}

.feed-page:not(.is-private-feed-mode) .feed-stream-card:not(.is-text-only) .feed-card-author {
    grid-area: author;
}

.feed-page:not(.is-private-feed-mode) .feed-stream-card:not(.is-text-only) .feed-card-copy {
    grid-area: copy;
    min-width: 0;
}

.feed-page:not(.is-private-feed-mode) .feed-stream-card:not(.is-text-only) .feed-card-media {
    grid-area: media;
    width: 100px;
    height: 100px;
    aspect-ratio: 1 / 1;
    margin: 4px 0 0;
}

.feed-page .feed-stream-card.is-private .feed-card-media:hover .feed-private-lock {
    opacity: 1;
}

.feed-page .feed-stream-card footer {
    padding: 10px 0px 0;
    border-top: 0;
}

.feed-page.is-private-feed-mode .feed-stream-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.feed-page.is-private-feed-mode .feed-stream-card,
.feed-page.is-private-feed-mode .feed-stream-card.is-text-only {
    grid-column: auto;
    display: block;
    min-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
}

.feed-page.is-private-feed-mode .feed-stream-card:not(:last-child) {
    padding-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.feed-page.is-private-feed-mode .feed-stream-card:hover {
    border-color: rgba(var(--primary-rgb), .65);
}

.feed-page.is-private-feed-mode .feed-stream-card {
    cursor: pointer;
}

.feed-page.is-private-feed-mode .feed-card-open,
.feed-page.is-private-feed-mode .feed-stream-card.is-text-only .feed-card-open {
    display: flex;
    flex-direction: column;
}

.feed-page.is-private-feed-mode .feed-card-media {
    order: 0;
    width: 100%;
    aspect-ratio: 1.32 / 1;
    margin: 0;
    border-radius: 0;
    cursor: pointer;
}

.feed-page.is-private-feed-mode .feed-card-media:hover::after {
    background-image: none;
}

.feed-page.is-private-feed-mode .feed-inline-comments {
    display: none !important;
}

.feed-page.is-private-feed-mode .feed-card-author,
.feed-page.is-private-feed-mode .feed-stream-card.is-text-only .feed-card-author {
    order: 1;
    padding: 12px 13px 8px;
}

.feed-page.is-private-feed-mode .feed-card-copy,
.feed-page.is-private-feed-mode .feed-stream-card.is-text-only .feed-card-copy {
    order: 2;
    padding: 4px 13px 13px;
}

.feed-page.is-private-feed-mode .feed-card-copy > b,
.feed-page.is-private-feed-mode .feed-stream-card.is-text-only .feed-card-copy > b {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.feed-page.is-private-feed-mode .feed-card-copy p,
.feed-page.is-private-feed-mode .feed-stream-card.is-text-only .feed-card-copy p {
    display: -webkit-box;
    min-height: 38px;
    margin-bottom: 10px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.feed-page.is-private-feed-mode .feed-stream-card footer {
    padding: 11px 13px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.feed-discovery-open svg {
    width: 24px;
    height: 24px;
    fill: none;
}

.feed-discovery {
    position: sticky;
    top: 0;
    flex: 0 0 var(--feed-discovery-width);
    width: var(--feed-discovery-width);
    min-width: var(--feed-discovery-width);
    height: 100vh;
    margin-right: calc(var(--feed-discovery-width) * -1);
    overflow: hidden;
    padding: 48px;
    border-left: 1px solid transparent;
    pointer-events: none;
    transition: margin-right .36s ease, border-color .24s ease;
}

.feed-page.is-discovery-open .feed-discovery {
    margin-right: 0;
    border-left-color: rgba(255, 255, 255, .08);
    pointer-events: auto;
}

.feed-discovery-head,
.feed-discovery-title {
    display: flex;
    align-items: center;
}

.feed-discovery-head {
    gap: 7px;
    height: 34px;
    margin-bottom: 18px;
    white-space: nowrap;
}

.feed-discovery-head > strong {
    color: #fff;
    font-size: 18px;
}

.feed-discovery-close {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-left: auto;
    margin-right: -5px;
    border-radius: 50%;
    background: transparent;
    transition: background var(--transition-base);
}

.feed-discovery-close:hover,
.feed-discovery-close:focus-visible {
    background: rgba(255, 255, 255, .12);
}

.feed-discovery-close img {
    width: 24px;
    height: 24px;
    opacity: .76;
}

.feed-discovery-scroll {
    max-height: calc(100vh - 148px);
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.feed-discovery-scroll::-webkit-scrollbar {
    display: none;
}

.feed-discovery-section + .feed-discovery-section {
    margin-top: 30px;
}

.feed-discovery-title {
    gap: 8px;
    margin-bottom: 12px;
}

.feed-discovery-title strong {
    font-size: 14px;
    font-weight: 300;
}

.feed-discovery-title span {
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
}

.feed-discovery-comments,
.feed-discovery-feeds {
    display: grid;
    gap: 7px;
}

.feed-discovery-comments > p,
.feed-discovery-feeds > p {
    margin: 0;
    padding: 18px 0;
    color: var(--muted);
    font-size: 12px;
}

.feed-discovery-comment,
.feed-discovery-feed {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 0px;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    text-align: left;
    transition: background var(--transition-base);
}



.feed-discovery-feed > span {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.feed-discovery-feed strong {
    overflow: hidden;
    font-size: 13px;
    font-weight: 300;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-discovery-feed small {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-discovery-comment {
    display: grid;
    gap: 5px;
    padding: 10px 0px 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    border-radius: 0;
}

.feed-discovery-comment strong {
    overflow: hidden;
    font-size: 14px;
    font-weight: 300;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-discovery-comment p,
.feed-discovery-feed p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.feed-discovery-comment small {
    display: -webkit-box;
    overflow: hidden;
    color: #b9b9c0;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.feed-discovery-comment p {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-line-clamp: unset;
}

.feed-discovery-comment small {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    white-space: normal;
    -webkit-line-clamp: unset;
}

.feed-discovery-comment small > i {
    flex: 0 0 auto;
    font-style: normal;
}

.feed-discovery-comment small > img {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.feed-discovery-comment small > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-discovery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.feed-discovery-feed > img {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center top;
}

.feed-discovery-private-media {
    position: relative;
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    overflow: hidden;
    border-radius: 10px;
}

.feed-discovery-private-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.feed-discovery-feed.is-private .feed-discovery-private-media::before {
    content: "19";
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    font: 500 12px/1 var(--font-en);
}

.feed-discovery-feed.is-private .feed-private-lock {
    display: block;
}

.feed-discovery-feed.is-locked .feed-private-lock .is-open-icon {
    display: none;
}

.feed-discovery-feed.is-locked .feed-private-lock .is-locked-icon {
    display: block;
}

.feed-discovery-feed.is-text-only {
    min-height: 70px;
    padding-left: 0px;
    border: 0px solid rgba(255, 255, 255, .06);
}

@media (min-width: 1800px) {
    .feed-discovery-open,
    .feed-discovery-close {
        display: none;
    }

    .feed-page .feed-main-wrap {
        --feed-discovery-width: 400px;
    }

    .feed-page .feed-discovery {
        margin-right: 0;
        border-left-color: rgba(255, 255, 255, .08);
        pointer-events: auto;
    }
}

@media (min-width: 2250px) {
    .feed-page .feed-main-wrap {
        --feed-discovery-width: 768px;
    }

    .feed-discovery-scroll {
        display: block;
    }

    .feed-discovery-section + .feed-discovery-section {
        margin-top: 30px;
    }

    .feed-discovery-comments,
    .feed-discovery-feeds {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
    }
}

@media (max-width: 2249px) {
    .feed-discovery-feeds > .feed-discovery-feed:nth-child(n + 5) {
        display: none;
    }
}

@media (max-width: 1500px) {
    .feed-page .feed-main-wrap {
        overflow-x: visible;
    }

    .feed-page .feed-discovery {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 90;
        width: min(400px, 100vw);
        min-width: min(400px, 100vw);
        height: 100dvh;
        margin-right: 0;
        background: var(--bg);
        box-shadow: none;
        transform: translateX(100%);
        transition: transform .36s ease, border-color .24s ease;
    }

    .feed-page.is-discovery-open .feed-discovery {
        box-shadow: -8px 0 22px rgba(0, 0, 0, .16);
        transform: translateX(0);
    }

    .feed-discovery-scroll {
        max-height: calc(100dvh - 148px);
    }
}

@media (max-width: 1280px) {
    .feed-page {
        --feed-layout-right-gap: 32px;
    }

    .feed-page .feed-stream-section {
        margin-right: 32px;
        padding-block: 0;
    }

    .feed-stream-type-nav {
        top: 75px;
    }

    .feed-page .feed-discovery {
        top: 75px;
        height: calc(100dvh - 75px);
        padding: 32px;
    }

    .feed-discovery-scroll {
        max-height: calc(100dvh - 191px);
    }
}

@media (max-width: 768px) {
    .feed-page {
        --feed-layout-right-gap: 30px;
    }

    .feed-page .feed-stream-section {
        margin-right: 30px;
    }

    .feed-page .feed-discovery {
        padding: 30px;
    }

    .feed-discovery-scroll {
        max-height: calc(100dvh - 187px);
    }
}

@media (max-width: 512px) {
    .feed-page .feed-discovery {
        width: 300px;
        min-width: 300px;
    }
}

@media (max-width: 300px) {
    .feed-page .feed-discovery {
        width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 640px) {
    .feed-page .feed-stream-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .feed-page .feed-card-author,
    .feed-page .feed-stream-card.is-text-only .feed-card-author {
        padding: 15px 0px 9px;
    }

    .feed-page .feed-card-copy,
    .feed-page .feed-stream-card.is-text-only .feed-card-copy {
        padding: 3px 0px 16px;
    }

    .feed-page .feed-card-copy p,
    .feed-page .feed-stream-card.is-text-only .feed-card-copy p {
        font-size: 14px;
    }

    .feed-page .feed-card-media {
        width: min(220px, calc(100% - 32px));
        margin-right: 16px;
        margin-left: 16px;
    }

    .feed-page .feed-stream-card footer {
        padding-right: 16px;
        padding-left: 16px;
    }

    .feed-page .feed-discovery {
        padding: 30px;
    }
}

@media (min-width: 1800px) {
    .feed-stream-grid.is-list-view {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.feed-stream-loading,
.feed-stream-empty {
    place-items: center;
    min-height: 180px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 300;
    text-align: center;
}

.feed-stream-loading:not([hidden]),
.feed-stream-empty:not([hidden]) {
    display: grid;
}

[data-pictorial-empty][hidden],
[data-movie-empty][hidden] {
    display: none !important;
}

.feed-stream-loading i,
.feed-detail-loading i {
    width: 26px;
    height: 26px;
    border: 3px solid rgba(var(--primary-rgb), .18);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: modelSpin .8s linear infinite;
}

.feed-stream-empty small {
    display: block;
    margin-top: 8px;
    font-size: 14px;
}

.feed-load-sentinel {
    height: 2px;
}

.feed-detail-sheet {
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slide), transform var(--transition-slide);
}

.feed-detail-sheet.is-open {
    opacity: 1;
    pointer-events: auto;
}

.feed-detail-loading {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    background: rgba(8, 9, 12, .88);
}

.feed-detail-loading[hidden] {
    display: none;
}

.feed-detail-author {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 4px 0 25px;
}

.feed-detail-author > img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.feed-detail-author > div {
    display: grid;
    grid-template-columns: auto auto;
    gap: 3px 7px;
}

.feed-detail-author strong {
    font-size: 14px;
    font-weight: 400;
}

.feed-detail-author span,
.feed-detail-author small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}

.feed-detail-author small {
    grid-column: 1 / -1;
}

.feed-detail-author > em {
    margin-left: 0;
    margin-right: auto;
    padding: 5px 9px;
    border: 1px solid var(--primary);
    border-radius: 999px;
    color: var(--primary);
    font-size: 12px;
    font-style: normal;
}

.feed-detail-copy h2 {
    margin: 0 0 14px;
    font-size: 21px;
    font-weight: 400;
}

.feed-detail-copy p {
    margin: 0 0 18px;
    color: #bbbcc3;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    white-space: pre-wrap;
}

.feed-detail-sheet.is-text-only .feed-detail-copy p {
    color: #d0d0d6;
    font-size: 18px;
    line-height: 1.6;
}

.feed-detail-copy div[hidden] {
    display: none;
}

.feed-detail-copy div {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 300;
}

.feed-detail-image {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 10px;
    object-fit: cover;
    cursor: zoom-in;
}

.feed-detail-image[hidden] {
    display: none;
}

.feed-detail-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 17px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.feed-detail-actions button,
.feed-detail-actions > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 13px;
    font-weight: 300;
}

.feed-detail-actions button {
    cursor: pointer;
}

.feed-detail-actions button > span {
    display: inline-flex;
    color: var(--primary);
    font-size: 25px;
}

.feed-detail-actions button svg {
    width: 16px;
    height: 16px;
}

.feed-detail-actions button.is-active {
    color: var(--primary);
}

.feed-detail-actions .feed-detail-copy {
    margin-left: auto;
    color: rgba(255, 255, 255, .65);
}

.feed-detail-actions .feed-detail-copy:hover {
    color: #fff;
}

.feed-detail-comments {
    padding-top: 22px;
}

.feed-inline-comments {
    margin: 16px 0px 0;
}

.feed-inline-comments[hidden],
.feed-inline-comments-loading[hidden],
.feed-inline-likers[hidden],
.feed-inline-comments form[hidden] {
    display: none;
}

.feed-inline-comments-loading {
    display: grid;
    min-height: 58px;
    padding: 8px 0 14px;
    place-items: center;
}

.feed-inline-comments-loading .generation-status-spinner {
    width: 22px;
    height: 22px;
    border-color: rgba(var(--primary-rgb), .24);
    border-top-color: var(--primary);
}

.feed-inline-comments .feed-comment-list {
    gap: 32px;
}

.feed-inline-comments .feed-comment-thread {
    gap: 16px;
}

.feed-inline-likers {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.feed-inline-likers > span {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: 12px;
}

.feed-inline-likers > span b {
    color: var(--primary);
}

.feed-inline-likers > div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.feed-inline-likers > div::-webkit-scrollbar {
    display: none;
}

.feed-inline-liker {
    display: block;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.feed-inline-liker[role="button"] {
    cursor: pointer;
}

.feed-inline-liker img {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: inherit;
    object-fit: cover;
    object-position: center top;
}

.feed-detail-comments h3 {
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 400;
}

.feed-detail-comments h3 span {
    color: var(--primary);
}

.feed-comment-list {
    display: grid;
    gap: 34px;
    background: var(--panel);
    padding: 20px;
    border-radius: 10px;
}

.feed-comment-thread {
    display: grid;
    gap: 18px;
}

.feed-comment {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    margin-left: var(--comment-indent, 0);
}

.feed-comment.is-menu-open {
    z-index: 21;
}

.feed-comment.is-reply::before {
    content: "";
    position: absolute;
    top: 1px;
    left: -15px;
    width: 9px;
    height: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    border-left: 1px solid rgba(255, 255, 255, .14);
    border-radius: 0 0 0 7px;
}

.feed-comment > img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.feed-card-author > img[data-model-panel-id],
.feed-detail-author > img[data-model-panel-id],
.feed-comment > img[data-model-panel-id] {
    cursor: pointer;
}

.feed-comment header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.feed-comment strong {
    font-size: 12px;
    font-weight: 300;
}

.feed-comment header span,
.feed-comment header small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    opacity: 0.6;
}

.side-detail-scroll .feed-comment-list {background-color: transparent; padding: 0px; border-radius: 0px;}

.feed-comment-more {
    width: 22px;
    height: 22px;
    margin-left: auto;
}

.feed-comment-more svg {
    width: 18px;
    height: 18px;
}

.feed-comment-menu {
    top: 26px;
    right: 0;
}

.feed-comment p {
    margin: 0px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.4;
    white-space: pre-wrap;
}

.feed-comment p .feed-comment-lock {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin: -2px 5px 0 0;
    color: var(--primary);
    vertical-align: middle;
}

.feed-comment p .feed-comment-lock[hidden] {
    display: none;
}

.feed-comment-empty {
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.feed-detail-comments form,
.feed-inline-comments form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 8px;
    margin-top: 24px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 9px;
    background: rgba(255, 255, 255, .025);
}

.feed-comment-list > form.is-replying,
.feed-comment-thread > form.is-replying {
    width: auto;
    margin: 10px 0 14px var(--comment-indent, 0px);
}

.feed-detail-comments input,
.feed-inline-comments input {
    min-width: 0;
    padding: 0 8px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: 300 14px/1 var(--font-ko);
}

.feed-detail-comments form button,
.feed-inline-comments form button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .24);
    cursor: pointer;
}

.feed-detail-comments form button svg,
.feed-inline-comments form button svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 640px) {
    .feed-stream-grid {
        grid-template-columns: 1fr;
    }

    .feed-stream-grid.is-list-view {
        grid-template-columns: 1fr;
    }

    .feed-stream-grid.is-list-view .feed-card-open {
        grid-template-columns: 112px minmax(0, 1fr);
    }

}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/Pretendard/woff2/Pretendard-Regular.woff2') format('woff2'),
    url('../fonts/Pretendard/woff/Pretendard-Regular.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/Pretendard/woff2/Pretendard-Bold.woff2') format('woff2'),
    url('../fonts/Pretendard/woff/Pretendard-Bold.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/Pretendard/woff2/Pretendard-Black.woff2') format('woff2'),
    url('../fonts/Pretendard/woff/Pretendard-Black.woff') format('woff');
  font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-ko: "Pretendard", sans-serif;
    --font-en: "Mont Heavy DEMO", "Pretendard", sans-serif;
    --bg: #18171D;
    --panel: #1f1f27;
    --panel-dark: #08090d;
    --text: #f3f3f5;
    --muted: #8a8a94;
    --line: #2b2b35;
    --primary: #E82A35;
    --primary-2: #E82A35;
    --primary-rgb: 232, 42, 53;
    --radius-sm: 8px;
    --radius-md: 12px;
    --transition-base: .18s ease;
    --transition-slide: .42s cubic-bezier(.22, 1, .36, 1);
    --btn-h: 44px;
    --side-left: 150px;
    --side-right: 300px;
    --gap: 80px;
    --model-card-w: 144px;
    --feed-card-w: 270px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ko);
}

body {
    overflow-y: auto;
    overflow-x: hidden;
    word-break: keep-all;
}

body.model-page-body {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--primary-rgb), .38) #07070a;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: #07070a;
}

*::-webkit-scrollbar-thumb {
    background: rgba(var(--primary-rgb), .38);
    border: 2px solid #07070a;
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--primary-rgb), .56);
}

*::-webkit-scrollbar-corner {
    background: #07070a;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    font: inherit;
    cursor: pointer;
}

input,
textarea,
select {
    font-family: var(--font-ko);
    font-weight: 300;
}

img {
    display: block;
    max-width: 100%;
    object-fit: cover;
}

:where(h1, h2, h3, h4, h5, h6, b, strong) {
    font-weight: normal;
}

.layout {
    display: grid;
    grid-template-columns: var(--side-left) minmax(0, 1fr) var(--side-right);
    grid-template-rows: auto 1fr;
    column-gap: var(--gap);
    row-gap: 0;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0 56px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    grid-column: 2 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-width: 0;
    min-height: 48px;
    padding-top: 48px;
    padding-bottom: 30px;
    background: var(--bg);
}

.top-search {
    flex: 1;
    max-width: 420px;
}

.top-search input {
    width: 100%;
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--panel);
    color: #fff;
    font: 400 14px/1 var(--font-ko);
    outline: none;
}

.top-search input::placeholder {
    color: var(--muted);
}

.top-user {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: 16px;
    white-space: nowrap;
}

.theme-picker {
    position: relative;
}

.theme-current {
    display: block;
    width: 22px;
    height: 22px;
    border: 3px solid #282833;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 1px rgba(var(--primary-rgb), .75);
}

.theme-palette {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    z-index: 30;
    display: none;
    grid-template-columns: repeat(4, 24px);
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: #0b0c11;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
}

.theme-picker.is-open .theme-palette {
    display: grid;
}

.theme-palette button {
    width: 24px;
    height: 24px;
    border: 2px solid #252631;
    border-radius: 50%;
    background: var(--swatch);
}

.theme-palette button.is-active {
    border-color: #fff;
}

.top-alert,
.top-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    color: #fff;
}

.top-alert {
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--panel);
}

.top-alert img {
    width: 20px;
    height: 20px;
}

.top-credit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(var(--primary-rgb), .75);
    border-radius: 999px;
    background: rgba(8, 9, 13, .72);
    color: #d9d9df;
    font-weight: 400;
}

.top-credit i {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font: 500 16px/1 var(--font-en);
    font-style: normal;
}

.top-profile {
    gap: 12px;
    color: #d9d9df;
    font-size: 16px;
}

.top-profile img:first-child {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.top-profile img:last-child {
    width: 18px;
    height: 18px;
    opacity: .75;
}

.left-panel {
    grid-row: 1 / span 2;
}

.sidebar {
    position: sticky;
    top: 0px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 48px 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.side-menu-toggle {
    display: none;
}

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

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

.nav-close {
    display: none;
}

.brand img {
    width: 65px;
    margin-bottom: 24px;
}

.brand strong {
    display: block;
    margin-bottom: 16px;
    font: 500 18px/0.9 var(--font-en);
    letter-spacing: 0px;
    line-height: 1;
}

.brand strong i {
    color: var(--primary);
    font-style: normal;
}

.brand .brand-title,
.mobile-nav-brand .brand-title,
.auth-brand .brand-title {
    display: flex;
    align-items: center;
    gap: 0;
}

.brand .brand-title,
.mobile-nav-brand .brand-title {
    margin-bottom: 16px;
}

.brand .brand-title strong,
.mobile-nav-brand .brand-title strong {
    margin-bottom: 0;
}

.brand-beta {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--primary);
    color: #111;
    font: 500 10px/1 var(--font-en);
    letter-spacing: .02em;
    vertical-align: middle;
}

.brand span {
    display: block;
    color: var(--muted);
    font: 300 12px/1.1 var(--font-ko);
}

.nav {
    margin-top: 100px;
    display: grid;
    gap: 22px;
    font: 500 16px/1 var(--font-en);
}

.nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color var(--transition-base);
}

.nav-group summary {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    cursor: pointer;
    transition: color var(--transition-base);
}

.nav-group summary::-webkit-details-marker {
    display: none;
}

.nav-group summary > i {
    position: relative;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-left: 0;
    margin-right: 0;
}

.nav-group summary > i::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 6px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: translate(-50%, -50%) rotate(0deg);
    transform-origin: center;
    transition: transform var(--transition-base);
}

.nav-group[open] summary > i::before {
    transform: translate(-50%, -50%) rotate(180deg);
}

.nav-section-title {
    display: block;
    margin-bottom:5px;
    color: var(--muted);
    font: 300 12px/1 var(--font-ko);
}

.nav-section-title.is-separated {
    margin-top: 18px;
}

.private19-nav-badge {
    display: inline-grid;
    place-items: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    font: 500 12px/1 var(--font-en);
    font-style: normal;
}

.nav-submenu {
    display: grid;
    gap: 10px;
    padding: 14px 0 0 14px;
    font: 300 13px/1.2 var(--font-ko);
    color:var(--muted);
}

.nav-group summary:hover {
    color: var(--primary);
}


.nav .is-active {
    color: var(--primary);
}

.nav a:hover {
    color: var(--primary);
}

.nav-submenu a:hover {
    color: var(--text);
}

.nav-submenu a.is-active {
    color: var(--text);
}

.nav-hot-label {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
    padding: 3px 6px;
    border-radius: 999px;
    background: #ff334b;
    color: #000;
    font: 400 12px/1 var(--font-en);
    vertical-align: middle;
}

.badge {
    min-width: 28px;
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font: 500 12px/1 var(--font-en);
    text-align: center;
}

.content {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    padding-bottom: 64px;
}

.feed-page {
    grid-template-rows: 1fr;
}

.feed-page .content {
    grid-row: 1;
    padding-top: 48px;
}

.feed-page .right-panel {
    grid-row: 1;
    top: 48px;
    height: calc(100vh - 48px);
}

.right-panel {
    grid-column: 3;
    grid-row: 2;
    top: 126px;
    height: calc(100vh - 116px);
    padding-top: 0;
}

.hero {
    position: relative;
    min-height: 180px;
    border-radius: var(--radius-sm);
    overflow: visible;
    background: #000;
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero div {
    position: relative;
    padding: 36px 48px;
}

.hero p {
    margin: 0 0 8px;
    color: var(--muted);
    font-weight: 400;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 400;
}

.hero strong {
    font-size: 20px;
    line-height: 1.35;
}

.hero span {
    color: var(--primary);
}

.section-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    margin: 38px 0 20px;
}

.section-head h2,
.right-panel h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
}
.side-title h2 {margin-bottom: 5px;}
.section-head p,
.section-head a,
.side-title p,
.rank-title span,
.today {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 300;
}

.section-head div {
    display: flex;
    align-items: center;
    gap: 30px;
}

.model-swiper {
    width: 100%;
}

.model-card {
    position: relative;
    width: var(--model-card-w);
    height: 285px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--panel);
}

.model-swiper .model-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.model-swiper .model-card:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 100%;
    background: linear-gradient(transparent, rgba(30, 30, 38, .50));
}

.model-swiper .model-card b,
.model-swiper .model-card span,
.model-swiper .model-card i {
    position: absolute;
    z-index: 1;
    left: 18px;
}

.model-swiper .model-card b {
    bottom: 29px;
    color: #fff;
    font-size: 14px;
}

.model-swiper .model-card span {
    right: 14px;
    bottom: 13px;
    display: block;
    overflow: hidden;
    color: #d5d5da;
    font: 300 12px/1 var(--font-ko);
    opacity: 0.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.model-swiper .model-card b {
    right: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.model-swiper .model-card {
    cursor: pointer;
}

.model-swiper .model-card::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 32px;
    height: 32px;
    background: url("../image/svg/view.svg") center / 18px 18px no-repeat;
    opacity: 0;
    transform: translate(-50%, calc(-50% - 3px));
    transition: opacity .22s ease, transform .22s ease;
}

.model-swiper .model-card img {
    transition: filter .24s ease;
}

.model-swiper .model-card:hover img,
.model-swiper .model-card:focus-visible img {
    filter: brightness(.72);
}

.model-swiper .model-card:hover::before,
.model-swiper .model-card:focus-visible::before {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.model-swiper .model-card i {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-style: normal;
    font-size: 28px;
}

.model-swiper .model-card.is-locked img {
    opacity: .32;
    filter: grayscale(.5);
}

.feed-head {
    grid-template-columns: auto 1fr auto;
}

.section-head .tabs {
    display: flex;
    gap:10px;
}

.tabs {
    flex-wrap: wrap;
}

.tabs button {
    height: 34px;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--muted);
    font-weight: 400;
    font-size: 14px;
    padding: 0px 15px;
}

.tabs .is-active {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.feed-swiper {
    width: 100%;
}

.home-publication-panels,
.home-publication-swiper {
    width: 100%;
    min-width: 0;
}

.home-publication-swiper[hidden] {
    display: none;
}

.home-publication-card {
    flex: 0 0 var(--feed-card-w);
    width: var(--feed-card-w);
}

.publication-content-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border: 0px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(13, 14, 19, .78);
    color: #d9dae0;
    font-size: 12px;
    font-weight: 300;
    line-height: 1;
    pointer-events: none;
}

.home-publication-type-icon {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: block;
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.home-publication-type-icon svg {
    display: none;
}

.home-publication-type-icon::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: transparent url('../image/svg/content-image.svg') center / contain no-repeat;
}

.home-publication-card.movie-card .home-publication-type-icon::before {
    background-image: url('../image/svg/content-video.svg');
}

.home-publication-head h2 {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.feed-card {
    position: relative;
    width: var(--feed-card-w);
    cursor: pointer;
}

.feed-swiper .feed-card[hidden] {
    display: none !important;
}

.feed-card.is-private::before {
    content: "19";
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    font: 500 12px/1 var(--font-en);
    pointer-events: none;
}

.feed-card > img {
    width: 100%;
    aspect-ratio: 1.32 / 1;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.home-feed-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1.32 / 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.home-feed-media > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feed-card.is-private .home-feed-media .feed-private-lock {
    display: block;
}

.feed-card.is-locked .home-feed-media .feed-private-lock .is-open-icon {
    display: none;
}

.feed-card.is-locked .home-feed-media .feed-private-lock {
    background: url("../image/svg/private-lock.svg") center/100% 100% no-repeat;
}

.meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
}

.meta img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.meta b {
    font-size: 14px;
    line-height: 1.25;
}

.meta span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}

.meta em {
    margin-left: auto;
    font-style: normal;
}

.feed-card h3 {
    display: flex;
    gap: 12px;
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.35;
}

.feed-card h3 span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.feed-card h3 span svg {
    width: 16px;
    height: 16px;
}

.feed-card p {
    display: -webkit-box;
    min-height: auto;
    margin: 0 0 18px;
    color: #a2a2aa;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 300;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.feed-card small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.feed-comments {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.feed-comments span {
    display: flex;
    flex: 0 0 auto;
}

.feed-comments img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--bg);
    object-fit: cover;
    object-position: center top;
}

.feed-comments img + img {
    margin-left: -9px;
}

.feed-comments p {
    display: block;
    max-width: 70%;
    min-height: 0;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-comments .feed-comment-count {
    flex: 0 0 auto;
    margin-left: -6px;
    color: var(--primary);
    font: 500 14px/1 var(--font-en);
    font-style: normal;
    white-space: nowrap;
}

.activity-history {
    margin-top: 44px;
    padding: 28px 34px 24px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #0d1018, #08090d);
    overflow: hidden;
}

.activity-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.activity-top h2 {
    margin: 0;
    font-size: 20px;
}

.activity-top i {
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
}

.activity-top p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}

.activity-body {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.activity-score {
    display: grid;
    justify-items: center;
}

.score-ring {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .03);
}

.score-ring strong {
    font-family: var(--font-en);
    font-size: 30px;
}

.score-ring span {
    color: var(--muted);
    font-size: 12px;
}

.activity-score p {
    display: flex;
    gap: 10px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.activity-score em {
    color: #4bdd80;
    font-style: normal;
}

.activity-score em.is-down {
    color: var(--primary);
}

.activity-chart {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 206px;
    padding: 0 0 28px 48px;
    overflow: visible;
}

.chart-grid {
    position: absolute;
    inset: 0 0 28px 0;
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    color: var(--muted);
    font-size: 12px;
}

.chart-grid:before {
    content: "";
    position: absolute;
    inset: 0;
    margin-left: 48px;
    background: repeating-linear-gradient(to bottom, rgba(255,255,255,.07) 0 1px, transparent 1px 37px);
}

.chart-grid span {
    position: relative;
}

.activity-chart svg {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 178px;
    overflow: visible;
    pointer-events: none;
}

.activity-chart .fill {
    fill: url(#activityFill);
}

.activity-chart .line {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
}

.activity-chart circle {
    r: 5;
    fill: var(--primary);
    display: none;
}

.activity-chart circle.hot {
    r: 7;
    fill: var(--primary);
    stroke: #ffd2d6;
    stroke-width: 3;
}

.activity-points {
    position: absolute;
    top: 0;
    right: 0;
    left: 48px;
    height: 178px;
    z-index: 3;
}

.activity-points button {
    position: absolute;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    transform: translate(-50%, -50%);
}

.activity-points button:hover,
.activity-points button:focus-visible {
    z-index: 10;
}

.activity-points button:after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: 9px;
    border-radius: 50%;
    background: var(--primary);
}

.activity-points button.hot:after {
    width: 12px;
    height: 12px;
    margin: 8px;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 210, 214, .9);
}

.activity-points span {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: 260px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: rgba(8, 9, 13, .96);
    color: #d7d7dc;
    font-size: 12px;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .32), inset 0 0 0 1px rgba(255,255,255,.08);
}

.activity-points img {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.activity-points button:hover span,
.activity-points button:focus-visible span {
    opacity: 1;
    transform: translate(-50%, 0);
}

.activity-points button:first-child span {
    left: 0;
    transform: translate(0, 8px);
}

.activity-points button:first-child:hover span,
.activity-points button:first-child:focus-visible span {
    transform: translate(0, 0);
}

.activity-points button:last-child span {
    left: auto;
    right: 0;
    transform: translate(0, 8px);
}

.activity-points button:last-child:hover span,
.activity-points button:last-child:focus-visible span {
    transform: translate(0, 0);
}

.chart-dates {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 12px;
}

.bottom-area {
    display: grid;
    grid-template-columns: minmax(260px, .55fr) minmax(420px, 1fr);
    gap: 28px;
    margin-top: 54px;
}

.notice {
    display: grid;
    min-width: 0;
    gap: 22px;
}

.notice > a {
    display: block;
    min-width: 0;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.notice article,
.memory {
    border-radius: var(--radius-sm);
    background: var(--panel-dark);
    overflow: hidden;
}

.notice article {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    min-height: 112px;
    padding: 32px 42px;
    position: relative;
}

.notice h3,
.memory h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.notice h3 {
    padding-right: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice span {
    color: var(--primary);
}

.notice p,
.memory p {
    margin: 0;
    color: var(--muted);
    font-weight: 400;
    line-height: 1.55;
}

.notice img {
    position: absolute;
    right: 34px;
    top: 50%;
    width: 24px;
    transform: translateY(-50%);
}

.memory {
    background: linear-gradient(90deg, #06070a 0%, #06070a 48%, rgba(6, 7, 10, .45) 70%, rgba(6, 7, 10, 0) 100%), url("../image/ex/banner2.png") right center/cover no-repeat;
}

.memory div {
    padding: 32px 42px;
    max-width: 58%;
}

.memory a,
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--btn-h);
    margin-top: 28px;
    padding: 0 28px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #18171d;
    font-weight: 400;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .30);
    line-height: 100%;
}

.private {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: start;
}

.side-title h2 em {
    margin-left: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font: 500 12px/1 var(--font-en);
    font-style: normal;
    vertical-align: middle;
}

.btn-primary {
    height: 38px;
    margin: 0;
    padding: 0 26px;
}

.model-page {
    align-items: start;
    grid-template-rows: 1fr;
}

.model-content {
    grid-column: 2 / -1;
    grid-row: 1;
    display: block;
    height: auto;
    padding-top: 0;
    overflow: visible;
}

.model-page .right-panel {
    display: none;
}

.side-user {
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding-top: 38px;
}

.notification-head nav em {
    display: inline-grid;
    place-items: center;
    min-width: 19px;
    height: 19px;
    margin-left: auto;
    padding: 0 5px;
    border-radius: 999px;
    background: #f04444;
    color: #fff;
    font: 600 12px/1 var(--font-en);
    font-style: normal;
}

.notification-head nav em[data-notification-unread][hidden] {
    display: none;
}

.profile-menu {
    position: relative;
}

.side-user .top-profile {
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    overflow: visible;
}

.side-user .top-profile img:first-child {
    width: 38px;
    height: 38px;
}

.side-user .top-profile img:last-child {
    width: 20px;
    height: 20px;
    flex: 0 0 14px;
    opacity: .7;
}

.profile-layer {
    position: fixed;
    left: calc(var(--side-left) + var(--gap));
    bottom: 48px;
    z-index: 10000;
    display: none;
    width: 248px;
    max-height: calc(100vh - 96px);
    padding: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-sm);
    background: #111117;
    box-shadow: 0 22px 54px rgba(0, 0, 0, .46);
}

.profile-menu.is-open .profile-layer {
    display: block;
}

.profile-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.profile-head > img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.profile-head > div {
    min-width: 0;
}

.profile-head > div > span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-head > em {
    white-space: nowrap;
}

.profile-head strong,
.profile-credit strong {
    color: var(--text);
    font-weight: 400;
}

.profile-head span,
.profile-head em,
.profile-credit > span {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.profile-credit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
    margin: 14px 0;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    background: var(--panel);
}

.profile-credit strong {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.profile-credit img {
    width: 15px;
    height: 15px;
}

.profile-membership {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: -8px 0 14px;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    background: var(--panel);
}

.profile-membership > span,
.profile-membership i {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.profile-membership strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.profile-membership b {
    color: var(--primary);
    font-size: 12px;
}

.profile-membership button {
    min-height: 24px;
    padding: 0 8px;
    border: 0;
    border-radius: 5px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
}

.profile-links {
    display: grid;
    gap: 2px;
}

.profile-links a,
.profile-links > button,
.profile-links .theme-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
    min-height: 38px;
    padding: 0 8px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    box-shadow: none;
    color: #b9bac4;
    font: 300 13px/1.2 var(--font-ko);
    text-align: left;
}

.profile-links a:hover,
.profile-links > button:hover,
.profile-links .theme-current:hover {
    background: rgba(255, 255, 255, .04);
    color: var(--text);
}

.profile-links a > img,
.profile-links > button > img,
.profile-links .theme-current > img {
    width: 13px;
    height: 13px;
    opacity: .55;
}

.profile-links em {
    margin-left: auto;
    margin-right: 8px;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--primary);
    color: #18171d;
    font: 500 12px/1 var(--font-en);
    font-style: normal;
}

.profile-links em.adult-verification-state {
    font-family: var(--font-ko);
}

.profile-links em.adult-verification-state.is-unverified {
    background: #3b3d47;
    color: #b9bac4;
}

.profile-links em.adult-verification-state.is-verified {
    background: var(--primary);
    color: #fff;
}
.profile-links em.adult-verification-state.is-pending { color:#d79720; background:rgba(215,151,32,.12); }

.manual-adult-root { z-index:10080; }
.manual-adult-modal { width:min(680px,calc(100vw - 32px)); max-height:calc(100vh - 48px); padding:34px; overflow-y:auto; background:var(--modal-bg,#111116); }
.manual-adult-modal > header { padding-right:30px; }
.manual-adult-modal > header small { color:var(--primary); font-size:12px; font-weight:400; letter-spacing:.12em; }
.manual-adult-modal > header h2 { margin:8px 0 7px; color:var(--text); font-size:24px; font-weight:400; }
.manual-adult-modal > header p { margin:0; color:var(--muted); font-size:13px; font-weight:300; line-height:1.6; }
.manual-adult-status { margin-top:20px; padding:13px 15px; border-radius:8px; color:var(--text); background:rgba(127,132,145,.1); font-size:13px; font-weight:300; line-height:1.55; }
.manual-adult-status.is-pending { color:#d79720; background:rgba(215,151,32,.1); }
.manual-adult-status.is-rejected { color:var(--primary); background:rgba(var(--primary-rgb),.09); }
.manual-adult-guide { display:grid; gap:12px; margin:24px 0 18px; padding:0; list-style:none; }
.manual-adult-guide li { display:grid; grid-template-columns:26px minmax(0,1fr); gap:10px; align-items:start; color:var(--muted); font-size:14px; font-weight:300; line-height:1.6; }
.manual-adult-guide li > b { display:grid; width:24px; height:24px; place-items:center; border-radius:50%; color:#fff; background:var(--primary); font-size:12px; font-weight:400; }
.manual-adult-guide strong { color:var(--text); font-weight:400; }
.manual-adult-guide em { display:block; margin-top:4px; color:var(--primary); font-size:12px; font-style:normal; overflow-wrap:anywhere; font-weight: 400}
.manual-adult-destroy { margin:0 0 18px; padding:13px 15px; border-left:3px solid var(--primary); color:var(--muted); background:rgba(var(--primary-rgb),.06); font-size:12px; font-weight:300; line-height:1.6; }
.manual-adult-destroy strong { color:var(--text); font-weight:400; }
.manual-adult-upload { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 72px; min-height:88px; padding:12px 14px; align-items:center; gap:12px; overflow:hidden; border:1px dashed rgba(127,132,145,.38); border-radius:10px; cursor:pointer; }
.manual-adult-upload input { position:absolute; inset:0; opacity:0; cursor:pointer; }
.manual-adult-upload span { min-width:0; }
.manual-adult-upload strong,.manual-adult-upload small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.manual-adult-upload strong { color:var(--text); font-size:13px; font-weight:400; }
.manual-adult-upload small { margin-top:6px; color:var(--muted); font-size:12px; font-weight:300; }
.manual-adult-upload img { width:72px; height:62px; object-fit:cover; border-radius:6px; background:rgba(127,132,145,.08); }
.manual-adult-upload img:not([src]) { visibility:hidden; }
.manual-adult-agree { align-items:flex-start; margin:16px 0 0; }
.manual-adult-agree > span { color:var(--muted); font-size:13px; font-weight:300; line-height:1.55; }
.manual-adult-message { min-height:18px; margin:0 0 8px; color:var(--primary); font-size:12px; font-weight:300; }
.manual-adult-modal .common-message-actions { justify-content:flex-start; margin-top:10px; padding:0; border:0; }
.manual-adult-modal .common-message-actions button { flex:0 0 auto; min-width:104px; }
.account-withdrawal-root { z-index:10085; }
.account-withdrawal-modal { width:min(640px,calc(100vw - 32px)); max-height:calc(100vh - 48px); padding:34px; overflow-y:auto; background:var(--modal-bg,#111116); }
.account-withdrawal-modal > header { padding-right:30px; }
.account-withdrawal-modal > header small { color:var(--primary); font-size:12px; font-weight:400; letter-spacing:.12em; }
.account-withdrawal-modal > header h2 { margin:8px 0 7px; color:var(--text); font-size:24px; font-weight:400; }
.account-withdrawal-modal > header p { margin:0; color:var(--muted); font-size:13px; font-weight:300; line-height:1.6; }
.account-withdrawal-notice { display:grid; gap:1px; margin:22px 0; padding:0; overflow:hidden; border-radius:9px; list-style:none; background:rgba(127,132,145,.14); }
.account-withdrawal-notice li { display:grid; grid-template-columns:128px minmax(0,1fr); gap:14px; padding:13px 15px; background:var(--modal-bg,#111116); font-size:12px; line-height:1.55; }
.account-withdrawal-notice strong { color:var(--text); font-weight:400; }
.account-withdrawal-notice span { color:var(--muted); font-weight:300; }
.account-withdrawal-field { display:grid; gap:8px; margin-bottom:15px; }
.account-withdrawal-field > span { color:var(--text); font-size:12px; font-weight:400; }
.account-withdrawal-field input,.account-withdrawal-field textarea { width:100%; color:var(--text); font-size:13px; font-weight:300; }
.account-withdrawal-field textarea { min-height:112px; resize:vertical; }
.account-withdrawal-agree { align-items:flex-start; margin:4px 0 12px; }
.account-withdrawal-agree > span { color:var(--muted); font-size:12px; font-weight:300; line-height:1.55; }
.account-withdrawal-message { min-height:18px; margin:0 0 8px; color:var(--primary); font-size:12px; font-weight:300; }
.account-withdrawal-modal .common-message-actions { justify-content:flex-start; margin-top:10px; padding:0; border:0; }
.account-withdrawal-modal .common-message-actions button { flex:0 0 auto; min-width:104px; }

@media (max-width:720px) {
    .manual-adult-modal { max-height:calc(100vh - 32px); padding:26px 20px 20px; }
    .manual-adult-modal > header h2 { font-size:21px; }
    .account-withdrawal-modal { max-height:calc(100vh - 32px); padding:26px 20px 20px; }
    .account-withdrawal-modal > header h2 { font-size:21px; }
    .account-withdrawal-notice li { grid-template-columns:1fr; gap:4px; }
}

.profile-links .logout {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.profile-links .theme-picker {
    position: static;
}

.profile-links .theme-palette {
    left: calc(100% + 8px);
    right: auto;
    top: 0;
    bottom: 0;
    z-index: 10002;
    grid-template-columns: 24px;
    align-content: start;
    height: 100%;
    min-height: 100%;
    padding: 16px 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-sm);
    background: #111117;
    box-shadow: 18px 22px 44px rgba(0, 0, 0, .32);
}

.modal-root {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none;
    align-items: center;
    justify-items: center;
    padding: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.modal-root::-webkit-scrollbar {
    display: none;
}

.modal-root.is-open {
    display: grid;
}

.modal-root[data-modal-root] {
    z-index: 22000;
}

.modal-root.mp-confirm-root {
    z-index: 22000;
}

.common-message-root {
    z-index: 21000;
}

.notification-root {
    position: fixed;
    left: calc(var(--side-left) + var(--gap));
    bottom: 48px;
    z-index: 20000;
    display: none;
    width: min(400px, calc(100vw - var(--side-left) - var(--gap) - 32px));
}
.notification-root.is-open { display: block; }
.notification-panel {
    position: relative;
    width: 100%;
    max-height: min(680px, calc(100vh - 96px));
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    background: rgba(17, 18, 26, .98);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .58);
}
.notification-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    background: rgba(17, 18, 26, .98);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.notification-head h2 { margin: 0; padding: 20px 22px 12px; color: #f0f0f3; font-size: 20px; }
.notification-close {
    display: block;
    width: 20px;
    margin: 0 20px 0 0;
    padding: 0;
    background: transparent;
}
.notification-head nav {
    grid-column: 1 / -1;
    display: flex;
    align-items: stretch;
    gap: 25px;
    min-height: 52px;
    padding: 0 20px;
}
.notification-head nav button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 4px;
    background: transparent;
    color: #9c9daa;
    font-size: 14px;
}
.notification-head nav button.is-active { color: #fff; }
.notification-head nav button.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #f04444;
}
.notification-tools {
    grid-column: 1 / -1;
    justify-content: flex-end;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 46px;
    padding: 0 20px;
    color: #b9bac4;
    font-size: 13px;
}
.notification-tools .auth-check { display: inline-flex; align-items: center; gap: 7px; width: auto; cursor: pointer; }
.notification-tools .auth-check b { flex: 0 0 auto; }
[data-notification-modal] .notification-tools .notification-select-all { margin-right: auto; }
.notification-tools button {
    padding: 8px 10px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .05);
    color: #c7c8d0;
    font-size: 13px;
}
.notification-tools [data-notification-delete] { color: #ff6969; }
.notification-tools [data-mp-history-delete] { color: #ff6969; }
.notification-list { padding: 4px 20px 0; }
.notification-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto 10px;
    gap: 14px;
    align-items: center;
    min-height: 86px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.notification-item.is-read { opacity: .62; }
.notification-check { display: inline-flex; width: 18px; }
.notification-check b { margin: 0; }
.notification-body {
    display: grid;
    gap: 7px;
    padding: 18px 0;
    background: transparent;
    color: inherit;
    text-align: left;
}
.notification-body strong { color: #a8a9b4; font-size: 14px; font-weight: 300; }
.notification-body p { margin: 0; color: #f0f0f3; font-size: 13px; line-height: 1.5; font-weight: 300;}
.notification-item time { color: #a8a9b4; font-size: 13px; white-space: nowrap; }
.notification-unread { width: 8px; height: 8px; border-radius: 50%; background: #f04444; }
.notification-item.is-read .notification-unread { background: #5d5e68; }
.notification-empty,
.notification-loading { min-height: 180px; place-items: center; color: #8e8f9b; }
.notification-empty:not([hidden]),
.notification-loading:not([hidden]) { display: grid; }
.notification-loading i {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, .14);
    border-top-color: #f04444;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
.notification-loading span { margin-top: 10px; }
[data-notification-sentinel] { height: 12px; }

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    padding: 30px;
    border-radius: var(--radius-md);
    background: #111117;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .54);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 24px;
    height: 24px;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.modal-close img {
    width: 100%;
    height: 100%;
    display: block;
}

.auth-view {
    display: none;
}

.auth-modal [data-profile-verify-hide][hidden],
.auth-modal [data-profile-edit-hide][hidden],
.auth-form [data-admin-mfa][hidden] {
    display: none !important;
}

.auth-view.is-active {
    display: grid;
    gap: 14px;
}

.auth-view h2 {
    margin: 0;
    color: var(--text);
    font-size: 26px;
    font-weight: 500;
}

.auth-view p {
    margin: -6px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.social-login {
    height: 46px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--panel);
    color: var(--text);
    font-size: 14px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}

.social-login img {
    display: block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .08);
}

.auth-form {
    display: grid;
    gap: 10px;
}

.auth-form[data-auth-form="register"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 10px;
}

.auth-form[data-auth-form="register"] .choice-buttons,
.auth-form[data-auth-form="register"] .profile-drop,
.auth-form[data-auth-form="register"] .auth-message,
.auth-form[data-auth-form="register"] .btn-primary {
    grid-column: 1 / -1;
}

.auth-form label {
    position: relative;
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"],
.auth-form input[type="tel"] {
    width: 100%;
    height: 40px;
    padding: 0 13px;
    border: 0;
    border-radius: var(--radius-sm);
    outline: 0;
    background: var(--panel);
    color: var(--text);
    font-size: 14px;
    font-weight: 300;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.auth-form input:focus {
    box-shadow: inset 0 0 0 1px var(--primary);
}

.auth-form label small {
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    color: var(--primary);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.2;
}

.auth-form label:has(input.is-invalid) {
    margin-bottom: 16px;
}

.auth-form input.is-invalid {
    box-shadow: inset 0 0 0 1px var(--primary), 0 0 0 3px rgba(var(--primary-rgb), .1);
}

.auth-form .btn-primary {
    height: 46px;
    margin-top: 2px;
    color: #18171d;
    font-weight: 400;
}

.auth-message {
    margin: 0;
    color: var(--primary);
    font-size: 12px;
    font-weight: 300;
    text-align: center;
}

.auth-message:empty {
    display: none;
}

.auth-message:not(:empty) {
    display: block;
    padding: 20px 20px;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), .1);
    color:#fff;
    font-size: 14px;
}

.auth-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    color: var(--muted);
    font-size: 14px;
}

.auth-links button,
.auth-links a {
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    text-decoration: none;
    box-shadow: none;
}

.auth-links button:hover,
.auth-links a:hover {
    color: var(--primary);
}

.auth-links.single {
    align-items: center;
}

.profile-drop input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.profile-drop b {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    gap: 14px;
    min-height: 82px;
    padding: 15px 16px;
    border-radius: var(--radius-md);
    background: #191a2c;
    color: var(--muted);
    font-size: 13px;
    font-weight: 300;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
    cursor: pointer;
    transition: box-shadow var(--transition-base), background var(--transition-base);
}

.profile-drop b:hover {
    background: #1d1f35;
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), .55);
}

.profile-drop b > span {
    display: grid;
    gap: 6px;
}

.profile-drop strong {
    color: #c5d5ff;
    font-size: 13px;
    font-weight: 400;
}

.profile-drop em {
    color: #7890ce;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
}

.profile-drop img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #f1f4fb;
}

.complete-view {
    justify-items: center;
    text-align: center;
}

.complete-view i {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), .18);
    font-style: normal;
}

.complete-view i img {
    width: 28px;
    height: 28px;
    animation: starPulse 1.8s ease-in-out infinite;
}

.auth-register-content {
    display: grid;
    gap: 18px;
}

.auth-register-content[hidden] {
    display: none;
}

.auth-panel-complete {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 560px;
    gap: 0;
}

.auth-panel-complete[hidden] {
    display: none;
}

.auth-panel-complete h2 {
    margin: 24px 0 16px;
    font-weight: 400;
}

.auth-panel-complete p {
    margin: 26px 0 26px;
    color: rgba(255, 255, 255, .62);
    font-size: 14px;
    line-height: 1.8;
    font-weight: 300;
}

.auth-panel-complete strong {
    display: inline-flex;
    margin: 0;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .14);
    color: var(--primary);
    font-size: 13px;
    font-weight: 400;
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), .26);
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 0 rgba(var(--primary-rgb), 0));
    }

    50% {
        transform: scale(1.14) rotate(10deg);
        filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), .45));
    }
}

.auth-modal {
    width: min(900px, calc(100vw - 48px));
    padding: 0;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(10, 11, 16, .94);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .62);
}

body.modal-open {
    overflow: hidden;
}

.auth-modal .modal-close {
    top: 22px;
    right: 22px;
    z-index: 3;
    opacity: .8;
}

.auth-modal .modal-close:hover {
    opacity: 1;
}

.auth-modal .auth-view.is-active {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 0;
}

.auth-visual {
    position: relative;
    display: flex;
    min-height: 100%;
    padding: 54px 34px;
    overflow: hidden;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    background-position: center bottom;
    background-size: cover;
}

.auth-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 9, 13, .12), rgba(8, 9, 13, .42));
}

.auth-visual-login {
    align-items: center;
    background-image: linear-gradient(180deg, rgba(8, 9, 13, .28), rgba(8, 9, 13, .18)), url("../image/bg/login.png");
}

.auth-visual-register {
    align-items: flex-start;
    background-image: linear-gradient(180deg, rgba(8, 9, 13, .18), rgba(8, 9, 13, .28)), url("../image/bg/reg.png");
}

.auth-visual > * {
    position: relative;
    z-index: 1;
}

.auth-brand {
    display: grid;
    gap: 14px;
}

.auth-brand img {
    width: 86px;
}

.auth-brand strong {
    color: var(--text);
    font: 400 24px/.88 var(--font-en);
}

.auth-brand i {
    color: var(--primary);
    font-style: normal;
}

.auth-brand span {
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
    line-height: 1.25;
}

.auth-visual-register strong {
    display: block;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.35;
}

.auth-visual-register p {
    max-width: 210px;
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    line-height: 1.65;
}

.auth-panel {
    position: relative;
    display: grid;
    align-content: center;
    gap: 18px;
    min-width: 0;
    padding: 46px 50px 46px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
    border-left: 1px solid rgba(255, 255, 255, .08);
}

.auth-panel h2 {
    margin: 0;
    color: var(--text);
    font-size: 22px;
    font-weight: 400;
}

.auth-panel > p {
    margin: -6px 0 14px;
    color: rgba(255, 255, 255, .56);
    font-size: 14px;
    font-weight: 300;
}

.auth-register-content > p {
    margin: -6px 0 0;
    color: rgba(255, 255, 255, .56);
    font-size: 14px;
    font-weight: 300;
}

.auth-panel .auth-form {
    gap: 16px;
}

.auth-panel .auth-form[data-auth-form="register"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.auth-panel .auth-form label {
    gap: 6px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 400;
}

.auth-panel .auth-form input[type="email"],
.auth-panel .auth-form input[type="password"],
.auth-panel .auth-form input[type="text"],
.auth-panel .auth-form input[type="tel"] {
    height: 48px;
    padding: 0 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .035);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .11);
}

.auth-panel .password-field {
    position: relative;
    display: block;
}

.auth-panel .password-field input {
    padding-right: 48px;
}

.auth-panel .password-field button {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: translateY(-50%);
    opacity: .38;
    transition: opacity var(--transition-base);
}

.auth-panel .password-field button:hover,
.auth-panel .password-field button.is-visible {
    opacity: 1;
}

.auth-panel .password-field img {
    display: block;
    width: 100%;
    height: 100%;
}

.auth-panel .auth-form input::placeholder {
    color: rgba(255, 255, 255, .32);
}

.auth-panel .auth-form input:focus {
    background: rgba(255, 255, 255, .055);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), .8), 0 0 0 3px rgba(var(--primary-rgb), .1);
}

.auth-panel .profile-drop,
.auth-panel .auth-consent,
.auth-panel .auth-message,
.auth-panel .btn-primary {
    grid-column: 1 / -1;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
}

.auth-check {
    display: inline-flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 8px !important;
    cursor: pointer;
    user-select: none;
}

.auth-check input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.auth-check b {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .035);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.auth-check b::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    width: 9px;
    height: 5px;
    border-left: 2px solid #18171d;
    border-bottom: 2px solid #18171d;
    opacity: 0;
    transform: rotate(-45deg);
}

.auth-check input:checked + b {
    background: var(--primary);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .22);
}

.auth-check input:checked + b::after {
    opacity: 1;
}

.auth-consent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
}

.auth-consent .auth-check {
    min-width: 0;
}

.auth-consent span {
    line-height: 1;
}

.auth-consent button {
    border: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
}

.auth-consent .auth-check button {
    display: inline;
    padding: 0;
    color: var(--primary);
}

.auth-consent > button {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    padding: 0;
    opacity: .62;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.auth-consent > button:hover {
    opacity: 1;
    transform: translateX(2px);
}

.auth-consent > button img {
    display: block;
    width: 100%;
    height: 100%;
}
.auth-consent-list { display:grid; justify-content:stretch; gap:10px; }
.auth-consent-list .auth-check { width:100%; }
.auth-consent-list span { line-height:1.35; }
.auth-consent-list span em { display:inline-flex; margin-right:4px; padding:3px 6px; border-radius:999px; color:var(--primary); background:rgba(var(--primary-rgb),.1); font-size:12px; font-style:normal; font-weight:400; }

.auth-row a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
}

.auth-row a:hover {
    color: var(--primary);
}

.auth-panel .btn-primary {
    height: 52px;
    border-radius: 8px;
    color: #18171d;
    font-size: 15px;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .22), 0 0 28px rgba(var(--primary-rgb), .18);
}

.auth-panel .auth-divider {
    margin-top: 8px;
}

.auth-panel .social-list {
    display: grid;
    gap: 8px;
}

.auth-panel .social-login {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .035);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}

.auth-panel .social-login:hover {
    background: rgba(255, 255, 255, .06);
}

.auth-panel .auth-links {
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .48);
}

.auth-panel .auth-links button {
    color: var(--primary);
    font-weight: 400;
}

.auth-panel .profile-drop {
    cursor: pointer;
}

.auth-panel .profile-drop input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.auth-panel .profile-drop b {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 82px;
    padding: 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .055), 0 16px 34px rgba(0, 0, 0, .18);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.auth-panel .profile-drop:hover b {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), .34), 0 18px 38px rgba(0, 0, 0, .24);
}

.auth-panel .profile-drop.is-dragging b {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), .72), 0 18px 38px rgba(var(--primary-rgb), .14);
}

.auth-panel .profile-drop b > span {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.auth-panel .profile-drop strong {
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 300;
}

.auth-panel .profile-drop em {
    color: rgba(var(--primary-rgb), .82);
    font-size: 12px;
    font-style: normal;
    line-height: 1.35;
}

.auth-panel .profile-drop img {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    object-fit: cover;
}

.auth-terms-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: none;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 18px;
    padding: 58px 50px 46px;
    border-left: 1px solid rgba(255, 255, 255, .08);
    background: rgba(14, 15, 22, .98);
}

.auth-terms-layer.is-open {
    display: grid;
}

.auth-terms-layer > strong {
    color: var(--text);
    font-size: 24px;
    font-weight: 500;
}

.auth-terms-layer > div {
    overflow-y: auto;
    padding-right: 8px;
    color: rgba(255, 255, 255, .66);
    font-size: 13px;
    line-height: 1.7;
    scrollbar-width: thin;
    scrollbar-color: #3d3f49 #17181f;
    -ms-overflow-style: none;
}

.auth-terms-layer > div::-webkit-scrollbar {
    display: block;
    width: 7px;
}
.auth-terms-layer > div::-webkit-scrollbar-track { background:#17181f; border-radius:999px; }
.auth-terms-layer > div::-webkit-scrollbar-thumb { background:#3d3f49; border-radius:999px; }
.auth-legal-scroll section + section { margin-top:32px; padding-top:28px; border-top:1px solid rgba(255,255,255,.12); }
.auth-terms-layer h3 small { display:inline-block; margin-left:6px; color:rgba(255,255,255,.38); font-size:12px; font-weight:300; }
.auth-terms-layer h4 { margin:18px 0 7px; color:rgba(255,255,255,.86); font-size:13px; font-weight:400; }
.auth-terms-layer p b { color:rgba(255,255,255,.82); font-weight:400; }

.auth-terms-layer h3 {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .92);
    font-size: 15px;
    font-weight: 500;
}

.auth-terms-layer p {
    margin: 0 0 16px;
}

.auth-terms-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: .75;
    transition: opacity var(--transition-base);
}

.auth-terms-close:hover {
    opacity: 1;
}

.auth-terms-close img {
    display: block;
    width: 100%;
    height: 100%;
}

.model-workspace,
.model-builder,
.model-list-wrap,
.model-list-section {
    min-width: 0;
}

.model-workspace {
    height: auto;
    padding-bottom: 0;
}

.model-panels {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    height: auto;
    min-height: 0;
    background: transparent;
}

.panel-title,
.model-list-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.panel-title {
    position: relative;
    display: block;
    margin-bottom: 34px;
    padding-bottom: 0;
    box-shadow: none;
}

.panel-title h2,
.model-list-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.panel-title p,
.model-list-head p {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.45;
}

.panel-title h2 {
    max-width: 220px;
    font: 500 28px/.88 var(--font-en);
    letter-spacing: 0;
}

.panel-title h2 span {
    display: block;
    color: rgba(255, 255, 255, .45);
}

.panel-title h2 i {
    color: var(--primary);
    font-style: normal;
}

.model-builder {
    position: fixed;
    top: 0;
    width: 300px;
    height: 100vh;
    padding: 48px 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}

.model-builder-toggle {
    display: none;
}

.model-builder-collapse-hint {
    display: none;
}

.model-builder::-webkit-scrollbar {
    display: none;
}

.model-list-section {
    grid-column: 2;
    height: auto;
    padding: 48px 0;
    background: transparent;
    overflow: visible;
}

.model-list-wrap {
    grid-column: 2;
    min-width: 0;
}

.model-create-form {
    display: grid;
    gap: 28px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.model-create-form > *,
.model-create-form fieldset,
.model-create-form .form-row {
    min-width: 0;
    max-width: 100%;
}

.model-create-form fieldset {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.model-create-form legend {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 15px;
    font-weight: 400;
}

.model-create-form legend small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}

.model-create-form label,
.form-field,
.option-group {
    display: grid;
    gap: 9px;
}

.model-create-form label > span,
.model-create-form .model-field-label,
.form-field > span:first-child,
.option-group > span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
}

.model-create-form input[type="text"],
.model-create-form input[type="search"],
.custom-dropdown > button {
    width: 100%;
    height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 9px;
    outline: 0;
    background: var(--panel);
    color: var(--text);
    font: 300 14px/1 var(--font-base);
    font-weight: 300;
}

.model-create-form input[type="text"],
.model-create-form input[type="search"] {font-size:14px;}

.model-create-form label em {
    position: relative;
    display: block;
    font-style: normal;
}

.model-create-form label em input {
    padding-right: 58px;
}

.model-create-form label em b {
    position: absolute;
    right: 13px;
    top: 50%;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    transform: translateY(-50%);
}

.model-create-form input::placeholder {
    color: var(--muted);
}

.custom-dropdown {
    position: relative;
    display: block;
    z-index: 5;
}

.custom-dropdown > button {
    position: relative;
    text-align: left;
    padding-right: 42px;
    font-size: 12px;
    cursor: pointer;
}

.custom-dropdown::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 22px;
    width: 20px;
    height: 20px;
    background: url("../image/svg/down.svg") center/contain no-repeat;
    opacity: .8;
    pointer-events: none;
    transform: translateY(-50%);
    transition: transform .18s ease;
}

.custom-dropdown.is-open {
    z-index: 20;
}

.custom-dropdown.is-open::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-dropdown.compact > button {
    height: 38px;
    padding-right: 34px;
}

.custom-dropdown.compact::after {
    top: 50%;
    right: 12px;
    width: 16px;
    height: 16px;
}

.dropdown-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    display: grid;
    gap: 4px;
    padding: 8px;
    max-height: min(360px, 50vh);
    overflow-y: auto;
    border-radius: var(--radius-sm);
    background: #111117;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .36);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.custom-dropdown.opens-up .dropdown-menu {
    top: auto;
    bottom: calc(100% + 6px);
    transform: translateY(6px);
}

.custom-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu button {
    display: flex;
    align-items: center;
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
}

.dropdown-menu button:hover,
.dropdown-menu button.is-active {
    background: rgba(var(--primary-rgb), .14);
    color: var(--primary);
}

[data-model-voice-preview].is-loading {
    position: relative;
    color: transparent;
}

[data-model-voice-preview].is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    margin: -7px 0 0 -7px;
    border: 2px solid rgba(255, 255, 255, .25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: model-voice-spin .7s linear infinite;
}

@keyframes model-voice-spin { to { transform: rotate(360deg); } }

.choice-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.choice-buttons label {
    display: block;
}

.choice-buttons input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-buttons b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    height: 44px;
    padding: 0 14px;
    border-radius: 9px;
    background: var(--panel);
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
}

.choice-buttons.wide {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.choice-buttons.wide b {
    width: 100%;
    min-width: 0;
    padding-inline: 6px;
}

.casting-filter-groups {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.choice-buttons.fluid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
}

.choice-buttons.fluid b {
    width: 100%;
    min-width: 0;
    padding-inline: 6px;
}

.creation-name {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
}

.creation-name label {
    min-width: 0;
}

.gender-buttons {
    display: grid;
    grid-template-columns: repeat(2, 46px);
    gap: 10px;
}

.gender-buttons input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gender-buttons b {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 9px;
    background: var(--panel);
    color: rgba(255, 255, 255, .3);
    font-weight: 400;
    cursor: pointer;
}

.gender-buttons svg {
    display: block;
    width: 24px;
    height: 24px;
}

.gender-buttons input:checked + b {
    background: var(--primary);
    color: #18171d;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .30);
}

.choice-buttons input:checked + b {
    background: var(--primary);
    color: #18171d;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .30);
}

.pictorial-ratio-options input:disabled + b,
.pictorial-resolution-options input:disabled + b {
    opacity: .35;
    cursor: not-allowed;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.model-style-fields {
    grid-template-columns: 1fr;
}

.swatch-field {
    display: grid;
    gap: 9px;
}

.swatch-field > span {
    color: var(--muted);
    font-size: 12px;
}

.swatch-field div {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.swatch-field label {
    display: block;
}

.swatch-field input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.swatch-field b {
    display: block;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: var(--swatch);
    background-clip: padding-box;
    cursor: pointer;
}

.swatch-field input:checked + b {
    border-color: var(--primary);
}

.swatch-field b.rainbow {
    background: conic-gradient(from 90deg, #e82a35, #d3b85b, #40b8a8, #4ea6d8, #8067d6, #e82a35);
}

.style-preset-swiper {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.style-preset-note {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.55;
    word-break: keep-all;
}

.style-preset-swiper .swiper-slide {
    position: relative;
    display: block;
    width: calc(40% - 8px);
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .style-preset-swiper .swiper-slide {
        width: calc(16.6667% - 8.3333px);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .style-preset-swiper .swiper-slide {
        width: calc(20% - 8px);
    }
}

@media (min-width: 513px) and (max-width: 768px) {
    .style-preset-swiper .swiper-slide {
        width: calc(25% - 7.5px);
    }
}

.style-preset-swiper .swiper-slide::after {
    content: var(--preset-label);
    display: block;
    margin-top: 8px;
    color: var(--text);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.3;
    text-align: center;
}

.style-preset-swiper .swiper-slide:nth-child(1) { --preset-label: "리얼"; }
.style-preset-swiper .swiper-slide:nth-child(2) { --preset-label: "아트"; }
.style-preset-swiper .swiper-slide:nth-child(3) { --preset-label: "애니"; }
.style-preset-swiper .swiper-slide:nth-child(4) { --preset-label: "카툰"; }

.style-preset-swiper input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.style-preset-swiper span {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 0;
    border-radius: 9px;
    background: var(--panel);
    cursor: pointer;
}

.style-preset-swiper span::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .28);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.style-preset-swiper span > img:first-child {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform: scale(1.5);
    transform-origin: top center;
    transition: filter .22s ease;
}

.style-preset-swiper span:hover::after {
    opacity: 1;
}

.style-preset-swiper span:hover > img:first-child {
    filter: brightness(.72);
}

.style-preset-swiper input:checked + span {
    border-color: transparent;
}

.style-preset-swiper i {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    display: none;
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.style-preset-swiper input:checked + span i {
    display: block;
}

.style-preset-swiper svg {
    display: block;
}

.preset-view-button {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-3px);
    transition: opacity .22s ease, transform .22s ease, background .22s ease;
    cursor: zoom-in;
}

.style-preset-swiper span:hover .preset-view-button,
.preset-view-button:focus-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}


.style-preset-swiper .preset-view-button img {
    display: block;
    width: 18px;
    height: 18px;
}

.image-viewer-root {
    align-items: start;
    padding: 5vh 24px;
    cursor: zoom-out;
}

.image-viewer-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    max-width: calc(100vw - 48px);
    max-height: none;
}

.image-viewer-media {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    max-height: none;
}

.image-viewer-dialog img,
.image-viewer-dialog video {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100vw - 48px);
    max-height: 80vh;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.image-viewer-root.is-chat-user-image.is-landscape-media .image-viewer-dialog img {
    width: auto;
    height: min(76vh, 760px);
    max-width: calc(100vw - 48px);
    max-height: 80vh;
}

.image-viewer-dialog video {
    background: #000;
    cursor: default;
}

.image-viewer-dialog img[hidden],
.image-viewer-dialog video[hidden] {
    display: none;
}

.image-viewer-root.has-details .image-viewer-dialog {
    display: grid;
    grid-template-columns: minmax(0, auto) 200px;
    align-items: start;
    width: auto;
}

.image-viewer-root.has-details .image-viewer-dialog > .image-viewer-media > img,
.image-viewer-root.has-details .image-viewer-dialog > .image-viewer-media > video {
    max-width: calc(100vw - 448px);
}

.image-viewer-details {
    box-sizing: border-box;
    width: 100%;
    max-height: none;
    padding: 24px 22px;
    overflow: visible;
    border: 0px solid rgba(255, 255, 255, .12);
    cursor: default;
}

.image-viewer-root.has-details .image-viewer-details {
    width: 200px;
}

.image-viewer-details[hidden] { display: none; }
.image-viewer-close { display: none; }
.image-viewer-details h3 { margin: 0 0 18px; color: var(--muted); font-size: 13px; font-weight: 400; }
.image-viewer-details dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 18px; margin: 0; }
.image-viewer-details dl > div { padding-bottom: 15px; border-bottom: 0px solid rgba(255,255,255,.08); }
.image-viewer-details dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.image-viewer-details dt { margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 400; }
.image-viewer-details dd { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; white-space: pre-wrap; word-break: break-word; font-weight: 300 }
.image-viewer-reference-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; }
.image-viewer-details dl > .image-viewer-reference-row,
.image-viewer-details dl > .image-viewer-full-row { grid-column: 1 / -1; width: 100%; }
.image-viewer-details dl > .image-viewer-reference-row.is-label-hidden { grid-template-columns: minmax(0, 1fr); }
.image-viewer-details dl > .image-viewer-full-row.is-label-hidden.image-viewer-reference-row { margin-top: 10px; }
.image-viewer-details dl > .image-viewer-reference-row.is-label-hidden > .image-viewer-reference-grid { grid-column: 1 / -1; }
.image-viewer-reference-grid img { width: 100%; height: auto; max-width: none; max-height: none; aspect-ratio: 1; border-radius: 6px; object-fit: cover; }
@media (max-width: 760px) {
    .image-viewer-root {
        position: fixed;
        top: 0;
        left: 0;
        align-items: stretch;
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .image-viewer-dialog,
    .image-viewer-root.has-details .image-viewer-dialog {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        min-height: 100dvh;
        max-width: none;
        max-height: none;
        overflow: visible;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .image-viewer-dialog::-webkit-scrollbar { display: none; }

    .image-viewer-media {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        max-height: none;
    }

    .image-viewer-dialog > .image-viewer-media > img,
    .image-viewer-root.has-details .image-viewer-dialog > .image-viewer-media > img {
        width: 100%;
        height: auto;
        max-width: none;
        max-height: none;
        border-radius: 0;
        object-fit: contain;
    }

    .image-viewer-root.is-chat-user-image.is-landscape-media .image-viewer-dialog img {
        width: 100%;
        height: auto;
        max-width: none;
        max-height: none;
    }

    .image-viewer-dialog > .image-viewer-media > video,
    .image-viewer-root.has-details .image-viewer-dialog > .image-viewer-media > video {
        width: 100%;
        height: auto;
        max-width: none;
        max-height: none;
        border-radius: 0;
    }
    .image-viewer-root.has-details .image-viewer-dialog > .image-viewer-media > img {
        max-width: none;
        max-height: none;
    }

    .image-viewer-details {
        width: 100%;
        max-height: none;
        border: 0;
        border-radius: 0;
    }

    .image-viewer-root.has-details .image-viewer-details {
        width: 100%;
        border: 0;
        border-radius: 0;
    }

    .image-viewer-close {
        position: fixed;
        top: max(12px, env(safe-area-inset-top));
        right: max(12px, env(safe-area-inset-right));
        z-index: 3;
        display: block;
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 50%;
        background: rgba(10, 10, 13, .72);
    }

    .image-viewer-close::before,
    .image-viewer-close::after {
        content: "";
        position: absolute;
        top: 18px;
        left: 10px;
        width: 18px;
        height: 1px;
        background: #fff;
    }

    .image-viewer-close::before { transform: rotate(45deg); }
    .image-viewer-close::after { transform: rotate(-45deg); }
}

.style-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.style-grid label {
    display: block;
}

.style-grid input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.style-grid span {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 9px;
    background: var(--panel);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12);
    cursor: pointer;
}

.style-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.style-grid input:checked + span {
    box-shadow: none;
}

.style-grid i {
    position: absolute;
    right: 8px;
    top: 8px;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
}

.style-grid i::before {
    content: "";
    width: 8px;
    height: 5px;
    border-left: 2px solid #18171d;
    border-bottom: 2px solid #18171d;
    transform: rotate(-45deg);
}

.generation-preview {
    display: grid;
    place-items: center;
    min-height: 154px;
    border-radius: 9px;
    background: var(--panel);
    color: var(--muted);
    font-size: 14px;
}

.accordion-fields {
    gap: 0;
}

.accordion-fields button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.accordion-fields i {
    color: var(--muted);
    font-style: normal;
}

.form-actions {
    display: flex;
    justify-content: stretch;
    gap: 10px;
    margin: 0;
    padding: 0px 0 0px;
    background: var(--bg);
    box-shadow: none;
    z-index: 5;
}

.model-visibility-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
    border-top: 0px solid rgba(255, 255, 255, .08);
}

.model-visibility-option strong {
    display: block;
    margin-bottom: 7px;
    color: var(--text);
    font-size: 14px;
    font-weight: 400;
}

.model-visibility-option p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.55;
    word-break: keep-all;
}

.model-license-agreement {
    margin-top: 14px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 300;
}

.switch-toggle {
    position: relative;
    flex: 0 0 auto;
    width: 46px;
    height: 26px;
    cursor: pointer;
}

.switch-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.switch-toggle span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #303039;
    transition: background var(--transition-base);
}

.switch-toggle span::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 17.5px;
    height: 17.5px;
    border-radius: 50%;
    background: #fff;
    transition: transform var(--transition-base);
}

.switch-toggle input:checked + span {
    background: var(--primary);
}

body.experience-day .switch-toggle input:not(:checked) + span {
    background: #dfe4ea;
}

.switch-toggle input:checked + span::after {
    transform: translateX(20px);
}

.form-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 60px;
    flex: 1;
    padding: 0 24px;
    border: 0;
    border-radius: 9px;
    background: var(--panel);
    color: var(--text);
    font-weight: 400;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .30);
    cursor: pointer;
}

.form-actions button[type="reset"] {
    flex: .5;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: transparent;
    color: #fff;
    font-size: 15px;
    box-shadow: none;
    box-sizing: border-box;
}

.form-actions button.filter-reset-button {
    flex: 1;
    padding: 0 24px;
    border: 0;
    background: var(--panel);
    color: var(--text);
    font-size: inherit;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .30);
}

.form-actions.feed-visibility-actions {
    grid-template-columns: minmax(90px, .5fr) minmax(0, 1.5fr);
    margin-top: 10px;
}

.feed-visibility-actions button:first-child {
    flex: .5;
}

.feed-visibility-actions button:last-child {
    flex: 1.5;
}

.feed-visibility-actions button.is-active {
    color: var(--primary);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), .55);
}

.feed-visibility-actions .pictorial-card-private {
    position: static;
    width: 24px;
    height: 24px;
    margin-left: 2px;
}

.form-actions button img {
    width: 20px;
    height: 20px;
}

.form-actions .btn-primary {
    flex: 1.5;
    width: auto;
    height: 60px;
    margin: 0;
    background: var(--primary);
    color: #18171d;
    font-size: 16px;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .30);
}

.form-actions .btn-primary b {
    font-weight: 400;
}

.form-actions .btn-primary.is-loading span,
.form-actions .btn-primary.is-loading img,
.form-actions .btn-primary.is-loading b,
.movie-tvc-storyboard-content > footer .btn-primary.is-loading > span,
.movie-tvc-storyboard-content > footer .btn-primary.is-loading > img,
.movie-tvc-storyboard-content > footer .btn-primary.is-loading > b {
    display: none;
}

.form-actions .btn-primary.is-loading::before,
.movie-tvc-storyboard-content > footer .btn-primary.is-loading::before,
.generation-status-spinner {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border: 3px solid rgba(24, 23, 29, .22);
    border-top-color: #18171d;
    border-radius: 50%;
    animation: modelSpin .85s linear infinite;
}

.global-generation-queue-spinner {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 30000;
    width: 30px;
    height: 30px;
    border-width: 3px;
    border-color: rgba(var(--primary-rgb), .22);
    border-top-color: var(--primary);
    pointer-events: none;
}

.global-generation-queue-spinner[hidden] { display: none; }

.form-actions .btn-primary.is-loading::before {
    flex: 0 0 24px;
}

.movie-tvc-storyboard-content > footer .btn-primary.is-loading::before {
    flex: 0 0 24px;
}

.generation-status {
    display: grid;
    place-items: center;
    gap: 12px;
    min-height: 154px;
    padding: 24px;
    border-radius: 9px;
    background: var(--panel);
    text-align: center;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.generation-status .generation-status-spinner {
    border-color: rgba(var(--primary-rgb), .24);
    border-top-color: var(--primary);
}

.generation-status[hidden] {
    display: none;
}

.generation-status img {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 10px;
    object-fit: cover;
}

.generation-status img[hidden] {
    display: none;
}

.generation-status p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--primary);
    white-space: pre-line;
}

.generation-status small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
    font-weight: 300;
}

.generation-status.is-complete .generation-status-spinner,
.generation-status.is-complete small {
    display: none;
}

.generation-status.is-failed .generation-status-spinner,
.generation-status.is-failed img,
.generation-status.is-failed small {
    display: none;
}

.mp-confirm-modal {
    width: min(840px, calc(100vw - 48px));
    margin-bottom: 42px;
    padding: 34px 36px;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, .22);
    background: #000;
}

.common-message-modal {
    width: min(540px, calc(100vw - 48px));
    padding: 38px 46px 28px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: #000;
    text-align: center;
}

.fan-history-root {
    z-index: 20000;
}

.fan-history-modal {
    width: 100%;
}

.fan-history-head p {
    grid-column: 1 / -1;
    margin: -4px 22px 16px;
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
}

.fan-history-list {
    min-height: 180px;
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 12px 14px 16px;
}

.fan-history-loading,
.fan-history-empty {
    place-self: center;
    margin: 50px 0;
    color: rgba(255, 255, 255, .45);
    font-size: 13px;
}

.fan-history-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
}

.fan-history-item > img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
}

.fan-history-model {
    min-width: 0;
}

.fan-history-model strong,
.fan-history-model span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fan-history-model strong {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.fan-history-model span {
    margin-top: 4px;
    color: rgba(255, 255, 255, .42);
    font-size: 12px;
}

.fan-history-item > em {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
    font-style: normal;
}

.fan-history-item > em.is-active {
    background: rgba(var(--primary-rgb), .16);
    color: var(--primary);
}

.fan-history-item dl {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: .65fr 1fr 1fr;
    gap: 10px;
    margin: 2px 0 0;
    padding-top: 11px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.fan-history-item dl div {
    min-width: 0;
}

.fan-history-item dt {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .36);
    font-size: 12px;
}

.fan-history-item dd {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: 12px;
}

.fan-history-item dd img {
    width: 14px;
    height: 14px;
}

@media (max-width: 560px) {
    .fan-history-item dl {
        grid-template-columns: 1fr;
    }
}

.mp-history-list {
    min-height: 180px;
    display: grid;
    align-content: start;
    padding: 4px 20px 12px;
}

.mp-history-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 7px 14px;
    align-items: center;
    min-height: 82px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.mp-history-check { grid-row: 1 / 3; align-self: center; width: 18px; }
.mp-history-check b { margin: 0; }
.mp-history-item > div { grid-column: 2; min-width: 0; }
.mp-history-item strong,
.mp-history-item time { display: block; }
.mp-history-item strong { overflow: hidden; color: #f0f0f3; font-size: 14px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.mp-history-item time { margin-top: 6px; color: #777984; font-size: 12px; }
.mp-history-item > em { grid-column: 3; justify-self: end; padding: 5px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #a8a9b4; font-size: 12px; font-style: normal; }
.mp-history-item > em.is-approved,
.mp-history-item > em.is-refund,
.mp-history-item > em.is-credit { background: rgba(var(--primary-rgb), .16); color: var(--primary); }
.mp-history-item > em.is-rejected { color: #777984; }
.mp-history-item > b { grid-column: 2; color: #d6d7dd; font-size: 14px; font-weight: 500; }
.mp-history-item > b.is-plus { color: #ff6666; }
.mp-history-item > b.is-minus { color: #b5b6c0; }
.mp-history-item > span { grid-column: 3; justify-self: end; color: #777984; font-size: 12px; }

.common-message-modal .modal-close {
    top: 20px;
    right: 20px;
    opacity: .75;
}

.common-message-visual {
    display: block;
    width: 190px;
    height: 150px;
    margin: 0 auto 2px;
    object-fit: contain;
}

.common-message-root.is-youth-warning .common-message-visual {
    width: 128px;
    height: 128px;
    margin-bottom: 18px;
}

.common-message-root.is-youth-warning [data-common-message-text] {
    min-height: 0;
}

.common-message-modal h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
}

.common-message-modal p {
    min-height: 50px;
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    white-space: pre-line;
    word-break:keep-all;
}

.common-message-root.is-guide [data-common-message-text] {
    display: grid;
    gap: 14px;
    min-height: 0;
    text-align: left;
    white-space: normal;
}

.common-message-guide-step {
    display: grid;
    gap: 7px;
}

.common-message-guide-step > b {
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    color: #fff;
    background: var(--primary);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

.common-message-guide-step > span {
    color: rgba(255, 255, 255, .68);
}

.common-message-modal.has-preview {
    width: min(620px, calc(100vw - 48px));
}

.common-message-modal.has-preview .common-message-visual { display: none; }

.common-message-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
    margin-top: 18px;
    padding: 20px;
    border: 0px solid rgba(255, 255, 255, .12);
    border-radius: 9px;
    background: #101116;
    text-align: left;
}

.common-message-preview[hidden] { display: none; }
.common-message-preview > img { width: 96px; height: 96px; border-radius: 7px; background: #1b1c22; object-fit: cover; object-position: top; }
.common-message-preview > img[hidden] { display: none; }
.common-message-preview.has-image { grid-template-columns: 96px minmax(0, 1fr); }
.common-message-preview.is-avatar { grid-template-columns: 48px minmax(0, 1fr); align-items: start; }
.common-message-preview.is-avatar > img { width: 48px; height: 48px; border-radius: 50%; }
.common-message-preview small,.common-message-preview strong,.common-message-preview b,.common-message-preview span { display: block; }
.common-message-preview small { color: var(--primary); font-size: 12px; font-weight: 400; }
.common-message-preview strong { margin-top: 5px; color: #fff; font-size: 13px; font-weight: 300; }
.common-message-preview b { overflow: hidden; margin-top: 10px; color: #d8d9dd; font-size: 14px; font-weight: 300; text-overflow: ellipsis; white-space: nowrap; }
.common-message-preview b:empty { display: none; }
.common-message-preview span { display: -webkit-box; overflow: hidden; margin-top: 5px; color: var(--muted); font-size: 13px; font-weight: 300; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.common-message-preview-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.common-message-preview-meta[hidden] { display: none; }
.common-message-preview .common-message-preview-meta strong,
.common-message-preview-meta em,
.common-message-preview-meta time { display: inline; margin: 0; color: rgba(255, 255, 255, .45); font-size: 12px; font-weight: 300; font-style: normal; line-height: 1.4; }

.common-message-input {
    display: block;
    margin-top: 18px;
}

.common-message-input[hidden] { display: none; }

.common-message-contact {
    display: block;
    margin-top: 18px;
    text-align: left;
}

.common-message-contact[hidden] { display: none; }

.common-message-contact > span {
    display: block;
    margin-bottom: 8px;
    color: #d8d9dd;
    font-size: 13px;
    font-weight: 300;
}

.common-message-contact small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}

.common-message-contact input {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    outline: 0;
    background: #101116;
    color: #fff;
    font: 300 14px var(--font-ko);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.common-message-contact input:focus {
    border-color: rgba(232, 42, 53, .72);
    box-shadow: 0 0 0 3px rgba(232, 42, 53, .14);
}

.common-message-input textarea {
    display: block;
    width: 100%;
    height: 130px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    outline: 0;
    background: #101116;
    color: #fff;
    font: 300 14px/1.6 var(--font-ko);
    resize: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.common-message-input textarea:focus {
    border-color: rgba(232, 42, 53, .72);
    box-shadow: 0 0 0 3px rgba(232, 42, 53, .14);
}

.common-message-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.common-message-actions button {
    height: 54px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 9px;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
}

.common-message-actions .btn-primary {
    border-color: rgba(255, 255, 255, .18);
    background: var(--primary);
}

.common-message-root[data-type="alert"] .common-message-actions {
    grid-template-columns: 1fr;
}

.common-message-root[data-type="alert"] .common-message-actions [data-common-message-cancel] {
    display: none;
}

.common-message-root[data-type="alert"].is-youth-warning .common-message-actions {
    grid-template-columns: 1fr 1fr;
}

.common-message-root[data-type="alert"].is-youth-warning .common-message-actions [data-common-message-cancel] {
    display: block;
}

@media (max-width: 560px) {
    .common-message-root {
        padding: 18px;
    }

    .common-message-modal {
        width: 100%;
        padding: 42px 22px 24px;
    }

    .common-message-visual {
        width: 160px;
        height: 130px;
    }

    .common-message-root.is-youth-warning .common-message-visual {
        width: 112px;
        height: 112px;
    }

    .common-message-modal h2 {
        font-size: 21px;
    }
}

.mp-confirm-modal .modal-close {
    top: 20px;
    right: 20px;
    opacity: .75;
}

.mp-confirm-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.mp-confirm-content h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 22px;
    font-weight: 400;
}

.mp-confirm-content > p {
    white-space: pre-line;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .66);
    font-size: 14px;
    line-height: 1.65;
    font-weight: 300;
}
.mp-confirm-content .movie-storyboard-confirm-value { color: var(--primary); font-weight: 400; }
.mp-confirm-content .publication-review-notice { color: var(--primary); }

.mp-confirm-reference { display: block; margin: 12px 0 4px; }
.mp-confirm-reference[hidden] { display: none; }
.mp-confirm-reference span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.68); font-size: 13px; }
.mp-confirm-reference small { display: block; margin: -1px 0 8px; color: rgba(255,255,255,.48); font-size: 12px; font-weight: 300; }
.mp-confirm-reference small[hidden],
.mp-confirm-reference em[hidden] { display: none; }
.mp-confirm-reference em { display: block; margin: 0 0 9px; color: var(--primary); font-size: 12px; font-style: normal; line-height: 1.5; }
.mp-confirm-reference input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: rgba(255,255,255,.07); color: #fff; font-size: 14px; }
.mp-confirm-reference input::placeholder { color: rgba(255,255,255,.34); }
.mp-confirm-reference textarea { box-sizing: border-box; width: 100%; min-height: 110px; padding: 12px 14px; resize: vertical; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; outline: 0; background: rgba(255,255,255,.07); color: #fff; font: 300 14px/1.55 var(--font-ko); }
.mp-confirm-reference textarea::placeholder { color: rgba(255,255,255,.34); }
.mp-confirm-reference textarea[hidden] { display: none; }
.mp-confirm-task span > i, .mp-confirm-balance span > i { font-style: normal; }

.mp-purchase-fields {
    display: grid;
    gap: 12px;
    margin: 12px 0 16px;
}

.mp-purchase-fields[hidden] {
    display: none;
}

.mp-purchase-field,
.mp-purchase-methods {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    border: 0;
}

.mp-purchase-field > span,
.mp-purchase-methods legend {
    color: rgba(255,255,255,.68);
    font-size: 13px;
}

.mp-purchase-field > input,
.mp-purchase-input {
    width: 100%;
    height: 44px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(255,255,255,.07);
}

.mp-purchase-field > input {
    padding: 0 14px;
    color: #fff;
    font-size: 14px;
}

.mp-purchase-input {
    display: flex;
    align-items: center;
    padding-right: 14px;
}

.mp-purchase-input input {
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 16px;
}

input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.mp-purchase-input b {
    color: var(--primary);
    font-size: 12px;
}

.mp-purchase-field small {
    color: rgba(255,255,255,.4);
    font-size: 12px;
}

.mp-purchase-field small strong {
    color: rgba(255,255,255,.72);
    font-weight: 400;
}

.mp-purchase-methods {
    grid-template-columns: 1fr 1fr;
}

.mp-purchase-methods legend {
    grid-column: 1 / -1;
    margin-bottom: 8px;
}

.mp-payment-option {
    min-width: 0;
}

.mp-payment-option > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mp-payment-option > span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.62);
    font-size: 12px;
    cursor: pointer;
}

.mp-payment-option > input:checked + span {
    border-color: transparent;
    background: rgba(var(--primary-rgb), .12);
    color: #fff;
}

.mp-payment-option.is-disabled > span {
    opacity: .55;
    cursor: not-allowed;
}

.mp-payment-option .banner-coming-soon {
    gap: 6px;
    margin: 0;
}

.mp-payment-option .banner-coming-soon em {
    min-height: 16px;
    padding: 0 5px;
    font-size: 8px;
}

.mp-purchase-field[hidden],
.mp-toss-wrap[hidden],
.mp-toss-loading[hidden] {
    display: none;
}

.mp-toss-wrap {
    min-width: 0;
    padding-top: 4px;
}

.mp-toss-loading {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,.5);
    font-size: 12px;
}

.mp-toss-loading .generation-status-spinner {
    width: 18px;
    height: 18px;
    border-width: 2px;
    border-color: rgba(var(--primary-rgb), .2);
    border-top-color: var(--primary);
}

.mp-toss-wrap > small {
    display: block;
    min-height: 18px;
    color: var(--primary);
    font-size: 12px;
}

.mp-confirm-task,
.mp-confirm-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border: 0px solid rgba(255, 255, 255, .06);
    border-radius: 10px;
    background: rgba(255, 255, 255, .1);
}

.mp-confirm-task span {
    color: rgba(255, 255, 255, .56);
    font-size: 12px;
}

.mp-confirm-task span:last-child {
    text-align: right;
}

.mp-confirm-task strong {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    margin-top: 6px;
    color: #fff;
    font-size: 15px;
}

.mp-confirm-task span:first-child strong {
    justify-content: flex-start;
}

.mp-confirm-task .mp-confirm-cost {
    color: var(--primary);
    font-size: 22px;
}

.mp-confirm-task .mp-confirm-cost > em {
    font-size: 13px;
    font-style: normal;
}

.mp-confirm-task img,
.mp-confirm-balance img {
    display: inline-block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.mp-confirm-task img[data-mp-confirm-cost-coin][hidden] {
    display: none;
}

.mp-confirm-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 8px;
    padding: 12px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .56);
    font-size: 12px;
}

.mp-confirm-quantity[hidden] {
    display: none;
}

.mp-confirm-quantity > div {
    display: grid;
    grid-template-columns: 34px 52px 34px;
    height: 36px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
}

.mp-confirm-quantity button,
.mp-confirm-quantity input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    text-align: center;
}

.mp-confirm-quantity button:hover {
    background: rgba(255, 255, 255, .1);
}

.mp-confirm-quantity input {
    width: 100%;
    font-weight: 600;
    -moz-appearance: textfield;
}

.mp-confirm-quantity input::-webkit-inner-spin-button {
    display: none;
}

.mp-confirm-balance {
    margin-top: 4px;
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
}

.mp-confirm-balance span,
.mp-confirm-balance strong {
    display: flex;
    align-items: center;
    gap: 7px;
}

.mp-confirm-balance span > i {font-size: 13px;}

.mp-confirm-balance strong {
    color: #ff8b96;
    font-size: 17px;
}

.mp-confirm-balance i {
    color: rgba(255, 255, 255, .68);
    font-size: 20px;
}

.mp-confirm-actions {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 14px;
    margin-top: 20px;
}

.mp-confirm-actions button {
    height: 54px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 9px;
    background: transparent;
    color: #fff;
    font-size: 15px;
}

.mp-confirm-actions .btn-primary {
    border-color: rgba(255, 255, 255, .18);
    background: var(--primary);
}

.mp-confirm-note {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -38px;
    color: rgba(255, 255, 255, .48);
    text-align: center;
    font-size: 14px;
    padding: 0px 20px;
}

@media (max-width: 720px) {
    .mp-confirm-root {
        padding: 18px;
    }

    .mp-confirm-modal {
        width: 100%;
        margin-bottom: 34px;
        padding: 46px 22px 24px;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .mp-confirm-visual {
        width: 150px;
        margin: 0 auto;
    }

    .mp-confirm-content h2 {
        font-size: 22px;
        text-align: center;
    }

    .mp-confirm-content > p {
        text-align: center;
    }

    .mp-confirm-task,
    .mp-confirm-balance {
        padding: 12px 14px;
    }

    .mp-confirm-balance {
        gap: 8px;
        font-size: 12px;
    }

    .mp-confirm-balance span {
        gap: 4px;
    }

    .mp-confirm-balance strong {
        font-size: 14px;
    }
}

@keyframes modelSpin {
    to {
        transform: rotate(360deg);
    }
}

.mp-confirm-model {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    background: rgba(255, 255, 255, .055);
}

.mp-confirm-model[hidden] {
    display: none;
}

.mp-confirm-model > img {
    width: 86px;
    height: 100px;
    border-radius: 8px;
    object-position: top center;
}

.mp-confirm-model > div {
    min-width: 0;
}

.mp-confirm-model strong,
.mp-confirm-model span,
.mp-confirm-model small {
    display: block;
}

.mp-confirm-model strong {
    color: #fff;
    font-size: 18px;
}

.mp-confirm-model span,
.mp-confirm-model small,
.mp-confirm-model p {
    margin-top: 6px;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    font-weight: 300;
}

.mp-confirm-model p {
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Chatting */
.chat-content {
    height: 100vh;
    padding: 0;
    overflow: hidden;
}

.chat-shell {
    position: relative;
    display: grid;
    grid-template-columns: 280px minmax(420px, 1fr) 280px;
    gap: 22px;
    width: 100%;
    height: 100vh;
}

.chat-roster,
.chat-conversation,
.chat-profile {
    min-width: 0;
    height: 100vh;
}

.chat-panel-title {
    margin-bottom: 34px;
}

.chat-roster-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #fff;
    font-size: 15px;
}

.chat-roster-heading span {
    color: var(--primary);
}

.chat-model-list {
    position: relative;
    display: grid;
    gap: 8px;
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    padding-right: 5px;
}

.chat-model-list.is-preview .chat-model-preview-item {
    opacity: .28;
    pointer-events: none;
    background: rgba(255, 255, 255, .08);
}

.chat-model-list.is-preview {
    overflow-y: hidden;
}

.chat-model-preview-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(20, 20, 27, .28);
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    text-align: center;
    pointer-events: none;
}

.chat-model-item {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 76px;
    padding: 11px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    color: #fff;
    text-align: left;
    transition: background var(--transition-base), border-color var(--transition-base);
}

.chat-model-entry {
    position: relative;
}

.chat-model-entry .chat-model-item {
    padding-right: 38px;
}

.chat-model-delete {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, .38);
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    transition: color var(--transition-base), background var(--transition-base);
}

.chat-model-delete:hover,
.chat-model-delete:focus-visible {
    background: rgba(var(--primary-rgb), .14);
    color: var(--primary);
}

.chat-model-item:hover,
.chat-model-item.is-active {
    border-color: rgba(var(--primary-rgb), .72);
    background: rgba(255, 255, 255, .045);
}

.chat-model-item.is-active {
    border-color: transparent;
}

.chat-model-item > img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-position: top center;
}

.chat-model-item > span,
.chat-model-item strong,
.chat-model-item small,
.chat-model-item em {
    display: block;
    min-width: 0;
}

.chat-model-item strong {
    font-size: 14px;
}

.chat-model-item small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}

.chat-model-item em {
    margin-top: 8px;
    overflow: hidden;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-activity-badge {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-top: 7px;
    overflow: hidden;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .12);
    color: var(--primary);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-model-item > .chat-model-meta {
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 24px;
}

.chat-model-item time {
    padding-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.chat-unread-badge {
    min-width: 20px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    text-align: center;
}

.chat-roster-empty {
    padding: 28px 16px;
    border: 1px dashed rgba(255, 255, 255, .12);
    border-radius: var(--radius-sm);
    color: var(--muted);
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
}

.chat-roster-empty button,
.chat-roster-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 36px;
    margin-top: 10px;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
}

.chat-conversation {
    display: grid;
    grid-template-rows: 78px minmax(0, 1fr) auto;
    border-right: 1px solid rgba(255, 255, 255, .075);
    border-left: 1px solid rgba(255, 255, 255, .075);
}

.chat-conversation-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .075);
}

.chat-conversation-head > img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-position: top center;
}

.chat-conversation-head > div {
    min-width: 0;
}

.chat-conversation-head strong,
.chat-conversation-head span,
.chat-conversation-head small {
    display: block;
}

.chat-conversation-head strong {
    font-size: 14px;
}

.chat-conversation-head > div > span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.chat-conversation-head small {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: #72d795;
    font-size: 12px;
}

.chat-conversation-head small i,
.chat-profile-summary small i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #66dc8f;
}

.chat-model-info-button {
    margin-left: auto;
    padding: 10px;
    background: transparent;
    color: var(--muted);
    letter-spacing: 2px;
}

.chat-mobile-back {
    display: none;
    background: transparent;
    color: #fff;
    font-size: 28px;
}

.chat-message-list {
    min-height: 0;
    padding: 28px 28px 18px;
    overflow-y: auto;
}

.chat-date {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 28px;
    color: var(--muted);
    font-size: 12px;
}

.chat-date::before,
.chat-date::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .07);
}

.chat-message {
    display: flex;
    align-items: flex-end;
    gap: 9px;
    max-width: 78%;
    margin: 0 0 18px;
}

.chat-message.is-model {
    align-items: flex-start;
}

.chat-message > img {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    border-radius: 50%;
    object-position: top center;
}

.chat-message > div {
    min-width: 0;
}

.chat-message p {
    margin: 0;
    padding: 12px 15px;
    border-radius: 2px 14px 14px 14px;
    background: #272731;
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

.chat-message.has-message-speech > div {
    position: relative;
}

.chat-message.has-message-speech p {
    padding-right: 43px;
}

.chat-message-speech {
    position: absolute;
    top: 11px;
    right: 11px;
    display: grid;
    width: 20px;
    height: 20px;
    padding: 0;
    place-items: center;
    background: transparent;
    color: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: color .2s, opacity .2s;
}

.chat-message-speech:hover,
.chat-message-speech:focus-visible {
    color: rgba(255, 255, 255, .9);
}

.chat-message-speech:disabled {
    cursor: wait;
}

.chat-message-speech .generation-status-spinner {
    width: 20px;
    height: 20px;
    border-width: 2px;
    border-color: rgba(255, 255, 255, .18);
    border-top-color: rgba(255, 255, 255, .88);
}

.chat-message-speech .generation-status-spinner[hidden],
.chat-message-speech.is-loading svg {
    display: none;
}

.chat-message time {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.chat-message-actions {
    display: flex;
    gap: 6px;
    margin-top: 7px;
}

.chat-message-action {
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid rgba(var(--primary-rgb), .4);
    border-radius: 8px;
    background: rgba(var(--primary-rgb), .12);
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    cursor: pointer;
    transition: border-color .2s, background .2s, opacity .2s;
}

.chat-message-action:hover,
.chat-message-action:focus-visible {
    border-color: rgba(var(--primary-rgb), .75);
    background: rgba(var(--primary-rgb), .22);
}

.chat-message-action:disabled {
    opacity: .45;
    cursor: wait;
}

.chat-message-voice-replay {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 5px 9px;
    border: 1px solid rgba(205, 133, 255, .18);
    border-radius: 99px;
    background: rgba(163, 80, 222, .08);
    color: rgba(231, 199, 255, .68);
    font-size: 12px;
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
}

.chat-message-voice-replay:hover,
.chat-message-voice-replay.is-playing {
    border-color: rgba(213, 142, 255, .4);
    background: rgba(177, 83, 237, .16);
    color: #f2dcff;
}

.chat-message-voice-replay:disabled { cursor: wait; opacity: .65; }

.chat-message-unread {
    color: var(--primary);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
}

.chat-message-unread[hidden] {
    display: none;
}

.chat-message.is-user {
    margin-left: auto;
}

.chat-message.is-user p {
    border-radius: 14px 2px 14px 14px;
    background: rgba(var(--primary-rgb), .14);
}

.chat-message.is-user time {
    justify-content: flex-end;
    text-align: right;
}

.inline-translation-button {
    display: inline-flex;
    width: 16px;
    height: 16px;
    margin: 0 0 0 7px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .48);
    line-height: 1;
    vertical-align: -2px;
    cursor: pointer;
}

.inline-translation-icon,
.inline-translation-icon svg {
    display: block;
    width: 12px;
    height: 12px;
}

.inline-translation-icon[hidden] {
    display: none;
}

.inline-translation-button:hover,
.inline-translation-button:focus-visible {
    opacity: .72;
}

.inline-translation-button.is-translated {
    color: var(--primary);
}

.inline-translation-button:disabled {
    cursor: wait;
}

.inline-translation-button .generation-status-spinner {
    width: 12px;
    height: 12px;
    border-width: 2px;
    border-color: rgba(255, 255, 255, .18);
    border-top-color: rgba(255, 255, 255, .8);
}

.inline-translation-button .generation-status-spinner[hidden] {
    display: none;
}

.chat-user-voice-content {
    display: grid;
    max-width: calc(100% - 48px);
    gap: 6px;
    justify-items: end;
}


.chat-user-voice-player,
.chat-model-voice-player {
    display: flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    max-width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 14px 3px 14px 14px;
    background: linear-gradient(135deg, rgba(157, 76, 220, .2), rgba(103, 63, 175, .12));
}

body.experience-day .chat-user-voice-player {
    background: linear-gradient(135deg, rgba(157, 76, 220, .9), rgba(103, 63, 175, .8));
}

.chat-model-voice-player {
    border-radius: 3px 14px 14px 14px;
    background: #272731;
}

.chat-model-voice-player.is-loading > span i {
    animation: chat-user-voice-wave .65s ease-in-out infinite alternate;
}

.chat-model-voice-player.is-loading > span i:nth-child(2n) { animation-delay: -.25s; }
.chat-model-voice-player.is-loading > span i:nth-child(3n) { animation-delay: -.45s; }
.chat-model-voice-player.is-loading button { opacity: .55; }

.chat-user-voice-player button,
.chat-model-voice-player button {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    padding: 0;
    border-radius: 50%;
    background: rgba(224, 169, 255, .16);
    color: #f2dcff;
    font-size: 12px;
    cursor: pointer;
}

.chat-user-voice-player > span,
.chat-model-voice-player > span {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    gap: 3px;
    height: 16px;
}

.chat-user-voice-player > span i,
.chat-model-voice-player > span i {
    width: 2px;
    height: 4px;
    border-radius: 5px;
    background: rgba(239, 210, 255, .72);
    transform-origin: center;
}

.chat-user-voice-player > span i[hidden],
.chat-model-voice-player > span i[hidden] { display: none; }

.chat-user-voice-player > span i:nth-child(3n + 1),
.chat-model-voice-player > span i:nth-child(3n + 1) { height: 9px; }
.chat-user-voice-player > span i:nth-child(4n + 2),
.chat-model-voice-player > span i:nth-child(4n + 2) { height: 13px; }
.chat-user-voice-player > span i:nth-child(5n),
.chat-model-voice-player > span i:nth-child(5n) { height: 7px; }
.chat-user-voice-player button.is-playing + span i,
.chat-model-voice-player button.is-playing + span i { animation: chat-user-voice-wave .7s ease-in-out infinite alternate; }
.chat-user-voice-player button.is-playing + span i:nth-child(2n),
.chat-model-voice-player button.is-playing + span i:nth-child(2n) { animation-delay: -.3s; }
.chat-user-voice-player button.is-playing + span i:nth-child(3n),
.chat-model-voice-player button.is-playing + span i:nth-child(3n) { animation-delay: -.5s; }

.chat-user-voice-player b,
.chat-model-voice-player b {
    margin-left: -3px;
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.chat-message.is-model-voice > div {
    display: grid;
    gap: 6px;
}

.chat-message.is-model-voice p {
    max-width: 190px;
    padding: 0 4px;
    background: transparent !important;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    line-height: 1.45;
}

.chat-message.is-user .chat-user-voice-content p {
    max-width: 238px;
    padding: 0 4px;
    background: transparent;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    line-height: 1.45;
}

.model-info-voice-player {
    width: 100%;
    max-width: none;
}
.model-info-voice-player button:disabled { cursor: default; opacity: .38; }

@keyframes chat-user-voice-wave {
    to { transform: scaleY(.38); opacity: .48; }
}

.chat-message.is-typing p {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 58px;
    min-height: 40px;
}

.chat-message.is-typing p i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .72);
    animation: chatTypingDot .9s ease-in-out infinite;
}

.chat-message.is-typing p i:nth-child(2) { animation-delay: .14s; }
.chat-message.is-typing p i:nth-child(3) { animation-delay: .28s; }

@keyframes chatTypingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: .45; }
    30% { transform: translateY(-5px); opacity: 1; }
}

.chat-composer {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin: 0 20px 24px;
    padding: 13px 14px 13px 16px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 12px;
    background: rgba(22, 22, 28, .95);
}

.chat-composer textarea {
    width: 100%;
    min-height: 26px;
    max-height: 130px;
    padding: 3px 0;
    resize: none;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
}

.chat-composer > small {
    position: absolute;
    right: 58px;
    bottom: 17px;
    color: rgba(255, 255, 255, .28);
    font-size: 12px;
}

.chat-composer > button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
}

.chat-composer > button:disabled {
    opacity: .45;
    cursor: wait;
}

.chat-profile {
    padding: 48px 0 28px;
    overflow-y: auto;
}

.chat-profile-visual {
    height: 270px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    background: var(--panel-dark);
}

.chat-profile-visual img {
    width: 100%;
    height: 100%;
    object-position: top center;
}

.chat-profile-summary {
    padding: 18px 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-top: 0;
}

.chat-profile-summary strong,
.chat-profile-summary > span {
    display: block;
}

.chat-profile-summary strong {
    font-size: 19px;
}

.chat-profile-summary > span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.chat-profile-summary small {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 9px;
    color: #72d795;
    font-size: 12px;
}

.chat-profile-summary button {
    width: 100%;
    height: 36px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-size: 12px;
}

.chat-profile > section {
    padding: 18px 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-top: 0;
}

.chat-profile h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 12px;
}

.chat-profile section > p {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: 12px;
}

.chat-profile dl,
.chat-profile dl div {
    margin: 0;
}

.chat-profile dl div {
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    gap: 10px;
    margin-top: 9px;
}

.chat-profile dt {
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
}

.chat-profile dd {
    position: relative;
    height: 5px;
    margin: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .08);
}

.chat-profile dd i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
}

.chat-profile dd span {
    position: absolute;
    right: 0;
    bottom: 8px;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
}

.chat-profile .chat-relationship-summary {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.chat-profile ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat-profile li {
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.55;
}

.chat-profile li::before {
    content: "· ";
    color: var(--primary);
}

.chat-empty-state {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 100vh;
    display: grid;
    place-content: center;
    text-align: center;
}

.chat-empty-state strong {
    font-size: 20px;
}

.chat-empty-state p {
    color: var(--muted);
    font-size: 12px;
}

.chat-page.is-chat-loading .chat-message-list,
.chat-page.is-chat-loading .chat-profile {
    opacity: .45;
}

@media (max-width: 1280px) {
    .chat-shell { grid-template-columns: 260px minmax(420px, 1fr); }
    .chat-profile { display: none; }
}

@media (max-width: 900px) {
    .chat-content { height: calc(100vh - 64px); }
    .chat-shell { display: block; height: 100%; }
    .chat-model-list { max-height: calc(100vh - 190px); }
    .chat-conversation { position: absolute; inset: 0; display: none; height: 100%; border: 0; background: var(--bg); }
    .chat-page.is-conversation-open .chat-conversation { display: grid; }
    .chat-mobile-back { display: block; }
    .chat-empty-state { display: none; }
}

@media (max-width: 720px) {
    .mp-confirm-model { grid-template-columns: 70px minmax(0, 1fr); }
    .mp-confirm-model > img { width: 70px; height: 82px; }
    .chat-message-list { padding-right: 14px; padding-left: 14px; }
    .chat-message { max-width: 88%; }
    .chat-message.is-user { width: 88%; }
    .chat-composer { margin: 0 10px 12px; }
}

.model-list-head {
    margin-bottom: 16px;
    align-items: center;
}

.model-list-search {
    display: block;
    width: min(320px, 100%);
}

.model-list-search input {
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: var(--radius-sm);
    outline: 0;
    background: var(--panel);
    color: var(--text);
    font-size: 13px;
    font-weight: 300;
}

.model-list-search input::placeholder {
    color: var(--muted);
}

.model-list-search input:focus {
    border-color: rgba(var(--primary-rgb), .72);
}

.model-list-head > div:last-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.model-list-type-filter {
    display: flex;
    align-items: center;
    gap: 4px;
}

.model-list-public-only {
    margin-left: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    white-space: nowrap;
}

.model-list-type-filter button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
}

.model-list-type-filter button.is-active {
    background: rgba(var(--primary-rgb), .14);
    color: var(--primary);
}

.model-list-type-filter button img {
    width: 10px;
    margin-left: 6px;
}

.model-list-swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.model-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(180px, calc((100% - 16px) / 2)), 1fr));
    gap: 16px;
    align-items: start;
}

.model-list-section .model-card {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--panel-dark);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10);
    transition: opacity .46s ease, transform .46s ease;
}

.model-list-section .model-card.is-casted {
    box-shadow: 0 0 18px rgba(var(--primary-rgb), .16);
}

.model-list-section .model-card.is-awaiting-load {
    opacity: 0;
    transform: translateY(28px);
}

.model-list-section .model-card.is-loaded {
    opacity: 1;
    transform: translateY(0);
}

.model-list-section .model-card.is-filter-pending {
    opacity: 0;
    transform: translateY(24px);
    transition: none;
    animation: none;
}

.model-list-section .model-card.is-filter-enter {
    animation: modelCardFilterIn .46s ease both;
    animation-delay: calc(var(--filter-order, 0) * 55ms);
}

.model-list-section .model-card.model-generation-card:not(.is-locked) {
    cursor: default;
}

.model-list-section .model-card.model-generation-card {
    --muted: #8a8a94;
    background: #08090d;
}

.model-list-section .model-card .model-generation-progress {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 24px;
    text-align: center;
}

.model-list-section .model-card .model-generation-progress > strong {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.model-list-section .model-card .model-generation-progress > span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    white-space: pre-line;
}

.model-generation-spinner {
    width: 22px;
    height: 22px;
    margin-top: 18px;
    border: 2px solid #393944;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: modelSpin .8s linear infinite;
}

.model-list-section .model-card.model-generation-card.is-failed .model-generation-spinner {
    display: none;
}

@keyframes modelCardFilterIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.model-list-section .model-card button {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: end;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.model-list-section .model-card > .model-card-delete {
    position: absolute;
    inset: 20px auto auto 20px;
    z-index: 4;
    display: block;
    width: 24px;
    height: 24px;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}

.model-list-section .model-card > button.model-card-delete::before,
.model-list-section .model-card > button.model-card-delete::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transform: translate(-50%, -50%) rotate(45deg);
}

.model-list-section .model-card > button.model-card-delete::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.model-list-section .model-card > .model-card-delete:disabled {
    opacity: .5;
    cursor: wait;
}

.model-list-section .model-card button > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    transition: filter .24s ease;
}

.model-list-section .model-card > button:not(.model-card-delete):not(:disabled)::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: url("../image/svg/view.svg") center / 18px 18px no-repeat;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(-50% - 3px));
    transition: opacity .22s ease, transform .22s ease, background .22s ease;
}

.model-list-section .model-card:not(.is-locked) {
    cursor: pointer;
}

.model-list-section .model-card::after {
    pointer-events: none;
}

.model-list-section .model-card:not(.is-locked):hover > button:not(.model-card-delete),
.model-list-section .model-card:not(.is-locked) > button:not(.model-card-delete):focus-visible {
    cursor: pointer;
}

.model-list-section .model-card:not(.is-locked):hover > button:not(.model-card-delete) > img,
.model-list-section .model-card:not(.is-locked) > button:not(.model-card-delete):focus-visible > img {
    filter: brightness(.72);
}

.model-list-section .model-card:not(.is-locked):hover > button:not(.model-card-delete)::before,
.model-list-section .model-card:not(.is-locked) > button:not(.model-card-delete):focus-visible::before {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.model-list-section .model-card button::after {
    content: "";
    position: absolute;
    inset: 36% 0 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .88));
}

.model-list-section .model-card.is-dim button::after {
    inset: 0;
    background: linear-gradient(transparent, rgba(30, 30, 38, .50));
}

.model-list-section .model-card strong,
.model-list-section .model-card button > span:not(.card-lock),
.model-list-section .model-card em,
.model-list-section .model-card small,
.model-list-section .model-card p,
.model-list-section .model-card-info {
    position: relative;
    z-index: 1;
}

.model-list-section .model-card-info {
    display: grid;
    width: 100%;
    padding: 20px;
}

.model-list-section .model-card-name-row {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 6px;
}

.model-list-section .model-card-name-row strong {
    min-width: 0;
}

.model-list-section .model-card-voice {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: .6;
    cursor: pointer;
    transition: color .18s ease, opacity .18s ease, transform .18s ease;
}

.model-list-section .model-card-voice:hover,
.model-list-section .model-card-voice:focus-visible,
.model-list-section .model-card-voice.is-playing {
    color: var(--primary);
    opacity: 1;
}

.model-list-section .model-card-voice.is-playing {
    transform: scale(1.06);
}

.model-list-section .model-card-voice svg {
    display: block;
    width: 18px !important;
    height: 16px !important;
    max-width: 18px;
    max-height: 16px;
    pointer-events: none;
}

.model-list-section .model-card button > .card-lock {
    position: absolute;
    right: auto;
    top: 50%;
    bottom: auto;
    left: 50%;
    display: block;
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0;
    font-size: 0;
    line-height: 0;
    background: var(--primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 9V7C8 4.79086 9.79086 3 12 3C14.2091 3 16 4.79086 16 7V9M8.2 21H15.8C16.9201 21 17.4802 21 17.908 20.782C18.2843 20.5903 18.5903 20.2843 18.782 19.908C19 19.4802 19 18.9201 19 17.8V12.2C19 11.0799 19 10.5198 18.782 10.092C18.5903 9.71569 18.2843 9.40973 17.908 9.21799C17.4802 9 16.9201 9 15.8 9H8.2C7.0799 9 6.51984 9 6.09202 9.21799C5.71569 9.40973 5.40973 9.71569 5.21799 10.092C5 10.5198 5 11.0799 5 12.2V17.8C5 18.9201 5 19.4802 5.21799 19.908C5.40973 20.2843 5.71569 20.5903 6.09202 20.782C6.51984 21 7.07989 21 8.2 21Z' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 9V7C8 4.79086 9.79086 3 12 3C14.2091 3 16 4.79086 16 7V9M8.2 21H15.8C16.9201 21 17.4802 21 17.908 20.782C18.2843 20.5903 18.5903 20.2843 18.782 19.908C19 19.4802 19 18.9201 19 17.8V12.2C19 11.0799 19 10.5198 18.782 10.092C18.5903 9.71569 18.2843 9.40973 17.908 9.21799C17.4802 9 16.9201 9 15.8 9H8.2C7.0799 9 6.51984 9 6.09202 9.21799C5.71569 9.40973 5.40973 9.71569 5.21799 10.092C5 10.5198 5 11.0799 5 12.2V17.8C5 18.9201 5 19.4802 5.21799 19.908C5.40973 20.2843 5.71569 20.5903 6.09202 20.782C6.51984 21 7.07989 21 8.2 21Z' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
    opacity: 1;
    transform: translate(-50%, -50%);
    transition: opacity .2s ease;
    z-index: 2;
}

.model-list-section .model-card.is-private:not(.is-locked):hover button > .card-lock:not(.exclusive-lock) {
    opacity: 0;
}

.model-list-section .model-card button > .card-lock.exclusive-lock {
    background: #8b5cf6;
}

.model-list-section .model-card button > .card-lock img {
    display: none;
}

.model-list-section .model-card strong {
    display: block;
    padding: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.model-list-section .model-card button > span:not(.card-lock),
.model-list-section .model-card-info > span {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 3px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
    opacity: 1;
    transform: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.model-list-section .model-card em {
    position: absolute;
    right: 20px;
    top: 20px;
    bottom: auto;
    padding: 4px 7px;
    border-radius: 6px;
    color: var(--primary);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    box-shadow: inset 0 0 0 1px var(--primary);
}

.model-list-section .model-card em.user {
    color: #40b8a8;
    box-shadow: inset 0 0 0 1px #40b8a8;
}

.model-list-section .model-card em.official {
    color: var(--primary);
    box-shadow: inset 0 0 0 1px var(--primary);
}

.model-list-section .model-card em.casting {
    right: 61px;
    background: var(--primary);
    color: #fff;
    box-shadow: none;
}

.model-list-section .model-card em.casting.exclusive {
    background: #8b5cf6;
    color: #fff;
    font-weight: 300;
}

.model-list-section .model-card small,
.model-list-section .model-card p {
    padding: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}
.model-list-section .model-card p {
    margin: 0;
    line-height: 1.35;
    margin-top: 10px;
}

.model-list-section .model-card.is-dim img {
    filter: brightness(.45);
}

.model-list-section .model-card.is-exclusive:not(.is-casted) > button:not(.model-card-delete) > img {
    opacity: .82;
    filter: brightness(.78);
}

.model-list-section .model-card.is-locked button > img {
    opacity: .72;
    filter: grayscale(.18) brightness(.78);
}

.model-list-section .model-card.is-locked > button:not(.model-card-delete) {
    cursor: not-allowed;
}

.model-list-empty {
    grid-column: 1 / -1;
    padding: 48px 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 300;
    text-align: center;
}

.model-page-guide {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: 500px;
    margin: 76px 0 34px;
    overflow: hidden;
    border-top: 0px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background:
        radial-gradient(circle at 50% 48%, rgba(var(--primary-rgb), .12), transparent 34%),
        linear-gradient(180deg, transparent, rgba(255, 255, 255, .018) 50%, transparent);
}

.model-page-guide::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 16% 20%;
    border-radius: 50%;
    background: rgba(7, 8, 11, .64);
    filter: blur(44px);
    pointer-events: none;
}

.model-page-guide-images {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.model-page-guide-images img {
    position: absolute;
    left: clamp(var(--guide-safe), var(--guide-x), calc(100% - var(--guide-safe)));
    top: clamp(var(--guide-safe), var(--guide-y), calc(100% - var(--guide-safe)));
    width: var(--guide-size);
    height: var(--guide-height);
    border: 0;
    border-radius: 16px;
    object-fit: cover;
    object-position: top center;
    opacity: .48;
    box-shadow: 0 30px 82px rgba(0, 0, 0, .72), 0 0 46px rgba(var(--primary-rgb), .14);
    transform: translate(-50%, -50%) rotate(var(--guide-rotate));
    animation: modelPageGuideFloat var(--guide-duration) ease-in-out var(--guide-delay) infinite;
}

@keyframes modelPageGuideFloat {
    0%, 100% { transform: translate(-50%, -50%) rotate(var(--guide-rotate)); }
    50% { transform: translate(-50%, calc(-50% - 15px)) rotate(calc(var(--guide-rotate) + 4deg)); }
}

.model-page-guide-copy {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 180px));
    padding: 70px 24px;
    text-align: center;
}

.model-page-guide-copy > span {
    display: block;
    margin-bottom: 18px;
    color: var(--primary);
    font: 500 12px/1 var(--font-en);
    letter-spacing: .2em;
}

.model-page-guide-copy h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 3.25vw, 46px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0em;
    font-size: 22px;
}

.model-page-guide-copy p {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .43);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.85;
}

.model-page-guide-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 48px;
    margin-top: 32px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .16);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
    transition: background .2s ease, transform .2s ease;
}

.model-page-guide-cta::after {
    content: "→";
    color: var(--primary);
    font: 500 15px/1 var(--font-en);
}

.model-page-guide-cta:hover,
.model-page-guide-cta:focus-visible {
    background: rgba(var(--primary-rgb), .27);
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .model-page-guide-images img {
        animation: none;
    }
}

@media (max-width: 768px) {
    .model-page-guide {
        min-height: 520px;
        margin-top: 52px;
    }

    .model-page-guide-copy {
        width: calc(100% - 36px);
        padding: 64px 8px;
    }

    .model-page-guide-copy h2 {
        font-size: clamp(28px, 8.5vw, 38px);
    }

    .model-page-guide-copy p {
        font-size: 12px;
        line-height: 1.8;
    }

    .model-page-guide-copy p br {
        display: none;
    }

    .model-page-guide-images img:nth-child(n + 6) {
        display: none;
    }
}

.side-detail-sheet {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 12000;
    width: min(768px, calc(100vw - 24px));
    height: 100vh;
    padding: 0;
    overflow: hidden;
    scrollbar-width: none;
    background: #07080b;
    box-shadow: none;
    transform: translateX(100%);
    transition: transform var(--transition-slide);
}

.side-detail-sheet.feed-detail-sheet {
    width: min(512px, calc(100vw - 24px));
}

.side-detail-sheet::-webkit-scrollbar,
.side-detail-scroll::-webkit-scrollbar {
    display: none;
}

.side-detail-sheet.is-open {
    box-shadow: -10px 0 28px rgba(0, 0, 0, .20);
    transform: translateX(0);
}

.model-info-sheet.is-over-image-viewer {
    z-index: 20500;
}

@media (max-width: 640px) {
    .side-detail-sheet.feed-detail-sheet {
        width: 100%;
    }
}

.side-detail-close {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 20;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(7, 8, 11, .78);
    cursor: pointer;
}

.side-detail-close span {
    position: absolute;
    top: 17px;
    left: 9px;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
}

.side-detail-close span:first-child {
    transform: rotate(45deg);
}

.side-detail-close span:last-child {
    transform: rotate(-45deg);
}

.side-detail-scroll {
    height: 100%;
    padding: 34px 28px 64px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.model-info-hero {
    display: block;
    margin: 0 -24px 22px;
}

.model-info-image-swiper {
    width: 100%;
    height: 420px;
}

.model-info-image-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.model-info-image-swiper img {
    display: block;
    flex: 0 0 auto;
    width: auto;
    min-width: 100%;
    max-width: none;
    height: 100%;
    object-position: center top;
    image-rendering: -webkit-optimize-contrast;
}

.model-info-image-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: .45;
}

.model-info-image-swiper .swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}

.model-info-hero > div:last-child {
    position: relative;
    z-index: 1;
    margin-top: -124px;
    padding: 0 24px 26px;
    background: linear-gradient(180deg, rgba(17, 17, 23, 0), rgba(17, 17, 23, .96) 42%, rgba(17, 17, 23, .98));
}

.model-info-kicker {
    color: var(--primary);
    font: 500 12px/1 var(--font-en);
}

.model-info-hero h2 {
    margin: 10px 0 8px;
    color: var(--text);
    font-size: 30px;
}

.model-info-hero h2 em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.model-info-hero p,
.model-info-grid p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.model-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.model-info-tags span {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .12);
    color: var(--primary);
    font-size: 12px;
}

.model-cast-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 60px;
    margin-top: 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 9px;
    background: var(--primary);
    color: #18171d;
    font-size: 16px;
    font-weight: 400;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .30);
    cursor: pointer;
}

.model-cast-btn img {
    width: 20px;
    height: 20px;
}

.model-info-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.model-info-stats a {
    display: grid;
    gap: 5px;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--panel);
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
}

.model-info-stats b {
    color: var(--text);
    font: 500 18px/1 var(--font-en);
}

.model-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.model-info-grid article {
    min-height: 132px;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--panel);
}

.model-info-grid .model-profile-details {
    grid-column: 1 / -1;
    min-height: 0;
}

.model-profile-details dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.model-profile-details dl > div {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.model-profile-details dt,
.model-profile-details dd {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
}

.model-profile-details dt {
    color: var(--muted);
    font-weight: 300;
}

.model-profile-details dd {
    color: var(--text);
    font-weight: 400;
}

/* Wide model profile sheet */
.model-info-layout {
    display: grid;
    grid-template-columns: minmax(280px, 34%) minmax(0, 1fr);
    align-items: start;
    height: calc(100vh - 0px);
    min-height: 0;
    overflow: hidden;
    border: 0px solid rgba(255, 255, 255, .13);
    border-radius: 14px;
    background: linear-gradient(135deg, #090a0e, #0d0e13);
}

.model-info-visual {
    position: relative;
    align-self: start;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, .10);
    border-radius: 14px 0 0 14px;
    background: #050609;
}

.model-info-image-swiper {
    width: 100%;
    height: 100%;
}

.model-info-image-swiper::after {
    content: "";
    position: absolute;
    inset: 55% 0 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(transparent, rgba(5, 6, 9, .34));
}

.model-info-image-swiper .swiper-pagination {
    z-index: 4;
}

.model-info-content {
    position: relative;
    display: grid;
    grid-auto-rows: max-content;
    align-content: start;
    gap: 16px;
    height: 100%;
    min-width: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.model-info-loading {
    position: absolute;
    inset: 0;
    z-index: 12;
    display: none;
    place-items: center;
    background: rgba(7, 8, 11, .78);
    backdrop-filter: blur(3px);
}

.model-info-sheet.is-image-loading .model-info-visual > .model-info-loading,
.model-info-sheet.is-content-loading .model-info-content > .model-info-loading {
    display: grid;
}

.model-info-loading::after {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(var(--primary-rgb), .24);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: modelSpin .85s linear infinite;
}

.model-info-content::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.model-info-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 172px;
    gap: 26px;
    padding: 6px 2px 4px;
}

.model-info-intro .model-info-kicker {
    display: inline-block;
    color: var(--primary);
    font: 400 12px/1 var(--font-en);
}

.model-info-intro h2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 14px 0 3px;
    color: var(--text);
    font-size: clamp(30px, 4vw, 24px);
    font-weight: 400;
    line-height: 1;
}

.model-info-intro h2 .model-info-emotion {
    background: #5746b9;
    color: #fff;
    font-size: 12px;
}

.model-info-intro h2 .model-info-activity {
    max-width: 190px;
    overflow: hidden;
    background: rgba(49, 184, 127, .18);
    color: #72dca9;
    text-overflow: ellipsis;
}

.model-info-intro h2 i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 22px;
    padding: 0 7px;
    border: 0;
    border-radius: 5px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    font-style: normal;
    white-space: nowrap;
}

.model-info-intro h2 .model-info-activity:empty {
    display: none;
}

.model-info-intro > em {
    color: #b9b9c1;
    font-size: 13px;
    font-style: normal;
    font-weight: 300;
}

.model-info-intro > p {
    max-width: 460px;
    min-height: 62px;
    margin: 16px 0 0;
    color: #b8b8c0;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.75;
    white-space: pre-line;
}

.model-info-actions {
    display: grid;
    align-content: start;
    gap: 9px;
    padding-top: 22px;
}

.model-cast-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 72px;
    max-height: 72px;
    color: var(--primary);
}

.model-cast-count svg {
    flex: 0 0 24px;
}

.model-cast-count strong {
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

.model-info-actions .model-cast-btn {
    height: 48px;
    margin: 0;
    font-size: 14px;
}

.model-info-actions .model-exclusive-cast-btn {
    border-color: rgba(181, 112, 255, .72);
    background: linear-gradient(135deg, #7b38d1, #a855f7);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 5px 18px rgba(123, 56, 209, .24);
}

.model-info-actions .model-exclusive-cast-btn[hidden] {
    display: none;
}

.model-info-actions .model-cast-btn.is-slot-disabled,
.model-info-actions .model-exclusive-cast-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.model-cast-slots {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 9px;
    background: rgba(255, 255, 255, .025);
}

.model-cast-slots p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 38px;
    min-width: 0;
    margin: 0;
    padding: 0 11px;
    color: #aaaab3;
    font-size: 12px;
    font-weight: 300;
    white-space: nowrap;
}

.model-cast-slots strong {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.model-cast-slots button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    height: 32px;
    padding: 0 8px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .10);
    background: rgba(var(--primary-rgb), .10);
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    cursor: pointer;
}

.model-cast-slots button:hover {
    background: rgba(var(--primary-rgb), .18);
}

.model-cast-slots button:disabled {
    cursor: wait;
    opacity: .55;
}

.model-cast-slots button img {
    width: 15px;
    height: 15px;
}

.model-cast-slots button b {
    color: var(--primary);
    font-weight: 500;
}

.model-info-content .model-info-tags {
    margin-top: 17px;
}

.model-info-content .model-info-tags span {
    border: 1px solid rgba(var(--primary-rgb), .48);
    background: rgba(var(--primary-rgb), .06);
}

.model-info-content > .model-info-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    gap: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 9px;
    background: linear-gradient(120deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
}

.model-info-content > .model-info-stats a {
    display: grid;
    gap: 5px;
    padding: 15px 10px;
    border-right: 1px solid rgba(255, 255, 255, .07);
    border-radius: 0;
    background: transparent;
    text-align: center;
}

.model-info-content > .model-info-stats a:nth-child(3n) {
    border-right: 0;
}

.model-info-content > .model-info-stats a:nth-child(n + 4) {
    border-top: 1px solid rgba(255, 255, 255, .07);
}

body.experience-day .model-info-content > .model-info-stats .is-night-stat,
body.experience-night .model-info-content > .model-info-stats .is-day-stat {
    display: none;
}

body.experience-night .model-info-content > .model-info-stats .is-night-stat {
    border-top: 0;
}

.model-info-content > .model-info-stats a > span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.model-info-content > .model-info-stats b {
    font: 400 18px/1 var(--font-en);
}

.model-info-block {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
}

.model-info-block h3 {
    margin: 0 0 16px;
    color: var(--text);
    font-size: 17px;
    font-weight: 400;
}

.model-stardom-content {
    display: grid;
    grid-template-columns: minmax(130px, .8fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: center;
}

.model-star-circle {
    display: grid;
    place-items: center;
    width: 100px;
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 4.5px, var(--primary) 0 4.5px, transparent 5px),
        conic-gradient(var(--primary) calc(var(--star-index, 0) * 1%), #292a31 0);
}

.model-star-circle::before {
    content: "";
    grid-area: 1 / 1;
    width: 83px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #111217;
}

.model-star-circle::after {
    content: "";
    grid-area: 1 / 1;
    place-self: center;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
    transform: rotate(calc(var(--star-index, 0) * 3.6deg)) translateY(-45.75px);
}

.model-star-circle > div {
    position: relative;
    grid-area: 1 / 1;
    display: grid;
    justify-items: center;
}

.model-star-circle strong {
    color: #fff;
    font-family: var(--font-en);
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
}

.model-stardom-note {
    min-width: 0;
    width: 100%;
}

.model-star-circle small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    display: block;
}

.model-stardom-note > strong {
    display: block;
    color: #d7d7dc;
    font-size: 12px;
    font-weight: 400;
}

.model-stardom-note > b {
    display: block;
    margin: 0 0 4px;
    color: var(--primary);
    font-size: 20px;
    font-weight: 400;
}

.model-stardom-note > div {
    height: 4px;
    margin: 13px 0;
    overflow: hidden;
    border-radius: 999px;
    background: #292a31;
}

.model-stardom-note > div > i {
    display: block;
    width: 70%;
    height: 100%;
    background: var(--primary);
}

.model-stardom-note p,
.model-summary-voice > p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.6;
}

.model-star-range {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: -7px;
    color: #65666e;
}

.model-star-range i {
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
}

.model-stardom-note .model-star-help {
    margin-top: 16px;
}

.model-star-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.model-star-metrics li {
    color: var(--muted);
    font-size: 12px;
}

.model-star-metrics strong {
    margin-left: 3px;
    color: #fff;
    font-family: var(--font-en);
    font-weight: 500;
}

.model-info-definition {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    margin: 0;
}

.model-info-definition > div {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 2px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.model-info-definition dt,
.model-info-definition dd {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}

.model-info-definition dt {
    color: var(--muted);
    font-weight: 300;
}

.model-info-definition dd {
    color: #d2d2d7;
    font-weight: 300;
}

.model-personality-definition {
    grid-template-columns: 1fr;
}

.model-personality-definition > div {
    grid-template-columns: 88px minmax(0, 1fr);
}

.model-taste-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.model-taste-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--muted);
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.model-voice-player {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 10px 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
}

.model-voice-player button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
}

.model-voice-player button img {
    width: 18px;
    height: 18px;
}

.model-voice-player button.is-playing img { display: none; }

.model-voice-player button.is-playing::before {
    content: "";
    width: 10px;
    height: 10px;
    border: 1.5px solid #fff;
    border-radius: 2px;
    background: transparent;
    box-sizing: border-box;
}

.model-waveform {
    width: 86%;
    height: 16px;
    justify-self: center;
}

.model-waveform svg {
    display: block;
    width: 100%;
    height: 100%;
}

.model-voice-player time {
    width: 72px;
    color: #8194d6;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.model-summary-voice {
    display: grid;
    grid-column: 1 / -1;
    gap: 10px;
}

.model-fan-card {
    position: relative;
    grid-column: 1 / -1;
}

.model-fan-card[hidden] {
    display: none;
}

.model-fan-join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(126, 55, 209, .94), rgba(233, 52, 126, .94));
    color: #fff;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(188, 54, 139, .22);
}

.model-fan-join-btn img {
    width: 17px;
    height: 17px;
}

.model-fan-join-btn b {
    font: 500 14px/1 var(--font-en);
}

.model-fan-join-btn.is-active {
    background: rgba(var(--primary-rgb), .12);
    color: var(--primary);
    box-shadow: none;
}

.model-fan-join-btn:disabled {
    opacity: .82;
    cursor: default;
}

.model-fan-join-btn.is-unavailable,
.rank-item button.is-unavailable {
    opacity: .5;
    cursor: pointer;
}

.model-fan-benefit-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    z-index: 20;
    width: min(428px, calc(100vw - 72px));
    padding: 20px;
    border: 0px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    background: var(--panel);
    color: #fff;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .48);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 7px);
    transition: opacity .16s ease, transform .16s ease;
}

.model-fan-benefit-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    border: 7px solid transparent;
    border-top-color: rgba(18, 18, 25, .98);
    transform: translateX(-50%);
}

.model-fan-benefit-tooltip strong {
    display: block;
    margin-bottom: 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
}

.model-fan-benefit-tooltip ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0 0 0 17px;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 300;
}

.model-fan-card:hover .model-fan-benefit-tooltip,
.model-fan-card:focus-within .model-fan-benefit-tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
}

.model-summary-voice > p {
    margin-top: 12px;
}

.model-info-voice-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.model-info-voice-row .model-info-voice-player {
    flex: 1 1 auto;
    min-width: 0;
}

.model-info-voice-row.is-readonly .model-info-voice-player {
    width: 100%;
    flex: 1 1 auto;
}

.model-voice-change-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 58px;
    flex: 0 0 auto;
    padding: 0 13px;
    border: 1px solid rgba(var(--primary-rgb), .35);
    border-radius: 10px;
    background: rgba(var(--primary-rgb), .1);
    color: var(--primary);
    font-size: 12px;
    cursor: pointer;
}

.model-voice-change-btn img {
    width: 16px;
    height: 16px;
}

.model-voice-change-btn:disabled {
    opacity: .45;
    cursor: wait;
}

.model-voice-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px dashed rgba(var(--primary-rgb), .48);
    border-radius: 12px;
    background: rgba(var(--primary-rgb), .07);
    color: var(--primary);
    font-size: 13px;
    cursor: pointer;
}

.model-voice-empty.is-readonly {
    position: relative;
    justify-content: center;
    overflow: hidden;
    border-style: solid;
    border-color: rgba(255, 255, 255, .08);
    background: linear-gradient(135deg, rgba(157, 76, 220, .09), rgba(39, 39, 49, .48));
    color: rgba(255, 255, 255, .5);
}

.model-voice-empty > span:first-child {
    flex: 0 0 auto;
    white-space: nowrap;
}

.model-voice-empty.is-readonly > span:first-child {
    position: relative;
    z-index: 1;
}

.model-voice-empty-wave {
    display: block;
    width: 100%;
    max-width: 190px;
    height: 16px;
    opacity: .28;
}

.model-voice-empty.is-readonly .model-voice-empty-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(190px, calc(100% - 32px));
    opacity: .18;
    transform: translate(-50%, -50%);
}

.model-voice-empty-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.model-voice-empty:disabled {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .025);
    color: var(--muted);
    cursor: default;
}

.model-voice-empty.is-readonly:disabled {
    border-color: rgba(255, 255, 255, .08);
    background: linear-gradient(135deg, rgba(157, 76, 220, .09), rgba(39, 39, 49, .48));
    color: rgba(255, 255, 255, .58);
}

.model-voice-builder {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 14px;
    background: rgba(13, 13, 18, .72);
}

.model-voice-builder[hidden],
.model-voice-empty[hidden],
.model-voice-empty-player[hidden],
.model-voice-empty-wave[hidden],
.model-info-voice-row[hidden],
.model-info-voice-player[hidden],
.model-voice-change-btn[hidden],
.model-voice-preset-card[hidden] {
    display: none;
}

.model-voice-empty-player {
    position: relative;
}

.model-voice-empty-player .model-voice-player {
    opacity: .3;
}

.model-voice-empty-player > span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    pointer-events: none;
    font-weight: 300;
}

.model-voice-builder-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.model-voice-builder-head strong {
    font-size: 14px;
    font-weight: 500;
}

.model-voice-builder-head span {
    color: var(--muted);
    font-size: 12px;
}

.model-voice-preset-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 286px;
    overflow-y: auto;
    padding-right: 3px;
}

.model-voice-preset-group-title {
    grid-column: 1 / -1;
    display: block;
    margin: 8px 2px 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
}

.model-voice-preset-group-title[hidden] {
    display: none;
}

.model-voice-preset-card {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 11px;
    background: rgba(255, 255, 255, .025);
    cursor: pointer;
}

.model-voice-preset-card:has(input:checked) {
    border-color: transparent;
    background: rgba(var(--primary-rgb), .09);
}

.model-voice-preset-card > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.model-voice-preset-card > em {
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-style: normal;
    text-align: center;
    white-space: nowrap;
}

.model-voice-preset-card .chat-model-voice-player {
    width: 100%;
    padding: 6px 7px;
    border-radius: 9px;
}

.model-voice-preset-card .chat-model-voice-player > span {
    flex: 1 1 auto;
    justify-content: space-between;
    gap: 1px;
}

.model-voice-create-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 10px;
    background: var(--primary);
    color: #17161c;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.model-voice-create-btn img {
    width: 17px;
    height: 17px;
}

.model-voice-create-btn.is-loading {
    color: transparent;
    cursor: wait;
}

.model-voice-create-btn.is-loading img,
.model-voice-create-btn.is-loading b {
    visibility: hidden;
}

.model-voice-create-btn.is-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, .22);
    border-top-color: #17161c;
    border-radius: 50%;
    animation: model-voice-spin .7s linear infinite;
}

.model-voice-builder > p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

@media (max-width: 620px) {
    .model-voice-preset-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .model-info-voice-row { flex-wrap: wrap; }
    .model-voice-change-btn { width: 100%; }
}

@media (max-width: 900px) {
    .side-detail-sheet {
        width: min(720px, 100%);
        padding: 0;
        overflow-y: auto;
    }

    .model-info-layout {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
        overflow: visible;
        border: 0;
        border-radius: 0;
    }

    .model-info-visual {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 9 / 16;
        margin: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .10);
        border-radius: 0;
    }

    .model-info-image-swiper {
        aspect-ratio: 9 / 16;
    }

    .model-info-image-swiper::after {
        inset: 54% 0 0;
        background: linear-gradient(transparent, rgba(7, 8, 11, .58) 54%, #090a0e 100%);
    }

    .model-info-image-swiper .swiper-pagination {
        bottom: 168px;
    }

    .model-info-content {
        position: relative;
        z-index: 3;
        height: auto;
        margin-top: -150px;
        padding-top: 74px;
        overflow: visible;
        background: linear-gradient(180deg, rgba(9, 10, 14, 0), #090a0e 142px);
    }

    .model-info-summary {
        position: relative;
        z-index: 4;
    }

    .side-detail-close {
        top: 18px;
        right: 18px;
    }

    .model-info-sheet .model-info-close {
        position: sticky;
        right: auto;
        display: block;
        margin: 18px 18px -54px auto;
    }
}

@media (max-width: 620px) {
    .model-info-content {
        padding: 74px 16px 18px;
    }

    .model-info-summary,
    .model-stardom-content {
        grid-template-columns: 1fr;
    }

    .model-info-actions {
        grid-template-columns: 50% minmax(0, 1fr);
        align-items: center;
        padding-top: 0;
    }

    .model-cast-count {
        grid-row: 1 / 3;
    }

    .model-cast-slots {
        grid-column: 2;
    }

    .model-info-content > .model-info-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .model-info-definition {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .model-personality-definition {
        grid-template-columns: 1fr;
    }
}

.model-info-grid strong {
    display: block;
    margin-bottom: 16px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.trust-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    aspect-ratio: 1;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 0 82%, #24242d 82% 100%);
    color: var(--text);
}

.trust-ring b {
    font: 500 28px/1 var(--font-en);
}

.trust-ring span {
    font-size: 14px;
}

.metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 31px;
    color: var(--muted);
    font-size: 12px;
}

.metric-row b {
    color: var(--text);
    font: 500 15px/1 var(--font-en);
}

.memory-bars {
    display: grid;
    gap: 12px;
}

.memory-bars span {
    position: relative;
    height: 28px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--panel);
}

.memory-bars span::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--value);
    background: linear-gradient(90deg, rgba(var(--primary-rgb), .42), var(--primary));
}

.memory-bars b {
    position: relative;
    z-index: 1;
    padding-left: 12px;
    color: var(--text);
    font-size: 12px;
    line-height: 28px;
}

.model-live-card {
    grid-column: 1 / -1;
}

.model-live-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.model-info-block .model-live-head h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.model-live-head h3 i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #42d47b;
    box-shadow: 0 0 0 5px rgba(66, 212, 123, .1);
}

.model-live-head span {
    color: var(--muted);
    font-size: 12px;
}

.model-live-head > strong {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 300;
}

.model-live-card.is-live .model-live-head h3 i {
    animation: home-live-pulse 1.8s ease-out infinite;
}

.model-live-card.is-recent .model-live-head h3 i {
    background: #79a98c;
    box-shadow: 0 0 0 5px rgba(121, 169, 140, .08);
}

.mini-chart {
    position: relative;
    height: 150px;
    padding: 8px 0 20px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0));
}

.mini-chart::before {
    content: "";
    position: absolute;
    inset: 34px 0 42px;
    background:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 100% 33.333%;
}

.mini-chart svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 118px;
    overflow: visible;
}

.mini-fill {
    fill: url(#modelInfoFill);
}

.mini-line {
    fill: none;
    stroke: var(--primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.mini-dots circle {
    fill: var(--primary);
    stroke: #111117;
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.mini-dots circle:nth-last-child(2) {
    stroke: #fff;
}

.mini-chart-labels {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 12px;
}

.private-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.private-list img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: filter var(--transition-base);
}

.private-list button {
    display: block;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    overflow: hidden;
    cursor: pointer;
}

.private-list button:hover img {
    filter: brightness(.72);
}

.right-panel section + section {
    margin-top: 38px;
}

.rank-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.rank-list {
    display: grid;
    gap: 15px;
}

.rank-item {
    display: grid;
    grid-template-columns: 28px 40px 1fr 72px;
    gap: 12px;
    align-items: center;
}

.rank-item .num {
    display: grid;
    place-items: center;
    justify-self: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font: 500 12px/1 var(--font-en);
    text-align: center;
}

.rank-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.rank-item img[data-model-panel-id] {
    cursor: pointer;
}

.rank-item b {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 14px;
    white-space: nowrap;
}

.rank-item b span,
.rank-item p {
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}

.rank-item > div {
    min-width: 0;
}

.rank-item b span {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-item p {
    margin: 3px 0 0;
    line-height: 1.25;
    font-weight: 400;
}

.rank-item button {
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: transparent;
    color: #aaa;
    font-weight: 300;
    font-size: 13px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 18px;
}

.stat-grid span {
    display: grid;
    place-items: center;
    height: 72px;
    border-radius: var(--radius-sm);
    background: var(--panel);
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    padding-top: 12px;
    padding-bottom: 10px;
}

.stat-grid b {
    color: #fff;
    font: 400 16px/1.1 var(--font-en);
}

.today {
    margin-top: 24px;
    line-height: 1.4;
}

.home-live-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-live-title > i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #42d47b;
    box-shadow: 0 0 0 4px rgba(66, 212, 123, .14);
    animation: home-live-pulse 1.8s ease-in-out infinite;
}

@keyframes home-live-pulse {
    50% { box-shadow: 0 0 0 8px rgba(66, 212, 123, 0); }
}

.home-live-list {
    display: grid;
    gap: 9px;
}

.home-live-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-width: 0;
    padding: 10px;
    border: 0px solid rgba(255, 255, 255, .06);
    border-radius: 10px;
    background: var(--panel);
    color: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.home-live-item:hover {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .05);
}

.home-live-avatar {
    position: relative;
    width: 44px;
    height: 44px;
}

.home-live-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.home-live-avatar i {
    position: absolute;
    right: 0;
    bottom: 1px;
    width: 10px;
    height: 10px;
    border: 2px solid #111218;
    border-radius: 50%;
    background: #656873;
}

.home-live-item.is-recent .home-live-avatar i {
    background: var(--primary);
}

.home-live-item.is-live .home-live-avatar i {
    background: #42d47b;
    box-shadow: 0 0 8px rgba(66, 212, 123, .55);
}

.home-live-copy {
    display: block;
    min-width: 0;
}

.home-live-copy b {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 13px;
    font-weight: 500;
}

.home-live-copy b > span,
.home-live-copy em,
.home-live-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-live-copy em {
    min-width: 0;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
}

.home-live-copy small {
    display: block;
    margin-top: 4px;
    color: #b5b6bd;
    font-size: 12px;
    font-weight: 300;
}

.home-live-item time {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

@media (max-width: 2249px) {
    .home-page .right-panel .rank-item:nth-child(n + 6) {
        display: none;
    }
}

@media (min-width: 2250px) {
    .home-page {
        --side-right: 768px;
    }

    .home-page > .right-panel .rank-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }

    .home-page > .right-panel .stat-grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .home-page > .right-panel .home-live-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-page > .right-panel .home-live-item {
        grid-template-columns: 38px minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 3px 8px;
        padding: 9px;
    }

    .home-page > .right-panel .home-live-avatar {
        grid-row: 1 / 3;
        width: 38px;
        height: 38px;
    }

    .home-page > .right-panel .home-live-item time {
        grid-column: 2;
    }
}

@media (max-width: 1280px) and (min-width: 769px) {
    .content > .right-panel .home-live-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .content > .right-panel .home-live-list {
        grid-template-columns: 1fr;
    }
}

.membership-area {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 54px;
}

.home-item-showcase {
    min-width: 0;
    padding: 32px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(8, 9, 13, .98), rgba(11, 11, 15, .92));
}

.home-item-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.home-item-head span {
    display: block;
    margin-bottom: 10px;
    color: var(--primary);
    font: 500 12px/1 var(--font-en);
    letter-spacing: .12em;
}

.home-item-head h2 {
    margin: 0;
    font-size: 24px;
}

.home-item-head > a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}

.home-item-swiper {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.home-item-card {
    width: 184px;
    color: #fff;
    text-decoration: none;
}

.home-item-card .shop-item-copy {
    height: 145px;
    flex-basis: 145px;
    padding: 17px 16px 48px;
}

.home-item-card .shop-item-copy h3 {
    overflow: hidden;
    margin-top: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-item-card .shop-item-price {
    right: 16px;
    bottom: 14px;
    left: 16px;
}

.home-item-empty {
    min-height: 250px;
    margin: 0;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 300;
}

.membership-box,
.membership-notice,
.creator-box {
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(8, 9, 13, .98), rgba(11, 11, 15, .92));
}

.membership-box {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border: 1px solid rgba(var(--primary-rgb), .24);
}

.membership-box:before {
    display: none;
}

.benefit {
    position: relative;
    z-index: 1;
}

.benefit h2,
.creator-box h2 {
    margin: 0;
    font-size: 24px;
}

.membership-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.membership-head span {
    display: block;
    margin-bottom: 10px;
    color: var(--primary);
    font: 500 12px/1 var(--font-en);
    letter-spacing: .12em;
}

.membership-head h2 em {
    color: var(--primary);
    font-style: normal;
}

.membership-head p {
    max-width: 190px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.55;
    text-align: right;
}

.benefit ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.benefit li {
    position: relative;
    min-height: 42px;
    padding: 12px 12px 12px 34px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .025);
    color: #c9c9cf;
    font-weight: 300;
    font-size: 13px;
}

.benefit li:before {
    content: "";
    position: absolute;
    left: 14px;
    top: 16px;
    width: 10px;
    height: 5px;
    border-left: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(-45deg);
}

.membership-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.membership-price small {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}

.membership-price strong {
    color: #fff;
    font: 500 26px/1 var(--font-ko);
}

.membership-action > a,
.membership-action > button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 52px;
    padding: 0 24px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #18171d;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .24);
    font-weight: 500;
}

.membership-action > button {
    border: 0;
    cursor: pointer;
}

.membership-notice {
    padding: 32px;
}

.membership-notice-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.membership-notice-head > div > span {
    display: block;
    margin-bottom: 10px;
    color: var(--primary);
    font: 500 12px/1 var(--font-en);
    letter-spacing: .12em;
}

.membership-notice-head h2 {
    margin: 0;
    font-size: 24px;
}

.membership-notice-head > a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}

.membership-notice ul {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.membership-notice li {
    border-bottom: 1px solid var(--line);
}

.membership-notice a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 50px;
    color: #c9c9cf;
    font-weight: 300;
}

.notice-topic {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.notice-topic b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    height: 24px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .12);
    color: var(--primary);
    font-size: 12px;
    font-weight: 400;
}

.notice-topic > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-meta {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 9px;
}

.notice-meta i {
    color: var(--primary);
    font: 500 12px/1 var(--font-en);
    font-style: normal;
}

.membership-notice time {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 13px;
}

.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.plan-card {
    position: relative;
    min-height: 260px;
    padding: 34px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #06070a;
}

.plan-card h3 {
    margin: 0 0 14px;
    color: var(--primary);
    font: 500 20px/1 var(--font-en);
}

.plan-card p,
.plan-card small {
    color: var(--muted);
    font-weight: 400;
}

.plan-card p {
    margin: 0 0 38px;
}

.plan-card strong {
    display: block;
    margin-bottom: 20px;
    font: 500 26px/1 var(--font-en);
}

.plan-card em {
    color: #bbb;
    font: 500 13px/1 var(--font-ko);
    font-style: normal;
}

.plan-card small {
    display: block;
    font-size: 14px;
}

.plan-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    margin-top: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.plan-card.is-best b {
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    min-width: 86px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #fff;
    font: 500 13px/38px var(--font-en);
    text-align: center;
}

.plan-card.is-best a {
    border: 1px solid rgba(255, 255, 255, .18);
    background: var(--primary);
    color:#18171d;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .30);
    line-height: 100%;
}

.creator-box {
    padding: 34px;
}

.creator-box > span {
    color: var(--primary);
    font: 500 13px/1 var(--font-en);
}

.creator-box h2 {
    margin-top: 16px;
}

.creator-profile {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 14px;
    align-items: center;
    margin-top: 26px;
}

.creator-profile img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid var(--primary);
}

.creator-profile strong {
    font-size: 16px;
}

.creator-profile em {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.creator-profile button {
    grid-column: 1 / -1;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: transparent;
    color: #fff;
    font-weight: 500;
}

.creator-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.creator-gallery img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
}

.footer {
    margin-top: 18px;
    overflow: hidden;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding-top: 40px;
}

.footer-sitemap {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 48px;
}

.footer a,
.footer p {
    color: var(--muted);
    font-weight: 400;
}

.footer nav,
.adult {
    padding-left: 0px;
}

.footer h3 {
    margin: 0 0 24px;
    font-size: 20px;
}

.footer nav a {
    display: block;
    margin-top: 18px;
    line-height: 1.35;
}

.adult p {
    margin: 0 0 28px;
    line-height: 1.65;
}

.adult a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    height: 62px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    color: var(--primary);
}

.adult i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    font-style: normal;
}

.adult span {
    font-size: 28px;
    line-height: 1;
}

.content-footer {
    min-width: 0;
}

.footer-links {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    padding: 0 0 15px;
}

.footer-links a {
    color: var(--muted);
    font-weight: 400;
}

.footer-warning {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 300;
    font-size: 14px;
}

.footer-business {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.7;
}

.mp-purchase-policy-link {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 300;
}

.mp-purchase-policy-link a {
    color: inherit;
    text-decoration: underline;
}

.footer-warning b {
    color: var(--primary);
}

@media (max-width: 1700px) and (min-width: 1025px) {
    .bottom-area {
        grid-template-columns: 1fr;
    }

    .membership-box {
        grid-template-columns: 1fr;
    }

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

    .footer-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }

    .footer-sitemap {
        grid-template-columns: repeat(2, auto);
        gap: 34px 48px;
    }

    .adult {
        width: 320px;
    }
}

@media (max-width: 1280px) {
    :root {
        --side-left: 120px;
        --side-right: 270px;
        --gap: 40px;
    }
    
    .model-list-section {padding-top: 0px;}

    .layout {
        grid-template-columns: minmax(0, 1fr);
        padding: 75px 32px 0;
    }

    .sidebar {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        z-index: 10000;
        display: grid;
        grid-template-columns: 42px auto minmax(0, 1fr);
        align-items: center;
        gap: 14px;
        height: 72px;
        padding: 0 27px 0px 22px;
        overflow: visible;
        background: var(--bg);
    }

    .side-menu-toggle {
        position: relative;
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        border-radius: var(--radius-sm);
        background: transparent;
        box-shadow: none;
        transition: transform var(--transition-slide);
        padding: 0px;
    }

    .side-menu-toggle span {
        position: absolute;
        left: 11px;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: #fff;
        transition: transform var(--transition-slide), opacity var(--transition-slide), top var(--transition-slide), width var(--transition-slide);
    }

    .side-menu-toggle span:nth-child(1) {
        top: 12px;
    }

    .side-menu-toggle span:nth-child(2) {
        top: 20px;
        width: 10px;
    }

    .side-menu-toggle span:nth-child(3) {
        top: 28px;
    }

    .brand {
        display: block;
    }

    .brand img {
        width: 58px;
        margin: 0;
    }

    .brand strong,
    .brand span,
    .brand .brand-title {
        display: none;
    }

    .sidebar .nav {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        width: 280px;
        height: 100dvh;
        margin: 0;
        padding: 32px;
        background: rgba(24, 23, 29, .98);
        box-shadow: none;
        transform: translateX(-100%);
        transition: transform var(--transition-slide);
    }



    .nav-close {
        position: absolute;
        top: 30px;
        right: 22px;
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .nav-close span {
        position: absolute;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: #fff;
    }

    .nav-close span:first-child {
        transform: rotate(45deg);
    }

    .nav-close span:last-child {
        transform: rotate(-45deg);
    }

    .sidebar .nav .mobile-nav-brand {
        display: block;
        margin-bottom: 42px;
        min-height: 0;
    }

    .sidebar .nav .mobile-nav-brand img {
        width: 65px;
        margin-bottom: 24px;
    }

    .sidebar .nav .mobile-nav-brand strong {
        display: block;
        margin-bottom: 16px;
        color: var(--text);
        font: 400 18px/1 var(--font-en);
        letter-spacing: 0;
    }

    .sidebar .nav .mobile-nav-brand .brand-title {
        display: flex;
        margin-bottom: 16px;
    }

    .sidebar .nav .mobile-nav-brand .brand-title strong {
        margin-bottom: 0;
    }

    .sidebar .nav .mobile-nav-brand strong i {
        color: var(--primary);
        font-style: normal;
    }

    .sidebar .nav .mobile-nav-brand span {
        display: block;
        color: var(--muted);
        font: 300 12px/1.1 var(--font-ko);
    }

    .sidebar.is-nav-open .nav {
        box-shadow: 24px 0 48px rgba(0, 0, 0, .28);
        transform: translateX(0);
    }

    .side-user {
        justify-self: end;
        margin: 0;
        padding: 0;
    }

    .top-profile img:last-child {
        content: url("../image/svg/down.svg");
    }

    .profile-layer {
        left: auto;
        right: 32px;
        top: 58px;
        bottom: auto;
    }

    .content,
    .model-content {
        grid-column: 1;
    }

    .topbar {
        padding-top: 34px;
    }

    
    .content {
        padding-top: 0px;
    }

    .feed-page .content {
        padding-top: 0px;
    }

    .feed-page .right-panel {
        top: 34px;
        height: calc(100vh - 34px);
    }

    .hero div {
        padding: 30px 36px;
    }

    .bottom-area {
        grid-template-columns: 1fr;
    }

    .layout > .right-panel {
        display: none;
    }

    .content > .right-panel {
        position: static;
        display: grid;
        grid-template-columns: 1fr;
        gap: 34px;
        height: auto;
        margin-top: 54px;
        padding: 0;
        overflow: visible;
    }

    .content > .right-panel section + section {
        margin-top: 0;
    }

    .content > .right-panel .private-list {
        grid-template-columns: repeat(8, minmax(0, 1fr));
        justify-content: start;
    }

    .content > .right-panel .rank-title,
    .content > .right-panel .rank-list {
        max-width: none;
    }

    .content > .right-panel .rank-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content > .right-panel .rank-item {
        grid-template-columns: 28px 40px minmax(0, 1fr) 72px;
    }

    .content > .right-panel .stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: none;
    }

    .model-content {
        display: block;
    }

    .model-panels {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .model-list-wrap,
    .model-list-section {
        grid-column: 1;
    }

    .model-builder {
        position: fixed;
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: none;
        height: var(--model-builder-height, 50vh);
        padding: 38px 30px 22px;
        border-radius: 15px 15px 0 0;
        background: var(--bg);
        box-shadow: 0 -8px 22px rgba(0, 0, 0, .52);
        overflow-y: auto;
        overflow-x: visible;
        z-index: 80;
        transform: translateY(0);
        transition: transform var(--transition-slide);
    }

    .model-builder.is-collapsed {
        transform: translateY(calc(100% - 30px));
    }

    .model-builder:not(.is-collapsed) {
        box-shadow: 0 -8px 22px rgba(0, 0, 0, .52);
    }

    .model-builder-toggle {
        position: sticky;
        top: -32px;
        display: flex;
        flex: 0 0 24px;
        width: 68px;
        height: 24px;
        margin: -32px auto 10px;
        transform: none;
        border-radius: 999px;
        background: transparent;
        touch-action: none;
        cursor: ns-resize;
        user-select: none;
        z-index: 12001;
    }

    .model-builder-toggle::before {
        content: "";
        position: absolute;
        top: 9px;
        left: 50%;
        width: 28px;
        height: 3px;
        transform: translateX(-50%);
        border-radius: 999px;
        background: var(--primary);
    }

    .model-builder.is-collapsed + .model-builder-collapse-hint {
        position: fixed;
        left: 50%;
        bottom: 46px;
        display: block;
        padding: 15px 20px;
        border: 0px solid rgba(255, 255, 255, .16);
        border-radius: 999px;
        background: var(--panel);
        color: var(--text);
        box-shadow: 0 8px 24px rgba(0, 0, 0, .32);
        font-size: 12px;
        line-height: 1;
        cursor: pointer;
        z-index: 9998;
        font-weight: 300;
        animation: model-builder-hint-float 1.8s ease-in-out infinite;
    }

    .model-builder.is-collapsed + .model-builder-collapse-hint::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        width: 9px;
        height: 9px;
        border-right: 0px solid rgba(255, 255, 255, .16);
        border-bottom: 0px solid rgba(255, 255, 255, .16);
        background: var(--panel);
        transform: translate(-50%, -5px) rotate(45deg);
    }

    .model-detail-panel {
        display: none;
    }

    .footer-main {
        flex-wrap: wrap;
    }

    .footer-sitemap {
        grid-template-columns: repeat(2, auto);
    }

}

@keyframes model-builder-hint-float {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, -5px);
    }
}

@media (max-width: 1024px) {
    :root {
        --side-left: 96px;
        --side-right: 230px;
        --gap: 30px;
    }

    .nav {
        font-size: 14px;
        gap: 18px;
    }

    .private-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .rank-item {
        grid-template-columns: 24px 38px minmax(0, 1fr) 72px;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content > .right-panel {
        grid-template-columns: 1fr;
    }

    .form-actions {
        position: static;
        width: auto;
        display: grid;
        grid-template-columns: minmax(90px, .55fr) minmax(0, 1.45fr);
        padding: 12px 0 0;
        background: transparent;
        box-shadow: none;
    }

    .membership-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .membership-head p {
        max-width: none;
        text-align: left;
    }

    .notice-topic {
        gap: 8px;
    }

    .notice-topic b {
        flex-basis: 48px;
    }

    .notice-meta i {
        display: none;
    }

    .membership-box {
        grid-template-columns: 1fr;
    }

    .plans {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {
    .modal-root {
        padding: 18px 16px;
    }

    body.notification-open,
    body.model-page-body.notification-open {
        overflow: hidden !important;
        scrollbar-gutter: auto;
    }

    .notification-root { inset: 0; width: 100%; padding: 0; }
    .notification-panel { width: 100%; height: 100vh; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
    .notification-head { grid-template-columns: 1fr auto; }
    .notification-head h2 { display: block; margin: 0; padding: 20px; font-size: 20px; }
    .notification-close { display: block; width: 22px; margin-right: 18px; background: transparent; }
    .notification-head nav {
        grid-column: 1 / -1;
        gap: 0;
        min-height: 54px;
        padding: 0 10px;
        overflow-x: auto;
    }
    .notification-head nav button { flex: 0 0 auto; padding: 0 12px; font-size: 14px; }
    .notification-tools { grid-column: 1 / -1; justify-content: flex-end; min-height: 48px; padding: 0 16px; }
    .notification-list { padding: 0 16px; }
    .notification-item {
        grid-template-columns: 22px minmax(0, 1fr) 8px;
        grid-template-rows: auto auto;
        gap: 7px 10px;
        min-height: 0;
        padding: 16px 0;
    }
    .notification-check { grid-column: 1; grid-row: 1 / span 2; align-self: start; margin-top: 2px; }
    .notification-body { grid-column: 2; grid-row: 1; padding: 0; }
    .notification-item time { grid-column: 2; grid-row: 2; margin-top: 2px; font-size: 12px; }
    .notification-unread { grid-column: 3; grid-row: 1 / span 2; }
    
    .profile-layer {
        right: 20px;
    }

    .auth-modal {
        width: 100%;
        max-width: 520px;
    }

    .auth-modal .auth-view.is-active {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        min-height: 170px;
        padding: 30px 28px;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        background-position: center center;
    }

    .auth-visual-login {
        align-items: flex-start;
    }

    .auth-brand img {
        width: 62px;
    }

    .auth-brand strong {
        font-size: 22px;
    }

    .auth-panel {
        padding: 34px 28px 30px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .08);
    }

    .auth-terms-layer {
        padding: 48px 28px 30px;
        border-left: 0;
    }

    .auth-panel .auth-form[data-auth-form="register"] {
        grid-template-columns: 1fr;
    }

    .layout {
        grid-template-columns: minmax(0, 1fr);
        height: auto;
        padding: 75px 20px 0;
    }

    .topbar {
        flex-wrap: wrap;
        align-content: center;
        gap: 12px;
        min-height: 96px;
        padding: 20px 0;
    }

    .top-search {
        flex-basis: 100%;
        max-width: none;
    }

    .top-user {
        width: 100%;
        gap: 12px;
    }

    .left-panel {
        grid-row: auto;
        top: 0;
        height: 75px;
        padding: 0 20px 0 10px;
    }

    .content {
        grid-column: 1;
        padding-top: 0px;
    }

    .feed-page .content {
        padding-top: 0px;
    }

    .model-content {
        height: auto;
        overflow: visible;
    }

    .model-workspace {
        height: auto;
    }

    .model-panels {
        grid-template-columns: 1fr;
        height: auto;
    }

    .model-builder {
        position: fixed;
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: var(--model-builder-height, 50vh);
        max-width: none;
        overflow-y: auto;
    }

    .model-list-wrap,
    .model-list-section {
        grid-column: auto;
        height: auto;
        overflow: visible;
    }

    .model-list-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }

    .model-list-search {
        width: 100%;
        max-width: none;
    }

    .model-list-filters {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .auth-check.model-list-public-only {
        margin-left: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .choice-buttons b {
        min-width: 0;
    }

    .form-actions {
        position: static;
        width: auto;
        display: grid;
        grid-template-columns: minmax(90px, .55fr) minmax(0, 1.45fr);
        padding: 12px 0 0;
        background: transparent;
    }

    .right-panel {
        position: static;
        height: auto;
        overflow: visible;
    }

    .right-panel {
        margin-top: 34px;
    }

    .memory div {
        max-width: 100%;
    }

    .content > .right-panel .private-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-flow: row;
    }

    .content > .right-panel .rank-list {
        grid-template-columns: 1fr;
    }

    .content > .right-panel .stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .feed-head {
        grid-template-columns: 1fr;
    }

    .section-head,
    .section-head div {
        align-items: flex-start;
    }

    .section-head div {
        display: grid;
        gap: 8px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .hero strong {
        font-size: 18px;
    }

    .plans {
        grid-template-columns: 1fr;
    }

    .membership-area {
        grid-template-columns: 1fr;
    }

    .activity-body {
        grid-template-columns: 1fr;
    }

    .activity-chart {
        padding-left: 44px;
    }

    .chart-grid:before {
        margin-left: 44px;
    }

    .activity-points {
        left: 44px;
    }

    .footer-sitemap {
        grid-template-columns: repeat(2, auto);
    }
}

@media (max-width: 512px) {
    .modal-root {
        align-items: start;
        padding: 0;
    }

    .modal-root.image-viewer-root {
        align-items: stretch;
        padding: 0;
    }

    .auth-modal {
        width: 100vw;
        max-width: none;
        min-height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .auth-visual {
        border-radius: 0;
    }

    .auth-panel,
    .auth-terms-layer {
        border-top: 0;
    }

    .auth-form[data-auth-form="register"] {
        grid-template-columns: 1fr;
    }

    .side-detail-sheet {
        width: 100%;
        max-width: none;
    }

    .hero {
        min-height: 220px;
    }

    .hero img {
        object-position: 62% center;
    }

    .hero div {
        padding: 26px 22px;
    }

    .section-head {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .tabs {
        justify-content: flex-start;
    }

    .bottom-area {
        gap: 18px;
    }

    .activity-history {
        padding: 24px 18px;
    }

    .activity-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .activity-chart {
        min-width: 0;
    }

    .activity-history .chart-dates {
        display: none;
    }

    .activity-body {
        overflow-x: visible;
        scrollbar-width: none;
    }

    .activity-body::-webkit-scrollbar {
        display: none;
    }

    .notice article,
    .memory div {
        padding: 28px 24px;
    }

    .memory div {
        max-width: none;
    }

    .private {
        grid-template-columns: 1fr;
    }

    .private-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .membership-box,
    .home-item-showcase,
    .membership-notice,
    .creator-box {
        padding: 24px;
    }

    .home-item-card {
        width: 160px;
    }

    .benefit ul {
        grid-template-columns: 1fr;
    }

    .membership-action {
        align-items: stretch;
        flex-direction: column;
    }

    .membership-action > a,
    .membership-action > button {
        width: 100%;
    }

    .footer-main {
        display: block;
        padding: 24px;
    }

    .footer-sitemap {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer nav,
    .adult {
        padding-left: 0;
        border-left: 0;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 18px;
        padding: 22px 0px;
    }

    .footer-warning {
        padding: 24px 30px 120px 0px;
    }
    
}

/* Chat page final layout overrides */
.chat-page [hidden],
.chat-empty-state[hidden] {
    display: none !important;
}

.chat-shell {
    grid-template-columns: 300px minmax(480px, 1fr) 300px;
    gap: 0;
}

.chat-recent-section .chat-model-list {
    flex: 1 1 auto;
    max-height: none;
}

.chat-conversation {
    border-right: 1px solid rgba(255, 255, 255, .08);
    border-left: 0;
}

.chat-conversation-head {
    min-height: 78px;
    padding: 0 22px;
}

.chat-message-list {
    padding: 26px 28px 12px;
}

.chat-composer {
    display: block;
    margin: 0 20px 22px;
    padding: 20px;
}

.chat-composer textarea {
    min-height: 56px;
    padding: 0;
}

.chat-composer > small {
    position: static;
}

.chat-profile {
    padding: 48px 0 28px 20px;
}

.chat-profile-visual {
    height: 300px;
    border-radius: 0;
}

@media (max-width: 1280px) {
    .chat-content {
        height: calc(100dvh - 75px);
        padding: 0;
        overflow: hidden;
    }

    .chat-shell {
        display: block;
        height: 100%;
    }

    .chat-conversation:not([hidden]) {
        position: static;
        display: grid;
        width: 100%;
        height: 100%;
        border: 0;
        background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .025), transparent 55%);
    }

    .chat-profile {
        display: none !important;
    }

    .chat-panel-title,
    .chat-casted-section,
    .chat-usage-card {
        display: none;
    }

    .chat-recent-section {
        margin-top: 0;
    }

    .chat-mobile-back {
        display: block;
    }

    .chat-head-account {
        display: none;
    }

    .chat-empty-state {
        inset: 0;
    }
}

@media (max-width: 720px) {
    .chat-conversation-head {
        padding: 0 12px;
    }

    .chat-message-list {
        padding: 18px 12px 8px;
    }

    .chat-composer {
        margin: 0 8px 10px;
        padding: 13px 12px 10px;
    }

    .chat-composer-bottom > small {
        display: none;
    }
}

@media (max-width: 768px) {
    .image-viewer-root.has-media-tools { overflow: hidden; }
    .image-viewer-root.has-media-tools .image-viewer-dialog,
    .image-viewer-root.has-media-tools .image-viewer-stage { width: 100%; height: 100dvh; min-height: 0; }
    .image-viewer-root.has-media-tools .image-viewer-media { flex: 1 1 auto; width: 100%; min-height: 0; }
    .image-viewer-root.has-media-tools .image-viewer-media > img { width: auto; max-width: 100%; max-height: calc(100dvh - 64px); object-fit: contain; }
}

/* DAY / NIGHT experience */
.experience-switch {
    display: grid;
    grid-template-columns: calc(42% - 10px) 1fr;
    gap: 3px;
    width: 150px;
    margin-top: 30px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 999px;
    background: rgba(255, 255, 255, .045);
}

.experience-switch a,
.experience-switch button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    height: 31px;
    padding: 0 8px;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font: 500 12px/1 var(--font-en);
    letter-spacing: 0;
    transition: color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.experience-switch > a:not(.is-night),
.experience-switch > button:not(.is-night) {
    padding-inline: 0;
}

.experience-switch a:hover,
.experience-switch button:hover {
    color: var(--text);
}

.experience-switch .is-active {
    background: #fff;
    color: #14151a;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .22);
}

.experience-switch .is-night.is-active {
    background: var(--primary);
    color: #111;
}

.experience-switch i {
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), .16);
    color: var(--primary);
    font: 500 8px/1 var(--font-en);
    font-style: normal;
}

.experience-switch .is-night.is-active i {
    background: #111;
    color: var(--primary);
}

.experience-switch + .nav {
    margin-top: 42px;
}

.nav-mode-label {
    color: var(--primary);
    font: 500 12px/1 var(--font-en);
    letter-spacing: .18em;
}

body.experience-day {
    --bg: #f0f5f9;
    --panel: #ffffff;
    --panel-dark: #f4f5f7;
    --text: #17181c;
    --muted: #737681;
    --line: #dfe2e8;
    color-scheme: light;
    background: #f0f5f9;
    color: var(--text);
}

html.experience-day,
body.experience-day,
body.experience-day .layout,
body.experience-day .topbar {
    background-color: #f0f5f9;
}

html.experience-day,
body.experience-day,
body.experience-day * {
    scrollbar-color: #b9c0ca #f0f5f9;
}

html.experience-day::-webkit-scrollbar-track,
html.experience-day::-webkit-scrollbar-corner,
body.experience-day::-webkit-scrollbar-track,
body.experience-day::-webkit-scrollbar-corner,
body.experience-day *::-webkit-scrollbar-track,
body.experience-day *::-webkit-scrollbar-corner {
    background: #f0f5f9;
}

html.experience-day::-webkit-scrollbar-thumb,
body.experience-day::-webkit-scrollbar-thumb,
body.experience-day *::-webkit-scrollbar-thumb {
    border-color: #f0f5f9;
    background: #b9c0ca;
}

html.experience-day::-webkit-scrollbar-thumb:hover,
body.experience-day::-webkit-scrollbar-thumb:hover,
body.experience-day *::-webkit-scrollbar-thumb:hover {
    background: #9fa8b4;
}

body.experience-day .content {
    border-radius: 18px 18px 0 0;
    background: #f0f5f9;
    box-shadow: 0 0 0 24px #f0f5f9;
}

body.experience-day .sidebar.left-panel,
body.experience-day .sidebar.right-panel {
    color: #202127;
}

body.experience-day .brand span,
body.experience-day .nav-section-title,
body.experience-day .nav-submenu {
    color: #7b7e88;
}

body.experience-day .experience-switch {
    border-color: #d9dce3;
    background: #e2e5ea;
}

body.experience-day .experience-switch .is-active {
    background: #fff;
    color: #111217;
    box-shadow: 0 3px 12px rgba(29, 31, 38, .12);
}

body.experience-day .experience-switch .is-night:not(.is-active) {
    color: #626570;
}

body.experience-day .activity-history,
body.experience-day .notice article,
body.experience-day .membership-box,
body.experience-day .home-item-showcase,
body.experience-day .membership-notice,
body.experience-day .creator-box {
    border: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(29, 31, 38, .055);
}

body.experience-day .notice article > img {
    filter: brightness(0);
}

body.experience-day .right-panel > section {
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.experience-day .stat-grid span,
body.experience-day .home-live-item {
    border: 0;
    background: #fff;
    box-shadow: 0 5px 16px rgba(29, 31, 38, .045);
}

body.experience-day .stat-grid b,
body.experience-day .home-live-item,
body.experience-day .home-live-copy b {
    color: #17181c;
}

body.experience-day .home-live-copy small {
    color: #666a74;
}

body.experience-day .home-live-item:hover {
    background: #eef0f3;
}

body.experience-day .home-live-avatar i {
    border-color: #fff;
}

body.experience-day .rank-item button {
    border: 0;
    background: #fff;
    color: #626671;
}

body.experience-day .rank-item button.is-unavailable {
    opacity: .72;
}

body.experience-day .hero {
    border: 1px solid #272830;
    background: #17181d;
    box-shadow: 0 18px 42px rgba(23, 24, 29, .14);
    color: #fff;
}

body.experience-day .hero img {
    opacity: .78;
}

body.experience-day .hero p {
    color: #b8bbc3;
}

body.experience-day .section-head a,
body.experience-day .membership-notice-head > a {
    color: #5d606a;
}

body.experience-day .feed-card,
body.experience-day .pictorial-card,
body.experience-day .feed-stream-card,
body.experience-day .model-list-section .model-card:not(.model-generation-card) {
    border-color: #e0e3e8;
    background: #fff;
    box-shadow: 0 8px 26px rgba(29, 31, 38, .06);
}

body.experience-day .model-list-section .model-card:not(.model-generation-card) strong {
    color: #fff;
}

body.experience-day .model-list-section .model-card-info > span,
body.experience-day .model-list-section .model-card small,
body.experience-day .model-list-section .model-card p {
    color: #c9ccd3;
}

body.experience-day .feed-stream-card.is-text-only {
    background: #fff;
}

body.experience-day .feed-stream-card {
    box-shadow: none;
}

body.experience-day .feed-page .feed-stream-card,
body.experience-day .feed-page .feed-stream-card.is-text-only {
    background: transparent;
}

body.experience-day .feed-page .feed-stream-card:not(:last-child) {
    border-bottom-color: #d6dce5;
}

body.experience-day .feed-stream-type-nav .feed-admin-cron .feed-admin-cron-dropdown > button {
    background: #fff;
    color: #30323a;
}

body.experience-day .feed-discovery-open {
    background: #17181d;
    color: #fff;
}

body.experience-day .feed-discovery-open svg {
    color: #fff;
}

body.experience-day .feed-discovery-head > strong {
    color: #17181d;
}

body.experience-day .feed-popular-tags button,
body.experience-day .feed-popular-tags > span {
    background: #fff;
    color: #747881;
}

body.experience-day .feed-discovery-feed {
    background: transparent;
}

body.experience-day .feed-discovery-comment small {
    color: #17181d;
}

body.experience-day .feed-page .feed-card-copy small > span {
    background: #e5e9ef;
    color: #747881;
}

body.experience-day .feed-inline-comments .feed-comment-list {
    background: #fff;
}

body.experience-day .feed-page .feed-inline-comments .feed-comment strong {
    color: #17181d;
}

body.experience-day .feed-inline-comments form,
body.experience-day .feed-detail-comments form {
    border-color: #d9dde4;
    background: #fff;
}

body.experience-day .feed-inline-comments form {
    border: 0;
}

body.experience-day .feed-inline-comments form input,
body.experience-day .feed-detail-comments form input {
    background: transparent;
}

body.experience-day .feed-inline-comments form.is-replying input {
    border-radius: 6px;
    background: #f1f3f6;
}

body.experience-day .feed-stream-card.is-text-only .feed-card-copy p,
body.experience-day .feed-card-copy p,
body.experience-day .feed-card-author,
body.experience-day .feed-stream-card footer button,
body.experience-day .feed-stream-card footer > span {
    color: #31333a;
}

body.experience-day .feed-more-icon {
    color: #17181d;
}

body.experience-day .inline-translation-button {
    color: #858994;
}

body.experience-day .inline-translation-button .generation-status-spinner {
    border-color: rgba(92, 96, 106, .22);
    border-top-color: #686c76;
}

body.experience-day .auth-check input:not(:checked) + b {
    background: #d9dce2;
    box-shadow: none;
}

body.experience-day .feed-filter-panel,
body.experience-day .model-builder {
    color: #1b1c21;
}

body.experience-day .model-create-form fieldset,
body.experience-day .feed-side-section,
body.experience-day .model-info-block {
    border-color: #e0e3e8;
}

body.experience-day input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
body.experience-day textarea,
body.experience-day select,
body.experience-day .custom-dropdown > button,
body.experience-day [data-dropdown-button],
body.experience-day .pictorial-panel-picker > button {
    border-color: #d9dde4;
    background-color: #fff;
    color: #202127;
}

body.experience-day .content .custom-dropdown > button,
body.experience-day .content [data-dropdown-button] {
    border: 0;
    background-color: #fff;
    color: #17181d;
}

body.experience-day input::placeholder,
body.experience-day textarea::placeholder {
    color: #9699a2;
}

body.experience-day .modal-root {
    --panel: #1f1f27;
    --panel-dark: #08090d;
    --text: #f3f3f5;
    --muted: #8a8a94;
    --line: #2b2b35;
    color: var(--text);
    color-scheme: dark;
}

body.experience-day .modal-root input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
body.experience-day .modal-root textarea,
body.experience-day .modal-root select,
body.experience-day .modal-root .custom-dropdown > button,
body.experience-day .modal-root [data-dropdown-button] {
    border-color: rgba(255, 255, 255, .14);
    background-color: #101116;
    color: #fff;
}

body.experience-day .modal-root input::placeholder,
body.experience-day .modal-root textarea::placeholder {
    color: rgba(255, 255, 255, .34);
}

body.experience-day .modal-root .custom-dropdown::after {
    filter: none;
}

body.experience-day .image-viewer-root {
    --panel: #1f1f27;
    --panel-dark: #08090d;
    --text: #f3f3f5;
    --muted: #8a8a94;
    --line: #2b2b35;
    background: #080809;
    color: var(--text);
    color-scheme: dark;
}

body.experience-day .image-viewer-root .modal-backdrop {
    background: #080809;
    backdrop-filter: none;
}

body.experience-day .image-viewer-root .publication-download-menu [data-publication-download-options],
body.experience-day .image-viewer-root .publication-download-menu [data-publication-download-options]::after,
body.experience-day .image-viewer-root .publication-edit-menu [data-publication-edit-options],
body.experience-day .image-viewer-root .publication-edit-menu [data-publication-edit-options]::after {
    background: #1f1f27;
}

body.experience-day .mp-confirm-root .mp-purchase-field > input,
body.experience-day .mp-confirm-root .mp-purchase-input,
body.experience-day .mp-confirm-root .mp-confirm-reference input,
body.experience-day .mp-confirm-root .mp-confirm-reference textarea {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

body.experience-day .mp-confirm-root .mp-purchase-input input {
    border: 0;
    background: transparent;
}

body.experience-day .top-search input,
body.experience-day .model-list-search input {
    border: 0;
    background: #fff;
    box-shadow: none;
}

body.experience-day .dropdown-menu,
body.experience-day .pictorial-panel-layer {
    border: 1px solid #dfe2e8;
    background: rgba(255, 255, 255, .98);
    color: #202127;
    box-shadow: 0 18px 46px rgba(29, 31, 38, .14);
}

body.experience-day .content .dropdown-menu {
    border: 0;
    background: #fff;
    color: #17181d;
}

body.experience-day .content .dropdown-menu button {
    color: #17181d;
}

body.experience-day .content .dropdown-menu button:hover {
    background: #e5e8ed;
    color: #17181d;
}

body.experience-day .content .dropdown-menu button.is-active {
    background: #f0f2f5;
    color: #111217;
}

body.experience-day .pictorial-panel-layer {
    background: #fff;
}

body.experience-day .pictorial-hair-lengths,
body.experience-day .pictorial-panel-tabs,
body.experience-day .pictorial-panel-special {
    border-color: #eceef2;
}

body.experience-day .pictorial-hair-lengths > strong,
body.experience-day .pictorial-panel-panels section > strong {
    color: #202127;
}

body.experience-day .pictorial-hair-lengths button,
body.experience-day .pictorial-panel-panels section button {
    background: #f4f5f7;
    color: #555963;
}

body.experience-day .pictorial-panel-tabs [data-panel-picker-tab],
body.experience-day .pictorial-panel-special button {
    color: #646873;
}

body.experience-day .pictorial-panel-tabs [data-panel-picker-tab]:hover,
body.experience-day .pictorial-panel-special button:hover {
    color: #202127;
}

body.experience-day .pictorial-panel-special span {
    color: #d5d8de;
}

body.experience-day .pictorial-panel-special button.is-active {
    background: #f1f2f4;
    color: #202127;
}

body.experience-day .pictorial-hair-lengths button.is-active,
body.experience-day .pictorial-panel-tabs [data-panel-picker-tab].is-active,
body.experience-day .pictorial-panel-panels section button.is-active {
    border-color: #17181d;
    background: #17181d;
    color: #fff;
}
body.experience-day .pictorial-panel-panels section button.is-active span {color:#fff;}

body.experience-day .custom-dropdown::after,
body.experience-day .pictorial-panel-picker::after,
body.experience-day .top-profile img:last-child {
    filter: brightness(0);
}

body.experience-day .profile-links a > img,
body.experience-day .profile-links > button > img,
body.experience-day .profile-links .theme-current > img {
    filter: brightness(0);
    opacity: .45;
}

body.experience-day .profile-credit {
    background: #1f1f27;
}

body.experience-day .profile-layer {
    --panel: #1f1f27;
    --text: #f3f3f5;
    --muted: #8a8a94;
    border-color: rgba(255, 255, 255, .08);
    background: #111117;
    color: var(--text);
    box-shadow: 0 22px 54px rgba(0, 0, 0, .46);
    color-scheme: dark;
}

body .profile-layer {
    scrollbar-color: rgba(var(--primary-rgb), .38) #07070a;
}

body .profile-layer::-webkit-scrollbar {
    width: 10px;
}

body .profile-layer::-webkit-scrollbar-track,
body .profile-layer::-webkit-scrollbar-corner {
    background: #07070a;
}

body .profile-layer::-webkit-scrollbar-thumb {
    border: 2px solid #07070a;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .38);
}

body .profile-layer::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--primary-rgb), .56);
}

body.experience-day .modal-root .dropdown-menu {
    border-color: rgba(255, 255, 255, .08);
    background: #111117;
    color: var(--text);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .36);
}

body.experience-day .profile-layer .profile-links a > img,
body.experience-day .profile-layer .profile-links > button > img,
body.experience-day .profile-layer .profile-links .theme-current > img {
    filter: none;
}

body.experience-day .feed-side-section select,
body.experience-day .feed-stream-controls select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%2324262c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body.experience-day .choice-buttons label b,
body.experience-day .fitting-adult-option {
    border-color: #dde0e6;
    background: #fff;
    color: #4d5059;
}

body.experience-day .fitting-upload > label {
    border: 0;
    background: #fff;
}

body.experience-day .fitting-upload.is-dragover > label {
    border: 1px dashed #17181d;
}

body.experience-day .fitting-reference-item {
    border: 0;
}

body.experience-day .fitting-adult-option {
    border: 0;
    background: transparent;
}

body.experience-day .pictorial-prohibited-notice {
    color: #17181d;
}

body.experience-day .auth-check {
    border-color: transparent;
    background: transparent;
    color: #4d5059;
}

body.experience-day .gender-buttons b {
    background: #fff;
    color: #747881;
    box-shadow: none;
}

body.experience-day .gender-buttons input:checked + b {
    background: #17181d;
    color: #fff;
    box-shadow: none;
}

body.experience-day .choice-buttons input:checked + b,
body.experience-day .model-list-type-filter .is-active,
body.experience-day .form-actions .is-active {
    border-color: #17181d;
    background: #17181d;
    color: #fff;
}

body.experience-day .swatch-field b {
    border-color: rgba(17, 18, 23, .22);
}

body.experience-day .swatch-field input:checked + b {
    border-color: var(--primary);
}

body.experience-day .model-makeup-selected-tags span {
    background: #fff;
    color: #202127;
}

body.experience-day .form-actions button[type="reset"] {
    border: 0;
    background: #fff;
    color: #5f636d;
    box-shadow: none;
}

body.experience-day .form-actions button.filter-reset-button {
    border: 0;
    background: #fff;
    box-shadow: none;
}

body.experience-day .form-actions .btn-primary {
    border: 0;
    background: #17181d;
    color: #fff;
    box-shadow: none;
}

body.experience-day .form-actions .btn-primary.is-loading::before {
    border-color: rgba(var(--primary-rgb), .28);
    border-top-color: var(--primary);
}

body.experience-day .movie-storyboard-button {
    border: 0;
    background: #17181d;
    color: #fff;
    box-shadow: none;
}

body.experience-day .generation-status {
    background: #fff;
}

body.experience-day .model-page-guide {
    border-bottom: 0;
    background: transparent;
}

body.experience-day .model-page-guide::before {
    background: rgba(255, 255, 255, .82);
}

body.experience-day .model-page-guide-images img {
    opacity: .72;
    box-shadow: 0 14px 38px rgba(35, 48, 60, .14);
}

body.experience-day .model-page-guide-copy h2 {
    color: #17181d;
}

body.experience-day .model-page-guide-copy p {
    color: #6f737d;
}

body.experience-day .model-page-guide-cta {
    background: #fff;
    color: #17181d;
    box-shadow: none;
}

body.experience-day .membership-box::before {
    background: rgba(var(--primary-rgb), .08);
}

body.experience-day .membership-head > div {
    flex: 1 1 auto;
    min-width: 0;
}

body.experience-day .membership-head h2 {
    white-space: nowrap;
}

body.experience-day .membership-head p {
    flex: 0 1 170px;
}

body.experience-day .benefit li {
    border: 0;
    background: #f6f7f9;
    color: #373941;
}

body.experience-day .membership-price strong,
body.experience-day .membership-notice a,
body.experience-day .notice h3 {
    color: #17181d;
}

body.experience-day .membership-action > a,
body.experience-day .membership-action > button {
    color: #fff;
}

body.experience-day .memory {
    border: 0;
    background: linear-gradient(90deg, #06070a 0%, #06070a 48%, rgba(6, 7, 10, .45) 70%, rgba(6, 7, 10, 0) 100%), url("../image/ex/banner2.png") right center/cover no-repeat;
}

body.experience-day .memory h2 {
    color: #fff;
}

body.experience-day .memory p {
    color: #a8abb4;
}

body.experience-day .chart-grid::before {
    background: repeating-linear-gradient(to bottom, rgba(27, 28, 33, .09) 0 1px, transparent 1px 37px);
}

body.experience-day .chat-conversation {
    border-color: #e0e3e8;
    background: transparent;
}

body.experience-day .chat-conversation-head {
    border-color: #e0e3e8;
}

body.experience-day .chat-date::before,
body.experience-day .chat-date::after {
    background-color: #e0e3e8;
}

body.experience-day .chat-model-item {
    color: #202127;
}

body.experience-day .chat-roster-heading {
    color: #202127;
}

body.experience-day .chat-model-item em {
    color: #70737c;
}

body.experience-day .chat-model-item:hover,
body.experience-day .chat-model-item.is-active {
    border-color: transparent;
    background: #fff;
}

body.experience-day .chat-model-preview-overlay {
    background: rgba(240, 245, 249, .76);
    color: #17181d;
}

body.experience-day .publication-gallery-page .pictorial-list-empty,
body.experience-day .feed-stream-empty.content-list-empty-art,
body.experience-day .chat-empty-state.content-list-empty-art {
    color: #17181d;
}

body.experience-day .publication-gallery-page .pictorial-list-empty img,
body.experience-day .feed-stream-empty.content-list-empty-art img,
body.experience-day .chat-empty-state.content-list-empty-art img {
    filter: brightness(.9) saturate(0);
    mix-blend-mode: multiply;
    opacity: .5;
}

body.experience-day .publication-gallery-page .pictorial-list-empty::after,
body.experience-day .feed-stream-empty.content-list-empty-art::after,
body.experience-day .chat-empty-state.content-list-empty-art::after {
    background: linear-gradient(to right, #f0f5f9 0%, transparent 38%, transparent 62%, #f0f5f9 100%), linear-gradient(to bottom, #f0f5f9 0%, transparent 38%, transparent 62%, #f0f5f9 100%);
}

body.experience-day .publication-gallery-page .pictorial-list-empty span,
body.experience-day .feed-stream-empty.content-list-empty-art > span,
body.experience-day .chat-empty-state.content-list-empty-art > span {
    text-shadow: none;
}

body.experience-day .chat-empty-state.content-list-empty-art p {
    color: #fff;
}

body.experience-day .chat-model-delete {
    color: #8b8e97;
}

body.experience-day .chat-message.is-model p {
    background: #fff;
    color: #25262c;
}

body.experience-day .chat-message.is-typing p i {
    background: #18191e;
}

body.experience-day .chat-message.is-user p {
    background: #18191e;
    color: #fff;
}


body.experience-day .chat-message.is-user .chat-user-voice-content p {
    background: transparent;
    color: #18191e;
}

body.experience-day .chat-message-action {
    border-color: transparent;
    background: #18191e;
    color: #fff;
}

body.experience-day .chat-message-action:hover,
body.experience-day .chat-message-action:focus-visible {
    border-color: transparent;
    background: #30323a;
}

body.experience-day .chat-message.is-image-generating .chat-message-gallery.is-loading {
    background: #fff;
}

body.experience-day .chat-message.is-image-generating .chat-image-loading-dots i {
    background: #18191e;
}

body.experience-day .chat-message-speech {
    color: #8b909a;
}

body.experience-day .chat-message-speech:hover,
body.experience-day .chat-message-speech:focus-visible {
    color: #444851;
}

body.experience-day .chat-message-speech .generation-status-spinner {
    border-color: rgba(79, 83, 93, .2);
    border-top-color: #666b75;
}

body.experience-day .chat-composer-tools button {
    color: #737884;
    opacity: .72;
}

body.experience-day .chat-composer-tools button:hover,
body.experience-day .chat-composer-tools button:focus-visible {
    color: #30333a;
    opacity: 1;
}

body.experience-day .chat-composer-bottom > small {
    color: #8a8e98;
}

body.experience-day .chat-composer,
body.experience-day .chat-usage-card,
body.experience-day .chat-archive-open {
    border-color: #dfe2e8;
    background: #fff;
    color: #25262c;
    box-shadow: 0 8px 24px rgba(29, 31, 38, .06);
}

body.experience-day .chat-composer,
body.experience-day .chat-usage-card {
    border: 0;
}

body.experience-day .chat-usage-card > div {
    background: #e4e7ec;
}

body.experience-day .chat-usage-card > p {
    border-top-color: #dfe2e8;
}

body.experience-day .chat-usage-card > p b,
body.experience-day .chat-usage-card .chat-purchased-tokens b,
body.experience-day .chat-usage-card > p button {
    color: #25262c;
}

body.experience-day .chat-archive {
    border-left-color: #e0e3e8;
}

body.experience-day .chat-archive-head strong {
    color: #202127;
}

body.experience-day .chat-archive-close img {
    filter: brightness(0);
}

body.experience-day .chat-archive-close:hover,
body.experience-day .chat-archive-close:focus-visible {
    background: #eef0f3;
}

body.experience-day .chat-archive-item {
    background: #eef0f3;
}

body.experience-day .chat-composer textarea {
    background: transparent;
}

body.experience-day .image-viewer-root.is-publication .publication-viewer-comments .feed-comment-list {
    background: #1f1f27;
    color: #eee;
}

body.experience-day .image-viewer-root.is-publication .publication-viewer-comments input {
    background: transparent;
    color: #eee;
}

body.experience-day .content-example-section > header h2 {
    color: #17181d;
}

body.experience-day .auth-modal {
    --panel: #1f1f27;
    --panel-dark: #08090d;
    --text: #f3f3f5;
    --muted: #8a8a94;
    --line: #2b2b35;
    color: var(--text);
    color-scheme: dark;
    scrollbar-color: rgba(var(--primary-rgb), .38) #07070a;
}

body.experience-day .model-info-sheet {
    --panel: #1f1f27;
    --panel-dark: #08090d;
    --text: #f3f3f5;
    --muted: #8a8a94;
    --line: #2b2b35;
    color: var(--text);
    color-scheme: dark;
}

body .model-info-sheet,
body .model-info-sheet * {
    scrollbar-color: rgba(var(--primary-rgb), .38) #07070a;
}

body .model-info-sheet::-webkit-scrollbar-track,
body .model-info-sheet::-webkit-scrollbar-corner,
body .model-info-sheet *::-webkit-scrollbar-track,
body .model-info-sheet *::-webkit-scrollbar-corner {
    background: #07070a;
}

body .model-info-sheet::-webkit-scrollbar-thumb,
body .model-info-sheet *::-webkit-scrollbar-thumb {
    border-color: #07070a;
    background: rgba(var(--primary-rgb), .38);
}

body .model-info-sheet::-webkit-scrollbar-thumb:hover,
body .model-info-sheet *::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--primary-rgb), .56);
}

body.experience-day .model-info-sheet .model-info-block {
    border-color: rgba(255, 255, 255, .10);
}

body.experience-day .auth-modal .auth-panel .auth-form input[type="email"],
body.experience-day .auth-modal .auth-panel .auth-form input[type="password"],
body.experience-day .auth-modal .auth-panel .auth-form input[type="text"],
body.experience-day .auth-modal .auth-panel .auth-form input[type="tel"] {
    border: 0;
    background: rgba(255, 255, 255, .035);
    color: var(--text);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .11);
}

body.experience-day .auth-modal .auth-panel .auth-form input::placeholder {
    color: rgba(255, 255, 255, .32);
}

body.experience-day .auth-modal .auth-panel .auth-form input:focus {
    background: rgba(255, 255, 255, .055);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), .8), 0 0 0 3px rgba(var(--primary-rgb), .1);
}

body.experience-day .auth-modal .choice-buttons label b {
    border-color: transparent;
    background: var(--panel);
    color: var(--muted);
}

body.experience-day .auth-modal .choice-buttons input:checked + b {
    border-color: transparent;
    background: var(--primary);
    color: #18171d;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .3);
}

body.experience-day .auth-modal .auth-check {
    color: rgba(255, 255, 255, .62);
}

body.experience-day .auth-modal .auth-check input:not(:checked) + b {
    background: rgba(255, 255, 255, .035);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

body.experience-day .top-profile,
body.experience-day .top-alert,
body.experience-day .top-credit {
    color: #282a31;
}

body.experience-day .top-alert,
body.experience-day .top-credit {
    background: #fff;
}

body .home-page .content,
body .home-page .hero,
body .home-page .feed-card,
body .home-page .pictorial-card,
body .home-page .activity-history,
body .home-page .notice article,
body .home-page .memory,
body .home-page .membership-box,
body .home-page .home-item-showcase,
body .home-page .membership-notice,
body .home-page .creator-box,
body .home-page .right-panel > section,
body .home-page .stat-grid span,
body .home-page .home-live-item {
    box-shadow: none;
}

body.experience-day .home-page .feed-card {
    padding-bottom: 20px;
    border-radius: var(--radius-sm);
}

body.experience-day .home-page .feed-card > .home-feed-media {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

body.experience-day .home-page .feed-card > .meta {
    margin: 24px 20px 16px;
}

body.experience-day .home-page .feed-card > h3 {
    margin: 0 20px 14px;
}

body.experience-day .home-page .feed-card > p {
    margin: 0 20px 18px;
}

body.experience-day .home-page .feed-card > small {
    display: block;
    margin-inline: 20px;
}

body.experience-day .home-page .feed-card > .feed-comments {
    margin: 24px 20px 0;
}

@media (max-width: 1280px) {
    .sidebar.left-panel {
        grid-template-columns: 42px auto minmax(0, 1fr) auto;
    }

    .experience-switch {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        width: 142px;
        margin: 0 8px 0 auto;
    }

    .sidebar.left-panel > .side-user {
        grid-column: 4;
        grid-row: 1;
    }

    body.experience-day .side-menu-toggle span {
        background: #17181d;
    }

    .experience-switch + .nav {
        margin-top: 0;
    }

    body.experience-day .content {
        border-radius: 0;
        box-shadow: none;
    }

    body.experience-day .model-builder {
        box-shadow: 0 -8px 22px rgba(29, 31, 38, .055);
    }

    body.experience-day .model-builder:not(.is-collapsed) {
        box-shadow: 0 -8px 22px rgba(29, 31, 38, .055);
    }

    body.experience-day .model-builder.is-collapsed + .model-builder-collapse-hint {
        box-shadow: 0 8px 24px rgba(29, 31, 38, .05);
    }

    body.experience-day .sidebar.left-panel {
        background: rgba(240, 245, 249, .98);
        border-bottom-color: #dfe2e8;
    }

    body.experience-day .sidebar .nav {
        background: rgba(240, 245, 249, .98);
    }

    body.experience-day .sidebar .nav-close span {
        background: #17181d;
    }
}

@media (max-width: 768px) {
    .sidebar.left-panel > .side-user .top-profile > span,
    .sidebar.left-panel > .side-user .top-profile > img:last-child {
        display: none;
    }
}

@media (max-width: 520px) {
    .sidebar.left-panel {
        grid-template-columns: 42px 48px minmax(0, 1fr) auto;
        gap: 8px;
    }

    .sidebar.left-panel > .brand img {
        width: 48px;
    }

    .experience-switch {
        width: 118px;
        margin-right: 0;
    }

    .experience-switch a,
    .experience-switch button {
        height: 29px;
        padding: 0 5px;
        font-size: 12px;
    }
}

.chat-composer-input-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.chat-composer-input-row textarea {
    min-width: 0;
    flex: 1 1 auto;
}

.chat-user-image-preview {
    position: relative;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    overflow: hidden;
    border-radius: 9px;
    background: #202128;
}

.chat-user-image-preview[hidden] {
    display: none;
}

.chat-user-image-preview > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-user-image-preview > .generation-status-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(255, 255, 255, .28);
    border-top-color: var(--primary);
}

.chat-user-image-preview.is-ready > .generation-status-spinner {
    display: none;
}

.chat-user-image-preview > button {
    position: absolute;
    top: 4px;
    right: 4px;
    display: grid;
    width: 22px;
    height: 22px;
    padding: 0;
    place-items: center;
    border-radius: 50%;
    background: rgba(12, 13, 16, .78);
    color: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.chat-composer.is-image-dragging {
    outline: 2px solid rgba(var(--primary-rgb), .7);
    outline-offset: -2px;
}

.chat-user-message-content {
    display: flex;
    width: fit-content;
    max-width: calc(100% - 48px);
    flex: 0 1 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
}

.chat-message.is-user .chat-user-message-content > p {
    width: fit-content;
    max-width: 100%;
}

.chat-user-message-image {
    display: block;
    max-width: min(280px, 100%);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: zoom-in;
}

.chat-user-message-image > img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
}

body.experience-day .chat-user-image-preview {
    background: #eef0f3;
}

body.experience-day .chat-user-image-preview > .generation-status-spinner {
    border-color: rgba(24, 25, 30, .18);
    border-top-color: #18191e;
}

@media (max-width: 720px) {
    .chat-user-image-preview {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
    }

    .chat-user-message-image {
        max-width: min(240px, 100%);
    }
}
.mp-purchase-immediate-agree{align-items:flex-start;margin-top:14px}.mp-purchase-immediate-agree>span{color:var(--muted);font-size:13px;font-weight:300;line-height:1.5}
