/* YiJian interactive culture studio */
:root {
    --studio-paper:#f8f7f3;
    --studio-white:#fff;
    --studio-ink:#242722;
    --studio-muted:#62665d;
    --studio-line:#e3e4dc;
    --studio-accent:#9d382d;
    --studio-radius:18px;
}
body {
    background:var(--studio-paper);
    background-image:none;
    color:var(--studio-ink);
    font-family:var(--sans,system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif);
    letter-spacing:0;
    font-size:16px;
    line-height:1.75;
}
.wrap {
    max-width:1280px;
    padding-left:32px;
    padding-right:32px;
}
.site-header {
    background:#fffefcf5;
    backdrop-filter:blur(14px);
    border-color:var(--studio-line);
}
.header-inner {
    min-height:76px;
}
.brand {
    font-family:var(--serif);
    font-size:27px;
}
.halls-nav {
    gap:24px;
}
.halls-nav a,.halls-nav summary {
    font-size:14px;
}
h1,h2,h3 {
    letter-spacing:-.025em;
}
h1 {
    line-height:1.22;
}
.eyebrow {
    font-size:12px;
    letter-spacing:.06em;
    color:var(--studio-muted);
}
.btn {
    border-radius:10px;
    min-height:46px;
    padding:14px 22px;
    font-family:inherit;
    font-size:15px;
    letter-spacing:0;
    line-height:1.3;
}
.btn-primary {
    background:var(--studio-accent);
}
.btn-ghost {
    border-color:#c9ccc1;
    background:#fff;
    color:var(--studio-ink);
}
.btn:focus-visible,a:focus-visible,button:focus-visible {
    outline:3px solid #9d382d;
    outline-offset:4px;
}
.small-button {
    min-height:44px;
}
.studio-intro {
    padding:54px 0 22px;
}
.studio-intro .experience-hero-grid {
    padding:0;
    gap:64px;
    grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
    align-items:center;
}
.studio-intro h1 {
    font-family:var(--serif);
    font-size:clamp(40px,4.4vw,64px);
    font-weight:500;
    margin:16px 0 24px;
}
.studio-intro h1 em {
    color:var(--studio-accent);
    font-style:normal;
}
.studio-intro .hero-promise {
    font-size:17px;
    max-width:390px;
    color:var(--studio-muted);
}
.studio-intro .hero-proof {
    margin-top:24px;
    gap:18px;
    font-size:12px;
}
.studio-intro .hex-play {
    box-shadow:0 18px 60px #2732260a;
    border:1px solid var(--studio-line);
    border-radius:var(--studio-radius);
    padding:24px;
    background:#fff;
}
.studio-intro .hex-play-body {
    gap:28px;
}
.studio-intro .hex-switches {
    padding:18px;
    background:#f6f5ef;
    border-radius:12px;
}
.studio-intro .hex-play-result strong {
    font-size:42px;
}
.studio-intro .play-note {
    font-size:12px;
}
.studio-halls {
    margin:28px 0 0;
    padding:16px 0;
    border-top:1px solid var(--studio-line);
    border-bottom:1px solid var(--studio-line);
}
.studio-halls .ten-portal {
    margin:0;
    gap:8px;
}
.studio-halls .ten-portal a {
    border:0;
    border-radius:8px;
    background:#fff;
    padding:12px 6px;
}
.studio-halls .ten-portal a:hover {
    background:#eeeae1;
}
.studio-halls .portal-number {
    display:none;
}
.experience-section {
    padding-top:56px;
    padding-bottom:20px;
}
.experience-heading {
    margin-bottom:24px;
    align-items:end;
}
.experience-heading h2,.hall-title,.library-title {
    font-family:var(--serif);
    font-weight:500;
}
.experience-heading h2 {
    font-size:32px;
    line-height:1.4;
    margin:0 0 8px;
}
.experience-heading p {
    font-size:14px;
    max-width:600px;
}
.featured-experiences {
    gap:20px;
}
.featured-experience {
    border-radius:var(--studio-radius);
    overflow:hidden;
    box-shadow:none;
}
.featured-experience:hover {
    transform:translateY(-2px);
    box-shadow:0 12px 32px #222b220a;
}
.featured-experience .experience-art {
    height:190px;
}
.featured-experience h3 {
    font-family:inherit;
    font-size:20px;
    line-height:1.5;
}
.featured-experience p {
    font-size:14px;
}
.featured-experience>div:last-child {
    padding:22px;
}
.experience-go {
    display:block;
    margin-top:18px;
    font-size:14px;
    font-weight:600;
}
.history-topics {
    margin-top:20px;
    flex-wrap:wrap;
    gap:14px;
}
.audience-paths {
    gap:20px;
}
.audience-paths>a {
    border-radius:var(--studio-radius);
    padding:24px;
    background:#fff;
    border:1px solid var(--studio-line);
}
.audience-paths h3 {
    font-size:22px;
}
.audience-paths p {
    font-size:14px;
}
.home-cast-section {
    padding-top:52px;
}
.home-cast {
    box-shadow:none;
    border-radius:var(--studio-radius);
    border-color:var(--studio-line);
}
.study-product-grid {
    gap:20px;
}
.study-product {
    border-radius:var(--studio-radius);
    border:1px solid var(--studio-line);
    background:#fff;
    padding:28px;
}
.study-product .price {
    font-size:32px;
}
.study-product .price small {
    font-size:13px;
}
.product-output span {
    border-radius:6px;
}
.home-visual-grid {
    gap:24px;
}
.user-visual {
    margin:0;
}
.user-visual img {
    display:block;
    border-radius:12px;
}
.home-visual-grid>article {
    background:#fff;
    border:1px solid var(--studio-line);
    border-radius:16px;
    padding:12px;
}
.home-visual-grid>article>a {
    display:block;
    padding:4px 2px 12px;
    font-size:14px;
}
.user-visual figcaption {
    position:static;
    padding:12px 2px;
    font-size:15px;
}
.together-section,.community-strip {
    border-radius:var(--studio-radius);
    margin-top:52px;
    margin-bottom:24px;
    background:#eeeee5;
}
.home-provenance {
    padding-top:20px;
    padding-bottom:48px;
}
.studio-art-strip {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}
.studio-art-strip img {
    display:block;
    width:100%;
    height:230px;
    object-fit:cover;
    border-radius:14px;
}
.studio-art-strip figure {
    margin:0;
}
.studio-art-strip figcaption {
    margin-top:12px;
    font-size:14px;
    color:var(--studio-muted);
}
.hall-section,.library-section {
    padding-top:40px;
}
.hall-title,.library-title {
    font-size:clamp(36px,4vw,54px);
    line-height:1.3;
}
.hall-lead,.library-lead {
    font-size:17px;
    max-width:680px;
}
.hall-grid {
    gap:20px;
}
.hall-door {
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border-radius:var(--studio-radius);
    padding:20px;
    background:#fff;
    border-color:var(--studio-line);
}
.hall-door .experience-art {
    height:190px;
    margin:-20px -20px 20px;
}
.hall-door h2 {
    font-family:inherit;
    font-size:24px;
    margin:8px 0;
}
.hall-door p {
    font-size:15px;
}
.hall-number {
    display:none;
}
.hall-meta {
    font-size:13px;
    margin-top:auto;
    padding-top:12px;
}
.hall-task-action {
    display:block;
    padding-top:12px;
    font-size:14px;
    font-weight:600;
    color:var(--studio-accent);
}
.hall-feature,.task-intro,.task-finish,.card {
    border-radius:var(--studio-radius);
    border-color:var(--studio-line);
    box-shadow:none;
}
.task-intro {
    background:#fff;
    padding:26px;
}
.task-intro h2 {
    font-family:inherit;
    font-size:28px;
}
.hall-feature-mark {
    font-family:var(--serif);
}
.source-details {
    margin-top:24px;
}
.source-details summary {
    min-height:44px;
    padding:10px 0;
    cursor:pointer;
}
.object-layout {
    grid-template-columns:minmax(0,1.65fr) minmax(280px,.85fr);
    gap:28px;
    align-items:start;
}
.study-viewer {
    border-radius:18px;
    overflow:hidden;
    border:1px solid var(--studio-line);
    background:#fff;
}
.viewer-stage {
    min-height:480px;
    background:radial-gradient(ellipse at center,#e8e9df,#d7dace);
    border:0;
}
.viewer-toolbar {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding:16px;
    background:#fff;
}
.study-viewer>p,.study-viewer>noscript {
    padding:0 18px;
}
.viewer-status {
    position:static;
    display:block;
    max-width:none;
    padding:12px 16px;
    background:#fff;
    color:var(--studio-muted);
}
.viewer-start {
    position:static;
    transform:none;
    display:block;
    margin:16px auto;
}
.viewer-fallback {
    max-height:360px;
}
.object-aside {
    padding:24px;
    background:#fff;
    border:1px solid var(--studio-line);
    border-radius:18px;
}
.object-aside h2 {
    font-family:inherit;
    font-size:23px;
}
.line-checks {
    gap:8px;
}
.line-checks label {
    padding:10px 12px;
    border-radius:8px;
    border:1px solid var(--studio-line);
}
.object-card {
    border-radius:18px;
    overflow:hidden;
    border-color:var(--studio-line);
    background:#fff;
}
.object-image {
    height:auto;
    display:flex;
    flex-direction:column;
    align-items:stretch;
}
.object-image img {
    height:230px;
    object-fit:contain;
    width:100%;
}
.object-image>span {
    position:static;
    align-self:flex-start;
    margin:8px 18px 12px;
    color:var(--studio-muted);
    background:transparent;
}
.book-art-label,.book-art-caption {
    position:static;
    display:block;
}
.viewer-fallback.hex-fallback {
    margin:0 auto;
    padding:40px 26px;
}
.reader-shell {
    max-width:1380px;
    gap:30px;
    padding-top:30px;
}
.reader-main {
    min-width:0;
}
.reader-sidebar {
    background:#eeeee7;
    border-radius:12px;
    padding:18px;
}
.reader-toolbar {
    background:#fff;
    border:1px solid var(--studio-line);
    border-radius:12px;
    padding:16px;
    gap:14px;
}
.reader-text {
    max-width:760px;
}
.reader-paragraph {
    scroll-margin-top:110px;
}
.paragraph-meta {
    font-family:inherit;
    font-size:12px;
}
.reader-paragraph .original,.paragraph-text {
    font-family:var(--serif);
    line-height:2;
}
.source-quote {
    border-radius:12px;
    background:#fff;
}
.page-head {
    padding-top:44px;
    padding-bottom:28px;
}
.page-head h1 {
    font-family:var(--serif);
    font-size:42px;
}
.product-preview {
    border:1px solid var(--studio-line);
    border-radius:18px;
    background:#fff;
    padding:24px;
    gap:24px;
}
.preview-paper {
    border-radius:12px;
}
.product-preview h2 {
    font-size:23px;
}
.auth-card {
    border-radius:18px;
    background:#fff;
}
.seg-tab {
    min-height:44px;
}
.course-outcomes article {
    border-radius:12px;
    background:#fff;
}
.course-outcomes article>span {
    font-size:12px;
}
.course-outcomes h3 {
    font-size:22px;
}
.account-workspace {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
    margin-bottom:24px;
}
.account-workspace a {
    display:flex;
    flex-direction:column;
    gap:6px;
    background:#fff;
    border:1px solid var(--studio-line);
    border-radius:14px;
    padding:20px;
    font-size:17px;
    font-weight:600;
}
.account-workspace small {
    font-size:13px;
    color:var(--studio-muted);
    font-weight:400;
}
@media(max-width:1000px) {
    .studio-intro .experience-hero-grid {
        gap:28px;
    }
    .object-layout {
        grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr);
    }
    .featured-experiences {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .account-workspace {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:700px) {
    .wrap {
        padding-left:18px;
        padding-right:18px;
    }
    .header-inner {
        min-height:62px;
    }
    .studio-intro {
        padding-top:22px;
    }
    .studio-intro .experience-hero-grid {
        display:flex;
        flex-direction:column;
        gap:24px;
    }
    .studio-intro .hero-live {
        order:-1;
        width:100%;
    }
    .studio-intro .hex-play {
        padding:16px;
    }
    .studio-intro .hex-play-body {
        gap:16px;
    }
    .studio-intro .hex-play-result strong {
        font-size:34px;
    }
    .studio-intro h1 {
        font-size:36px;
        margin:0 0 14px;
    }
    .studio-intro .hero-proof {
        margin-top:16px;
        gap:12px;
        flex-wrap:wrap;
    }
    .studio-intro .experience-hero-copy {
        width:100%;
    }
    .studio-halls {
        margin-top:12px;
    }
    .studio-halls .ten-portal {
        grid-template-columns:repeat(5,minmax(0,1fr));
        gap:5px;
    }
    .studio-halls .ten-portal strong {
        font-size:12px;
    }
    .studio-halls .ten-portal a {
        padding:11px 0;
    }
    .experience-section {
        padding-top:36px;
    }
    .experience-heading {
        display:block;
    }
    .experience-heading h2 {
        font-size:27px;
    }
    .experience-heading>a {
        display:inline-block;
        margin-top:10px;
    }
    .featured-experiences {
        gap:12px;
    }
    .featured-experience .experience-art {
        height:145px;
    }
    .featured-experience>div:last-child {
        padding:14px;
    }
    .featured-experience h3 {
        font-size:18px;
    }
    .featured-experience p {
        font-size:13px;
    }
    .studio-art-strip {
        grid-template-columns:1fr;
    }
    .studio-art-strip img {
        height:190px;
    }
    .hall-door .experience-art {
        height:160px;
    }
    .hall-grid {
        gap:14px;
    }
    .object-layout {
        display:block;
    }
    .object-aside {
        margin-top:18px;
    }
    .viewer-stage {
        min-height:350px;
    }
    .viewer-toolbar {
        padding:12px;
    }
    .viewer-toolbar button {
        flex:1 0 auto;
    }
    .viewer-fallback {
        max-height:260px;
    }
    .reader-shell {
        padding-top:16px;
        gap:18px;
    }
    .reader-toolbar {
        gap:12px;
    }
    .reader-toolbar input,.reader-toolbar select {
        max-width:100%;
    }
    .page-head h1 {
        font-size:32px;
    }
    .product-preview {
        padding:18px;
    }
    .account-workspace {
        gap:10px;
    }
    .account-workspace a {
        font-size:15px;
        padding:16px;
    }
    .together-section,.community-strip {
        margin-top:32px;
    }
    .audience-paths {
        grid-template-columns:1fr;
    }
}
@media(prefers-reduced-motion:reduce) {
    *,*::before,*::after {
        scroll-behavior:auto!important;
    }
    .featured-experience:hover {
        transform:none;
    }
}
.studio-intro .hex-play {
    background:#1e332a;
    color:#fffaf0;
    border-color:#1e332a;
}
.studio-intro .hex-switches {
    background:#2a4135;
}
.studio-intro .hex-play-result strong,.studio-intro .hex-play-result a {
    color:#fffaf0;
}
.studio-intro .hex-play-result p,.studio-intro .play-note,.studio-intro .play-bottomline,.studio-intro .text-button,.studio-intro .yao-label {
    color:#dae2d1;
}
.studio-intro .free-tag,.studio-intro .hex-play-result>span {
    color:#f0d59d;
}
.studio-intro .play-topline select {
    background:#293f34;
    color:#fffaf0;
    border-color:#7e907c;
}
.studio-intro .yao-bars i {
    background:#ead59f;
}
.studio-intro .yao-hint {
    color:#e8efdf;
}
.reader-hint a,.reader-note a,.form-hint a {
    text-decoration:underline;
    text-underline-offset:.18em;
}
.studio-intro .play-topline>label {
    color:#dae2d1;
}

@media (max-width: 700px) {
    .studio-intro .experience-hero-grid {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* 验收 #7：首屏提问表单（原学习组件 hexplay 移到首屏之后，仍在 .studio-intro 内以沿用其样式） */
.studio-intro .hero-cast { margin:0; max-width:none; }
.studio-intro .hero-cast .question-label { display:block; font-weight:600; margin-bottom:10px; }
.studio-intro .hero-cast-note { margin:10px 0 0; }
.studio-intro .studio-hexplay { margin-top:28px; }
@media(max-width:700px) {
    .studio-intro .hero-live.hero-cast-live { order:0; }
    .studio-intro .studio-hexplay { margin-top:20px; }
}

/* 验收 #19：「点我」提示不透明度 .45 → .7（对比度 3.23:1 → 5.52:1），仍弱于已变爻的 1.0 */
.studio-intro .yao-hint { opacity:.7; }
.studio-intro .is-changed .yao-hint { opacity:1; }
