.site-footer[hidden]{display:none}
.match-badge{display:inline-block}.match-badge>span,.match-badge strong{display:inline-block;vertical-align:middle}.match-badge strong{margin-left:8px}
.brand-scroll{display:block;width:56px;height:56px;object-fit:contain;flex:none;filter:drop-shadow(0 2px 2px #75664312)}
.quote-context{margin-top:8px}.quote-context summary{cursor:pointer;color:#77835d;font-size:12px}.quote-context p{font-family:var(--sans)!important;font-size:12px!important;line-height:1.8!important;margin:7px 0 0!important;padding:0!important;background:none!important;border:0!important;color:#8c8b72!important}.final-quotes .quote-list{display:grid;gap:14px}
@media(max-width:600px){.brand-scroll{width:46px;height:46px}}
.chance-meeting{margin:28px 0 25px;padding:21px 0 0;border-top:1px solid #dfd6ae}
.chance-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.chance-heading h2{font-family:var(--serif);font-size:18px;font-weight:500;color:#64764d;letter-spacing:2px}.chance-heading span{font-size:12px;color:#8a896e}
.chance-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.chance-person{display:flex;flex-direction:column;align-items:center;gap:10px;padding:9px 3px;border-radius:15px}.chance-person .character-avatar{width:80px;height:80px;border-radius:50%;transition:transform .2s,box-shadow .2s}.chance-person:hover .character-avatar{transform:translateY(-3px);box-shadow:0 0 0 3px #e4e8c7}.chance-person>span{font-family:var(--serif);font-size:16px;line-height:1.6;white-space:nowrap;color:#66764f}
.name-setting{margin:26px 0 8px}.name-setting label{display:flex;align-items:center;gap:13px;font-size:15px;color:#596e4a;margin-bottom:11px}.name-setting label>span{font-size:12px;color:#93906e}.name-input-row{display:flex;gap:10px}.name-input-row input{flex:1;min-width:0;min-height:54px;padding:12px 17px;color:#40573e;border:1px solid #d9cea3;border-radius:11px;background:#fffbee;font-size:17px;font-family:var(--serif)}.name-input-row input::placeholder{color:#aaa184;font-family:var(--sans);font-size:14px}.name-dice{flex:none;width:56px;min-height:54px;display:grid;place-items:center;border:1px solid #d6c58d;border-radius:11px;background:#f3e7bc;color:#8b7948}.name-dice:hover{background:#eadca8}.name-dice svg{width:29px;height:29px}.name-setting>p{font-size:12px;color:#93916e;margin-top:8px}
.soul-chronicle{background-color:#faf6e6}.chronicle-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.chronicle-kicker{font-size:13px!important;color:#8b8e70!important;letter-spacing:2px;overflow-wrap:anywhere;margin-bottom:7px}.chronicle-heading h2{margin:0;font-size:26px;letter-spacing:2px}.chronicle-heading h2:before{display:none}.chronicle-seal{border:2px solid #9e6651;border-radius:3px;color:#9e6651;padding:3px 7px;line-height:1.15;font-size:19px;font-family:var(--serif);transform:rotate(-6deg);box-shadow:inset 0 0 0 2px #faf6e6,inset 0 0 0 3px #b48b70;flex:none}.chronicle-identity{font-size:14px!important;margin:13px 0 20px;color:#808367!important}
.bamboo-scroll{position:relative;display:flex;flex-direction:row-reverse;gap:5px;padding:14px 0;margin:5px auto 14px;max-width:560px;align-items:stretch}.bamboo-scroll:before,.bamboo-scroll:after{content:'';position:absolute;left:-8px;right:-8px;height:3px;background:#998365;border-radius:2px;z-index:1;pointer-events:none}.bamboo-scroll:before{top:30px}.bamboo-scroll:after{bottom:30px}.bamboo-strip{flex:1;min-width:0;min-height:390px;height:auto;margin:0!important;padding:36px 5px!important;display:flex;flex-direction:column;align-items:center;writing-mode:horizontal-tb;text-align:center;line-height:1.55!important;letter-spacing:2px;font-family:var(--serif);font-size:18px!important;font-weight:600;color:#534a33!important;background:linear-gradient(90deg,#c6b47499,#f0e4b8 19%,#e8dba8 75%,#b5a36388);border:1px solid #bdac75;border-radius:4px;box-shadow:inset 1px 0 3px #fff8dc,inset -1px 0 3px #9d87452b}.bamboo-letter{display:block;flex:none;line-height:1.22;height:1.22em;letter-spacing:0;white-space:pre}.bamboo-strip:first-child{font-weight:700}.bamboo-strip.scribe-comment{color:#9f5e42!important}.chronicle-note{font-size:12px!important;line-height:1.8!important;color:#929177!important;text-align:center}
.strengths-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:22px}.strength-card{background:#f8f2dc;border:1px solid #e4d9b2;border-radius:12px;padding:19px 20px}.strength-card h3{font-family:var(--serif);font-size:18px;font-weight:500;color:#5d764d;margin-bottom:8px}.strength-card p{font-size:14px!important;line-height:1.9!important}
.historical-quote{margin:0;padding:18px 20px;background:#fbf5de;border-left:2px solid #b5a26c;border-radius:0 10px 10px 0}.historical-quote blockquote{margin:0;font-family:var(--serif);font-size:19px;color:#536d47;line-height:1.9}.historical-quote figcaption{font-size:12px;color:#8c8b72;line-height:1.9;margin-top:10px}.historical-quote .quote-source{color:#697b52}.historical-quote .quote-kind{display:inline-block;background:#ece7cc;padding:1px 6px;border-radius:4px;margin-right:6px;font-size:11px}.historical-quote .source-note{display:block;font-size:12px;color:#969079;margin-top:5px}.real-quote-source{font-size:12px;line-height:1.8;color:#8b8c6e;margin-top:8px}
@media(max-width:600px){.chance-meeting{margin-top:23px;padding-top:18px}.chance-heading{margin-bottom:12px}.chance-heading h2{font-size:16px;letter-spacing:1px}.chance-heading span{font-size:12px}.chance-gallery{gap:8px}.chance-person{gap:7px;padding:5px 0}.chance-person .character-avatar{width:61px;height:61px;padding:3px}.chance-person>span{font-size:13px}.name-setting{margin-top:22px}.name-setting label{font-size:14px}.name-input-row input{min-height:52px;font-size:16px}.name-dice{width:52px;min-height:52px}.chronicle-heading h2{font-size:22px}.chronicle-kicker{font-size:12px!important;letter-spacing:1px}.chronicle-seal{font-size:16px}.chronicle-identity{font-size:13px!important;margin:12px 0 14px}.bamboo-scroll{gap:3px}.bamboo-strip{min-height:345px;height:auto;font-size:15px!important;letter-spacing:0;padding:34px 2px!important;line-height:1.2!important}.bamboo-scroll:before{top:29px}.bamboo-scroll:after{bottom:29px}.chronicle-note{font-size:11px!important}.strengths-grid{grid-template-columns:1fr;gap:12px;margin-top:18px}.strength-card{padding:17px}.strength-card h3{font-size:17px}.historical-quote{padding:16px}.historical-quote blockquote{font-size:17px}.historical-quote figcaption{font-size:12px}}
@media(max-width:360px){.chance-gallery{gap:5px}.chance-person .character-avatar{width:53px;height:53px}.chance-person>span{font-size:12px}.chance-heading span{font-size:11px}.bamboo-strip{font-size:14px!important;padding:34px 1px!important;letter-spacing:0}.bamboo-scroll{gap:2px}.chronicle-heading h2{font-size:20px}}


.saved-card.saved-page{max-width:100%;height:auto;border-radius:6px;box-shadow:none}.result-actions button[aria-busy=true]{cursor:wait;opacity:.75}
