/* V10 type scale: Maple headings, readable system body, and full-Hangul chat font. */
body[data-ui-theme]{font-size:13px;line-height:1.6;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body[data-ui-theme] .topbar #music{font-size:11px;line-height:16px;padding:6px 9px}
body[data-ui-theme] .quick-menu>a{font-size:11px;line-height:16px}
body[data-ui-theme] .window-bar h1,body[data-ui-theme] .window-bar h2{font-size:14px;line-height:20px;font-weight:700}
body[data-ui-theme] .map-title>span{font-size:12px;line-height:18px}
body[data-ui-theme] .map-title>small{font-size:9px;line-height:14px}
body[data-ui-theme] .forest-note>.quest-hint,body[data-ui-theme] .forest-note>.invite-shortcut{font-size:12px;line-height:18px}
body[data-ui-theme] .scene .quest-tracker summary{font-size:10px;line-height:15px;height:auto;min-height:27px}
body[data-ui-theme] .scene .quest-tracker small,body[data-ui-theme] #tracker-count{font-size:9px;line-height:14px}
body[data-ui-theme] .scene .quest-tracker strong{font-size:11px;line-height:17px;white-space:normal;word-break:keep-all}
body[data-ui-theme] #tracker-hint{font-size:10px;line-height:15px;white-space:normal;word-break:keep-all}
body[data-ui-theme] .section-label{font-size:10px;line-height:16px;letter-spacing:1px}
body[data-ui-theme] .schedule .paper>h2{font-size:24px;line-height:1.5;font-weight:700}
body[data-ui-theme] .weekdays>span{font-size:11px;line-height:18px}
body[data-ui-theme] .calendar-days>span{font-size:12px}
body[data-ui-theme] .date-actions .silver,body[data-ui-theme] #more-photos{font-size:12px;line-height:18px}
body[data-ui-theme] #album .inventory-content>p{font-size:11px;line-height:18px}
body[data-ui-theme] .location-paper{font-size:13px;line-height:1.7}
body[data-ui-theme] .location-paper small,body[data-ui-theme] .location-paper .guide-note,body[data-ui-theme] .location-paper .location-source,body[data-ui-theme] .location-paper .tmap-link-note,body[data-ui-theme] .location-paper .expand-hint{font-size:11px;line-height:18px}
body[data-ui-theme] #copy-address,body[data-ui-theme] #tmap-link-help,body[data-ui-theme] .map-heading>a{font-size:11px;line-height:18px}
body[data-ui-theme] .party small,body[data-ui-theme] .party a{font-size:11px;line-height:18px}
body[data-ui-theme] .party b{font-size:14px;line-height:20px}
body[data-ui-theme] .bongbong-note b{font-size:12px;line-height:18px}
body[data-ui-theme] .bongbong-note span{font-size:11px;line-height:18px}
body[data-ui-theme] .ending{font-size:10px;line-height:17px;letter-spacing:.6px}
body[data-ui-theme] #quest-dialog .quest-dialog>.window-bar h1{font-size:13px;line-height:20px}
body[data-ui-theme] #quest-dialog .quest-category{font-size:11px!important;line-height:17px}
body[data-ui-theme] #quest-dialog .dialog-copy h2{font-size:18px;line-height:1.5;word-break:keep-all}
body[data-ui-theme] #quest-text{font-size:14px;line-height:1.8}
body[data-ui-theme] #quest-footnote{font-size:11px;line-height:18px;word-break:keep-all}
body[data-ui-theme] #dialog-progress{font-size:10px;line-height:16px}
body[data-ui-theme] #quest-back,body[data-ui-theme] #quest-next{font-size:11px;line-height:18px}
body[data-ui-theme] #village-count,body[data-ui-theme] #book-status{font-size:10px;line-height:16px}
body[data-ui-theme] #guestbook .park-actions button{font-size:11px;line-height:17px}
body[data-ui-theme] #guestbook .park-actions button>span{font-size:11px}
body[data-ui-theme] .channel-legend{font-size:9px;line-height:14px}
body[data-ui-theme] #village-channels .channel-name{font-size:11px;line-height:16px}
body[data-ui-theme] #village-channels .channel-choice>small{font-size:9px;line-height:13px}
body[data-ui-theme] #village-empty{font-size:12px;line-height:20px}
body[data-ui-theme] .chat-window-heading h3{font-size:12px;line-height:18px}
body[data-ui-theme] .chat-window-heading>span{font-size:10px;line-height:16px}
body[data-ui-theme] .village-chat-log{font-size:12px;line-height:1.7}
body[data-ui-theme] .village-form>label,body[data-ui-theme] .avatar-picker-heading{font-size:12px;line-height:18px}
body[data-ui-theme] #random-guest-avatar{font-size:11px;line-height:16px;flex-shrink:0}
body[data-ui-theme] .avatar-tabs button{font-size:12px;line-height:18px}
body[data-ui-theme] .avatar-choice-name{font-size:10px;line-height:14px;min-height:28px;width:100%;padding:0 2px;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;text-align:center}
body[data-ui-theme] .guest-avatar-choice{justify-content:flex-start}
body[data-ui-theme] .selected-avatar-name{font-size:11px;line-height:17px}
body[data-ui-theme] #guest-form-status{font-size:12px;line-height:18px}
body[data-ui-theme] .village-form-footer button{font-size:13px;line-height:20px}
@media(max-width:350px){body[data-ui-theme] .brand{font-size:16px}body[data-ui-theme] #quest-dialog .dialog-copy h2{font-size:16px}body[data-ui-theme] #quest-text{font-size:13px;line-height:1.75}body[data-ui-theme] .avatar-picker-heading{flex-wrap:wrap}body[data-ui-theme] #guestbook .park-toolbar{flex-wrap:wrap;gap:6px}body[data-ui-theme] #guestbook .park-actions{margin-left:auto}body[data-ui-theme] .channel-heading{flex-wrap:wrap;row-gap:3px}}
body[data-ui-theme] .week>span{font-size:11px;line-height:18px}
body[data-ui-theme] .channel-heading>span:first-child{font-size:10px;line-height:16px}
body[data-ui-theme] #guest-avatars{grid-auto-rows:minmax(102px,auto)}
body[data-ui-theme] .avatar-choice-name{flex-shrink:0;color:#667e72}
@media(max-width:350px){body[data-ui-theme] #guest-avatars{grid-auto-rows:minmax(96px,auto)}}
body[data-ui-theme] #quest-dialog .dialog-copy h2{font-family:Maplestory,"Malgun Gothic",sans-serif;font-weight:700}

body[data-ui-theme] #panel .quest-panel-actions{grid-template-columns:minmax(0,1fr);gap:8px;align-items:stretch}
body[data-ui-theme] #panel .quest-panel-actions>a{display:flex;align-items:center;justify-content:center;width:100%;min-height:40px;padding:9px 12px;background:var(--action);color:var(--action-text);border:1px solid var(--accent);border-radius:var(--control-radius);font:12px/20px 'Apple SD Gothic Neo','Malgun Gothic',sans-serif;text-align:center;white-space:normal;box-shadow:none;transform:none}

/* Keep the one-photo viewer and swipe navigation, without pinch/double-tap zoom. */
#photo,#photo-img{touch-action:pan-y}#photo-img{width:auto;height:auto;object-fit:contain;user-select:none;-webkit-user-select:none}#album-grid button{background:#edf2ef}

body[data-ui-theme] #home .map-caption{font-size:10px}
