/* The sealed prediction: a performance, with no secret inputs. */
.prediction-theatre{position:relative;isolation:isolate;overflow:hidden;border:1px solid #bfa57e40;background:radial-gradient(ellipse at 50% 35%,#2635493b,transparent 65%),#0a0e14;box-shadow:0 30px 110px #0004}
.prediction-theatre:before{content:"";position:absolute;inset:9px;border:1px solid #bfa57e13;pointer-events:none;z-index:-1}
.prediction-top,.prediction-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 30px;font-size:9px;letter-spacing:.15em;color:#c4b99f}.prediction-top{border-bottom:1px solid #bfa57e25}.prediction-top>span{display:flex;align-items:center;gap:10px}.prediction-top i{width:4px;height:4px;background:#c6ad83;box-shadow:0 0 12px #c6ad8377;border-radius:50%}.prediction-top>div{display:flex;gap:22px}.prediction-top button{background:none;border:0;color:#c8c2b6;font-size:9px;letter-spacing:.1em;padding:8px 0;min-height:36px}.prediction-top button:hover{color:#ead5ae}.prediction-bottom{border-top:1px solid #bfa57e25;font-size:8px;line-height:1.5}
.seal-ledger{display:flex;align-items:center;justify-content:center;gap:12px;padding:18px 22px;color:#b6a689;font-size:8px;letter-spacing:.16em;flex-wrap:wrap;min-height:55px}.seal-ledger-icon{font-size:15px;color:#dbc399}.seal-ledger code{font-size:9px;letter-spacing:.12em;color:#b9b8b2;font-variant-numeric:tabular-nums}
.prediction-stage{position:relative;min-height:610px;padding:28px 40px 55px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;scroll-margin-top:100px}.prediction-stage>*{animation:predictionEnter .6s cubic-bezier(.22,1,.36,1) both}.prediction-stage h3{font:400 clamp(38px,4.7vw,65px)/1.1 var(--serif);letter-spacing:-.035em;color:#f0eadf;max-width:780px;margin:0 0 25px}.prediction-stage h3:focus{outline:none}.prediction-stage h3 em{color:#cfb88f;font-weight:400}.prediction-eyebrow{font-size:9px;letter-spacing:.22em;color:#c6b492;margin:0 0 22px}.prediction-copy{font-size:17px;line-height:1.8;max-width:570px;color:#cac5bb;margin:0 0 22px}.prediction-copy strong{font-weight:500;color:#eee0c9}.prediction-copy.compact{font-size:14px}.prediction-duration{font-size:8px;letter-spacing:.17em;line-height:1.7;color:#aaa191;margin:0 0 28px}.prediction-small{font-size:11px;line-height:1.7;color:#aaa89f;max-width:510px;margin:18px 0 0}
.prediction-actions{display:flex;gap:18px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:16px}.prediction-action{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;min-height:50px;border:1px solid #c5ab804f;background:#d7c3a1;color:#10141b;padding:17px 24px;font-size:10px;letter-spacing:.12em;font-weight:600;transition:background .3s,box-shadow .4s}.prediction-action span{font-size:16px}.prediction-action:hover{background:#e9d7b8;box-shadow:0 5px 40px #c5ab8017}.prediction-action.secondary{background:none;color:#cbbda5;border:0;border-bottom:1px solid #c5ab803b;padding-inline:8px;font-size:10px}.prediction-action.secondary span{order:-1}.prediction-action:disabled{opacity:.5;cursor:default}.prediction-action:focus-visible,.prediction-help summary:focus-visible,.seal-proof summary:focus-visible{outline:2px solid #e9d7b8;outline-offset:5px}
.prediction-envelope{position:relative;width:232px;height:145px;perspective:900px;margin:15px auto 40px;filter:drop-shadow(0 15px 26px #0006);animation:envelopeHover 7s ease-in-out infinite!important}.envelope-paper{position:absolute;left:14px;right:14px;top:-6px;height:130px;background:#c7b699;border:1px solid #f1dfbd55;color:#594a35;padding-top:13px}.envelope-paper>span{font-size:7px;letter-spacing:.22em}.envelope-paper i{display:block;font:italic 16px/1.2 var(--serif);margin-top:18px}.envelope-pocket{position:absolute;inset:0;background:linear-gradient(25deg,#a89473,#d1c0a0);clip-path:polygon(0 0,50% 48%,100% 0,100% 100%,0 100%);border:1px solid #e0caa744}.envelope-flap{position:absolute;inset:0;background:linear-gradient(#d5c5a7,#bca887);clip-path:polygon(0 0,100% 0,50% 60%);transform-origin:top;border-top:1px solid #ede2cb66}.wax-seal{position:absolute;width:39px;height:39px;top:60px;left:calc(50% - 19.5px);display:grid;place-items:center;border-radius:50%;background:radial-gradient(ellipse at 30% 20%,#a18b66,#5c4c32);box-shadow:0 3px 6px #0005,inset 0 0 0 3px #baa27a33;border:1px solid #ba9e6a77;color:#e0cb9e;font:16px Georgia,serif;letter-spacing:-.08em}
.number-motif{display:flex;gap:12px;margin:6px 0 28px}.number-motif span{display:grid;place-items:center;width:57px;height:74px;border:1px solid #bfa57e3b;background:#1d26323b;font:400 40px var(--serif);color:#e5d0ad}.reversal-motif,.addition-motif{display:flex;align-items:center;gap:22px;color:#cbb58f;font:400 36px var(--serif);margin:12px 0 35px}.reversal-motif i{font-style:normal;font-size:25px;opacity:.55}.reversal-motif span:last-child{opacity:.55}.addition-motif{font-size:46px}.addition-motif span{font-size:35px;opacity:.6}
.prediction-help{max-width:520px;width:100%;margin:16px auto 10px;text-align:left;border-top:1px solid #bfa57e23}.prediction-help summary{display:flex;justify-content:space-between;gap:15px;align-items:center;min-height:44px;cursor:pointer;font-size:11px;list-style:none;color:#c1b49e}.prediction-help summary::-webkit-details-marker{display:none}.prediction-help p{font-size:13px;line-height:1.8;color:#b8b8b2;margin:8px 0 18px}.prediction-help[open] summary span{transform:rotate(45deg)}
.symbol-chart{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:min(100%,620px);margin:4px auto 22px}.symbol-tile{border:1px solid #c5ab8038;background:linear-gradient(135deg,#2634453b,#0b101888);padding:12px 8px 10px;display:flex;flex-direction:column;align-items:center;gap:5px}.symbol-tile>span{font:400 20px var(--serif);letter-spacing:.03em;font-variant-numeric:tabular-nums;color:#e4d4b7}.symbol-tile svg{width:35px;height:38px;color:#cab28a;margin:4px 0}.symbol-tile small{font-size:8px;text-transform:uppercase;letter-spacing:.13em;color:#aaa397}
.prediction-stage.chapter-4{padding-top:22px}.chapter-4 h3{font-size:clamp(35px,4vw,55px);margin-bottom:16px}
.prediction-reveal{width:100%;display:flex;flex-direction:column;align-items:center}.revealed-note{position:relative;width:min(100%,370px);padding:25px 30px 30px;background:linear-gradient(115deg,#ded0b4,#c8b796);color:#24231e;border:1px solid #f0dfbe;box-shadow:0 25px 65px #0005;animation:unsealNote 1.15s cubic-bezier(.22,1,.36,1) both;transform-origin:center top}.note-corner{font-size:7px;letter-spacing:.14em;display:block;border-bottom:1px solid #5f523629;padding-bottom:17px}.predicted-number{display:block;font:400 clamp(64px,8vw,96px)/1.1 var(--serif);letter-spacing:.03em;margin:22px 0 15px}.predicted-symbol{display:flex;flex-direction:column;align-items:center;gap:8px}.predicted-symbol svg{width:63px;height:68px;color:#55472d}.predicted-symbol span{font-size:9px;text-transform:uppercase;letter-spacing:.22em}.revealed-note p{font:400 15px/1.7 var(--serif);margin:20px 0}.note-signature{display:block;font:italic 25px var(--serif);text-align:right;color:#776443}.seal-proof{width:min(100%,600px);text-align:left;margin:28px 0 0;border-top:1px solid #bfa57e33}.seal-proof summary{font-size:9px;letter-spacing:.12em;min-height:48px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;color:#c7b691}.seal-proof p{font-size:12px;line-height:1.8;color:#b9b5ab}.seal-proof code{display:block;overflow-wrap:anywhere;font-size:10px;line-height:1.8;padding:12px;background:#ffffff05;color:#cdbd9e}.seal-proof label,.proof-label{display:block;font-size:8px;letter-spacing:.13em;margin:20px 0 10px;color:#bfb29b}.seal-proof textarea{display:block;width:100%;resize:vertical;min-height:95px;background:#ffffff05;color:#cdbd9e;border:1px solid #bfa57e33;font:11px/1.8 monospace;padding:12px}.seal-proof .prediction-action{margin-top:15px}#sealVerification{color:#d8c29c}.prediction-loading{font-size:13px;letter-spacing:.13em;color:#c7b691}
@keyframes predictionEnter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes envelopeHover{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-8px) rotate(1deg)}}@keyframes unsealNote{from{opacity:0;transform:perspective(800px) rotateX(-35deg) translateY(25px) scale(.92)}to{opacity:1;transform:none}}
.motion-paused .prediction-stage *{animation:none!important;transition:none!important}
@media(max-width:840px){.prediction-stage{padding-inline:25px}.prediction-top,.prediction-bottom{padding-inline:22px}.prediction-stage h3{font-size:52px}.prediction-envelope{width:210px;height:133px}}
@media(max-width:540px){.prediction-top{padding:15px;gap:8px;flex-wrap:wrap}.prediction-top>span{font-size:8px}.prediction-top>div{margin-left:auto;gap:15px}.prediction-top button{font-size:8px;min-height:44px}.seal-ledger{padding:14px 12px;font-size:7px;gap:5px 8px;letter-spacing:.1em}.seal-ledger code{font-size:8px}.prediction-stage{min-height:560px;padding:25px 17px 35px;scroll-margin-top:83px}.prediction-stage h3{font-size:clamp(33px,9vw,45px);line-height:1.15;margin-bottom:22px}.prediction-eyebrow{font-size:8px;margin-bottom:18px;letter-spacing:.17em}.prediction-copy{font-size:15px;line-height:1.8}.prediction-duration{font-size:8px;max-width:240px}.prediction-action{font-size:9px;min-height:48px;gap:15px;padding:15px 18px;letter-spacing:.08em}.prediction-actions{gap:8px;flex-direction:column;width:100%;margin-top:15px}.prediction-action.secondary{font-size:10px}.prediction-envelope{width:180px;height:115px;margin:8px auto 33px}.envelope-paper{height:107px}.envelope-paper i{font-size:13px;margin-top:15px}.wax-seal{width:33px;height:33px;left:calc(50% - 16.5px);top:46px;font-size:14px}.prediction-small{font-size:11px;max-width:280px}.prediction-bottom{padding:16px 15px;font-size:7px;gap:15px}.prediction-bottom>span:last-child{max-width:125px;text-align:right}.number-motif span{width:47px;height:62px;font-size:34px}.number-motif{gap:9px}.reversal-motif{font-size:29px;gap:16px}.prediction-help p{font-size:12px}.symbol-chart{gap:6px}.symbol-tile{padding:9px 2px 8px;gap:3px}.symbol-tile>span{font-size:17px}.symbol-tile svg{width:26px;height:29px}.symbol-tile small{font-size:7px;letter-spacing:.06em}.chapter-4 h3{font-size:32px}.prediction-copy.compact{font-size:12px}.revealed-note{padding:20px}.predicted-number{font-size:72px}.note-corner{font-size:6px}.seal-proof{margin-top:24px}.seal-proof summary{font-size:8px;letter-spacing:.07em}}
@media(max-width:365px){.prediction-stage{padding-inline:12px}.prediction-stage h3{font-size:32px}.prediction-top>div{margin-left:0}.prediction-top{justify-content:space-between}.prediction-top>span{font-size:7px}.prediction-top button{font-size:7px}.symbol-tile>span{font-size:16px}.symbol-tile small{font-size:7px}.prediction-action{font-size:8px}.chapter-4 h3{font-size:29px}}
@media(prefers-reduced-motion:reduce){.prediction-stage *{animation:none!important;transition:none!important}}

.seal-before{margin:0 auto 15px;width:min(calc(100% - 40px),600px);font-size:10px;color:#b7aa95}.seal-before[hidden]{display:none}.seal-before summary{cursor:pointer;min-height:30px;display:flex;align-items:center;justify-content:center;gap:12px;list-style:none;font-size:9px;letter-spacing:.06em}.seal-before summary::-webkit-details-marker{display:none}.seal-before code{display:block;font-size:10px;line-height:1.8;overflow-wrap:anywhere;padding:12px;background:#ffffff05}.seal-before p{font-size:11px;line-height:1.7;margin-top:10px;text-align:center}.seal-before[open] summary{margin-bottom:8px}
