/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid}}}@layer theme{:host,:root{--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.static{position:static}.sticky{position:sticky}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.shrink{flex-shrink:1}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.italic{font-style:italic}.underline{text-decoration-line:underline}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}@font-face{font-family:DiaryHand;src:url(/fonts/handwriting.ttf)format("truetype");font-display:swap;font-weight:400}:root{--paper:#faf7f0;--ink:#514941;--muted:#a79e94;--line:#e9e2d7;--pink:#c88391;--lavender:#e9e0ee;--softpink:#f5e4e5;--grid:#a58f7812}*{box-sizing:border-box}body{color:var(--ink);background:#efebe3;margin:0;font-family:Arial,Apple SD Gothic Neo,Malgun Gothic,sans-serif;font-size:14px;line-height:1.65}button,input{font:inherit}a,button,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button{background:0 0;border:0}a,button{color:inherit}input{border:1px solid var(--line);min-width:0;max-width:100%;color:var(--ink);background:#fffdf8;border-radius:8px;outline:none;padding:11px 12px}input:focus{border-color:#ba99b4;box-shadow:0 0 0 2px #e9e0ee80}a:focus-visible,button:focus-visible{outline-offset:3px;outline:2px solid #b497b4}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:500}img{max-width:100%;display:block}.diary-shell{background:var(--paper);max-width:760px;min-height:100dvh;padding:calc(28px + env(safe-area-inset-top)) 22px calc(106px + env(safe-area-inset-bottom));margin:auto;box-shadow:0 0 50px #8b796412}.eyebrow{letter-spacing:2.7px;color:#a69888;font-size:9px}.main-header{justify-content:space-between;align-items:center;margin-bottom:25px;padding:0 3px;display:flex}.main-header h1{letter-spacing:1px;font-family:DiaryHand,cursive;font-size:32px;line-height:1.5}.main-header h1 span{color:var(--pink);font-size:28px}.text-button{color:#8c8073;padding:8px 5px;font-size:12px}.logout{border-bottom:1px solid var(--line);padding:2px;font-size:10px}.calendar-paper{border:1px solid var(--line);background:#fffdf8;border-radius:3px;overflow:hidden;box-shadow:0 3px #efe9df}.month-header{justify-content:space-between;align-items:center;padding:22px 17px 0;display:flex}.month-picker{font-family:DiaryHand,cursive;font-size:23px;position:relative}.month-picker label span{color:var(--muted);font-family:Arial;font-size:16px}.month-picker input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.connection{color:#a89a8c;white-space:nowrap;font-size:10px}.connection span{color:#d29caa;margin-right:3px}.month-controls{justify-content:space-between;align-items:center;padding:0 12px 14px 18px;display:flex}.month-controls p{color:var(--muted);font-size:10px}.month-controls>div{align-items:center;display:flex}.icon-button{min-width:36px;min-height:38px;font-size:24px;line-height:1}.month-controls .text-button{font-size:10px}.weekdays{text-align:center;color:#a5998c;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fcf9f4;grid-template-columns:repeat(7,minmax(0,1fr));padding:10px 0;font-size:11px;display:grid}.sunday{color:#c88891}.calendar-week{border-bottom:1px solid var(--line);background:repeating-linear-gradient(90deg,#0000 0 calc(14.2857% - 1px),#eee9df90 calc(14.2857% - 1px) 14.2857%);min-height:118px;position:relative}.week-dates{grid-template-columns:repeat(7,minmax(0,1fr));height:39px;display:grid}.date-cell{flex-direction:column;padding:4px 0 0;font-size:11px;position:relative}.date-cell,.date-cell>span{justify-content:center;align-items:center;display:flex}.date-cell>span{border-radius:50%;width:25px;height:25px}.date-cell.today>span{background:var(--lavender);color:#785e87}.date-cell.selected>span{outline-offset:2px;outline:1px solid #cfa4af}.date-cell small{color:#9b7ba9;font-size:7px;position:absolute;bottom:-2px}.date-cell.muted{opacity:.38}.event-grid{grid-template-rows:repeat(3,19px);grid-template-columns:repeat(7,minmax(0,1fr));row-gap:3px;min-height:67px;padding-top:4px;display:grid}.event-strip{text-align:left;color:#92717a;background:#efe4e6;align-items:center;min-width:0;max-width:100%;height:19px;padding:1px 4px;font-size:9px;line-height:17px;display:flex;overflow:hidden}.event-strip.starts{border-radius:5px 0 0 5px;margin-left:3px}.event-strip.ends{border-radius:0 5px 5px 0;margin-right:3px}.event-strip.starts.ends{border-radius:5px}.accent-1{color:#8c7994;background:#ece7f0}.accent-2{color:#889274;background:#e9ede2}.single-event{color:#958577;background:0 0;padding:1px 2px}.event-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.event-strip img{object-fit:cover;border:2px solid #fff;flex-shrink:0;width:15px;height:16px;margin-right:2px;transform:rotate(-5deg)}.tiny-heart{color:#c995a0}.more-row{text-align:center;color:#998b7f;grid-template-columns:repeat(7,minmax(0,1fr));height:18px;font-size:8px;display:grid}.calendar-foot{text-align:center;color:#b8a698;padding:11px 0 10px;font-family:DiaryHand,cursive;font-size:14px}.calendar-foot>span{color:#cea0a9;padding-right:4px}.is-loading{opacity:.5}.day-records{margin-top:32px;scroll-margin-top:20px}.section-heading{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.section-heading h2{letter-spacing:.3px;font-family:DiaryHand,cursive;font-size:19px}.section-heading h2 small{color:#bda496;margin-left:5px;font-family:Arial;font-size:11px}.new-button{border:1px solid var(--line);background:#fffbf6;border-radius:50%;width:34px;height:34px;font-size:22px}.diary-card{text-align:left;border:1px solid var(--line);background-color:#fffdf7;background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px);background-size:20px 20px;border-radius:3px;width:100%;margin-bottom:14px;padding:17px 18px;display:block;box-shadow:2px 3px #eee7dc77}.card-label{color:#a48d7c;justify-content:space-between;font-family:DiaryHand,cursive;font-size:16px;display:flex}.card-label>span{color:var(--pink);font-size:20px}.card-body{justify-content:space-between;gap:14px;margin:10px 0 13px;display:flex}.card-body>div:first-child{flex:1;min-width:0}.card-body h3{overflow-wrap:anywhere;font-size:17px}.card-body p{color:#a3978a;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:7px;font-size:12px;display:-webkit-box;overflow:hidden}.card-photo{background:#fff;border:1px solid #eee7df;flex-shrink:0;width:66px;height:70px;padding:4px 4px 11px;transform:rotate(5deg)}.card-photo img{object-fit:cover;width:100%;height:100%}.card-date{color:#ad9e90;font-size:10px}.empty-state{text-align:center;background:#fffaf480;border:1px dashed #e2d7ca;border-radius:5px;padding:29px 10px 23px}.empty-state>span{color:#d2a6ae;font-family:DiaryHand,cursive;font-size:32px}.empty-state h3{margin-top:4px;font-family:DiaryHand,cursive;font-size:21px}.empty-state p{color:#ad9f91;margin:6px 0;font-size:11px}.page-note{text-align:center;letter-spacing:1px;color:#b8a995;padding:28px 0 0;font-size:10px;font-style:italic}.bottom-nav{border-top:1px solid var(--line);width:100%;max-width:760px;padding:9px 15px calc(9px + env(safe-area-inset-bottom));z-index:10;background:#faf7f0f5;justify-content:space-evenly;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav button{color:#c6bdb1;flex-direction:column;align-items:center;min-width:70px;font-size:10px;line-height:1.5;display:flex;position:relative}.bottom-nav button>span{margin-bottom:2px;font-size:24px;line-height:1.3}.bottom-nav button.nav-active{color:#625348}.bottom-nav button small{font-size:7px}.login-page{background:var(--paper);flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;padding:30px 22px;display:flex}.login-paper{text-align:center;border:1px solid var(--line);background:#fffdf8;width:min(100%,370px);padding:43px 30px 28px;position:relative;box-shadow:4px 5px #eee7dd}.brand-heart{color:#c995a0;margin:23px 0 8px;font-size:70px;line-height:1.2;display:block}.brand-heart,.login-page h1{font-family:DiaryHand,cursive}.login-page h1{font-size:40px}.login-paper>p{color:#a29384;margin-top:14px;font-size:12px;line-height:1.9}.stitched-line{border-top:1px dashed #dfd3c7;margin:30px 0}.login-paper form{text-align:left;flex-direction:column;gap:12px;display:flex}.login-paper label{color:#938272;font-size:11px}.primary{color:#fffaf2;background:#766356;border-radius:6px;padding:12px 18px;font-size:13px}.hint{color:#a99b8d;font-size:10px;line-height:1.7;display:block}.login-paper .hint{text-align:center}.login-footer{color:#c0aa97;margin-top:31px;font-size:17px;display:block}.login-footer,.setup-note h2{font-family:DiaryHand,cursive}.setup-note h2{font-size:25px}.setup-note p{color:#a29282;margin:12px 0;font-size:12px}.setup-note small{color:#ab9c8d;overflow-wrap:anywhere;font-size:9px}.message{overflow-wrap:anywhere;background:#eeeae1;border-radius:6px;margin:15px 0;padding:12px 15px;font-size:12px}.message.error{color:#a35967;background:#f6e8e8}.loading{text-align:center;color:#a29485;padding:30px;font-size:12px}.editor-header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:22px;display:flex}.editor-header>span{color:#978878;text-align:center}.save-button{color:#967a87;padding:8px;font-size:13px}.detail-paper,.editor-paper{border:1px solid var(--line);background-color:#fffdf8;background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px);background-size:24px 24px;padding:23px 20px;position:relative;box-shadow:2px 3px #eee7df}.title-input{background:0 0;border:none;border-bottom:1px solid #ddd1c4;border-radius:0;width:100%;margin-bottom:8px;padding:18px 0 13px;font-family:DiaryHand,cursive;font-size:25px;display:block}.title-input::placeholder{color:#c1b4a5}.title-input:focus{box-shadow:none;border-color:#b798ac}.toolbar{border-bottom:1px dashed #e9dfd3;flex-wrap:wrap;gap:2px;padding:2px 0 12px;display:flex}.tool{color:#a19181;border-radius:3px;padding:4px 5px;font-size:10px}.tool.active{color:#806778;background:#eadfe7}.editor-body{border:0;margin:0;padding:0}.tiptap{overflow-wrap:anywhere;outline:none;min-height:250px;padding-top:20px;font-size:14px}.tiptap p.is-editor-empty:first-child:before{color:#bdad9d;content:attr(data-placeholder);float:left;pointer-events:none;white-space:pre-line;height:0}.richtext p,.tiptap p{margin:0 0 12px}.richtext h3,.tiptap h1,.tiptap h2,.tiptap h3{margin:18px 0 10px;font-size:21px;font-weight:600}.richtext ul,.tiptap ul{padding-left:22px;list-style:outside}.richtext ol,.tiptap ol{padding-left:22px;list-style:decimal}.richtext blockquote,.tiptap blockquote{color:#a28a94;border-left:3px solid #d6bcc8;margin:12px 0;padding:2px 14px}.richtext a,.tiptap a{color:#947689;text-decoration:underline}.richtext pre,.tiptap pre{background:#eee8df;padding:10px}.editor-options{padding:25px 3px 10px}.editor-options h2{margin-bottom:12px;font-size:14px}.range-inputs{align-items:center;gap:8px;margin-bottom:13px;display:flex}.range-inputs>label{color:#a29383;flex:1;min-width:0;font-size:10px}.range-inputs input{width:100%;height:43px;margin-top:5px;font-size:12px;display:block}.range-inputs>span{color:#b2a291;margin-top:20px}.location-label{margin:25px 0 0;font-size:13px;display:block}.location-label input{width:100%;margin-top:9px;font-size:12px;display:block}.location-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.photos-heading{justify-content:space-between;align-items:center;margin-top:24px;display:flex}.photos-heading>span{color:#b19b8e;font-size:11px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px;margin:14px 0;display:grid}.polaroid{background:#fff;border:1px solid #eae3d9;padding:7px 7px 0;text-decoration:none;display:block;transform:rotate(-1deg)}.photo-grid>.polaroid:nth-child(2n),.photo-grid>:nth-child(2n) .polaroid{transform:rotate(2deg)}.polaroid img{aspect-ratio:1;object-fit:cover;background:#f2ebe2;width:100%}.photo-caption{text-align:center;color:#b49e90;padding:6px 0 9px;font-family:DiaryHand,cursive;font-size:15px;display:block}.photo-fallback{aspect-ratio:1;color:#b29a89;text-align:center;background:#f6f0e8;flex-direction:column;justify-content:center;align-items:center;padding:8px;font-size:12px;display:flex}.photo-fallback small{font-size:9px}.add-photo{color:#a78e7e;background:#fffaf4;border:1px dashed #d8c8bc;border-radius:5px;width:100%;margin-bottom:8px;padding:15px}.bottom-save{width:100%;margin-top:18px}.danger{color:#b18b89}.detail-paper h1{overflow-wrap:anywhere;margin-top:16px;font-family:DiaryHand,cursive;font-size:34px}.detail-heart{color:#cba1ab;font-family:DiaryHand,cursive;font-size:35px;position:absolute;top:15px;right:22px}.entry-range{color:#ab9785;border-bottom:1px solid var(--line);margin-bottom:22px;padding:9px 0 17px;font-size:10px}.place{color:#9f8b7b;margin-bottom:6px;font-size:12px}.richtext{overflow-wrap:anywhere;min-height:90px;margin:20px 0 25px;line-height:1.9}.end-note{text-align:center;color:#b49a87;margin:25px 0 5px;font-family:DiaryHand,cursive;font-size:18px}.delete-entry{margin:25px auto;display:block}.link-edit{flex-wrap:wrap;gap:6px;padding:8px 0;font-size:11px;display:flex}.link-edit input{flex:1;width:100px}.photo-small{display:block}.photo-small img{object-fit:cover;width:50px;height:50px}@media (min-width:600px){.diary-shell{padding-left:45px;padding-right:45px}.main-header{margin-bottom:32px}.calendar-week{min-height:140px}.week-dates{height:45px}.event-grid{grid-template-rows:repeat(3,23px);min-height:82px}.event-strip{height:23px;font-size:11px}.date-cell{font-size:13px}.calendar-foot{font-size:17px}.month-header{padding:27px 23px 0}.month-controls{padding-left:23px}.month-picker{font-size:29px}.connection,.month-controls p{font-size:12px}.detail-paper,.editor-paper{padding:32px}.photo-grid{gap:25px}.tiptap{min-height:340px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.profile-picker{border:0;gap:10px;margin:0 0 8px;padding:0;display:flex}.profile-picker legend{color:#938272;margin-bottom:10px;font-size:12px}.profile-option{cursor:pointer;background:#fffdf8;border:1px solid #e9e2d7;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:8px;padding:11px;font-size:14px;display:flex}.profile-option.selected{color:#725b76;background:#eee5ef;border-color:#c7adc8}.profile-option input{accent-color:#987a9b;box-shadow:none}.account-actions{flex-direction:column;align-items:flex-end;gap:5px;display:flex}.profile-switch{padding:4px 0;font-size:10px}.switch-panel{border:1px solid var(--line);background:#fffdf8;border-radius:8px;margin-bottom:20px;padding:16px}.switch-panel p{margin-bottom:10px;font-size:13px}.switch-panel>div{gap:10px;display:flex}.switch-panel small{color:#a99b8d;margin-top:10px;font-size:10px;display:block}html{touch-action:pan-x pan-y;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:90px}body,html{overscroll-behavior-y:none}a,button{touch-action:manipulation}button{-webkit-user-select:none;user-select:none}.link-edit input,.location-label input,.range-inputs input,.tiptap,input,select,textarea{font-size:16px}.diary-shell{padding-top:calc(16px + env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.main-header h1{letter-spacing:-.7px;font-family:Arial,Apple SD Gothic Neo,sans-serif;font-size:24px;font-weight:650}.main-header{min-height:44px;margin-bottom:18px}.logout{border:0;min-height:44px;padding:0 10px;font-size:13px}.account-actions{flex-direction:row;align-items:center;gap:4px}.current-user{color:var(--muted);font-size:12px}.login-icon{border-radius:18px;width:76px;height:76px;margin:0 auto 16px}.login-page h1{font-family:Arial,Apple SD Gothic Neo,sans-serif;font-size:28px;font-weight:650}.login-page .primary{min-height:48px;font-size:16px}.month-controls p{font-size:11px}.month-controls .icon-button,.month-controls .text-button{min-width:40px;min-height:44px}.week-dates{height:44px}.date-cell{font-size:12px}.calendar-photos{grid-template-columns:repeat(7,minmax(0,1fr));padding:2px 0 5px;display:grid}.calendar-photos>div{min-width:0;padding:0 3px}.calendar-photo-button{aspect-ratio:1;background:#eee9e0;border-radius:5px;width:100%;padding:0;display:block;position:relative;overflow:hidden}.calendar-photo-button img{object-fit:cover;width:100%;height:100%}.photo-count{color:#fff;background:#514941bb;border-radius:3px;padding:0 4px;font-size:9px;line-height:15px;position:absolute;bottom:2px;right:2px}.thumbnail-placeholder{color:var(--muted);font-size:10px}.event-strip{font-size:10px}.diary-card{min-height:100px}.empty-state h3{font-family:inherit;font-size:16px}.bottom-nav button{color:#968b80;min-height:50px;font-size:12px}.bottom-nav button>span{font-size:25px}.editor-header{z-index:12;background:var(--paper);padding:max(8px,env(safe-area-inset-top)) 12px 8px;min-height:56px;margin:0 -16px 16px;position:sticky;top:0}.save-button{min-width:56px;min-height:44px;font-size:16px}.editor-header>span{font-size:12px}.editor-paper{padding:20px 16px}.toolbar{gap:4px}.tool{min-height:36px;padding:6px 7px;font-size:12px}.date-toggle{border:1px solid var(--line);border-radius:7px;min-height:44px;padding:8px 12px;font-size:13px}.editor-options .range-inputs label{font-size:12px}.range-inputs input{height:48px;padding:10px 6px}.add-photo,.bottom-save{min-height:48px;font-size:16px}.detail-paper h1{font-family:inherit;font-size:26px}.photo-caption{font-family:inherit;font-size:11px}.update-banner{z-index:50;bottom:calc(84px + env(safe-area-inset-bottom));background:#f3ebf5;border:1px solid #d7c8db;border-radius:10px;justify-content:space-between;align-items:center;width:min(94%,480px);padding:12px 16px;font-size:13px;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 2px 8px #0001}.update-banner button{min-height:36px;padding:5px 10px;text-decoration:underline}html[data-keyboard=open] .bottom-nav{display:none}@media (display-mode:standalone){.diary-shell{min-height:100dvh}.login-page{padding-top:calc(30px + env(safe-area-inset-top));padding-bottom:calc(30px + env(safe-area-inset-bottom))}}@media (min-width:600px){.diary-shell{padding-left:40px;padding-right:40px}.calendar-photos>div{padding:0 8px}.calendar-photo-button{max-width:68px;margin:auto}.editor-header{margin-left:-12px;margin-right:-12px}.main-header h1{font-size:28px}}.calendar-screen.diary-shell{max-width:760px;height:100dvh;min-height:0;padding:env(safe-area-inset-top) max(5px,env(safe-area-inset-right)) calc(60px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));flex-direction:column;display:flex;overflow:hidden}.calendar-screen .main-header{flex:none;min-height:46px;margin:0;padding:0 9px}.calendar-screen .main-header h1{font-size:20px}.calendar-screen .calendar-paper{min-height:0;box-shadow:none;touch-action:pan-y;flex-direction:column;flex:1;margin:0;display:flex;position:relative}.calendar-screen .month-header{flex:none;height:48px;padding:7px 12px}.calendar-screen .month-picker label{font-family:DiaryHand,cursive;font-size:25px}.calendar-screen .month-controls{border:0;padding:0;position:absolute;top:2px;right:5px}.calendar-screen .month-controls p{display:none}.calendar-screen .weekdays{text-align:left;flex:none;padding:3px 0;font-size:11px}.calendar-screen .weekdays span{padding-left:8px}.calendar-screen .calendar-grid{flex-direction:column;flex:1;min-height:0;display:flex}.calendar-screen .calendar-week{flex-direction:column;flex:1;display:flex;overflow:hidden}.calendar-screen .week-dates{flex:none;height:26px}.calendar-screen .date-cell{justify-content:center;padding:0 0 0 5px;font-family:ui-rounded,SF Pro Rounded,Apple SD Gothic Neo,sans-serif;font-size:11px;font-weight:500;line-height:1}.calendar-screen .date-cell>span{width:21px;height:21px}.calendar-screen .date-cell small{display:none}.calendar-screen .event-grid{flex:1;grid-auto-rows:minmax(0,1fr);gap:3px 0;min-height:0;padding:2px 0}.calendar-screen .event-strip{justify-content:center;height:100%;min-height:0;margin:0 2px;padding:3px;font-size:10px;line-height:1.2;position:relative;overflow:hidden}.calendar-screen .event-strip.author-dongha{color:#456d86;background:#d8edf8}.calendar-screen .event-strip.author-jeongyeon{color:#92576c;background:#f7dfe7}.calendar-screen .event-strip.starts{border-radius:6px 0 0 6px}.calendar-screen .event-strip.ends{border-radius:0 6px 6px 0}.calendar-screen .event-strip.starts.ends{border-radius:6px}.calendar-screen .event-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.calendar-screen .event-polaroid{aspect-ratio:1;background:#fff;flex:none;max-width:85%;height:88%;max-height:68px;padding:3px 3px 7px;display:flex;transform:rotate(-5deg);box-shadow:0 2px 4px #3b34442b}.calendar-screen .author-jeongyeon .event-polaroid{transform:rotate(4deg)}.calendar-screen .event-polaroid img{object-fit:cover;width:100%;min-width:0;height:100%}.calendar-screen .more-row{flex:none;height:15px;min-height:15px}.calendar-screen .more-row,.calendar-screen .more-row button{padding:0;font-size:9px;line-height:15px}.calendar-screen .bottom-nav{height:calc(56px + env(safe-area-inset-bottom));padding-top:2px}.calendar-screen .bottom-nav button{min-height:42px;font-size:11px}.calendar-screen .bottom-nav button span{font-size:20px;line-height:1}.day-sheet-backdrop{z-index:60;background:#302a2840;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.day-sheet.day-records{background:var(--paper);width:100%;max-width:750px;max-height:75dvh;padding:12px 16px calc(18px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;margin:0;animation:sheet-in .18s ease-out;overflow:auto}.sheet-close{min-height:44px;margin-left:auto;padding:8px 12px;display:block}.detail,.diary-shell:has(.editor-header){animation:page-in .16s ease-out}@keyframes sheet-in{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes page-in{0%{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.day-sheet.day-records,.detail,.diary-shell:has(.editor-header){animation:none}}.calendar-screen.week-mode .calendar-paper{flex:none;height:190px}.calendar-screen.week-mode .day-sheet{background:0 0;border-radius:0;flex:1;min-height:0;max-height:none;padding:4px 12px 16px;animation:sheet-in .18s ease-out}.calendar-screen.week-mode .day-sheet .section-heading{margin:0 0 8px}.calendar-screen .date-cell{font-family:DiaryHand,Apple SD Gothic Neo,sans-serif;font-size:15px}.calendar-screen .weekdays{font-family:DiaryHand,sans-serif;font-size:15px}@media (max-height:650px){.calendar-screen .main-header{min-height:40px}.calendar-screen .month-header{height:40px}.calendar-screen .week-dates{height:23px}.calendar-screen .more-row{height:12px;min-height:12px}.calendar-screen .event-polaroid{padding:2px 2px 4px}}.calendar-screen .week-dates{z-index:0;height:100%;position:absolute;inset:0}.calendar-screen .date-cell{justify-content:flex-start;padding-top:2px}.calendar-screen .event-grid{z-index:1;pointer-events:none;margin-top:26px;position:relative}.calendar-screen .event-strip{pointer-events:auto}.calendar-screen .more-row{z-index:1;pointer-events:none;position:relative}.calendar-screen .more-row button{pointer-events:auto}@media (max-height:650px){.calendar-screen .event-grid{margin-top:23px}}.calendar-screen .calendar-paper{height:calc(100dvh - 60px - env(safe-area-inset-top) - env(safe-area-inset-bottom));flex:none;transition:height .32s cubic-bezier(.22,.7,.25,1)}.calendar-screen.week-mode .calendar-paper{height:230px}.calendar-screen .calendar-grid{transition:grid-template-rows .32s cubic-bezier(.22,.7,.25,1);display:grid}.calendar-screen .calendar-week{min-height:0}.calendar-screen .collapsed-week{visibility:hidden;border-bottom:0}.calendar-screen .month-header{gap:8px;height:46px;padding:4px 10px}.calendar-screen .month-picker label{white-space:nowrap;font-size:23px}.calendar-screen .account-actions{white-space:nowrap;gap:8px;margin-left:auto}.calendar-screen .account-actions .logout{min-height:36px;font-size:11px}.calendar-screen .month-controls{justify-content:flex-end;height:26px;min-height:26px;padding:0 8px;position:static}.calendar-screen .month-controls .icon-button,.calendar-screen .month-controls .text-button{height:26px;min-height:26px;padding:0 10px;line-height:26px}.calendar-screen .event-strip:not(.has-photo){align-self:start;height:22px;max-height:100%;padding:2px 4px}.calendar-screen .event-strip.has-photo{min-height:0}.calendar-screen .event-polaroid img{border:0;margin:0;transform:none}.calendar-schedules{z-index:1;pointer-events:none;flex:none;grid-template-columns:repeat(7,minmax(0,1fr));height:20px;margin-top:26px;display:grid;position:relative}.calendar-schedule-day{text-align:left;color:#676052;pointer-events:auto;align-items:center;gap:1px;min-width:0;height:20px;padding:0 4px;font-size:10px;line-height:16px;display:flex}.calendar-schedule-day:disabled{pointer-events:none}.calendar-schedule-day span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.calendar-schedule-day small{flex:none;font-size:8px}.calendar-screen .event-grid.after-schedules{margin-top:0}.calendar-screen.week-mode .day-sheet{animation:day-rise .32s cubic-bezier(.22,.7,.25,1)}@keyframes day-rise{0%{opacity:0;transform:translateY(36px)}to{opacity:1;transform:translateY(0)}}.day-schedules{border:1px solid var(--line);background:#fffdf8;border-radius:10px;margin:0 0 20px;padding:8px 12px}.schedule-section-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.schedule-section-header h2{font-family:inherit;font-size:14px;font-weight:600}.schedule-card{text-align:left;border-top:1px solid var(--line);width:100%;padding:12px 34px 12px 0;display:block;position:relative}.schedule-card strong{overflow-wrap:anywhere;font-size:15px;display:block}.schedule-card small,.schedule-card span{color:var(--muted);font-size:11px}.schedule-card small{position:absolute;top:12px;right:0}.schedule-card p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.no-schedule{color:var(--muted);padding:6px 0 12px;font-size:12px}.schedule-editor form{flex-direction:column;gap:10px;display:flex}.schedule-editor label{margin-top:12px}.schedule-editor textarea{font:inherit;border:1px solid var(--line);resize:vertical;background:#fffdf8;border-radius:8px;padding:12px;font-size:16px}.schedule-editor .editor-header h1{font-family:inherit;font-size:17px}.schedule-editor .editor-header button{min-width:44px;min-height:44px;font-size:24px}.schedule-editor .primary{min-height:48px;margin-top:14px}@media (max-height:650px){.calendar-schedules{height:17px;margin-top:23px}.calendar-schedule-day{height:17px;font-size:9px}.calendar-screen.week-mode .calendar-paper{height:210px}}@media (prefers-reduced-motion:reduce){.calendar-screen .calendar-grid,.calendar-screen .calendar-paper{transition:none}.calendar-screen.week-mode .day-sheet{animation:none}}.calendar-month-body{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.month-enter-left{animation:month-left .28s cubic-bezier(.2,.7,.3,1)}.month-enter-right{animation:month-right .28s cubic-bezier(.2,.7,.3,1)}@keyframes month-left{0%{opacity:.3;transform:translate(34px)}to{opacity:1;transform:translate(0)}}@keyframes month-right{0%{opacity:.3;transform:translate(-34px)}to{opacity:1;transform:translate(0)}}.calendar-screen .date-cell{flex-direction:row;align-items:flex-start;gap:1px;padding:2px 2px 0 3px;display:flex;overflow:hidden}.calendar-screen .date-cell>.date-number{flex:none;width:19px;height:21px}.calendar-screen .date-cell>.date-schedule{white-space:nowrap;text-overflow:ellipsis;color:#847865;border-radius:0;flex:1;width:auto;min-width:0;height:21px;font-family:Arial,Apple SD Gothic Neo,sans-serif;font-size:9px;line-height:21px;display:block;overflow:hidden}.calendar-screen .date-cell.selected>.date-schedule,.calendar-screen .date-cell.today>.date-schedule{background:0 0;outline:none}.calendar-screen .event-strip.author-dongha,.calendar-screen .event-strip.author-jeongyeon{color:#746859;background:#eee9df;border-left:3px solid #bddae7}.calendar-screen .event-strip.author-jeongyeon{border-left-color:#e7c1ce}.calendar-screen .event-strip.has-photo{flex-direction:column;gap:1px;padding:3px 2px;display:flex}.calendar-screen .event-strip .event-title{flex:none;max-width:100%;line-height:13px;display:block}.continuation{z-index:5;opacity:.6;font-size:10px;position:absolute;top:50%}.continuation.before{left:0}.continuation.after{right:0}.photo-stack{flex:none;width:76px;height:80px;display:block;position:relative}.stack-frame{z-index:3;background:#fff;padding:3px 3px 7px;position:absolute;inset:5px 8px 7px 5px;overflow:hidden;transform:rotate(-4deg);box-shadow:0 1px 4px #53473330}.stack-frame img{object-fit:cover;width:100%;height:100%;border:0!important;margin:0!important;transform:none!important}.stack-1{z-index:2;transform:translate(3px,2px)rotate(7deg)}.stack-2{z-index:1;transform:translate(5px,4px)rotate(-8deg)}.stack-count{z-index:4;text-align:center;color:#736653;background:#fffdf6e8;border-radius:8px;min-width:16px;padding:0 3px;font-family:Arial,sans-serif;font-size:9px;line-height:15px;position:absolute;bottom:0;right:0;box-shadow:0 1px 3px #0002}.calendar-screen .has-photo .photo-stack{aspect-ratio:1;flex:1;max-width:100%;height:calc(100% - 14px)}.calendar-screen .stack-frame{padding:2px 2px 5px;inset:4px 5px 4px 3px}.calendar-screen .more-row{height:13px;min-height:13px}.diary-overlap-marks{color:#d4cbbb;letter-spacing:-2px;font-size:11px}.overlap-count{color:#a29483;margin-left:3px;font-size:8px}.card-photo{box-shadow:none!important;background:0 0!important;border:0!important;padding:0!important;transform:none!important}.card-photo .photo-stack{width:86px;height:95px}.photo-caption{white-space:pre-wrap;overflow-wrap:anywhere}.editor-tools{border:0;min-width:0;margin:0;padding:0}.insert-toolbar,.table-toolbar{border-bottom:1px solid var(--line);background:#f7f5f1;flex-wrap:wrap;gap:4px;padding:8px;display:flex}.toolbar select{background:#fffdf8;border:1px solid #e4ded4;border-radius:5px;max-width:115px;min-height:36px;padding:3px;font-size:16px}.color-tool{align-items:center;gap:2px;font-size:10px;display:flex}.color-tool input{border:0;width:25px;height:30px;padding:2px}.insert-panel{background:#f8f4ed;flex-wrap:wrap;gap:6px;padding:12px;display:flex}.insert-panel button{min-width:36px;min-height:40px}.insert-panel input{flex:1;min-width:100px}.richtext table,.tiptap table{border-collapse:collapse;table-layout:fixed;width:100%;margin:12px 0}.richtext td,.richtext th,.tiptap td,.tiptap th{vertical-align:top;overflow-wrap:anywhere;border:1px solid #d8d0c4;min-width:45px;padding:8px;position:relative}.richtext th,.tiptap th{background:#f0ece4;font-weight:600}.tiptap .selectedCell:after{content:"";pointer-events:none;background:#c9bfd950;position:absolute;inset:0}.table-scroll,.tableWrapper{max-width:100%;overflow:auto}.richtext pre,.tiptap pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#eeeae3;border-radius:6px;padding:14px;font-family:monospace}.math-block{display:block;overflow:auto}.math-inline{vertical-align:middle;display:inline-block}.math-inline,.tiptap-mathematics-render{max-width:100%;overflow:auto}.editable-photo{min-width:0}.cover-choice{align-items:center;gap:6px;min-height:38px;font-size:13px;display:flex}.cover-choice input,.upload-review input[type=radio]{width:18px;height:18px;padding:0}.caption-label{font-size:12px;display:block}.caption-label input{width:100%;font-size:16px}.upload-review{border:1px solid var(--line);background:#f0ebe2;border-radius:10px;margin:18px 0;padding:16px}.upload-review h3{font-family:inherit;font-size:16px}.upload-review p{margin:6px 0 12px;font-size:12px}.upload-review-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-height:55vh;display:grid;overflow:auto}.upload-review-grid>div{flex-direction:column;gap:5px;display:flex}.upload-review-grid img{object-fit:cover;border:4px solid #fff;width:100%;height:110px}.upload-review-grid small{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.upload-review-grid label{align-items:center;gap:5px;font-size:12px;display:flex}.upload-review .primary{min-height:44px;margin-top:15px}.upload-review input{width:100%;font-size:16px}.tag-input{margin:20px 0;font-size:13px;display:block}.tag-input input{width:100%;margin-top:6px;display:block}.entry-tags{color:#96856e;margin:18px 0;font-size:12px}@media (min-width:1100px){body{background:#eeeae3}.calendar-screen.desktop-screen{grid-template-columns:minmax(480px,1.04fr) minmax(460px,1fr);align-items:start;gap:32px;width:100%;max-width:1600px;height:100dvh;padding:32px;display:grid;overflow:hidden}.desktop-screen .calendar-paper{border-radius:12px;height:calc(100dvh - 64px);min-height:0;box-shadow:0 5px 25px #584d3c08}.desktop-screen .month-header{height:70px;padding:16px 22px}.desktop-screen .month-picker label{font-size:29px}.desktop-screen .month-controls{height:34px;min-height:34px;padding-right:18px}.desktop-screen .weekdays{padding:8px 0;font-size:17px}.desktop-screen .date-cell{padding-left:8px;font-size:16px}.desktop-screen .date-cell>.date-schedule{margin-left:3px;font-size:10px}.desktop-screen .calendar-week{min-height:0}.desktop-screen .event-strip .event-title{font-size:11px;line-height:15px}.desktop-screen .has-photo .photo-stack{height:calc(100% - 17px);max-height:98px}.desktop-panel{border:1px solid var(--line);scroll-behavior:smooth;background:#fcfaf5;border-radius:12px;min-width:0;height:calc(100dvh - 64px);overflow:auto}.desktop-panel>.diary-shell{width:100%;max-width:none;min-height:0;box-shadow:none;padding:24px 28px 40px}.desktop-panel .day-sheet{background:0 0;border-radius:0;height:auto;max-height:none;margin:0;padding:28px;animation:day-rise .2s ease-out;overflow:visible}.desktop-panel .sheet-close{display:none}.desktop-panel .section-heading{margin-top:26px}.desktop-panel .editor-header{z-index:6;background:#fcfaf5;position:sticky;top:-24px}.desktop-panel .editor-paper{background:#fff;margin-top:14px}.desktop-panel .title-input{font-family:inherit;font-size:24px}.desktop-panel .toolbar{gap:5px;padding:10px}.desktop-panel .tiptap{min-height:330px}.desktop-panel .editor-options{padding:0}.desktop-screen .bottom-nav{display:none}.desktop-screen>.message{z-index:10;max-width:45%;position:fixed;bottom:20px;left:35px}.desktop-panel .card-photo .photo-stack{width:110px;height:115px}}@media (prefers-reduced-motion:reduce){.month-enter-left,.month-enter-right{animation:none}}.calendar-screen.mobile-panel-screen{height:auto;min-height:100dvh;padding:0;display:block;overflow:visible}.mobile-panel-screen>.bottom-nav,.mobile-panel-screen>.calendar-paper,.mobile-panel-screen>.message{display:none}.mobile-panel{min-width:0;display:block}.mobile-panel>.diary-shell{max-width:none}.calendar-screen.week-mode .calendar-paper{touch-action:none}.calendar-screen.desktop-screen{animation:none}.card-body{align-items:center}.card-photo{flex:0 0 86px;width:86px;height:95px;margin-right:2px}.diary-card{min-width:0;max-width:100%}.card-body>div:first-child{overflow:hidden}.thin-diary-grid{z-index:1;pointer-events:none;flex:none;grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:3px;gap:1px 0;margin:1px 0 2px;display:grid;position:relative}.thin-diary{pointer-events:auto;background:#dfd7ca;border:0;border-left:3px solid #bddae7;border-radius:0;height:3px;min-height:0;margin:0 2px;padding:0}.thin-diary.author-jeongyeon{border-left-color:#e7c1ce}.thin-diary.starts{border-top-left-radius:3px;border-bottom-left-radius:3px}.thin-diary.ends{border-top-right-radius:3px;border-bottom-right-radius:3px}.calendar-screen .event-strip:not(.has-photo){height:min(22px,100%)}.calendar-screen .event-grid{gap:2px 0}.calendar-screen .has-photo .photo-stack{flex:1 1 0;width:auto;min-height:0;max-height:82px}.calendar-screen .event-strip.has-photo{padding:2px 2px 1px}.calendar-screen .event-strip .event-title{font-size:9px;line-height:11px}.calendar-screen .card-photo .photo-stack{flex:none;width:86px;max-width:none;height:95px;max-height:none}.editable-frame{border:1px solid #e4ddd2;min-width:0;padding:24px 7px 0;transition:background .18s,border-color .18s;position:relative;box-shadow:0 2px 7px #594b3910;transform:none!important}.editable-frame.is-cover{background:#f2e9dc;border-color:#cfbda8}.editable-frame .cover-check{color:#c0bab3;background:0 0;border:0;border-radius:5px;place-items:center;width:25px;height:24px;min-height:0;padding:3px;display:grid;position:absolute;top:0;right:4px}.editable-frame.is-cover .cover-check{color:#c46166}.editable-frame .cover-check:hover{background:#eadfd3}.editable-frame .frame-caption{field-sizing:content;resize:vertical;width:100%;min-height:38px;max-height:130px;box-shadow:none;text-align:center;color:#87715e;background:0 0;border:0;border-radius:0;padding:8px 2px;font-family:DiaryHand,cursive;font-size:16px;line-height:1.5;display:block}.editable-frame .frame-caption:focus{outline-offset:-2px;outline:1px dashed #cbb8a3}.editable-frame img{aspect-ratio:1;object-fit:cover;border:0;width:100%;display:block}.upload-review-grid .editable-frame img{border:0}.upload-review-grid>div{min-width:0}.editable-photo>.danger,.upload-review-grid>div>button{color:#ab9990;background:0 0;border:0;margin:7px auto 0;padding:3px 8px;font-size:11px;display:block}.photo-grid,.upload-review-grid{gap:16px}.tools-heading{letter-spacing:.08em;color:#a99a89;background:#faf7f1;justify-content:space-between;align-items:center;padding:8px 12px 0;font-size:10px;display:flex}.tools-heading button{letter-spacing:0;padding:4px;font-size:11px}.editor-tools:not(.expanded) .extra-tool{display:none}.editor-tools .insert-toolbar,.editor-tools .table-toolbar,.editor-tools .toolbar{background:#faf7f1;border-color:#ece5db;gap:3px;padding:7px 9px}.editor-tools .tool{color:#82735f;min-width:30px;min-height:30px;box-shadow:none;background:0 0;border:0;border-radius:5px;padding:5px 8px;font-size:12px;line-height:20px}.editor-tools .tool.active,.editor-tools .tool:hover{color:#695541;background:#eae1d3}.editor-tools .toolbar select{color:#81715f;background:#f1ece3;border:0;border-radius:4px;width:auto;max-width:105px;height:30px;min-height:30px;padding:2px 4px;font-size:16px}.editor-tools .color-tool{color:#988974;gap:4px;padding:0 4px}.editor-tools .color-tool input{background:0 0;width:22px;height:24px;padding:0}.editor-paper{border-color:#e6dfd3;border-radius:10px;overflow:hidden;box-shadow:0 3px 16px #5e4f3810}.tiptap{padding:22px 18px;line-height:1.9}.place-dialog{color:#625546;background:#fcfaf5;border:1px solid #ded4c5;border-radius:14px;width:min(540px,100% - 24px);max-height:90dvh;margin:auto;padding:18px;overflow:auto;box-shadow:0 15px 80px #30261940}.place-dialog::backdrop{background:#302b234d}.place-actions,.place-dialog footer,.place-dialog header{justify-content:space-between;align-items:center;gap:12px;display:flex}.place-dialog h2{font-size:18px}.place-dialog input{width:100%;margin:8px 0}.place-dialog footer{margin-top:16px}.place-map{z-index:0;background:#ebe5db;border-radius:8px;height:min(42dvh,350px);margin:12px 0}.place-actions{flex-wrap:wrap;margin:8px 0}@media (min-width:1100px){.calendar-screen.desktop-screen{grid-template-columns:minmax(430px,1fr) minmax(450px,1.05fr);align-content:center;gap:26px;max-width:1280px;padding:36px 30px}.desktop-panel,.desktop-screen .calendar-paper{height:min(800px,100dvh - 72px)}.desktop-screen .month-header{height:58px;padding:12px 18px}.desktop-screen .month-picker label{font-size:24px}.desktop-screen .weekdays{padding:6px 0;font-size:15px}.desktop-screen .date-cell{font-size:14px}.desktop-panel .day-sheet,.desktop-panel>.diary-shell{padding:20px 22px 28px}.desktop-panel .title-input{font-size:21px}.desktop-panel .tiptap{min-height:240px;font-size:15px}.desktop-panel .card-photo,.desktop-panel .card-photo .photo-stack{flex-basis:86px;width:86px;height:95px}.desktop-panel .photo-grid,.desktop-panel .upload-review-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}.desktop-panel .editor-tools .toolbar{gap:3px;padding:7px 9px}.desktop-panel .editor-tools .toolbar select{font-size:12px}.desktop-panel .editor-header{top:-20px}}.photo-help{color:#aa9987;margin:10px 0;font-size:11px;line-height:1.7}.photo-help summary{cursor:pointer}.photo-help p{padding:5px 0}.calendar-screen .event-strip{container-type:size}.event-content{flex-direction:column;justify-content:center;align-items:center;gap:2px;width:100%;min-width:0;height:100%;min-height:0;display:flex}.calendar-screen .event-content .photo-stack{flex:1 1 0;min-height:0;max-height:calc(100% - 13px)}.calendar-screen .event-content .event-title{min-width:0;max-width:100%}@container (max-height:74px){.calendar-screen .has-photo .event-content{flex-direction:row;gap:4px;padding:2px}.calendar-screen .has-photo .event-content .photo-stack{flex:none;width:calc(100cqh - 8px);max-width:48%;height:calc(100cqh - 8px);max-height:100%}.calendar-screen .has-photo .event-content .event-title{text-align:left;flex:1 1 0;font-size:10px;line-height:1.3}}.month-viewport{flex:1;min-height:0;position:relative;overflow:hidden}.month-track{width:100%;height:100%;margin-left:-100%;display:flex;transform:none}.month-track>.calendar-month-body{flex:0 0 100%;width:100%;min-width:0;height:100%;animation:none}.calendar-screen .month-header{opacity:1;filter:none;background:var(--paper,#fffdf8);transform:none}.calendar-screen .month-picker label{color:#514941;-webkit-text-fill-color:#514941;opacity:1;filter:none;text-shadow:none;font-synthesis:none}.calendar-screen .month-picker input{opacity:0;color:#0000;-webkit-text-fill-color:transparent;box-shadow:none;background:0 0;border:0}.calendar-screen{animation:none!important}.calendar-screen .month-viewport{touch-action:none}@media (display-mode:standalone) and (max-width:1099px){body,html{background:var(--paper)}body:before{content:"";height:max(1px,env(safe-area-inset-top));background:var(--paper);pointer-events:none;z-index:100;position:fixed;inset:0 0 auto}.calendar-screen.diary-shell:not(.mobile-panel-screen){top:env(safe-area-inset-top);height:calc(100dvh - env(safe-area-inset-top));background:var(--paper);padding-top:0;position:fixed;bottom:0;left:0;right:0}}.editor-paper{overflow:visible}.editor-tools{top:calc(64px + env(safe-area-inset-top));z-index:10;background:var(--paper);position:sticky;box-shadow:0 4px 10px #51494112}@media (min-width:1100px){.desktop-panel .editor-tools{top:48px}}.palette-tool{position:relative}.palette-tool>button{border-radius:6px;align-items:center;gap:6px;padding:6px 8px;font-size:12px;display:flex}.palette-tool>button>span{border:1px solid #bcb2a4;border-radius:50%;width:18px;height:18px}.color-palette{z-index:25;background:#fffdf8;border:1px solid #e6dfd3;border-radius:12px;width:232px;padding:12px;position:absolute;top:100%;right:0;box-shadow:0 8px 24px #51494126}.color-swatches{grid-template-columns:repeat(6,1fr);gap:7px;display:grid}.color-swatches button{border:1px solid #51494135;border-radius:50%;width:28px;height:28px}.color-swatches button[aria-pressed=true]{outline-offset:2px;outline:2px solid #a17cb5}.custom-color-button{padding:8px 0;font-size:12px;display:block}.custom-color{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.custom-color>input[type=color]{width:32px;height:32px;padding:0}.custom-color label{font-size:11px}.custom-color label input{width:105px;padding:6px;font-family:monospace;display:block}.custom-color>button{padding:6px;font-size:12px}.editor-tools .color-palette{top:calc(130px + env(safe-area-inset-top));width:min(260px,100vw - 32px);max-height:calc(100dvh - 180px - env(safe-area-inset-top));width:min(330px,100vw - 32px);left:50%;right:auto;top:calc(85px + env(safe-area-inset-top));max-height:calc(100dvh - 120px - env(safe-area-inset-top));position:fixed;overflow:auto;transform:translate(-50%)}.palette-heading{color:#807266;margin-bottom:10px;font-size:12px}.color-swatches{grid-template-columns:repeat(10,minmax(0,1fr));gap:5px}.color-swatches button{border-radius:3px;width:100%;height:23px}.color-more-button{background:#f3eee6;border:1px solid #d9cfc3;border-radius:7px;width:100%;margin:12px 0;padding:10px}.custom-color{gap:10px}.custom-color-preview{border:1px solid #d9cfc3;border-radius:6px;width:100%;height:28px}.custom-color .color-slider{align-items:center;gap:10px;width:100%;display:flex}.custom-color .color-slider input{appearance:none;border:1px solid #d9cfc3;border-radius:10px;flex:1;width:auto;height:20px;padding:0}.color-slider input::-webkit-slider-thumb{appearance:none;background:#514941;border:2px solid #fff;border-radius:50%;width:22px;height:22px;box-shadow:0 0 3px #514941}.color-slider input::-moz-range-thumb{background:#514941;border:2px solid #fff;border-radius:50%;width:18px;height:18px}.custom-color .color-apply{background:#e9dbe5;border-radius:6px;margin-left:auto;padding:9px 18px}.annotated-diary{min-width:0;position:relative}.annotation-document{-webkit-user-select:text;user-select:text}.annotated-text{background:#f6edcc80;border-bottom:1px dotted #baa36d}.annotation-active{background:#efdfa5}.annotation-number{color:#8e718f;vertical-align:super;padding:0 3px;font-size:.75em;font-weight:600;line-height:1;display:inline}.annotation-number:focus-visible{outline-offset:3px;outline:2px solid #a17cb5}.selection-comment-action{bottom:calc(28px + env(safe-area-inset-bottom));z-index:65;width:max-content;max-width:90vw;position:fixed;left:50%;transform:translate(-50%)}.comment-submit,.selection-comment-action button{color:#604c64;background:#e8dce9;border-radius:10px;padding:11px 18px;box-shadow:0 3px 12px #51494115}.diary-comments{border-top:1px solid #e5ddd1;margin-top:35px;padding-top:20px;scroll-margin-top:85px}.comment-card header,.comment-popover-heading,.comments-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.comments-heading h2{font-size:17px}.comment-actions,.comment-card time,.comments-heading button,.comments-hint{color:#9a8b7c;font-size:12px}.comments-hint{margin:10px 0 18px}.comment-card{background:#fffdf8;border:1px solid #e9e0d4;border-radius:12px;margin:12px 0;padding:14px;scroll-margin-top:90px}.comment-card:focus{outline:2px solid #d4bdd6}.comment-card header{font-size:13px}.comment-draft-quote,.comment-quote{text-align:left;background:#f4efe7;border-left:3px solid #c6a9c7;border-radius:6px;flex-direction:column;gap:5px;width:100%;margin:12px 0;padding:10px 12px;display:flex}.comment-draft-quote span,.comment-quote span{white-space:pre-wrap;overflow-wrap:anywhere;max-height:100px;font-size:13px;overflow:auto}.comment-quote:disabled{opacity:.7}.comment-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;line-height:1.8}.comment-actions{justify-content:flex-end;gap:15px;display:flex}.diary-comments textarea{resize:vertical;background:#fffdf8;border:1px solid #dfd4c6;border-radius:9px;width:100%;min-height:100px;margin:10px 0;padding:12px;font-size:16px;display:block}.comment-submit:disabled{opacity:.5}.comment-popover-backdrop{z-index:70;background:#332b2830;position:fixed;inset:0}.comment-popover{left:16px;right:16px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:71;background:#fffdf8;border:1px solid #e0d5c8;border-radius:16px;max-height:65dvh;padding:18px;position:fixed;overflow:auto;box-shadow:0 10px 40px #30292325}.comment-popover blockquote{white-space:pre-wrap;overflow-wrap:anywhere;background:#f4efe7;border-left:3px solid #c6a9c7;max-height:110px;margin:12px 0;padding:10px;overflow:auto}.comment-popover-heading button{min-width:36px;min-height:36px}.comment-jump{color:#8e718f;padding:8px 0}#comment-anchor{scroll-margin-top:120px}@media (min-width:1100px){.selection-comment-action{left:auto;right:30px;transform:none}}@media (prefers-reduced-motion:reduce){.annotation-document,.diary-comments{scroll-behavior:auto}}.annotation-extras{min-width:0}.annotation-number{scroll-margin-top:110px}.comment-popover.comment-hover{border-radius:10px;width:min(340px,100vw - 24px);max-height:min(420px,100dvh - 24px);padding:14px 16px;font-size:14px;bottom:auto;right:auto}.comment-quote,.comment-source{color:#938b83;white-space:pre-wrap;overflow-wrap:anywhere;background:0 0;border:0;border-radius:0;margin:8px 0;padding:0;font-size:12px;line-height:1.5}.comment-source{max-height:54px;overflow:auto}.comment-quote{gap:2px}.comment-quote span{max-height:54px;font-size:12px}.comment-quote small{color:#938b83;font-size:10px}.comment-card .comment-body,.comment-popover .comment-body{color:#514941;background:#f4efe7;border:0;border-left:3px solid #c6a9c7;border-radius:0 6px 6px 0;max-height:none;margin:10px 0 14px;padding:12px 14px;font-size:14px;line-height:1.75;overflow:visible}.comment-author,.comment-popover-heading{color:#85776b;font-size:12px}.plans-page{width:min(960px,100%);min-height:100dvh;padding:max(16px,env(safe-area-inset-top)) 18px calc(30px + env(safe-area-inset-bottom));background:#faf7f0;margin:auto}.plans-header{justify-content:space-between;align-items:center;gap:12px;padding:10px 0 22px;display:flex}.plans-header h1{margin:0;font-family:DiaryHand,cursive;font-size:20px}.plans-header button{color:#887969;min-height:44px}.plans-header button:first-child{font-size:24px}.plans-tabs{border-bottom:1px solid #e5dccf;gap:24px;display:flex}.plans-tabs button{color:#998a7b;border-bottom:2px solid #0000;padding:12px 4px;font-size:17px}.plans-tabs button[aria-pressed=true]{color:#65516c;border-color:#b59bbd}.plans-filters,.plans-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:18px 0;display:flex}.plans-filters>div{flex-wrap:wrap;gap:6px;display:flex}.plans-filters button{color:#857568;border-radius:18px;padding:8px 12px}.plans-filters button[aria-pressed=true]{color:#65516c;background:#eae1ed}.plans-filters label{color:#938374;align-items:center;gap:8px;font-size:12px;display:flex}.plans-page select{color:inherit;background:#fffdf8;border:1px solid #e2d8ca;border-radius:8px;padding:8px}.plans-heading p{color:#8a7b6c;margin:0}.plans-page .primary{width:auto;margin:0;padding:10px 16px}.plans-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.plan-card,.plan-form{background:#fffdf8;border:1px solid #e4dbcf;border-radius:14px;min-width:0;padding:20px}.plan-card-title{align-items:center;gap:12px;display:flex}.plan-card-title input,.plan-check input{accent-color:#a58caa;flex:none;width:20px;height:20px}.plan-card h2{overflow-wrap:anywhere;margin:3px 0;font-size:17px;line-height:1.5}.plan-card small{color:#9c8979;font-size:12px}.plan-card.is-complete h2{color:#9c938a;text-decoration:line-through}.plan-note{white-space:pre-wrap;overflow-wrap:anywhere;color:#7e7165;margin:14px 0;font-size:14px}.plan-card footer{justify-content:space-between;align-items:center;gap:8px;margin-top:18px;display:flex}.plan-card footer button{color:#927e8f;padding:8px;font-size:12px}.linked-plans button,.plan-records button{text-align:left;background:#f4efe6;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-top:8px;padding:10px;font-size:13px;display:flex}.linked-plans span,.plan-records span{overflow-wrap:anywhere;min-width:0}.linked-plans small,.plan-records small{color:#978676;flex:none;font-size:11px}.plans-empty{text-align:center;color:#a4978a;padding:36px 12px}.plan-form{margin:20px 0;scroll-margin-top:20px}.plan-form h2{margin:0 0 20px;font-size:18px}.plan-form>label{color:#8b7a6c;flex-direction:column;gap:8px;margin:14px 0;font-size:13px;display:flex}.plan-form input:not([type=checkbox]),.plan-form textarea{color:#514941;background:#fdfbf7;border:1px solid #e1d7ca;border-radius:8px;width:100%;padding:12px;font-size:16px}.plan-form .plan-check{flex-direction:row;align-items:center}.plan-link-picker{border:1px solid #e9e0d4;border-radius:10px;min-width:0;margin:20px 0;padding:14px}.plan-link-picker legend{color:#8e7d70;padding:0 8px;font-size:13px}.plan-search{gap:8px;margin:10px 0;display:flex}.plan-search input{min-width:0}.plan-search select{max-width:42%}.plan-search-results{overscroll-behavior:contain;max-height:240px;overflow:auto}.plan-search-results button,.plan-selected-link{text-align:left;border-bottom:1px solid #eee7dc;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:10px 4px;font-size:13px;display:flex}.plan-search-results span,.plan-selected-link span{overflow-wrap:anywhere;min-width:0}.plan-search-results small{color:#a18d7b;font-size:11px;display:block}.plan-search-results button:disabled{opacity:.5}.plan-selected-link{background:#f4eef4;border-radius:6px;margin:5px 0;padding:10px}.plan-selected-link small{display:block}.plan-selected-link button{color:#9b7e91;flex:none;font-size:12px}.plan-form-actions,.plan-pagination{justify-content:flex-end;align-items:center;gap:18px;display:flex}.plan-pagination button{padding:8px;font-size:12px}.plans-page button:disabled{opacity:.5}.linked-plans{margin:16px 0}.linked-plans h2{color:#9c8979;font-size:12px}@media (max-width:600px){.plans-list{grid-template-columns:1fr}.plans-page{padding-left:14px;padding-right:14px}.plan-card,.plan-form{padding:16px}.plans-header h1{font-size:18px}}:root{--nono-dongha:#1d5fc4;--nono-jeongyeon:#d12f6c;--nono-tri:#9b948c;--nono-ink:#5d5148;--nono-line:#ddd3c5;--nono-thick:#8f7d6b}.games-page{width:min(1100px,100%);min-height:100dvh;padding:max(14px,env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));background:var(--paper);color:var(--ink);margin:auto}.games-header{grid-template-columns:56px 1fr auto;align-items:center;gap:8px;padding:6px 0 14px;display:grid}.games-header h1{text-align:center;text-overflow:ellipsis;white-space:nowrap;margin:0;font-family:DiaryHand,cursive;font-size:20px;overflow:hidden}.games-header>button{color:#887969;min-width:44px;min-height:44px}.games-header>button:first-child{text-align:left;font-size:24px}.games-empty{text-align:center;color:#a4978a;padding:40px 0}.games-menu{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin-top:8px;display:grid}.game-card{background:#fffdf8;border:1px solid #e5dccf;border-radius:16px;flex-direction:column;gap:8px;padding:26px 16px;display:flex;box-shadow:0 2px 10px #7864500f}.game-card strong{color:#4e443c;font-size:18px}.game-card small{color:#9a8b7d;font-size:13px}.game-card:disabled{opacity:.55}.game-icon.nonogram{background:#fff;border:1px solid #d8cdbf;border-radius:6px;grid-template-columns:repeat(4,14px);gap:2px;padding:6px;display:grid}.game-icon.nonogram i{background:#f0e9df;border-radius:2px;width:14px;height:14px}.game-icon.nonogram i.on{background:var(--nono-dongha)}.game-icon.nonogram i.on:nth-child(3n){background:var(--nono-jeongyeon)}.game-icon.loop{color:#b8aa9b;font-size:56px;line-height:70px}.nono-list-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.nono-list-head p{color:#8a7b6c;margin:0;font-size:14px}.games-page .primary{width:auto;margin:0;padding:10px 16px}.nono-section{color:#7a6a5c;margin:22px 0 10px;font-size:15px;font-weight:600}.nono-cards{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.nono-card{position:relative}.nono-card>button:first-child{background:#fffdf8;border:1px solid #e5dccf;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:100%;padding:12px 10px;display:flex}.nono-card.solved>button:first-child{background:#fbfdf7;border-color:#cfd9c4}.nono-card.playing>button:first-child{border-color:#c9b8d0}.nono-card strong{color:#4e443c;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:14px;overflow:hidden}.nono-card small{color:#9a8b7d;font-size:12px}.nono-thumb{background:#f3ede4;border-radius:8px;place-items:center;width:84px;height:84px;display:grid;overflow:hidden}.nono-thumb .pixel-art{object-fit:contain;width:84px;height:84px;image-rendering:pixelated}.nono-thumb .mystery{color:#c3b6a8;font-family:DiaryHand,cursive;font-size:34px}.nono-delete{color:#b09f90;border-radius:50%;width:30px;height:30px;font-size:18px;position:absolute;top:4px;right:4px}.nono-play{height:100dvh;min-height:0;padding-bottom:max(10px,env(safe-area-inset-bottom));flex-direction:column;display:flex;overflow:hidden}.nono-header{padding-bottom:6px}.nono-title{text-align:center;min-width:0}.nono-title h1{font-size:18px}.nono-title small{color:#9a8b7d;font-size:12px;display:block}.nono-online{margin-left:8px}.nono-online.off{opacity:.55}.nono-online .dot{vertical-align:0;background:#d5ccc1;border-radius:50%;width:8px;height:8px;margin:0 3px 0 6px;display:inline-block}.nono-play .dot.me,.nono-play .dot.partner.on{background:#58a66b}.nono-toolbar{flex-wrap:wrap;align-items:center;gap:14px;padding:4px 0 10px;display:flex}.nono-tools{gap:6px;display:flex}.nono-history button,.nono-tools button{color:#6f6156;background:#fffdf8;border:1px solid #e2d8ca;border-radius:10px;align-items:center;gap:6px;padding:7px 12px;font-size:14px;display:inline-flex}.nono-tools button[aria-pressed=true]{color:#3f362f;background:#f1e9de;border-color:#8f7d6b;box-shadow:inset 0 0 0 1px #8f7d6b}.nono-history{gap:6px;display:flex}.nono-history button{padding:4px 12px;font-size:18px}.nono-history button:disabled{opacity:.4}.nono-hint{color:#a29384;margin:0;font-size:12px}.tool-icon{width:14px;height:14px;display:inline-block;position:relative}.tool-icon.fill{background:var(--nono-ink);border-radius:2px}.tool-icon.triangle{background:var(--nono-tri);clip-path:polygon(50% 8%,96% 92%,4% 92%)}.tool-icon.cross:after,.tool-icon.cross:before{content:"";background:var(--nono-ink);border-radius:2px;width:2.5px;height:100%;position:absolute;top:0;left:50%;transform:translate(-50%)rotate(45deg)}.tool-icon.cross:after{transform:translate(-50%)rotate(-45deg)}.tool-icon.mixed{background:linear-gradient(135deg,var(--nono-ink) 0 48%,transparent 48% 52%,var(--nono-tri) 52%);border-radius:2px}.nono-error{cursor:pointer;margin:0 0 8px}.nono-stage{flex:1;justify-content:center;align-items:center;min-height:0;display:flex;overflow:hidden}.nono-board{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;color:var(--nono-ink);font-variant-numeric:tabular-nums;line-height:1;display:grid}.nono-corner{border-right:2px solid var(--nono-thick)}.nono-colclues,.nono-corner{border-bottom:2px solid var(--nono-thick)}.nono-colclues{display:grid}.nono-colclues>div{border-right:1px solid #ece4d8;flex-direction:column;justify-content:flex-end;align-items:center;padding-bottom:3px;display:flex}.nono-colclues>div.r5{border-right:1.5px solid #cbbba7}.nono-colclues>div:nth-child(odd){background:#a58f7809}.nono-colclues span{justify-content:center;align-items:center;display:flex}.nono-rowclues{border-right:2px solid var(--nono-thick);display:grid}.nono-rowclues>div{white-space:nowrap;border-bottom:1px solid #ece4d8;justify-content:flex-end;align-items:center;gap:.32em;padding-right:.35em;display:flex}.nono-rowclues>div.b5{border-bottom:1.5px solid #cbbba7}.nono-rowclues>div:nth-child(odd){background:#a58f7809}.nono-colclues>div.hl,.nono-rowclues>div.hl{background:#fbe9c4}.nono-colclues>div.phl,.nono-rowclues>div.phl{box-shadow:inset 0 0 0 1.5px var(--nono-partner)}@supports (color:color-mix(in lab,red,red)){.nono-colclues>div.phl,.nono-rowclues>div.phl{box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--nono-partner) 45%,transparent)}}.nono-board span.big{color:#b36a1e;font-weight:800}.nono-board span.done{color:#cdc5bb;font-weight:400}.nono-grid{touch-action:none;cursor:crosshair;background:#fffdf8;display:grid;position:relative}.nono-grid.solved{cursor:default}.nono-cell{z-index:1;border-right:1px solid var(--nono-line);border-bottom:1px solid var(--nono-line);position:relative}.nono-cell.r5{border-right:2px solid var(--nono-thick)}.nono-cell.b5{border-bottom:2px solid var(--nono-thick)}.nono-cell.m1{background:var(--own);box-shadow:inset 0 0 0 1px #ffffff2e}.nono-cell.m2:after,.nono-cell.m2:before{content:"";background:var(--own);border-radius:2px;width:2px;height:64%;position:absolute;top:18%;left:50%;transform:translate(-50%)rotate(45deg)}.nono-cell.m2:after{transform:translate(-50%)rotate(-45deg)}.nono-cell.m3:before{content:"";background:var(--nono-tri);clip-path:polygon(50% 6%,98% 94%,2% 94%);position:absolute;inset:22%}.nono-grid.solved .nono-cell.m2,.nono-grid.solved .nono-cell.m3{opacity:.25}.nono-band{z-index:0;pointer-events:none;position:absolute}.nono-band.row{left:0;right:0}.nono-band.col{top:0;bottom:0}.nono-band.me{background:#fad68c52}.nono-play{--nono-partner:var(--nono-jeongyeon)}.nono-band.partner{background:var(--nono-partner)}@supports (color:color-mix(in lab,red,red)){.nono-band.partner{background:color-mix(in srgb,var(--nono-partner) 9%,transparent)}}.nono-cursor{z-index:3;pointer-events:none;box-sizing:border-box;position:absolute}.nono-cursor.me{border:2.5px solid #f08a24;border-radius:2px}.nono-cursor.partner{border:2.5px solid var(--nono-partner);border-radius:2px;transition:left 80ms linear,top 80ms linear}.nono-cursor.partner span{background:var(--nono-partner);white-space:nowrap;border-radius:8px;padding:1px 6px;font-size:11px;line-height:16px;position:absolute;bottom:calc(100% + 3px)}.nono-cursor.partner span,.nono-solved-chip{color:#fff;left:50%;transform:translate(-50%)}.nono-solved-chip{bottom:calc(18px + env(safe-area-inset-bottom));z-index:20;background:#4e443c;border-radius:22px;padding:10px 18px;position:fixed;box-shadow:0 4px 16px #0000002e}.nono-overlay{z-index:30;background:#3c322859;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.nono-result{text-align:center;background:#fffdf8;border-radius:18px;width:min(440px,100%);max-height:92dvh;padding:22px 20px;overflow:auto;box-shadow:0 10px 40px #0003}.nono-result h2{margin:0;font-family:DiaryHand,cursive;font-size:28px}.nono-result-title{color:#7a6a5c;margin:4px 0 14px}.nono-reveal{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.nono-reveal .pixel-art{width:140px;height:auto;image-rendering:pixelated;border:1px solid #e5dccf;border-radius:6px}.nono-reveal img{border-radius:8px;max-width:min(220px,100%);max-height:220px;animation:nono-fade .8s}@keyframes nono-fade{0%{opacity:0;transform:scale(.96)}}.nono-result dl{justify-content:center;gap:18px;margin:16px 0;display:flex}.nono-result dl div{flex-direction:column;gap:2px;display:flex}.nono-result dt{color:#9a8b7d;font-size:12px}.nono-result dd{margin:0;font-weight:700}.nono-result .dongha dd{color:var(--nono-dongha)}.nono-result .jeongyeon dd{color:var(--nono-jeongyeon)}.nono-result-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.nono-result-actions button{color:#6f6156;border:1px solid #e2d8ca;border-radius:10px;padding:9px 14px}.nono-result-actions .primary{border:0}.nono-play.is-touch{padding-left:8px;padding-right:8px}.nono-play.is-touch .games-header{grid-template-columns:44px 1fr auto;padding-bottom:4px}.nono-pad{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;align-items:center;gap:10px;padding:12px 6px 4px}.nono-pad button{-webkit-tap-highlight-color:transparent;touch-action:none}.dpad{flex:none;width:168px;height:168px}.dpad button{background:#efe6da;border:1px solid #ddd0bf;border-radius:12px;width:58px;height:58px}.dpad button:after{content:"";border-top:3px solid #6f6156;border-left:3px solid #6f6156;width:14px;height:14px;position:absolute;top:50%;left:50%}.dpad button:active{background:#e2d5c4}.dpad .up:after{transform:translate(-50%,-25%)rotate(45deg)}.dpad .down:after{transform:translate(-50%,-75%)rotate(225deg)}.dpad .left:after{transform:translate(-25%,-50%)rotate(-45deg)}.dpad .right:after{transform:translate(-75%,-50%)rotate(135deg)}.dpad-mini{background:#f3ece2;border:1px solid #e0d4c4;border-radius:12px;place-items:center;width:48px;height:48px;display:grid}.dpad-mini span{background:conic-gradient(from 45deg,#b9ab9b 0 25%,#d8cdbf 0 50%,#b9ab9b 0 75%,#d8cdbf 0);clip-path:polygon(35% 0,65% 0,65% 35%,100% 35%,100% 65%,65% 65%,65% 100%,35% 100%,35% 65%,0 65%,0 35%,35% 35%);width:26px;height:26px}.pad-actions{flex-direction:column;gap:12px}.pad-actions,.pad-row{align-items:center;display:flex}.pad-row{gap:14px}.pad-row .round{color:#6f6156;background:#efe6da;border:1px solid #ddd0bf;border-radius:50%;width:44px;height:44px;font-size:20px}.pad-row .round:disabled{opacity:.4}.pad-row .memo{background:#efe6da;border:1px solid #ddd0bf;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:64px;height:56px;display:flex}.pad-row .memo small{color:#8a7b6c;font-size:11px;font-weight:700}.pad-row .memo .tool-icon{width:22px;height:18px}.pad-row .big{background:#efe6da;border:1px solid #ddd0bf;border-radius:16px;place-items:center;width:82px;height:74px;display:grid}.pad-row .big .tool-icon.cross{width:30px;height:30px}.pad-row .big .tool-icon.cross:after,.pad-row .big .tool-icon.cross:before{width:5px}.pad-row .big .pencil{color:#4e443c;width:auto;height:auto;font-size:36px}@media (max-width:370px){.dpad{transform-origin:0;margin-right:-24px;transform:scale(.85)}.pad-row .big{width:72px;height:66px}}.nono-history button,.nono-result-actions button,.pad-row .round{font-family:Arial,Apple SD Gothic Neo,sans-serif}.nono-result-actions .primary{color:#fff}.pad-row .big svg.pencil{color:#4e443c;width:38px;height:38px}.games-menu{grid-template-columns:1fr;gap:12px;max-width:720px}.game-card{text-align:left;flex-direction:row;justify-content:flex-start;align-items:center;gap:18px;padding:18px 20px}.game-card .game-text{flex-direction:column;gap:4px;display:flex}.game-icon.loop{text-align:center;width:70px}.games-menu{margin-left:auto;margin-right:auto}.nono-create .create-body{flex-direction:column;gap:16px;width:min(440px,100%);margin:8px auto 0;display:flex}.create-file{color:#7a6a5c;cursor:pointer;background:#fffdf8;border:1.5px dashed #d3c4b1;border-radius:12px;justify-content:center;align-items:center;min-height:54px;font-size:15px;display:flex;position:relative}.create-file input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;overflow:hidden}.create-size{color:#8a7b6c;justify-content:center;align-items:center;gap:10px;display:flex}.create-size label{align-items:center;gap:8px;font-size:14px;display:flex}.nono-create select{color:inherit;background:#fffdf8;border:1px solid #e2d8ca;border-radius:8px;padding:8px 10px}.crop-view{touch-action:none;cursor:grab;background:#e9e1d6;border-radius:10px;flex:none;margin:0 auto;position:relative;overflow:hidden;box-shadow:0 0 0 1px #d8cbbb,0 4px 14px #5a46321f}.crop-view:active{cursor:grabbing}.crop-view img{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;max-width:none;max-height:none;top:0;left:0}.crop-grid,.crop-view img{pointer-events:none;position:absolute}.crop-grid{mix-blend-mode:difference;opacity:.5;background-image:linear-gradient(90deg,#ffffff80 1px,#0000 0),linear-gradient(#ffffff80 1px,#0000 0);inset:0}.create-zoom{color:#8a7b6c;align-items:center;gap:12px;font-size:14px;display:flex}.create-zoom input{accent-color:#8f7d6b;background:0 0;border:0;flex:1;padding:0}.create-help{color:#a29384;text-align:center;margin:0;font-size:13px}.create-title{color:#7a6a5c;flex-direction:column;gap:6px;font-size:14px;display:flex}.create-title small{color:#a29384}.create-title input{width:100%}.nono-create .create-go{width:100%;padding:13px}.create-progress{text-align:center;flex-direction:column;gap:12px;width:min(420px,100%);margin:80px auto 0;display:flex}.create-progress .step{color:#5d5148;font-size:17px}.create-progress .bar{background:#ece3d6;border-radius:6px;height:12px;overflow:hidden}.create-progress .bar span{background:linear-gradient(90deg,var(--nono-dongha),var(--nono-jeongyeon));border-radius:6px;height:100%;transition:width .25s;display:block}.create-progress .detail{color:#8a7b6c;font-size:14px}.nono-header-actions{align-items:center;gap:4px;display:flex}.nono-header-actions>button{color:#887969;white-space:nowrap;min-height:44px;padding:0 8px}.nono-header-actions .clear-tri{align-items:center;gap:5px;font-size:14px;display:inline-flex}.nono-header-actions .clear-tri .tool-icon{width:12px;height:11px}.nono-runcount{z-index:4;pointer-events:none;place-items:center;display:grid;position:absolute}.nono-runcount span{color:#111;text-align:center;background:#ffffffeb;border-radius:.5em;min-width:1.5em;padding:0 .2em;font-weight:800;line-height:1.3;box-shadow:0 1px 3px #00000040}.nono-play.is-touch .games-header{grid-template-columns:40px 1fr auto}.nono-play.is-touch .nono-header-actions>button{padding:0 5px;font-size:13px}.nono-play{--nono-fill-d:#1c2747;--nono-fill-j:#4a1b29;--nono-tri-d:#86c6ef;--nono-tri-j:#f3a6c2;--nono-auto:#1a1a1a}.nono-play.colors-off{--nono-fill-d:#2a2522;--nono-fill-j:#2a2522;--nono-tri-d:#b9b2aa;--nono-tri-j:#b9b2aa}.nono-cell.m3:before{background:var(--own,var(--nono-tri))}.nono-cell.m1{box-shadow:inset 0 0 0 1px #ffffff1f}.color-toggle{align-items:center;gap:2px;font-size:14px;display:inline-flex}.color-toggle .sw{background:var(--nono-fill-d);border-radius:2px;width:10px;height:10px}.color-toggle .sw.j{background:var(--nono-fill-j);margin-right:3px}.color-toggle[aria-pressed=false] .sw{opacity:.5;background:#2a2522}.nono-haptic{opacity:0;pointer-events:none;width:1px;height:1px;position:fixed;top:0;left:-40px;overflow:hidden}.nono-topbar{flex:none;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:4px 0 6px;display:grid}.nono-topbar .side{align-items:center;gap:6px;display:flex}.nono-topbar .side.right{justify-content:flex-end}.nono-topbar .nono-title{text-align:center;min-width:0;max-width:56vw}.nono-topbar .nono-title h1{white-space:nowrap;text-overflow:ellipsis;margin:0;font-family:DiaryHand,cursive;font-size:17px;overflow:hidden}.nono-topbar .nono-title small{color:#9a8b7d;white-space:nowrap;font-size:11px;display:block}.nono-topbar .nono-title small.off{opacity:.55}.nono-topbar .dot{background:#d5ccc1;border-radius:50%;width:7px;height:7px;margin:0 4px 0 8px;display:inline-block}.nono-topbar .dot.on{background:#58a66b}.round-icon{color:#7a6a5c;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-width:44px;height:46px;padding:0 4px;display:inline-flex}.round-icon svg{width:22px;height:22px}.round-icon small{color:#9a8b7d;font-size:10px;line-height:1.1}.round-icon.reset{background:#fffdf8;border:1.5px solid #e2d6c6;width:46px}.round-icon.color-toggle{flex-direction:column;gap:3px}.round-icon.color-toggle .sw{border-radius:3px;width:11px;height:11px;display:inline-block}.round-icon.color-toggle .sw.d{background:var(--nono-fill-d);box-shadow:13px 0 0 var(--nono-fill-j);margin-right:13px}.round-icon.color-toggle .sw.j{display:none}.round-icon.color-toggle[aria-pressed=false] .sw.d{opacity:.45}.nono-canvas{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;cursor:crosshair;display:block}.nono-canvas.solved{cursor:default}.nono-history .clear{align-items:center;gap:5px;font-size:14px;display:inline-flex}.nono-play.is-touch{padding:max(6px,env(safe-area-inset-top)) 4px max(8px,env(safe-area-inset-bottom))}.nono-play.is-touch .nono-stage{align-items:center}.nono-pad{justify-content:space-between;align-items:stretch;gap:6px;padding:6px 6px 2px}.nono-pad,.pad-left{flex:none;display:flex}.pad-left{justify-content:flex-start;align-items:center;min-width:150px}.dpad{width:174px;height:174px;position:relative}.dpad button{background:#efe4d4;border:1px solid #ddcdb8;border-radius:13px;place-items:center;width:62px;height:62px;display:grid;position:absolute;box-shadow:0 2px #d8c8b2}.dpad button:after{display:none}.dpad button span{border-top:3.5px solid #6f6156;border-left:3.5px solid #6f6156;border-radius:2px;width:15px;height:15px}.dpad button:active{box-shadow:none;background:#e2d3be;transform:translateY(1px)}.dpad .up{top:0;left:56px}.dpad .up span{transform:translateY(25%)rotate(45deg)}.dpad .down{bottom:0;left:56px}.dpad .down span{transform:translateY(-25%)rotate(225deg)}.dpad .left{top:56px;left:0}.dpad .left span{transform:translate(25%)rotate(-45deg)}.dpad .right{top:56px;right:0}.dpad .right span{transform:translate(-25%)rotate(135deg)}.pad-actions{grid-template-rows:auto auto auto;grid-template-columns:auto auto;align-content:end;justify-items:center;gap:8px 12px;display:grid}.pad-bubbles{justify-content:space-between}.pad-bubbles,.pad-mid{grid-column:1/3;align-items:center;width:100%;display:flex}.pad-mid{justify-content:flex-end;gap:14px;padding-right:30px}.pad-big{grid-column:1/3;gap:14px;display:flex}.nono-pad .bubble{color:#6f6156;letter-spacing:.02em;background:#efe4d4;border:1px solid #ddcdb8;border-radius:9px;align-items:center;gap:4px;height:32px;padding:0 10px;font-size:13px;font-weight:800;display:inline-flex;position:relative}.nono-pad .bubble svg{width:16px;height:16px}.nono-pad .bubble.clear{color:#c0453a}.nono-pad .bubble.clear:after{content:"";border:6px solid #0000;border-top-color:#ddcdb8;border-bottom:0;position:absolute;bottom:-7px;left:10px}.nono-pad .bubble:disabled{opacity:.4}.nono-pad .round{color:#6f6156;background:#efe4d4;border:1px solid #ddcdb8;border-radius:50%;place-items:center;width:46px;height:46px;font-size:22px;display:grid}.nono-pad .round:disabled{opacity:.4}.nono-pad .memo{background:#efe4d4;border:1px solid #ddcdb8;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:72px;height:62px;display:flex;box-shadow:0 2px #d8c8b2}.nono-pad .memo small{color:#c0453a;font-size:12px;font-weight:800}.nono-pad .memo .tool-icon{background:#d6574a;width:26px;height:22px}.nono-pad .big{background:#efe4d4;border:1px solid #ddcdb8;border-radius:15px;place-items:center;width:86px;height:78px;display:grid;box-shadow:0 2px #d8c8b2}.nono-pad .big .tool-icon.cross:after,.nono-pad .big .tool-icon.cross:before{background:#4e443c;width:6px}.nono-pad .big svg.pencil{color:#4e443c;width:40px;height:40px}.nono-pad .big:active,.nono-pad .memo:active{box-shadow:none;transform:translateY(1px)}.nono-pad button.selected{background:#f7ddd2;box-shadow:0 0 0 3px #e0533d}.nono-pad.joystick button.selected{background:#fbe6c8;box-shadow:0 0 0 3px #f08a24}.nono-pad .dpad-mini{background:#f3ece2;border:1px solid #e0d4c4;border-radius:12px;place-items:center;width:50px;height:50px;display:grid}@media (max-width:380px){.dpad{transform-origin:0;margin-right:-24px;transform:scale(.86)}.nono-pad .big{width:76px;height:70px}.pad-left{min-width:130px}}.nono-play.is-touch{padding-bottom:calc(26px + env(safe-area-inset-bottom))}.nono-pad{padding:8px 4px 0}.pad-left{min-width:0}.dpad{width:198px;height:198px}.dpad button{border-radius:15px;width:70px;height:70px}.dpad button span{width:17px;height:17px}.pad-actions{row-gap:10px}.pad-bubbles{justify-content:flex-end;padding-right:2px}.nono-pad .bubble{height:34px;padding:0 12px;font-size:14px}.nono-pad .bubble.clear:after{left:22px}.pad-mid{justify-content:center;gap:12px;padding-right:0}.nono-pad .round{width:50px;height:50px;font-size:24px}.nono-pad .memo{border-radius:15px;width:84px;height:70px}.nono-pad .memo .tool-icon{width:30px;height:25px}.pad-big{gap:12px}.nono-pad .big{border-radius:17px;width:98px;height:88px}.nono-pad .big .tool-icon.cross{width:38px;height:38px}.nono-pad .big svg.pencil{width:46px;height:46px}@media (max-width:380px){.dpad{transform-origin:0;margin-right:-32px;transform:scale(.84)}.nono-pad .big{width:84px;height:78px}.nono-pad .memo{width:74px}}.dpad{--d:min(198px,45vw);width:var(--d);height:var(--d);margin-right:0;transform:none}.dpad button{width:calc(var(--d) * .355);height:calc(var(--d) * .355)}.dpad .down,.dpad .up{left:calc(var(--d) * .3225)}.dpad .left,.dpad .right{top:calc(var(--d) * .3225)}.nono-pad .big{width:min(98px,23vw);height:min(88px,21vw)}.nono-pad .memo{width:min(84px,20vw);height:min(70px,17vw)}.nono-pad .round{width:min(50px,12.5vw);height:min(50px,12.5vw)}@media (max-width:380px){.dpad{margin-right:0;transform:none}}.pad-mid{gap:8px}.loop-rules{color:#7a6a5c;margin:0 0 12px;font-size:14px;line-height:1.6}.loop-make{flex-wrap:wrap;gap:12px;margin-bottom:8px}.loop-make,.loop-make label{align-items:center;display:flex}.loop-make label{color:#7a6a5c;gap:6px;font-size:14px}.loop-make select{color:inherit;background:#fffdf8;border:1px solid #e2d8ca;border-radius:8px;padding:8px 10px}.loop-progress{margin:18px auto}.loop-thumb{color:#8f7d6b;background:radial-gradient(circle,#b9aa98 1.6px,#0000 1.8px) 0 0/14px 14px,#f3ede4;font-size:18px;font-weight:700}.loop-thumb span{background:#f3ede4;border-radius:6px;padding:2px 6px}.loop-tool-line{background:var(--nono-fill-d);border-radius:2px;width:18px;height:4px;display:inline-block;position:relative}.loop-tool-line:after,.loop-tool-line:before{content:"";background:#5d5148;border-radius:50%;width:7px;height:7px;position:absolute;top:-2px}.loop-tool-line:before{left:-3px}.loop-tool-line:after{right:-3px}.loop-tool-line.lg{width:44px;height:7px}.loop-tool-line.lg:after,.loop-tool-line.lg:before{width:11px;height:11px;top:-2px}.loop-play .nono-history button{font-family:Arial,sans-serif}.nono-pad.loop-pad{grid-template-rows:auto auto;grid-template-columns:auto 1fr 1fr auto;place-items:center;gap:12px;padding:10px 8px 0;display:grid}.loop-pad .big{width:100%;max-width:120px;height:min(88px,21vw)}.loop-pad .round{font-family:Arial,sans-serif}.loop-pad .bubble.clear{grid-column:1/5;justify-self:end}.loop-pad .bubble.clear:after{display:none}.nono-pad.loop-pad{grid-template-columns:auto 1fr auto}.loop-touch-hint{color:#8a7b6c;text-align:center;margin:0;font-size:13px;line-height:1.4}.loop-pad .bubble.clear{grid-column:1/4}.loop-stage{position:relative}.loop-stage .nono-canvas{width:100%;height:100%}.loop-fit{z-index:2;color:#fff;background:#4e443ce0;border-radius:18px;padding:8px 14px;font-size:14px;position:absolute;bottom:10px;right:10px;box-shadow:0 2px 8px #0003}.nono-card.solved>button:first-child{background:#d9ead0;border-color:#6f9d5c;box-shadow:inset 0 0 0 1px #6f9d5c}.nono-card.solved strong{color:#2f5a24}.nono-card.solved small{color:#3f6f33;font-weight:700}.nono-card.solved .nono-thumb{background:#c6dcba}.nono-card.solved>button:first-child:after{content:"✓";color:#fff;text-align:center;background:#4d8a3c;border-radius:50%;width:22px;height:22px;font-size:13px;font-weight:700;line-height:22px;position:absolute;top:6px;left:8px}.nono-card>button:first-child{position:relative}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}