.chanceStudio{--ch-ink:#365b62;--ch-accent:#bd7758;color:var(--ch-ink)}.chanceStudio button,.chanceStudio select{min-height:46px;line-height:1.35;white-space:normal}.chanceStudio button[aria-pressed=true]{background:#416b73;border-color:#416b73;color:#fff}.chKicker{font-size:10px;letter-spacing:.13em;font-weight:850}.chHero{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px;align-items:center;padding:36px;border:1px solid #d4d4b8;border-radius:28px;background:radial-gradient(ellipse at 20% 10%,#f7e6bc,transparent 60%),linear-gradient(120deg,#f4edda,#e0ece2);overflow:hidden;margin:20px 0}.chHero h3{font-size:clamp(38px,5vw,65px);line-height:1.04;letter-spacing:-.045em;margin:20px 0}.chHero p{line-height:1.8}.chHero>div:last-child{position:relative}.chHero svg{display:block;width:100%;max-height:390px;transform:rotate(8deg);filter:drop-shadow(0 14px 16px #57716d15)}.chHeroTicket{position:absolute;right:0;bottom:12px;background:#fffbee;border:1px dashed #a8b5a4;transform:rotate(-7deg);border-radius:12px;padding:14px 17px;text-align:center;line-height:1.7;font-size:9px;font-weight:800;letter-spacing:.1em;box-shadow:0 10px 20px #365b6210;animation:chSway 8s ease-in-out infinite}.chHeroTicket b{font-size:25px;line-height:1.3}.chSeal{display:inline-block;border:1px solid #b6bca4;padding:10px 12px;border-radius:24px;font-size:9px;letter-spacing:.1em}.chSpaces{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.chSpaces button{display:grid;grid-template-columns:48px 1fr;gap:4px 10px;padding:20px;text-align:left}.chSpaces button>span{grid-row:span 2;font-size:36px}.chSpaces small{font-size:12px}.chRow{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}.chRail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:20px 0}.chRail button{text-align:left;padding:14px}.chRail b,.chRail small{display:block}.chRail small{font-size:9px;letter-spacing:.1em;margin-bottom:7px}.chDesk{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);border:1px solid #cbd6c3;border-radius:24px;overflow:hidden;background:#fffdf4;margin:20px 0;box-shadow:0 16px 34px #365b6209}.chDesk>header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;border-bottom:1px solid #d5ddcb;background:#e8eddf}.chDesk h3{font-size:24px;margin:6px 0}.chBoard{padding:18px;min-width:0;text-align:center;background:radial-gradient(ellipse at 50% 15%,#f8eed2,transparent 60%),#fffdf4}.chTheme-lagoon .chBoard{background:radial-gradient(ellipse at 50% 15%,#d6e8e8,transparent 65%),#f6fcf7}.chTheme-dusk .chBoard{background:radial-gradient(ellipse at 50% 15%,#e5dbea,transparent 65%),#fdf8f7}.chPicture{width:100%;max-width:570px;margin:auto}.chPicture>svg{display:block;width:100%;height:auto}.chOutcome{display:flex;align-items:center;justify-content:flex-start;gap:12px;background:#fffdf3;border:1px solid #dce1cc;border-radius:15px;padding:12px;margin:10px 0;text-align:left;font-size:15px;line-height:1.5;min-height:60px}.chOutcome>svg{flex:0 0 36px}.chOutcome small{display:block;font-size:12px;line-height:1.6;margin-top:3px}.chTry{justify-content:center}.chTry button:first-child{background:#497b79;color:#fff;border-color:#497b79;min-width:140px}.chSmall{font-size:12px;line-height:1.65;color:#5b726b}.chBoard>.chRow{justify-content:center}.chMotto{display:block;letter-spacing:.1em;font-size:9px;margin:20px 0}.chTools{min-width:0;padding:22px;background:#f1f2e6;border-left:1px solid #d8dfce}.chGuide{padding:19px;border:1px solid #e0dfcb;border-radius:18px;background:#fff;margin-bottom:22px}.chGuide>p{font-size:19px;line-height:1.55;margin:12px 0}.chDeep{border-top:1px dashed #c3ccb6;padding-top:15px}.chDeep p{font-size:15px;line-height:1.65}.chPresets,.chAnswers{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.chPresets button,.chAnswers button{padding:12px}.chChoices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.chChoices button{padding:10px 4px;min-width:0;display:flex;align-items:center;flex-direction:column;gap:7px}.chChoices b{font-size:12px}.chChoices svg{width:38px;height:38px}.chFact{font-size:15px;line-height:1.7;padding:13px;background:#e7edda;border-radius:13px}.chParts{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0}.chParts span{display:grid;place-items:center;width:29px;height:29px;border:1px solid #a1b3a0;border-radius:50%;font-size:12px;background:#fafbef;color:#48675c}.chCounters{display:grid;gap:8px;margin:15px 0}.chCounters>div{display:flex;align-items:center;gap:10px;padding:9px 11px;background:#fffdf3;border:1px solid #dce0cd;border-radius:14px}.chCounters b{flex:1;font-size:14px}.chCounters strong{min-width:20px;text-align:center;font-size:20px}.chCounters button{min-width:46px;padding:7px;font-size:20px}.chanceStudio label{display:block;font-weight:700;margin:16px 0}.chanceStudio input,.chanceStudio select,.chanceStudio textarea{width:100%;box-sizing:border-box;margin-top:7px;min-width:0}.chFeedback{padding:17px;border-radius:15px;background:#e3ead5;line-height:1.7;font-size:15px}.chChart{border:1px solid #d9dfca;background:#fffdf3;border-radius:19px;padding:18px;text-align:left;margin:23px 0}.chChart h4{font-size:22px;margin:12px 0}.chChartRow{display:grid;grid-template-columns:85px minmax(0,1fr);gap:15px;padding:12px 0;border-top:1px dashed #d5dec8}.chChartRow>div:first-child{display:grid;grid-template-columns:32px 1fr;align-items:center;gap:5px}.chChartRow b{font-size:12px}.chChartRow strong{grid-column:1/-1;text-align:center;font-size:27px}.chBarPair{font-size:10px;line-height:1.5}.chBar{height:10px;border-radius:5px;background:#e9edde;overflow:hidden;margin:4px 0 8px}.chBar i{display:block;height:100%;min-width:0;border-radius:5px}.chResults{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.chResults>span{display:flex;flex-direction:column;align-items:center;gap:4px}.chResults small{font-size:9px}.chChart summary,.chReuse summary,.chCollection summary,.chNotes summary{min-height:44px;cursor:pointer;line-height:1.5;font-weight:800}.chReuse{padding:16px;border-radius:15px;background:#e6eddb;margin:20px 0;font-size:13px;line-height:1.65}.chSeeds{display:grid;gap:8px}.chSeeds button{text-align:left;padding:10px}.chCollection{padding:22px;border-radius:22px;background:#e5edde;margin:24px 0}.chGallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.chGallery article{background:#fffdf3;padding:17px;border-radius:18px;min-width:0}.chGallery svg{display:block;width:100%;max-height:240px}.chGallery p{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.chWords{padding:25px;border-radius:23px;background:#efe6d2;margin:24px 0}.chWords p{font-size:18px;line-height:1.75}.chNotes{padding:22px;border-radius:18px;background:#ecf0e2;margin:24px 0;font-size:13px;line-height:1.7}.chStart{display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding:24px;margin:18px 0;border:1px solid #c3cfb9;border-radius:22px;background:linear-gradient(115deg,#f5e9c8,#e6edde,#d8e9e4)}.chStart>span{font-size:44px}.chStart>div{flex:1;min-width:200px}.chStart h3{margin:6px 0}.chStart p{line-height:1.65}.chWide{position:fixed;inset:8px;z-index:1000;height:calc(100dvh - 16px);margin:0;grid-template-rows:auto minmax(0,1fr);border-radius:20px;box-shadow:0 0 0 100vmax #294c57b8}.chWide .chBoard,.chWide .chTools{height:100%;overflow:auto;overscroll-behavior:contain}.chWide .chPicture{max-width:410px}.chWide .chGuide>p{font-size:17px}.chWide .chBoard>.chSmall{font-size:11px}.chWide .chTry{gap:6px}.chWide .chTry button{font-size:12px;padding:10px}.noMotion .chHeroTicket{animation:none}@keyframes chSway{0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-5px) rotate(-4deg)}}@media(max-width:1150px){.chDesk:not(.chWide){grid-template-columns:1fr}.chDesk:not(.chWide) .chTools{border-left:0;border-top:1px solid #d8dfce}}@media(max-width:900px){.chRail{grid-template-columns:1fr 1fr}.chWide{grid-template-columns:1fr;grid-template-rows:auto minmax(330px,55%) minmax(0,1fr)}.chWide .chBoard{padding:10px}.chWide .chPicture{max-width:310px}.chWide .chTools{border-left:0;border-top:1px solid #d8dfce;padding:18px}.chWide .chOutcome{padding:8px;font-size:13px;min-height:52px}.chWide .chBoard>.chSmall,.chWide .chMotto{display:none}.chWide .chRow{margin:8px 0}.chHero{padding:26px;gap:18px}.chHeroTicket{padding:10px;font-size:8px}}@media(max-width:520px){.chHero{grid-template-columns:1fr;padding:24px}.chHero>div:last-child{max-width:310px;margin:auto}.chHero svg{max-height:260px}.chHero h3{font-size:43px}.chSpaces{grid-template-columns:1fr}.chDesk h3{font-size:19px}.chDesk>header{padding:12px}.chRail button{font-size:13px}.chBoard,.chTools{padding:13px}.chWide{inset:4px;height:calc(100dvh - 8px);grid-template-rows:auto minmax(340px,52%) minmax(0,1fr)}.chWide .chPicture{max-width:260px}.chWide .chTools{padding:14px}.chWide .chTry button{font-size:11px;padding:8px;min-width:0}.chWide .chTry button:first-child{min-width:110px}.chWide .chOutcome small{font-size:10px}.chCounters>div{gap:7px;padding:8px}.chCounters svg{width:32px;height:32px}.chCounters b{font-size:13px}.chCounters button{min-width:44px;min-height:44px}.chAnswers button{font-size:13px}.chGuide{padding:15px}.chChart{padding:14px}}@media(prefers-reduced-motion:reduce){.chanceStudio *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
