/*
 * 问卜四页参考图还原（PC）。
 * 仅覆盖 1180px 以上的精确指针设备；移动端继续使用既有样式和交互。
 */

.oracle-cast-question-ref,
.oracle-cast-progress-ref,
.oracle-cast-method-title,
.oracle-result-meta-ref {
  display: none;
}

@media (min-width: 1180px) {
  :root {
    --oracle-ref-paper: rgba(255, 253, 249, 0.91);
    --oracle-ref-paper-solid: #fffdf9;
    --oracle-ref-ink: #25231f;
    --oracle-ref-muted: #746d64;
    --oracle-ref-line: rgba(105, 81, 50, 0.19);
    --oracle-ref-line-soft: rgba(105, 81, 50, 0.12);
    --oracle-ref-red: #bd3228;
    --oracle-ref-red-dark: #a92a21;
    --oracle-ref-green: #376e57;
    --oracle-ref-green-soft: #edf3ed;
    --oracle-ref-gold: #ae8950;
    --oracle-ref-shadow: 0 14px 36px rgba(75, 56, 35, 0.055);
  }

  /* 解梦录入 */
  .workspace:not(.is-auth-route) > .dream-screen[data-screen="dream"] {
    width: min(calc(100vw - 168px), 1432px);
    max-width: 1432px;
    min-height: calc(100dvh - 82px);
    padding: 28px 0 16px;
  }

  .dream-screen[data-screen="dream"].is-active {
    display: grid;
    grid-template-columns: minmax(0, 774px) minmax(420px, 625px);
    grid-template-rows: 80px 676px;
    gap: 18px 32px;
    align-content: start;
  }

  .dream-screen[data-screen="dream"] > .fortune-top {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 80px;
    padding: 0;
    border: 0;
  }

  .dream-screen[data-screen="dream"] > .dream-form {
    grid-column: 1;
    grid-row: 2;
    align-content: start;
    height: 676px;
    min-height: 0;
    gap: 12px 16px;
    padding: 30px 35px 32px;
    overflow: auto;
    border: 1px solid var(--oracle-ref-line);
    border-radius: 15px;
    background: var(--oracle-ref-paper);
    box-shadow: var(--oracle-ref-shadow);
    scrollbar-width: thin;
  }

  .dream-screen[data-screen="dream"] .dream-main-field,
  .dream-screen[data-screen="dream"] .dream-helper,
  .dream-screen[data-screen="dream"] .dream-emotion-group,
  .dream-screen[data-screen="dream"] .dream-other-emotion-field,
  .dream-screen[data-screen="dream"] .dream-voice-panel,
  .dream-screen[data-screen="dream"] .dream-submit {
    grid-column: 1 / -1;
  }

  .dream-screen[data-screen="dream"] .dream-field,
  .dream-screen[data-screen="dream"] .dream-emotion-group {
    gap: 10px;
  }

  .dream-screen[data-screen="dream"] .dream-field > span,
  .dream-screen[data-screen="dream"] .dream-emotion-group strong {
    color: var(--oracle-ref-ink);
    font-size: 18px;
    font-weight: 820;
    letter-spacing: 0.08em;
  }

  .dream-screen[data-screen="dream"] .dream-field textarea {
    min-height: 262px;
    padding: 18px 18px 54px;
    border-color: var(--oracle-ref-line);
    border-radius: 12px;
    background: rgba(255, 255, 253, 0.72);
    font-size: 15px;
    line-height: 1.8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  }

  .dream-screen[data-screen="dream"] .dream-field input {
    min-height: 50px;
    border-color: var(--oracle-ref-line);
    border-radius: 10px;
    background: rgba(255, 255, 253, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  }

  .dream-screen[data-screen="dream"] .dream-helper {
    min-height: 0;
    margin: -5px 2px 0;
    color: rgba(37, 35, 31, 0.46);
    font-size: 11px;
  }

  .dream-screen[data-screen="dream"] .dream-emotion-group {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px 10px;
  }

  .dream-screen[data-screen="dream"] .dream-emotion-group button {
    min-height: 43px;
    border-color: var(--oracle-ref-line);
    border-radius: 10px;
    background: rgba(255, 254, 251, 0.68);
    color: #6d665d;
    font-size: 14px;
  }

  .dream-screen[data-screen="dream"] .dream-emotion-group button.is-active {
    border-color: rgba(55, 110, 87, 0.58);
    background: rgba(237, 243, 237, 0.88);
    color: var(--oracle-ref-green);
    box-shadow: inset 0 0 0 1px rgba(55, 110, 87, 0.05);
  }

  .dream-screen[data-screen="dream"] .dream-submit {
    min-height: 68px;
    margin-top: 8px;
    border-radius: 10px;
    background:
      linear-gradient(90deg, rgba(30, 80, 59, 0.98), rgba(52, 105, 81, 0.96)),
      url("/prototype/assets/oracle-ink/dream/dream-entry-mist-v1.webp") center / cover no-repeat;
    color: #fffdf7;
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: 0.12em;
    box-shadow: 0 12px 28px rgba(40, 91, 69, 0.17);
  }

  .dream-screen[data-screen="dream"] > .dream-entry-hero {
    grid-column: 2;
    grid-row: 2;
    height: 676px;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--oracle-ref-line);
    border-radius: 15px;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.08), rgba(255, 253, 248, 0.12)),
      url("/prototype/assets/oracle-ink/dream/dream-entry-top-v2.webp") center 42% / cover no-repeat;
    box-shadow: var(--oracle-ref-shadow);
  }

  .dream-screen[data-screen="dream"] > .dream-entry-hero::before,
  .dream-screen[data-screen="dream"] > .dream-entry-hero::after {
    display: none;
  }

  .dream-screen[data-screen="dream"] .dream-desktop-intro {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 86px 40px 0;
    color: var(--oracle-ref-ink);
    text-align: center;
  }

  .dream-screen[data-screen="dream"] .dream-desktop-intro strong {
    order: 1;
    max-width: none;
    margin: 0;
    color: var(--oracle-ref-ink);
    font-size: 31px;
    font-weight: 760;
    letter-spacing: 0.14em;
  }

  .dream-screen[data-screen="dream"] .dream-desktop-intro small {
    order: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    color: var(--oracle-ref-red);
    font-family: var(--serif);
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .dream-screen[data-screen="dream"] .dream-desktop-intro small::before,
  .dream-screen[data-screen="dream"] .dream-desktop-intro small::after {
    width: 42px;
    height: 1px;
    background: rgba(105, 81, 50, 0.24);
    content: "";
  }

  .dream-screen[data-screen="dream"] .dream-desktop-intro p {
    order: 3;
    max-width: 28em;
    margin: 15px 0 0;
    color: #6f685f;
    font-size: 14px;
    line-height: 1.75;
  }

  .dream-screen[data-screen="dream"] .dream-desktop-intro span {
    order: 4;
    margin-top: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #5f5a52;
    font-size: 13px;
  }

  /* 梦象解读 */
  .workspace:not(.is-auth-route) > .dream-screen[data-screen="dream-result"] {
    width: min(calc(100vw - 188px), 1428px);
    max-width: 1428px;
    min-height: calc(100dvh - 82px);
    padding: 28px 0 18px;
  }

  .dream-screen[data-screen="dream-result"].is-active {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 80px auto;
    gap: 18px;
    align-content: start;
  }

  .dream-screen[data-screen="dream-result"] > .fortune-top {
    grid-row: 1;
    min-height: 80px;
    padding: 0;
    border: 0;
  }

  .dream-screen[data-screen="dream-result"] > .dream-report {
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 374px;
    grid-template-rows: 370px 44px 60px auto;
    gap: 20px 22px;
    min-height: 687px;
    margin: 0;
    padding: 0;
  }

  .dream-screen[data-screen="dream-result"] .dream-report-body {
    grid-column: 1;
    grid-row: 1 / span 4;
    align-content: start;
    min-height: 687px;
    padding: 10px 42px 30px;
    border: 1px solid var(--oracle-ref-line);
    border-radius: 16px;
    background: var(--oracle-ref-paper);
    box-shadow: var(--oracle-ref-shadow);
  }

  .dream-screen[data-screen="dream-result"] .dream-report-body section {
    padding: 25px 0;
    border-bottom: 1px solid var(--oracle-ref-line-soft);
  }

  .dream-screen[data-screen="dream-result"] .dream-report-body .dream-report-titleline {
    padding-top: 24px;
  }

  .dream-screen[data-screen="dream-result"] .dream-report-titleline > span {
    color: var(--oracle-ref-green);
    font-size: 12px;
  }

  .dream-screen[data-screen="dream-result"] .dream-report-titleline h2 {
    margin-top: 10px;
    color: var(--oracle-ref-ink);
    font-size: 30px;
    line-height: 1.35;
  }

  .dream-screen[data-screen="dream-result"] .dream-confidence {
    margin-top: 6px;
    padding-left: 0;
    border-left: 0;
  }

  .dream-screen[data-screen="dream-result"] .dream-confidence b {
    color: #777067;
    font-size: 13px;
    font-weight: 500;
  }

  .dream-screen[data-screen="dream-result"] .dream-report-body h2 {
    color: var(--oracle-ref-ink);
    font-size: 23px;
    letter-spacing: 0.08em;
  }

  .dream-screen[data-screen="dream-result"] .dream-report-body p,
  .dream-screen[data-screen="dream-result"] .dream-report-body li {
    color: #625b53;
    font-size: 15px;
    line-height: 1.92;
  }

  .dream-screen[data-screen="dream-result"] .dream-symbol-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .dream-screen[data-screen="dream-result"] .dream-symbol-list article {
    grid-template-columns: 205px minmax(0, 1fr);
    min-height: 214px;
    padding: 14px 16px;
    border: 1px solid var(--oracle-ref-line-soft);
    border-radius: 14px;
    background: rgba(255, 253, 249, 0.58);
  }

  .dream-screen[data-screen="dream-result"] .dream-symbol-list img {
    width: 205px;
    height: 146px;
    align-self: center;
    object-fit: contain;
    opacity: 0.9;
  }

  .dream-screen[data-screen="dream-result"] .dream-symbol-list strong {
    color: var(--oracle-ref-green);
    font-size: 19px;
  }

  .dream-screen[data-screen="dream-result"] .dream-report-wash {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 370px;
    min-height: 0;
    margin: 0;
    padding: 12px 8px 6px;
    border: 1px solid var(--oracle-ref-line);
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(252, 250, 245, 0.96), rgba(246, 242, 234, 0.88));
    object-fit: contain;
    opacity: 0.86;
    box-shadow: var(--oracle-ref-shadow);
  }

  .dream-screen[data-screen="dream-result"] .dream-report-source {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0 22px;
    border: 1px solid rgba(55, 110, 87, 0.12);
    border-radius: 9px;
    background: rgba(237, 243, 237, 0.76);
    color: #66806f;
    font-size: 13px;
  }

  .dream-screen[data-screen="dream-result"] .dream-report-source::before {
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--oracle-ref-green);
    color: #fff;
    content: "✓";
    font-size: 10px;
  }

  .dream-screen[data-screen="dream-result"] .dream-report-actions {
    grid-column: 2;
    grid-row: 3;
    margin: 0 22px;
  }

  .dream-screen[data-screen="dream-result"] .dream-report-actions button {
    min-height: 60px;
    border-radius: 10px;
    background: linear-gradient(90deg, #30694f, #3d765c);
    font-size: 18px;
    box-shadow: 0 10px 24px rgba(48, 105, 79, 0.16);
  }

  .dream-screen[data-screen="dream-result"] .dream-report-disclaimer {
    grid-column: 2;
    grid-row: 4;
    align-self: start;
    min-height: 132px;
    margin: 20px 0 0;
    padding: 20px 22px;
    border: 1px solid var(--oracle-ref-line);
    border-radius: 13px;
    background: rgba(255, 253, 249, 0.68);
    color: #746d64;
    font-size: 12px;
    line-height: 1.8;
  }

  .dream-screen[data-screen="dream-result"] .dream-report-disclaimer::before {
    display: block;
    margin-bottom: 8px;
    color: #4e4a44;
    content: "只给视角，不替现实下结论";
    font-size: 13px;
    font-weight: 760;
  }

  /* 起卦 */
  .workspace:not(.is-auth-route) > .oracle-screen[data-screen="oracle-cast"] {
    box-sizing: border-box;
    width: min(calc(100vw - 96px), 930px);
    max-width: 930px;
    min-height: 916px;
    margin: 30px auto;
    padding: 26px 102px 28px;
    border: 1px solid var(--oracle-ref-line);
    border-radius: 9px;
    background: rgba(255, 253, 249, 0.82);
    box-shadow: var(--oracle-ref-shadow);
  }

  .oracle-screen[data-screen="oracle-cast"].is-active {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 132px 42px 110px 40px 80px 351px 104px;
    gap: 0;
    align-content: start;
  }

  .oracle-screen[data-screen="oracle-cast"] > .fortune-top {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1fr !important;
    place-items: start center;
    min-height: 132px;
    padding: 30px 0 0;
    border: 0;
  }

  .oracle-screen[data-screen="oracle-cast"] > .fortune-top .fortune-title {
    grid-column: 1;
    width: 100% !important;
    justify-items: center !important;
    text-align: center !important;
  }

  .oracle-screen[data-screen="oracle-cast"] > .fortune-top .fortune-title h1 {
    font-size: 42px;
    letter-spacing: 0.12em;
  }

  .oracle-screen[data-screen="oracle-cast"] > .fortune-top .fortune-title .sub {
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 0.1em;
  }

  .oracle-screen[data-screen="oracle-cast"] > .fortune-top .icon-button:first-child,
  .oracle-screen[data-screen="oracle-cast"] > .fortune-top .icon-button:last-child {
    position: absolute !important;
    top: 0;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .oracle-screen[data-screen="oracle-cast"] > .fortune-top .icon-button:first-child {
    left: 0;
  }

  .oracle-screen[data-screen="oracle-cast"] > .fortune-top .icon-button:last-child {
    right: 0;
  }

  .oracle-cast-question-ref {
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--oracle-ref-ink);
    font-family: var(--serif);
    font-size: 17px;
    letter-spacing: 0.04em;
  }

  .oracle-cast-question-ref strong {
    max-width: calc(100% - 116px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .oracle-cast-question-ref button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #6f685f;
    font-size: 13px;
  }

  .oracle-cast-question-ref svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
  }

  .oracle-cast-progress-ref {
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    margin: 0;
    padding: 14px 12px 0;
    list-style: none;
  }

  .oracle-cast-progress-ref li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 9px;
    color: #898278;
    font-size: 13px;
  }

  .oracle-cast-progress-ref li:not(:last-child)::after {
    position: absolute;
    top: 13px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    border-top: 1px dashed rgba(105, 81, 50, 0.26);
    content: "";
  }

  .oracle-cast-progress-ref i {
    z-index: 1;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(105, 81, 50, 0.4);
    border-radius: 50%;
    background: #fffdf9;
    font-style: normal;
  }

  .oracle-cast-progress-ref .is-active,
  .oracle-cast-progress-ref .is-done {
    color: var(--oracle-ref-red);
  }

  .oracle-cast-progress-ref .is-active i {
    border: 2px solid var(--oracle-ref-red);
    box-shadow: inset 0 0 0 5px #fffdf9;
    background: var(--oracle-ref-red);
  }

  .oracle-cast-progress-ref .is-done i {
    border-color: #57534c;
    color: #44413c;
  }

  .oracle-screen[data-screen="oracle-cast"] > .oracle-copy {
    display: none !important;
  }

  .oracle-cast-method-title {
    grid-row: 4;
    display: flex;
    align-items: center;
    color: #625b53;
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 650;
    letter-spacing: 0.08em;
  }

  .oracle-screen[data-screen="oracle-cast"] > .oracle-cast-method {
    grid-column: 1;
    grid-row: 5;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    height: 80px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--oracle-ref-line);
    border-radius: 9px;
    background: rgba(255, 253, 249, 0.44);
    box-shadow: none;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-method-card {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 2px 10px;
    align-content: center;
    justify-content: stretch;
    min-height: 78px;
    padding: 10px 16px;
    border: 0;
    border-right: 1px solid var(--oracle-ref-line);
    border-radius: 0;
    background: transparent;
    text-align: left;
    transform: none;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-method-card:last-child {
    border-right: 0;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-method-card::before {
    position: static;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    border: 1px solid rgba(105, 81, 50, 0.45);
    border-radius: 50%;
    background: #fffdf9;
    content: "";
    opacity: 1;
    transform: none;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-method-card.is-active {
    border-color: var(--oracle-ref-red);
    background: rgba(255, 251, 247, 0.68);
    color: var(--oracle-ref-red);
    box-shadow: inset 0 0 0 1px var(--oracle-ref-red);
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-method-card.is-active::before {
    border: 5px solid #fffdf9;
    outline: 2px solid var(--oracle-ref-red);
    background: var(--oracle-ref-red);
    content: "";
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-method-card small {
    display: none;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-method-card strong {
    grid-column: 2;
    grid-row: 1;
    color: #48433d;
    font-size: 15px;
    font-weight: 650;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-method-card span {
    grid-column: 2;
    grid-row: 2;
    display: block;
    overflow: hidden;
    color: #817a70;
    font-size: 11px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-cast-stage {
    position: relative;
    grid-column: 1;
    grid-row: 6;
    display: block;
    height: 351px;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-cast-stage::before {
    position: absolute;
    top: 20px;
    left: -8px;
    width: 320px;
    height: 240px;
    border: 1px solid rgba(105, 81, 50, 0.08);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 253, 249, 0.76), transparent 68%);
    content: "";
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-mountain-art {
    right: auto;
    bottom: 38px;
    left: -14px;
    width: 340px;
    opacity: 0.14;
    filter: sepia(0.16);
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-coin-button {
    position: absolute;
    top: 66px;
    left: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 310px;
    min-height: 180px;
    border: 0;
    background: transparent;
    transform: none;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-coin-button > span:last-child {
    position: absolute;
    top: 215px;
    left: 0;
    width: 724px;
    color: #70695f;
    font-size: 13px;
    text-align: center;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-coin-tray {
    width: 246px;
    transform: scale(0.92);
  }

  .oracle-screen[data-screen="oracle-cast"] [data-cast-idle-coins] {
    position: absolute;
    top: 82px;
    left: 32px;
    display: flex !important;
    width: 246px;
    opacity: 0.86;
    transform: scale(0.92);
  }

  .oracle-screen[data-screen="oracle-cast"] [data-cast-idle-coins][hidden] {
    display: none !important;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-hex-lines {
    position: absolute;
    top: 26px;
    right: 0;
    width: 278px;
    margin: 0;
    transform: none;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-cast-steps {
    position: absolute;
    top: 26px;
    right: 290px;
    display: grid;
    grid-template-rows: repeat(6, 1fr);
    gap: 0;
    width: 38px;
    height: 220px;
    margin: 0;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-step-pill {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #817a70;
    font-size: 13px;
    white-space: nowrap;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-step-pill.is-current,
  .oracle-screen[data-screen="oracle-cast"] .oracle-step-pill.is-moving {
    color: var(--oracle-ref-red);
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-cast-number {
    display: none;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-cast-note {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    margin: 0;
    color: #6f685f;
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-cast-actions {
    grid-column: 1;
    grid-row: 7;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-cast-desktop-guide,
  .oracle-screen[data-screen="oracle-cast"] .oracle-cast-status-panel,
  .oracle-screen[data-screen="oracle-cast"] .oracle-ai-status {
    display: none !important;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-cast-actions .oracle-button {
    min-height: 63px;
    margin: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #bd281f, #c8342a);
    color: #fffaf5;
    font-family: var(--serif);
    font-size: 21px;
    letter-spacing: 0.1em;
    box-shadow: 0 10px 22px rgba(169, 42, 33, 0.15);
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-cast-actions .oracle-button:disabled {
    filter: none;
    opacity: 0.86;
  }

  .oracle-screen[data-screen="oracle-cast"] .oracle-credit-cost {
    background: rgba(255, 255, 255, 0.18);
  }

  /* 解卦结果 */
  .workspace:not(.is-auth-route) > .oracle-screen[data-screen="oracle-result"] {
    width: min(calc(100vw - 78px), 1410px);
    max-width: 1410px;
    min-height: calc(100dvh - 82px);
    padding: 20px 0 18px;
  }

  .oracle-screen[data-screen="oracle-result"].is-active {
    display: grid;
    grid-template-columns: minmax(0, 1.675fr) minmax(430px, 1fr);
    grid-template-rows: 100px 20px 214px auto auto;
    gap: 12px 22px;
    align-content: start;
  }

  .oracle-screen[data-screen="oracle-result"] > .fortune-top {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1fr !important;
    min-height: 100px;
    padding: 0;
    border: 0;
  }

  .oracle-screen[data-screen="oracle-result"] > .fortune-top .fortune-title {
    grid-column: 1;
    width: 100% !important;
    justify-items: start !important;
    align-self: start;
    text-align: left !important;
  }

  .oracle-screen[data-screen="oracle-result"] > .fortune-top .fortune-title h1 {
    font-size: 38px;
  }

  .oracle-screen[data-screen="oracle-result"] > .fortune-top .icon-button:first-child,
  .oracle-screen[data-screen="oracle-result"] > .fortune-top .icon-button:last-child {
    position: absolute !important;
    top: 28px;
    width: 44px;
    height: 38px;
    min-width: 44px;
    min-height: 38px;
  }

  .oracle-screen[data-screen="oracle-result"] > .fortune-top .icon-button:first-child {
    right: 56px;
  }

  .oracle-screen[data-screen="oracle-result"] > .fortune-top .icon-button:last-child {
    right: 0;
  }

  .oracle-result-meta-ref {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #56514b;
    font-family: var(--serif);
    font-size: 16px;
    letter-spacing: 0.04em;
  }

  .oracle-result-meta-ref time {
    color: #6f685f;
    font-size: 13px;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-result-visual {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    height: 214px;
    min-height: 214px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--oracle-ref-line);
    border-radius: 8px;
    background: rgba(255, 253, 249, 0.72);
    box-shadow: none;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-result-visual::before,
  .oracle-screen[data-screen="oracle-result"] .oracle-result-visual::after {
    position: absolute;
    bottom: 0;
    z-index: 0;
    width: 222px;
    height: 197px;
    background: center / contain no-repeat;
    content: "";
    opacity: 0.78;
    pointer-events: none;
    mix-blend-mode: multiply;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-result-visual::before {
    left: 12px;
    background-image: url("/prototype/assets/oracle-reference-v4/oracle-result-taiji-v1.png");
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-result-visual::after {
    right: 22px;
    width: 200px;
    height: 199px;
    background-image: url("/prototype/assets/oracle-reference-v4/oracle-result-thunder-v1.png");
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-result-bg {
    inset: 0 210px;
    width: auto;
    height: 100%;
    background: url("/prototype/assets/oracle-ink/oracle-landscape-v2.webp") center 68% / 85% auto no-repeat;
    opacity: 0.09;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-result-hexes {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(250px, 1fr) 190px minmax(250px, 1fr);
    align-items: center;
    gap: 28px;
    width: min(100% - 420px, 820px);
    height: 100%;
    margin: 0 auto;
    padding: 20px 0;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-hex-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 28px 1fr;
    gap: 8px 10px;
    align-items: center;
    justify-items: start;
    min-width: 0;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-hex-label {
    grid-column: 1;
    grid-row: 1;
    color: #49453f;
    font-size: 15px;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-gua-name {
    grid-column: 2;
    grid-row: 1;
    color: #292723;
    font-size: 18px;
    font-weight: 650;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-mini-hex {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 5px;
    width: 180px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    filter: none;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-mini-hex .yao-line {
    height: 16px;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-mini-hex .yao-line::before,
  .oracle-screen[data-screen="oracle-result"] .oracle-mini-hex .yao-line::after {
    top: 5px;
    height: 5px;
    background: var(--oracle-ref-gold);
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-mini-hex .yao-line.moving::before,
  .oracle-screen[data-screen="oracle-result"] .oracle-mini-hex .yao-line.moving::after {
    background: var(--oracle-ref-red-dark);
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-change-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 190px;
    min-height: 76px;
    padding: 0;
    color: #3c3934;
    font-size: 19px;
    letter-spacing: 0.08em;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-change-mark::before {
    position: absolute;
    right: 0;
    bottom: 12px;
    left: 0;
    width: auto;
    height: 1px;
    background: rgba(143, 99, 61, 0.48);
    content: "";
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-change-mark::after {
    position: absolute;
    right: -1px;
    bottom: 7px;
    width: 10px;
    height: 10px;
    border-top: 1px solid rgba(143, 99, 61, 0.54);
    border-right: 1px solid rgba(143, 99, 61, 0.54);
    content: "";
    transform: rotate(45deg);
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-result-copy {
    grid-column: 1;
    grid-row: 4;
    align-self: stretch;
    height: 427px;
    min-height: 427px;
    max-height: 427px;
    margin: 0;
    padding: 28px 30px;
    border: 1px solid var(--oracle-ref-line);
    border-radius: 8px;
    background: rgba(255, 253, 249, 0.72);
    box-shadow: none;
    overflow: auto;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-result-copy::before {
    margin-bottom: 14px;
    color: #4d4943;
    content: "卦象解读";
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-result-copy h2 {
    margin: 0;
    color: var(--oracle-ref-ink);
    font-size: 28px;
    line-height: 1.42;
    letter-spacing: 0.08em;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-result-copy p {
    margin-top: 13px;
    color: #5f5951;
    font-size: 14px;
    line-height: 1.85;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-answer-grid {
    grid-column: 2;
    grid-row: 4;
    align-self: stretch;
    height: 427px;
    min-height: 427px;
    max-height: 427px;
    margin: 0;
    padding: 18px 30px;
    border: 1px solid var(--oracle-ref-line);
    border-radius: 8px;
    background: rgba(255, 253, 249, 0.72);
    box-shadow: none;
    overflow: auto;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-answer-grid::before {
    display: block;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--oracle-ref-line-soft);
    color: #403c37;
    content: "起卦摘要";
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-answer-grid > div {
    min-height: 78px;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--oracle-ref-line-soft);
    border-radius: 0;
    background: transparent;
    color: #5f5951;
    font-size: 13px;
    line-height: 1.7;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-answer-grid > div:last-child {
    border-bottom: 0;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-answer-grid strong {
    display: inline-grid;
    place-items: center;
    min-width: 32px;
    height: 25px;
    margin-right: 14px;
    border-radius: 50%;
    background: var(--oracle-ref-green);
    color: #fffdf8;
    font-size: 12px;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-answer-grid .warn strong {
    background: var(--oracle-ref-red-dark);
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-report-longform {
    grid-column: 1 / -1;
    grid-row: 5;
    margin: 6px 0 0;
    padding: 26px 30px;
    border: 1px solid var(--oracle-ref-line);
    border-radius: 8px;
    background: rgba(255, 253, 249, 0.72);
    box-shadow: none;
  }

  .oracle-screen[data-screen="oracle-result"] .oracle-report-longform p,
  .oracle-screen[data-screen="oracle-result"] .oracle-report-longform li {
    font-size: 14px;
    line-height: 1.85;
  }

  @media (max-width: 1320px) {
    .dream-screen[data-screen="dream"].is-active {
      grid-template-columns: minmax(0, 1.24fr) minmax(390px, 1fr);
      gap: 18px 24px;
    }

    .dream-screen[data-screen="dream-result"] > .dream-report {
      grid-template-columns: minmax(0, 1fr) 340px;
    }

    .dream-screen[data-screen="dream-result"] .dream-symbol-list article {
      grid-template-columns: 150px minmax(0, 1fr);
    }

    .dream-screen[data-screen="dream-result"] .dream-symbol-list img {
      width: 150px;
    }

    .oracle-screen[data-screen="oracle-result"] .oracle-result-hexes {
      width: min(100% - 360px, 760px);
    }
  }
}
