@font-face{font-family:WenKai;src:url(assets/handwriting.woff2) format('woff2');font-display:swap}
@font-face{font-family:PatrickHand;src:url(assets/PatrickHand.ttf) format('truetype');font-display:swap}
:root{color-scheme:light;background:#eed7c9;color:#66616a;font-family:WenKai,serif;--paper:#f4efe3;--ink:#66616a;--soft:#8e8581;--line:#c8beb066;--wash:#b9c2b23d;--grain:url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%238c7d69' opacity='.08' filter='url(%23n)' d='M0 0h150v150H0z'/%3E%3C/svg%3E");--underline:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 7Q45 4 83 6t74-2M4 9q60-3 118-1' fill='none' stroke='%23908476' stroke-width='.8' stroke-linecap='round'/%3E%3C/svg%3E")}
*{box-sizing:border-box;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}html,body{width:100%;height:100%;min-height:100%;margin:0;padding:0;overflow:clip}body{height:100dvh;overscroll-behavior:none}img,svg,canvas{-webkit-user-drag:none}
/* Selection is intentional only inside an active writing field. */
.text-mode .rich-text[contenteditable=true]:focus,.text-mode .rich-text[contenteditable=true]:focus *,input:is([type=text],[type=number],[type=search],:not([type])):focus,textarea:focus{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
canvas{display:block}#world{width:100%;height:100%;margin:0;padding:0;border:0;touch-action:none;user-select:none;-webkit-tap-highlight-color:transparent;cursor:default}#world:focus{outline:none}
button,input,select,textarea{font:inherit}button{border:0;background:none;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:1px dashed #9c8e7b;outline-offset:4px}input,select{color:inherit}button svg{fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}button i{display:block;font-style:normal}[hidden]{display:none!important}
/* Small tools laid on a strip of paper. */
.tools{position:fixed;left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 13px;width:max-content;max-width:calc(100vw - 20px);background:var(--grain),#f4efe5ee;box-shadow:1px 3px 7px #62515a13;border-radius:2px 3px 1px 4px;touch-action:manipulation}
.tools:before{content:'';position:absolute;inset:3px;border:1px solid #b5a18b26;pointer-events:none;clip-path:polygon(0 0,22% 0,22% 2%,99% 1%,100% 100%,67% 99%,67% 98%,0 100%)}
.tool{position:relative;flex-shrink:0;width:32px;height:34px;padding:6px;opacity:.75}.tool svg{display:block;width:100%;height:100%}.tool:hover{opacity:1}.tool.active:after{content:'';position:absolute;inset:0;background:var(--wash);border-radius:47% 51% 38% 55%;transform:rotate(-9deg);z-index:-1}.tool.active{opacity:1}.tools .primary-tool{color:#607b70;opacity:1;width:37px;border-left:1px solid var(--line);padding-left:10px}.tools>.tool:last-child{width:26px;opacity:.48}.tools .flip-tool small{position:absolute;right:0;bottom:0;font-size:8px;line-height:1;padding:2px;background:#f4efe5aa}
.inks{display:flex;align-items:center;gap:9px;border-left:1px solid var(--line);border-right:1px solid var(--line);padding:0 10px}.ink{position:relative;width:13px;height:14px;padding:0;background:var(--ink);border-radius:42% 55% 43% 52%;opacity:.65;transform:rotate(-8deg)}.ink.selected{opacity:1}.ink.selected:after{content:'';position:absolute;inset:-4px;border:1px solid var(--ink);border-radius:52% 46% 52% 43%;transform:rotate(16deg)}
.picker-button{display:flex;align-items:center;gap:6px;white-space:nowrap;padding:5px;font-size:13px}.picker-button>svg{width:18px;height:18px}.picker-button>svg:last-child{width:11px;height:11px}
.brush-controls,.text-controls{position:fixed;z-index:3;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:13px;max-width:calc(100vw - 20px);background:var(--grain),#f4efe5e8;padding:7px 12px;border-radius:1px 3px 2px 1px;box-shadow:0 2px 7px #62515a0c;font-size:12px;touch-action:manipulation}.line-label{font-size:10px;color:var(--soft)}.width-value{font-family:PatrickHand,serif;font-size:14px;width:15px}.brush-controls input[type=range]{appearance:none;-webkit-appearance:none;width:92px;height:2px;background:#a5a99d;outline:none;transform:rotate(-1deg)}.brush-controls input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:10px;height:12px;background:#859082;border:1px solid #f4efe3;border-radius:44% 50% 41% 55%}.brush-controls input[type=range]::-moz-range-thumb{width:9px;height:11px;background:#859082;border:1px solid #f4efe3;border-radius:45%}
.text-controls label{display:flex;align-items:center;gap:5px}.text-controls label>span{font-size:10px;opacity:.65}.text-controls select,.text-controls input[type=number]{background:transparent;border:0;border-bottom:1px solid var(--line);padding:4px 0;max-width:105px}.text-controls input[type=number]{width:38px}.text-controls input[type=color]{width:22px;height:23px;background:transparent;border:0;padding:0}.text-controls .text-hex{font:11px monospace;width:64px;border:0;border-bottom:1px solid var(--line);background:none;padding:3px 0}.text-controls button{font-size:11px;padding:4px 0 4px 10px;border-left:1px solid var(--line);white-space:nowrap}
.recipient-chip{position:fixed;left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;gap:8px;font-size:12px;background:#f4efe3c9;padding:2px 8px}.tiny-button{width:27px;height:27px;padding:7px}.tiny-button svg{width:100%;height:100%}
/* Pencil case and folding notes. */
.tool-popover{position:fixed;z-index:6;left:50%;transform:translateX(-50%);width:360px;max-width:calc(100vw - 28px);padding:20px 22px;background:var(--grain),linear-gradient(110deg,#ebe3d4,#f6f0e4 13%,#f3eddf);border-radius:1px 4px 2px 3px;box-shadow:4px 10px 28px #50454d24;animation:paper-enter .22s ease-out}.tool-popover:after{content:'';position:absolute;left:12px;top:13px;bottom:13px;border-left:1px dashed #bcaa9345;pointer-events:none}.popover-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.popover-head h3{font-size:19px;font-weight:400;margin:0}.brush-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.brush-option{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;padding:5px 0 15px;isolation:isolate;font-size:12px}.brush-option>div{width:45px;height:111px}.brush-sketch{width:100%;height:100%}.brush-option .stroke-preview{width:45px;height:13px;object-fit:cover;margin-top:10px;opacity:.75}.brush-option.selected:after{content:'';position:absolute;inset:-1px -3px 4px;background:#a8b69a26;border-radius:44% 48% 49% 41%;z-index:-1;transform:rotate(-3deg)}.brush-option:hover{transform:translateY(-2px)}.recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.recipe-option{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;padding:8px 0 16px}.recipe-option.selected{background:var(--underline) center bottom / 100% 10px no-repeat}.recipe-option .plane-preview{width:100%;height:auto;filter:drop-shadow(0 2px 3px #685f5a19)}.recipe-option>span{font-size:15px;margin-top:5px}.recipe-option>small{font-size:10px;color:var(--soft);margin-top:8px;line-height:1.6}.tool-popover[data-kind=recipe]{width:390px}
/* Four quiet objects at the edge of the landscape. */
.scene-dock{position:fixed;z-index:4;right:25px;bottom:max(25px,env(safe-area-inset-bottom));display:flex;gap:12px}.dock-button{position:relative;width:43px;height:57px;padding:5px 7px 19px;color:#6b6268;filter:drop-shadow(0 1px 3px #f8efdf);opacity:.8}.dock-button svg{width:29px;height:29px;transform:rotate(-4deg)}.dock-button:nth-child(even) svg{transform:rotate(4deg)}.dock-button small{position:absolute;left:0;right:0;bottom:1px;font-size:11px;white-space:nowrap}.dock-button:hover{opacity:1;transform:translateY(-2px)}.dock-button[data-count]:not([data-count=""]):after{content:attr(data-count);position:absolute;right:0;top:-4px;font:12px PatrickHand;background:#d9c2b5;border-radius:45% 50% 48% 39%;width:17px;height:17px;line-height:17px}.incoming-mail{position:fixed;left:25px;bottom:32px;display:flex;align-items:center;gap:12px;padding:6px 0;font-size:12px;color:#776b6e;z-index:4;animation:breathe 4s ease-in-out infinite;text-shadow:0 1px 4px #fff8e8}.incoming-mail svg{width:32px;height:32px;transform:rotate(-12deg)}
/* An open correspondence book, with the index on its left page. */
.paper-dialog{margin:auto;width:min(940px,calc(100vw - 64px));padding:0;border:0;border-radius:2px 4px 2px 1px;color:var(--ink);background:var(--grain),var(--paper);box-shadow:2px 3px 0 #ddd3c1,4px 5px 0 #eee5d6,10px 24px 60px #41354230;max-height:88dvh;overflow:visible;font-size:14px}.paper-dialog[open]{display:grid;grid-template-columns:184px minmax(0,1fr);animation:paper-enter .3s ease-out}.paper-dialog::backdrop{background:#51495130;backdrop-filter:blur(2px)}
.journal-sidebar{position:relative;display:flex;flex-direction:column;padding:37px 24px 22px 29px;min-height:570px;background:linear-gradient(90deg,#c6b89f12 0,transparent 24%,transparent 87%,#ac98771a 99%,#8b795d30);isolation:isolate}.journal-sidebar:before{content:'';position:absolute;top:13px;bottom:12px;left:13px;border-left:1px solid #b4a78d30}.book-name{font-size:22px;margin:0 0 10px;letter-spacing:3px}.book-subtitle{display:block;font:15px/1.5 PatrickHand,serif;max-width:118px;color:#a29588;transform:rotate(-5deg)}.journal-tabs{display:flex;flex-direction:column;gap:3px;margin:28px 0 24px}.journal-tabs button{position:relative;display:flex;align-items:baseline;gap:17px;text-align:left;padding:9px 0;font-size:16px;isolation:isolate;opacity:.68}.journal-tabs .tab-number{font:12px PatrickHand,serif;color:#9a8c7c}.journal-tabs .active{opacity:1}.journal-tabs .active:after{content:'';position:absolute;bottom:3px;left:23px;right:13px;height:9px;background:var(--underline) center /100% 100% no-repeat;z-index:-1}.journal-tabs button:hover{opacity:1}.star-balance{display:flex;align-items:center;gap:8px;margin-top:auto;font-size:20px;position:relative;z-index:1}.star-balance svg{width:21px;height:24px;fill:none;stroke:#9a8773;stroke-width:.8}.star-balance small{font-size:11px;color:var(--soft)}.sidebar-drawing{position:absolute;right:7px;bottom:54px;width:125px;color:#9ca18c;opacity:.5;z-index:-1}.journal-sprig{display:block;width:100%;height:auto}
.journal-main{min-width:0;max-height:88dvh;overflow:auto;padding:32px 38px 19px;scrollbar-width:thin;scrollbar-color:#c3b69f66 transparent}.journal-heading{position:relative;padding-right:20px;margin-bottom:21px}.page-kicker{font:16px PatrickHand,serif;color:#b09f8a;margin:0 0 8px}.journal-heading h2{font-size:29px;font-weight:400;line-height:1.25;letter-spacing:2px;margin:0 0 10px}.page-intro{font-size:13px;line-height:1.7;color:#918780;margin:0}.journal-close{position:absolute;right:16px;top:16px;width:31px;height:31px;padding:8px;color:#8e8279}.journal-close:hover{color:#5f5553}.journal-close svg{width:100%;height:100%}.journal-footer{display:flex;justify-content:space-between;align-items:baseline;padding-top:21px;margin-top:22px;border-top:1px solid #b1a48d22;color:#aca08f;font-size:10px}.journal-footer small{font:15px PatrickHand,serif}
.item-showcase{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:22px;align-items:center;min-height:230px}.item-illustration{min-width:0;display:flex;align-items:center;justify-content:center}.product-preview{width:100%;height:auto;object-fit:contain;pointer-events:none}.item-illustration>.product-preview{max-height:240px}.item-details{padding:8px 0;min-width:0}.item-number{font:15px PatrickHand,serif;transform:rotate(-4deg);color:#ad9a83;margin:0 0 8px}.item-details h3{font-size:24px;line-height:1.3;font-weight:400;margin:0 0 13px;letter-spacing:1px}.item-description{font-size:13px;line-height:1.9;color:#8d827a;margin:0 0 17px;max-width:220px}.item-price{display:flex;align-items:center;gap:5px;margin:0 0 12px;font-size:21px;color:#88735d}.item-price svg{width:17px;height:20px;stroke:currentColor;fill:none;stroke-width:.8}.item-price small{font-size:11px;margin-left:3px}.paper-action,.text-action{position:relative;display:inline-flex;align-items:center;justify-content:space-between;gap:18px;padding:9px 2px 13px;font-size:15px;line-height:1.4;text-align:left;white-space:nowrap;background:var(--underline) center bottom /100% 10px no-repeat}.paper-action i,.text-action i{width:25px;height:24px;flex-shrink:0}.paper-action svg,.text-action svg{width:100%;height:100%}.paper-action:hover i,.text-action:hover i{transform:translateX(4px)}.paper-action:disabled{opacity:.5}.paper-action.is-current{font-size:13px;background:none;color:#8a927d}.paper-action.is-current i{display:none}.text-action{font-size:13px;padding-bottom:11px}.item-illustration>.sample-landscape{border:9px solid #eee8dc;box-shadow:2px 3px 6px #6856471c;transform:rotate(-3deg);width:100%;max-width:320px;aspect-ratio:1.6;object-fit:cover}
.specimen-strip{display:flex;justify-content:space-around;gap:8px;padding:20px 0 14px;border-top:1px solid #b4a88f35;margin-top:10px;overflow-x:auto;scrollbar-width:thin}.specimen{position:relative;flex:0 0 84px;display:flex;flex-direction:column;align-items:center;padding:0 2px 12px;isolation:isolate}.specimen>.product-preview{width:78px;height:74px;object-fit:contain;margin-bottom:5px}.specimen>span{font-size:12px;line-height:1.5;white-space:nowrap}.specimen>small{font-size:10px;color:#a39686;margin-top:6px}.specimen.selected:after{content:'';position:absolute;left:7px;right:6px;bottom:1px;height:8px;background:var(--underline) center/100% 100% no-repeat;z-index:-1}.specimen:hover>.product-preview{transform:translateY(-3px)}.specimen>.product-preview.sample-landscape{height:50px;margin:12px 0 16px;transform:rotate(-4deg);border:3px solid #ebe4d5;object-fit:cover}.daily-note{position:relative;margin:20px 0 2px;padding:13px 0 0 48px;border-top:1px dashed #b4a88f55;color:#8c8277}.daily-note .margin-note{position:absolute;left:0;top:10px;font:20px PatrickHand,serif;color:#a3937d;transform:rotate(-8deg)}.checkin-note{font-size:13px;padding:0;line-height:1.8}.checkin-note:disabled{color:#a39783}.daily-note p{font-size:10px;color:#a39788;margin:7px 0 0;line-height:1.7}
/* Each plane is an object in an album; friends occupy address-book entries. */
.collection-count{font-size:11px;color:#a39586;margin:0 0 12px}.letter-album{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 23px}.album-letter{position:relative;padding:11px 0 15px;min-width:0;border-bottom:1px dashed #b4a88f4d;text-align:left}.album-letter>.plane-preview{width:100%;height:auto;min-height:115px;object-fit:contain;filter:drop-shadow(1px 4px 5px #8c7c6c14);transition:transform .25s}.album-letter:nth-child(3n+2)>.plane-preview{transform:rotate(-5deg)}.album-letter:hover>.plane-preview{transform:translateY(-4px) rotate(-3deg)}.letter-caption{display:flex;align-items:baseline;justify-content:space-between;gap:6px;padding-top:8px}.letter-caption span{font-size:16px}.letter-caption small{font-size:10px;color:#a6998a;white-space:nowrap}.open-letter-note{display:block;font-size:10px;color:#a29583;margin-top:8px}.address-book{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.friend-entry{display:flex;align-items:center;gap:8px;border-bottom:1px dashed #b4a88f4d;padding:8px 0 18px;min-width:0}.friend-entry>.avatar-preview{width:104px;height:122px;object-fit:contain;flex-shrink:0}.friend-details{min-width:0}.friend-number{font-size:9px;color:#ad9d8b;white-space:nowrap}.friend-details h3{font-size:20px;font-weight:400;margin:10px 0 12px;overflow-wrap:anywhere}.friend-details .text-action{font-size:12px;gap:7px}.friend-details .text-action i{width:20px}.empty-page{display:flex;flex-direction:column;align-items:center;text-align:center;padding:45px 0 60px}.empty-page>div{width:76px;height:76px;color:#ad9f8f;transform:rotate(-8deg);margin-bottom:19px}.empty-page svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:.7;stroke-linecap:round;stroke-linejoin:round}.empty-page p{font-size:16px;margin:0 0 12px;color:#8e8279}.empty-page small{font-size:11px;color:#aa9b89;line-height:1.8}.loading-note,.empty-note{font-size:13px;color:#a39380;padding:40px 0}
/* Clothes and hair are illustrated choices, not form chips. */
.avatar-studio{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:20px;align-items:start}.avatar-portrait{position:sticky;top:-12px;display:flex;flex-direction:column;align-items:center;padding:15px 0 0}.portrait{width:100%;max-width:235px;height:235px}.portrait .avatar-preview{width:100%;height:100%;object-fit:contain}.name-input{width:155px;max-width:100%;font-size:22px;text-align:center;border:0;border-bottom:1px solid #b2a08777;background:none;outline-color:#b9c2b2;padding:9px 0 8px}.name-caption{font-size:10px;color:#ac9c89;margin:12px 0}.appearance-controls{min-width:0}.appearance-field{border:0;padding:0;margin:0 0 23px}.appearance-field legend{font-size:11px;color:#a18d77;margin-bottom:10px;letter-spacing:1px}.appearance-options{display:flex;align-items:start;gap:8px;flex-wrap:wrap}.appearance-choice{position:relative;padding:0 0 11px;display:flex;flex-direction:column;align-items:center;isolation:isolate;font-size:11px;min-width:0}.appearance-choice>span{font-size:11px;white-space:nowrap}.appearance-choice.selected:not(.colour-choice){background:var(--underline) center bottom/100% 9px no-repeat}.appearance-choice .hair-preview{width:66px;height:66px;object-fit:contain;margin-bottom:8px}.appearance-choice .avatar-preview{width:76px;height:80px;object-fit:contain;margin-bottom:3px}.colour-choice{padding:4px 4px 8px;gap:7px;max-width:92px}.paint-dab{position:relative;display:block;width:22px;height:23px;background:var(--sample);border-radius:42% 57% 46% 51%;box-shadow:inset 1px 0 2px #ffffff75;transform:rotate(-13deg)}.colour-choice.selected .paint-dab:after{content:'';position:absolute;inset:-4px;border:1px solid #9b8b78;border-radius:49% 43% 54% 45%;transform:rotate(21deg)}.colour-choice small{font-size:9px;color:#948575;line-height:1.8;text-align:center;white-space:normal}.save-look{display:flex;width:max-content;margin:15px 0 4px auto}
/* Editable text retains its material coordinates and per-character styles. */
.text-layer{position:fixed;pointer-events:none;z-index:2}.text-box{position:absolute;border:1px solid transparent;padding:0;touch-action:none}.text-mode .text-box{pointer-events:auto}.text-mode .text-box:hover{border-color:#b8b1a67a}.text-box.selected{border:1px dashed #b4a58d}.rich-text{position:relative;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-all;line-break:anywhere;font-kerning:none;font-variant-ligatures:none;line-height:1.4;min-height:1.4em;outline:none;cursor:text;touch-action:auto}.rich-text:empty:before{content:attr(data-placeholder);color:#b5a693;pointer-events:none}.text-handle{position:absolute;left:-11px;top:-25px;width:28px;height:25px;padding:0;color:#978773;font-family:sans-serif;font-size:20px;line-height:22px;touch-action:none;cursor:move;opacity:0}.text-box.selected .text-handle,.text-mode .text-box:hover .text-handle{opacity:.85}.text-resize{position:absolute;right:-9px;bottom:-9px;width:18px;height:18px;cursor:ew-resize;touch-action:none;padding:0;opacity:0}.text-resize:after{content:'';position:absolute;left:6px;top:6px;width:5px;height:5px;border:1px solid #a8977d;background:#f4eddf}.text-box.selected .text-resize{opacity:1}.avatar-hotspot{position:fixed;top:0;left:0;z-index:1;background:transparent;border:0;border-radius:45%;cursor:pointer;touch-action:manipulation;padding:0}.avatar-hotspot:hover{background:radial-gradient(ellipse,#fff5d41a,transparent 65%)}
.read-tools{position:fixed;z-index:4;left:50%;transform:translateX(-50%);display:flex;justify-content:space-between;align-items:center;gap:20px;max-width:calc(100vw - 32px);padding:0;pointer-events:none}.read-tools .read-circle{width:40px;height:40px;flex:0 0 40px;padding:10px;border-radius:50%;border:1px solid #ad9b8440;background:var(--grain),#f5f0e6ed;color:#82756b;box-shadow:0 2px 8px #65514410;pointer-events:auto}.read-circle svg{width:100%;height:100%}.read-circle.back svg{transform:rotate(180deg)}.read-circle:hover{background-color:#fff8ed;color:#665c54}.letter-author{position:fixed;z-index:3;left:50%;transform:translateX(-50%);margin:0;color:#85776c;font-size:13px;line-height:22px;letter-spacing:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;pointer-events:none}
.whisper{position:fixed;z-index:8;bottom:108px;left:50%;transform:translateX(-50%);max-width:85vw;width:max-content;background:var(--grain),#f4efe5ed;color:#82756e;padding:10px 17px;font-size:12px;line-height:1.8;text-align:center;opacity:0;pointer-events:none;box-shadow:0 4px 15px #5f505514;transition:opacity .4s}.whisper.shown{opacity:1}.panel-status{position:sticky;bottom:0;background:var(--paper);border-top:1px solid var(--line);padding:12px 0 0;margin:15px 0 0;color:#94816c;font-size:12px;line-height:1.7}
@keyframes breathe{50%{transform:translateY(-4px)}}@keyframes paper-enter{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
@media(max-width:800px){.paper-dialog{width:calc(100vw - 32px)}.paper-dialog[open]{grid-template-columns:145px minmax(0,1fr)}.journal-sidebar{padding-left:24px;padding-right:18px}.book-name{font-size:20px;letter-spacing:1px}.journal-main{padding:29px 27px 17px}.item-showcase{gap:12px}.item-details h3{font-size:21px}.address-book{grid-template-columns:1fr}.avatar-studio{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:12px}.portrait{height:190px}.appearance-choice .avatar-preview{width:65px}.appearance-choice .hair-preview{width:56px;height:58px}.appearance-options{gap:7px}.specimen{flex-basis:76px}}
@media(max-width:640px){
 .paper-dialog{width:calc(100vw - 30px);max-height:91dvh}.paper-dialog[open]{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
 .journal-sidebar{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;min-height:0;padding:22px 21px 0;background:linear-gradient(180deg,#cfbfa41a,transparent 65%);border-bottom:1px solid #b4a88f3b}.journal-sidebar:before{display:none}.journal-brand{grid-column:1;grid-row:1}.book-name{font-size:18px;letter-spacing:3px;margin:0}.book-subtitle{display:none}.star-balance{grid-column:2;grid-row:1;gap:5px;font-size:18px;margin:0 30px 0 0;align-self:center}.star-balance svg{width:16px;height:19px}.star-balance small{font-size:10px}.sidebar-drawing{display:none}
 .journal-tabs{grid-column:1/-1;grid-row:2;display:flex;flex-direction:row;justify-content:space-between;gap:0;margin:18px -3px 0;padding-bottom:10px}.journal-tabs button{display:block;text-align:center;font-size:14px;padding:6px 5px 7px;opacity:.65}.journal-tabs .tab-number{display:none}.journal-tabs .active:after{left:2px;right:1px;bottom:0;height:7px}.journal-close{right:14px;top:18px;width:29px;height:29px}
 .journal-main{max-height:calc(91dvh - 111px);padding:23px 23px 16px}.journal-heading{margin-bottom:16px;padding:0}.page-kicker{position:absolute;right:0;top:8px;font-size:14px;margin:0}.journal-heading h2{font-size:25px;margin-bottom:8px;letter-spacing:2px}.page-intro{font-size:12px}.journal-footer{padding-top:15px;margin-top:20px;font-size:9px}
 .item-showcase{display:flex;flex-direction:column;gap:0;min-height:0}.item-illustration{width:100%;height:168px}.item-illustration>.product-preview{height:168px;width:280px;max-width:100%;object-fit:contain}.item-illustration>.sample-landscape{height:156px;width:260px;max-width:90%;object-fit:cover}.item-details{text-align:center;width:100%;padding:6px 0 4px}.item-number{display:none}.item-details h3{font-size:21px;margin:0 0 7px}.item-description{font-size:12px;line-height:1.8;max-width:265px;margin:0 auto 10px}.item-price{display:inline-flex;vertical-align:middle;font-size:19px;margin:0 15px 0 0}.item-price small{font-size:10px}.paper-action{font-size:14px;gap:18px;padding-bottom:11px}.paper-action.is-current{font-size:12px;padding:8px 0 6px}.specimen-strip{padding:14px 0 10px;margin-top:13px;gap:4px;justify-content:space-between}.specimen{flex:0 0 68px}.specimen>.product-preview{width:64px;height:65px;margin-bottom:4px}.specimen>span{font-size:11px}.specimen>small{font-size:9px;margin-top:5px}.specimen>.product-preview.sample-landscape{width:64px;height:45px;margin:10px 0 14px}.daily-note{margin-top:15px;padding-left:43px}.daily-note .margin-note{font-size:18px}.daily-note p{font-size:9px;white-space:normal}
 .letter-album{gap:22px 18px}.album-letter>.plane-preview{min-height:92px}.letter-caption{display:block}.letter-caption span{font-size:16px}.letter-caption small{display:block;margin-top:7px;font-size:10px}.open-letter-note{font-size:10px}.collection-count{font-size:10px;margin-bottom:15px}.address-book{gap:14px}.friend-entry{gap:19px;padding:2px 0 13px}.friend-entry>.avatar-preview{width:119px;height:130px}.friend-details h3{font-size:23px}.friend-details .text-action{font-size:13px;gap:18px}.friend-number{font-size:10px}
 .avatar-studio{display:flex;flex-direction:column;gap:15px}.avatar-portrait{position:relative;top:0;display:grid;grid-template-columns:145px minmax(0,1fr);grid-template-rows:1fr auto 1fr;width:100%;padding:0;gap:0 13px}.portrait{grid-column:1;grid-row:1/4;width:145px;height:172px}.name-input{grid-column:2;grid-row:2;width:100%;max-width:145px;font-size:20px;text-align:left;padding:8px 0}.name-caption{grid-column:2;grid-row:3;font-size:9px;margin-top:9px;align-self:start}.appearance-controls{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.appearance-field{margin-bottom:21px;min-width:0}.appearance-field:not(.colour){grid-column:1/-1}.appearance-field legend{font-size:10px;letter-spacing:.5px;margin-bottom:9px}.appearance-options{gap:10px}.appearance-field:not(.colour) .appearance-options{justify-content:flex-start;gap:19px}.appearance-choice .hair-preview{width:68px;height:68px}.appearance-choice .avatar-preview{width:76px;height:83px}.appearance-choice>span{font-size:11px}.appearance-field.colour:last-child{grid-column:1/-1}.colour-choice{max-width:92px;gap:7px;padding:3px 3px 7px}.paint-dab{width:19px;height:21px}.colour-choice small{font-size:9px}.appearance-controls>.colour .appearance-options{gap:8px}.save-look{font-size:14px;margin-top:3px}
 .scene-dock{right:17px;bottom:20px;gap:9px}.dock-button{width:38px;height:52px;padding:4px 5px 18px}.dock-button svg{width:27px;height:27px}.dock-button small{font-size:10px}.incoming-mail{left:20px;bottom:82px;font-size:11px;gap:8px}.incoming-mail svg{width:27px;height:27px}
 .tools{gap:6px;padding:7px 9px;max-width:calc(100vw - 18px)}.tools .tool{width:27px;height:31px;padding:5px}.tools .primary-tool{width:31px;padding-left:8px}.tools>.tool:last-child{width:23px}.tools .picker-button{font-size:11px;gap:3px;padding:4px}.tools .picker-button svg:first-child{display:none}.inks{padding:0 8px;gap:7px;max-width:75px;flex-wrap:wrap}.ink{width:11px;height:12px}.brush-controls,.text-controls{gap:10px;padding:7px 10px}.text-controls label>span{display:none}.text-controls select{max-width:85px}.text-controls .text-hex{width:60px}.text-controls input[type=number]{width:33px}.text-controls button{padding-left:7px}.tool-popover{padding:18px 20px;width:350px}.popover-head h3{font-size:18px}.brush-grid{gap:2px}.brush-option{font-size:11px}.brush-option>div{width:42px;height:103px}.brush-option .stroke-preview{width:40px}.tool-popover[data-kind=recipe]{width:350px}.recipe-option>span{font-size:14px}.recipient-chip{font-size:11px}.read-tools{gap:16px;padding:0}.letter-author{font-size:12px}
}
@media(max-width:370px){.paper-dialog{width:calc(100vw - 22px)}.journal-sidebar{padding-left:16px;padding-right:16px}.journal-tabs button{font-size:13px;padding-left:4px;padding-right:4px}.journal-main{padding:21px 18px 14px}.book-name{font-size:17px;letter-spacing:2px}.star-balance{font-size:17px;margin-right:26px}.item-illustration{height:148px}.item-illustration>.product-preview{height:148px}.specimen{flex-basis:60px}.specimen>.product-preview{width:58px;height:62px}.specimen>span{font-size:10px}.tools{gap:4px;padding:7px}.tools .tool{width:25px}.tools .picker-button{padding:3px}.inks{padding:0 6px}.text-controls{gap:7px}.appearance-options{gap:8px}.avatar-portrait{grid-template-columns:125px minmax(0,1fr);gap:0 11px}.portrait{width:125px;height:158px}.name-input{font-size:18px}.brush-option>div{width:37px}.brush-option{font-size:10px}.tool-popover{padding-left:17px;padding-right:17px}}
@media(prefers-reduced-motion:reduce){.paper-dialog[open],.tool-popover,.incoming-mail{animation:none}.album-letter>.plane-preview{transition:none}.whisper{transition:none}}
.brush-controls,.text-controls{width:max-content}.line-label,.brush-controls .picker-button{white-space:nowrap;flex-shrink:0}
/* Drawing controls: a brush library and a shared free-colour palette. */
.tools .tool:disabled{opacity:.25;cursor:default}.redo-tool svg{transform:scaleX(-1)}.tools .inks{padding:0 7px;border-right:1px solid var(--line);min-width:30px}.current-ink-button{width:23px;height:27px;padding:4px;display:grid;place-items:center}.current-ink-button i{display:block;width:17px;height:18px;border-radius:45% 51% 46% 55%;background:var(--current-color);box-shadow:0 0 0 1px #82766955}.text-controls .text-color-button{display:block;width:23px;height:23px;padding:0;border:1px solid #92816c66;border-radius:4px;background:var(--current-color);box-shadow:inset 0 0 0 2px #f4efe3}
.tool-popover[data-kind=brush]{width:390px;padding:0;background:var(--grain),#f2ede2;border-radius:10px;box-shadow:2px 8px 27px #63505c28;border:1px solid #d2c6b266;color:#6c666c;font-family:-apple-system,BlinkMacSystemFont,sans-serif;overflow:hidden}.tool-popover[data-kind=brush]:after{display:none}.tool-popover[data-kind=brush] .popover-head{margin:0;padding:17px 16px 13px;border-bottom:1px solid #b5a68e35}.tool-popover[data-kind=brush] .popover-head h3{font-family:inherit;font-size:16px;font-weight:500}.tool-popover[data-kind=brush] .tiny-button{color:#a29687}.brush-library{display:grid;grid-template-columns:94px minmax(0,1fr);height:368px}.brush-categories{display:flex;flex-direction:column;gap:1px;padding:12px 6px;background:#e8e3d7aa;overflow:auto}.brush-categories button{text-align:left;color:#9a8d80;font-size:12px;padding:11px 10px;border-radius:5px}.brush-categories button.selected{color:#68775f;background:#bcc7ad3b}.brush-list{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ffffff22 transparent;padding:5px}.library-brush{position:relative;display:flex;flex-direction:column;align-items:stretch;width:100%;min-height:59px;text-align:left;padding:9px 12px 5px;border-bottom:1px solid #b8ac9640;border-radius:5px}.library-brush>span{font-size:11px;color:#8b7e72}.library-brush.selected{background:#b9c7ac52;border-color:#adbc9c33}.library-brush.selected>span{color:#5b705a}.library-stroke{width:100%;height:31px;object-fit:fill;pointer-events:none;opacity:.94}.library-brush:hover:not(.selected){background:#d7cebd24}
.tool-popover[data-kind=recipe]{width:352px}.recipe-list{display:flex;flex-direction:column;gap:0}.recipe-list-option{display:grid;grid-template-columns:97px minmax(0,1fr) 18px;align-items:center;gap:9px;text-align:left;width:100%;padding:12px 0;border-top:1px solid var(--line);background:none}.recipe-list-option .recipe-thumbnail{width:97px}.recipe-list-option .plane-preview{width:100%;height:auto}.recipe-name{font-size:16px;display:block;line-height:1.5}.recipe-list-option small{display:block;font-size:11px;color:#a2937f;margin-top:7px;line-height:1.5}.recipe-list-option.selected .recipe-name{color:#687f6d}.recipe-row-state{font:16px PatrickHand;color:#8a9a7e}.recipe-row-state svg{width:17px;height:20px;fill:none;stroke:currentColor;stroke-width:1.1}.locked-recipe .recipe-thumbnail canvas{filter:brightness(0) drop-shadow(2px 3px 2px #00000055);opacity:.19}.recipe-book-list{display:flex;flex-direction:column;gap:0}.recipe-book-entry{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,1.3fr);gap:25px;align-items:center;border-bottom:1px dashed #b4a88f55;padding:25px 0}.recipe-book-entry .plane-preview{width:100%;height:auto}.recipe-book-details h3{font-size:22px;font-weight:400;margin:0 0 9px}.recipe-book-details p{font-size:12px;line-height:1.8;color:var(--soft);margin:0 0 9px}.recipe-book-details>small{display:block;font-size:11px;color:#a18c73}.recipe-book-details .paper-action{font-size:13px;margin-top:8px}.recipe-book-entry.inspected{background:#bfcaac0e}
.color-popover{position:fixed;z-index:7;width:290px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;background:#faf8f3;border:1px solid #c7bda944;border-radius:9px;box-shadow:0 12px 42px #443b4930;scrollbar-width:thin}.color-panel{padding:16px 18px;font-family:-apple-system,BlinkMacSystemFont,sans-serif;color:#625f65}.color-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.color-panel-head h3{font-size:15px;font-weight:500;margin:0}.color-panel-head .tiny-button{margin:-5px -7px -5px 0;color:#8a8586}.color-square{position:relative;width:100%;height:118px;border-radius:6px;background:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,transparent),var(--hue-color);cursor:crosshair;outline-offset:3px}.color-cursor{position:absolute;width:13px;height:13px;border:2px solid white;box-shadow:0 0 2px 1px #0008;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}.hue-slider{display:block;appearance:none;-webkit-appearance:none;width:100%;height:11px;margin:16px 0;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red);border-radius:20px;outline-offset:3px;cursor:pointer}.hue-slider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:14px;height:14px;border-radius:50%;border:2px solid white;background:transparent;box-shadow:0 1px 3px #0005}.hue-slider::-moz-range-thumb{width:12px;height:12px;border-radius:50%;border:2px solid white;background:transparent;box-shadow:0 1px 3px #0005}.custom-color-row{display:flex;align-items:center;gap:9px}.current-color-preview{display:block;width:27px;height:27px;border:1px solid #9995;border-radius:4px;flex-shrink:0}.color-hex{width:calc(100% - 91px);min-width:0;font:12px ui-monospace,monospace;border:1px solid #c9c5c0;border-radius:4px;background:transparent;padding:7px 8px;outline-color:#9caa92}.color-hex[aria-invalid=true]{border-color:#bb6875}.color-apply{font-size:11px;padding:6px 0;color:#787081}.palette-label{font-size:11px;font-weight:500;color:#8e8582;margin:16px 0 10px}.color-swatches{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.color-swatch{display:block;position:relative;width:27px;height:27px;padding:0;border:1px solid #9993;border-radius:5px;background:var(--swatch);justify-self:start}.color-swatch[aria-pressed=true]:after{content:'';position:absolute;inset:-3px;border:1px solid #8f819c;border-radius:7px}.no-recent{grid-column:1/-1;font-size:10px;color:#aaa09b;line-height:1.8}.book-color-panel{max-width:390px;margin:0 auto;background:#faf8f34d;border:1px solid #c7bda944;border-radius:6px;padding:19px 23px}.book-color-panel .color-square{height:155px}.book-color-panel .color-panel-head{display:none}.book-color-panel .color-swatches{grid-template-columns:repeat(9,minmax(0,1fr))}.book-color-panel .color-swatch{width:27px;height:27px}
@media(max-width:640px){.tools{gap:5px}.tools .inks{padding:0 6px;max-width:none}.tools .tool{width:26px}.tools .primary-tool{width:30px}.tools .redo-tool{margin-left:-3px}.tool-popover[data-kind=brush]{width:365px;max-width:calc(100vw - 26px)}.brush-library{grid-template-columns:87px minmax(0,1fr);height:347px}.library-brush{min-height:55px;padding:8px 11px 4px}.library-stroke{height:28px}.brush-categories button{font-size:11px}.tool-popover[data-kind=recipe]{width:332px}.recipe-list-option{grid-template-columns:90px minmax(0,1fr) 18px;gap:8px}.recipe-list-option .recipe-thumbnail{width:90px}.recipe-name{font-size:15px}.recipe-book-entry{grid-template-columns:104px minmax(0,1fr);gap:18px;padding:22px 0}.recipe-book-details h3{font-size:20px}.recipe-book-details p{font-size:11px}.recipe-book-details .paper-action{font-size:12px;gap:12px}.book-color-panel{padding:15px 17px}.book-color-panel .color-square{height:133px}.book-color-panel .color-swatches{grid-template-columns:repeat(6,minmax(0,1fr))}.book-color-panel .color-swatch{width:29px;height:29px}.text-controls .text-color-button{border-left:1px solid #92816c66;padding:0}}
.draft-dialog{width:min(370px,calc(100vw - 42px));margin:auto;padding:25px 25px 19px;border:1px solid #e8ddcc;border-radius:3px 5px 2px 4px;background:var(--grain),var(--paper);color:var(--ink);box-shadow:2px 4px 0 #d7ccbb55,0 16px 50px #51404e25}.draft-dialog::backdrop{background:#51495128;backdrop-filter:blur(2px)}.draft-dialog header{display:flex;align-items:center;justify-content:space-between;gap:10px}.draft-dialog h2{font-size:21px;font-weight:400;letter-spacing:1px;margin:0}.draft-dialog header .tiny-button{flex-shrink:0;color:#a29483}.draft-description{font-size:12px;color:#a09282;line-height:1.8;margin:13px 0 23px}.draft-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}.draft-choice{display:flex;flex-direction:column;text-align:left;gap:9px;padding:13px 12px 14px;border:1px solid #c8bea94f;border-radius:2px}.draft-choice.save{background:#b9c7ac32;border-color:#9fab8c73}.draft-choice>span{font-size:16px}.draft-choice>small{font-size:10px;color:#a09383;line-height:1.7}.draft-choice.discard>span{color:#987b74}.draft-choice:hover{border-color:#9d927e}.draft-continue{display:block;margin:19px auto 0;padding:4px 8px;font-size:11px;color:#a09282;background:var(--underline) center bottom/100% 7px no-repeat}
.demo-inbox{width:min(700px,calc(100vw - 32px))}
.demo-inbox[open]{display:block}
.demo-inbox .journal-main{max-height:88dvh;padding:34px 36px 25px}
.demo-inbox .journal-heading{padding-right:28px}
@media(max-width:600px){.demo-inbox .journal-main{max-height:88dvh;padding:27px 23px 21px}.demo-inbox .journal-heading{padding-right:25px}}

.sky-plane-hit{position:fixed;left:0;top:0;width:84px;height:84px;z-index:5;border:0;border-radius:50%;padding:0;background:transparent;cursor:pointer;touch-action:manipulation}.sky-plane-hit:focus-visible{outline:1px dashed #8c7d6f;outline-offset:1px}.sky-plane-hit:disabled{cursor:wait}

.reply-plane-hit{position:fixed;left:0;top:0;width:64px;height:64px;z-index:3;background:transparent;border:0;border-radius:50%;padding:0;cursor:pointer;touch-action:manipulation}.reply-plane-hit:focus-visible{outline:1px dashed #8c7d6f}.inbox-entry{min-width:0;position:relative;padding-bottom:8px}.inbox-entry .album-letter{width:100%;text-align:left}.reply-letter-action{display:flex;align-items:center;gap:8px;margin:5px 0 0 auto;padding:8px 0;font-size:12px;color:#81907c}.reply-letter-action i{width:20px;height:20px}.reply-letter-action svg{width:100%;height:100%}.reply-letter-action:hover{color:#5f7158}

.inbox-capacity{font-size:12px;color:#948777;margin:0 0 17px}.inbox-capacity.full{color:#9a7c70}.inbox-full-note{font-size:12px;line-height:1.8;color:#9a7c70;margin:-7px 0 23px}.inbox-letter-actions{display:flex;justify-content:space-between;align-items:center;gap:18px}.inbox-letter-actions .reply-letter-action{margin:5px 0 0}.delete-letter-action{display:flex;align-items:center;gap:8px;margin:5px 0 0 auto;padding:8px 0;font-size:11px;color:#a29185}.delete-letter-action i{display:none}.delete-letter-action:hover{color:#8e695e}.delete-letter-dialog{z-index:10}

.sound-toggle{position:fixed;left:18px;bottom:18px;z-index:4;width:34px;height:34px;border:1px solid #a5968240;border-radius:50%;padding:8px;color:#8f8177;background:#f4eddf88;touch-action:manipulation;opacity:.75}.sound-toggle svg{width:100%;height:100%}.sound-toggle:hover{opacity:1}

/* A white opening, the studio mark and handwritten title, then the painted world slowly comes into focus. */
body.opening-active{background:#fff}
body.opening-active>:not(#world):not(#opening){visibility:hidden}
body.opening-active #world{filter:blur(18px);transform:scale(1.045);transform-origin:center;pointer-events:none}
#opening{position:fixed;inset:0;z-index:100;display:grid;place-items:center;isolation:isolate;touch-action:manipulation;cursor:pointer;outline:none}
#opening:before{content:'';position:absolute;inset:0;z-index:-1;background:#fff;opacity:1;transition:opacity 2.6s cubic-bezier(.25,.1,.25,1);pointer-events:none}
.opening-logo{display:block;width:min(380px,68vw);height:auto;opacity:0;transition:opacity 1.35s ease;pointer-events:none}
.opening-fallback{font:32px PatrickHand,serif;letter-spacing:2px;color:#4e4850;opacity:0;transition:opacity 1.35s ease}
.opening-error{position:absolute;top:calc(50% + 105px);left:24px;right:24px;text-align:center;font:13px WenKai,serif;color:#887f7b;line-height:1.8}
body[data-opening=logo] :is(.opening-logo,.opening-fallback){opacity:1}
body:is([data-opening=background],[data-opening=title],[data-opening=title-out],[data-opening=clearing]) #opening:before{opacity:0}
body[data-opening=background] :is(.opening-logo,.opening-fallback){transition-duration:.9s}
.opening-logo,.opening-fallback,.opening-title{grid-area:1/1}
.opening-title{width:min(600px,80vw,115vh);opacity:0;pointer-events:none;text-align:center;transition:opacity 2.2s ease-in-out}
.opening-wordmark{display:block;width:100%;height:auto}
.opening-wordmark[hidden],.opening-title-text[hidden],.opening-logo[hidden]{display:none}
.opening-title-text{font:clamp(24px,5vw,48px) WenKai,serif;color:#433239}
body[data-opening=title] .opening-title{opacity:1}
body[data-opening=title-out] .opening-title{opacity:0;transition-duration:1.05s}
body[data-opening=clearing] #world{filter:blur(0);transform:scale(1);transition:filter 3.2s cubic-bezier(.25,.1,.25,1),transform 3.2s cubic-bezier(.25,.1,.25,1)}
@media(max-width:640px){.opening-logo{width:min(300px,72vw)}body.opening-active #world{filter:blur(13px)}body[data-opening=clearing] #world{filter:blur(0)}}
@media(prefers-reduced-motion:reduce){body.opening-active #world{filter:blur(4px);transform:none}.opening-logo,.opening-fallback{transition-duration:.35s}body[data-opening=background] :is(.opening-logo,.opening-fallback){transition-duration:.2s}#opening:before{transition-duration:.45s}.opening-title{transition-duration:.4s}body[data-opening=title-out] .opening-title{transition-duration:.25s}body[data-opening=clearing] #world{filter:blur(0);transform:none;transition:filter .55s ease}}

/* A stable correspondence frame and a slow orbit while letters arrive. */
.demo-inbox[open]{height:min(640px,84dvh);max-height:84dvh;animation:inbox-arrive .8s cubic-bezier(.2,.7,.2,1) both}
.demo-inbox .journal-main{height:100%;max-height:none;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}
.demo-inbox .journal-heading{flex:none}.demo-inbox .journal-body{position:relative;flex:1;min-height:0;overflow:hidden}
.demo-inbox .inbox-loading,.demo-inbox .inbox-content{position:absolute;inset:0}
.inbox-loading{display:grid;place-content:center;justify-items:center;opacity:1;transition:opacity .65s ease;pointer-events:none}
.inbox-loading-status{margin:22px 0 0;font-size:12px;color:#948777;letter-spacing:1px}
.inbox-carousel{position:relative;width:150px;height:85px;perspective:300px}
.inbox-carousel:after{content:'';position:absolute;left:25px;right:25px;bottom:5px;border-bottom:1px dashed #b7ac9c33;transform:scaleY(.5)}
.inbox-carousel-plane{position:absolute;left:50%;top:50%;width:45px;height:45px;color:#a79b8b;animation:inbox-orbit 7.2s linear infinite}
.inbox-carousel-plane:nth-child(2){animation-delay:-2.4s}.inbox-carousel-plane:nth-child(3){animation-delay:-4.8s}
.inbox-carousel-plane svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:.65;stroke-linecap:round;stroke-linejoin:round}
.inbox-content{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c3b69f66 transparent;scrollbar-gutter:stable;padding-right:7px;opacity:0;transform:translateY(5px);transition:opacity .5s ease,transform .7s ease;pointer-events:none}
.journal-body.is-ready>.inbox-loading{opacity:0}.journal-body.is-ready>.inbox-content{opacity:1;transform:translateY(0);transition-duration:1s,1.1s;transition-delay:.08s;pointer-events:auto}
.demo-inbox.is-closing{animation:inbox-depart .55s ease both;pointer-events:none}
.demo-inbox::backdrop{animation:inbox-backdrop-in .8s ease both}.demo-inbox.is-closing::backdrop{animation:inbox-backdrop-out .55s ease both}
.demo-inbox .panel-status{flex:none;animation:inbox-arrive 1s ease both}
@keyframes inbox-orbit{0%,100%{transform:translate(-50%,-50%) translate(0,9px) scale(1) rotate(-9deg);opacity:.78}25%{transform:translate(-50%,-50%) translate(43px,0) scale(.8) rotate(5deg);opacity:.5}50%{transform:translate(-50%,-50%) translate(0,-10px) scale(.6) rotate(12deg);opacity:.23}75%{transform:translate(-50%,-50%) translate(-43px,0) scale(.8) rotate(-5deg);opacity:.5}}
@keyframes inbox-arrive{from{opacity:0;translate:0 9px}to{opacity:1;translate:0 0}}
@keyframes inbox-depart{from{opacity:1;translate:0 0}to{opacity:0;translate:0 6px}}
@keyframes inbox-backdrop-in{from{opacity:0}to{opacity:1}}@keyframes inbox-backdrop-out{from{opacity:1}to{opacity:0}}
@media(max-width:600px){.demo-inbox[open]{height:min(660px,84dvh)}.demo-inbox .journal-main{max-height:none}.inbox-carousel{width:140px}}
@media(prefers-reduced-motion:reduce){.demo-inbox[open],.demo-inbox.is-closing,.demo-inbox::backdrop,.demo-inbox.is-closing::backdrop{animation-duration:.12s}.inbox-carousel-plane{animation:none;transform:translate(-50%,-50%);opacity:.5}.inbox-carousel-plane:nth-child(2){transform:translate(-50%,-50%) translateX(-40px) scale(.75);opacity:.3}.inbox-carousel-plane:nth-child(3){transform:translate(-50%,-50%) translateX(40px) scale(.75);opacity:.3}.inbox-content,.journal-body.is-ready>.inbox-content,.inbox-loading{transition-duration:.12s;transition-delay:0;transform:none}}

.inbox-account{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 17px}.inbox-account .inbox-capacity{margin:0}.backup-link{border:0;border-bottom:1px solid #b9a996;background:transparent;color:#746651;font:inherit;font-size:13px;padding:5px 0;cursor:pointer}
.mailbox-backup{max-height:85dvh;overflow:auto}.mailbox-backup header{display:flex;align-items:center;justify-content:space-between}.mailbox-backup header button{font-size:22px;border:0;background:transparent}.mailbox-backup p{font-size:14px;line-height:1.7}.mailbox-backup div>button,.mailbox-backup form button{display:block;width:100%;margin-top:10px;padding:10px;background:#f2ebdd;border:1px solid #c6b59e;border-radius:4px;color:#514b43;font:inherit;cursor:pointer}.mailbox-backup input{display:block;box-sizing:border-box;width:100%;padding:10px 4px;text-align:center;font:clamp(11px,3.7vw,16px) monospace;border:1px solid #bbaa93;background:#fffaf0;color:#443f36;user-select:text!important;-webkit-user-select:text!important;-webkit-touch-callout:default}.mailbox-backup [role=status]:empty{display:none}
