:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;color:#23374b;background:#f5f8fb;font-synthesis:none;-webkit-tap-highlight-color:transparent}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;}body{overscroll-behavior-y:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8bc5e2;outline-offset:2px}a{color:#397eaa}textarea{resize:vertical}.hidden{display:none!important}
.shell{min-height:100dvh;max-width:650px;margin:0 auto;padding:0 18px calc(105px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#f1f7fc 0,#f5f8fb 260px,#f5f8fb 100%)}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:calc(22px + env(safe-area-inset-top)) 3px 19px}.eyebrow{font-size:11px;letter-spacing:.21em;font-weight:800;color:#6ba6c6;margin:0 0 6px}.brand{margin:0;font-size:25px;letter-spacing:.03em;font-weight:800}.topright{font-size:12px;color:#7f99a8;text-align:right}.demo-label{display:inline-flex;align-items:center;border:1px solid #bddced;color:#317ba1;border-radius:20px;font-weight:700;font-size:11px;padding:5px 8px;background:white}
.intro{margin:2px 3px 18px;color:#8798a8;font-size:13px;line-height:1.7}.panel{background:white;border:1px solid #e5edf3;box-shadow:0 8px 24px rgba(67,103,130,.035);border-radius:24px;padding:19px;margin:0 0 15px}.panel.soft{background:#f9fcfe}.panel h2{font-size:17px;margin:0 0 14px;letter-spacing:.01em}
.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:26px 3px 12px}.section-head h2{margin:0;font-size:17px}.section-head span{color:#98a7b3;font-size:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #cfe1ec;color:#3f7392;border-radius:16px;background:#fff;padding:11px 14px;font-weight:700;min-height:42px}.btn.primary{background:#67adcf;border-color:#67adcf;color:white;box-shadow:0 5px 13px rgba(71,143,181,.18)}.btn.small{padding:8px 11px;min-height:35px;font-size:13px;border-radius:12px}.btn.ghost{border-color:transparent;background:transparent;box-shadow:none}.btn.danger{color:#c75f65;border-color:#f0d1d5;background:#fff8f8}.btn.wide{width:100%}.btn:active{transform:translateY(1px)}.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.actions.spread{justify-content:space-between}.muted{color:#91a0ac}.hint{font-size:12px;line-height:1.8;color:#8597a6}.warning{background:#fff8ee;border:1px solid #f4e6ca;color:#94703e;border-radius:13px;padding:12px;font-size:12px;line-height:1.7;margin-bottom:14px}.notice{background:#edf6fc;border:1px solid #cde5f4;color:#4f7690;border-radius:13px;padding:12px;font-size:12px;line-height:1.7;margin-bottom:14px}
.hero{padding:23px 20px;text-align:center;position:relative;background:linear-gradient(160deg,#fff 0%,#fff 70%,#f5fafe 100%)}.hero::before{content:"❄";position:absolute;top:16px;right:21px;font-size:30px;color:#e2f1f9}.hero .avatar{margin:0 auto 13px;width:100px;height:100px;font-size:32px}.current-title{font-size:26px;font-weight:800;margin:4px 0 7px}.subline{color:#8296a5;font-size:13px;line-height:1.7}.metric-row{display:flex;justify-content:center;gap:10px;margin:21px 0 13px}.metric{flex:1;background:#f5fafd;border:1px solid #e5f0f7;border-radius:15px;padding:12px 6px}.metric b{display:block;font-size:15px;margin-top:5px}.metric span{font-size:12px;color:#7d94a3}.hero-note{text-align:left;background:#f8fafc;border-radius:14px;padding:12px 14px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;min-height:46px;margin:14px 0 20px}.hero-empty{padding:24px 0 8px}.avatar{width:52px;height:52px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:linear-gradient(150deg,#d9effa,#b7dbee);color:#327a9e;font-weight:800;box-shadow:0 2px 9px rgba(87,128,158,.1);border:3px solid #fff}.avatar img{width:100%;height:100%;object-fit:cover}.avatar.sml{width:42px;height:42px}.avatar.large{width:73px;height:73px;font-size:27px}.avatar.placeholder{background:#e8eff4;color:#7693a4}
.list-card{background:#fff;border:1px solid #e5edf3;border-radius:22px;overflow:hidden;margin-bottom:15px}.list-row{display:flex;align-items:center;gap:12px;padding:14px 14px;min-height:78px;border-bottom:1px solid #edf1f4}.list-row:last-child{border-bottom:0}.row-main{min-width:0;flex:1}.row-title{font-weight:800;font-size:15px;overflow-wrap:anywhere}.row-title small{font-weight:500;color:#9ba9b4;margin-left:7px}.row-sub{font-size:12px;line-height:1.65;color:#899aa8;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px}.right-col{flex:0 0 auto;text-align:right}.tiny-action{border:0;background:transparent;color:#6c9fba;font-weight:700;padding:8px;font-size:13px}.timeline-date{font-size:13px;font-weight:700;color:#7892a3;margin:25px 5px 10px}.duration{font-size:11px;color:#a3b0ba;white-space:nowrap}.empty-card{text-align:center;padding:29px 20px;color:#7f95a4;font-size:13px;line-height:1.9}.empty-icon{font-size:28px;opacity:.5;margin-bottom:7px}
.note-card{padding:14px;background:#f8fafc;border:1px solid #e8eef3;border-radius:15px;margin-top:14px}.field{display:block;margin:13px 0}.field span{display:block;font-size:12px;color:#607c90;font-weight:700;margin-bottom:7px}.field input,.field textarea,.field select{width:100%;border:1px solid #dae6ed;color:#2c4354;background:white;border-radius:12px;padding:12px 13px;min-height:46px;font-size:15px}.field textarea{min-height:96px}.field input[type=file]{padding:11px;font-size:12px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.switches{margin-top:10px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e9eff4}.toggle-row:last-child{border:0}.toggle-row b{display:block;font-size:13px}.toggle-row small{display:block;color:#879aa8;font-size:11px;line-height:1.65;max-width:250px}.toggle-row input{accent-color:#67adcf;inline-size:22px;block-size:22px;flex:0 0 auto}
.nav{position:fixed;bottom:0;left:0;right:0;z-index:15;background:rgba(255,255,255,.97);border-top:1px solid #dfebf2;box-shadow:0 -6px 25px rgba(31,68,99,.04);padding:10px 10px calc(10px + env(safe-area-inset-bottom));display:flex;justify-content:center}.nav-inner{max-width:650px;display:grid;grid-template-columns:repeat(5,1fr);width:100%}.nav button{background:transparent;border:0;color:#9aaeba;padding:6px 0;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;min-height:52px}.nav svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}.nav button.active{color:#4c9bc4;font-weight:800}.nav button.active svg{stroke-width:2.4}
.overlay{position:fixed;inset:0;z-index:40;background:rgba(23,45,60,.45);display:flex;align-items:flex-end;justify-content:center;padding-top:20px}.modal{background:#fff;border-radius:25px 25px 0 0;padding:20px 20px calc(20px + env(safe-area-inset-bottom));width:100%;max-width:650px;max-height:93dvh;overflow-y:auto;box-shadow:0 -8px 30px rgba(21,52,79,.13)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:14px}.modal-head h2{font-size:19px;margin:0}.xbtn{border:0;background:#f0f5f8;border-radius:50%;width:37px;height:37px;color:#587b90;font-size:21px}.modal hr{border:0;border-top:1px solid #edf0f4;margin:18px 0}.profile-detail{white-space:pre-wrap;overflow-wrap:anywhere;color:#536e7e;font-size:14px;line-height:1.8}.account-badge{font-size:12px;font-weight:700;color:#6d91a7}.code-box{display:flex;align-items:center;justify-content:space-between;background:#f3f9fd;border:1px dashed #a5cee2;border-radius:15px;padding:13px;gap:8px}.code-box b{letter-spacing:.13em;font-size:16px;overflow-wrap:anywhere}.friend-card{padding:16px}.friend-card+.friend-card{margin-top:11px}.pill{border-radius:50px;padding:5px 10px;display:inline-block;background:#ecf6fb;color:#4c91b6;font-size:11px;font-weight:700}.pill.gray{background:#f3f5f6;color:#8195a1}.pill.light{background:#f0f7ed;color:#639570}.friend-status{display:flex;align-items:center;gap:12px;padding:14px 0 8px}.friend-status .avatar{width:62px;height:62px}.friend-status b{font-size:18px}.splitline{height:1px;background:#edf1f4;margin:14px 0}.friends-heading{font-size:14px;margin:6px 0 13px;font-weight:700}.friend-group{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.friend-persona{border:1px solid #e8eef3;border-radius:15px;padding:12px;display:flex;gap:11px;align-items:flex-start;margin:10px 0}.friend-persona .row-sub{margin-top:7px}.auth-shell{max-width:460px;min-height:100dvh;margin:auto;padding:10dvh 24px 30px;background:linear-gradient(#f0f8fe,#fff)}.auth-heading{text-align:center;font-size:30px;font-weight:800;margin-top:0}.auth-emoji{font-size:48px;text-align:center;margin-bottom:11px;color:#7db6d4}.auth-shell .panel{padding:22px}.auth-shell .field{margin:17px 0}.auth-help{text-align:center;color:#7e98a9;font-size:12px;line-height:1.8}.boot{font-size:14px;color:#7d9cab;min-height:100dvh;display:flex;align-items:center;justify-content:center}.toast{position:fixed;z-index:60;bottom:calc(92px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#2b4a5d;color:white;border-radius:14px;padding:13px 17px;font-size:13px;line-height:1.5;max-width:min(90vw,520px);box-shadow:0 9px 30px rgba(0,0,0,.17)}.spinner{display:inline-block;border:2px solid #dbeef8;border-top-color:#529fc5;border-radius:50%;width:15px;height:15px;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:700px){.nav{left:50%;right:auto;transform:translateX(-50%);width:650px;border-left:1px solid #e4edf3;border-right:1px solid #e4edf3}.shell{border-left:1px solid #e7edf4;border-right:1px solid #e7edf4}.overlay{align-items:center}.modal{border-radius:24px;max-height:90vh;padding-bottom:25px}}
@media(max-width:360px){.field-grid{grid-template-columns:1fr}.btn{padding:10px}.list-row{padding:12px 9px;gap:8px}.duration{display:none}.brand{font-size:23px}}

.hero .avatar.large{width:106px;height:106px;font-size:36px}
[data-profile-name][hidden]{display:none}
