/* Keep choosing a question brief, so the cups and throw control are visible. */
.cup-mobile-question{display:none}
.cup-custom-question{margin:0;border:0;padding:0;color:#d8c4d3}
.cup-custom-question>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.4;list-style:none;text-decoration:underline;text-underline-offset:4px}
.cup-custom-question>summary::-webkit-details-marker{display:none}
.cup-custom-question>summary::after{content:'';width:7px;height:7px;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg);margin-left:3px;margin-top:-4px}
.cup-custom-question[open]>summary::after{transform:rotate(225deg);margin-top:4px}
.cup-custom-question>summary:focus-visible{outline:2px solid #ffcfab;outline-offset:2px}
.cup-workspace .cup-custom-question textarea{font-size:16px;line-height:1.5;min-height:72px;height:72px;max-height:160px}
.cup-workspace .cup-custom-question .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:760px){
 .cup-page{padding-top:10px}
 .cup-page .section-heading{margin-bottom:10px}
 .cup-page .section-heading h1{font-size:22px;line-height:1.35;margin:0}
 .cup-page .cup-intro{font-size:13px;line-height:1.4;margin-top:4px}
 .cup-workspace .cup-composer{padding:10px 12px 2px;align-self:start}
 .cup-workspace .cup-guide,.cup-workspace .cup-prompt-options{display:none}
 .cup-workspace .cup-topic-options{gap:6px;margin-bottom:8px}
 .cup-workspace .cup-topic-options button{min-height:44px;padding:6px 3px;font-size:14px;line-height:1.3}
 .cup-mobile-question{display:block}
 .cup-mobile-question select{display:block;width:100%;min-width:0;min-height:46px;padding:10px 34px 10px 12px;border:1px solid #8d7585;border-radius:8px;background:#211923;color:#f5e7ed;color-scheme:dark;font:16px/1.4 var(--sans)}
 .cup-custom-question>summary{font-size:13px;min-height:38px}
 .cup-workspace .cup-custom-question .cup-field-help{font-size:11px;line-height:1.4;margin-block:4px 8px}
 .cup-workspace .ritual-scene{height:clamp(264px,calc(100svh - 336px),320px);min-height:264px;--cup-lift:70px}
 .cup-workspace .ritual-scene .cups-art{top:6px;width:220px;max-width:90%}
 .cup-workspace .ritual-label{top:10px;margin:0;left:12px;right:100px;width:auto;text-align:left;font-size:11px;line-height:1.4}
 .cup-workspace .cup-caption{bottom:104px}
 .cup-workspace .cup-caption p{font-size:16px;line-height:24px}
 .cup-workspace .ritual-scene .charge-control{bottom:12px;left:12px;width:calc(100% - 24px)}
 .cup-workspace .charge-meta{line-height:16px;margin-bottom:4px;font-size:11px;gap:8px}
 .cup-workspace .charge-track{margin-bottom:6px}
 .cup-workspace .hold-button{min-height:50px;padding:8px 12px}
 .cup-workspace .hold-button strong{font-size:15px;line-height:1.4}
 .cup-workspace .hold-hint{font-size:10px;line-height:14px;margin-top:4px}
 .cup-sound-toggle{top:8px;right:10px;padding:8px 10px;font-size:11px;min-height:36px}
 .cup-workspace .ritual-scene.result{height:390px;min-height:390px}
 .cup-workspace .ritual-scene.result .cups-art{width:200px;top:4px}
 .cup-workspace .ritual-scene.result .cup-caption{bottom:122px;padding-inline:12px}
 .cup-workspace .cup-response strong{font-size:15px;line-height:1.45}
 .cup-workspace .cup-response small{font-size:13px;line-height:1.45}
 .cup-share-actions{left:12px;right:12px}
 .cup-share-actions .btn{font-size:14px;padding:10px 12px}
 .cup-primary-actions{gap:8px}
 .cup-reading{padding-top:12px;margin-top:12px}
 .cup-reading .body-copy{font-size:15px;line-height:1.6}
}
@media(max-width:360px){
 .cup-workspace .cup-topic-options button{font-size:13px}
 .cup-mobile-question select{font-size:16px;padding-left:8px}
 .cup-workspace .hold-button strong{font-size:14px}
 .cup-share-actions .btn{font-size:13px;padding-inline:10px;gap:8px}
}

/* One question prompt; the hold button provides the action instruction. */
.cup-page .ritual-label,.cup-page .hold-hint{display:none}
.cup-page .ritual-scene:not(.result) .cup-caption{display:none}
.cup-page #charge-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.cup-page .charge-meta{justify-content:flex-end}

/* Keep restart beside the rules, immediately below the cups. */
.cup-page .cup-bottom-actions{position:relative;margin:12px auto 0;max-width:100%}
.cup-page .cup-bottom-actions>.restart-link{position:absolute;right:0;top:0;margin:0;min-height:44px;padding:8px 4px;font-size:14px;line-height:1.5}
.cup-page .cup-bottom-actions .cup-meaning{max-width:none;margin:0;padding:0;border:0}
.cup-page .cup-bottom-actions .cup-meaning>summary{min-height:44px;padding:8px 110px 8px 0;font-size:14px;line-height:1.5}
.cup-page .cup-bottom-actions .cup-meaning>p{margin:4px 0 0;font-size:13px;line-height:1.6}

/* Point to the next required step without covering the selector. */
.cup-step-guide{display:none}.cup-step-guide[hidden]{display:none!important}
@media(max-width:760px){
 .cup-mobile-question.needs-question select{border-color:#eac27e}
 .cup-step-guide{display:flex;align-items:center;gap:7px;margin:7px 0 5px;color:#f4d7ad;font-size:12px;font-weight:700;line-height:1.35}
 .cup-guide-hand{width:23px;height:26px;flex:none;transform-origin:50% 15%;animation:cup-point 1.5s ease-in-out infinite}
 @keyframes cup-point{0%,100%{transform:translateY(-2px)}50%{transform:translateY(3px)}}
}
@media(prefers-reduced-motion:reduce){.cup-guide-hand{animation:none}}

@media(max-width:760px){.cup-step-guide[data-cup-guide=hold]{justify-content:center;font-size:11px;line-height:1.3}.cup-step-guide[data-cup-guide=hold] .cup-guide-hand{width:18px;height:21px}}
