:root{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;color:#111a1e;background:#fdfdfb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;--ink: #111a1e;--muted: #848b8d;--line: #dfe2e1;--teal: #116761;--teal-deep: #0f625d}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{color:inherit}.app-shell{width:min(100% - 56px,1320px);margin:0 auto;padding:26px 0 30px}.topbar{min-height:65px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:25px}.brand{color:var(--ink);text-decoration:none;font-size:28px;font-weight:700;letter-spacing:-.055em}.photo-actions{display:flex;align-items:center;gap:10px}.photo-action{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 20px;border:0;border-radius:16px;background:#eff4f1;color:#155e59;font-size:16px;font-weight:600;cursor:pointer;transition:background .16s ease,transform .16s ease}.choose-photo,.take-photo{background:#eff4f1;color:#155e59}.photo-action:hover{background:#e8f0ec;transform:translateY(-1px)}.photo-action:focus-visible,.save-button:focus-visible,.clear-location:focus-visible,input:focus-visible{outline:3px solid #84bdb4;outline-offset:2px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}.workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.64fr);align-items:center;gap:clamp(30px,5vw,76px)}.preview-column{min-width:0}.photo-frame{position:relative;width:fit-content;max-width:100%;min-height:0;margin-inline:auto;overflow:hidden;border:1px solid #e5e8e4;border-radius:17px;background:#e9ece8;box-shadow:0 11px 34px #22302b14}.photo-image{display:block;width:auto;max-width:100%;max-height:min(74vh,820px);height:auto;object-fit:contain}.watermark-preview{position:absolute;left:3.2%;bottom:3.2%;max-width:91%;display:flex;flex-direction:column;gap:5px;padding:10px 14px;border:1px solid rgba(255,255,255,.54);border-radius:11px;background:#ffffffdb;box-shadow:0 4px 16px #1b2a2514;color:#17211f;font-size:clamp(14px,1.7vw,20px);font-weight:500;line-height:1.45;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.watermark-row{min-width:0;display:flex;align-items:center;gap:9px;white-space:nowrap}.watermark-row>span:last-child{overflow:hidden;text-overflow:ellipsis}.stamp-icon{flex:0 0 auto;width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:var(--teal);color:#fff}.editor-card{min-width:0;padding:31px 29px 25px;border:1px solid #ebece9;border-radius:19px;background:#fff;box-shadow:0 10px 34px #24302b0b}.field-group{margin-bottom:28px}.field-label{display:block;margin:0 0 12px 2px;color:var(--ink);font-size:20px;font-weight:650;letter-spacing:-.035em}.field-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}.field-label-row .field-label{margin-bottom:0}.auto-time-hint{flex:0 0 auto;color:#8c9292;font-size:13px;font-weight:400}.date-time-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(145px,.8fr);gap:12px}.input-shell{min-width:0;min-height:58px;display:flex;align-items:center;gap:11px;padding:0 14px;border:1px solid #d9dddb;border-radius:12px;background:#fff;transition:border-color .16s ease,box-shadow .16s ease}.input-shell:focus-within{border-color:#85b7af;box-shadow:0 0 0 3px #3f91851a}.field-icon{flex:0 0 auto;color:#68716e}.input-shell input{width:100%;min-width:0;height:54px;padding:0;border:0;outline:0;background:transparent;color:#18221f;font-size:15px}.input-shell input::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.55}.location-group{margin-bottom:34px}.clear-location{flex:0 0 auto;width:26px;height:26px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#eef0ef;color:#77827e;cursor:pointer}.clear-location:hover{background:#e3e8e5}.field-hint{display:block;margin:9px 0 0 2px;color:#8c9292;font-size:14px}.editor-bottom{padding-top:9px}.save-button{width:100%;min-height:63px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #0f625d;border-radius:13px;background:linear-gradient(112deg,#146b66,#0d5d58);box-shadow:0 8px 18px #176a6529;color:#fff;font-size:20px;font-weight:650;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.save-button:hover:not(:disabled){transform:translateY(-1px);background:linear-gradient(112deg,#1a756e,#11665f);box-shadow:0 10px 22px #176a6538}.save-button:active:not(:disabled){transform:translateY(0)}.save-button:disabled{cursor:progress;opacity:.78}.status-message{min-height:0;margin:7px 2px 0;color:#5a8176;font-size:12px}.status-message:empty{display:none}.save-preview-backdrop{position:fixed;z-index:30;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#101a18b8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.save-preview-dialog{width:min(100%,860px);max-height:calc(100dvh - 40px);display:flex;flex-direction:column;overflow:hidden;padding:20px;border:1px solid rgba(255,255,255,.78);border-radius:22px;background:#fff;box-shadow:0 28px 90px #00000047}.save-preview-header,.save-preview-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.save-preview-header{margin-bottom:14px}.save-preview-header h2{margin:0;font-size:21px;font-weight:650}.save-preview-header p{margin:5px 0 0;color:#52625e;font-size:14px;line-height:1.45}.saved-photo-stage{min-height:0;display:grid;place-items:center;overflow:auto;border-radius:14px;background:#edf0ee}.saved-photo-stage img{display:block;width:auto;max-width:100%;max-height:min(64dvh,720px);object-fit:contain;-webkit-touch-callout:default}.save-preview-footer{margin-top:14px;color:#697671;font-size:13px}.download-file-button{flex:0 0 auto;min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 15px;border:1px solid #cfd9d5;border-radius:11px;background:#f5f8f6;color:#155e59;font-size:14px;font-weight:600;text-decoration:none}.download-file-button:focus-visible,.save-preview-dialog button:focus-visible{outline:3px solid #84bdb4;outline-offset:3px}.camera-backdrop{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#101a18ad;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.camera-dialog{width:min(100%,640px);max-height:calc(100vh - 48px);overflow:auto;padding:20px;border:1px solid rgba(255,255,255,.78);border-radius:22px;background:#fff;box-shadow:0 28px 90px #00000047}.camera-dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.camera-dialog-header h2{margin:0;font-size:21px;font-weight:650}.camera-close{width:40px;height:40px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#f0f3f1;color:#30423e;cursor:pointer}.camera-close:focus-visible,.camera-shutter:focus-visible,.camera-album-fallback:focus-visible{outline:3px solid #84bdb4;outline-offset:3px}.camera-stage{width:100%;aspect-ratio:4 / 3;display:grid;place-items:center;overflow:hidden;border-radius:16px;background:#101715;color:#fff}.camera-stage video{display:block;width:100%;height:100%;object-fit:contain}.camera-status{max-width:360px;display:grid;justify-items:center;gap:12px;padding:24px;text-align:center}.camera-status p,.camera-inline-status,.camera-privacy-note{margin:0;line-height:1.55}.camera-controls{display:grid;gap:11px;margin-top:15px}.camera-shutter{min-height:56px;display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:13px;background:linear-gradient(112deg,#146b66,#0d5d58);color:#fff;font-size:17px;font-weight:650;cursor:pointer}.camera-shutter:disabled{cursor:progress;opacity:.55}.camera-album-fallback{min-height:44px;border:1px solid #dfe5e2;border-radius:12px;background:#f8faf9;color:#34534d;font-size:14px;font-weight:550;cursor:pointer}.camera-inline-status{margin-top:10px;color:#aa4f38;font-size:13px}.camera-privacy-note{margin-top:11px;color:#848b8d;font-size:12px;text-align:center}@media(max-width:767px){.app-shell{width:min(100% - 34px,560px);padding:8px 0 10px}.topbar{min-height:49px;margin-bottom:8px}.brand{font-size:25px}.photo-actions{gap:8px}.photo-action{min-height:43px;gap:8px;padding:0 14px;border-radius:13px;font-size:15px}.photo-action svg{width:22px;height:22px}.workspace{grid-template-columns:minmax(0,1fr);gap:10px}.photo-frame{width:fit-content;max-width:100%;border-radius:14px}.photo-image{width:auto;max-width:100%;max-height:min(42svh,380px)}.watermark-preview{gap:3px;padding:7px 8px;border-radius:9px;font-size:clamp(12px,3.5vw,14px)}.watermark-row{gap:5px}.stamp-icon{width:17px;height:17px}.stamp-icon svg{width:13px;height:13px}.editor-card{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.field-group{margin-bottom:11px}.field-label{margin-bottom:6px;font-size:20px}.field-label-row{margin-bottom:6px}.date-time-grid{min-width:0;grid-template-columns:minmax(0,1.34fr) minmax(0,.82fr);gap:10px}.input-shell{min-height:50px;gap:8px;padding:0 11px;border-radius:10px}.input-shell input{height:46px;font-size:14px}.field-icon{width:20px;height:20px}.location-group{margin-bottom:12px}.field-hint{margin-top:8px;font-size:14px}.editor-bottom{padding-top:0}.save-button{min-height:54px;border-radius:12px;font-size:20px}.camera-backdrop{padding:14px}.camera-dialog{max-height:calc(100dvh - 28px);padding:14px;border-radius:19px}.save-preview-backdrop{padding:12px}.save-preview-dialog{max-height:calc(100dvh - 24px);padding:13px;border-radius:18px}.save-preview-header{gap:10px;margin-bottom:10px}.save-preview-header h2{font-size:19px}.save-preview-header p{font-size:13px}.saved-photo-stage img{max-height:min(61dvh,620px)}.save-preview-footer{gap:8px;margin-top:10px;font-size:12px}.download-file-button{min-height:40px;padding:0 11px;font-size:13px}.camera-dialog-header{margin-bottom:10px}.camera-dialog-header h2{font-size:20px}.camera-stage{aspect-ratio:3 / 4;max-height:52dvh;border-radius:13px}.camera-controls{gap:9px;margin-top:11px}.camera-shutter{min-height:54px}.camera-privacy-note{margin-top:8px}}@media(max-width:380px){.app-shell{width:min(100% - 26px,560px)}.topbar{gap:8px}.photo-actions{gap:6px}.brand{font-size:22px}.photo-action{min-height:41px;gap:5px;padding:0 8px;font-size:12px}.photo-action svg{width:19px;height:19px}.date-time-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,.82fr)}.date-shell{gap:6px}.input-shell input{font-size:13px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
