:root{--bg:#f7f3ed;--paper:#fffcf8;--ink:#3b2c32;--muted:#796b6d;--wine:#713f50;--wine-deep:#4b293a;--gold:#d4ad78;--line:#e6dcd3;--serif:"Noto Serif CJK SC","Source Han Serif SC","Songti SC","STSong","SimSun",serif;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;color:var(--ink);background:radial-gradient(ellipse at 100% 0,#efdfd533,transparent 45%),var(--bg);font:14px/1.7 var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{color:inherit;cursor:pointer}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b88391;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #b88391;outline-offset:1px}input,textarea{width:100%;border:1px solid var(--line);background:#fffdfa;border-radius:10px;padding:13px 15px;color:var(--ink)}input::placeholder,textarea::placeholder{color:#948586}textarea{resize:vertical;min-height:120px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.5}form,figure{margin:0}img{max-width:100%;display:block}[hidden]{display:none!important}.icon{width:18px;height:18px;flex-shrink:0;vertical-align:middle}.reverse{transform:rotate(180deg)}.muted{color:var(--muted)}.eyebrow{display:block;color:#8a5a62;font:600 9px/1.6 var(--sans);letter-spacing:2px;margin-bottom:12px}.eyebrow.light{color:#e2c6b0}.skip-link{position:fixed;top:-70px;left:20px;padding:10px 18px;background:var(--wine);color:white;z-index:20;border-radius:8px}.skip-link:focus{top:12px}
.topbar{max-width:1200px;margin:auto;height:96px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0;font:600 21px/1.45 var(--serif);letter-spacing:2px}.brand-mark{width:42px;height:42px;filter:drop-shadow(0 4px 8px #713f5012)}.brand small{display:block;font:500 8px/1.5 var(--sans);letter-spacing:1.6px;color:var(--muted);margin-top:4px}.top-links{display:flex;align-items:center;gap:32px;font-size:12px;color:var(--muted)}.top-links a{display:flex;align-items:center;gap:8px;min-height:44px}.top-links a:hover{color:var(--wine)}.top-links .icon{width:15px;height:15px}.account{display:flex;align-items:center;gap:20px;font-size:11px}.account-name{display:flex;align-items:center;gap:9px;min-height:44px}.account-avatar{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#eadfd8;color:var(--wine);font-size:10px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:none;color:var(--muted);padding:4px 0;min-height:32px;font-size:11px}.text-button .icon{width:13px;height:13px}.text-button:hover{color:var(--wine-deep)}.logout-button{min-height:44px}.private-badge{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);letter-spacing:1px}.private-badge .icon{width:14px;height:14px}
.page{max-width:1200px;margin:0 auto;padding:32px 0 64px;min-height:calc(100vh - 188px)}.footer{max-width:1200px;margin:auto;padding:26px 0 32px;display:flex;align-items:center;gap:16px;border-top:1px solid var(--line);color:var(--muted);font-size:10px;letter-spacing:1px}.footer-brand{font:500 15px var(--serif);letter-spacing:2px;color:var(--wine)}.footer-line{height:1px;width:35px;background:#cbb7ab}.footer-heart{margin-left:auto;color:#b78e83}.footer-heart .icon{width:16px;height:16px}
.hero{min-height:365px;padding:42px 48px 40px;position:relative;overflow:hidden;border-radius:24px;background:radial-gradient(ellipse at 90% 5%,#8d5d6266,transparent 65%),linear-gradient(115deg,#392936 15%,#61404d 65%,#875c62);color:#fff7e9;box-shadow:0 16px 40px #4b293a14}.hero-copy{position:relative;z-index:2;width:65%}.hero .eyebrow{display:flex;align-items:center;gap:10px;font-size:8px;margin-bottom:17px;letter-spacing:2.1px}.tiny-line{width:20px;height:1px;background:var(--gold)}.hero h1{font-size:47px;line-height:1.55;letter-spacing:3px;margin:0 0 15px}.hero h1 span{color:#edc99f}.hero p{font-size:12px;color:#e3cdd0;line-height:1.95;margin:0 0 24px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;padding:10px 19px;border:1px solid transparent;border-radius:9px;font-size:12px;font-weight:500;line-height:1.6;white-space:nowrap;transition:background .2s,box-shadow .2s,transform .2s}.button .icon{width:16px;height:16px}.button.primary{background:var(--wine);color:#fff9f1;box-shadow:0 4px 12px #713f5014}.button.primary:hover{background:var(--wine-deep);box-shadow:0 6px 18px #713f5022}.button.secondary{background:#f6eee8;border-color:#e8d9cf;color:var(--wine)}.button.secondary:hover{background:#eedfd5}.button.subtle{background:transparent;border-color:var(--line);color:var(--muted)}.button.hero-button{background:#f4e8d6;color:#5d3648;padding:10px 17px;gap:13px;min-height:42px;box-shadow:0 8px 22px #1d132126}.hero-button:hover{background:#fff4e3;transform:translateY(-1px)}.hero-signature{display:inline-block;margin-left:20px;color:#e7c8b1;font:italic 15px Georgia,serif}.hero-art{position:absolute;right:18px;top:-28px;width:430px;height:410px;pointer-events:none}.hero-art>img{width:100%;height:100%;object-fit:contain}.hero-art-note{position:absolute;bottom:35px;right:75px;color:#f2d4b6;font:12px var(--serif);letter-spacing:3px;transform:rotate(-5deg)}.hero-edition{position:absolute;right:30px;bottom:18px;font-size:7px;letter-spacing:1.8px;color:#dfbba7}.hero-edition span{margin:0 8px;font-size:10px}
.intro-line{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 4px 22px;color:var(--muted);font-size:11px}.intro-line>span{display:flex;align-items:center;gap:8px}.intro-line .icon{width:13px;height:13px;color:#a5737d}.space-summary{display:flex;align-items:center;gap:10px;font-size:10px}.space-summary strong{font-size:10px;font-weight:500;color:#655357}.space-summary small{font-size:10px;font-weight:400;color:var(--muted)}.space-summary meter{width:65px;height:5px;appearance:none;border:0;border-radius:6px;background:#e5d9d0}.space-summary meter::-webkit-meter-bar{border:0;background:#e5d9d0;border-radius:6px;height:5px}.space-summary meter::-webkit-meter-optimum-value{background:#a16c7a;border-radius:6px}.space-summary meter::-moz-meter-bar{background:#a16c7a}
.composer{background:var(--paper);border:1px solid var(--line);border-radius:15px;box-shadow:0 6px 22px #4b293a04;margin:0 0 43px;scroll-margin-top:20px}.composer summary{padding:21px 25px;display:flex;align-items:center;gap:16px;list-style:none;cursor:pointer}.composer summary::-webkit-details-marker{display:none}.compose-plus{display:grid;place-items:center;width:43px;height:43px;background:#f1e5dd;color:var(--wine);border-radius:12px;flex-shrink:0}.compose-plus .icon{width:19px;height:19px}.composer summary strong{display:block;font-size:14px;font-weight:500}.composer summary small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.compose-label{display:flex;align-items:center;gap:15px;margin-left:auto;font-size:11px;color:var(--wine)}.compose-label .icon{transition:transform .2s}.composer[open] .compose-label .icon{transform:rotate(45deg)}.composer[open] summary{border-bottom:1px solid var(--line)}.compose-form{padding:24px 25px}.title-input{font-family:var(--serif);font-size:19px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:6px 0 14px;margin-bottom:17px}.compose-form textarea{background:#faf6f1;font-size:13px;line-height:1.9;min-height:130px}.upload-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.file-picker{position:relative;overflow:hidden;cursor:pointer}.file-picker input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;padding:0}.file-picker:focus-within{outline:3px solid #b88391;outline-offset:3px}.publish{margin-left:auto}.upload-help{font-size:10px;margin:12px 0 0}.selected-files{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:12px 0 0;overflow-wrap:anywhere}.selected-files li{padding:6px 10px;background:#f2e9e2;border-radius:6px;color:#745f64;font-size:11px}.remove-capture{margin-left:9px;border:0;background:transparent;color:var(--wine);text-decoration:underline;font-size:11px;min-height:28px}progress{width:100%;height:7px;accent-color:var(--wine);margin-top:16px}#upload-message{font-size:12px;color:var(--wine);margin:4px 0 0}
.library-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:23px}.library-heading .eyebrow{font-size:8px;letter-spacing:2px;margin-bottom:6px}.library-heading h2{font-size:30px;letter-spacing:2px;margin:0}.collection-dot{font-family:Georgia,serif;color:#b37c73;margin-left:6px}.collection-count{font:italic 30px Georgia,serif;color:var(--wine)}.collection-count small{font:10px var(--sans);color:var(--muted);margin-left:6px}.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:22px;padding-bottom:19px;border-bottom:1px solid var(--line)}.tabs{display:flex;gap:5px;white-space:nowrap}.tab{display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 16px;border-radius:8px;color:#79696e;font-size:12px;min-height:42px;transition:background .2s,color .2s}.tab .icon{width:14px;height:14px}.tab.active{background:var(--wine);color:#fff5ec;box-shadow:0 3px 9px #713f5012}.tab:not(.active):hover{background:#eee2da}.search{display:flex;align-items:center;width:260px;flex-shrink:0;border:1px solid var(--line);border-radius:8px;background:#fffcf8}.search input{border:0;background:transparent;padding:11px 13px;min-width:0;font-size:11px}.search button{border:0;background:transparent;color:#8b747c;padding:8px 12px;min-height:40px}.search .icon{width:16px;height:16px}.section-caption{display:flex;justify-content:space-between;align-items:center;gap:14px;color:#85757a;font-size:10px;margin:17px 0 19px}.section-caption>span:last-child{display:flex;align-items:center;gap:7px}.sort-arrow{transform:rotate(90deg);width:11px;height:11px}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}.card{background:var(--paper);border:1px solid #e8dfd6;border-radius:16px;overflow:hidden;box-shadow:0 5px 14px #48303805;transition:transform .25s,box-shadow .25s}.card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #4830380c}.card-photos{display:grid;gap:3px;position:relative;aspect-ratio:4/3;margin:9px 9px 0;border-radius:10px;overflow:hidden;background:#e7dace}.card-photos img{width:100%;height:100%;min-height:0;object-fit:cover}.photo-count-2{grid-template-columns:1fr 1fr}.photo-count-3{grid-template-columns:1.3fr 1fr;grid-template-rows:1fr 1fr}.photo-count-3 img:first-child{grid-row:span 2}.photo-badge{position:absolute;left:11px;bottom:11px;display:flex;align-items:center;gap:6px;padding:4px 9px;background:#3d2c2e80;backdrop-filter:blur(8px);border:1px solid #ffffff25;color:white;border-radius:5px;font-size:9px}.photo-badge .icon{width:12px;height:12px}.photo-more{position:absolute;right:11px;bottom:11px;border-radius:5px;background:#3d2c2e90;color:white;padding:4px 8px;font-size:10px}.card-content{padding:20px 21px 14px}.card-meta{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px;margin-bottom:14px}.avatar{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#f0e2da;color:var(--wine);font-size:9px;flex-shrink:0}.card-meta time{margin-left:auto;font-size:9px;color:#89777b;white-space:nowrap}.card h3{font-size:20px;margin:0 0 9px;line-height:1.6;overflow-wrap:anywhere}.post-excerpt{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.95;color:#79666a;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:19px;padding-top:10px;border-top:1px solid #eee5dd}.detail-link{display:flex;align-items:center;gap:7px;min-height:32px;font-size:10px;color:var(--wine)}.detail-link .icon{width:12px;height:12px}.delete-button{font-size:10px;color:#8a787b}.text-card{background:linear-gradient(140deg,#fffbf3,#f5ede5)}.note-marker{display:flex;align-items:center;gap:8px;position:relative;padding:24px 23px 0;color:#a27f7b}.note-marker>.icon{width:14px;height:14px}.note-marker>span:not(.note-quote){font-size:7px;letter-spacing:1.4px}.note-quote{position:absolute;right:19px;top:4px;font:70px Georgia,serif;color:#dfc6b6}.text-card .card-content{padding-top:20px}.text-card .post-excerpt{-webkit-line-clamp:8;line-height:2.1}
.file-row{display:flex;align-items:center;gap:11px;min-width:0;border:1px solid #e9dcd2;background:#f8f1e9;border-radius:9px;padding:12px;margin:13px 0}.file-symbol{display:grid;place-items:center;width:33px;height:38px;flex-shrink:0;border-radius:6px;background:#ecded2;color:var(--wine)}.file-symbol .icon{width:19px;height:19px}.file-name{min-width:0;overflow-wrap:anywhere;font-size:11px}.file-name small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.file-download{width:14px;height:14px;margin-left:auto;color:#987679}.empty-state{text-align:center;padding:55px 20px 60px;border:1px solid var(--line);border-radius:18px;background:radial-gradient(ellipse at center,#fffaf3 10%,#f5eee6);position:relative;overflow:hidden}.empty-envelope{display:grid;place-items:center;width:78px;height:62px;background:#edddd1;border:1px solid #d4bcb0;border-radius:4px;margin:6px auto 28px;transform:rotate(-7deg);box-shadow:6px 7px 0 #f8f0e6,7px 8px 0 #decec1}.empty-envelope .icon{width:23px;height:23px;color:#9d6c73}.empty-state .eyebrow{font-size:8px;margin-bottom:11px}.empty-state h2,.empty-state h1{font-size:25px;letter-spacing:1px;margin:0 0 12px}.empty-state p{font-size:12px;color:var(--muted);margin-bottom:20px}.empty-state .button{margin-top:2px}.notice,.trash-info{display:flex;align-items:center;gap:11px;padding:13px 17px;background:#eee9df;border:1px solid #ddd6c6;color:#696244;border-radius:10px;font-size:12px;margin-bottom:22px}.trash-info{margin-top:0;margin-bottom:35px;background:#f0e5db;border-color:#e3d0c1;color:#8a6556}.form-error{padding:12px 15px;background:#f6e5e2;color:#963f45;border:1px solid #ecd0cc;border-radius:8px;font-size:12px;margin:12px 0}.pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin:34px 0 0;font-size:12px;color:var(--muted)}.full{width:100%}
.auth-page{display:grid;grid-template-columns:1.1fr 1fr;max-width:1120px;padding:0;min-height:0;margin:48px auto 70px;border:1px solid #e3d6ca;border-radius:26px;overflow:hidden;background:var(--paper);box-shadow:0 22px 60px #4b293a0a}.welcome-panel{position:relative;min-height:660px;padding:42px 42px 35px;overflow:hidden;color:#fff5e7;background:radial-gradient(ellipse at 90% 20%,#a2726e55,transparent 70%),linear-gradient(145deg,#352733,#63414e 65%,#9a6a69)}.welcome-copy{position:relative;z-index:2}.welcome-copy .eyebrow{font-size:8px;letter-spacing:2px;margin-bottom:20px}.welcome-panel h1{font-size:41px;letter-spacing:3px;line-height:1.65;margin-bottom:18px}.welcome-panel h1 span{color:#e9c49b}.welcome-panel p{font-size:12px;line-height:2;color:#e4cbd0}.welcome-art{position:absolute;right:0;bottom:48px;width:385px;height:350px}.welcome-art img{width:100%;height:100%;object-fit:contain}.art-caption{display:block;text-align:right;position:absolute;bottom:5px;right:54px;color:#ead3be;font:italic 13px Georgia,serif;transform:rotate(-5deg)}.welcome-bottom{position:absolute;bottom:23px;left:32px;right:32px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#e3bcae;font-size:6px;letter-spacing:1.2px}.welcome-bottom .icon{width:13px;height:13px}.auth-card{padding:48px 50px;position:relative;background:var(--paper);display:flex;flex-direction:column;justify-content:center}.auth-ornament{position:absolute;right:36px;top:25px;font:italic 70px Georgia,serif;color:#e4d2c4;opacity:.65}.auth-card>.eyebrow{font-size:8px;letter-spacing:2px;margin-bottom:15px}.auth-card h2,.auth-card h1{font-size:32px;letter-spacing:1px;line-height:1.65;margin:0 0 15px}.auth-card>p{font-size:12px;margin-bottom:30px}.stack{display:grid;gap:20px}.stack label{display:grid;gap:9px;font-size:11px;color:#715d64}.stack input{font-size:13px;background:#faf6f1}.stack .button{margin-top:9px;min-height:46px}.auth-note{display:flex;justify-content:center;align-items:center;gap:7px;font-size:10px!important;margin:24px 0 0!important;color:var(--muted)}.auth-note .icon{width:12px;height:12px}.standalone{max-width:510px;margin:24px auto;padding:38px 42px;border:1px solid var(--line);border-radius:21px;box-shadow:0 12px 36px #4b293a06}.standalone h1{font-size:26px}.settings-emblem{display:grid;place-items:center;width:45px;height:45px;background:#f0e3d8;color:var(--wine);border-radius:14px;margin-bottom:25px}
.reading-page{max-width:940px;padding-top:35px}.back-link{display:inline-flex;align-items:center;gap:9px;min-height:38px;margin-bottom:22px;font-size:11px;color:var(--wine)}.back-link .icon{width:16px;height:16px}.detail-panel{position:relative;padding:45px 56px;background:var(--paper);border:1px solid var(--line);border-radius:22px;box-shadow:0 12px 40px #4b293a04}.story-heading{position:relative;padding-bottom:26px;border-bottom:1px solid var(--line);margin-bottom:27px}.story-heading>.eyebrow{font-size:8px}.story-heading h1{font-size:35px;margin:20px 40px 23px 0;line-height:1.65;overflow-wrap:anywhere}.story-mark{position:absolute;right:0;top:0;display:grid;place-items:center;width:36px;height:44px;border:1px solid #d9bdb1;border-radius:4px;color:#ac807b;transform:rotate(7deg)}.story-mark .icon{width:18px;height:18px}.story-heading .card-meta{margin:0;gap:9px}.story-heading .card-meta time{margin-left:0;font-size:10px}.meta-divider{width:17px;height:1px;background:#cbb7ab;margin:0 5px}.full-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:2.2;color:#6e5b60;margin-bottom:28px}.detail-photos{display:grid;gap:25px}.detail-photos img{width:100%;max-height:900px;object-fit:contain;border-radius:10px;background:#f2e9de}.detail-photos figcaption{display:flex;justify-content:space-between;gap:15px;overflow-wrap:anywhere;color:var(--muted);padding:12px 0;font-size:10px}.detail-photos figcaption a{display:flex;align-items:center;gap:6px;flex-shrink:0;color:var(--wine)}.detail-photos figcaption .icon{width:13px;height:13px}.story-end{display:flex;align-items:center;justify-content:center;gap:15px;color:#bc9790;margin:35px 0 5px}.story-end>span{width:44px;height:1px;background:#e4d4c9}.story-end .icon{width:14px;height:14px}.detail-actions{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;padding-top:25px;border-top:1px solid var(--line);margin-top:28px}.edit-panel{flex:1}.edit-panel summary{list-style:none;cursor:pointer}.edit-panel summary::-webkit-details-marker{display:none}.edit-panel .stack{margin-top:23px}.tag{padding:3px 8px;border-radius:5px;background:#efe0d3;color:#886150;font-size:10px}.error-state{max-width:800px;margin:38px auto}
.camera-open{overflow:hidden}.camera-dialog{width:min(640px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:25px;border:1px solid #e4d1c6;border-radius:21px;background:var(--paper);color:var(--ink);box-shadow:0 25px 100px #2b14245c;overflow:auto}.camera-dialog::backdrop{background:#2e1e2cb8;backdrop-filter:blur(5px)}.camera-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:18px}.camera-heading h2{font-size:23px;margin:0}.camera-heading .eyebrow{font-size:8px;margin-bottom:6px}.camera-close{display:grid;place-items:center;border:0;width:38px;height:38px;border-radius:50%;background:#f0e3da;color:var(--wine);flex-shrink:0}.camera-close .icon{width:18px;height:18px}.camera-select-label{display:flex;align-items:center;gap:12px;font-size:12px;margin-bottom:14px}.camera-select-label select{flex:1;min-width:0;padding:10px 11px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink)}.camera-stage{position:relative;display:grid;place-items:center;min-height:210px;aspect-ratio:4/3;background:#261f28;border-radius:13px;overflow:hidden}.camera-stage video,.camera-stage canvas{width:100%;height:100%;max-height:55dvh;object-fit:contain;grid-area:1/1}.camera-stage video.camera-mirrored{transform:scaleX(-1)}#camera-placeholder{position:absolute;color:#bca3a4;pointer-events:none}#camera-placeholder .icon{width:46px;height:46px;stroke-width:1}.camera-status{font-size:12px;color:var(--muted);min-height:22px;margin:15px 0}.camera-error{color:#a24450}.camera-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}.camera-actions .button{min-width:110px}.camera-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:21px;padding-top:16px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.camera-footer .text-button{color:var(--wine);font-size:11px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1450px){.hero{min-height:380px;padding-top:44px}.hero h1{font-size:50px}.hero-art{width:460px;height:440px;top:-35px}}
@media(max-width:1280px){.topbar,.page,.footer{margin-left:36px;margin-right:36px}.auth-page{margin:36px auto 60px;width:calc(100% - 72px)}.reading-page{margin-left:auto;margin-right:auto;width:calc(100% - 72px)}}
@media(max-width:1050px){.hero-art{right:-40px;width:405px}.hero h1{font-size:42px}.hero-signature{display:block;margin:16px 0 0;font-size:13px}.hero{padding:34px 36px}.hero-art-note{right:70px;bottom:45px;font-size:10px}.hero-edition{font-size:6px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.top-links{gap:22px}.auth-card{padding:40px 34px}.auth-card h2{font-size:29px}.welcome-panel{padding:38px 30px;min-height:630px}.welcome-panel h1{font-size:35px}.welcome-art{right:-25px;width:350px;height:330px}.search{width:230px}.tab{padding:9px 12px}.detail-panel{padding:37px 40px}}
@media(max-width:780px){.topbar,.page,.footer{margin-left:24px;margin-right:24px}.topbar{height:85px}.top-links{display:none}.hero{min-height:350px;padding:32px}.hero-copy{width:75%}.hero-art{right:-83px;top:13px;width:330px;height:330px;opacity:.6}.hero-art-note{display:none}.hero h1{font-size:38px}.hero .eyebrow{font-size:7px;letter-spacing:1.5px}.hero-signature{font-size:12px}.library-toolbar{flex-wrap:wrap;gap:14px}.search{width:100%}.tabs{width:100%;gap:7px}.tab{flex:1;padding:9px 10px}.auth-page{width:calc(100% - 48px);margin:28px 24px 50px;grid-template-columns:1fr 1fr}.welcome-panel{padding:34px 24px;min-height:600px}.welcome-panel h1{font-size:30px}.welcome-panel p{font-size:11px}.welcome-art{right:-45px;bottom:65px;width:310px;height:300px}.welcome-bottom{left:22px;right:22px}.welcome-bottom span:last-child{display:none}.auth-card{padding:36px 25px}.auth-card h2{font-size:25px}.auth-ornament{font-size:56px;right:22px;top:20px}.reading-page{width:calc(100% - 48px);margin-left:24px;margin-right:24px}.standalone{margin:20px auto;padding:34px}.intro-line{font-size:10px}.space-summary meter{display:none}}
@media(max-width:600px){
 .topbar{height:76px;margin:0 20px;gap:12px}.brand{font-size:18px;letter-spacing:2px;gap:10px}.brand-mark{width:36px;height:36px}.brand small{font-size:6px;letter-spacing:1.1px;margin-top:3px}.account{gap:12px}.account-name{gap:6px}.account-name>span:last-child{font-size:10px}.account-avatar{width:25px;height:25px;font-size:9px}.logout-button>span{display:none}.logout-button .icon{width:16px;height:16px}.private-badge{font-size:9px;letter-spacing:0;gap:5px}.private-badge .icon{width:11px;height:11px}
 .page{margin:0 17px;padding:23px 0 40px}.hero{border-radius:18px;min-height:318px;padding:27px 25px 30px}.hero-copy{width:100%}.hero h1{font-size:34px;letter-spacing:2px;line-height:1.6;margin-bottom:12px}.hero .eyebrow{font-size:6px;letter-spacing:1.3px;gap:7px;margin-bottom:14px}.tiny-line{width:13px}.hero p{font-size:11px;line-height:1.9;margin-bottom:20px}.hero-art{right:-83px;top:52px;width:245px;height:260px;opacity:.28}.hero-signature{display:none}.hero-edition{font-size:5px;letter-spacing:1px;right:18px;bottom:12px}.hero-edition span{margin:0 5px}.button.hero-button{min-height:40px;font-size:11px;padding:10px 13px;gap:10px}.hero-button .icon{width:14px;height:14px}.intro-line{gap:8px;padding:15px 2px 20px;font-size:9px}.intro-line>span{gap:5px}.intro-line .icon{width:11px;height:11px}.space-summary{gap:5px}.space-summary>span{display:none}.space-summary strong,.space-summary small{font-size:9px}
 .composer{margin-bottom:31px;border-radius:12px}.composer summary{padding:18px 15px;gap:11px}.compose-plus{width:36px;height:36px;border-radius:10px}.compose-plus .icon{width:16px;height:16px}.composer summary strong{font-size:12px}.composer summary small{font-size:9px;margin-top:4px}.compose-label{font-size:0;gap:0}.compose-label .icon{width:17px;height:17px}.compose-form{padding:18px 15px}.title-input{font-size:17px}.compose-form textarea{font-size:16px;min-height:130px}.upload-actions{gap:8px}.button{min-height:44px;font-size:12px;padding:10px 14px}.button .icon{width:16px;height:16px}.publish{margin-left:0;width:100%;margin-top:3px}.upload-help{font-size:9px;line-height:1.8}
 .library-heading{margin-bottom:17px}.library-heading h2{font-size:26px;letter-spacing:2px}.library-heading .eyebrow{font-size:6px;letter-spacing:1.6px;margin-bottom:5px}.collection-count{font-size:27px}.collection-count small{font-size:9px;margin-left:3px}.library-toolbar{gap:13px;padding-bottom:15px}.tabs{overflow-x:auto;gap:3px;padding-bottom:2px}.tab{min-height:40px;padding:8px 9px;font-size:11px;gap:5px;border-radius:7px;flex-shrink:0}.tab .icon{width:12px;height:12px}.search input{font-size:16px;padding:10px 12px}.search input::placeholder{font-size:11px}.search button{min-height:44px}.section-caption{font-size:9px;margin:14px 0 17px;gap:8px}.section-caption .icon{width:9px;height:9px}
 .card-grid{grid-template-columns:1fr;gap:20px}.card{border-radius:15px}.card-photos{margin:8px 8px 0;aspect-ratio:4/3}.card-content{padding:20px 21px 13px}.card h3{font-size:22px}.card-meta{font-size:10px}.card-meta time{font-size:9px}.post-excerpt{font-size:12px}.card-bottom{margin-top:17px;padding-top:9px}.detail-link,.delete-button{font-size:11px;min-height:37px}.file-row{padding:13px}.file-name{font-size:12px}.file-name small{font-size:10px}.note-marker{padding-top:25px}.text-card .post-excerpt{font-size:13px;line-height:2}
 .empty-state{padding:40px 20px 43px;border-radius:14px}.empty-envelope{width:65px;height:52px;margin-bottom:27px}.empty-state .eyebrow{font-size:6px;letter-spacing:1.4px}.empty-state h2,.empty-state h1{font-size:21px;letter-spacing:0}.empty-state p{font-size:11px}.empty-state .button{font-size:11px}.footer{margin:0 20px;padding:22px 0 27px;gap:10px;font-size:8px;letter-spacing:.5px}.footer-brand{font-size:13px;letter-spacing:1px}.footer-line{width:17px}.footer-heart .icon{width:12px;height:12px}
 .auth-page{display:block;width:auto;margin:22px 17px 43px;padding:0;border-radius:18px}.welcome-panel{min-height:222px;padding:25px 25px 33px}.welcome-copy .eyebrow{font-size:6px;letter-spacing:1.5px;margin-bottom:11px}.welcome-panel h1{font-size:29px;line-height:1.6;letter-spacing:2px;margin-bottom:11px}.welcome-panel p{font-size:10px;line-height:1.9;margin:0}.welcome-art{width:210px;height:210px;right:-30px;bottom:10px;opacity:.45}.art-caption{display:none}.welcome-bottom{bottom:13px;left:25px;right:25px;font-size:5px;letter-spacing:1px}.welcome-bottom .icon{width:11px;height:11px}.welcome-bottom span:last-child{display:block}.auth-card{padding:30px 27px}.auth-card>.eyebrow{font-size:7px;letter-spacing:1.7px;margin-bottom:10px}.auth-card h2{font-size:26px;line-height:1.55;margin-bottom:12px}.auth-card h2 br{display:none}.auth-card>p{font-size:11px;margin-bottom:22px}.auth-ornament{top:20px;right:22px;font-size:52px;opacity:.45}.stack{gap:17px}.stack label{font-size:11px;gap:8px}.stack input{font-size:16px;padding:12px 13px}.stack .button{margin-top:6px;min-height:45px}.auth-note{font-size:9px!important;margin-top:20px!important;gap:5px}.standalone{margin:12px auto;max-width:450px;padding:28px 23px}.standalone h1{font-size:25px;line-height:1.6}.settings-emblem{margin-bottom:19px}
 .reading-page{width:auto;margin:0 17px;padding-top:20px}.back-link{font-size:10px;margin-bottom:16px}.detail-panel{padding:27px 20px;border-radius:15px}.story-heading{padding-bottom:21px;margin-bottom:23px}.story-heading>.eyebrow{font-size:7px;letter-spacing:1.3px}.story-heading h1{font-size:27px;margin:19px 26px 19px 0}.story-heading .card-meta{font-size:10px;gap:6px;flex-wrap:wrap}.story-heading .card-meta time{font-size:9px}.story-mark{width:29px;height:36px}.story-mark .icon{width:15px;height:15px}.meta-divider{width:10px;margin:0 2px}.full-text{font-size:14px;line-height:2.1}.detail-photos{gap:19px}.detail-photos figcaption{flex-direction:column;gap:8px;font-size:10px}.detail-photos figcaption a{min-height:30px}.detail-photos img{border-radius:7px}.detail-actions{padding-top:19px;gap:9px}.detail-actions .button{font-size:11px;padding:10px 12px}.edit-panel textarea{font-size:16px}
 .camera-dialog{padding:19px;border-radius:17px}.camera-heading h2{font-size:21px}.camera-heading .eyebrow{font-size:7px;letter-spacing:1.6px}.camera-stage{min-height:190px;border-radius:10px}.camera-status{font-size:11px;line-height:1.9}.camera-footer{display:grid;gap:8px}.camera-footer .text-button{font-size:11px;justify-content:flex-start}.camera-actions .button{min-width:95px}.camera-select-label select{font-size:16px}
}
@media(max-width:360px){.brand{font-size:16px}.brand small{font-size:5px}.account-name>span:last-child{display:none}.private-badge{font-size:8px}.hero h1{font-size:30px}.hero{padding-left:21px}.tab{padding:8px 7px;font-size:10px;gap:4px}.tab .icon{width:11px;height:11px}.composer summary strong{font-size:11px}.intro-line>span{font-size:8px}.section-caption>span:last-child{font-size:8px}.footer-line{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

.moment-options{padding:14px 16px;background:#f6eee8;border-radius:10px;font-size:12px;color:var(--muted)}.moment-options label{display:flex;align-items:center;gap:8px;color:var(--wine);margin-top:8px;min-height:32px}.moment-options input[type=checkbox]{width:18px;height:18px;padding:0;accent-color:var(--wine)}.moment-options p{margin:6px 0 0;font-size:11px;line-height:1.8}.record-location{margin:18px 0;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.location-label{display:block;font-size:10px;letter-spacing:1px;color:var(--wine);margin-bottom:4px}.location-address{display:block}.record-location small{display:block;font-size:10px;margin-top:4px}.record-location a{text-decoration:underline;text-underline-offset:2px}.card .location-address{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.story-moment{padding:16px 18px;margin-bottom:26px;background:#f6eee8;border-radius:10px;font-size:12px;color:var(--muted)}.story-moment>p{margin:0}.story-moment .record-location{margin:12px 0 0}.story-moment .location-address{font-size:13px}

.recovery-code { font-family: monospace; font-size: 1.15rem; overflow-wrap: anywhere; padding: 1rem; background: #f5eee8; border-radius: 12px; user-select: all; }
#upload-details { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.footer { flex-wrap: wrap; }
.footer .icp-record { flex-basis: 100%; color: var(--muted); font-size: 11px; letter-spacing: 0; }
.footer .icp-record:hover { color: var(--wine); text-decoration: underline; }
.photo-save-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; align-items: center; }
.photo-save-actions .button { min-height: 38px; padding: 8px 12px; font-size: 11px; }
.photo-save-status { flex-basis: 100%; color: var(--muted); font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
.photo-save-status:empty { display: none; }
.selected-files li { overflow-wrap: anywhere; }
