/* Shared native, keyboard-accessible accordions. */
body details{border:0;border-bottom:1px solid #e5e7eb;border-radius:0;box-shadow:none;background:transparent;margin:0;padding:0;color:#030712}
body details>summary,body .editorial-flow .guide-faq summary,body #faq summary{display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;cursor:pointer;min-height:56px;padding:22px 0;font-size:17px;font-weight:650;line-height:1.55;color:#030712}
body details>summary::-webkit-details-marker{display:none}body details>summary::marker{content:''}
body details>summary::after{content:'';display:block;flex:0 0 22px;width:22px;height:22px;background:linear-gradient(#030712,#030712) center/14px 2px no-repeat,linear-gradient(#030712,#030712) center/2px 14px no-repeat;transition:background-size .22s ease,transform .22s ease}
body details[open]>summary::after{background-size:14px 2px,2px 0;transform:rotate(180deg)}
body summary .faq-symbol,body summary .guide-faq-symbol{display:none}
body details>summary:focus-visible{outline:2px solid #030712;outline-offset:3px;border-radius:4px}
body details>p,body details>ul,body details>ol,body details>.faq-answer,body details>.guide-answer{font-size:16px;line-height:1.85;padding-bottom:22px;margin:0;color:#334155}
body details ul,body details ol{padding-left:24px}body details li{margin:8px 0}body details a{text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
body .payout-category>summary h2{font-size:20px;margin:0;font-weight:650}body .payout-category>p{max-width:800px}body .payout-category>ul{columns:2;padding-bottom:24px}body .payout-category li{break-inside:avoid}
body details[open]>:not(summary){animation:accordion-reveal .2s ease-out}@keyframes accordion-reveal{from{opacity:0}to{opacity:1}}
/* One document reader, with independently fixed header and footer. */
body.legal-modal-open{position:fixed;top:var(--legal-page-top);left:0;right:0;overflow:hidden}
#cgu-popup.legal-modal{position:fixed;inset:0;z-index:100;padding:24px;display:flex;align-items:center;justify-content:center;background:rgba(3,7,18,.58);backdrop-filter:blur(4px)}
#cgu-popup.legal-modal.hidden{display:none}
#cgu-popup>.legal-modal-panel{display:flex;flex-direction:column;width:min(920px,100%);max-width:920px;height:85dvh;max-height:85dvh;border-radius:24px;background:#fff;color:#030712;box-shadow:0 24px 70px #03071233;overflow:hidden;animation:legal-enter .2s ease-out}
.legal-modal-header{display:flex;align-items:flex-start;gap:16px;flex:none;padding:24px 28px 20px;border-bottom:1px solid #e5e7eb;background:#fff;position:relative;z-index:1}.legal-modal-heading{flex:1;min-width:0}#terms-title{font-size:24px;line-height:1.3;font-weight:700;margin:0;color:#030712}#terms-title:focus{outline:none}#legal-date{font-size:14px;line-height:1.5;color:#64748b;margin:8px 0 0}
#cgu-popup .legal-icon-button{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;background:#f8fafc;border:0;border-radius:12px;color:#030712;font-size:24px}#cgu-popup #legal-back{font-size:14px;gap:6px;padding:0 10px}#cgu-popup [hidden]{display:none!important}
#cgu-popup #cgu-articles{flex:1;min-height:0;width:100%;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:auto;padding:28px 36px!important;max-height:none;color:#030712;font-size:16px;line-height:1.85}
#cgu-articles .legal-document{margin:28px auto 0;max-width:820px}#cgu-articles .legal-document section{scroll-margin-top:16px}#cgu-articles .modal-toc nav{display:grid;gap:12px;padding:0 0 24px;font-size:16px}#cgu-articles .modal-toc{margin-bottom:28px}
#cgu-articles.legal-restoring details::details-content{transition:none!important}
.legal-modal-footer{flex:none;padding:16px 28px;border-top:1px solid #e5e7eb;background:#fff;display:flex;justify-content:flex-end;gap:12px;align-items:center}.legal-modal-footer .button{font-size:15px;min-height:48px}.legal-modal-footer .is-accepted{background:#166534;border-color:#166534}#legal-message{margin:0;font-size:14px;flex:1;color:#475569}#legal-message:empty{display:none}
.terms-consent{display:flex;align-items:flex-start;gap:10px;color:#030712;font-size:15px;line-height:1.7}.terms-consent input{margin-top:6px}.terms-read{display:inline-block;margin:8px 0 12px 26px;color:#030712;text-decoration:underline;text-underline-offset:4px;font-size:15px;min-height:32px}.terms-accepted{font-size:14px;color:#166534;margin:0 0 16px 26px}.terms-accepted[hidden]{display:none}
#cgu-popup button:focus-visible,.terms-read:focus-visible{outline:2px solid #030712;outline-offset:3px}
@keyframes legal-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){#cgu-popup.legal-modal{padding:6px}#cgu-popup>.legal-modal-panel{height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:16px}.legal-modal-header{padding:18px 14px 14px;gap:10px;flex-wrap:wrap}#terms-title{font-size:20px}#legal-back{order:0}.legal-modal-heading{order:1;flex-basis:calc(100% - 60px)}#legal-close{order:2}#legal-back:not([hidden])~.legal-modal-heading{flex-basis:calc(100% - 140px)}#legal-date{font-size:13px}#cgu-popup #cgu-articles{padding:20px 18px!important}.legal-modal-footer{padding:12px 12px max(12px,env(safe-area-inset-bottom));gap:8px;flex-wrap:wrap}.legal-modal-footer .button{padding:12px;font-size:14px}#legal-accept{flex:1}#legal-message{flex-basis:100%}body details>summary,body .editorial-flow .guide-faq summary,body #faq summary{font-size:16px;gap:14px;padding:20px 0}body .payout-category>ul{columns:1}}
@media(prefers-reduced-motion:reduce){body details,body details::details-content,body details>summary::after{transition:none!important;animation:none!important}#cgu-popup>.legal-modal-panel,body details>*{animation:none!important;scroll-behavior:auto!important}}
@media(max-width:600px){.legal-modal-header{display:grid;grid-template-columns:auto minmax(0,1fr) 44px;align-items:start}#legal-back{grid-column:1;grid-row:1}.legal-modal-heading{grid-column:1/-1;grid-row:2}#legal-back[hidden]~.legal-modal-heading{grid-column:1/3;grid-row:1}#legal-close{grid-column:3;grid-row:1}#terms-title{overflow-wrap:anywhere}}
