/* Different voices for Aimaru's room: reading, talking and writing.
   Existing illustrations, title sign, room, stamps and envelope stay intact. */
.ar-page .ar-shell{--ar-round:"M PLUS Rounded 1c","Hiragino Maru Gothic ProN",sans-serif;--ar-hand:"Yomogi","Hiragino Maru Gothic ProN",cursive;--ar-read:"Noto Sans JP","Yu Gothic",sans-serif}
.ar-page .ar-shell :is(p,dd){font-family:var(--ar-read);text-align:left;text-align-last:auto;line-break:strict;overflow-wrap:break-word}
.ar-page .ar-shell :is(h2,h3){font-family:var(--ar-round);font-weight:800;text-align:left;text-align-last:auto;letter-spacing:.025em}
.ar-page .ar-shell h2{font-size:clamp(24px,3.1vw,34px);line-height:1.65;color:#426f65}
.ar-page .ar-shell h3{line-height:1.7}
.ar-page .ar-shell :is(button,summary,.aw-button,.aw-text-link,.ar-nav a){font-family:var(--ar-round)}
/* Welcome and four little chapter labels. */
.ar-page .ar-masthead>p{font-family:var(--ar-hand);font-weight:400;font-size:clamp(19px,2.5vw,25px)!important;line-height:1.85!important;color:#765445!important;max-width:30em;padding:3px 0 4px 12px;border-left:3px dotted #d8aa81}
.ar-page .ar-room-sign{font-family:var(--ar-round);font-weight:700}
.ar-page .ar-section-kicker{display:inline-flex;align-items:center;gap:8px;font:700 12px/1.7 var(--ar-round);letter-spacing:.06em;background:#f6e4d2;color:#815137;border-radius:6px 15px 15px 6px;padding:5px 13px;max-width:100%}
.ar-page #ar-explore .ar-section-heading>.ar-section-kicker{background:#e6eee3;color:#466b53}
.ar-page #ar-notebook>.ar-section-kicker{background:#f7eac7;color:#785c28}
.ar-page #ar-faces>.ar-section-kicker{background:#f4e1e7;color:#8d4f67}
.ar-page .ar-nav{background:transparent;border:0;padding:8px 0;gap:12px}
.ar-page .ar-nav a{justify-content:flex-start;background:#fff4df;border:1px solid #ddc6a7;border-radius:16px 16px 16px 5px;box-shadow:0 3px 0 #e5d5ba;padding:12px;font-size:14px;color:#72573f}
.ar-page .ar-nav a:nth-child(2){background:#edf3e6;border-color:#c9d8be;color:#466b53}
.ar-page .ar-nav a:nth-child(3){background:#fff1cc;border-color:#e5d19e;color:#785c28}
.ar-page .ar-nav a:nth-child(4){background:#fae9ec;border-color:#e6c5cc;color:#8d4f67}
.ar-page .ar-nav a>span{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#fffaf5;color:inherit;font-family:var(--ar-hand);font-size:15px;letter-spacing:0}
.ar-page .ar-nav a:hover{box-shadow:0 1px 0 #d1ba99;filter:brightness(.98)}
/* Profile: four distinct little memo cards, with readable descriptions. */
.ar-page .ar-about-intro>div>p:first-of-type{font-family:var(--ar-round);font-size:19px;line-height:1.85;color:#795840}
.ar-page .ar-about-portrait>span:last-child{font-family:var(--ar-hand);font-size:17px;font-weight:400;text-align:center;text-align-last:center}
.ar-page .ar-passport{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0}
.ar-page .ar-profile-card{position:relative;border-radius:20px 20px 20px 7px;padding:22px 20px 20px;box-shadow:0 4px 0 #ddcab633;align-content:start}
.ar-page .ar-profile-card:nth-child(3){background:#fff3d5;border-color:#e4d3a9}
.ar-page .ar-profile-card:nth-child(4){background:#f8e9ee;border-color:#e4c9d1}
.ar-page .ar-profile-card h3{font-family:var(--ar-round);font-size:19px!important;color:#85523c!important}
.ar-page .ar-profile-card:nth-child(2) h3{color:#4b7257!important}
.ar-page .ar-profile-card:nth-child(3) h3{color:#856523!important}
.ar-page .ar-profile-card:nth-child(4) h3{color:#91536b!important}
.ar-page .ar-profile-card p{font-size:16px!important;line-height:1.95!important}
.ar-page .ar-profile-card b,.ar-page .ar-about-intro strong{font-weight:700;color:#65503d;background:linear-gradient(transparent 65%,#edc48660 65%);box-decoration-break:clone;-webkit-box-decoration-break:clone}
.ar-page .ar-fold{border-radius:16px;border:1px dashed #dac5a6;margin-top:22px}
.ar-page .ar-fold summary{padding-block:15px;font-weight:700;line-height:1.8}
.ar-page .ar-fold dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:4px 0 20px}
.ar-page .ar-fold dl>div{display:block;padding:14px;background:#fffdf7;border-radius:12px}
.ar-page .ar-fold dt{display:inline-block;font-family:var(--ar-round);font-size:15px;color:#94604b;border-bottom:2px dotted #d9b79b;padding-bottom:3px;margin-bottom:8px}
.ar-page .ar-fold dd{margin:0;font-size:15px;line-height:1.9}
/* Short spoken phrases get their own voice and a soft speech bubble. */
.ar-page .ar-room .ar-entry p{font-family:var(--ar-hand);font-size:23px!important;color:#79513a!important}
.ar-page .ar-room .ar-welcome-speech,.ar-page .ar-gallery .am-gallery-current p,.ar-page .ar-support .ar-support-response{position:relative;font-family:var(--ar-hand);font-size:21px!important;font-weight:400;line-height:1.9!important;text-align:left;text-align-last:auto;padding:16px 20px!important;background:#fffaf0;border:1px solid #e2cba8;border-radius:22px 22px 22px 5px;box-shadow:0 3px 0 #e9d9bf55;color:#6f503d!important}
.ar-page .ar-room .ar-welcome-speech{margin:18px 24px 10px!important}
.ar-page .ar-room .ar-room-hint{font-family:var(--ar-round);font-size:13px!important;line-height:1.85!important}
.ar-page .ar-small-label{display:inline-block;font-family:var(--ar-round);font-size:12px;font-weight:700;letter-spacing:.04em;color:#8b684c;border-bottom:2px dotted #d4b995;padding-bottom:4px;max-width:100%}
.ar-page .ar-room .ar-object-card h3{font-family:var(--ar-round);font-size:22px!important;line-height:1.7;color:#537568;margin:12px 0}
.ar-page .ar-room .ar-object-card p{font-size:16px!important;line-height:1.95!important}
.ar-page .ar-object-tabs{gap:8px}
.ar-page .ar-room .ar-object-tabs button{font-family:var(--ar-round);border-radius:18px;font-size:14px;min-height:44px}
.ar-page .ar-object-tabs button[aria-pressed="true"]{background:#e6efdf;color:#3f644b;border-color:#71936b;box-shadow:inset 0 -3px 0 #a8c39d}
/* The notebook reads as a handwritten diary; surrounding narration stays clear. */
.ar-page .ar-story-inset .ar-story-copy h3{font-size:23px;font-family:var(--ar-round);color:#7d5c38}
.ar-page .ar-story-inset .ar-story-copy p{font-size:16px!important}
.ar-page .ar-story-figure figcaption{font-family:var(--ar-hand);font-size:17px;text-align:center;text-align-last:center;padding-top:7px}
.ar-page .ar-story-inset .ar-story-copy .ar-quote{font-family:var(--ar-hand);font-size:23px;font-weight:400;line-height:1.9;padding:15px 18px;border:1px dashed #d1ae85;border-radius:5px 20px 20px 20px;background:#fff8e7;text-align:left;text-align-last:auto;color:#815239}
.ar-page .ar-note-tabs{display:flex;flex-wrap:wrap;gap:7px;padding-left:12px}
.ar-page .ar-note-tabs button{font-family:var(--ar-round);font-size:13px;min-height:44px;padding:10px 13px;border-radius:12px 12px 0 0;background:#f3e8d6;color:#76573d}
.ar-page .ar-note-tabs button:nth-child(2){background:#e8eedf;color:#4d6c52}
.ar-page .ar-note-tabs button:nth-child(3){background:#f3e2e6;color:#87576b}
.ar-page .ar-note-tabs button[aria-pressed="true"]{font-weight:800;border-bottom:3px solid currentColor}
.ar-page .ar-journal-entry h3{font-family:var(--ar-hand);font-weight:400;font-size:27px;line-height:1.7;color:#865139;margin:16px 0}
.ar-page .ar-journal-entry p{font-family:var(--ar-hand);font-size:21px!important;line-height:2!important;text-align:left;text-align-last:auto;margin:12px 0}
/* Expressions, encouragement and letters: warm labels with distinct voices. */
.ar-page .ar-gallery .am-pose-picker button>span:last-child{display:inline-block;font-family:var(--ar-round);font-weight:700;font-size:13px;line-height:1.7;background:#fffaf4;padding:4px 8px;border-radius:20px}
.ar-page .ar-support h2{font-family:var(--ar-hand);font-size:32px;font-weight:400;color:#507654}
.ar-page .ar-support .ar-support-response{margin-top:16px}
.ar-page .aw-letter>summary strong{font-family:var(--ar-round);font-size:clamp(20px,3vw,27px);color:#7b553e}
.ar-page .aw-letter>summary small{font-family:var(--ar-round);font-size:13px;margin-top:5px}
.ar-page .aw-letter .aw-letter-to{font-family:var(--ar-hand);font-size:22px!important;font-weight:400}
.ar-page .aw-letter .aw-letter-body p{font-family:var(--ar-hand);font-size:21px!important;font-weight:400;text-align:left;text-align-last:auto;text-indent:0;line-height:var(--aw-letter-leading)!important}
.ar-page .aw-letter .aw-letter-body strong{font-weight:400;color:#8b4b40;background:linear-gradient(transparent 70%,#f4d0bf80 70%);box-decoration-break:clone;-webkit-box-decoration-break:clone}
.ar-page .aw-letter-sign-copy strong{font-family:var(--ar-hand);font-size:29px;font-weight:400;transform:rotate(-3deg)}
.ar-page .ar-farewell h2{font-family:var(--ar-hand);font-size:32px!important;font-weight:400;color:#826047;text-align:center;text-align-last:center}
.ar-page .ar-farewell p{text-align:center;text-align-last:center;font-family:var(--ar-round);font-size:16px!important;max-width:36em;margin-inline:auto}
.ar-page .ar-farewell-actions{align-items:center;justify-content:center}
.ar-page .am-room-content>.am-section h2{font-family:"M PLUS Rounded 1c","Hiragino Maru Gothic ProN",sans-serif}
@media(min-width:761px){.ar-page .ar-profile-card:nth-child(even){margin-top:12px;margin-bottom:-12px}}
@media(max-width:760px){
 .ar-page .ar-passport{grid-template-columns:1fr;gap:15px}
 .ar-page .ar-profile-card{padding:18px 16px;grid-template-columns:minmax(0,1fr) 68px;gap:10px}
 .ar-page .ar-profile-card h3{font-size:18px!important}
 .ar-page .ar-fold{padding-inline:14px}
 .ar-page .ar-fold dl{grid-template-columns:1fr;gap:10px}
 .ar-page .ar-nav{gap:9px}
 .ar-page .ar-nav a{font-size:12px;gap:6px;padding:10px 8px}
 .ar-page .ar-nav a>span{flex-basis:23px;height:23px;font-size:13px}
 .ar-page .ar-room .ar-welcome-speech{margin-inline:16px!important}
 .ar-page .ar-room .ar-welcome-speech,.ar-page .ar-gallery .am-gallery-current p,.ar-page .ar-support .ar-support-response{padding:13px 15px!important;font-size:19px!important}
 .ar-page .ar-journal-entry h3{font-size:24px}
 .ar-page .ar-journal-entry p,.ar-page .aw-letter .aw-letter-body p{font-size:19px!important}
 .ar-page .ar-note-tabs{padding-left:0;gap:4px}
 .ar-page .ar-note-tabs button{font-size:12px;padding:9px 8px;flex:1 1 80px}
 .ar-page .ar-story-inset .ar-story-copy .ar-quote{font-size:21px}
}
