
body.dice-page{background:radial-gradient(ellipse at 12% 15%,#f5dce8,transparent 50%),radial-gradient(ellipse at 90% 60%,#ded0ee,transparent 50%),#f5f1f7;color:#302337}.dice-header{max-width:1360px;margin:auto;padding:28px 5%;display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid #cfc0d4}.dice-header .brand{font-size:1.8rem}.page-label{font-size:.64rem;letter-spacing:.16em;color:#69556f}.return-link{font-size:.8rem;min-height:44px;display:flex;align-items:center;border-bottom:1px solid #9e84aa}.dice-main{max-width:1250px;margin:auto;padding:40px 5% 55px}.dice-heading{text-align:center;margin-bottom:34px}.dice-heading .eyebrow{font-size:.62rem;margin-bottom:12px;color:#7b5474}.dice-heading h1{font-size:clamp(1.8rem,3vw,2.65rem);letter-spacing:.07em;line-height:1.5;margin:0 0 15px}.dice-heading>p:last-child{font-size:.88rem;color:#6c5775;margin-top:0}.mobile-break{display:none}.ritual-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.45fr);gap:25px;align-items:stretch}.question-panel{background:#faf7fb;padding:28px;border:1px solid #d3c3da}.question-panel .eyebrow{font-size:.6rem;margin-bottom:12px;color:#785675}.question-panel h2{font-size:1.6rem;margin-bottom:22px}.question-panel label{font-size:.85rem;font-weight:600;display:block;margin-bottom:10px}textarea{display:block;width:100%;resize:vertical;min-height:122px;max-height:350px;background:#fffafd;border:1px solid #a98eb2;border-radius:0;padding:14px;color:#302337;font:inherit;font-size:.88rem;line-height:1.7}textarea::placeholder{color:#806a88}.input-meta{display:flex;gap:12px;margin-top:8px;font-size:.68rem;color:#6c5775;align-items:start}.input-meta>span:last-child{white-space:nowrap}.privacy-note{font-size:.67rem;color:#6c5775;margin-top:14px}.form-error{color:#8a2548;font-size:.8rem;margin-top:8px;min-height:0}.form-error:empty{display:none}.roll-button{width:100%;justify-content:space-between;background:linear-gradient(120deg,#634174,#8b5576);color:white;border:1px solid #634174;cursor:pointer;margin-top:18px;min-height:52px}.roll-button:disabled{cursor:wait;opacity:.7}.how-it-works{border-top:1px solid #d6c8db;margin-top:22px;padding-top:12px;font-size:.75rem;color:#63506c}.how-it-works summary{cursor:pointer;min-height:40px;display:flex;align-items:center}.how-it-works p{margin-top:12px}.dice-stage{background:radial-gradient(ellipse at 50% 80%,#b87da650,transparent 65%),linear-gradient(135deg,#2b1d3a,#4d335d);color:#f4e8f8;padding:28px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.dice-stage:before{content:"";position:absolute;inset:0;background-image:radial-gradient(#eeddf4 1px,transparent 1px);background-size:79px 91px;opacity:.2;pointer-events:none}.dice-stage>*{position:relative}.stage-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.stage-top .eyebrow{margin:0;font-size:.58rem;color:#e5cee6;letter-spacing:.14em}.stage-top>span{color:#e7cce2;white-space:nowrap}.dice-tray{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:27px 0 14px}.die-card{text-align:center;min-width:0}.die-card>p:first-child{font-size:.78rem;margin:0}.die-card>p>span{display:block;font:8px/1.5 Georgia;letter-spacing:.17em;color:#dac1df}.die-object{position:relative;width:100%;aspect-ratio:1;display:grid;place-items:center;margin:10px 0}.die-object img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 15px 16px #12071d60)}.die-card:nth-child(2) .die-object img{filter:hue-rotate(15deg) drop-shadow(0 15px 16px #12071d60)}.die-card:nth-child(3) .die-object img{filter:hue-rotate(-15deg) drop-shadow(0 15px 16px #12071d60)}.die-glyph{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-family:"Times New Roman","Apple Symbols",serif;font-size:clamp(30px,4vw,56px);line-height:1;color:#fff1ff;text-shadow:0 2px 2px #35203f,0 0 12px #f8c9f580}.house-glyph{font-size:clamp(28px,3.5vw,48px)}.die-card h3{font-size:1.05rem;color:#f4e8f8}.die-key{font-size:.7rem!important;color:#dcc6e2;margin-top:5px}.roll-status{font-size:.8rem;min-height:1.8em;text-align:center;color:#efd9ed;margin-top:12px}.stage-bottom{border-top:1px solid #b89ac04d;display:flex;justify-content:space-around;padding-top:16px;margin-top:20px;font:8px Georgia;letter-spacing:.25em;color:#e4cfe6}.is-rolling .die-object{animation:tumble .65s ease-in-out infinite}.is-rolling .die-card:nth-child(2) .die-object{animation-delay:-.18s}.is-rolling .die-card:nth-child(3) .die-object{animation-delay:-.35s}@keyframes tumble{0%,100%{transform:translateY(0) rotate(-7deg) scale(.95)}25%{transform:translateY(-18px) rotate(17deg) scale(.9)}65%{transform:translateY(-5px) rotate(-20deg) scale(1)}}.reading-panel{margin-top:28px;padding:32px;background:#fffafd;border:1px solid #cbb4ce;scroll-margin-top:25px}.reading-panel[hidden]{display:none}.reading-head{display:flex;justify-content:space-between;gap:20px;align-items:center}.reading-head .eyebrow{font-size:.6rem;color:#7d5579;margin-bottom:12px}.reading-head h2{font-size:1.7rem}.reset-button{background:none;border:1px solid #9b7aa5;color:#63416e;padding:10px 15px;min-height:44px;font-size:.8rem;cursor:pointer;white-space:nowrap}.question-label{font-size:.65rem;color:#745b7e;margin-top:25px}.asked-question{font-family:var(--serif);font-size:1.15rem;margin-top:5px;overflow-wrap:anywhere;white-space:pre-wrap}.result-combination{display:inline-block;background:#eee3f2;color:#674373;padding:8px 14px;font-size:.85rem;margin-top:18px}.reading-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-top:28px}.reading-columns h3{font-size:1.1rem;margin-bottom:12px}.reading-columns p{font-size:.87rem;line-height:1.95;color:#65516e}.reading-panel blockquote{margin:28px 0 15px;padding:18px 22px;border-left:2px solid #a27299;background:#f5e9f0;color:#704d6a;font-size:.92rem}.reading-note{font-size:.7rem;color:#6c5775}.dice-footer{max-width:1250px;margin:auto;padding:25px 5%;font-size:.7rem;color:#6c5775;display:flex;justify-content:space-between;gap:20px}.noscript-message{padding:25px;text-align:center}button:focus-visible,textarea:focus-visible{outline:3px solid #a35a8b;outline-offset:4px}@media(hover:hover){.roll-button:not(:disabled):hover{color:white;box-shadow:0 7px 18px #663c7730;transform:translateY(-2px)}.reset-button:hover{background:#eee3f2}}@media(max-width:850px){.ritual-layout{grid-template-columns:1fr}.dice-main{max-width:680px;padding-top:30px}.page-label{display:none}.dice-stage{min-height:360px}.reading-columns{grid-template-columns:1fr;gap:20px}.die-glyph{font-size:52px}.house-glyph{font-size:44px}}@media(max-width:480px){.dice-header{padding:20px 6%;gap:14px}.dice-header .brand{font-size:1.5rem}.return-link{font-size:.7rem}.dice-main{padding-inline:5%}.dice-heading{margin-bottom:24px}.dice-heading h1{font-size:1.6rem;letter-spacing:.02em}.dice-heading>p:last-child{font-size:.8rem}.mobile-break{display:block}.question-panel,.dice-stage{padding:22px 18px}.stage-top{gap:8px}.stage-top .eyebrow{font-size:.48rem}.stage-top>span{font-size:.8rem}.dice-tray{padding-top:22px}.die-glyph{font-size:34px}.house-glyph{font-size:30px}.die-card h3{font-size:.9rem}.die-key{font-size:.62rem!important}.die-card>p:first-child{font-size:.7rem}.reading-panel{padding:24px 20px}.reading-head{align-items:start;flex-direction:column}.reading-head h2{font-size:1.4rem}.reading-panel blockquote{padding:16px}.dice-footer{flex-direction:column;gap:6px}.input-meta{font-size:.65rem}}@media(prefers-reduced-motion:reduce){.is-rolling .die-object{animation:none}.roll-button{transition:none}}

/* v2: one shared three-dimensional tray and a vertical ritual. */
.dice-main { max-width:1120px; }
.ritual-layout { display:flex; flex-direction:column; gap:24px; }
.question-panel { display:grid; grid-template-columns:.75fr 1.5fr; gap:0 36px; padding:25px 30px; align-items:center; }
.question-panel>.eyebrow { grid-column:1; align-self:end; margin-bottom:8px; }
.question-panel>h2 { grid-column:1; align-self:start; margin:0; }
.question-panel form { grid-column:2; grid-row:1/3; }
.question-panel textarea { min-height:90px; }
.question-panel .privacy-note { margin-top:9px; }
.dice-stage { padding:24px 30px 20px; min-height:0; }
.shared-dice-tray { width:100%; min-width:0; }
#dice-canvas { width:100%; height:330px; display:block; }
.dice-outcomes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; text-align:center; padding-top:4px; }
.dice-outcomes article { border-top:1px solid #c9afd04f; padding-top:12px; min-width:0; }
.outcome-type { font-size:.68rem; letter-spacing:.1em; color:#e8cde8; display:block; }
.outcome-glyph { font:22px/1.5 "Times New Roman","Apple Symbols",serif; color:#fff1fd; }
.dice-outcomes h3 { font-size:1rem; display:inline; margin-left:8px; }
.dice-outcomes p { font-size:.72rem; color:#dfc8e5; margin-top:4px; }
.dice-stage .roll-status { margin-top:16px; margin-bottom:0; }
.dice-stage .stage-bottom { margin-top:14px; padding-top:12px; }
.dice-action-panel { max-width:620px; margin:22px auto 0; }
.dice-action-panel .roll-button { margin-top:0; justify-content:center; gap:24px; font-size:1.05rem; min-height:58px; }
.dice-action-panel .how-it-works { margin-top:18px; }
@media(max-width:700px) { .question-panel { display:block; padding:22px; }.question-panel h2 { margin:8px 0 18px; font-size:1.4rem; }.question-panel textarea { min-height:100px; }.dice-stage { padding:20px 14px 18px; }#dice-canvas { height:280px; }.dice-outcomes { gap:8px; }.outcome-glyph { font-size:21px; display:block; }.dice-outcomes h3 { display:block; margin-left:0; font-size:.88rem; }.dice-outcomes p { font-size:.65rem; }.stage-top .eyebrow { letter-spacing:.1em; }.dice-main { padding-top:28px; }.dice-heading { margin-bottom:26px; } }
@media(max-width:380px) { #dice-canvas { height:235px; }.dice-outcomes h3 { font-size:.8rem; } }
/* v3: larger reading typography while retaining normal document reflow. */
.question-panel label { font-size:1rem; }
.question-panel textarea { font-size:1.05rem; line-height:1.8; min-height:112px; }
.input-meta { font-size:.85rem; line-height:1.8; }
.privacy-note { font-size:.82rem; line-height:1.8; }
.form-error { font-size:.95rem; }
.question-panel h2 { font-size:1.85rem; }
.dice-action-panel { max-width:760px; }
.how-it-works { font-size:1rem; line-height:1.95; }
.how-it-works summary { font-size:1rem; min-height:48px; }
.reading-head h2 { font-size:2rem; }
.reset-button { font-size:.95rem; }
.question-label { font-size:.85rem; }
.asked-question { font-size:1.3rem; }
.result-combination { font-size:1rem; }
.reading-columns { gap:30px; }
.reading-columns h3 { font-size:1.25rem; }
.reading-columns p { font-size:1.05rem; line-height:1.95; }
.reading-panel blockquote { font-size:1.05rem; line-height:1.9; }
.reading-note { font-size:.85rem; line-height:1.85; }
.dice-outcomes h3 { font-size:1.15rem; }
.dice-outcomes p { font-size:.85rem; }
.outcome-type { font-size:.8rem; }.outcome-glyph { font-size:27px; color:#f0d198; }
.roll-status { font-size:.95rem; }
@media(max-width:850px) { .reading-columns { grid-template-columns:1fr; } }
@media(max-width:700px) { .question-panel h2 { font-size:1.55rem; }.question-panel textarea { font-size:1rem; }.input-meta { font-size:.8rem; }.privacy-note { font-size:.78rem; }.reading-head h2 { font-size:1.6rem; }.reading-columns p,.reading-panel blockquote { font-size:1rem; }.reading-columns h3 { font-size:1.2rem; }.how-it-works { font-size:.95rem; }.dice-outcomes h3 { font-size:1rem; }.dice-outcomes p { font-size:.75rem; }.outcome-type { font-size:.73rem; } }
.dice-heading .dice-page-timeframe { margin-top:14px; font-size:.9rem; color:#765570; }

.question-timeframe { font-size:.9rem; line-height:1.85; color:#765570; margin-top:10px; }
@media(max-width:700px) { .question-timeframe { font-size:.85rem; } }

.dice-heading .dice-brand-art{display:block;width:170px;height:auto;margin:0 auto 18px;mix-blend-mode:multiply}.dice-header .brand-with-logo{display:flex;align-items:center;gap:10px}.dice-header .brand-wordmark{font-size:1.4rem}.dice-footer{justify-content:center;text-align:center}.reading-columns p{overflow-wrap:anywhere}@media(max-width:480px){.dice-heading .dice-brand-art{width:140px}.dice-header .brand-wordmark{font-size:1.1rem}.dice-header .brand-icon{width:32px;height:32px}}

.dice-brand-art,.brand-seal-new img{mask-image:radial-gradient(ellipse 64% 64% at 50% 50%,#000 60%,transparent 100%)}

/* Brand art becomes a quiet side illustration, rather than a separate hero block. */
.dice-heading{position:relative;isolation:isolate;min-height:190px;display:flex;flex-direction:column;justify-content:center;padding:26px 210px 26px 25px;text-align:left;overflow:hidden;border-bottom:1px solid #d5c6d950}
.dice-heading .dice-brand-art{position:absolute;z-index:-1;pointer-events:none;right:8px;top:50%;transform:translateY(-50%);width:185px;height:auto;margin:0;opacity:.56;mix-blend-mode:multiply}
.dice-heading .eyebrow{margin:0 0 12px}.dice-heading h1{font-size:clamp(1.6rem,3vw,2.4rem)}
.dice-header .brand-with-logo .brand-name-zh{font-size:14px}.dice-header .brand-with-logo .brand-name-en{font-size:27px}
@media(max-width:700px){.dice-heading{min-height:180px;padding:22px 105px 22px 0}.dice-heading .dice-brand-art{width:145px;right:-42px;opacity:.25}.dice-heading h1{font-size:1.5rem;line-height:1.6}.dice-heading .eyebrow{font-size:.5rem;letter-spacing:.1em}.dice-heading>p:last-child{font-size:.85rem;line-height:1.85}.dice-header .brand-with-logo .brand-name-zh{font-size:12px}.dice-header .brand-with-logo .brand-name-en{font-size:24px}.dice-header .brand-icon{width:38px;height:38px}}

/* Keep the introduction focused on the ritual, without large brand artwork. */
.dice-heading{min-height:0;padding:30px 10px;text-align:center;align-items:center}
.dice-header .brand-with-logo .brand-name-en{font-size:32px}
@media(max-width:700px){.dice-heading{min-height:0;padding:24px 0}.dice-heading h1{font-size:1.6rem}.dice-header .brand-with-logo .brand-name-en{font-size:29px}}
