.oshi-maker-test-page,
.oshi-maker-test-modal {
    position: relative;
    --oshi-maker-test-cta-base: var(--oshi-color, var(--primary));
    --oshi-maker-test-overlay: rgba(2, 6, 23, 0.72);
    --oshi-maker-test-panel-bg: linear-gradient(
        180deg,
        color-mix(in srgb, var(--bg-card) 94%, #101826 6%) 0%,
        color-mix(in srgb, var(--bg-card) 98%, #05080f 2%) 100%
    );
    --oshi-maker-test-panel-border: rgba(148, 163, 184, 0.16);
    --oshi-maker-test-panel-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
    --oshi-maker-test-card-bg: color-mix(in srgb, var(--bg-card) 78%, #0f172a 22%);
    --oshi-maker-test-card-border: rgba(148, 163, 184, 0.14);
    --oshi-maker-test-button-bg: color-mix(in srgb, var(--bg-card) 74%, #020617 26%);
    --oshi-maker-test-button-border: rgba(148, 163, 184, 0.18);
    --oshi-maker-test-cta-bg: linear-gradient(
        135deg,
        color-mix(in srgb, var(--oshi-maker-test-cta-base) 56%, #0c161a 44%) 0%,
        color-mix(in srgb, var(--oshi-maker-test-cta-base) 70%, var(--secondary) 30%) 100%
    );
    --oshi-maker-test-cta-text: #f8fafc;
    --oshi-maker-test-cta-shadow: 0 18px 40px color-mix(in srgb, var(--oshi-maker-test-cta-base) 24%, rgba(2, 6, 23, 0.76) 76%);
    --oshi-maker-test-cta-soft: rgba(255, 255, 255, 0.12);
}
.oshi-maker-test-page {
    isolation: isolate;
    max-width: var(--content-max);
    width: 100%;
    margin: 0 auto;
    padding: 8px 0 120px;
    color: #e8f1ff;
}
.oshi-maker-test-page::before,
.oshi-maker-test-page::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(28px);
    pointer-events: none;
    z-index: 0;
}
.oshi-maker-test-page::before {
    width: 320px;
    height: 320px;
    top: 40px;
    left: -42px;
    background: radial-gradient(circle, rgba(76, 127, 247, 0.16) 0%, rgba(76, 127, 247, 0) 72%);
}
.oshi-maker-test-page::after {
    width: 300px;
    height: 300px;
    right: -40px;
    top: 420px;
    background: radial-gradient(circle, rgba(88, 201, 187, 0.12) 0%, rgba(88, 201, 187, 0) 72%);
}
.oshi-maker-test-page > * {
    position: relative;
    z-index: 1;
}
html[data-theme="light_apple"] .oshi-maker-test-page,
html[data-theme="light"] .oshi-maker-test-page,
html[data-theme="light_apple"] .oshi-maker-test-modal,
html[data-theme="light"] .oshi-maker-test-modal {
    color: #102433;
    --oshi-maker-test-overlay: rgba(12, 22, 26, 0.22);
    --oshi-maker-test-panel-bg: linear-gradient(
        180deg,
        color-mix(in srgb, var(--bg-card) 96%, #ffffff 4%) 0%,
        color-mix(in srgb, var(--bg-card) 90%, #edf3fa 10%) 100%
    );
    --oshi-maker-test-panel-border: rgba(125, 149, 166, 0.24);
    --oshi-maker-test-panel-shadow: 0 20px 60px rgba(12, 22, 26, 0.18);
    --oshi-maker-test-card-bg: color-mix(in srgb, var(--bg-card) 92%, #eef4fb 8%);
    --oshi-maker-test-card-border: rgba(141, 164, 179, 0.34);
    --oshi-maker-test-button-bg: color-mix(in srgb, var(--bg-card) 90%, #edf3fa 10%);
    --oshi-maker-test-button-border: rgba(141, 164, 179, 0.34);
    --oshi-maker-test-cta-bg: linear-gradient(
        135deg,
        color-mix(in srgb, var(--oshi-maker-test-cta-base) 48%, #0c161a 52%) 0%,
        color-mix(in srgb, var(--oshi-maker-test-cta-base) 58%, var(--secondary) 42%) 100%
    );
    --oshi-maker-test-cta-text: #ffffff;
    --oshi-maker-test-cta-shadow: 0 18px 40px color-mix(in srgb, var(--oshi-maker-test-cta-base) 16%, rgba(12, 22, 26, 0.82) 84%);
    --oshi-maker-test-cta-soft: rgba(255, 255, 255, 0.12);
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-test-apply.history-social-btn,
html[data-theme="light"] .oshi-maker-page .oshi-maker-test-apply.history-social-btn {
    background: color-mix(in srgb, var(--oshi-color, var(--primary)) 82%, #0c161a 18%) !important;
    border-color: color-mix(in srgb, var(--oshi-color, var(--primary)) 88%, #0c161a 12%) !important;
    color: #ffffff !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-test-apply.history-social-btn i,
html[data-theme="light"] .oshi-maker-page .oshi-maker-test-apply.history-social-btn i,
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-test-apply.history-social-btn [data-oshi-test-apply-label],
html[data-theme="light"] .oshi-maker-page .oshi-maker-test-apply.history-social-btn [data-oshi-test-apply-label] {
    color: #ffffff !important;
}
.oshi-maker-page .panel.section-card {
    overflow: hidden;
    border-radius: 30px;
}
.oshi-maker-page .oshi-maker-hero {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 30px;
    background: linear-gradient(180deg, rgba(9, 18, 32, 0.98) 0%, rgba(11, 24, 40, 0.98) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 24px 56px rgba(2, 6, 23, 0.22) !important;
}
.oshi-maker-page .oshi-maker-hero::before,
.oshi-maker-page .oshi-maker-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.oshi-maker-page .oshi-maker-hero::before {
    width: 280px;
    height: 280px;
    top: -100px;
    left: -70px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(76, 127, 247, 0.18) 0%, rgba(76, 127, 247, 0) 74%);
    filter: blur(10px);
}
.oshi-maker-page .oshi-maker-hero::after {
    right: -70px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(88, 201, 187, 0.14) 0%, rgba(88, 201, 187, 0) 72%);
    filter: blur(14px);
}
.oshi-maker-hero-copy {
    display: grid;
    gap: 16px;
}
.oshi-maker-hero-mode {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.oshi-maker-hero-mode-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #d7e3f3;
    text-decoration: none;
    font-weight: 700;
}
.oshi-maker-hero-mode-btn.is-active {
    background: color-mix(in srgb, var(--oshi-color, var(--primary)) 74%, #111827 26%);
    color: #ffffff;
}
.oshi-maker-eyebrow {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #fecdd3;
    font-weight: 900;
}
.oshi-maker-hero-title {
    margin: 0;
    font-size: clamp(2rem, 3.8vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #ffffff;
    text-shadow: 0 10px 34px rgba(2, 6, 23, 0.38);
}
.oshi-maker-hero-title span {
    display: block;
    margin-top: 12px;
    font-size: clamp(1.02rem, 1.8vw, 1.24rem);
    line-height: 1.65;
    letter-spacing: 0;
    color: rgba(226, 232, 240, 0.82);
    font-weight: 700;
}
.oshi-maker-hero-sub {
    margin: 0;
    max-width: 760px;
    color: rgba(226, 232, 240, 0.76);
    line-height: 1.8;
}
.oshi-maker-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.oshi-maker-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-size: 0.84rem;
    font-weight: 800;
}
.oshi-maker-page .oshi-alert-panel,
.oshi-maker-page .oshi-maker-form-panel {
    margin-top: 14px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.oshi-maker-test-shell {
    display: grid;
    gap: 18px;
}
.oshi-maker-test-stack {
    display: grid;
    gap: 18px;
}
.oshi-maker-block {
    border-radius: 28px !important;
    padding: 22px !important;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.86) 0%, rgba(8, 15, 35, 0.98) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: 0 20px 42px rgba(2, 6, 23, 0.20) !important;
}
.oshi-maker-step-head {
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
}
.oshi-maker-step-kicker {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fda4af;
    font-weight: 900;
}
.oshi-maker-step-title {
    margin: 0;
    font-size: clamp(1.28rem, 2.6vw, 1.62rem);
    line-height: 1.14;
    letter-spacing: -0.03em;
    color: #ffffff;
}
.oshi-maker-step-copy {
    margin: 0;
    color: rgba(226, 232, 240, 0.74);
    line-height: 1.75;
}
.oshi-member-picker {
    display: grid;
    gap: 14px;
}
.oshi-member-representative {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.oshi-member-representative-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
}
.oshi-member-summary {
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.oshi-maker-page .section-title,
.oshi-maker-page .oshi-member-name,
.oshi-maker-page .oshi-song-section-title,
.oshi-maker-page .oshi-song-meta strong,
.oshi-maker-test-selected-title {
    color: #ffffff;
}
.oshi-maker-page .music-ranking-empty,
.oshi-maker-page .history-affiliation,
.oshi-maker-page .oshi-field-label,
.oshi-maker-page .oshi-song-section-count,
.oshi-maker-page .oshi-song-meta span,
.oshi-maker-test-selected-sub {
    color: rgba(226, 232, 240, 0.68);
}
.oshi-input,
.oshi-textarea {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(8, 15, 31, 0.92);
    color: #f8fbff;
    padding: 13px 14px;
}
.oshi-upload-box {
    width: 100%;
    justify-content: center;
    min-height: 64px;
    border-radius: 22px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}
.oshi-current-image-preview {
    max-width: 100%;
    border-radius: 22px;
}
.oshi-maker-test-summary-head {
    display: grid;
    gap: 16px;
    margin-bottom: 12px;
}

.oshi-maker-step-head.is-tight {
    margin-bottom: 0;
}
.oshi-maker-test-open-btn {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: linear-gradient(135deg, #fb7185 0%, #ff8f52 100%);
    color: #ffffff;
    box-shadow: 0 18px 30px rgba(251, 113, 133, 0.22);
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.oshi-maker-test-open-btn:hover {
    transform: translateY(-1px);
    filter: saturate(1.04);
}
.oshi-maker-test-open-btn:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--primary) 46%, #ffffff 54%);
    outline-offset: 3px;
}
.oshi-maker-test-open-copy {
    display: grid;
    gap: 0;
    min-width: 0;
}
.oshi-maker-test-open-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.25;
}
.oshi-maker-test-open-title i {
    font-size: 1rem;
}
.oshi-maker-test-open-count {
    display: grid;
    justify-items: center;
    gap: 2px;
    min-width: 92px;
    padding: 12px 14px;
    border-radius: 18px;
    background: var(--oshi-maker-test-cta-soft);
    backdrop-filter: blur(10px);
}
.oshi-maker-test-open-count strong {
    font-size: 1.45rem;
    line-height: 1;
}
.oshi-maker-test-open-count span {
    font-size: 0.78rem;
    font-weight: 800;
    opacity: 0.84;
}
.oshi-maker-test-selected-list {
    display: grid;
    gap: 10px;
}
.oshi-maker-test-empty {
    padding: 18px;
    border-radius: 22px;
    border: 1px dashed rgba(148, 163, 184, 0.25);
    color: rgba(226, 232, 240, 0.68);
    background: rgba(255, 255, 255, 0.03);
}
.oshi-maker-test-selected-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.oshi-maker-test-selected-item img {
    width: 92px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
}
.oshi-maker-test-selected-meta {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.oshi-maker-test-selected-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.45;
}
.oshi-maker-test-selected-sub {
    font-size: 0.78rem;
    color: var(--text-dim);
}
.oshi-maker-test-remove {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--oshi-maker-test-button-border);
    background: var(--oshi-maker-test-button-bg);
    color: var(--text-main);
    border-radius: 14px;
    cursor: pointer;
}
.oshi-maker-test-actions {
    justify-content: flex-start;
}
.oshi-maker-test-modal {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: grid;
    place-items: center;
    padding: 20px;
    background: var(--oshi-maker-test-overlay);
}
.oshi-maker-test-modal[hidden] {
    display: none;
}
.oshi-maker-test-modal-panel {
    width: min(980px, 100%);
    height: min(86vh, 920px);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 14px;
    padding: 18px;
    border-radius: 28px;
    border: 1px solid var(--oshi-maker-test-panel-border);
    background: var(--oshi-maker-test-panel-bg);
    box-shadow: var(--oshi-maker-test-panel-shadow);
}
.oshi-maker-test-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.oshi-maker-test-modal-close {
    min-width: 46px;
    min-height: 46px;
    border-radius: 16px;
    border: 1px solid var(--oshi-maker-test-button-border);
    background: var(--oshi-maker-test-button-bg);
    color: var(--text-main);
    cursor: pointer;
}
.oshi-maker-test-modal-toolbar {
    display: grid;
    gap: 10px;
}
.oshi-maker-test-modal-toolbar-top {
    display: flex;
    align-items: center;
    gap: 10px;
}
.oshi-maker-test-modal-count {
    white-space: nowrap;
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--text-dim);
}
.oshi-maker-test-modal-body {
    min-height: 0;
    overflow-y: auto;
    padding-right: 6px;
}
.oshi-maker-test-modal-sections {
    display: grid;
    gap: 12px;
}
.oshi-maker-test-modal-foot {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.oshi-maker-test-clear {
    min-height: 64px;
    padding-inline: 22px;
    border: 1px solid var(--oshi-maker-test-button-border);
    background: var(--oshi-maker-test-button-bg);
    color: var(--text-main);
}
.oshi-maker-test-apply {
    position: relative;
    overflow: hidden;
    flex: 1 1 360px;
    min-width: min(100%, 360px);
    min-height: 112px;
    padding: 24px 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 26px;
    background: color-mix(in srgb, var(--oshi-color, var(--primary)) 82%, #0c161a 18%);
    border: 1px solid color-mix(in srgb, var(--oshi-color, var(--primary)) 88%, #0c161a 12%);
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.oshi-maker-test-apply i {
    color: inherit;
    font-size: 1.28rem;
}
.oshi-maker-test-apply [data-oshi-test-apply-label] {
    display: inline-block;
    transition: font-size 0.18s ease, font-weight 0.18s ease, letter-spacing 0.18s ease, transform 0.18s ease;
}
.oshi-maker-test-apply.is-ready {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.98) 0%,
        color-mix(in srgb, var(--oshi-color, var(--primary)) 14%, rgba(255, 255, 255, 0.98) 86%) 100%
    );
    border-color: color-mix(in srgb, var(--oshi-color, var(--primary)) 68%, rgba(255, 255, 255, 0.38));
    color: color-mix(in srgb, var(--oshi-color, var(--primary)) 72%, #0c161a 28%);
    box-shadow:
        0 20px 44px color-mix(in srgb, var(--oshi-color, var(--primary)) 24%, rgba(2, 6, 23, 0.76) 76%),
        0 0 0 1px color-mix(in srgb, var(--oshi-color, var(--primary)) 56%, transparent),
        0 0 26px color-mix(in srgb, var(--oshi-color, var(--primary)) 20%, transparent);
    animation: oshi-maker-test-ready-pulse 1.8s ease-in-out infinite;
    transform: scale(1.045);
}
.oshi-maker-test-apply.is-ready i {
    color: color-mix(in srgb, var(--oshi-color, var(--primary)) 80%, #0c161a 20%);
    font-size: 1.42rem;
}
.oshi-maker-test-apply.is-ready [data-oshi-test-apply-label] {
    font-size: 1.18rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    transform: translateY(-0.5px);
}
.oshi-maker-test-apply.is-ready:hover {
    transform: translateY(-1px);
    filter: saturate(1.05);
}
@keyframes oshi-maker-test-ready-pulse {
    0%,
    100% {
        box-shadow:
            0 20px 44px color-mix(in srgb, var(--oshi-color, var(--primary)) 24%, rgba(2, 6, 23, 0.76) 76%),
            0 0 0 1px color-mix(in srgb, var(--oshi-color, var(--primary)) 56%, transparent),
            0 0 26px color-mix(in srgb, var(--oshi-color, var(--primary)) 20%, transparent);
    }
    50% {
        box-shadow:
            0 24px 54px color-mix(in srgb, var(--oshi-color, var(--primary)) 34%, rgba(2, 6, 23, 0.7) 66%),
            0 0 0 1px color-mix(in srgb, var(--oshi-color, var(--primary)) 70%, transparent),
            0 0 30px color-mix(in srgb, var(--oshi-color, var(--primary)) 26%, transparent);
    }
}
body.oshi-maker-test-modal-open {
    overflow: hidden;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-hero,
html[data-theme="light"] .oshi-maker-page .oshi-maker-hero {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 246, 252, 0.98) 100%) !important;
    border: 1px solid rgba(141, 164, 179, 0.24) !important;
    box-shadow: 0 20px 60px rgba(12, 22, 26, 0.16) !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-block,
html[data-theme="light"] .oshi-maker-page .oshi-maker-block,
html[data-theme="light_apple"] .oshi-maker-page .oshi-alert-panel,
html[data-theme="light"] .oshi-maker-page .oshi-alert-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 252, 0.98) 100%) !important;
    border: 1px solid rgba(141, 164, 179, 0.22) !important;
    box-shadow: 0 18px 40px rgba(12, 22, 26, 0.10) !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-hero-title,
html[data-theme="light"] .oshi-maker-page .oshi-maker-hero-title,
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-step-title,
html[data-theme="light"] .oshi-maker-page .oshi-maker-step-title,
html[data-theme="light_apple"] .oshi-maker-page .section-title,
html[data-theme="light"] .oshi-maker-page .section-title,
html[data-theme="light_apple"] .oshi-maker-page .oshi-member-name,
html[data-theme="light"] .oshi-maker-page .oshi-member-name,
html[data-theme="light_apple"] .oshi-maker-page .oshi-song-section-title,
html[data-theme="light"] .oshi-maker-page .oshi-song-section-title,
html[data-theme="light_apple"] .oshi-maker-page .oshi-song-meta strong,
html[data-theme="light"] .oshi-maker-page .oshi-song-meta strong,
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-test-selected-title,
html[data-theme="light"] .oshi-maker-page .oshi-maker-test-selected-title {
    color: #102433 !important;
    text-shadow: none !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-hero-title span,
html[data-theme="light"] .oshi-maker-page .oshi-maker-hero-title span,
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-hero-sub,
html[data-theme="light"] .oshi-maker-page .oshi-maker-hero-sub,
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-step-copy,
html[data-theme="light"] .oshi-maker-page .oshi-maker-step-copy,
html[data-theme="light_apple"] .oshi-maker-page .music-ranking-empty,
html[data-theme="light"] .oshi-maker-page .music-ranking-empty,
html[data-theme="light_apple"] .oshi-maker-page .history-affiliation,
html[data-theme="light"] .oshi-maker-page .history-affiliation,
html[data-theme="light_apple"] .oshi-maker-page .oshi-field-label,
html[data-theme="light"] .oshi-maker-page .oshi-field-label,
html[data-theme="light_apple"] .oshi-maker-page .oshi-song-section-count,
html[data-theme="light"] .oshi-maker-page .oshi-song-section-count,
html[data-theme="light_apple"] .oshi-maker-page .oshi-song-meta span,
html[data-theme="light"] .oshi-maker-page .oshi-song-meta span,
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-test-selected-sub,
html[data-theme="light"] .oshi-maker-page .oshi-maker-test-selected-sub {
    color: #3a5566 !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-eyebrow,
html[data-theme="light"] .oshi-maker-page .oshi-maker-eyebrow,
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-step-kicker,
html[data-theme="light"] .oshi-maker-page .oshi-maker-step-kicker {
    color: #d85d79 !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-hero-chip,
html[data-theme="light"] .oshi-maker-page .oshi-maker-hero-chip {
    background: #edf4fb !important;
    border-color: rgba(141, 164, 179, 0.26) !important;
    color: #355061 !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-hero-mode-btn,
html[data-theme="light"] .oshi-maker-page .oshi-maker-hero-mode-btn,
html[data-theme="light_apple"] .oshi-maker-page .oshi-member-representative-chip,
html[data-theme="light"] .oshi-maker-page .oshi-member-representative-chip {
    background: #edf4fb !important;
    color: #102433 !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-hero-mode-btn.is-active,
html[data-theme="light"] .oshi-maker-page .oshi-maker-hero-mode-btn.is-active {
    background: color-mix(in srgb, var(--oshi-color, var(--primary)) 84%, #f3f8fd 16%) !important;
    color: #ffffff !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-hero-chip i,
html[data-theme="light"] .oshi-maker-page .oshi-maker-hero-chip i {
    color: inherit !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-test-open-btn,
html[data-theme="light"] .oshi-maker-page .oshi-maker-test-open-btn {
    background: linear-gradient(135deg, #fff4f7 0%, #ffe7de 100%) !important;
    border: none !important;
    color: #102433 !important;
    box-shadow: none !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-test-open-title,
html[data-theme="light"] .oshi-maker-page .oshi-maker-test-open-title {
    color: #102433 !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-test-open-title i,
html[data-theme="light"] .oshi-maker-page .oshi-maker-test-open-title i {
    color: #d85d79 !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-test-open-count,
html[data-theme="light"] .oshi-maker-page .oshi-maker-test-open-count {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #d85d79 !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-test-open-count strong,
html[data-theme="light"] .oshi-maker-page .oshi-maker-test-open-count strong {
    color: #c24869 !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-test-open-count span,
html[data-theme="light"] .oshi-maker-page .oshi-maker-test-open-count span {
    color: #617989 !important;
    opacity: 1 !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-member-summary,
html[data-theme="light"] .oshi-maker-page .oshi-member-summary,
html[data-theme="light_apple"] .oshi-maker-page .oshi-upload-box,
html[data-theme="light"] .oshi-maker-page .oshi-upload-box,
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-test-selected-item,
html[data-theme="light"] .oshi-maker-page .oshi-maker-test-selected-item,
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-test-empty,
html[data-theme="light"] .oshi-maker-page .oshi-maker-test-empty,
html[data-theme="light_apple"] .oshi-maker-page .oshi-song-option-body,
html[data-theme="light"] .oshi-maker-page .oshi-song-option-body,
html[data-theme="light_apple"] .oshi-maker-page .oshi-song-type-tab,
html[data-theme="light"] .oshi-maker-page .oshi-song-type-tab {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(141, 164, 179, 0.26) !important;
    box-shadow: none !important;
}
@media (max-width: 980px) {
    .oshi-maker-test-selected-item {
        grid-template-columns: 84px minmax(0, 1fr);
    }
    .oshi-maker-test-remove {
        grid-column: 2;
        justify-self: start;
    }
    .oshi-maker-test-modal {
        padding: 0;
    }
    .oshi-maker-test-modal-panel {
        width: 100%;
        height: 100vh;
        max-height: none;
        border-radius: 0;
        padding: 16px;
    }
    .oshi-maker-test-open-btn {
        padding: 16px 18px;
        grid-template-columns: minmax(0, 1fr);
    }
    .oshi-maker-test-open-count {
        justify-self: start;
    }
}
@media (max-width: 640px) {
    .oshi-maker-page .oshi-maker-hero,
    .oshi-maker-block {
        padding: 20px !important;
    }
    .oshi-maker-hero-title {
        font-size: 1.84rem;
    }
    .oshi-maker-test-modal-panel {
        height: 100dvh;
        min-height: 100dvh;
        max-height: 100dvh;
        gap: 8px;
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
        box-sizing: border-box;
    }
    .oshi-maker-test-modal-head {
        gap: 12px;
    }
    .oshi-maker-test-modal-head .music-ranking-empty {
        display: none;
    }
    .oshi-maker-test-modal-close {
        min-width: 40px;
        min-height: 40px;
        border-radius: 12px;
    }
    .oshi-maker-test-modal-toolbar-top {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .oshi-maker-test-modal-count {
        text-align: right;
    }
    .oshi-maker-test-modal-body {
        min-height: 140px;
        padding-right: 0;
    }
    .oshi-maker-test-modal-foot {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 6px;
    }
    .oshi-maker-test-actions .history-social-btn,
    .oshi-maker-test-modal-foot .history-social-btn,
    .oshi-maker-test-open-btn {
        width: 100%;
    }
    .oshi-maker-test-modal-foot .history-social-btn {
        min-height: 32px;
        padding: 6px 12px;
        border-radius: 10px;
        font-size: 0.82rem;
        line-height: 1.1;
    }
    .oshi-maker-test-clear {
        flex: 0 0 auto;
        min-height: 32px;
        padding-inline: 12px;
    }
    .oshi-maker-test-apply {
        flex: 0 0 auto;
        min-width: 100%;
        min-height: 42px;
        padding: 8px 14px;
        border-radius: 10px;
        background: color-mix(in srgb, var(--oshi-color, var(--primary)) 78%, #0c161a 22%) !important;
        border-color: color-mix(in srgb, var(--oshi-color, var(--primary)) 82%, #0c161a 18%) !important;
        color: #f8fafc !important;
        font-size: 0.86rem;
        line-height: 1.1;
        justify-content: center;
    }
    .oshi-maker-test-apply i {
        color: inherit;
        font-size: 0.9rem;
    }
    .oshi-maker-test-apply [data-oshi-test-apply-label] {
        font-size: 0.88rem;
        line-height: 1;
    }
    .oshi-maker-test-apply.is-ready {
        background: color-mix(in srgb, var(--oshi-color, var(--primary)) 84%, #0c161a 16%) !important;
        border-color: color-mix(in srgb, var(--oshi-color, var(--primary)) 88%, #0c161a 12%) !important;
        color: #ffffff !important;
        transform: none;
    }
    .oshi-maker-test-apply.is-ready i {
        color: inherit;
        font-size: 0.94rem;
    }
    .oshi-maker-test-apply.is-ready [data-oshi-test-apply-label] {
        font-size: 0.9rem;
        letter-spacing: 0;
        transform: none;
    }
    .oshi-maker-test-open-title {
        font-size: 1.06rem;
    }
}
.oshi-maker-page {
    --oshi-maker-panel-pad: var(--page-panel-pad-lg);
}
.oshi-maker-page :is(
    .panel.section-card,
    .oshi-maker-block,
    .oshi-maker-hero-chip,
    .oshi-input,
    .oshi-textarea,
    .oshi-upload-box,
    .oshi-member-summary,
    .oshi-maker-test-open-btn,
    .oshi-maker-test-open-count,
    .oshi-maker-test-empty,
    .oshi-maker-test-selected-item,
    .oshi-maker-test-remove,
    .oshi-maker-test-modal-panel,
    .oshi-maker-test-modal-close,
    .oshi-maker-test-clear,
    .oshi-maker-test-apply,
    .oshi-song-option-body,
    .oshi-song-type-tab,
    .oshi-current-image-preview,
    .oshi-remove-image-chip
) {
    border: none !important;
    box-shadow: none !important;
}
.oshi-maker-page .oshi-maker-hero,
.oshi-maker-page .oshi-maker-block,
.oshi-maker-page .oshi-maker-test-modal-panel {
    padding: var(--oshi-maker-panel-pad) !important;
}
.oshi-maker-page .oshi-maker-hero-title {
    font-size: var(--page-hero-title-size);
    line-height: 1.08;
}
.oshi-maker-page .oshi-maker-hero-title span {
    font-size: var(--page-hero-subtitle-size);
    line-height: 1.66;
}
.oshi-maker-page .oshi-maker-hero-sub,
.oshi-maker-page .oshi-maker-step-copy {
    font-size: var(--page-body-size);
    line-height: 1.72;
}
.oshi-maker-page .oshi-maker-eyebrow,
.oshi-maker-page .oshi-maker-step-kicker {
    font-size: var(--page-body-size-sm);
}
.oshi-maker-page .oshi-maker-step-title,
.oshi-maker-page .section-title,
.oshi-maker-page .oshi-song-section-title {
    font-size: var(--page-section-title-size);
    line-height: 1.24;
}
.oshi-maker-page .oshi-maker-hero-chip,
.oshi-maker-page .history-affiliation,
.oshi-maker-page .oshi-field-label,
.oshi-maker-page .oshi-song-section-count,
.oshi-maker-page .oshi-song-meta span,
.oshi-maker-page .oshi-maker-test-selected-sub {
    font-size: var(--page-body-size-sm);
    line-height: 1.56;
}
.oshi-maker-page .oshi-input,
.oshi-maker-page .oshi-textarea {
    font-size: var(--page-body-size);
}
.oshi-maker-page .oshi-input:focus,
.oshi-maker-page .oshi-textarea:focus,
.oshi-maker-page .oshi-maker-test-modal-close:focus-visible,
.oshi-maker-page .oshi-maker-test-clear:focus-visible,
.oshi-maker-page .oshi-maker-test-apply:focus-visible,
.oshi-maker-page .oshi-maker-test-remove:focus-visible,
.oshi-maker-page .oshi-maker-test-open-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.18) !important;
}
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-hero,
html[data-theme="light"] .oshi-maker-page .oshi-maker-hero,
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-block,
html[data-theme="light"] .oshi-maker-page .oshi-maker-block,
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-test-modal-panel,
html[data-theme="light"] .oshi-maker-page .oshi-maker-test-modal-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 247, 251, 0.98) 100%) !important;
}
html[data-theme="light_apple"] .oshi-maker-page :is(
    .oshi-maker-hero-chip,
    .oshi-member-summary,
    .oshi-upload-box,
    .oshi-maker-test-selected-item,
    .oshi-maker-test-empty,
    .oshi-song-option-body,
    .oshi-song-type-tab,
    .oshi-input,
    .oshi-textarea,
    .oshi-maker-test-open-count,
    .oshi-maker-test-remove,
    .oshi-maker-test-modal-close,
    .oshi-maker-test-clear
),
html[data-theme="light"] .oshi-maker-page :is(
    .oshi-maker-hero-chip,
    .oshi-member-summary,
    .oshi-upload-box,
    .oshi-maker-test-selected-item,
    .oshi-maker-test-empty,
    .oshi-song-option-body,
    .oshi-song-type-tab,
    .oshi-input,
    .oshi-textarea,
    .oshi-maker-test-open-count,
    .oshi-maker-test-remove,
    .oshi-maker-test-modal-close,
    .oshi-maker-test-clear
) {
    background: #f3f8fd !important;
}
@media (max-width: 980px) {
    .oshi-maker-page {
        --oshi-maker-panel-pad: var(--page-panel-pad-md);
    }
}
