/* Shared visitor presentation; no content, assets or application state changes. */
:root{--ui-ivory:#F4EBDD;--ui-gold:#E9CE93;--ui-navy:#102B3A;--ui-surface:#173240;--ui-gold-button:#DCC18A;--ui-disabled:#B5A17A;--ui-gap:8px;--ui-card-padding:12px;--ui-section-gap:16px;--ui-touch:44px;--reading-body:17px;--reading-important:18px;--reading-heading:22px}
html{scroll-padding-top:var(--ui-section-gap)}body{font-size:17px;line-height:1.5}
main,section,article,form,fieldset,.wrap{min-width:0;box-sizing:border-box}
p,li,dd,label,input,textarea,select{font-size:17px;line-height:1.5}
p{margin-block:var(--ui-gap)}h1{font-size:clamp(26px,4vw,34px);line-height:1.25}h2{font-size:clamp(22px,3vw,28px);line-height:1.3}h3{font-size:20px;line-height:1.35}
h1,h2,h3{margin-block:var(--ui-gap)}p,li,dd,label,summary{word-break:keep-all;overflow-wrap:anywhere}
button,.button,input,select,textarea{max-width:100%;min-width:0}button,.button,summary{min-height:var(--ui-touch)}button,.button{font-size:18px;font-weight:700;line-height:1.35;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}button:disabled,[aria-disabled="true"]{opacity:1!important}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #A96810;outline-offset:3px}
body.premium-dark :is(p,li,dd,dt,label,summary,small,.guide-message,.info-note){color:var(--ui-ivory)!important;-webkit-text-fill-color:currentColor;opacity:1!important}
body.premium-dark :is(h1,h2,h3,.eyebrow,dt){color:var(--ui-gold)!important;-webkit-text-fill-color:currentColor}
/* Colour belongs to the control's surface, never to every button indiscriminately. */
body.premium-dark :is(.gold,.primary,.member-primary,.home-saju-primary,.saju-room-enter,.participation-submit,.participation-refresh,[data-local-records-check],[data-claim-submit],[data-write-saju-review],#quick-submit,#quick-change-mine,#home-life-story-button){background:var(--ui-gold-button)!important;color:var(--ui-navy)!important;-webkit-text-fill-color:currentColor!important}
body.premium-dark :is(.gold,.primary,.member-primary,.home-saju-primary,.saju-room-enter,.participation-submit,.participation-refresh,[data-local-records-check],[data-claim-submit],[data-write-saju-review],#quick-submit,#quick-change-mine,#home-life-story-button) :is(span,strong,b,small){color:inherit!important;-webkit-text-fill-color:currentColor!important}
body.premium-dark :is(.gold,.primary,.member-primary,.home-saju-primary,.saju-room-enter):is(:hover,:active,:focus-visible){background:var(--ui-gold)!important;color:var(--ui-navy)!important}
body.premium-dark :is(button,.button,.primary):is(:disabled,[aria-disabled="true"]){background:var(--ui-disabled)!important;color:var(--ui-navy)!important;-webkit-text-fill-color:currentColor!important;opacity:1!important}
body.premium-dark :is(.choice,.element-choice,.saju-guide-link,.nasabu-counsel-link){color:var(--ui-ivory)!important}
body.premium-dark :is(a,button,summary,input,textarea,select):focus-visible{outline-color:var(--ui-gold)}
.ui-info-page{padding-block:var(--ui-section-gap)!important;min-height:0!important}.ui-info-page>section,.ui-info-page>.saju-guide>section{margin-block:12px!important;padding:12px!important}.ui-info-page .info-lead{margin:8px 0 12px;font-size:18px;line-height:1.5}.ui-info-page .reading-copy{margin:8px 0}.ui-info-page .reading-sentence{display:inline!important}.ui-info-page .reading-sentence+.reading-sentence:before{content:' '}.ui-info-page .privacy-items{margin-block:10px;gap:8px}.ui-info-page .privacy-items>div{padding:10px!important}.ui-info-page .guide-line{margin-block:8px;padding:8px!important}.ui-info-page .guide-message{font-size:17px;line-height:1.5}.ui-info-page details{margin-block:var(--ui-gap);padding:6px var(--ui-card-padding)!important;min-height:0!important;height:auto!important}.ui-info-page details>summary{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:700;cursor:pointer}.ui-info-page details>summary:before{content:'＋';flex:none}.ui-info-page details[open]>summary:before{content:'−'}.ui-info-page details>section{margin-block:10px;padding:0!important}.ui-info-page details>section:last-child{margin-bottom:0}
.ui-info-page .legal-overview{padding:12px!important;border:1px solid currentColor;border-radius:10px}.ui-info-page .legal-overview p{margin-block:4px}
.nasabu-home .section{padding-block:16px!important}.nasabu-home .section-top{margin-bottom:10px!important}.nasabu-home .section-top>p{margin-block:6px}.nasabu-home .home-chapters{gap:12px!important}.nasabu-home .home-chapter{padding:12px!important}.nasabu-home .home-section-intro{font-size:17px;margin-block:8px}.nasabu-home .ask-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:0!important}.nasabu-home .ask-grid>div{margin:0;padding:0}.nasabu-home .ask-grid .discussion{margin-block:6px;padding:8px}.nasabu-home .ask-grid .ask-form{padding:10px!important;gap:8px!important}.nasabu-home .ask-form textarea{min-height:110px}.nasabu-home .home-artworks{margin-block:10px}.nasabu-home .home-artworks>summary{padding:8px 12px!important}.nasabu-home .home-entrances{gap:var(--ui-gap)!important;margin-block:var(--ui-card-padding)!important}.nasabu-home .home-entrances a{padding:var(--ui-card-padding)!important;min-height:var(--ui-touch);height:auto!important}.nasabu-home .participation-steps{margin-block:10px;gap:8px}.nasabu-home .participation-actions{gap:8px}.nasabu-home .contact-disclosure{margin-block:8px!important}.nasabu-home .home-saju-description{font-size:18px;line-height:1.5!important}.nasabu-home .home-saju-room{padding-block:16px!important}
.saju-room{padding:16px!important;gap:12px!important}.saju-room-copy>p{margin-block:8px!important}.saju-room-greeting,.saju-room-subtitle,.saju-room-slogan{font-size:18px!important;line-height:1.45!important}.saju-room-front-actions,.nasabu-introduction-actions,.saju-guide-actions{gap:8px!important;margin-block:10px!important}.nasabu-introduction-copy p{font-size:17px!important;line-height:1.5!important;margin-block:8px!important}.nasabu-differences{gap:8px!important;margin-block:10px!important}.nasabu-differences li{padding:8px!important}.saju-room-status,.saju-app-note,.info-note{font-size:16px!important;line-height:1.5!important;opacity:1!important}.saju-application{margin-block:12px!important;padding:12px!important}.saju-application form{gap:10px!important}
.ency-body main{padding-block:16px!important}.ency-body .ency-section{margin-block:12px!important;padding:12px!important}.ency-body .ency-card{padding:12px!important}.ency-body .ency-description{font-size:17px;line-height:1.5}.room-navigation .section{padding-block:16px!important}.room-navigation .room-card{padding:12px!important}.room-navigation .room-hero{padding:16px!important}.room-navigation .room-hero p{font-size:17px;line-height:1.5}
.comic-site main{padding-block:16px}.comic-site .books{gap:12px}.comic-site .book>div{padding:12px}.comic-site .book p{margin-bottom:8px}.comic-site #reader-page{margin-block:14px 12px}.comic-site .book-end,.comic-site .comic-source{margin-block:var(--ui-card-padding)}.comic-site .action{min-height:var(--ui-touch);padding:8px 10px;line-height:1.4}.comic-site footer{gap:8px;padding-block:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.comic-site footer a{min-height:44px;padding:8px;font-size:16px;line-height:1.4}
@media(max-width:600px){.wrap{max-width:calc(100% - 24px)}.ui-info-page{padding-block:12px 16px!important}.nasabu-home .home-entrances{grid-template-columns:minmax(0,1fr)!important}.nasabu-home .home-entrances strong{font-size:18px!important}.nasabu-home .home-entrances small{font-size:16px!important;line-height:1.45!important}.nasabu-home .home-saju-room{gap:10px!important}.saju-room{padding:12px!important}.saju-room-portrait{align-self:center}.saju-room-emblem span{font-size:20px!important}.comic-site footer{grid-template-columns:repeat(2,minmax(0,1fr))}.ui-info-page .info-lead{font-size:17px}.ui-info-page h2{font-size:22px}}
/* Override the older reading rhythm and light hero gradients explicitly. */
body:is(.premium-dark,.comic-site),.ui-info-page{line-height:1.5!important}
.ui-info-page :is(p,li,dd),.nasabu-home :is(p,li,dd),.ency-body :is(p,li,dd),.room-navigation :is(p,li,dd){line-height:1.5!important}
body.premium-dark :is(.home-saju-room,.saju-room,.room-hero){background-image:none!important;background-color:#173240!important}
.nasabu-home .home-saju-description{font-size:18px!important}.nasabu-home .home-saju-status,.nasabu-home .home-saju-about,.saju-room-kicker,.nasabu-differences small{font-size:16px!important;line-height:1.45!important}
.nasabu-home .home-saju-actions a,.saju-room-front-actions a,.saju-app-actions>*{min-height:44px!important;font-size:18px!important;padding:10px 12px!important}
.ui-info-page #saju-application{padding:12px!important;margin-block:12px!important}.ui-info-page .saju-input-grid{gap:10px!important}.ui-info-page .saju-application-form{margin-top:10px!important;padding-top:10px!important}
@media(max-width:600px){.nasabu-home .home-saju-top{grid-template-columns:minmax(0,1fr) 80px!important}.nasabu-home .home-saju-portrait{width:80px!important;grid-column:2!important;grid-row:1!important;align-self:center}.nasabu-home .home-saju-portrait img.hero-portrait{max-height:150px!important}.neowana-sanctuary .saju-room{grid-template-columns:minmax(0,1fr) 80px!important}.neowana-sanctuary .saju-room-portrait{width:80px!important;align-self:start}.neowana-sanctuary .saju-room-portrait img.hero-portrait{max-height:150px!important}.neowana-sanctuary .saju-room-sign{padding:10px!important}.neowana-sanctuary .saju-room h1{font-size:26px!important}.nasabu-home .entrance-label{font-size:18px!important;line-height:1.4!important}.nasabu-home .entrance-copy{gap:5px!important}.nasabu-home .entrance-description,.nasabu-home .entrance-status{font-size:16px!important;line-height:1.45!important}}
/* Public question: compact first action, with the original guidance folded below. */
body.nasabu-home #ask-nasabu{padding-block:12px!important}
body.nasabu-home #ask-nasabu .section-top{margin:0 0 8px!important}
body.nasabu-home #ask-nasabu .public-question-disclosure{margin:8px 0!important;padding:12px!important}
body.nasabu-home #ask-nasabu .public-question-disclosure>summary{min-height:44px;padding:0!important;font-size:20px!important;line-height:1.4!important}
body.nasabu-home #ask-nasabu .public-question-disclosure>.home-disclosure-body{padding:8px 0 0!important}
body.nasabu-home #ask-nasabu .ask-grid{gap:8px!important;margin:0!important;min-width:0}
body.nasabu-home #ask-nasabu .ask-form{padding:0!important;margin:0!important;gap:10px!important;border:0!important}
body.nasabu-home #ask-nasabu .ask-form>div{padding:0!important;margin:0!important;min-width:0}
body.nasabu-home #ask-nasabu .question-note{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.nasabu-home #ask-nasabu .question-note p{margin:0!important;font-size:17px!important;line-height:1.45!important;white-space:pre-line;color:#F4EBDD!important}
body.nasabu-home #ask-nasabu .ask-form label{margin:0 0 8px!important;font-size:17px!important;font-weight:700;line-height:1.4!important}
body.nasabu-home #ask-nasabu .ask-form :is(select,textarea){display:block;width:100%;box-sizing:border-box;margin:0!important;padding:10px 12px!important;min-height:44px;font-size:17px!important;line-height:1.5!important}
body.nasabu-home #ask-nasabu .ask-form textarea{min-height:112px!important;height:112px;resize:vertical}
body.nasabu-home #ask-nasabu .ask-form button{min-height:44px;margin:0!important;padding:10px 12px!important;font-size:18px!important}
body.nasabu-home #ask-nasabu #ask-status{margin:0!important;font-size:16px!important;line-height:1.5!important}
body.nasabu-home #ask-nasabu #ask-status:empty{display:none}
body.nasabu-home #ask-nasabu .public-question-help{margin:0!important;padding:0!important;border:0!important}
body.nasabu-home #ask-nasabu .public-question-help>summary{min-height:44px;display:flex;align-items:center;padding:0!important;font-size:17px!important;line-height:1.4!important;cursor:pointer}
body.nasabu-home #ask-nasabu .public-question-help :is(p,h3){margin:8px 0!important;font-size:17px!important;line-height:1.5!important}
body.nasabu-home #ask-nasabu .public-question-help .discussion{padding:0!important;border:0!important;margin:8px 0!important}
body.nasabu-home #ask-nasabu .home-section-intro{margin-block:8px!important}
/* Relationship entry controls: solid colours prevent the older gold-on-gold
   selection label and dark-on-dark result label. Keep native hidden/disabled states. */
body.nasabu-home #home-quick-start :is(#quick-change-mine,.quick-submit),body.nasabu-home #match-result #quick-result-back{box-sizing:border-box;min-width:0;max-width:100%;min-height:44px!important;height:auto!important;margin:0!important;padding:8px 12px!important;border:1px solid #DCC18A!important;border-radius:8px;background:#DCC18A!important;color:#102B3A!important;-webkit-text-fill-color:#102B3A!important;font-size:18px!important;font-weight:800!important;line-height:1.4!important;text-align:center!important;text-decoration:none!important;text-indent:0!important;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;opacity:1!important;visibility:visible!important;filter:none!important;text-shadow:none!important}
body.nasabu-home #home-quick-start :is(#quick-change-mine,.quick-submit):not([hidden]),body.nasabu-home #match-result #quick-result-back:not([hidden]){display:flex!important;align-items:center;justify-content:center}
body.nasabu-home #home-quick-start :is(#quick-change-mine,.quick-submit):is(:hover,:active,:focus-visible),body.nasabu-home #match-result #quick-result-back:is(:hover,:active,:focus-visible){background:#E9CE93!important;color:#102B3A!important;-webkit-text-fill-color:#102B3A!important;opacity:1!important;filter:none!important}
body.nasabu-home #home-quick-start .quick-submit:disabled{background:#B5A17A!important;color:#102B3A!important;-webkit-text-fill-color:#102B3A!important;opacity:1!important;filter:none!important;border-style:dashed!important;cursor:not-allowed}
body.nasabu-home #home-quick-start :is(#quick-change-mine,.quick-submit)>*,body.nasabu-home #match-result #quick-result-back>*{color:inherit!important;-webkit-text-fill-color:inherit!important;opacity:1!important}
body.nasabu-home #home-quick-start .quick-selection{gap:8px!important;margin:0 0 8px!important}
body.nasabu-home #home-quick-start .quick-selected-pair p{font-size:17px!important;line-height:1.45!important}
body.nasabu-home #home-quick-start .quick-steps{margin-block:10px!important;gap:8px!important}
body.nasabu-home #home-quick-start .quick-steps li{padding:0 0 4px!important}
body.nasabu-home #home-quick-start .quick-steps button{min-height:44px!important;height:auto!important;padding:8px 4px!important;font-size:16px!important;font-weight:700!important;background:#173240!important;color:#F4EBDD!important;-webkit-text-fill-color:#F4EBDD!important;opacity:1!important;filter:none!important}
body.nasabu-home #home-quick-start .quick-steps button>*{color:inherit!important;-webkit-text-fill-color:inherit!important;opacity:1!important}
body.nasabu-home #home-quick-start .quick-steps [aria-current="step"] button{background:#254B51!important;border:1px solid #DCC18A!important}
/* Shared relationship results: content-driven heights and a full-width reading column. */
body :is(#match-result,#room-result,#relationship-content){height:auto!important;min-height:0!important;max-height:none!important;min-width:0;box-sizing:border-box}
body #match-result{padding:12px!important}
body :is(#relationship-content,#room-result):not([hidden]){display:block!important}
body .result-summary.relation-card{display:block!important;padding:12px!important;margin:0!important;height:auto!important;min-height:0!important;max-height:none!important;min-width:0;box-sizing:border-box}
body .result-summary :is(h2,.eyebrow,.summary-lead,.summary-role,.result-flow,.summary-caution){margin:0 0 8px!important;min-width:0;word-break:keep-all;overflow-wrap:anywhere}
body .result-summary h2{font-size:24px!important;line-height:1.35!important}
body .result-summary :is(p,.result-flow){font-size:17px!important;line-height:1.5!important}
body .result-summary .result-flow{padding:0!important;letter-spacing:0!important}
body .result-summary .summary-quote.guide-quote{display:grid!important;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto;gap:4px 10px;align-content:start;align-items:start;padding:8px 0 0!important;margin:8px 0 0!important;width:100%;box-sizing:border-box;height:auto!important;min-height:0!important;max-height:none!important;font-size:17px!important;line-height:1.5!important}
body .result-summary .guide-quote>.guide-avatar{position:static!important;grid-column:1;grid-row:1/span 2;left:auto!important;top:auto!important;width:48px!important;height:48px!important;margin:0!important;align-self:start}
body .result-summary .guide-quote>.guide-quote-label{grid-column:2;grid-row:1;margin:0!important;font-size:16px!important;font-weight:700;line-height:1.35!important;color:#E9CE93!important}
body .result-summary .guide-quote>.guide-quote-copy{grid-column:2;grid-row:2;min-width:0;margin:0!important;font-size:17px!important;line-height:1.5!important;color:#F4EBDD!important;word-break:keep-all;overflow-wrap:anywhere}
body .result-summary .summary-caution{margin:8px 0 0!important;font-size:16px!important}
body .result-details{margin:12px 0 0!important;padding:0!important;height:auto!important;min-height:0!important;max-height:none!important;min-width:0}
body .result-details>.detail-label{margin:0 0 8px!important;font-size:17px!important;line-height:1.45!important}
body .result-details .card-detail{margin:0!important;padding:0!important;height:auto!important;min-height:0!important;max-height:none!important}
body .result-details .card-detail>summary{min-height:44px!important;padding:8px 0!important;margin:0!important;box-sizing:border-box;font-size:18px!important;line-height:1.45!important;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
body .result-details .detail-body{padding:8px 0 12px!important;margin:0!important;min-width:0;height:auto!important;max-height:none!important}
body .result-details .detail-body :is(p,li,.reading-copy,.reading-sentence){font-size:17px!important;line-height:1.5!important}
body .result-details .reading-sentence{display:inline!important}.result-details .reading-sentence+.reading-sentence:before{content:' '}
body .result-details .detail-body :is(p,h3,ul){margin:8px 0!important}
body .result-details .detail-body h3{font-size:20px!important;line-height:1.4!important}
body .result-details .detail-body blockquote{padding:12px!important;margin:12px 0!important;font-size:17px!important;line-height:1.5!important}
@media(max-width:600px){body .result-summary h2{font-size:22px!important}body .result-summary .summary-quote.guide-quote{grid-template-columns:44px minmax(0,1fr);gap:4px 8px}body .result-summary .guide-quote>.guide-avatar{width:44px!important;height:44px!important}body .ux-room #room-result{padding-inline:0!important}}

/* Saju guidance: delivery status only; compact, separate benefits. */
body .saju-guide .saju-details,body .saju-guide .benefit-rule-details{margin-block:8px!important;padding:8px 12px!important;min-height:0!important;height:auto!important;box-sizing:border-box}
body .saju-guide :is(.saju-details,.benefit-rule-details)>summary{min-height:44px!important;display:flex;align-items:center;font-size:18px!important;font-weight:700!important;line-height:1.45!important;color:#F4EBDD!important;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
body .saju-guide .saju-details>section{padding:0!important;margin:8px 0 0!important;min-height:0!important}
body .saju-guide :is(.saju-delivery-details,#saju-benefits) :is(p,li){font-size:17px!important;line-height:1.5!important;color:#F4EBDD!important;word-break:keep-all;overflow-wrap:anywhere}
body .saju-guide :is(.saju-delivery-details,#saju-benefits) p{margin:8px 0!important}
body .saju-guide #saju-benefits h2{color:#E9CE93!important;margin:0 0 8px!important}
body .saju-guide #saju-benefits{padding:12px!important;margin-block:12px!important;min-height:0!important;height:auto!important}
body .saju-guide #saju-benefits :is(.saju-benefit-overview,.benefit-rule-details ul){margin:8px 0!important;padding-left:20px!important}
body .saju-guide #saju-benefits li{margin:6px 0!important;padding:0!important}
body .saju-guide #saju-benefits .saju-benefit-limit strong,body .saju-guide .saju-benefit-overview strong{color:#E9CE93!important;font-weight:700!important}

/* Compact disclosure rhythm; native open state and contents stay intact. */
body :is(.ui-info-page,.nasabu-home,.ency-body,.room-navigation,.comic-site) details,body:is(.nasabu-home,.ency-body,.room-navigation,.comic-site) details:not([hidden]){margin-block:4px!important;padding-block:4px!important;min-height:0!important;height:auto!important;box-sizing:border-box}
body :is(.ui-info-page,.nasabu-home,.ency-body,.room-navigation,.comic-site) details>summary,body:is(.nasabu-home,.ency-body,.room-navigation,.comic-site) details:not([hidden])>summary{margin-block:0!important;padding-block:4px!important;min-height:44px!important;box-sizing:border-box;line-height:1.35!important;cursor:pointer}
body :is(.ui-info-page,.nasabu-home,.ency-body,.room-navigation,.comic-site) details+details,body:is(.nasabu-home,.ency-body,.room-navigation,.comic-site) details:not([hidden])+details{margin-top:4px!important}
body .saju-guide #saju-benefits{padding-block:8px!important;margin-block:8px!important}
body .saju-guide #saju-benefits details{margin-block:4px!important;padding:0 8px!important;min-height:0!important;height:auto!important}
body .saju-guide #saju-benefits details>summary{padding:4px 0!important;margin:0!important;gap:6px!important;min-height:44px!important;font-size:18px!important;line-height:1.35!important;box-sizing:border-box}
body .saju-guide #saju-benefits details>section{margin-top:6px!important}
body .saju-guide #saju-benefits .saju-process-summary{display:flex!important;align-items:center;flex-wrap:nowrap;white-space:nowrap!important;min-width:0;letter-spacing:0!important}
body .saju-guide #saju-benefits .saju-process-summary>span{flex:0 1 auto;white-space:nowrap!important;font-size:inherit!important;font-weight:inherit!important;color:inherit!important}
body .saju-guide #saju-benefits .saju-ready-badge{display:inline-block;flex:0 0 auto;white-space:nowrap!important;font-size:14px!important;line-height:1.25!important;font-weight:700!important;padding:2px 4px!important;color:#E9CE93!important;border:1px solid #E9CE93;border-radius:4px}

/* Library cards follow content height, including collapsed disclosures. */
body.nasabu-home .home-chapters{gap:12px!important;grid-auto-rows:auto!important;align-items:start!important}
body.nasabu-home .home-chapters .home-chapter{height:auto!important;min-height:0!important;max-height:none!important;padding:12px!important;margin:0!important;align-self:start!important;box-sizing:border-box;min-width:0}
body.nasabu-home .home-chapter>.wrap{width:100%!important;max-width:100%!important;padding:0!important;margin:0!important;box-sizing:border-box}
body.nasabu-home #source-original.home-chapter>div:first-child{padding:0!important;margin:0!important;height:auto!important;min-height:0!important}
body.nasabu-home .home-chapter .section-top,body.nasabu-home .home-chapter .archive-head{padding:0!important;margin:0!important;gap:8px!important;min-height:0!important;height:auto!important}
body.nasabu-home .home-chapter :is(.section-top,.archive-head)>div{margin:0!important;padding:0!important;min-width:0}
body.nasabu-home .home-chapter .eyebrow{margin:0 0 6px!important;padding:0!important}
body.nasabu-home .home-chapter :is(h2,h2#archive-title){margin:0!important;line-height:1.35!important}
body.nasabu-home .home-chapter .ux-home-reading{margin:6px 0 0!important;padding:0!important;min-height:0!important;height:auto!important;max-height:none!important}
body.nasabu-home .home-chapter .ux-home-reading>summary{margin:0!important;padding:4px 0!important;min-height:44px!important;font-size:17px!important;line-height:1.4!important;box-sizing:border-box;word-break:keep-all;overflow-wrap:anywhere}
body.nasabu-home .home-chapter .ux-home-body{padding:8px 0 0!important;margin:0!important;min-height:0!important;height:auto!important;max-height:none!important}
body.nasabu-home .home-chapter .ux-home-body>:last-child{margin-bottom:0!important}
body.nasabu-home :is(.shelves,.archive-results){gap:12px!important;grid-auto-rows:auto!important;align-items:start!important}
body.nasabu-home :is(.shelf,.archive-book){height:auto!important;min-height:44px!important;max-height:none!important;padding:12px!important;box-sizing:border-box;align-self:start!important;min-width:0}
body.nasabu-home .shelf :is(p,small),body.nasabu-home .archive-book :is(p,h3){margin:6px 0 0!important;line-height:1.45!important}
body.nasabu-home .shelf small{padding-top:0!important}
body.nasabu-home .archive-book .book-link{margin:8px 0 0!important;padding:4px 12px!important;min-height:44px!important;box-sizing:border-box}
body :is(.ency-body,.room-navigation) :is(.ency-card,.room-card),body:is(.ency-body,.room-navigation) :is(.ency-card,.room-card){height:auto!important;min-height:0!important;max-height:none!important;padding:12px!important;box-sizing:border-box;min-width:0;align-self:start!important}
@media(max-width:600px){body.nasabu-home .home-chapters{grid-template-columns:minmax(0,1fr)!important}body.nasabu-home .home-chapter{width:100%!important}}

/* Traditional encyclopedia: readable, compact context without repeated warning boxes. */
body.ency-body .ency-foundation{grid-column:1/-1;min-width:0;padding:12px!important;margin:0 0 12px!important;border:1px solid #DCC18A66;border-radius:10px;background:#173240;color:#F4EBDD}
body.ency-body .ency-foundation h2{font-size:22px!important;color:#E9CE93!important;margin:0 0 8px!important;line-height:1.35!important}
body.ency-body .ency-foundation p{font-size:17px!important;line-height:1.5!important;margin:8px 0!important;color:#F4EBDD!important}
body.ency-body .ency-foundation :is(summary,a){font-size:17px!important;color:#F4EBDD!important;min-height:44px!important;line-height:1.4!important}
body.ency-body .ency-foundation a{display:inline-flex;align-items:center;max-width:100%;word-break:keep-all;overflow-wrap:anywhere}
body.ency-body :is(.ency-reading,.ency-library,.ency-foundation) .ency-detail{padding:6px 0 8px!important;min-width:0}
body.ency-body :is(.ency-reading,.ency-library,.ency-foundation) h4{font-size:18px!important;line-height:1.4!important;margin:10px 0 6px!important}
body.ency-body .ency-intro .ency-context{font-size:17px!important;line-height:1.5!important;margin-top:8px!important}
body.ency-body .ency-brief li{margin-block:4px!important;line-height:1.5!important;font-size:17px!important}

/* Source review: compact, readable withheld-page notice; existing art remains unchanged. */
.comic-review-hold{display:block;padding:16px;color:#f4ebdd;background:#102b3a;border:1px solid #e9ce93;border-radius:12px;font-size:17px;line-height:1.55;min-width:0;overflow-wrap:anywhere}.comic-review-hold p{margin:0 0 8px}.comic-review-hold p:last-child{margin-bottom:0}

/* Participation wallet: scoped compression, one-row code controls and readable states. */
body .ui-info-page:has([data-simple-participation]){width:min(620px,calc(100% - 24px));max-width:620px;box-sizing:border-box;margin-inline:auto;padding-inline:0!important;padding-block:12px 16px!important}
body .participation-heading{margin:0 0 8px;padding:0}
body .participation-heading h1{font-size:26px!important;line-height:1.3!important;margin:0 0 8px!important;word-break:keep-all;overflow-wrap:anywhere}
body .participation-heading p{margin:4px 0!important;font-size:17px!important;line-height:1.45!important;color:#F4EBDD!important}
body .participation-reward{font-size:18px!important;line-height:1.4!important;margin:4px 0!important}
body .participation-reward strong{font-size:24px!important;font-weight:800!important;color:#E9CE93!important;-webkit-text-fill-color:#E9CE93!important}
body .participation-heading .participation-condition-note{font-size:16px!important;line-height:1.4!important;opacity:1!important;color:#F4EBDD!important}
body .member-panel[data-simple-participation]{padding:12px!important;margin:0!important;max-width:100%;height:auto!important;min-height:0!important;box-sizing:border-box;background:#173240!important;color:#F4EBDD!important;border-radius:12px}
body [data-simple-participation] :is(p,h2,h3,ul){margin-block:8px!important;font-size:17px!important;line-height:1.45!important}
body [data-simple-participation] .participation-balance{margin:0 0 8px!important;font-size:18px!important}
body [data-simple-participation] .participation-balance strong{font-size:24px;font-weight:800;color:#E9CE93!important}
body [data-simple-participation] .participation-code-form{grid-template-columns:minmax(0,1fr)!important;margin:0!important;padding:0!important;gap:8px!important}
body [data-simple-participation] .participation-code-help{margin:0!important;line-height:1.4!important;font-size:16px!important}
body [data-simple-participation] .participation-code-fields{display:grid!important;grid-template-columns:minmax(0,3fr) minmax(0,2fr)!important;gap:8px!important;align-items:end;min-width:0}
body [data-simple-participation] .participation-code-fields label{margin:0!important;display:grid!important;gap:4px!important;min-width:0;font-size:16px!important;font-weight:700;line-height:1.4!important;word-break:keep-all}
body [data-simple-participation] .participation-code-fields :is(input,select){min-width:0;width:100%;max-width:100%;height:44px!important;min-height:44px!important;margin:0!important;padding:8px!important;border:1px solid #DCC18A;border-radius:8px;background:#F4EBDD!important;color:#102B3A!important;-webkit-text-fill-color:#102B3A!important;font-size:18px!important;line-height:1.3;box-sizing:border-box}
body [data-simple-participation] :is(.participation-submit,.participation-refresh,[data-local-records-check]),body #relation-experiences [data-claim-submit]{min-height:44px!important;height:auto!important;margin:0!important;padding:8px 12px!important;font-size:18px!important;font-weight:800!important;line-height:1.35!important;background:#DCC18A!important;color:#102B3A!important;-webkit-text-fill-color:#102B3A!important;border:1px solid #DCC18A;border-radius:8px;opacity:1!important;display:flex!important;align-items:center;justify-content:center;text-align:center!important;white-space:nowrap!important;word-break:keep-all}
body [data-simple-participation] :is(.participation-submit,.participation-refresh,[data-local-records-check]):is(:hover,:active,:focus-visible),body #relation-experiences [data-claim-submit]:is(:hover,:active,:focus-visible){background:#E9CE93!important;color:#102B3A!important;opacity:1!important}
body [data-simple-participation] :is(.participation-submit,.participation-refresh,[data-local-records-check]):disabled,body #relation-experiences [data-claim-submit]:disabled{background:#B5A17A!important;color:#102B3A!important;-webkit-text-fill-color:#102B3A!important;opacity:1!important;cursor:not-allowed}
body [data-simple-participation] [data-simple-status]:empty{display:none}
body [data-simple-participation] :is(.participation-limit,[data-simple-status]){margin:8px 0!important;font-size:16px!important;line-height:1.4!important;color:#F4EBDD!important}
body [data-simple-participation] .participation-limit strong{color:#E9CE93!important}
body [data-simple-participation] :is(.participation-guide,.participation-records){margin:8px 0!important;padding:0!important;border:0!important;border-top:1px solid #DCC18A66!important}
body [data-simple-participation] details>summary{padding:4px 0!important;min-height:44px!important;margin:0!important;font-size:17px!important;line-height:1.4!important;color:#F4EBDD!important;word-break:keep-all}
body [data-simple-participation] .benefit-summary-group{margin:8px 0!important;padding:0!important}
body [data-simple-participation] .benefit-summary h3{font-size:18px!important;color:#E9CE93!important;margin:8px 0!important}
body [data-simple-participation] :is(.benefit-summary ul,.participation-conditions){padding-left:20px!important;margin:8px 0!important}
body [data-simple-participation] li{margin:4px 0!important;font-size:17px!important;line-height:1.45!important}
body [data-simple-participation] .participation-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0}
body [data-simple-participation] .participation-links a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px 8px;box-sizing:border-box;border:1px solid #DCC18A;border-radius:8px;color:#F4EBDD!important;font-size:16px;font-weight:700;line-height:1.35;text-decoration:none;text-align:center;word-break:keep-all}
body [data-simple-participation] article{padding:8px 0!important;margin:0!important}
body [data-simple-participation] .local-record-check{padding:0!important;margin:8px 0!important}
body #relation-experiences [data-experience-claim]{margin:8px 0!important;padding:12px!important;gap:8px!important;min-width:0;box-sizing:border-box}
body #relation-experiences [data-experience-claim] :is(h3,p){margin:0!important;font-size:17px!important;line-height:1.45!important}
body #relation-experiences .experience-code{display:grid!important;grid-template-columns:minmax(0,3fr) minmax(0,2fr)!important;gap:8px!important}
body #relation-experiences .experience-code label{min-width:0!important;gap:4px!important;margin:0!important;font-size:16px!important;font-weight:700;line-height:1.4!important;word-break:keep-all}
body #relation-experiences .experience-code :is(input,select){height:44px!important;min-height:44px!important;padding:8px!important;font-size:18px!important;min-width:0;color:#102B3A!important;-webkit-text-fill-color:#102B3A!important;background:#F4EBDD!important;box-sizing:border-box}
body #relation-experiences .experience-wallet{margin:12px 0!important;padding:12px!important;min-height:0!important;height:auto!important}
body #relation-experiences [data-wallet-summary]{gap:4px!important;margin:8px 0!important}
body .home-participation :is(.participation-reward,.participation-condition-note){margin:4px 0!important}
body .home-participation .participation-reward strong{color:#E9CE93!important}
body :is(.home-participation .benefit-summary,.rating-benefit-details,.member-inline) p{font-size:16px!important;line-height:1.45!important;margin-block:6px!important}
body .activity-dialog .rating-benefit-details{margin:8px 0!important;padding:0!important}
@media(max-width:600px){body .participation-heading h1{font-size:24px!important}body .participation-heading{margin-bottom:8px!important}body .home-participation h2{font-size:24px!important;line-height:1.35!important}body [data-simple-participation] .participation-links a{font-size:16px!important}}

/* Shared final rhythm; scoped surfaces retain their established light/dark palette. */
body :is(button,.button,summary,input:not([type=checkbox]):not([type=radio]),select){box-sizing:border-box;min-height:44px}
body :is(button,.button,summary){font-weight:700;word-break:keep-all;overflow-wrap:anywhere}
body :is(button,.button):focus-visible,body a:focus-visible,body summary:focus-visible{outline:3px solid #E9CE93;outline-offset:3px}
body :is(dialog,.activity-dialog){max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
body .home-match-extra:not([open]),body .home-disclosure:not([open]),body .card-detail:not([open]){height:auto!important;min-height:0!important;padding-bottom:0!important}
body.premium-dark :is(.home-chapter,.ency-reading,.result-details,.relation-card,.saju-guide,#relation-experiences) :is(h2,h3,h4){color:#E9CE93!important}
body.premium-dark :is(.gold,.home-saju-primary,.saju-room-enter) :is(span,strong,b,small){color:#102B3A!important;-webkit-text-fill-color:#102B3A!important}
body.premium-dark :is(.gold,.home-saju-primary,.saju-room-enter):is(:hover,:active){color:#102B3A!important;-webkit-text-fill-color:#102B3A!important;background:#E9CE93!important}
body.premium-dark :is(.gold,.home-saju-primary,.saju-room-enter):disabled{color:#102B3A!important;-webkit-text-fill-color:#102B3A!important;background:#B5A17A!important;opacity:1!important}
@media(max-width:360px){body [data-simple-participation] :is(.participation-submit,.participation-refresh,[data-local-records-check]),body #relation-experiences [data-claim-submit]{white-space:normal!important}}
/* v220: compact service entry and inherit the actual foreground in every state. */
body.premium-dark :is(button,.button,.gold,.primary,.home-saju-primary,.saju-room-enter) :is(span,strong,b,small,svg){color:inherit!important;-webkit-text-fill-color:currentColor!important}
body.premium-dark :is(button,.button,.home-saju-primary,.saju-room-enter) svg[stroke]:not([stroke="none"]){stroke:currentColor}
body.premium-dark :is(button,.button,.home-saju-primary,.saju-room-enter) svg [stroke]:not([stroke="none"]){stroke:currentColor}
body.premium-dark :is(button,.button,.home-saju-primary,.saju-room-enter) svg [fill]:not([fill="none"]){fill:currentColor}
.nasabu-home main .home-saju-room{padding:16px!important;margin-block:12px!important;min-height:0!important}
.nasabu-home main .home-saju-top{grid-template-columns:minmax(0,1fr) 88px!important;gap:12px!important}
.nasabu-home main .home-saju-copy{grid-template-columns:84px minmax(0,1fr)!important;gap:4px 12px!important}
.nasabu-home main .home-saju-official-logo{padding:6px!important;gap:4px!important}
.nasabu-home main .home-saju-official-logo img{width:64px!important;height:auto!important}
.nasabu-home main .home-saju-official-logo h1{font-size:17px!important;line-height:1.35!important}
.nasabu-home main .home-saju-slogan{font-size:22px!important;line-height:1.4!important;margin:0!important}
.nasabu-home main .home-saju-description{font-size:17px!important;line-height:1.5!important;margin:4px 0!important}
.nasabu-home main .home-saju-portrait{width:88px!important;height:auto!important;min-height:0!important}
.nasabu-home main .home-saju-portrait img{height:132px!important;max-height:132px!important;object-fit:contain!important}
.nasabu-home main .home-saju-actions{margin:8px 0!important;gap:8px!important;max-width:none!important}
.nasabu-home main .home-saju-invitation,.nasabu-home main .home-saju-about{margin:4px 0!important;font-size:16px!important}
@media(max-width:600px){.nasabu-home main .home-saju-top{grid-template-columns:minmax(0,1fr) 60px!important}.nasabu-home main .home-saju-copy{grid-template-columns:64px minmax(0,1fr)!important}.nasabu-home main .home-saju-portrait{display:block!important;width:60px!important;grid-column:2!important}.nasabu-home main .home-saju-portrait img{height:100px!important;max-height:100px!important}.nasabu-home main .home-saju-slogan{font-size:20px!important}.nasabu-home main .home-saju-room{padding:12px!important}}

/* Shared card contract: content creates rows; legacy portrait/title tracks do not. */
body.nasabu-home main .home-entrances{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 grid-template-rows:none!important;grid-auto-rows:auto!important;align-items:start!important;
 gap:8px!important;margin-block:10px!important;padding:0!important;
}
body.nasabu-home main .home-entrances>a{
 display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;
 grid-template-rows:auto!important;grid-auto-rows:auto!important;grid-column:auto!important;
 align-items:center!important;align-content:start!important;justify-items:stretch!important;
 gap:8px!important;height:auto!important;min-height:44px!important;max-height:none!important;
 min-width:0!important;padding:10px!important;box-sizing:border-box;text-align:left!important;
}
body.nasabu-home main .home-entrances>a>.guide-avatar{
 grid-column:1!important;grid-row:1!important;position:static!important;float:none!important;
 width:72px!important;height:72px!important;min-width:72px!important;max-width:72px!important;
 flex:0 0 72px!important;margin:0!important;align-self:center!important;
}
body.nasabu-home main .home-entrances>a>.entrance-copy{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 grid-column:2!important;grid-row:1!important;gap:4px!important;
 min-width:0!important;width:100%!important;height:auto!important;min-height:0!important;
 margin:0!important;padding:0!important;position:static!important;
}
body.nasabu-home main .home-entrances>a:not(:has(>.guide-avatar)){
 grid-template-columns:minmax(0,1fr)!important;
}
body.nasabu-home main .home-entrances>a:not(:has(>.guide-avatar))>.entrance-copy{
 grid-column:1!important;
}
body.nasabu-home main .home-entrances .entrance-label{
 display:block!important;position:static!important;height:auto!important;min-height:0!important;
 margin:0!important;padding:0!important;font-size:20px!important;font-weight:800!important;
 line-height:1.35!important;letter-spacing:0!important;white-space:normal!important;
 word-break:keep-all!important;overflow-wrap:anywhere!important;text-align:left!important;
}
body.nasabu-home main .home-entrances .entrance-word{
 display:inline!important;white-space:normal!important;font-size:inherit!important;line-height:inherit!important;
}
body.nasabu-home main .home-entrances :is(small,.entrance-description,.entrance-status){
 display:block!important;clear:none!important;position:static!important;min-height:0!important;
 margin:0!important;padding:0!important;font-size:17px!important;line-height:1.45!important;
 white-space:normal!important;word-break:keep-all!important;overflow-wrap:anywhere!important;
}
body.premium-dark.nasabu-home main .home-entrances>a{
 background:#173240!important;color:#F4EBDD!important;border-color:#DCC18A88!important;
}
body.premium-dark.nasabu-home main .home-entrances .entrance-label,
body.premium-dark.nasabu-home main .home-entrances .entrance-label .entrance-word{
 color:#E9CE93!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;text-shadow:none!important;
}
body.premium-dark.nasabu-home main .home-entrances :is(small,.entrance-description,.entrance-status){
 color:#F4EBDD!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;text-shadow:none!important;
}
body.nasabu-home main .home-entrances .entrance-enter{
 display:flex!important;align-items:center!important;justify-content:center!important;
 position:static!important;min-height:44px!important;height:auto!important;box-sizing:border-box;
 margin:2px 0 0!important;padding:6px 10px!important;font-size:17px!important;font-weight:800!important;
 line-height:1.4!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:anywhere!important;
 border-radius:7px;background:#DCC18A!important;color:#102B3A!important;
 -webkit-text-fill-color:currentColor!important;opacity:1!important;text-shadow:none!important;
}
body.premium-dark.nasabu-home main .home-entrances>a:where(:hover,:active,.nasabu-pressed){
 background:#254B51!important;color:#F4EBDD!important;
}
body.nasabu-home main .home-entrances>a:focus-visible{outline:3px solid #E9CE93!important;outline-offset:3px}
/* Matching reading cards across pages. Keep artwork and native controls sized separately. */
body main :is(.home-chapter,.ency-card,.room-card,.relation-card,.archive-book,.shelf,.saju-review-card,.activity-card){
 box-sizing:border-box;min-width:0!important;height:auto!important;min-height:0!important;
 max-height:none!important;align-self:start!important;padding:12px!important;
}
body main :is(.home-chapters,.archive-results,.shelves,.saju-review-grid){
 grid-auto-rows:auto!important;align-items:start!important;gap:8px!important;
}
body main :is(.home-chapter,.ency-card,.room-card,.relation-card,.archive-book,.shelf,.saju-review-card,.activity-card)>:is(h2,h3,h4,p){
 position:static!important;margin-block:4px!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
@media(max-width:760px){
 body.nasabu-home main .home-entrances{grid-template-columns:minmax(0,1fr)!important}
}

/* Home room header: one chart and a full-width title, separate from the portrait. */
body.nasabu-home main .home-saju-top{
 display:grid!important;grid-template-columns:minmax(0,1fr) 88px!important;
 grid-template-rows:auto auto!important;align-items:start!important;gap:10px 12px!important;
}
body.nasabu-home main .home-saju-official-logo{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 grid-column:1/-1!important;grid-row:1!important;position:static!important;
 width:100%!important;min-width:0!important;max-width:100%!important;min-height:0!important;
 margin:0!important;padding:8px!important;gap:6px!important;box-sizing:border-box;
}
body.nasabu-home main .home-saju-official-logo>img{
 display:block!important;width:104px!important;height:104px!important;
 max-width:100%!important;margin:0!important;object-fit:contain!important;
}
body.nasabu-home main #home-saju-title{
 display:block!important;position:static!important;width:100%!important;min-width:0!important;
 max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;
 font-size:28px!important;font-weight:800!important;line-height:1.35!important;
 text-align:center!important;letter-spacing:0!important;white-space:normal!important;
 word-break:keep-all!important;overflow-wrap:anywhere!important;opacity:1!important;text-shadow:none!important;
}
body.nasabu-home main #home-saju-title>span{
 display:inline!important;font-size:inherit!important;line-height:inherit!important;white-space:normal!important;
}
body.premium-dark.nasabu-home main #home-saju-title>.saju-brand-saju{
 color:#F4EBDD!important;-webkit-text-fill-color:currentColor!important;
}
body.premium-dark.nasabu-home main #home-saju-title>.saju-brand-neowana{
 color:#E9CE93!important;-webkit-text-fill-color:currentColor!important;
}
body.nasabu-home main .home-saju-copy{
 display:block!important;grid-column:1!important;grid-row:2!important;
 position:static!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;
}
body.nasabu-home main .home-saju-portrait{
 grid-column:2!important;grid-row:2!important;position:static!important;align-self:start!important;
 justify-self:end!important;width:88px!important;max-width:100%!important;height:auto!important;
 min-width:0!important;margin:0!important;transform:none!important;
}
body.nasabu-home main .home-saju-portrait>img.hero-portrait{
 display:block!important;width:100%!important;height:auto!important;max-height:none!important;
 object-fit:contain!important;position:static!important;transform:none!important;
}
@media(max-width:600px){
 body.nasabu-home main .home-saju-top{grid-template-columns:minmax(0,1fr) 72px!important;gap:8px 10px!important}
 body.nasabu-home main .home-saju-official-logo>img{width:88px!important;height:88px!important}
 body.nasabu-home main #home-saju-title{font-size:24px!important}
 body.nasabu-home main .home-saju-portrait{width:72px!important}
}
