:root{--bg:#111312;--panel:#191c1a;--line:#2b2e2b;--text:#eeeee6;--muted:#92978f;--green:#d5e9b8;--purple:#c4badc;--font:'PingFang SC','Microsoft YaHei','Noto Sans SC',system-ui,sans-serif;--serif:'Songti SC','STSong','SimSun','Noto Serif SC',Georgia,serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit;background:none;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--green);outline-offset:4px}button:disabled{opacity:.5;cursor:wait}svg{width:20px;height:20px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.sidebar{width:236px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:36px 22px 20px;display:flex;flex-direction:column;z-index:10;background:var(--bg)}.brand{display:flex;gap:11px;align-items:center;margin:0 8px 54px}.brand-symbol{font-size:45px;color:var(--green);line-height:1}.brand>span:nth-child(2){font-family:Georgia,serif;font-size:29px;letter-spacing:-1px;line-height:1}.brand-dot{color:var(--green)}.brand small{font:10px var(--font);display:block;letter-spacing:4px;margin-top:10px;color:var(--muted)}.nav-label{font-size:9px;letter-spacing:1.7px;color:#70786d;margin:0 12px 16px}nav{display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:14px;text-align:left;width:100%;height:49px;border-radius:9px;padding:0 15px;color:#a8ada5}.nav-item:hover{background:#20251f}.nav-item.active{background:#262d21;color:var(--green)}.nav-item span[data-icon]{display:flex}.nav-dot{width:5px;height:5px;background:var(--green);border-radius:50%;margin-left:auto}.nav-item:not(.active) .nav-dot{display:none}#friend-count{margin-left:auto;font-size:11px}.create-button{background:var(--green);color:#283121;border-radius:7px;width:100%;padding:13px 8px;margin-top:27px;font-weight:600;display:flex;gap:10px;align-items:center;justify-content:center}.create-button:hover,.primary:hover{background:#e5f7cc}.sidebar-note{border-left:1px solid #3e4635;margin:44px 12px 25px;padding-left:18px}.mini-spark{color:#8a947c;font-size:24px}.sidebar-note p{font-family:var(--serif);font-size:17px;line-height:1.9;color:#bcc2b5}.sidebar-note small{font-size:8px;letter-spacing:1.1px;color:#727a6a}.sidebar-bottom{margin-top:auto}.account{border-top:1px solid var(--line);border-bottom:1px solid var(--line);width:100%;padding:16px 0;display:flex;gap:9px;align-items:center;font-size:11px}.account svg{width:14px}.account span:nth-child(2){flex:1;text-align:left}.avatar{display:inline-flex;align-items:center;justify-content:center;background:#30372b;color:var(--green);width:32px;height:32px;border-radius:50%;flex-shrink:0}.publisher{padding:19px 3px 0;font-size:10px;color:#8e9589;line-height:1.9}.publisher a{color:#b1b7aa}.publisher>span{font-size:7px;letter-spacing:1px;color:#596253}.main-wrap{margin-left:236px}.topbar{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{font-size:11px;color:#abb1a5;display:flex;align-items:center;gap:9px}.live-dot{width:6px;height:6px;background:var(--green);border-radius:50%;box-shadow:0 0 10px #d5e9b833}.top-actions{display:flex;gap:26px;align-items:center}.open-source{font-size:9px;letter-spacing:1.5px;color:#89927e}.language{display:flex;align-items:center;gap:8px}.language svg{width:16px;color:var(--muted)}select{background:var(--bg);color:#c7cbbf;border:0;font-size:11px;padding:8px 0;cursor:pointer}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:30px;max-width:1460px;margin:auto;padding:35px 36px 30px}#main{min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.eyebrow{font-size:9px;letter-spacing:2px;color:#9caa8d;margin-bottom:9px}h1{font-size:27px;margin:0;letter-spacing:1px;font-weight:500}.section-heading>span{color:#6e7767;font-size:11px}.hero{height:248px;border:1px solid #383e35;border-radius:12px;overflow:hidden;position:relative;background:#272d26;margin-bottom:28px}.hero-img{position:absolute;inset:0;background:linear-gradient(90deg,#21291fee 0%,#242c22d9 43%,#252e2350 100%),url('/assets/hero.jpg') center 45%/cover;filter:saturate(.3)}.hero-content{position:relative;z-index:1;padding:28px 30px}.hero .eyebrow{font-size:8px;letter-spacing:2.5px;color:#d1d6c5}.hero h2{font-family:var(--serif);font-size:32px;font-weight:400;letter-spacing:3px;line-height:1.6;margin:12px 0 9px;color:#f4f3df}.hero p{font-size:11px;color:#bcc5b2;line-height:1.9;max-width:85%;margin:0}.hero-link{display:inline-flex;gap:24px;align-items:center;font-size:11px;border-bottom:1px solid #a7b29b;padding:0 0 5px;margin-top:20px;color:#dee6d2}.hero-mark{position:absolute;right:25px;bottom:25px;color:#e5e7c6;font-size:55px;font-weight:100;opacity:.8}.search-row{display:flex;gap:12px;margin-bottom:22px}.search{display:flex;align-items:center;gap:12px;border:1px solid #32362f;border-radius:7px;padding:0 15px;height:44px;flex:1;background:#191c18}.search svg{color:#848e7b;width:17px}.search input{background:none;border:0;outline:0;color:var(--text);width:100%;font-size:11px}.search input::placeholder{color:#77816e}.sort-button{border:1px solid #32362f;border-radius:7px;display:flex;align-items:center;gap:9px;padding:0 13px;font-size:11px;color:#a9b19f}.feed-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);margin-bottom:20px}.tabs{display:flex;gap:25px}.tabs button{font-size:12px;padding:0 0 14px;color:#7f8974;position:relative}.tabs button.active{color:var(--green)}.tabs button.active:after{position:absolute;content:'';height:2px;bottom:-1px;left:0;right:0;background:var(--green)}.feed-count{font-size:10px;color:#77806f;padding-bottom:14px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.card{border:1px solid #30362d;border-radius:11px;background:#1b1f19;overflow:hidden;transition:transform .2s,border-color .2s}.card:hover{transform:translateY(-3px);border-color:#66725b}.card-photo{height:228px;position:relative;overflow:hidden;background:linear-gradient(150deg,#626f54,#242c23);cursor:pointer}.card-photo img{width:100%;height:100%;object-fit:cover;object-position:center 36%;filter:saturate(.55) brightness(.83);transition:transform .6s}.card:nth-child(3n) .card-photo img{filter:saturate(.3) brightness(.77)}.card:hover .card-photo img{transform:scale(1.03)}.card-photo:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#10180bd9)}.photo-tag{position:absolute;z-index:1;top:13px;left:13px;font-size:8px;letter-spacing:1px;padding:6px 9px;background:#18201385;border:1px solid #ffffff30;border-radius:4px;color:#e4e7dc;backdrop-filter:blur(10px)}.photo-name{position:absolute;z-index:1;bottom:17px;left:18px;right:18px;display:flex;justify-content:space-between;align-items:end}.photo-name strong{font-family:var(--serif);font-size:23px;letter-spacing:2px;font-weight:500}.photo-name span{font-size:8px;letter-spacing:1px;color:#d3d8c9}.card-body{padding:17px 18px 0}.card-bio{font-size:12px;line-height:1.95;color:#c5ccbc;margin:0;min-height:49px;cursor:pointer;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.wish-line{display:flex;gap:8px;color:#8f9d7f;font-size:10px;line-height:1.7;padding:14px 0;margin-top:10px;border-bottom:1px solid #323a2d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wish-line svg{width:13px;height:17px;flex-shrink:0}.card-actions{display:flex;justify-content:space-between;align-items:center;height:48px;color:#9ea991;font-size:10px}.card-actions button{padding:6px 0;display:flex;align-items:center;gap:6px}.card-actions svg{width:16px;height:16px}.card-actions button:last-child{font-size:9px;color:#d0dfbd}.rightbar{padding-top:3px}.right-card{background:#191d17;border:1px solid #30372b;border-radius:10px;padding:20px;margin-bottom:21px}.right-card h3{font-size:13px;letter-spacing:1px;font-weight:500;margin:0 0 16px;display:flex;align-items:center;gap:8px}.right-card h3 svg{width:17px;color:var(--green)}.right-card p{font-size:11px;color:#9aa48e;line-height:1.9;margin:0 0 15px}.right-card .flower-art{font-family:Georgia,serif;text-align:center;font-size:80px;line-height:1.2;color:#e0e4cb;padding:14px 0 22px;transform:rotate(-12deg)}.rule{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #2e3627;padding:11px 0;font-size:10px;color:#a9b49d}.rule strong{font-weight:400;color:#d7e2ca}.right-card .text-button{font-size:10px;color:var(--green);padding:13px 0 0;display:flex;width:100%;justify-content:space-between}.thought{padding:4px 5px 22px}.thought .eyebrow{font-size:8px;color:#7c876f}.thought blockquote{font-family:var(--serif);font-size:16px;line-height:2;color:#c0c7b2;margin:18px 0}.thought small{font-size:9px;color:#737f66}.principles{border-top:1px solid var(--line);margin-top:22px;padding-top:22px;display:flex;gap:8px;flex-wrap:wrap}.principles span{font-size:8px;padding:5px 7px;border:1px solid #333b2b;border-radius:4px;color:#849174}.right-bottom{font-size:9px;color:#6e7a62;line-height:2;padding:15px 5px}.right-bottom a{color:#98a68a}footer{border-top:1px solid var(--line);margin:0 36px;padding:19px 0 24px;display:flex;justify-content:space-between;color:#738064;font-size:9px}footer button{font-size:9px;color:#9aa98a}.empty{padding:60px 22px;text-align:center;border:1px dashed #3c4732;border-radius:10px;line-height:2;color:var(--muted)}.empty h3{color:var(--text);font-weight:400}.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:6px;background:var(--green);color:#27331d;padding:12px 20px;font-size:12px;font-weight:600}.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #4b5840;border-radius:6px;padding:11px 17px;font-size:12px;color:#ccdac0}.secondary:hover{background:#2b3524}.detail-photo{width:100%;max-height:400px;object-fit:cover;border-radius:11px;filter:saturate(.6)}.back{color:var(--muted);padding:0 0 22px;font-size:12px}.detail-title{display:flex;justify-content:space-between;align-items:center;margin-top:24px}.detail-title h1{font-family:var(--serif);font-size:32px}.detail-title span{font-size:10px;color:var(--muted)}.detail-bio{font-family:var(--serif);font-size:18px;line-height:2.1;white-space:pre-wrap;color:#d6dfc9;margin:24px 0}.wish-box{background:#21291c;border:1px solid #3f4b33;padding:22px;border-radius:9px;margin:22px 0}.wish-box small{color:#aebf9b;font-size:10px}.wish-box p{font-size:16px;line-height:1.9}.detail-actions{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0}.comments-title{display:flex;justify-content:space-between;align-items:center;margin-top:38px;font-size:16px}.comments-title small{font-size:10px;color:var(--muted)}.comment-form{display:flex;gap:10px;margin:18px 0}.comment-form input{flex:1;min-width:0}.field,input.field,textarea.field{width:100%;padding:13px;color:var(--text);background:#151a12;border:1px solid #3e4934;border-radius:6px;font-size:12px}.comment{padding:20px 0;border-bottom:1px solid var(--line);display:flex;gap:12px}.comment strong{font-size:12px}.comment small{color:var(--muted);font-size:9px;margin-left:12px}.comment p{font-size:13px;color:#c7d1bb;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.translation-note{font-size:10px;color:#9eac8c;margin:10px 0;line-height:1.8}.editor{border:1px solid #34402b;border-radius:11px;background:#1b2017;padding:27px}.editor label,.form-label{display:block;font-size:11px;color:#b4c1a4;margin:20px 0 9px}.editor label:first-child{margin-top:0}textarea{resize:vertical;min-height:110px;line-height:1.8}.editor .photo-upload{display:flex;gap:18px;align-items:center}.photo-upload img{width:88px;height:100px;object-fit:cover;border-radius:6px}.photo-upload .placeholder-photo{width:88px;height:100px;background:#303c25;border-radius:6px;display:grid;place-items:center;font-size:30px}.photo-upload input{width:100%;font-size:11px}.editor small{display:block;font-size:10px;color:var(--muted);margin-top:9px;line-height:1.8}.editor-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.check{display:flex!important;align-items:center;gap:8px}.row-person{display:flex;align-items:center;gap:14px;padding:19px 0;border-bottom:1px solid var(--line)}.row-person .person-name{flex:1}.row-person small{display:block;color:var(--muted);font-size:10px;margin-top:7px}.row-person button{font-size:11px;color:var(--green)}.chat-panel{border:1px solid var(--line);border-radius:10px;padding:22px}.chat-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.chat-log{height:360px;overflow-y:auto;display:flex;flex-direction:column;gap:12px}.bubble{padding:13px 16px;background:#242d1e;border-radius:12px;max-width:85%;align-self:flex-start;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.bubble.mine{background:#d5e9b8;color:#29361f;align-self:flex-end}.bubble small{font-size:9px;display:block;opacity:.6}.wallet-hero{padding:30px;background:linear-gradient(120deg,#333f28,#20271a);border:1px solid #4b5b3c;border-radius:10px}.wallet-number{font-family:Georgia,serif;font-size:70px;margin:8px 0}.wallet-hero p{font-size:12px;color:#b5c5a2}.amounts{display:flex;gap:10px;margin:22px 0}.amounts button{border:1px solid #526443;border-radius:6px;padding:13px 20px}.amounts button.selected{background:var(--green);color:#27351c}.ledger-item{display:flex;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--line);font-size:12px;color:#b4c2a3}.ledger-item strong{color:var(--green)}.modal-backdrop{position:fixed;z-index:100;inset:0;background:#000b;backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:20px}.modal-backdrop[hidden]{display:none}.modal{background:#1c2318;border:1px solid #48563c;border-radius:16px;padding:33px;max-width:440px;width:100%;max-height:90vh;overflow:auto;position:relative}.modal h2{font-family:var(--serif);font-weight:400;letter-spacing:1px;font-size:25px;margin:10px 0 12px}.modal p{font-size:12px;color:#b1c19e;line-height:1.9}.modal-close{position:absolute;right:14px;top:12px;padding:8px;color:#b8c8a5;font-size:23px}.modal .primary{width:100%;margin-top:20px}.modal-switch{margin-top:20px;text-align:center;color:var(--green);font-size:11px;display:block;width:100%}.invitation{text-align:center}.invitation h2{font-size:29px}.invite-photo{width:100px;height:125px;object-fit:cover;border-radius:50% 50% 6px 6px;filter:saturate(.5);margin-top:15px}.qr{background:#fff;display:inline-block;padding:12px;border-radius:7px;margin:14px auto}.qr svg{width:140px;height:140px;fill:#000;stroke:none}.invite-url{font-size:10px;overflow-wrap:anywhere;padding:10px;border:1px solid #415035;border-radius:5px;user-select:all;color:#becfa9}#toast{position:fixed;z-index:200;bottom:30px;left:50%;transform:translateX(-50%) translateY(100px);transition:transform .2s;background:var(--green);color:#26341a;padding:14px 24px;border-radius:8px;font-size:12px;max-width:90%;box-shadow:0 8px 40px #0005;pointer-events:none}#toast.show{transform:translateX(-50%) translateY(0)}.invite-page{max-width:440px;margin:0 auto;text-align:center;padding:35px 20px}.invite-page .hero-quote{font-family:var(--serif);font-size:21px;line-height:1.9;color:#d4e2c3}.invite-page .primary{width:100%;margin:20px 0}.invite-page .invite-photo{width:150px;height:185px}.invite-page h1{margin:20px 0}.invite-page .field{text-align:center}.skeleton{padding:60px;text-align:center;color:var(--muted)}.danger{color:#e7b3a8}.admin-list{overflow:auto}.admin-list p{padding:12px;border-bottom:1px solid var(--line);font-size:12px}.no-photo{height:100%;display:grid;place-items:center;font-size:80px;color:#c7dbaf;background:linear-gradient(150deg,#4c5e3b,#232e1b)}
@media(min-width:1600px){.content-layout{grid-template-columns:minmax(0,1fr) 280px;gap:40px;padding:40px 48px}.card-photo{height:290px}.hero{height:280px}.hero h2{font-size:38px}}@media(max-width:1200px){.sidebar{width:205px;padding:30px 15px 20px}.main-wrap{margin-left:205px}.content-layout{gap:23px;padding:28px 25px;grid-template-columns:minmax(0,1fr) 220px}.topbar{padding:0 25px}.right-card{padding:16px}.hero-content{padding:25px}.hero h2{font-size:28px}.card-photo{height:210px}.card-body{padding:14px 14px 0}}@media(max-width:1020px){.rightbar{display:none}.content-layout{grid-template-columns:1fr;max-width:850px}.sidebar{width:210px}.main-wrap{margin-left:210px}.card-photo{height:240px}}@media(max-width:700px){.sidebar{width:100%;height:65px;inset:auto 0 0;padding:0;background:#141a10f5;backdrop-filter:blur(15px);border-right:0;border-top:1px solid #3b4730}.sidebar>.brand,.nav-label,.create-button,.sidebar-note,.sidebar-bottom{display:none}.sidebar nav{display:flex;height:100%;gap:0;justify-content:space-around}.nav-item{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;width:20%;height:100%;padding:7px 0;border-radius:0;font-size:9px}.nav-item svg{width:19px;height:19px}.nav-item .nav-dot,#friend-count{display:none}.main-wrap{margin:0 0 65px}.topbar{height:65px;padding:0 20px}.open-source{display:none}.content-layout{padding:25px 18px}.top-actions{gap:0}.section-heading{margin-bottom:20px}h1{font-size:24px}.section-heading>span{font-size:9px}.hero{height:241px}.hero-content{padding:25px 21px}.hero h2{font-size:28px;letter-spacing:1px}.hero p{font-size:10px;max-width:90%}.hero-mark{font-size:38px;right:17px;bottom:19px}.search-row{gap:8px}.sort-button{padding:0 10px;font-size:10px}.cards{gap:13px}.card-photo{height:200px}.card-body{padding:12px 12px 0}.photo-name{left:12px;bottom:12px}.photo-name strong{font-size:20px}.photo-name span{display:none}.photo-tag{font-size:7px;left:10px;top:10px}.card-bio{font-size:11px;min-height:62px;-webkit-line-clamp:3}.wish-line{font-size:9px;padding:11px 0;margin-top:5px}.card-actions{font-size:9px}.card-actions button{gap:4px}.card-actions button:last-child{font-size:0}.card-actions button:last-child svg{width:18px}.feed-count{font-size:8px}.tabs{gap:21px}footer{margin:0 18px;font-size:8px;line-height:1.8;gap:10px}.editor{padding:20px}.detail-title h1{font-size:26px}.detail-bio{font-size:17px}.modal{padding:28px 23px}.detail-actions .secondary,.detail-actions .primary{padding:10px 12px;font-size:11px}.row-person .secondary{padding:8px}.chat-panel{padding:15px}.chat-log{height:330px}.amounts button{padding:12px 16px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Shared, local-font accessibility and form rhythm. */
:root{color-scheme:dark;--muted:#a0ac96}
body{line-height:1.6;text-rendering:optimizeLegibility}
button,input,textarea,select{line-height:1.5}
button,.primary,.secondary{touch-action:manipulation}
.primary,.secondary{min-height:42px}
button:disabled{cursor:not-allowed}
input,textarea,select{accent-color:var(--green)}
.skip-link{position:fixed;top:12px;left:12px;z-index:300;transform:translateY(-150%);background:var(--green);color:#26341a;padding:12px 18px;border-radius:6px;font-size:13px}
.skip-link:focus{transform:translateY(0)}
.search input{min-height:40px;font-size:12px}
.field,input.field,textarea.field{font-size:13px;line-height:1.7;min-height:44px}
.field::placeholder,input::placeholder,textarea::placeholder{color:#8e9d82;opacity:1}
.editor label,.form-label{font-size:12px;line-height:1.6}
.editor label.check{align-items:flex-start;line-height:1.9}
.check input,.legal-check input{min-width:16px;min-height:16px;flex-shrink:0}
.editor small,.translation-note{font-size:11px;line-height:1.9}
.photo-upload>div:last-child{min-width:0;flex:1}
.photo-upload input[type=file]{max-width:100%;font-size:12px}
.photo-upload input[type=file]::file-selector-button{font:inherit;color:var(--green);background:#273420;border:1px solid #526541;border-radius:5px;padding:9px 12px;margin-right:10px;cursor:pointer}
.detail-bio,.wish-box p,.letter-bio,.letter-wish p{overflow-wrap:anywhere}
.detail-title{gap:18px}.detail-title h1{overflow-wrap:anywhere;min-width:0}
.detail-title>span{flex-shrink:0}
.card-actions button{min-height:40px}
.card-bio{font-size:13px}.wish-line{font-size:11px}
.comment-form .primary{flex-shrink:0}
.comment>div{min-width:0;flex:1}
.modal{scrollbar-width:thin;scrollbar-color:#667953 transparent;overscroll-behavior:contain}
.modal-close{min-width:40px;min-height:40px;display:grid;place-items:center}
.modal .form-label{margin-top:17px}
.modal .primary{min-height:44px}
.modal-switch{min-height:40px}
.legal-check{font-size:11px!important}
.chat-log{padding:4px 5px 12px 0;scrollbar-width:thin;scrollbar-color:#586c46 transparent;overscroll-behavior:contain}
.bubble{font-size:13px;line-height:1.85}
.bubble.mine .translation-note{color:#40562f}
.bubble small{font-size:10px;opacity:.8;margin-top:7px}
.row-person .person-name{min-width:0}
.row-person .person-name strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.row-person .person-name small{font-size:11px;line-height:1.7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row-person>.secondary{flex-shrink:0;min-height:40px}
.ledger-item{gap:16px;align-items:flex-start}
.ledger-item>span{min-width:0;overflow-wrap:anywhere}.ledger-item>strong{flex-shrink:0}
.account{min-height:54px}.account span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.publisher{font-size:11px}.publisher>span{font-size:8px}
#toast{bottom:24px;line-height:1.8;text-align:center;opacity:0;visibility:hidden}
#toast.show{opacity:1;visibility:visible}
@media(max-width:700px){
  .topbar{padding-left:18px;padding-right:18px}
  .top-actions{margin-right:44px}
  .breadcrumb{font-size:10px;min-width:0;gap:6px}
  .breadcrumb>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:145px}
  .language{gap:5px}.language select{font-size:11px}
  .sidebar-bottom{display:block;position:fixed;top:0;bottom:auto;left:auto;right:14px;height:65px;width:36px;z-index:20;margin:0}
  .sidebar-bottom .publisher{display:none}
  .sidebar-bottom .account{height:65px;min-height:65px;border:0;padding:0;gap:0;justify-content:center;width:36px}
  .sidebar-bottom .account>#account-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .sidebar-bottom .account>span:last-child{display:none}
  .sidebar-bottom .account .avatar{width:32px;height:32px}
  .main-wrap{margin-bottom:calc(65px + env(safe-area-inset-bottom))}
  .sidebar{height:calc(65px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}
  .sidebar nav{height:65px;flex-shrink:0}
  .nav-item{min-height:62px}
  .card-bio{font-size:12px;line-height:1.9;min-height:68px}
  .card-actions{height:45px}.card-actions button{min-width:34px}
  .wish-line{font-size:10px}
  .section-heading{gap:12px}.section-heading>span{max-width:45%;text-align:right;line-height:1.7}
  .detail-title{align-items:flex-start}.detail-title>span{font-size:9px;max-width:30%;text-align:right;line-height:1.8;white-space:normal}
  .comments-title{gap:12px;align-items:flex-start;font-size:15px}.comments-title small{max-width:45%;text-align:right;line-height:1.8}
  .editor .photo-upload{gap:12px;align-items:flex-start}.photo-upload img,.photo-upload .placeholder-photo{width:74px;height:88px}
  .photo-upload input[type=file]::file-selector-button{padding:8px;margin-right:6px}
  .row-person{gap:10px}.row-person>.secondary{font-size:11px;padding:9px 11px}
  .chat-header{gap:14px}.chat-header>strong{min-width:0;overflow-wrap:anywhere}.chat-header>button{flex-shrink:0;font-size:11px;min-height:40px}
  .chat-log{height:min(48vh,390px);min-height:240px}
  .modal-backdrop{padding:15px}.modal{max-height:calc(100dvh - 30px);padding:30px 22px 24px}
  .modal h2{font-size:23px;padding-right:20px}.modal .field{font-size:16px}
  .legal-links{flex-wrap:wrap;line-height:1.9}
  #toast{bottom:calc(82px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 32px);font-size:12px;padding:12px 18px}
}
@media(max-width:360px){.breadcrumb>span:last-child{max-width:110px}.topbar{padding-left:14px;padding-right:14px}.cards{gap:10px}.card-body{padding:11px 10px 0}.photo-name strong{font-size:18px}.card-photo{height:180px}.sort-button{padding:0 8px}.tabs{gap:16px}}


/* The account is a body-level fixed control, outside the mobile blurred navigation. */
@media(min-width:1201px){.sidebar-bottom{position:fixed;bottom:20px;left:22px;width:191px;z-index:15}}
@media(min-width:1021px) and (max-width:1200px){.sidebar-bottom{position:fixed;bottom:20px;left:15px;width:175px;z-index:15}}
@media(min-width:701px) and (max-width:1020px){.sidebar-bottom{position:fixed;bottom:20px;left:15px;width:180px;z-index:15}}
@media(min-width:701px) and (max-height:900px){.sidebar-note{display:none}}
