@charset "UTF-8";
:root{font-family:Inter,"Noto Sans TC","Microsoft JhengHei",system-ui,sans-serif;color:oklch(30% .04 163);background:oklch(98% .003 165);font-synthesis:none;--ink:#173e34;--muted:#6c7d75;--line:#dee6e0;--accent:#d9f47b;--surface:#fff}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #74a936;outline-offset:4px}button{border:0;background:none}img{max-width:100%;object-fit:cover}h1,h2,h3,p{margin:0}input,textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:12px 13px;background:#fff;color:var(--ink);min-width:0}textarea{resize:vertical;line-height:1.65}label{display:block;font-size:12px;font-weight:600;color:#496052}label>input,label>textarea{display:block;margin-top:8px;font-size:14px;font-weight:400}input[type=checkbox]{accent-color:#245e47;width:17px;height:17px;flex:none}input[type=file]{font-size:12px}label+label{margin-top:20px}[hidden]{display:none!important}.wordmark{display:inline-flex;align-items:center;font-size:26px;font-weight:800;letter-spacing:-1.5px;white-space:nowrap}.wordmark span{font-weight:400}.wordmark i{width:7px;height:7px;background:#90b444;border-radius:50%;margin:12px 0 0 4px}.primary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 23px;border-radius:8px;background:var(--ink);color:white;font-size:13px;font-weight:600;white-space:nowrap;transition:background .2s,transform .2s}.primary:hover{background:#285d49;transform:translateY(-1px)}.quiet-button{font-size:12px;padding:12px 16px;border:1px solid var(--line);border-radius:7px;display:inline-flex;align-items:center;justify-content:center;min-height:42px;background:#fff}.muted{color:var(--muted);font-size:13px;line-height:1.8}.helper{font-size:12px;line-height:1.8;color:var(--muted)}.text-button{font-size:12px;color:var(--muted);padding:8px 0;text-decoration:underline;text-underline-offset:3px}.error{color:#ae2e35!important}.empty{padding:40px 20px;text-align:center;color:var(--muted);font-size:14px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:14px 22px;border-radius:8px;z-index:10;max-width:90vw}
/* Public page and reusable live preview */
.public-body{background:#edf2ed;min-height:100svh}.public-top{max-width:1100px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:28px 36px}.public-bottom{max-width:1000px;margin:0 auto;padding:26px 30px;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted)}.public-bottom a{padding:4px}.profile{--p-bg:#f2f6ed;--p-ink:#234738;--p-soft:#e1ead9;--p-card:#e0edc7;--p-accent:#c6e980;background:var(--p-bg);color:var(--p-ink);position:relative;isolation:isolate;overflow:hidden;padding:50px 34px 25px}.public-body>.profile{width:min(100% - 32px,660px);margin:0 auto;border-radius:16px;min-height:690px}.theme-cloud{--p-bg:#f0f5fc;--p-ink:#26445e;--p-soft:#dfeaf8;--p-card:#d1e5fb;--p-accent:#a9cff7}.theme-midnight{--p-bg:#182a2c;--p-ink:#f0f6f0;--p-soft:#2c4343;--p-card:#35514a;--p-accent:#d3eb9a}.theme-rose{--p-bg:#fff1f5;--p-ink:#71384b;--p-soft:#f7dce5;--p-card:#f5d3dd;--p-accent:#f2a9c0}.profile.moving:before{content:"";position:absolute;z-index:-1;width:500px;height:500px;background:radial-gradient(ellipse,var(--p-accent),transparent 65%);opacity:.45;top:-180px;left:-150px;animation:drift 16s ease-in-out infinite alternate;pointer-events:none}.profile-head{text-align:center}.avatar{width:84px;height:84px;margin:auto auto 20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:35px;background:var(--p-accent);color:#274432;overflow:hidden}.avatar img{width:100%;height:100%}.welcome{font-size:11px;opacity:.65;margin-bottom:10px}.profile h1{font-size:32px;font-weight:650;letter-spacing:-1px;overflow-wrap:anywhere}.bio{font-size:13px;line-height:1.9;white-space:pre-line;opacity:.75;max-width:410px;margin:14px auto 0;overflow-wrap:anywhere}.filters{display:flex;gap:5px;justify-content:center;overflow-x:auto;padding:27px 0 23px;scrollbar-width:thin}.filters button{padding:9px 16px;border-radius:30px;white-space:nowrap;font-size:12px;min-height:38px;color:var(--p-ink)}.filters .active{background:var(--p-ink);color:var(--p-bg)}.carousel{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 0 4px}.carousel::-webkit-scrollbar{display:none}.feature-card{flex:0 0 78%;min-width:0;min-height:200px;border-radius:12px;padding:24px;background:var(--p-card);scroll-snap-align:start;position:relative;display:flex;flex-direction:column;justify-content:space-between;transition:background .2s}.feature-card:nth-child(even){background:var(--p-soft)}.feature-card:hover{filter:brightness(.97)}.link-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:var(--p-bg);overflow:hidden;flex:none}.link-icon img{width:100%;height:100%}.symbol{display:inline-flex;width:24px;height:24px}.symbol svg{width:100%;height:100%}.feature-card h2{font-size:20px;font-weight:600;margin:20px 24px 7px 0;overflow-wrap:anywhere}.feature-card p{font-size:11px;opacity:.75;line-height:1.6;overflow-wrap:anywhere}.arrow{font-size:23px}.feature-card>.arrow{position:absolute;right:23px;top:24px}.rail-control{display:flex;align-items:center;gap:7px;margin:12px 0 30px;font-size:10px;opacity:.8}.rail-control>span{margin-right:auto}.rail-arrow{width:33px;height:33px;border:1px solid currentColor;border-radius:50%;font-size:16px;display:grid;place-items:center;color:var(--p-ink)}.list-heading{font-size:12px;font-weight:500;opacity:.7;margin:0 0 8px}.link-row{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid color-mix(in srgb,var(--p-ink) 12%,transparent)}.link-row .link-icon{width:39px;height:39px;border-radius:9px;background:var(--p-soft)}.link-copy{flex:1;min-width:0}.link-row h3{font-size:13px;font-weight:600;overflow-wrap:anywhere}.link-row p{font-size:10px;opacity:.65;margin-top:4px;overflow-wrap:anywhere}.link-row>.arrow{font-size:19px}.profile-footer{font-size:10px;text-align:center;opacity:.5;margin-top:34px;line-height:1.7}
/* Studio */
.admin-body{background:#f7f9f7}.sidebar{position:fixed;left:0;top:0;bottom:0;width:216px;background:#fff;border-right:1px solid var(--line);padding:34px 25px;display:flex;flex-direction:column;z-index:2}.sidebar .wordmark{font-size:25px}.sidebar-caption{margin:48px 12px 16px;font-size:10px;color:#7f8c82}.sidebar nav{display:flex;flex-direction:column;gap:7px}.side-tab{text-align:left;padding:14px;border-radius:8px;min-height:45px;font-size:13px;color:#718075}.side-tab.active{background:#edf3e7;color:var(--ink);font-weight:600}.sidebar-bottom{margin-top:auto;font-size:11px;display:flex;flex-direction:column;gap:15px;padding:15px 12px}.sidebar-bottom button{text-align:left;padding:8px 0;color:var(--muted)}.studio-main{margin-left:216px;max-width:1660px}.studio-top{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 44px;font-size:12px}.workspace-dot{display:inline-block;width:6px;height:6px;background:#86a84a;border-radius:50%;margin-right:9px}.studio-top>.quiet-button{background:transparent;border:0}.studio-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:42px 44px 0}.section-note{font-size:11px;color:var(--muted);margin-bottom:13px}.studio-heading h1{font-size:34px;font-weight:600;letter-spacing:-1.4px;margin-bottom:10px}.studio-heading h1 span{color:#8ead4d}.save-status{margin:15px 44px 0;font-size:11px;min-height:17px;color:var(--muted)}.studio-grid{display:grid;grid-template-columns:minmax(0,1fr) 312px;gap:38px;padding:27px 44px 50px}.editor{min-width:0}.section-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.editor h2{font-size:16px;font-weight:600}.count{font-size:10px;margin-left:5px;padding:3px 7px;background:#e7eddf;border-radius:5px;color:#5e7355;vertical-align:middle}.add-button{font-size:11px;border:1px solid #cdd9c6;border-radius:6px;background:white;padding:10px 12px;white-space:nowrap;min-height:38px}.link-editor{background:#fff;border:1px solid var(--line);border-radius:12px;margin-top:17px;overflow:hidden}.link-editor-bar{display:flex;align-items:center;gap:9px;padding:13px 16px;border-bottom:1px solid #edf0ec;min-width:0}.position{font-size:10px;color:#9aa69c}.link-editor-bar>strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.row-tools{display:flex;align-items:center;gap:1px;margin-left:auto;flex:none}.icon-button{min-width:29px;min-height:32px;font-size:16px;color:#81917f}.delete{font-size:22px;color:#9a8d87;margin-left:5px}.visibility{display:flex;align-items:center;gap:5px;margin:0 5px;font-size:10px;font-weight:400}.visibility input{margin:0;width:14px;height:14px}.link-fields{display:flex;gap:16px;padding:18px 16px 20px}.icon-upload{width:55px;flex:none;text-align:center}.editor-icon{width:48px;height:48px;background:#edf3e8;border-radius:10px;display:grid;place-items:center;overflow:hidden}.editor-icon img{width:100%;height:100%}.upload-label{font-size:9px;margin-top:10px;cursor:pointer;line-height:1.8;position:relative;overflow:hidden}.upload-label input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0;width:100%;height:100%}.upload-label:focus-within{outline:2px solid #74a936;outline-offset:3px}.fields-body{flex:1;min-width:0}.fields-body label{font-size:10px}.fields-body input{padding:9px 10px;font-size:11px;margin-top:6px}.fields-body label+label{margin-top:12px}.two-fields{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:12px}.two-fields label+label{margin-top:0}.editor-foot{display:flex;gap:12px;padding:20px 3px;margin-top:6px;color:#73816e;font-size:10px;line-height:1.8}.editor-foot span{flex:none}.preview-area{position:sticky;top:25px;align-self:start;min-width:0}.preview-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:17px}.preview-chip{font-size:9px;padding:5px 9px;border:1px solid var(--line);border-radius:4px;color:#7f897f}.phone-shell{border:7px solid #fff;outline:1px solid #dce3da;border-radius:30px;background:#f2f6ed;overflow:hidden;height:620px;display:flex;flex-direction:column}.phone-top{height:32px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 15px;font-size:9px;background:#f2f6ed;color:#234738}.phone-shell>.profile{padding:25px 19px 20px;overflow-y:auto;flex:1;scrollbar-width:none}.phone-shell .avatar{width:60px;height:60px;font-size:27px;margin-bottom:14px}.phone-shell .welcome{font-size:8px;margin-bottom:7px}.phone-shell h1{font-size:24px}.phone-shell .bio{font-size:10px;margin-top:10px}.phone-shell .filters{padding:19px 0 17px;justify-content:flex-start}.phone-shell .filters button{font-size:9px;padding:7px 13px;min-height:30px}.phone-shell .feature-card{min-height:155px;padding:17px;flex-basis:84%}.phone-shell .feature-card .link-icon{width:36px;height:36px;border-radius:9px}.phone-shell .feature-card h2{font-size:16px;margin-top:14px}.phone-shell .feature-card p{font-size:9px}.phone-shell .feature-card>.arrow{right:17px;top:16px}.phone-shell .rail-control{font-size:8px;margin-bottom:23px}.phone-shell .rail-arrow{width:26px;height:26px;font-size:13px}.phone-shell .link-row{padding:12px 0;gap:10px}.phone-shell .link-row h3{font-size:11px}.phone-shell .link-row p{font-size:8px}.phone-shell .link-row .link-icon{width:31px;height:31px}.phone-shell .link-row .symbol{width:18px;height:18px}.phone-bottom{height:18px;background:#fff;flex:none;position:relative}.phone-bottom:after{content:"";width:85px;height:4px;border-radius:5px;background:#283d30;position:absolute;top:7px;left:50%;transform:translateX(-50%)}.preview-note{font-size:9px;color:#86917f;text-align:center;margin:15px 0;line-height:1.8}.edit-panel>h2{margin-bottom:20px}.edit-panel>label{margin-top:22px}.field-group{padding:22px;background:#fff;border:1px solid var(--line);border-radius:10px}.field-group .helper{margin-top:10px}.theme-options{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:20px 0}.theme-option{border:1px solid var(--line);border-radius:10px;padding:12px;text-align:left;background:white;display:flex;flex-direction:column;gap:8px}.theme-option.selected{outline:2px solid #365e42;outline-offset:2px}.theme-swatch{display:block;width:100%;height:75px;background:#e0edc7;border-radius:5px}.cloud .theme-swatch{background:#c3def7}.midnight .theme-swatch{background:#243d39}.rose .theme-swatch{background:#f4c8d7}.theme-option strong{font-size:12px}.theme-option small{font-size:10px;color:var(--muted);line-height:1.6}.motion-setting{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:22px 0;border-top:1px solid var(--line)}.motion-setting h3{font-size:13px;margin-bottom:7px}.switch{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:11px}.switch input{margin:0}.login-screen{min-height:100svh;display:grid;grid-template-columns:1fr 1fr}.login-box{width:min(100% - 60px,390px);margin:auto;padding:55px 0}.login-intro{font-size:11px;margin:50px 0 15px;color:var(--muted)}.login-box h1{font-size:36px;font-weight:550;line-height:1.4;letter-spacing:-1px}.login-box>.muted{margin:20px 0 35px}.login-box label{margin-top:20px}.login-box .primary{width:100%;margin-top:25px}.login-box .error{font-size:12px;min-height:20px;margin:14px 0}.text-link{font-size:12px;color:var(--muted)}.login-art{margin:25px;border-radius:16px;background:#dce9bd;display:flex;flex-direction:column;justify-content:space-between;padding:45px;color:#294631;overflow:hidden}.art-label{font-size:13px}.art-circle{align-self:center;width:min(30vw,360px);height:min(30vw,360px);border-radius:50%;background:#284b36;color:#dcf38d;display:grid;place-items:center;font-size:180px;font-weight:200}.login-art p{font-size:36px;line-height:1.2;letter-spacing:-1px}dialog{border:1px solid var(--line);border-radius:12px;padding:28px;color:var(--ink);max-width:calc(100% - 32px)}dialog::backdrop{background:#152d2766}dialog h2{font-size:20px}dialog p{font-size:13px;color:var(--muted);margin-top:14px;line-height:1.7}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:28px}.danger-button{background:#a32f38;color:#fff;padding:12px 16px;border-radius:7px;font-size:12px}
@keyframes drift{from{transform:translate(0,0)}to{transform:translate(190px,250px) scale(1.2)}}
@media(min-width:1450px){.studio-grid{grid-template-columns:minmax(0,750px) 342px;gap:60px}.phone-shell{height:670px}.studio-main{margin-right:auto}}
@media(max-width:1150px){.sidebar{width:180px;padding:30px 18px}.studio-main{margin-left:180px}.studio-top{padding:0 28px}.studio-heading{padding-left:28px;padding-right:28px}.save-status{margin-left:28px;margin-right:28px}.studio-grid{padding-left:28px;padding-right:28px;gap:22px;grid-template-columns:minmax(0,1fr) 275px}.link-fields{gap:9px;padding:14px 12px}.icon-upload{width:45px}.editor-icon{width:39px;height:39px}.link-editor-bar{padding:10px}.visibility{margin:0 2px}}
@media(max-width:940px){.sidebar{width:165px;padding:28px 13px}.sidebar .wordmark{font-size:23px}.studio-main{margin-left:165px}.studio-grid{grid-template-columns:minmax(0,1fr)}.preview-area{position:static;max-width:340px;width:100%;justify-self:center;margin-top:15px}.phone-shell{height:650px}.studio-heading{align-items:flex-start}.studio-heading h1{font-size:30px}.studio-heading .primary{padding:11px 14px}.login-art p{font-size:28px}}
@media(max-width:600px){.public-top{padding:20px 22px}.public-top .wordmark{font-size:23px}.public-body>.profile{width:100%;border-radius:0;min-height:calc(100svh - 160px)}.profile{padding:35px 24px 25px}.public-bottom{font-size:9px;padding:22px}.profile h1{font-size:29px}.feature-card{flex-basis:83%;min-height:185px;padding:21px}.filters{justify-content:flex-start}.public-body{background:#f2f6ed}.public-top .quiet-button{background:transparent;border-color:#cbd8ca}.sidebar{position:static;width:100%;height:auto;padding:20px 20px 0;border-right:0;border-bottom:1px solid var(--line);gap:15px}.sidebar-caption,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;gap:4px;overflow:auto}.side-tab{padding:12px 13px;border-radius:7px 7px 0 0;white-space:nowrap;font-size:12px}.studio-main{margin-left:0}.studio-top{height:55px;padding:0 20px;font-size:10px}.studio-heading{padding:27px 20px 0;gap:10px}.section-note{font-size:10px}.studio-heading h1{font-size:29px}.studio-heading .muted{font-size:11px}.studio-heading .primary{font-size:11px;padding:10px 13px;min-height:42px}.save-status{margin:12px 20px 0;font-size:10px}.studio-grid{padding:22px 20px 35px;gap:25px}.section-line h2{font-size:14px}.link-editor-bar>strong{max-width:95px}.link-fields{gap:12px;padding:15px 12px}.link-editor-bar{gap:6px}.icon-button{min-width:27px}.theme-options{gap:12px}.login-screen{grid-template-columns:1fr}.login-art{display:none}.login-box{width:calc(100% - 52px);max-width:380px}.login-box h1{font-size:33px}.login-intro{margin-top:45px}.preview-area{max-width:315px}.profile-footer{margin-top:28px}.two-fields{gap:9px}.editor-foot{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* User uploaded background media */
.custom-background{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}.custom-background>img,.custom-background>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.background-veil{position:absolute;inset:0;background:var(--p-bg);opacity:.78}.background-settings{padding:22px;background:white;border:1px solid var(--line);border-radius:12px;margin:24px 0}.background-settings h3{font-size:14px;margin-bottom:20px}.background-settings label{margin-top:16px}.background-settings .helper{margin-top:8px}.background-settings select{display:block;width:100%;margin-top:8px;border:1px solid var(--line);border-radius:8px;padding:12px;background:white;color:var(--ink);font:inherit}.background-settings select:focus-visible{outline:3px solid #74a936;outline-offset:3px}

.background-toggle{position:absolute;top:10px;right:12px;z-index:1;background:var(--p-bg);color:var(--p-ink);font-size:11px;padding:9px 12px;border-radius:7px;min-height:36px}

/* Circular rotation only: existing card palette, content and typography retained. */
.circular-gallery{position:relative;display:block;height:244px;overflow:hidden;padding:0;touch-action:pan-y;scroll-snap-type:none;isolation:isolate;perspective:1400px;user-select:none;cursor:grab}.circular-gallery:active{cursor:grabbing}.gallery-ring{position:absolute;inset:0;transform-style:preserve-3d;will-change:transform}.circular-gallery .feature-card{position:absolute;left:50%;top:50%;translate:-50% -50%;height:200px;min-height:200px;flex:none;backface-visibility:hidden;transform-style:preserve-3d;transition:opacity .3s linear;overflow:hidden}.gallery-pause{font-size:10px;min-height:33px;padding:6px 9px;color:var(--p-ink)}.phone-shell .circular-gallery{height:195px}.phone-shell .circular-gallery .feature-card{height:155px;min-height:155px}.phone-shell .gallery-pause{font-size:9px;padding:4px 6px}@media(max-width:600px){.circular-gallery{height:225px}.circular-gallery .feature-card{height:185px;min-height:185px}.phone-shell .circular-gallery .feature-card{height:155px;min-height:155px}}@media(prefers-reduced-motion:reduce){.circular-gallery .feature-card{transition:none}}

.rail-control>.gallery-selected{margin-right:4px;min-width:34px;text-align:center;font-variant-numeric:tabular-nums}
.login-switch{display:flex;flex-wrap:wrap;gap:6px 16px;margin:4px 0 10px}.owner-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:12px 0;border-bottom:1px solid var(--line)}.owner-row a{font-weight:600;color:var(--ink);flex:1 1 220px;min-width:0;overflow-wrap:anywhere}.owner-row small{color:var(--muted);flex:1 1 180px;overflow-wrap:anywhere}#me-email{overflow-wrap:anywhere}
