@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500;600&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');
:root{--ink:#171717;--muted:#6f6a68;--line:#e6dfdc;--rose:#c88d7c;--rose-dark:#ad7263;--cream:#fffaf7;--green:#159447;--danger:#d84a3a;--shadow:0 12px 34px rgba(62,42,34,.08)}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:'Noto Sans JP',sans-serif;background:#fafafa}button,input,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}.topbar{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-bottom:1px solid #eee;padding:14px 20px}.topbar-inner{max-width:1180px;margin:auto;display:flex;align-items:center;gap:12px}.brand{font-weight:700;font-size:20px}.brand small{font-weight:400;color:#777}.spacer{flex:1}.btn{border:1px solid #d8d8d8;background:white;border-radius:12px;padding:10px 15px;font-weight:600}.btn.primary{background:#171717;color:white;border-color:#171717}.btn.rose{background:var(--rose);color:white;border-color:var(--rose)}.btn.danger{color:var(--danger)}.container{max-width:1180px;margin:28px auto;padding:0 18px}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.pill{border:1px solid #d9d9d9;padding:9px 20px;border-radius:999px;background:white}.pill.active{background:#171717;color:white;border-color:#171717}.sort{display:flex;align-items:center;gap:10px;margin:12px 0 26px}.sort select,.field input,.field select{border:1px solid #ddd;border-radius:12px;padding:13px 14px;background:white;width:100%}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:22px}.card{background:white;border:1px solid #eee;border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}.cover{aspect-ratio:16/10;background:#eee;position:relative;overflow:hidden}.cover img{width:100%;height:100%;object-fit:cover}.status{position:absolute;right:14px;top:14px;background:white;border-radius:999px;padding:6px 12px;font-weight:700;color:var(--green)}.status.expired{color:#8b6e62}.status.private{color:#777}.card-body{padding:18px}.card-title{font-size:20px;font-weight:700;margin-bottom:6px}.meta{color:#666;margin:5px 0}.switchline{display:flex;align-items:center;gap:10px;margin:14px 0}.switch{width:54px;height:30px;border-radius:999px;background:#ddd;position:relative}.switch:after{content:'';width:24px;height:24px;background:white;position:absolute;top:3px;left:3px;border-radius:50%;transition:.2s;box-shadow:0 1px 4px #999}.switch.on{background:#16a34a}.switch.on:after{left:27px}.cover-select{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;margin:10px 0}.urlrow{display:grid;grid-template-columns:1fr auto auto;gap:8px;margin-top:12px}.urlbox{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid #e3e3e3;padding:11px;border-radius:11px;color:#777}.actions{display:flex;gap:9px;margin-top:12px;flex-wrap:wrap}.menu{position:absolute;z-index:50;background:white;border:1px solid #ddd;border-radius:18px;box-shadow:0 18px 40px rgba(0,0,0,.15);padding:8px;min-width:230px}.menu button{display:block;width:100%;text-align:left;border:0;background:white;padding:13px;border-radius:10px}.menu button:hover{background:#f5f5f5}.menu .danger{color:var(--danger)}.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.38);z-index:80;display:flex;align-items:center;justify-content:center;padding:18px}.modal{background:white;border-radius:24px;width:min(680px,100%);max-height:90vh;overflow:auto;padding:26px}.modal h2{margin:0 0 22px}.field{margin:16px 0}.field label{display:block;font-weight:700;margin-bottom:8px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.progress{height:10px;border-radius:999px;background:#eee;overflow:hidden}.progress>div{height:100%;background:#222;width:0}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}.photo-item{position:relative;aspect-ratio:1/1;background:#eee;overflow:hidden;border-radius:9px}.photo-item img,.photo-item video{width:100%;height:100%;object-fit:cover}.photo-item.selected{outline:4px solid var(--rose)}.photo-item .check{position:absolute;right:7px;top:7px;background:white;border-radius:999px;padding:4px 7px;font-weight:700}.hero-img{width:100%;max-width:1000px;margin:0 auto;display:block}.customer{background:#fffaf7;min-height:100vh}.password-wrap{max-width:760px;margin:auto;text-align:center;padding:24px 18px 80px}.lock{width:84px;height:84px;border-radius:50%;background:#f3dfd8;margin:20px auto;display:grid;place-items:center;font-size:38px;color:var(--rose-dark)}.customer h1{font-weight:400;color:#9b756d;font-size:clamp(25px,5vw,42px)}.customer .lead{color:#9b756d;line-height:1.8}.password-box{max-width:580px;margin:28px auto}.password-box input{width:100%;padding:18px;border:1px solid #e7cfc7;border-radius:14px;text-align:center;font-size:18px;background:white}.big-rose{width:100%;padding:17px;border:0;border-radius:14px;background:var(--rose);color:white;font-size:18px;font-weight:700;margin-top:16px;box-shadow:0 10px 24px rgba(187,123,104,.2)}.album-page{background:#fff}.album-head{max-width:960px;margin:0 auto;padding:42px 18px;text-align:center}.album-head h1{color:#9b756d;font-weight:400}.chips{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:18px 0}.chip{border:1px solid #e8d3cc;border-radius:999px;padding:10px 18px;color:#8f6b63;background:white}.download-main{border:0;border-radius:999px;background:var(--rose);color:white;padding:15px 30px;font-weight:700}.album-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:white}.album-grid .tile{position:relative;overflow:hidden;background:#eee;min-height:150px}.album-grid img,.album-grid video{display:block;width:100%;height:100%;object-fit:cover}.selectbar{position:sticky;top:0;z-index:20;background:white;border-bottom:1px solid #eee;padding:10px 16px;display:flex;align-items:center;gap:10px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#222;color:white;padding:11px 18px;border-radius:999px;z-index:200}.login-card{max-width:430px;margin:12vh auto;background:white;padding:28px;border-radius:22px;box-shadow:var(--shadow)}.login-card input{width:100%;padding:14px;border:1px solid #ddd;border-radius:12px;margin:14px 0}.empty{padding:40px;text-align:center;color:#777}.expired-box{max-width:650px;margin:12vh auto;text-align:center;padding:36px 24px}.expired-box h1{color:#8f6b63}.file-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}.file-choice{aspect-ratio:1;background:#eee;border-radius:10px;overflow:hidden;position:relative}.file-choice img{width:100%;height:100%;object-fit:cover}.file-choice button{position:absolute;inset:0;border:0;background:transparent}.file-choice.active{outline:4px solid var(--rose)}
@media(max-width:680px){.container{padding:0 10px}.cards{grid-template-columns:1fr}.topbar{padding:10px}.brand{font-size:17px}.hide-mobile{display:none}.grid2{grid-template-columns:1fr}.urlrow{grid-template-columns:1fr 1fr}.urlbox{grid-column:1/-1}.album-grid{grid-template-columns:repeat(2,1fr)}.album-grid .tile{min-height:180px}.modal{padding:20px;border-radius:20px}.customer h1{font-size:28px}.album-head{padding-top:24px}}
