/* Child drawing surface, adapted from the approved local sample. */
#diary-section .diary-child *{box-sizing:border-box}body[data-page="family"][data-panel="diary"]{margin:0;background:#f8f6ee;color:#375949;font:18px/1.45 'Microsoft YaHei',sans-serif;background-image:radial-gradient(ellipse at 0 30%,#e4efdb 0,transparent 45%),radial-gradient(ellipse at 100% 0,#f7e7d0 0,transparent 42%)}#diary-section .diary-child button,#diary-section .diary-child a{-webkit-tap-highlight-color:transparent;touch-action:manipulation;color:inherit;font:inherit}#diary-section .diary-child button{cursor:pointer;border:0}#diary-section .diary-child button:disabled{opacity:.37;cursor:default}#diary-section .diary-child button:focus-visible,#diary-section .diary-child a:focus-visible{outline:3px solid #dfad47;outline-offset:5px}#diary-section .diary-child button:active:not(:disabled){transform:translateY(2px)}#diary-section .diary-child [hidden]{display:none!important}#diary-section .diary-child svg{display:block;width:100%;height:100%}#diary-section .diary-child{max-width:1336px;margin:auto;padding:24px 30px 12px}#diary-section .diary-child .draw-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:15px}#diary-section .diary-child .draw-header h1{display:flex;align-items:center;gap:14px;font-size:35px;letter-spacing:4px;margin:0;font-weight:800}#diary-section .diary-child .draw-header h1>span{width:45px;height:45px}#diary-section .diary-child .back-button{display:flex;align-items:center;gap:12px;text-decoration:none;width:max-content;padding:12px 18px;background:#fffdf4;border:2px solid #d8dfcb;border-radius:20px;font-size:18px;font-weight:700}#diary-section .diary-child .back-button>span:first-child{width:26px;height:26px}#diary-section .diary-child .header-actions{display:flex;justify-content:end;gap:20px;align-items:center}#diary-section .diary-child .header-actions button{display:flex;align-items:center;justify-content:center;gap:10px;background:#eef0da;border:2px solid #d5dbc0;border-radius:22px;padding:11px 16px;font-weight:700;min-height:56px}#diary-section .diary-child .header-actions button>span:first-child{width:30px;height:30px}#diary-section .diary-child .header-actions .parent-button{font-size:13px;background:none;border:0;padding:10px 0;gap:6px;color:#829078}#diary-section .diary-child .header-actions .parent-button>span:first-child{width:17px;height:17px}#diary-section .diary-child .draw-invitation{font-size:21px;text-align:center;color:#758166;margin:14px 0 24px;letter-spacing:1px}#diary-section .diary-child .drawing-workspace{display:grid;grid-template-columns:94px minmax(0,1fr);align-items:stretch;gap:22px;padding-right:22px}#diary-section .diary-child .toolbox{display:flex;flex-direction:column;align-items:center;gap:11px;padding-top:18px}#diary-section .diary-child .tool{width:90px;height:87px;background:#fdfbf0;border:2px solid #e0deca;border-radius:21px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-weight:700;font-size:15px;box-shadow:0 3px #e4e1ce88}#diary-section .diary-child .tool>span:first-child{width:39px;height:38px}#diary-section .diary-child .tool.selected{border-color:#78a27a;background:#e4efd9;box-shadow:0 0 0 3px #fefbee,0 4px #a5c19b60}#diary-section .diary-child .brush-sizes{display:grid;grid-template-columns:1fr;gap:9px;padding:12px 17px;margin-top:4px;border-radius:25px;background:#e9ead8}#diary-section .diary-child .size-button{width:45px;height:43px;display:grid;place-items:center;background:transparent;border-radius:50%;border:2px solid transparent}#diary-section .diary-child .size-button i{display:block;border-radius:50%;width:var(--dot);height:var(--dot);background:#436a50}#diary-section .diary-child .size-button.selected{border-color:#8daf84;background:#fffdf0}#diary-section .diary-child .paper-frame{position:relative;padding:18px;background:#e3e9d5;border:3px solid #c9d7b5;border-radius:29px;box-shadow:0 10px 0 #d5ddc665,0 18px 26px #75846216}#diary-section .diary-child .paper{width:100%;height:100%;min-height:430px;background:#fffefa;border-radius:12px;border:1px solid #e7e5d9;position:relative;overflow:hidden;box-shadow:0 2px 5px #a4ac8e14}#diary-section .diary-child #diary-canvas{width:100%;height:100%;display:block;min-height:430px;max-height:550px;aspect-ratio:1000/560;touch-action:none;cursor:crosshair}#diary-section .diary-child .paper-tape{position:absolute;z-index:2;top:-12px;width:103px;height:31px;background:repeating-linear-gradient(90deg,#e9c88ca1 0 7px,#f0d99ea1 7px 14px);border:1px solid #c9af7455;box-shadow:0 2px 0 #bdb59e18;clip-path:polygon(0 0,100% 4%,97% 22%,100% 40%,97% 58%,100% 80%,98% 100%,1% 97%,4% 79%,0 58%,3% 40%,0 20%)}#diary-section .diary-child .tape-left{left:45px;transform:rotate(-11deg)}#diary-section .diary-child .tape-right{right:45px;transform:rotate(10deg)}#diary-section .diary-child .empty-hint{position:absolute;top:43%;left:0;width:100%;display:flex;align-items:center;justify-content:center;gap:14px;color:#b5b8a8;font-size:21px;pointer-events:none}#diary-section .diary-child .empty-hint>span:first-child{width:42px;height:42px;opacity:.4}#diary-section .diary-child .color-box{display:flex;align-items:center;justify-content:center;gap:25px;margin:24px 22px 0 116px;border:2px solid #dcd8bc;border-radius:25px;background:#f2ebd6;box-shadow:0 4px #dad5bd66;min-height:99px;padding:0 24px}#diary-section .diary-child .color-crayons{display:flex;align-items:end;justify-content:center;gap:23px;min-height:95px}#diary-section .diary-child .crayon-button{padding:0 4px;width:56px;height:91px;display:flex;align-items:end;justify-content:center;position:relative;background:none;transition:transform .18s}#diary-section .diary-child .crayon-button svg{width:41px;height:84px;filter:drop-shadow(0 4px 1px #93897130)}#diary-section .diary-child .crayon-button[aria-pressed=true]{transform:translateY(-12px)}#diary-section .diary-child .crayon-button[aria-pressed=true]:after{content:'✓';position:absolute;bottom:15px;left:13px;width:28px;height:28px;display:grid;place-items:center;border:3px solid #fffbea;background:#507957;color:#fffbe8;font-size:15px;border-radius:50%;box-shadow:0 2px #32532c55}#diary-section .diary-child .crayon-button:focus-visible{border-radius:13px}#diary-section .diary-child .color-selection{font-size:16px;color:#8a8569;background:#fff9e8;padding:8px 14px;border-radius:18px;min-width:64px;text-align:center}#diary-section .diary-child .drawing-footer{display:flex;align-items:center;justify-content:end;gap:26px;margin:24px 22px 0 116px;min-height:90px}#diary-section .diary-child .little-companion{margin-right:auto;display:flex;align-items:center;gap:12px}#diary-section .diary-child .little-companion img{width:68px;height:86px;object-fit:contain}#diary-section .diary-child .little-companion span{font-size:16px;background:#eef2de;color:#687c54;border-radius:18px 18px 18px 3px;padding:9px 13px}#diary-section .diary-child .extra-tools{display:flex;gap:13px}#diary-section .diary-child .extra-tools button{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 17px;min-height:56px;border:2px solid #d7decb;background:#fffdf1;border-radius:18px;font-size:17px;font-weight:600}#diary-section .diary-child .extra-tools button>span:first-child{width:28px;height:28px}#diary-section .diary-child .done-button{height:74px;min-width:207px;background:#56846a;border:3px solid #406d54;color:#fffbea;border-radius:25px;box-shadow:0 5px #355f492f;display:flex;align-items:center;justify-content:center;gap:12px;font-size:27px;font-weight:bold}#diary-section .diary-child .done-button>span:first-child{width:32px;height:32px}#diary-section .diary-child .preview-note{font-size:12px;text-align:center;color:#8a9381;padding:10px 12px 16px}#diary-section .diary-child dialog{width:min(92vw,600px);border:2px solid #cad9b9;border-radius:25px;background:#fffdf1;color:#375949;padding:26px;text-align:center;max-height:calc(var(--kid-vh,1vh) * 90);overflow:auto}#diary-section .diary-child dialog::backdrop{background:#35533f55}#diary-section .diary-child dialog h2{font-size:25px;margin:0 0 18px}#diary-section .diary-child dialog p{color:#6d7d63;font-size:16px;line-height:1.8}#diary-section .diary-child .dialog-close{min-height:48px;padding:10px 25px;background:#5a8267;color:#fffbea;border-radius:18px;font-weight:bold}#diary-section .diary-child .picture-preview{max-width:100%;height:230px;object-fit:contain;background:white;border:2px solid #dfe5d1;border-radius:14px}#diary-section .diary-child .dialog-note{font-size:12px!important;color:#8b9480!important}#diary-section .diary-child .photo-options{display:flex;justify-content:center;gap:18px}#diary-section .diary-child .photo-option{width:135px;min-height:130px;background:#f2ecd7;border-radius:22px;padding:22px;display:flex;align-items:center;flex-direction:column;gap:10px;font-size:20px}#diary-section .diary-child .photo-option>span:first-child{width:55px;height:55px}#diary-section .diary-child .record-circle{display:grid;place-items:center;width:92px;height:92px;border-radius:50%;background:#d98a79;margin:24px auto}#diary-section .diary-child .record-circle svg{width:43px;height:43px;color:#fff9e9}#diary-section .diary-child .parent-info{background:#f0f3e5;border-radius:18px;text-align:left;padding:15px 20px;line-height:2;font-size:16px}
@media(min-width:1000px) and (max-height:920px){#diary-section .diary-child{padding-top:17px}#diary-section .diary-child .draw-invitation{margin:10px 0 22px}#diary-section .diary-child .paper,#diary-section .diary-child #diary-canvas{min-height:380px}#diary-section .diary-child #diary-canvas{max-height:470px}#diary-section .diary-child .toolbox{gap:8px;padding-top:6px}#diary-section .diary-child .tool{height:77px}#diary-section .diary-child .brush-sizes{grid-template-columns:repeat(3,1fr);gap:0;padding:8px 3px;width:146px;transform:translateX(2px);border-radius:20px}#diary-section .diary-child .size-button{width:44px;height:44px}#diary-section .diary-child .color-box{margin-top:22px;min-height:92px}#diary-section .diary-child .color-crayons{min-height:88px}#diary-section .diary-child .crayon-button{height:84px}#diary-section .diary-child .crayon-button svg{height:77px}#diary-section .diary-child .drawing-footer{margin-top:17px;min-height:79px}#diary-section .diary-child .little-companion img{height:77px}#diary-section .diary-child .preview-note{padding-top:7px}}
@media(max-width:950px){#diary-section .diary-child{padding:16px 18px 8px}#diary-section .diary-child .draw-header{gap:10px}#diary-section .diary-child .draw-header h1{font-size:28px;letter-spacing:2px;gap:9px}#diary-section .diary-child .draw-header h1>span{width:33px;height:33px}#diary-section .diary-child .back-button{font-size:0;padding:12px}#diary-section .diary-child .back-button>span:first-child{width:25px;height:25px}#diary-section .diary-child .header-actions{gap:14px}#diary-section .diary-child .header-actions button{font-size:15px;padding:9px 12px}#diary-section .diary-child .header-actions .parent-button span:last-child{display:none}#diary-section .diary-child .header-actions .parent-button{min-height:44px;min-width:44px;padding:10px}#diary-section .diary-child .header-actions .parent-button>span:first-child{width:21px;height:21px}#diary-section .diary-child .drawing-workspace{padding:0;gap:14px;grid-template-columns:74px minmax(0,1fr)}#diary-section .diary-child .toolbox{gap:8px}#diary-section .diary-child .tool{width:70px;height:76px;font-size:13px}#diary-section .diary-child .tool>span:first-child{width:34px;height:33px}#diary-section .diary-child .paper-frame{padding:14px}#diary-section .diary-child .paper,#diary-section .diary-child #diary-canvas{min-height:420px}#diary-section .diary-child .brush-sizes{padding:10px;gap:8px}#diary-section .diary-child .color-box,#diary-section .diary-child .drawing-footer{margin-left:88px;margin-right:0}#diary-section .diary-child .color-box{padding-inline:12px;gap:10px}#diary-section .diary-child .color-crayons{gap:10px}#diary-section .diary-child .color-selection{display:none}#diary-section .diary-child .drawing-footer{gap:15px}#diary-section .diary-child .little-companion span{display:none}#diary-section .diary-child .extra-tools button{font-size:14px;gap:6px;padding:10px}#diary-section .diary-child .done-button{min-width:175px;font-size:24px;height:69px}}
@media(max-width:600px){#diary-section .diary-child{padding:15px 12px 4px}#diary-section .diary-child .draw-header{grid-template-columns:48px 1fr auto;gap:10px}#diary-section .diary-child .draw-header h1{font-size:25px;justify-content:center;gap:0}#diary-section .diary-child .draw-header h1>span{display:none}#diary-section .diary-child .back-button{padding:9px;border-radius:15px;min-width:44px;min-height:44px}#diary-section .diary-child .back-button>span:first-child{width:23px;height:23px}#diary-section .diary-child .header-actions{gap:8px}#diary-section .diary-child .header-actions button{padding:8px;font-size:12px;gap:3px;border-radius:14px;min-width:47px;min-height:44px;flex-direction:column}#diary-section .diary-child .header-actions button>span:first-child{width:24px;height:24px}#diary-section .diary-child .header-actions .parent-button{min-width:44px;min-height:44px;padding:10px}#diary-section .diary-child .draw-invitation{font-size:16px;margin:14px 0 20px;letter-spacing:0}#diary-section .diary-child .drawing-workspace{display:flex;flex-direction:column-reverse;gap:15px}#diary-section .diary-child .paper-frame{padding:11px;border-radius:23px}#diary-section .diary-child .paper{min-height:350px;border-radius:10px}#diary-section .diary-child #diary-canvas{min-height:350px;height:350px;max-height:none;aspect-ratio:auto}#diary-section .diary-child .paper-tape{width:75px;height:25px;top:-11px}#diary-section .diary-child .tape-left{left:23px}#diary-section .diary-child .tape-right{right:23px}#diary-section .diary-child .toolbox{padding-top:0;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;align-items:center}#diary-section .diary-child .tool{width:100%;height:68px;border-radius:17px;font-size:12px;gap:1px}#diary-section .diary-child .tool>span:first-child{width:30px;height:31px}#diary-section .diary-child .brush-sizes{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:16px;width:max-content;justify-self:center;margin:0;padding:2px 18px;border-radius:22px}#diary-section .diary-child .size-button{width:44px;height:44px}#diary-section .diary-child .color-box{margin:14px 0 0;min-height:88px;border-radius:21px;padding:0 5px;gap:0}#diary-section .diary-child .color-crayons{width:100%;gap:0;justify-content:space-around;min-height:82px}#diary-section .diary-child .crayon-button{width:44px;height:78px;padding:0 3px}#diary-section .diary-child .crayon-button svg{width:32px;height:72px}#diary-section .diary-child .crayon-button[aria-pressed=true]{transform:translateY(-9px)}#diary-section .diary-child .crayon-button[aria-pressed=true]:after{left:9px;width:24px;height:24px;font-size:12px;bottom:11px}#diary-section .diary-child .drawing-footer{margin:16px 0 0;gap:12px;justify-content:space-between;min-height:66px}#diary-section .diary-child .little-companion{display:none}#diary-section .diary-child .extra-tools{gap:8px}#diary-section .diary-child .extra-tools button{height:60px;min-width:61px;padding:6px 7px;flex-direction:column;font-size:11px;gap:3px;border-radius:15px}#diary-section .diary-child .extra-tools button>span:first-child{width:25px;height:25px}#diary-section .diary-child .done-button{min-width:160px;height:62px;border-radius:21px;font-size:23px;gap:8px}#diary-section .diary-child .done-button>span:first-child{width:26px;height:26px}#diary-section .diary-child .empty-hint{font-size:17px}#diary-section .diary-child .empty-hint>span:first-child{width:30px;height:30px}#diary-section .diary-child .preview-note{font-size:10px;padding:10px 5px 14px}}
@media(max-width:350px){#diary-section .diary-child .draw-header{gap:6px;grid-template-columns:44px 1fr auto}#diary-section .diary-child .draw-header h1{font-size:23px}#diary-section .diary-child .header-actions{gap:4px}#diary-section .diary-child .header-actions button{min-width:43px}#diary-section .diary-child .paper,#diary-section .diary-child #diary-canvas{min-height:292px;height:292px}#diary-section .diary-child .crayon-button{width:34px}#diary-section .diary-child .crayon-button svg{width:27px}#diary-section .diary-child .done-button{min-width:143px;font-size:21px}#diary-section .diary-child .tool{font-size:11px}#diary-section .diary-child .toolbox{gap:6px}#diary-section .diary-child .extra-tools{gap:5px}#diary-section .diary-child .extra-tools button{min-width:56px}#diary-section .diary-child .drawing-footer{gap:9px}}
@media(prefers-reduced-motion:reduce){#diary-section .diary-child *{transition:none!important}}
/* The saved diary uses its existing 1000 × 620 paper coordinates on every screen. */
body[data-page=family][data-panel=diary]>.site-header,body[data-page=family][data-panel=diary]>.footer,body[data-page=family][data-panel=diary] .island-topline,body[data-page=family][data-panel=diary] .workspace-tabs{display:none!important}
body[data-page=family][data-panel=diary]>.page{padding:0;max-width:none}
#diary-section .diary-child{display:block;border:0;border-radius:0;box-shadow:none;background:none;margin:auto;min-width:0;color:#375949;font:18px/1.45 'Microsoft YaHei',sans-serif}
#diary-section .diary-child button{margin:0}
#diary-section .diary-child .drawing-workspace{max-width:1060px;margin-inline:auto}
#diary-section .diary-child .paper-frame{overflow:visible}
#diary-section .diary-child .paper{min-height:0;height:auto}
#diary-section .diary-child .diary-paper-area{background:none;aspect-ratio:1000/620;height:auto;width:100%;border-radius:10px;overflow:hidden}
#diary-section .diary-child #diary-canvas{height:100%;min-height:0;max-height:none;aspect-ratio:1000/620;background:none}
#diary-section .diary-child .brush-sizes{grid-template-columns:1fr;gap:4px;width:auto;transform:none;padding:6px 12px}
#diary-section .diary-child .toolbox.drawing-tools{margin:0;flex-wrap:nowrap}
#diary-section .diary-child .tool[aria-pressed=true]{color:#375949;background:#e4efd9}
#diary-section .diary-child .draw-icon{display:block;flex:none}
#diary-section .diary-child .draw-status{text-align:center;margin:13px 0 8px}
#diary-section .diary-child .draw-status .error:empty{display:none}
#diary-section .diary-child .diary-status{font-size:13px}
#diary-section .diary-child .extra-tools button{position:relative}
#diary-section .diary-child .extra-tools small:empty{display:none}
#diary-section .diary-child .extra-tools small{position:absolute;right:-4px;top:-7px;width:23px;height:23px;border-radius:50%;background:#72977a;color:#fffefa;font-size:12px;display:grid;place-items:center}
#diary-section .diary-child .draw-dialog .diary-list{margin:16px 0;display:block}
#diary-section .diary-child .draw-dialog .diary-meta{display:grid;grid-template-columns:1fr;text-align:left;gap:14px}
#diary-section .diary-child .draw-dialog .diary-meta label{font-size:15px}
#diary-section .diary-child .draw-dialog .diary-mode{justify-content:center}
#diary-section .diary-child .draw-dialog .diary-mode button{font-size:15px;padding:10px 14px}
#diary-section .diary-child .draw-advanced{margin:20px 0;text-align:left;background:#f0f3e5;border-radius:14px;padding:12px}
#diary-section .diary-child .draw-advanced summary{cursor:pointer;padding:6px;font-size:15px;min-height:44px}
#diary-section .diary-child .draw-advanced input,#diary-section .diary-child .draw-advanced select{width:80px;display:inline-block;margin:12px}
#diary-section .diary-child .draw-advanced button{margin:6px;padding:10px 14px;font-size:15px}
#diary-section .diary-child .draw-advanced .diary-saved-modes{font-size:12px;line-height:1.8}
#diary-section .diary-child .draw-gallery{width:min(94vw,880px)}
#diary-section .diary-child #diary-entries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}
#diary-section .diary-child .diary-entry{min-width:0;padding:12px;text-align:center;border-radius:20px;background:#faf6e7;color:#375949;border:2px solid #dce4cb;display:grid;gap:10px;font-size:15px;font-weight:600}
#diary-section .diary-child .diary-entry.active{border-color:#6a956e}
#diary-section .diary-child .entry-picture{width:100%;aspect-ratio:1000/620;background:#fffefa;border-radius:12px;overflow:hidden;display:grid;place-items:center}
#diary-section .diary-child .entry-picture>.draw-icon{width:52px;height:52px}
#diary-section .diary-child .entry-picture>img{width:100%;height:100%;object-fit:contain}
#diary-section .diary-child .diary-entry strong{font-size:16px;overflow-wrap:anywhere}
#diary-section .diary-child .diary-entry small{font-size:12px;font-weight:400}
#diary-section .diary-child .gallery-actions button{padding:12px 22px;border-radius:18px;background:#5a8267;color:#fffbea;font-size:17px}
#diary-section .diary-child .diary-photo-tools{margin:0}
#diary-section .diary-child .photo-add{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#diary-section .diary-child .photo-add button{padding:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:20px;background:#f2ecd7;min-height:130px;border-radius:22px}
#diary-section .diary-child .photo-add .draw-icon{width:54px;height:54px}
#diary-section .diary-child .photo-add [data-diary-tool=photo]{grid-column:1/-1;min-height:48px;background:#e9efdb;font-size:16px;padding:10px}
#diary-section .diary-child .diary-photo-tools p{font-size:13px;line-height:1.8;margin:18px 0}
#diary-section .diary-child .draw-photo-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin-top:16px}
#diary-section .diary-child .draw-photo-controls:has(#diary-photo-done[hidden]){margin:0}
#diary-section .diary-child .photo-adjust{margin:0;padding:12px;background:#eef1dc;border-radius:18px;justify-content:center;gap:10px}
#diary-section .diary-child .photo-adjust button,#diary-section .diary-child #diary-photo-done{min-height:44px;font-size:15px;padding:10px 13px;border-radius:15px;background:#e0e9d5;color:#42664d}
#diary-section .diary-child .photo-adjust select{width:112px}
#diary-section .diary-child .photo-adjust input[type=range]{width:100px}
#diary-section .diary-child .diary-audio{margin:0;padding:0;background:none}
#diary-section .diary-child .diary-audio h3{font-size:25px;margin-bottom:15px}
#diary-section .diary-child .diary-audio p{font-size:14px;line-height:1.8}
#diary-section .diary-child .audio-actions{justify-content:center;margin:20px 0}
#diary-section .diary-child .audio-actions button{padding:14px 22px;font-size:18px;border-radius:20px;background:#e8b2a0;color:#704b3f}
#diary-section .diary-child .audio-actions #diary-record-stop{background:#5a8267;color:#fffbea}
#diary-section .diary-child .diary-audio .diary-recording button{font-size:14px;padding:10px 14px}
#diary-section .diary-child .diary-text{margin:18px auto;max-width:970px}
#diary-section .diary-child .diary-text textarea{min-height:220px}
#diary-section .diary-child .toolbox .tool{padding:0}
#diary-section .diary-child .brush-sizes button{padding:0;min-height:44px}
#diary-section .diary-child .crayon-button{min-width:44px}
@media(max-width:600px){
 #diary-section .diary-child .brush-sizes{display:flex;gap:16px;padding:2px 18px}
 #diary-section .diary-child .draw-status{margin:10px 0}
 #diary-section .diary-child #diary-entries{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #diary-section .diary-child .photo-adjust{gap:8px;font-size:13px}
 #diary-section .diary-child .photo-adjust input[type=range]{width:88px}
 #diary-section .diary-child .photo-adjust label{font-size:12px}
 #diary-section .diary-child .drawing-workspace{gap:12px}
}
@media(max-width:350px){#diary-section .diary-child .color-box{overflow:auto;justify-content:start;padding:0 8px}#diary-section .diary-child .color-crayons{width:max-content;justify-content:start;gap:2px}#diary-section .diary-child .crayon-button{flex:none}}
@media(min-width:1000px) and (max-height:920px){#diary-section .diary-child .drawing-workspace{max-width:920px}#diary-section .diary-child{padding-bottom:8px}#diary-section .diary-child .draw-invitation{line-height:1.45}#diary-section .diary-child .drawing-footer{margin-top:14px}}
#diary-section .diary-child[data-input-mode=text] .drawing-workspace{display:flex;flex-direction:column-reverse;gap:14px}
#diary-section .diary-child[data-input-mode=text] .toolbox{flex-direction:row;justify-content:center;padding-top:0}
#diary-section .diary-child[data-input-mode=text] .brush-sizes,#diary-section .diary-child[data-input-mode=text] .color-box{display:none}
#diary-section .diary-child[data-input-mode=text] .diary-text{margin-top:16px}
@media(min-width:1000px) and (max-height:920px){#diary-section .diary-child .color-box,#diary-section .diary-child .drawing-footer{max-width:782px;margin-left:auto;margin-right:auto;transform:translateX(47px)}}
/* Drawing uses the same upper-left map exit as the standalone games. */
body[data-panel=diary] .island-header{display:none!important}
#diary-section .diary-child .draw-header{position:sticky;top:0;z-index:20;background:#f8f6ee}
#diary-section .diary-child .back-button>span:last-child{font-size:16px;white-space:nowrap}
