.sansara-fortune-page { --fortune-teal: #087f79; --fortune-ink: #102f31; --fortune-gold: #e5bb65; background: #f7fbfa; }
.sansara-fortune-page .site-content, .sansara-fortune-page .content-shell, .sansara-fortune-page .content-card { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.sansara-fortune-page .content-card > h1 { display: none; }
.sansara-fortune-page .entry-content { margin: 0; }
.fortune-wheel-page { color: var(--fortune-ink); background: radial-gradient(ellipse at 78% 32%, #d9f2ed 0, transparent 49%), #f7fbfa; padding: 0 24px 44px; }
.fortune-wheel-page *, .fortune-wheel-page *::before, .fortune-wheel-page *::after { box-sizing: border-box; }
.fortune-wheel-page [hidden] { display: none !important; }
.fortune-wheel-page button, .fortune-wheel-page a { -webkit-tap-highlight-color: transparent; }
.fortune-wheel-page button { font-family: inherit; }
.fortune-wheel-page :focus-visible { outline: 3px solid #0c8c85; outline-offset: 5px; }
.fortune-hero { width: min(1180px, 100%); min-height: 710px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 60px; padding: 44px 0; }
.fortune-copy { min-width: 0; padding-bottom: 10px; }
.fortune-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 25px; color: #087f79; font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.fortune-kicker > span { width: 7px; height: 7px; border-radius: 50%; background: #b08a3d; box-shadow: 0 0 0 5px #ecdfbf66; }
.fortune-copy h1 { margin: 0; color: #102f31; font-size: clamp(42px, 4.7vw, 68px); font-weight: 850; line-height: 1.03; letter-spacing: -.065em; text-transform: none; }
.fortune-copy h1 em { color: #078b83; font-style: normal; }
.fortune-lead { margin: 22px 0 0; color: #597071; font-size: 17px; line-height: 1.65; }
.fortune-countdown { margin-top: 28px; }
.fortune-countdown-caption { display: block; color: #536d6d; font-size: 13px; margin-bottom: 9px; }
.fortune-clock { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid #d4e5e1; border-radius: 16px; background: #ffffffb8; }
.fortune-clock div { display: grid; gap: 1px; min-width: 35px; text-align: center; }
.fortune-clock b { font-size: 24px; font-variant-numeric: tabular-nums; font-weight: 750; line-height: 1.2; }
.fortune-clock span { color: #627776; font-size: 12px; }
.fortune-clock i { color: #99b1ad; font-size: 20px; font-style: normal; margin-bottom: 15px; }
.fortune-access { max-width: 390px; margin-top: 22px; padding: 17px 19px; border: 1px solid #d2e3df; border-radius: 17px; background: #ffffffb8; }
.fortune-access strong { display: block; font-size: 15px; font-weight: 750; }
.fortune-access p { margin: 6px 0 10px; color: #5b7270; font-size: 14px; line-height: 1.5; }
.fortune-access a { display: inline-flex; align-items: center; gap: 12px; min-height: 30px; color: #087f79; font-size: 14px; font-weight: 750; text-decoration: none; }
.fortune-signature { display: flex; align-items: center; gap: 5px; margin: 32px 0 0; color: #68807c; font-size: 13px; }
.fortune-signature strong { color: #254c47; font-weight: 700; }
.fortune-signature > span { color: #b28d46; margin-left: 12px; font-size: 24px; }
.fortune-stage { min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; padding: 22px 8px 0; }
.fortune-wheel-frame { width: min(540px, 100%); aspect-ratio: 1; position: relative; border-radius: 50%; padding: 13px; background: linear-gradient(145deg, #fff6d7, #d0a356 45%, #f7df9d 70%, #ba8c40); border: 1px solid #b99551; box-shadow: 0 22px 48px #113e3924, 0 0 0 6px #fff, 0 0 0 7px #c5ded6; container-type: inline-size; }
.fortune-wheel-frame::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 1px solid #fffae7ab; pointer-events: none; }
.fortune-wheel { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; background: #07494a; box-shadow: 0 0 0 2px #073d3d; }
.fortune-wheel.is-moving { will-change: transform; }
.fortune-wheel svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fortune-wheel path { stroke: #edd69c; stroke-width: .33; }
.fortune-wheel path.is-winning { fill: #fff2c4; }
.fortune-wheel-frame.is-spinning { box-shadow: 0 22px 48px #113e3924, 0 0 0 6px #fff, 0 0 0 8px #78cfc3; }
.fortune-sector-label { position: absolute; width: var(--label-width); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff9e9; transform: translate(-50%, -50%) rotate(var(--prize-angle)); text-align: center; line-height: 1.1; }
.fortune-sector-label.is-light { color: #153c38; }
.fortune-sector-label.is-winning { color: #163e37; }
.fortune-sector-label strong { max-width: 100%; font-size: clamp(13px, 4.2cqi, 24px); font-weight: 850; letter-spacing: -.045em; overflow-wrap: anywhere; }
.fortune-sector-label small { display: block; max-width: 100%; font-size: clamp(12px, 2.5cqi, 14px); font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.fortune-sector-label.is-photo strong { font-size: clamp(12px, 2.7cqi, 15px); letter-spacing: -.025em; }
.fortune-sector-label.is-photo small { display: none; }
.fortune-sector-label .fortune-prize-image { width: min(100%, 15cqi); height: 13cqi; max-height: 72px; padding: 3px; border-radius: 12px; }
.fortune-wheel[data-count='10'] .fortune-sector-label strong, .fortune-wheel[data-count='11'] .fortune-sector-label strong, .fortune-wheel[data-count='12'] .fortune-sector-label strong { font-size: clamp(12px, 3cqi, 17px); }
.fortune-wheel[data-count='12'] .fortune-sector-label .fortune-prize-image { height: 10cqi; }
.fortune-prize-image { display: block; object-fit: contain; object-position: center; background: #fff; }
.fortune-pointer { width: 38px; height: 52px; position: absolute; left: 50%; top: -17px; z-index: 5; transform: translateX(-50%); transform-origin: 50% 12%; clip-path: polygon(50% 100%, 4% 27%, 17% 4%, 83% 4%, 96% 27%); background: linear-gradient(130deg, #fff6d6, #e7b654 65%, #b48334); }
.fortune-hub { position: absolute; left: 50%; top: 50%; width: 18.5%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; border: 3px solid #e7ca88; border-radius: 50%; background: #073639; box-shadow: 0 5px 12px #072a3940, 0 0 0 5px #ffffffec; pointer-events: none; }
.fortune-hub img { width: 72%; height: 72%; border-radius: 50%; object-fit: contain; }
.fortune-current { min-height: 21px; margin: 25px 0 13px; color: #446965; font-size: 14px; line-height: 1.4; text-align: center; }
.fortune-spin-button, .fortune-claim { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 58px; min-width: 265px; padding: 8px 10px 8px 24px; border: 1px solid #066e67; border-radius: 100px; background: #087f79; color: #fff; font-size: 16px; font-weight: 750; cursor: pointer; text-decoration: none; box-shadow: 0 8px 18px #087f791f; transition: background .2s, transform .2s; }
.fortune-spin-button i { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 auto; border-radius: 50%; background: #ffffff19; color: #fff1c6; font-style: normal; font-size: 24px; }
.fortune-spin-button:hover:not(:disabled), .fortune-claim:hover { background: #065e59; transform: translateY(-2px); color: #fff; }
.fortune-spin-button:disabled { cursor: default; background: #e1ebe7; border-color: #d3e1dc; color: #57736b; box-shadow: none; }
.fortune-spin-button:disabled i { color: #678477; background: #ffffff70; }
.fortune-stage[aria-busy='true'] .fortune-spin-button { background: #087f79; color: #fff; }
.fortune-spin-note { max-width: 390px; margin: 12px 0 0; color: #536e68; font-size: 12px; line-height: 1.55; text-align: center; }
.fortune-result-summary { width: min(390px, 100%); margin-top: 18px; padding: 17px 20px; text-align: center; border: 1px solid #bcded3; border-radius: 18px; background: #fff; }
.fortune-result-summary > span { display: block; font-size: 12px; color: #54796d; }
.fortune-result-summary strong { display: block; margin-top: 5px; font-size: 17px; }
.fortune-result-summary button { min-height: 44px; margin-top: 5px; border: 0; background: transparent; color: #087f79; font-size: 14px; font-weight: 750; cursor: pointer; }
.fortune-prizes { max-width: 1180px; margin: 0 auto; border-top: 1px solid #d0e2dc; }
.fortune-prizes summary { display: flex; align-items: center; gap: 10px; min-height: 64px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 750; }
.fortune-prizes summary::-webkit-details-marker { display: none; }
.fortune-prizes summary > span { display: grid; place-items: center; min-width: 24px; min-height: 24px; border-radius: 50%; background: #e0eee8; color: #31695b; font-size: 12px; }
.fortune-prizes summary i { margin-left: auto; font-size: 24px; font-style: normal; font-weight: 400; }
.fortune-prizes[open] summary i { transform: rotate(45deg); }
.fortune-prize-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.fortune-prize-list li { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 95px; padding: 12px; background: #fff; border: 1px solid #e1ebe5; border-radius: 14px; }
.fortune-prize-list .fortune-prize-image { width: 65px; height: 65px; flex-shrink: 0; border-radius: 9px; }
.fortune-prize-list li > strong { min-width: 57px; text-align: center; font-size: 22px; color: #087f79; }
.fortune-prize-list li > span { font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.fortune-prizes > p { margin: 16px 0 0; color: #667b73; font-size: 12px; line-height: 1.6; }
.fortune-result-dialog { width: min(460px, calc(100vw - 28px)); max-height: calc(100dvh - 32px); margin: auto; padding: 30px 28px 20px; overflow: auto; overscroll-behavior: contain; border: 1px solid #d6e7df; border-radius: 28px; background: #f9fcfa; color: #123f38; text-align: center; box-shadow: 0 35px 120px #082c3866; }
.fortune-result-dialog::backdrop { background: #052b30b5; backdrop-filter: blur(7px); }
.fortune-result-dialog[open] { animation: fortune-reveal .38s ease-out; }
.fortune-result-dialog .fortune-kicker { justify-content: center; margin: 18px 0 15px; font-size: 12px; letter-spacing: .08em; }
.fortune-dialog-close { position: absolute; right: 12px; top: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #396156; background: transparent; font-size: 28px; cursor: pointer; z-index: 2; }
.fortune-result-art { width: 176px; height: 156px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 24px; background: radial-gradient(circle, #e0f0e1, #edf6ee); }
.fortune-result-art .fortune-prize-image { width: 100%; height: 100%; padding: 8px; border-radius: 24px; }
.fortune-result-art > strong { font-size: 46px; font-weight: 850; letter-spacing: -.07em; color: #087f79; }
.fortune-result-eyebrow { color: #608376; font-size: 13px; }
.fortune-result-dialog h2 { margin: 7px 0 12px; font-size: clamp(23px, 5vw, 29px); line-height: 1.15; letter-spacing: -.035em; overflow-wrap: anywhere; }
.fortune-result-dialog > p:not(.fortune-kicker) { margin: 0 0 22px; color: #55736a; font-size: 15px; line-height: 1.55; }
.fortune-claim { width: 100%; min-width: 0; justify-content: center; padding: 14px 20px; }
.fortune-claim > span { font-size: 22px; }
.fortune-dialog-back { min-height: 44px; margin-top: 8px; padding: 8px 16px; border: 0; color: #537469; background: transparent; font-size: 14px; cursor: pointer; }
.fortune-confetti { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.fortune-confetti i { position: absolute; top: -15px; left: var(--x); width: 7px; height: 12px; border-radius: 2px; background: var(--color); animation: fortune-confetti 2.1s ease-out var(--delay) both; }
.fortune-noscript { padding: 16px; text-align: center; }
@keyframes fortune-confetti { from { transform: translateY(-20px) rotate(0); opacity: 1; } to { transform: translateY(650px) rotate(500deg); opacity: 0; } }
@keyframes fortune-reveal { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 1000px) {
 .fortune-hero { gap: 28px; min-height: 630px; }
 .fortune-copy h1 { font-size: clamp(38px, 5vw, 52px); }
 .fortune-signature { margin-top: 22px; }
 .fortune-prize-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
 .fortune-wheel-page { padding: 0 18px 24px; background: radial-gradient(ellipse at 50% 50%, #dcefe9, transparent 70%), #f7fbfa; }
 .fortune-hero { min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 23px 0 28px; }
 .fortune-copy { text-align: center; padding: 0; }
 .fortune-kicker { justify-content: center; margin-bottom: 12px; font-size: 12px; letter-spacing: .075em; }
 .fortune-copy h1 { font-size: clamp(32px, 8.6vw, 48px); line-height: 1.04; }
 .fortune-copy h1 br { display: none; }

 .fortune-lead { margin-top: 10px; font-size: 14px; line-height: 1.45; }
 .fortune-lead br { display: none; }
 .fortune-countdown { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 12px; }
 .fortune-countdown-caption { max-width: 100px; margin: 0; text-align: left; font-size: 12px; line-height: 1.4; }
 .fortune-clock { gap: 5px; padding: 6px 10px; border-radius: 12px; }
 .fortune-clock div { min-width: 26px; }
 .fortune-clock b { font-size: 19px; }
 .fortune-clock span { font-size: 12px; }
 .fortune-clock i { font-size: 16px; }
 .fortune-access { margin: 13px auto 0; padding: 12px 15px; }
 .fortune-access p { margin: 4px 0; font-size: 13px; }
 .fortune-access strong, .fortune-access a { font-size: 14px; }
 .fortune-signature { display: none; }
 .fortune-stage { padding: 30px 4px 0; }
 .fortune-wheel-frame { width: min(100%, clamp(260px, calc(100svh - 530px), 390px)); padding: 9px; }
 .fortune-pointer { width: 29px; height: 41px; top: -13px; }
 .fortune-hub { border-width: 2px; box-shadow: 0 4px 9px #072a3933, 0 0 0 3px #ffffffed; }
 .fortune-sector-label { gap: 3px; }
 .fortune-sector-label .fortune-prize-image { padding: 2px; border-radius: 7px; }
 .fortune-current { margin: 19px 0 10px; font-size: 13px; }
 .fortune-spin-button { width: min(310px, 100%); min-width: 0; min-height: 54px; padding: 6px 8px 6px 22px; font-size: 15px; }
 .fortune-spin-note { max-width: 315px; margin-top: 9px; }
 .fortune-prize-list { gap: 8px; }
 .fortune-prize-list li { flex-direction: column; text-align: center; padding: 12px 8px; }
 .fortune-prize-list li > span { font-size: 13px; }
 .fortune-result-dialog { padding: 24px 20px 14px; }
 .fortune-result-art { width: 150px; height: 132px; margin-bottom: 14px; }
}
@media (max-height: 650px) {
 .fortune-result-dialog { padding: 16px 20px 10px; }
 .fortune-result-art { width: 110px; height: 85px; margin-bottom: 8px; }
 .fortune-result-dialog .fortune-kicker { margin-top: 20px; margin-bottom: 10px; }
 .fortune-result-dialog > p:not(.fortune-kicker) { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
 .fortune-wheel-page *, .fortune-wheel-page *::before, .fortune-wheel-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* On this activity the contact dock follows the content, keeping spin controls clear. */
@media (max-width: 700px) { .sansara-fortune-page .mobile-contact-bar { position: relative; inset: auto; margin: 0; } }

/* Physical rim: pins rotate with the disc, the spring tongue stays on its axle. */
.fortune-pin-ring { position: absolute; inset: 0; z-index: 3; border-radius: 50%; pointer-events: none; }
.fortune-pin-ring.is-moving { will-change: transform; }
.fortune-rim-pin { position: absolute; width: clamp(7px, 1.9cqi, 11px); aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid #8f692b; border-radius: 50%; background: radial-gradient(circle at 32% 25%, #fffef0 0 13%, #f6db96 23%, #ba8739 72%); box-shadow: 0 2px 0 #664b28, 0 3px 5px #16383455; }
.fortune-wheel-frame > .fortune-pointer { width: 40px; height: 68px; top: -34px; clip-path: none; background: transparent; filter: none; transform: translateX(-50%); }
.fortune-pointer::before { content: ''; position: absolute; left: 5px; top: 0; width: 30px; height: 30px; border: 1px solid #b39762; border-radius: 12px; background: linear-gradient(135deg, #fff9e5, #d7bc7d); box-shadow: 0 2px 5px #16383433; }
.fortune-pointer-blade { position: absolute; left: 10px; top: 13px; width: 20px; height: 47px; transform-origin: 50% 0; transform: rotate(var(--flap-angle, 0deg)); clip-path: polygon(0 0, 100% 0, 76% 76%, 50% 100%, 24% 76%); background: linear-gradient(90deg, #b38536, #fff0be 43%, #dfb658 66%, #a07127); }
.fortune-pointer-axle { position: absolute; width: 12px; height: 12px; left: 14px; top: 7px; border: 2px solid #e8d8a8; border-radius: 50%; background: #214e48; box-shadow: 0 1px 3px #16383466; }
.fortune-stage-toolbar { width: min(540px, 100%); min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 34px; }
.fortune-stage-toolbar .fortune-countdown { display: flex; align-items: center; gap: 9px; margin: 0; }
.fortune-stage-toolbar .fortune-countdown-caption { margin: 0; max-width: 108px; font-size: 12px; line-height: 1.2; }
.fortune-stage-toolbar .fortune-clock { display: flex; gap: 3px; margin: 0; padding: 0; border: 0; background: transparent; }
.fortune-stage-toolbar .fortune-clock div { display: block; min-width: 21px; }
.fortune-stage-toolbar .fortune-clock b { font-size: 17px; font-weight: 700; }
.fortune-stage-toolbar .fortune-clock span { display: none; }
.fortune-stage-toolbar .fortune-clock i { margin: 0; color: #68847c; font-size: 15px; }
.fortune-sound { display: flex; align-items: center; gap: 5px; margin-left: auto; padding: 8px 10px; min-height: 42px; flex-shrink: 0; border: 1px solid #cee0d7; border-radius: 25px; color: #3f665c; background: #ffffffb0; font-size: 12px; font-weight: 650; cursor: pointer; }
.fortune-sound > span:first-child { font-size: 19px; line-height: 1; }
.fortune-sound[aria-pressed='true'] { background: #e0efe5; border-color: #91baaa; color: #126652; }
.fortune-stage { scroll-margin: 20px; }
.fortune-current { max-width: 100%; overflow-wrap: anywhere; }
.fortune-wheel-page[data-fortune-motion='slowing'] .fortune-current { color: #0a7569; font-weight: 750; }
.fortune-wheel-page[data-fortune-motion='slowing'] .fortune-wheel-frame { box-shadow: 0 20px 55px #087f7933, 0 0 0 6px #fff, 0 0 0 8px #c0dfd2; }
.fortune-wheel-page[data-fortune-motion='settling'] .fortune-wheel-frame { box-shadow: 0 20px 60px #c8a25038, 0 0 0 6px #fff, 0 0 0 8px #d6bc7b; }
.fortune-consent-slot { max-width: 1180px; margin: 0 auto; }
.sansara-fortune-page .fortune-consent-slot .sansara-cookie-banner { position: static; inset: auto; z-index: auto; width: 100%; max-width: none; max-height: none; margin: 0 0 20px; padding: 16px 20px; box-shadow: none; border-radius: 16px; }
.sansara-fortune-page .fortune-consent-slot .sansara-cookie-banner__copy strong { font-size: 15px; }
.sansara-fortune-page .fortune-consent-slot .sansara-cookie-banner__copy p { font-size: 13px; }
@media (max-width: 700px) {
 .sansara-fortune-page .site-header { position: relative; top: auto; }
 .fortune-wheel-page { padding-inline: 16px; }
 .fortune-hero { padding-top: 18px; padding-bottom: 22px; }
 .fortune-copy h1 { font-size: clamp(28px, 7.6vw, 36px); line-height: 1.12; }
 .fortune-kicker { margin-bottom: 8px; }
 .fortune-lead { margin-top: 8px; font-size: 14px; line-height: 1.4; }
 .fortune-stage { padding: 12px 5px 0; }
 .fortune-stage-toolbar { min-height: 40px; margin-bottom: 28px; gap: 8px; }
 .fortune-stage-toolbar .fortune-countdown { gap: 7px; }
 .fortune-stage-toolbar .fortune-countdown-caption { max-width: 93px; font-size: 12px; text-align: left; }
 .fortune-stage-toolbar .fortune-clock b { font-size: 15px; }
 .fortune-stage-toolbar .fortune-clock div { min-width: 18px; }
 .fortune-sound { padding: 7px 8px; gap: 4px; }
 .fortune-wheel-frame { width: min(100%, clamp(250px, calc(100svh - 430px), 380px)); }
 .fortune-wheel-frame > .fortune-pointer { width: 34px; height: 57px; top: -26px; }
 .fortune-pointer::before { left: 4px; width: 26px; height: 26px; border-radius: 10px; }
 .fortune-pointer-blade { left: 9px; top: 11px; width: 16px; height: 38px; }
 .fortune-pointer-axle { left: 12px; top: 6px; width: 10px; height: 10px; }
 .fortune-current { margin-top: 17px; margin-bottom: 9px; min-height: 20px; }
 .fortune-spin-note { margin-top: 8px; }
 .sansara-fortune-page .fortune-consent-slot .sansara-cookie-banner { padding: 14px; margin-bottom: 14px; }
 .sansara-fortune-page .fortune-consent-slot .sansara-cookie-banner__actions { margin-top: 10px; }
}
@media (max-width: 700px) { .fortune-copy h1 em { margin-left: .12em; } }
