@charset "UTF-8";
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#233d38;background:#f4f6f3;font-synthesis:none;--green:#0b5d52;--muted:#71817a;--border:#dce5de;--gold:#f7dfa9;--radius:22px}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button,a{ -webkit-tap-highlight-color:transparent }button:focus-visible,a:focus-visible{outline:3px solid #b99852;outline-offset:4px}button{border:0}input,textarea,select{border:1px solid var(--border);border-radius:12px;padding:13px 14px;background:#fff;color:#233d38;width:100%;outline:none;font-size:16px}input:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #0b5d5210}textarea{min-height:100px;resize:vertical}input[type=checkbox]{width:19px;height:19px;accent-color:var(--green)}input[type=file]{font-size:14px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(30px,4vw,52px);line-height:1.22;letter-spacing:-.035em}h2{font-size:24px;letter-spacing:-.02em}h3{font-size:18px;line-height:1.5}p{line-height:1.8}small{font-size:13px}img{max-width:100%;display:block}.topbar{height:90px;padding:0 max(24px,calc((100vw - 1200px)/2));display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--border);background:#ffffffeb}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand-mark{height:44px;width:44px;display:grid;place-items:center;background:var(--green);color:var(--gold);border-radius:14px;font-size:23px;font-family:serif}.brand b{font-size:20px}.brand small{display:block;font-size:10px;letter-spacing:.16em;color:var(--muted);margin-top:3px}nav{display:flex;align-items:center;gap:12px;font-size:14px}.nav-link{color:var(--muted);padding:10px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:12px;padding:12px 19px;background:var(--green);color:white;font-size:14px;font-weight:600;min-height:44px;line-height:1.4}.button:hover{filter:brightness(.95)}.button.secondary{background:#fff;color:var(--green);border-color:var(--border)}.button.gold{background:var(--gold);color:#24483f}.button.danger{background:#fff0ee;color:#a84439;border-color:#f2d9d3}.button.small{padding:8px 12px;min-height:36px;font-size:13px}.icon-button{width:40px;height:40px;border-radius:50%;background:#edf2ee;color:var(--green);font-size:24px;display:inline-grid;place-items:center}.text-button{background:none;color:var(--green);padding:10px 0;font-size:14px;text-decoration:underline;text-underline-offset:4px}#app{max-width:1200px;margin:auto;padding:38px 24px 70px;min-height:calc(100svh - 177px)}.hero{background:#0b5d52;color:#fff;border-radius:28px;padding:42px 44px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:35px;margin-bottom:36px;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:430px;height:430px;border:1px solid #ffffff16;border-radius:50%;right:-70px;top:-230px;pointer-events:none}.eyebrow{font-size:12px;letter-spacing:.15em;font-weight:650;color:#a7c9bd;margin-bottom:18px;text-transform:uppercase}.hero h1{margin:0 0 15px}.hero h1 em{font-style:normal;color:var(--gold)}.hero p{color:#c5dbd2;margin:0;font-size:16px;max-width:640px}.hero .actions{margin-top:24px}.hero-note{border-left:1px solid #ffffff35;padding:12px 0 12px 30px;min-width:160px}.hero-note b{display:block;color:var(--gold);font-size:42px;margin-bottom:10px;font-family:Georgia,serif;font-weight:400}.hero-note span{font-size:14px;color:#d2e4dc}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:28px 0 22px}.heading h1,.heading h2{margin:0}.heading p{margin:8px 0 0;color:var(--muted);font-size:14px}.heading .eyebrow{color:var(--green);margin-bottom:9px}.search{display:flex;gap:9px;max-width:450px}.search input{background:#fff;min-width:120px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.card{border:1px solid var(--border);border-radius:var(--radius);background:#fff;overflow:hidden}.card-link{display:block}.card-link:hover .cover>img{transform:scale(1.035)}.card-info{padding:20px}.card-info h3{margin:0 0 7px;overflow-wrap:anywhere}.meta{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:8px;flex-wrap:wrap}.card-controls{display:flex;gap:8px;padding:0 20px 20px;flex-wrap:wrap}.cover{--c1:#103f38;--c2:#40745a;--accent:#f5dfb1;background:linear-gradient(145deg,var(--c1),var(--c2));color:#fff;position:relative;overflow:hidden;min-height:230px;display:flex;flex-direction:column;justify-content:space-between;padding:26px;isolation:isolate}.cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .4s}.cover.has-image:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,.12) 65%,rgba(0,0,0,.35));z-index:-1}.cover:not(.has-image):before{content:"";position:absolute;inset:18px;border:1px solid #ffffff20;z-index:-1}.cover-kicker{font-size:11px;letter-spacing:.2em;color:var(--accent)}.cover-title{font-family:Georgia,"Songti SC",SimSun,serif;font-size:30px;font-weight:500;line-height:1.35;margin:32px 0 8px;overflow-wrap:anywhere}.cover-caption{display:flex;justify-content:space-between;gap:10px;align-items:end;font-size:12px;color:#ffffffe0}.cover-caption span:first-child{overflow-wrap:anywhere}.cover-arrow{border:1px solid #ffffff70;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-size:18px;flex-shrink:0}.theme-forest{--c1:#103f38;--c2:#40745a;--accent:#f5dfb1}.theme-ink{--c1:#111817;--c2:#3f4541;--accent:#d8d4c9}.theme-wine{--c1:#532330;--c2:#8c4b51;--accent:#f2d2ab}.theme-ocean{--c1:#123e57;--c2:#377e91;--accent:#d9e8ec}.theme-sand{--c1:#6b5140;--c2:#b79567;--accent:#fff1d4}.theme-rose{--c1:#684355;--c2:#b48088;--accent:#ffe0d4}.theme-jade{--c1:#1b554e;--c2:#779d7c;--accent:#e8f0d8}.theme-night{--c1:#1d234e;--c2:#595584;--accent:#e3d4fa}.theme-amber{--c1:#773b20;--c2:#c58b3b;--accent:#ffe3b2}.theme-violet{--c1:#413257;--c2:#8d6e9f;--accent:#ebd5f6}.theme-paper{--c1:#4c5147;--c2:#8a927e;--accent:#fff4dd}.theme-slate{--c1:#273e49;--c2:#708c96;--accent:#d9eef2}.empty{border:1px dashed #c7d9ce;background:#eef3ee;border-radius:22px;text-align:center;padding:58px 25px;color:var(--muted);grid-column:1/-1}.empty .empty-mark{font-size:32px;color:var(--green);margin-bottom:18px}.empty h3{color:#37564a}.empty p{font-size:14px;max-width:420px;margin:0 auto 20px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pill{font-size:12px;color:var(--green);background:#e9f3ec;padding:5px 10px;border-radius:100px}.pill.draft{background:#f3eee3;color:#987a39}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:30px}.stat{padding:22px 25px;border:1px solid var(--border);border-radius:18px;background:#fff}.stat span{color:var(--muted);font-size:14px}.stat b{display:block;font-size:29px;margin-top:12px}.panel{background:white;border:1px solid var(--border);border-radius:var(--radius);padding:28px}.edit-layout{display:grid;grid-template-columns:340px 1fr;gap:24px;align-items:start}.edit-layout>aside{position:sticky;top:20px}.field{display:block;margin:0 0 18px}.field>span{font-size:14px;font-weight:600;display:block;margin-bottom:9px}.field small{color:var(--muted);display:block;line-height:1.7;margin-top:7px}.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.three{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.check{display:flex;align-items:center;gap:10px;margin:16px 0;font-size:14px}.themes{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:8px 0 18px}.theme-option{border-radius:9px;height:52px;background:linear-gradient(145deg,var(--c1),var(--c2));color:#fff;position:relative;font-size:12px;border:3px solid transparent;padding:3px}.theme-option.active{outline:2px solid var(--green);outline-offset:2px;border-color:#fff}.upload-zone{background:#f0f5f1;border:1px dashed #b1c9ba;border-radius:17px;padding:28px;text-align:center;position:relative}.upload-zone h3{margin:10px 0}.upload-zone p{font-size:13px;color:var(--muted);margin-bottom:18px}.upload-zone input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.upload-zone:focus-within{outline:3px solid var(--green)}.upload-zone.uploading input{pointer-events:none}.upload-progress{margin:18px 0;font-size:14px;color:var(--green)}progress{width:100%;height:10px;accent-color:var(--green)}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:20px}.photo-tile{border-radius:12px;overflow:hidden;border:1px solid var(--border);background:white;position:relative}.photo-tile img{width:100%;aspect-ratio:1;object-fit:cover}.photo-tile .photo-tools{padding:9px;display:flex;gap:6px;flex-wrap:wrap}.photo-tools button{font-size:11px;padding:6px;background:#eef3ef;border-radius:6px;color:var(--green)}.photo-tools button.selected{background:var(--green);color:white}.photo-tools button.delete{color:#a94a41}.photo-tile .file-name{font-size:11px;padding:0 9px 9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notice{background:#f5f2e7;color:#786944;font-size:13px;line-height:1.8;padding:14px 17px;border-radius:12px;margin:18px 0}.error{background:#fff0ed;color:#b03e30;border-radius:10px;font-size:14px;padding:12px;margin:14px 0;white-space:pre-line}.error:empty{display:none}.loading{text-align:center;color:var(--muted);padding:100px 20px}.back{display:inline-block;color:var(--muted);font-size:14px;margin-bottom:20px}.album-gate{min-height:660px;max-width:900px;margin:0 auto;border-radius:28px;justify-content:flex-end;padding:60px;aspect-ratio:4/3}.album-gate .cover-title{font-size:clamp(38px,6vw,68px);margin:20px 0}.album-gate p{max-width:550px;color:#ffffffda;margin-bottom:30px;white-space:pre-wrap;overflow-wrap:anywhere}.album-gate .cover-kicker{font-size:13px}.album-gate .gate-brand{position:absolute;top:40px;left:60px;font-size:14px}.album-gate .gate-footer{margin-top:26px;font-size:13px;color:#ffffffb0}.public-album .heading{align-items:start}.album-description{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.gallery{columns:3;column-gap:20px;margin:28px 0}.gallery figure{break-inside:avoid;margin:0 0 20px;background:#fff;border-radius:15px;overflow:hidden;border:1px solid var(--border)}.gallery figure>button{padding:0;width:100%;background:none;display:block}.gallery img{width:100%;height:auto}.gallery figcaption{padding:12px 14px;display:flex;gap:12px;justify-content:space-between;font-size:12px;color:var(--muted)}.gallery figcaption span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gallery figcaption a{color:var(--green);flex-shrink:0}.store-region{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:14px;margin-bottom:15px}.contact{font-size:14px!important;white-space:pre-wrap;overflow-wrap:anywhere}.footer{border-top:1px solid var(--border);padding:25px;display:flex;justify-content:space-between;gap:15px;max-width:1200px;margin:auto;font-size:12px;color:var(--muted)}.footer>a{color:var(--green);font-weight:600}dialog{border:0;border-radius:24px;padding:36px;width:min(520px,calc(100% - 28px));max-height:90svh;color:#233d38;box-shadow:0 20px 90px #123b3540}dialog::backdrop{background:#102e276e;backdrop-filter:blur(4px)}.modal-close{position:absolute;top:15px;right:15px;background:#f0f3ef;font-size:23px}.modal-title{font-size:28px;margin:10px 0 12px}.modal-sub{font-size:14px;color:var(--muted);margin-bottom:26px}.form-tabs{display:flex;border-bottom:1px solid var(--border);margin:0 0 26px}.form-tabs button{flex:1;background:none;padding:15px;color:var(--muted);border-bottom:2px solid transparent}.form-tabs button.active{color:var(--green);border-color:var(--green);font-weight:650}.full{width:100%}.qr-preview{text-align:center;background:#f4f6f2;border:1px solid var(--border);border-radius:18px;padding:24px;margin:18px 0}.qr-preview svg{display:block;width:220px;max-width:100%;height:auto;margin:auto;background:#fff;padding:10px}.qr-preview h3{margin:17px 0 5px;overflow-wrap:anywhere}.qr-preview p{font-size:12px;color:var(--muted);margin:0}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%) translateY(20px);opacity:0;pointer-events:none;background:#183d34;color:white;padding:14px 22px;border-radius:13px;font-size:14px;z-index:50;max-width:90vw;transition:.2s;text-align:center}#toast.visible{transform:translateX(-50%);opacity:1}#viewer{background:#0c1412;color:#fff;width:100vw;height:100svh;max-width:none;max-height:none;border-radius:0;padding:50px 60px 75px;overflow:hidden}#viewer[open]{display:flex;align-items:center;justify-content:center}#viewer-image{max-height:calc(100svh - 150px);max-width:100%;object-fit:contain}.viewer-close,.viewer-prev,.viewer-next{position:absolute;color:white;background:#ffffff25;z-index:2}.viewer-close{right:20px;top:18px}.viewer-prev{left:14px;top:48%}.viewer-next{right:14px;top:48%}#viewer-caption{position:absolute;bottom:20px;left:20px;right:20px;text-align:center;font-size:14px}#viewer-caption a{display:inline-block;background:#fff;color:var(--green);border-radius:9px;padding:9px 15px;margin-left:14px}.table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse;font-size:14px}.admin-table th,.admin-table td{text-align:left;padding:15px 12px;border-bottom:1px solid var(--border);min-width:90px}.admin-table th{color:var(--muted);font-weight:500}.admin-table small{display:block;color:var(--muted);margin-top:6px}.pagination{justify-content:center;margin-top:30px}.save-hint{font-size:12px;color:var(--muted);line-height:1.7}.info-row{display:flex;justify-content:space-between;gap:20px;margin:14px 0;font-size:14px}.info-row span{color:var(--muted)}
@media(max-width:1000px){.grid{grid-template-columns:repeat(2,1fr)}.edit-layout{grid-template-columns:300px 1fr}.photo-grid{grid-template-columns:repeat(2,1fr)}.hero-note{display:none}.hero{grid-template-columns:1fr}.gallery{columns:2}}
@media(max-width:650px){.topbar{height:76px;padding:0 16px}.brand{gap:8px}.brand b{font-size:17px}.brand-mark{width:36px;height:36px;font-size:20px;border-radius:11px}.brand small{font-size:8px}nav{gap:5px}nav .nav-link{padding:8px;font-size:12px}nav .button{font-size:12px;padding:9px 12px;min-height:38px}.desktop-nav{display:none}#app{padding:22px 16px 45px}.hero{padding:30px 25px;border-radius:22px;margin-bottom:27px;gap:15px}.hero h1{font-size:33px}.hero p{font-size:14px}.hero .eyebrow{font-size:10px}.heading{align-items:flex-start;flex-wrap:wrap;gap:14px;margin-top:22px}.heading h2{font-size:22px}.heading h1{font-size:29px}.search{width:100%;max-width:none}.grid{gap:13px}.cover{min-height:200px;padding:18px}.cover:not(.has-image):before{inset:10px}.cover-title{font-size:24px;margin-top:28px}.cover-kicker{font-size:9px;letter-spacing:.12em}.cover-caption{font-size:10px}.cover-arrow{height:24px;width:24px;font-size:14px}.card{border-radius:15px}.card-info{padding:14px}.card-info h3{font-size:16px}.card-info .meta{font-size:11px}.card-controls{padding:0 12px 13px;gap:5px}.card-controls .button{font-size:11px;padding:7px 9px;min-height:32px}.stats{gap:9px;margin-bottom:22px}.stat{padding:16px 12px;border-radius:14px}.stat span{font-size:11px}.stat b{font-size:22px}.edit-layout{display:flex;flex-direction:column}.edit-layout>aside{position:static;width:100%}.edit-layout>section{width:100%}.panel{padding:20px;border-radius:18px}.themes{grid-template-columns:repeat(6,1fr)}.theme-option{font-size:10px}.photo-grid{grid-template-columns:repeat(3,1fr);gap:8px}.photo-tools button{font-size:10px;padding:5px}.photo-tile .photo-tools{padding:6px;gap:4px}.album-gate{min-height:calc(100svh - 154px);padding:32px 27px;aspect-ratio:auto;border-radius:22px}.album-gate .gate-brand{top:28px;left:27px}.album-gate .cover-title{font-size:43px}.album-gate p{font-size:15px}.album-gate .gate-footer{font-size:11px}.gallery{column-gap:12px;margin-top:20px}.gallery figure{margin-bottom:12px}.gallery figcaption{font-size:11px;padding:10px}.footer{font-size:11px;padding:22px 16px}.three{gap:8px}.three input{padding:12px 9px}.two{gap:10px}dialog{padding:29px 23px}.modal-title{font-size:25px}.empty{padding:38px 20px}#viewer{padding:55px 40px 85px}.button{padding:11px 15px}.public-album .actions{gap:7px}.public-album .actions .button{font-size:12px}.photo-grid.public{grid-template-columns:repeat(2,1fr)}}
@media(max-width:360px){.grid{grid-template-columns:1fr}.three{grid-template-columns:1fr}.photo-grid{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.mobile-tabs{display:none}.welcome-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:60px;align-items:center;padding:35px 0}.welcome-intro>.eyebrow{color:var(--green)}.welcome-intro h1{font-size:64px;color:var(--green);font-family:Georgia,"Songti SC",SimSun,serif;font-weight:500}.welcome-intro>p{font-size:17px;color:var(--muted)}.welcome-steps{display:flex;gap:22px;margin:28px 0;font-size:14px}.welcome-steps b{color:#ae9258;font-size:22px;margin-right:8px;font-family:Georgia,serif}.cover-samples{display:flex;gap:12px;margin-top:30px}.sample{flex:1;min-width:0;aspect-ratio:3/4;padding:16px 12px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(140deg,var(--c1),var(--c2));border-radius:9px;color:#fff;box-shadow:0 9px 18px #16342a14}.sample small{font-size:8px;letter-spacing:.1em}.sample b{font-size:24px;font-family:serif;font-weight:400;color:var(--accent)}.sample span{font-size:10px;opacity:.8}.welcome-login{padding:38px}.welcome-login>.eyebrow{color:var(--green)}
@media(max-width:650px){body{padding-bottom:78px}.mobile-tabs:not([hidden]){position:fixed;bottom:0;left:0;right:0;height:74px;padding:6px 12px max(6px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-around;background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid var(--border);z-index:8}.mobile-tabs>a,.mobile-tabs>button{width:30%;padding:0;display:flex;flex-direction:column;align-items:center;gap:3px;background:none;color:var(--green);font-size:11px}.mobile-tabs span{font-size:23px;height:30px;line-height:30px}.mobile-tabs .tab-plus{background:var(--green);color:#fff;width:35px;border-radius:12px}.welcome-layout{display:flex;flex-direction:column;gap:25px;padding:8px 0}.welcome-intro{width:100%}.welcome-intro h1{font-size:40px;line-height:1.2;margin-bottom:12px}.welcome-intro h1 br{display:none}.welcome-intro>p{font-size:14px;margin-bottom:10px}.welcome-intro .eyebrow{font-size:10px;margin-bottom:12px}.welcome-steps{margin:17px 0;gap:15px;font-size:12px}.welcome-steps b{font-size:18px;margin-right:4px}.welcome-intro .notice{font-size:12px;margin-bottom:0}.cover-samples{display:none}.welcome-login{padding:24px;width:100%}.welcome-login .eyebrow{display:none}.welcome-login h2{font-size:24px}.edit-layout>aside{order:2}.edit-layout>section{order:1}.edit-layout .cover{min-height:260px}#toast{bottom:95px}}
.ad-banner{display:flex;align-items:center;gap:20px;background:#fff9ec;border:1px solid #e9ddc0;border-radius:16px;padding:16px;margin:24px 0;color:#4c493c}.ad-banner>img{width:170px;height:100px;object-fit:cover;border-radius:9px}.ad-banner>div{flex:1;min-width:0}.ad-banner h3{margin:5px 0;font-size:17px;overflow-wrap:anywhere}.ad-banner p{font-size:13px;margin:0;color:#837962;overflow-wrap:anywhere}.ad-label{border:1px solid #bfb79f;border-radius:4px;padding:1px 5px;font-size:10px;color:#8f8775}.ad-arrow{font-size:24px}@media(max-width:650px){.ad-banner{gap:12px;padding:12px}.ad-banner>img{width:88px;height:80px}.ad-banner h3{font-size:14px}.ad-banner p{font-size:12px}.ad-arrow{font-size:20px}}
.ad-screen{max-width:780px;margin:auto;background:#fff;border:1px solid var(--border);border-radius:24px;padding:24px;min-height:60svh}.ad-screen-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.ad-screen-content{border-radius:15px;overflow:hidden;background:#0b5d52;color:white}.ad-screen-content>a{display:block}.ad-screen-content img{width:100%;max-height:55svh;object-fit:contain;background:#f2f2ed}.ad-screen-copy{padding:38px;text-align:center}.ad-screen-copy h1{font-size:34px;overflow-wrap:anywhere}.ad-screen-copy p{color:#d4e1d8;overflow-wrap:anywhere}.ad-screen-note{text-align:center;font-size:13px;color:var(--muted);margin:20px 0 0}@media(max-width:650px){.ad-screen{padding:16px;border-radius:18px}.ad-screen-copy{padding:27px 20px}.ad-screen-copy h1{font-size:26px}.ad-screen-head .button{font-size:12px}}
.author-topbar{height:auto;min-height:90px;padding-top:15px;padding-bottom:15px}.author-identity{display:flex;align-items:center;gap:12px;min-width:0}.author-avatar{width:46px;height:46px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:var(--green);color:var(--gold);font-size:23px;font-family:serif}.author-identity b{display:block;font-size:19px;overflow-wrap:anywhere}.author-identity small{display:block;margin-top:5px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.author-topbar>.button{flex-shrink:0}.author-bio{max-width:900px;margin:0 auto 24px;font-size:15px;color:#667c71;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:650px){.author-topbar{min-height:80px}.author-identity{gap:9px}.author-avatar{width:38px;height:38px;font-size:19px}.author-identity b{font-size:16px}.author-identity small{font-size:11px}.author-topbar>.button{padding:8px 10px;font-size:11px}.author-bio{font-size:14px;margin-bottom:18px}}

/* Portrait thumbnails: crop the preview, never the original image. */
.card .cover,#cover-preview .cover{aspect-ratio:3/4;min-height:0}
.card .cover>img,#cover-preview .cover>img{object-fit:cover;object-position:center}
.photo-tile img{aspect-ratio:3/4;object-fit:cover;object-position:center}
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;columns:auto;align-items:start}
.gallery figure{margin:0;min-width:0}
.gallery figure>button{aspect-ratio:3/4;overflow:hidden}
.gallery figure>button>img{width:100%;height:100%;object-fit:cover;object-position:center}
@media(max-width:1000px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.gallery{gap:12px}}
#photo-editor{width:min(1120px,96vw);max-width:1120px;padding:0;max-height:94dvh} .editor-fieldset{border:0;padding:0;margin:0;min-width:0}.editor-heading{display:flex;justify-content:space-between;align-items:center;padding:18px 24px}.editor-heading h2{margin:0}.editor-heading p{margin:6px 0 0;color:#697b75;font-size:13px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:0}.editor-stage{background:#192b28;min-height:380px;display:flex;align-items:center;justify-content:center;padding:18px;position:relative;overflow:hidden}.editor-stage canvas{max-width:100%;max-height:62dvh;width:auto;height:auto;touch-action:none;object-fit:contain}.editor-stage #ed-loading{position:absolute;color:white}.editor-tools{padding:16px 20px;max-height:65dvh;overflow:auto}.editor-tools .field{margin:12px 0}.editor-row{display:flex;gap:8px;align-items:center}.editor-row>*{flex:1;min-width:0}.editor-row .button{font-size:12px;padding:10px 8px}.editor-tools input[type=color]{width:100%;height:36px;padding:2px}.editor-tools input[type=range]{padding:0;width:100%;accent-color:#0b5d52}.editor-stickers{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.editor-stickers button{padding:5px 0;background:#f0f5f3;border-radius:6px;font-size:18px;min-height:36px}.editor-tools hr{border:0;border-top:1px solid #e3ebe6;margin:16px 0}.editor-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px 24px;border-top:1px solid #e3ebe6}.editor-footer .error{flex:1;margin:0}.photo-tools{flex-wrap:wrap}.editor-stage canvas:empty{display:block}@media(max-width:700px){#photo-editor{width:100%;max-width:100%;max-height:100dvh;height:100dvh;border-radius:0}.editor-heading{padding:12px 16px}.editor-layout{grid-template-columns:1fr}.editor-stage{min-height:180px;padding:10px;height:40dvh}.editor-stage canvas{max-height:100%}.editor-tools{max-height:none;padding:12px 16px}.editor-footer{position:sticky;bottom:0;background:white;padding:12px;flex-wrap:wrap}.editor-footer .error{flex-basis:100%}.editor-stickers{grid-template-columns:repeat(7,1fr)}}
.sticker-group{border:1px solid #dce7e0;border-radius:8px;margin:6px 0;padding:8px}.sticker-group summary{cursor:pointer;color:#335b4f;font-size:13px}.sticker-group[open] summary{margin-bottom:8px}.editor-swatches{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.editor-swatches button{width:24px;height:24px;border-radius:50%;border:1px solid #b6c7be;box-shadow:0 0 0 2px white}.editor-presets{display:grid;grid-template-columns:1fr 1fr;gap:6px}.editor-presets button{font-size:16px;font-weight:800;padding:9px 4px;border-radius:7px}.editor-tools output{float:right;font-variant-numeric:tabular-nums}.editor-stickers{grid-template-columns:repeat(5,1fr)}
