:root{--ink:#14212b;--dark:#101c26;--dark2:#1a2935;--muted:#81909a;--soft:#f4f6f5;--paper:#fff;--line:#e6ebea;--lime:#d8fc68;--teal:#37baad;--shadow:0 13px 40px rgba(17,38,47,.07);--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--soft);color:var(--ink);font:14px/1.65 -apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #75b3b7;outline-offset:3px}button,select{-webkit-tap-highlight-color:transparent}a{color:inherit}.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.app-shell{min-height:100vh;display:flex}.sidebar{background:var(--dark);color:#aebdc5;width:260px;position:sticky;top:0;height:100dvh;flex:none;padding:33px 20px 28px;display:flex;flex-direction:column;z-index:12}.brand-block{display:flex;align-items:center;gap:10px;padding:0 8px}.brand-logo{width:42px;height:42px;border:1px solid #4d5b59;border-radius:13px;display:grid;place-items:center;color:var(--lime);background:#20303a}.brand-logo .icon{width:25px;height:25px}.brand-en{color:#fff;font-weight:900;font-size:15px;line-height:1.2;letter-spacing:-.4px;white-space:nowrap}.brand-en span{color:var(--lime)}.brand-ja{font-size:10px;letter-spacing:.03em;margin-top:3px;color:#9eafb8}.sidebar-kicker{font-size:10px;letter-spacing:2px;margin:64px 16px 16px;color:#657a86;font-weight:800}.desktop-nav{display:grid;gap:7px}.nav-button{appearance:none;width:100%;border:0;background:transparent;color:#aab8be;display:flex;align-items:center;gap:14px;text-align:left;padding:13px 16px;font-weight:700;border-radius:11px;transition:background .18s,color .18s}.nav-button:hover{background:#233440;color:#fff}.nav-button.active{background:#31423d;color:#dcff91}.nav-button.active::after{content:"";width:5px;height:5px;border-radius:50%;background:var(--lime);margin-left:auto}.sidebar-add{border:1px solid #64715b;border-radius:12px;background:#d8fc68;color:#172419;font-weight:900;margin-top:36px;padding:15px 10px;display:flex;align-items:center;justify-content:center;gap:8px}.sidebar-add:hover{background:#ecffa5}.sidebar-foot{margin-top:auto;padding:0 14px;font-size:10px;font-weight:900;letter-spacing:2px;line-height:2;color:#5f7680;display:flex;align-items:center;gap:13px}.sidebar-foot-orb{width:32px;height:32px;border:1px solid #425965;border-radius:50%;position:relative;flex:none}.sidebar-foot-orb:after{content:"";position:absolute;inset:9px;border:1px solid #62726a;border-radius:50%}.workspace{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:79px;padding:0 clamp(24px,4vw,60px);border-bottom:1px solid #e6ecea;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:15px}.topbar-text{font-size:12px;color:#76848b;font-weight:700;display:flex;align-items:center;gap:10px}.topbar-dot{width:7px;height:7px;border-radius:50%;background:var(--teal)}.topbar-actions{display:flex;align-items:center;gap:21px}.topbar-today{font-size:12px;color:#9eaaa9;font-weight:800}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:10px;border:0;padding:11px 17px;font-weight:800;white-space:nowrap;min-height:43px}.btn .icon{width:18px;height:18px}.topbar-create,.btn-dark{background:var(--dark);color:#fff}.topbar-create:hover,.btn-dark:hover{background:#2e4451}.btn-accent{background:var(--lime);color:#182321}.btn-accent:hover{background:#cafa38}.btn-outline{border:1px solid #dce3e0;color:#263a40;background:#fff}.btn-outline:hover{background:#f5f8f6}.btn-danger{border:1px solid #f4cacc;background:#fff0f0;color:#ad4545}.content{padding:34px clamp(24px,4vw,60px) 54px;width:100%;max-width:1660px;margin:0 auto;flex:1}.page{animation:pageIn .22s ease}@keyframes pageIn{from{opacity:.75;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.eyebrow{font-weight:900;letter-spacing:2px;font-size:10px;color:#899a9a}.hero{background:#101c26;border-radius:20px;min-height:286px;position:relative;overflow:hidden;display:flex;justify-content:space-between;isolation:isolate;color:#fff;padding:38px 47px}.hero-background{position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 83% 33%,#25474b 0,#162a34 23%,#101c26 62%)}.hero-orbit{position:absolute;border:1px solid rgba(172,222,205,.16);border-radius:50%;width:440px;height:440px;right:-40px;top:-120px}.hero-orbit-two{width:300px;height:300px;right:30px;top:-47px}.hero-field{position:absolute;right:8%;bottom:-90px;transform:rotate(-23deg);display:flex;gap:60px;opacity:.12}.hero-field i{display:block;width:2px;height:400px;background:#c9e3e0}.hero-copy{position:relative;z-index:1;max-width:650px}.hero-eyebrow{color:var(--lime);display:flex;align-items:center;gap:11px}.eyebrow-line{display:block;width:19px;height:1px;background:var(--lime)}.hero h1{font-size:clamp(31px,3.4vw,45px);line-height:1.36;letter-spacing:.015em;margin:17px 0 11px;font-weight:900}.hero h1 span{color:var(--lime)}.hero p{font-size:12px;line-height:1.95;color:#acbec2;margin:0 0 23px}.hero-btn{border:0;border-radius:8px;background:var(--lime);color:#152321;padding:10px 17px;font-weight:900;display:inline-flex;align-items:center;gap:13px}.hero-btn:hover{background:#ecffa6}.hero-btn .icon{width:17px;height:17px}.hero-graphic{position:absolute;right:7%;top:8%;width:270px;height:270px}.hero-graphic-circle{border-radius:50%;border:1px solid rgba(194,234,223,.24);width:246px;height:246px;display:flex;flex-direction:column;justify-content:center;align-items:center;transform:rotate(12deg);box-shadow:0 0 0 22px rgba(180,217,200,.035),0 0 0 55px rgba(180,217,200,.018)}.hero-graphic-circle span{border:1px solid #a4bea4;border-radius:50px;color:#d3f9a2;font-size:11px;letter-spacing:4px;padding:3px 17px;font-weight:800}.hero-graphic-circle strong{font-size:90px;font-weight:900;letter-spacing:-9px;line-height:1.3;color:#e9f6eb}.hero-graphic-circle small{font-size:9px;letter-spacing:2.8px;color:#9bbaa9;text-align:center;line-height:1.5;font-weight:900}.hero-graphic-spark{position:absolute;top:15px;right:-8px;color:var(--lime);font-size:33px}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:19px}.stat-card{background:#fff;border:1px solid #e6ece9;border-radius:13px;padding:17px 21px;min-height:91px;display:flex;align-items:center;gap:16px}.stat-icon{width:45px;height:45px;border-radius:10px;background:#eff5e8;display:grid;place-items:center;font-size:23px;flex:none}.stat-icon.teal{background:#e7f4f2}.stat-icon.blue{background:#ebf0f7}.stat-content small{font-size:11px;color:#829190;font-weight:700}.stat-content strong{display:block;font-size:29px;line-height:1.2;font-weight:900;letter-spacing:-1.2px}.stat-content strong em{font-size:11px;font-style:normal;color:#889894;margin-left:3px;letter-spacing:0}.section-heading{margin:34px 0 18px;display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.section-heading h2,.plain-header h1{font-size:25px;letter-spacing:-.035em;margin:3px 0 0;font-weight:900}.section-heading p,.plain-header p{font-size:12px;color:#84918f;margin:3px 0 0}.text-button{border:0;background:transparent;color:#3b7271;font-weight:900;font-size:12px;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.text-button .icon{width:14px;height:14px}.content-grid{display:grid;grid-template-columns:minmax(0,1.33fr) minmax(285px,1fr);gap:17px;align-items:stretch}.panel{background:#fff;border:1px solid #e5ece8;border-radius:15px;box-shadow:var(--shadow)}.calendar-panel{padding:24px 23px 19px}.calendar-head,.side-records-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.calendar-small{letter-spacing:2px;font-size:10px;font-weight:900;color:#a2adad}.calendar-head h3{font-size:22px;margin:2px 0 0;font-weight:900;letter-spacing:-.4px}.calendar-controls{display:flex;gap:7px}.icon-btn{border:1px solid #e5ebe8;width:35px;height:35px;border-radius:9px;background:#fff;color:#526468;display:grid;place-items:center;flex:none}.icon-btn:hover{background:#eaf2ee}.icon-btn .icon{width:16px;height:16px}.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.weekdays{margin-bottom:3px}.weekdays span{text-align:center;color:#9eaaa6;font-size:11px;font-weight:800;padding:8px 0}.weekdays span:first-child{color:#df8684}.weekdays span:last-child{color:#77a2cc}.calendar-grid{border-top:1px solid #edf0ee;border-left:1px solid #edf0ee}.day-cell{min-width:0;height:66px;border:0;border-right:1px solid #edf0ee;border-bottom:1px solid #edf0ee;border-radius:0;background:#fff;position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;justify-content:flex-start;padding:9px 2px 5px;color:#45585a;font-size:13px;font-weight:800}.day-cell:hover{background:#f4f8f4}.day-cell.outside{color:#c0c9c6;background:#fafcfb}.day-cell.today .day-number{background:#d9ff6c;border-radius:50%;color:#243523;display:grid;place-items:center;width:25px;height:25px;margin-top:-3px}.day-cell.selected{box-shadow:inset 0 0 0 2px #4b8980;background:#f1faf6;z-index:1}.day-number{line-height:25px}.day-dots{display:flex;gap:3px;justify-content:center;min-height:6px}.day-dots span{width:6px;height:6px;border-radius:50%;display:block}.day-count{position:absolute;top:3px;right:3px;color:#69938d;font-size:9px}.calendar-legend{display:flex;gap:15px;margin-top:17px;font-size:10px;font-weight:750;color:#8c9a96}.calendar-legend span{display:flex;align-items:center;gap:6px}.calendar-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}.legend-record{background:#56aaa1}.legend-today{background:var(--lime);border:1px solid #badc53}.side-records{padding:24px 21px}.side-records-heading{align-items:end;margin-bottom:11px}.side-records h3{font-size:18px;margin:1px 0 0;font-weight:900}.small-view-all{border:0;background:transparent;font-size:11px;font-weight:900;color:#488781;display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.small-view-all .icon{width:12px;height:12px}.recent-entries{display:grid;gap:3px}.recent-item{display:flex;width:100%;text-align:left;align-items:center;gap:13px;padding:14px 0;border:0;border-bottom:1px solid #edf0ef;background:transparent;min-width:0}.recent-item:last-child{border-bottom:0}.recent-item:hover .recent-title{color:#168d80}.recent-cover{width:62px;height:63px;border-radius:10px;background:#e7f1ed;flex:none;overflow:hidden;display:grid;place-items:center;font-size:28px}.recent-cover img{width:100%;height:100%;object-fit:cover}.recent-text{flex:1;min-width:0}.recent-sub{font-size:10px;color:#92a19b;font-weight:800;letter-spacing:.3px}.recent-title{font-size:13px;line-height:1.4;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-venue{font-size:11px;color:#899994;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.recent-arrow{color:#a1afa7;width:15px;height:15px}.empty-recent{text-align:center;padding:45px 10px 40px}.empty-round{margin:0 auto 14px;width:61px;height:61px;background:#eef5ea;border-radius:50%;display:grid;place-items:center;font-size:29px}.empty-recent strong{display:block;font-size:15px}.empty-recent p{color:#899894;font-size:12px;margin:6px auto 15px;max-width:270px}.empty-recent .btn{font-size:12px}.plain-header{margin:14px 0 27px}.plain-header h1{font-size:clamp(30px,4vw,42px)}.plain-header p{font-size:13px}.accent-period{color:var(--teal)}.search-panel{padding:19px 22px}.search-wrap{display:flex;align-items:center;gap:10px;padding:0 13px;border:1px solid #e2e8e6;border-radius:10px;background:#fafcfb;height:47px}.search-wrap .icon{color:#7b9192}.search-wrap input{width:100%;min-width:0;background:transparent;outline:none!important;border:0;font-size:13px}.filter-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.filter-chip{border:1px solid #e0e8e4;padding:7px 12px;border-radius:99px;font-size:11px;font-weight:850;background:#fff;color:#617570}.filter-chip.active{background:var(--dark);border-color:var(--dark);color:#fff}.filter-chip:hover:not(.active){background:#f0f7f4}.list-head{display:flex;align-items:center;justify-content:space-between;margin:25px 0 13px}.list-head h2{font-size:16px;font-weight:900;margin:0}.entries-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.entry-card{overflow:hidden;border-radius:15px;background:#fff;border:1px solid #e3ebe8;text-align:left;display:flex;min-height:172px;padding:0;transition:transform .15s,box-shadow .15s}.entry-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.entry-card-cover{width:36%;flex:none;background:#e8f0ec;display:grid;place-items:center;font-size:47px;overflow:hidden}.entry-card-cover img{width:100%;height:100%;object-fit:cover}.entry-card-body{padding:18px;display:flex;flex-direction:column;min-width:0;flex:1}.entry-card-meta{display:flex;align-items:center;gap:8px;font-weight:850;color:#99a6a2;font-size:10px}.category-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:4px}.entry-card h3{font-size:15px;line-height:1.5;font-weight:900;margin:9px 0 5px;overflow-wrap:anywhere}.entry-card-location{color:#7e928e;font-size:11px;display:flex;gap:4px;align-items:center}.entry-card-location .icon{width:13px;height:13px}.entry-card-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;padding-top:11px;color:#748d86;font-size:11px}.entry-card-foot .icon{width:15px;height:15px}.full-empty{grid-column:1/-1;background:#fff;border:1px dashed #cddbd5;border-radius:16px;padding:50px 15px;text-align:center}.full-empty strong{font-size:18px;display:block;margin:0 0 8px}.full-empty p{color:#7e938c;font-size:12px;margin:0 auto 18px}.full-empty .empty-round{width:69px;height:69px;font-size:32px}.gallery-filter-panel{padding:19px 22px;margin-bottom:23px}.gallery-filter-head{display:flex;align-items:center;justify-content:space-between;color:#8b9995;font-size:11px;font-weight:800;gap:10px}.gallery-filter-head span:first-child{color:#203b39;letter-spacing:1px}.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.gallery-tile{border:0;border-radius:13px;overflow:hidden;aspect-ratio:4/5;padding:0;background:#e6eeeb;position:relative;text-align:left}.gallery-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}.gallery-tile:hover img{transform:scale(1.05)}.gallery-tile:before{content:"";position:absolute;z-index:1;inset:45% 0 0;background:linear-gradient(transparent,rgba(6,15,16,.84))}.gallery-tile-caption{position:absolute;z-index:2;bottom:0;left:0;right:0;color:#fff;padding:16px 12px}.gallery-tile-caption small{font-size:9px;color:#d0e0d9;font-weight:800}.gallery-tile-caption strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.settings-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:17px;align-items:start}.settings-panel{padding:23px}.setting-title{display:flex;gap:14px;align-items:center;margin-bottom:19px}.setting-icon{width:44px;height:44px;background:#eaf1ec;color:#3c746a;border-radius:12px;display:grid;place-items:center;flex:none}.setting-title h2{font-size:16px;margin:0;font-weight:900}.setting-title p{font-size:11px;color:#90a09a;margin:2px 0 0}.category-settings{display:grid;gap:9px}.category-setting-row{display:flex;align-items:center;gap:10px;background:#f7faf8;border:1px solid #edf1ee;border-radius:10px;padding:10px 12px}.setting-emoji{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:#e8efeb}.setting-cat-name{font-size:13px;font-weight:850;flex:1}.setting-cat-count{font-size:10px;color:#97a49d}.setting-cat-remove{background:none;border:0;color:#b65b5b;font-size:11px;font-weight:800;padding:4px}.category-add-form{display:grid;grid-template-columns:minmax(0,1fr) 52px 40px auto;gap:6px;margin-top:16px}.category-add-form input{border:1px solid #e2e9e5;border-radius:8px;padding:10px;min-width:0;background:#fff}.category-add-form input[type=color]{padding:4px;width:40px;height:43px}.category-add-form .btn{padding:9px 12px}.backup-actions{display:flex;flex-wrap:wrap;gap:9px}.hint-box{background:#f5f9f6;color:#7e9189;border-radius:10px;font-size:11px;padding:14px;display:flex;align-items:flex-start;gap:9px;margin:18px 0 0}.hint-box .icon{width:17px;height:17px;flex:none;margin-top:1px}.storage-status{font-size:11px;color:#90a09b;margin-top:13px}.caution-panel{grid-column:2}.danger-icon{background:#fff0ef;color:#ba6565}.footer{text-align:center;color:#bac7c1;font-size:10px;letter-spacing:2.2px;font-weight:900;padding:13px 0 25px}.footer span{color:#acc4b1}.topbar-mobile-brand,.mobile-nav{display:none}.modal-backdrop{position:fixed;inset:0;background:rgba(12,23,30,.72);backdrop-filter:blur(6px);z-index:40;display:flex;align-items:center;justify-content:center;padding:18px}.modal{background:#fff;border-radius:19px;width:min(100%,690px);max-height:min(90dvh,1000px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 25px 95px rgba(0,0,0,.3)}.modal-header{padding:24px 27px 19px;border-bottom:1px solid #ecf0ed;display:flex;justify-content:space-between;align-items:center;gap:15px;position:sticky;top:0;background:#fff;z-index:3}.modal-header h2{margin:2px 0 0;font-size:20px;line-height:1.3;font-weight:900}.modal-close{width:33px;height:33px}.entry-form{padding:23px 27px 27px;display:grid;gap:17px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-field{display:grid;gap:7px;min-width:0}.form-field>span{font-weight:850;color:#4b605f;font-size:12px}.form-field b{font-size:9px;border-radius:4px;background:#e6f7eb;color:#36816b;padding:3px 5px;margin-left:3px}.form-field input:not([type=file]),.form-field select,.form-field textarea{width:100%;border:1px solid #dfe7e4;border-radius:9px;padding:12px 13px;background:#fbfcfb;font-size:13px;color:#1a3030;min-height:45px;min-width:0;outline:none;transition:border .15s}.form-field input:focus,.form-field textarea:focus,.form-field select:focus{border-color:#61a79e}.form-field textarea{resize:vertical;line-height:1.8}.race-fields{padding:17px;border:1px solid #e1dff3;background:#faf9ff;border-radius:11px;display:grid;gap:11px}.race-fields-top{font-size:13px;font-weight:900}.upload-zone{border:1.5px dashed #adbfba;border-radius:12px;background:#f7faf8;padding:22px;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;color:#537a74}.upload-zone .icon{width:29px;height:29px}.upload-zone strong{font-size:13px}.upload-zone small{font-size:11px;color:#99aca5;text-align:center}.upload-zone:hover{border-color:#5aa399;background:#f0faf5}.photo-status{font-size:11px;color:#678d84;margin-top:6px;min-height:0}.photo-previews{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:10px}.photo-preview{position:relative;aspect-ratio:1;min-width:0;background:#eef3f0;border-radius:8px;overflow:hidden}.photo-preview img{width:100%;height:100%;object-fit:cover}.photo-preview button{position:absolute;right:3px;top:3px;border:0;border-radius:50%;background:rgba(12,25,26,.78);color:#fff;width:24px;height:24px;display:grid;place-items:center}.photo-preview .icon{width:12px;height:12px}.form-actions{border-top:1px solid #edf1ef;padding-top:19px;display:flex;justify-content:flex-end;gap:9px}.detail-modal{width:min(100%,720px)}.detail-body{padding:25px 27px 28px}.detail-cover{height:250px;border-radius:12px;background:linear-gradient(125deg,#1e4243,#182a36);overflow:hidden;display:grid;place-items:center;color:#e1fa99;font-size:65px}.detail-cover img{width:100%;height:100%;object-fit:cover}.detail-photos{display:flex;gap:8px;margin-top:9px;overflow-x:auto}.detail-photos img{width:80px;height:70px;object-fit:cover;border-radius:7px;background:#edf2ee}.detail-meta{margin-top:22px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.detail-category{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:5px 12px;background:#e9f3ee;color:#35625b;font-weight:800;font-size:11px}.detail-date{font-size:12px;font-weight:900;color:#83938d}.detail-body h2{font-size:clamp(22px,3vw,30px);font-weight:900;line-height:1.5;margin:11px 0 12px;overflow-wrap:anywhere}.detail-info-row{display:flex;flex-wrap:wrap;gap:10px 20px;color:#768c85;font-size:12px;margin-bottom:17px}.detail-info-row span{display:flex;align-items:center;gap:5px}.detail-info-row .icon{width:15px;height:15px}.detail-memo{white-space:pre-wrap;overflow-wrap:anywhere;color:#3e5351;background:#f6f9f7;border-radius:10px;padding:17px;font-size:13px;line-height:1.85;margin-bottom:19px}.detail-race{padding:14px 18px;background:#faf7ff;border-radius:10px;border:1px solid #ece3f5;margin-bottom:18px}.detail-race h3{font-size:13px;margin:0 0 7px}.detail-race p{margin:4px 0;font-size:12px}.detail-buttons{display:flex;gap:9px;flex-wrap:wrap;padding-top:17px;border-top:1px solid #e8eeea}.detail-buttons .btn{font-size:12px}.detail-buttons .delete-button{margin-left:auto;color:#b75959;border:1px solid #f1dbd9}.toast{position:fixed;bottom:32px;left:50%;transform:translateX(-50%);background:#152c32;color:#fff;border-radius:10px;padding:11px 18px;z-index:90;box-shadow:0 10px 35px #0003;max-width:min(90vw,480px);font-size:12px;text-align:center;font-weight:800}.toast.error{background:#923e3e}.mobile-nav{z-index:20}
@media(max-width:1250px){.sidebar{width:222px;padding-left:14px;padding-right:14px}.brand-en{font-size:13px}.hero-graphic{right:3%;opacity:.67}.content{padding-left:27px;padding-right:27px}.content-grid{grid-template-columns:minmax(0,1.18fr) minmax(250px,1fr)}.stats-grid{gap:10px}.stat-card{padding:15px;gap:10px}.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1050px){.sidebar{width:205px}.sidebar-kicker{margin-top:42px}.content-grid{grid-template-columns:1fr}.side-records{min-height:210px}.recent-entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}.day-cell{height:72px}.settings-layout{grid-template-columns:1fr}.caution-panel{grid-column:auto}}@media(max-width:760px){body{font-size:13px}.sidebar{display:none}.topbar{height:61px;padding:0 17px}.topbar-text,.topbar-today{display:none}.topbar-mobile-brand{display:flex;align-items:center;gap:8px;font-weight:900;letter-spacing:.3px;font-size:13px}.mobile-mark{width:28px;height:28px;display:grid;place-items:center;background:#142630;border-radius:8px;color:#e2fc8e;font-weight:900;font-size:17px;position:relative}.mobile-mark span{font-size:8px;position:absolute;right:3px;top:1px}.topbar-create{padding:7px 11px;min-height:35px;border-radius:8px;font-size:11px}.topbar-create .icon{width:15px;height:15px}.content{padding:18px 14px 98px}.hero{padding:26px 23px;min-height:250px;border-radius:15px}.hero-graphic{width:175px;height:175px;right:-29px;top:30px;opacity:.35}.hero-graphic-circle{width:175px;height:175px}.hero-graphic-circle strong{font-size:65px}.hero h1{font-size:31px;margin:11px 0 9px}.hero p{font-size:10.5px;max-width:300px;margin-bottom:18px}.hero p br{display:none}.hero-btn{font-size:11px;padding:9px 11px}.hero-copy{z-index:2}.hero-eyebrow{font-size:9px}.stats-grid{gap:7px;margin-top:10px}.stat-card{padding:11px 10px;min-height:74px;gap:7px;border-radius:11px;display:block;text-align:center}.stat-icon{width:31px;height:31px;font-size:17px;margin:0 auto 5px;border-radius:8px}.stat-content small{font-size:9px;display:block}.stat-content strong{font-size:21px}.stat-content strong em{font-size:9px}.section-heading{margin-top:25px}.section-heading h2{font-size:22px}.section-heading p{font-size:10px}.section-heading .text-button{font-size:10px}.calendar-panel{padding:16px 11px}.calendar-head{padding:0 4px}.calendar-head h3{font-size:20px}.day-cell{height:57px;font-size:12px;padding-top:6px}.day-number{line-height:23px}.day-cell.today .day-number{width:23px;height:23px;margin:0}.day-dots{gap:2px}.day-dots span{width:5px;height:5px}.calendar-legend{margin-left:5px}.side-records{padding:17px 16px}.recent-entries{grid-template-columns:1fr}.recent-item{padding:11px 0}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;align-items:center;justify-content:space-around;min-height:calc(64px + env(safe-area-inset-bottom));padding:5px 6px calc(6px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #e8ece8;box-shadow:0 -3px 20px #0a211411;backdrop-filter:blur(12px)}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:none;border:0;color:#9aaaab;font-size:9px;font-weight:850;width:20%;min-height:48px}.mobile-nav button.active{color:#24645c}.mobile-nav .icon{width:21px;height:21px}.mobile-nav .mobile-add{width:49px;height:49px;min-height:49px;border-radius:15px;margin-top:-17px;box-shadow:0 5px 18px #5c7e3850;background:var(--lime);color:#16251c}.mobile-nav .mobile-add .icon{height:26px;width:26px}.footer{display:none}.plain-header{margin:10px 4px 21px}.plain-header h1{font-size:30px}.plain-header p{font-size:11px}.entries-list{grid-template-columns:1fr}.entry-card{min-height:158px}.entry-card-body{padding:13px 14px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.gallery-filter-head{font-size:10px}.search-panel,.gallery-filter-panel{padding:14px}.settings-panel{padding:18px}.category-add-form{grid-template-columns:minmax(0,1fr) 42px 35px;gap:7px}.category-add-form .btn{grid-column:1/-1}.modal-backdrop{align-items:flex-end;padding:0}.modal{width:100%;max-height:94dvh;border-radius:19px 19px 0 0;padding-bottom:env(safe-area-inset-bottom)}.modal-header{padding:17px 18px 15px}.modal-header h2{font-size:18px}.entry-form,.detail-body{padding:17px 18px 23px}.form-grid{gap:9px}.form-field input:not([type=file]),.form-field select,.form-field textarea{padding:10px}.form-field>span{font-size:11px}.upload-zone{padding:17px}.photo-previews{grid-template-columns:repeat(4,minmax(0,1fr))}.detail-cover{height:205px}.detail-body h2{font-size:22px}.detail-buttons .delete-button{margin-left:0}.toast{bottom:88px}.backup-actions{display:grid}.backup-actions .btn{white-space:normal}}@media(max-width:350px){.hero h1{font-size:28px}.hero{padding:22px 17px}.stat-content strong{font-size:19px}.day-cell{height:49px}.weekdays span{font-size:10px}.side-records-heading h3{font-size:16px}.form-grid{grid-template-columns:1fr}.detail-buttons{display:grid;grid-template-columns:1fr 1fr}.detail-buttons .btn{font-size:11px}}

.location-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:-11px}.location-tag-button,.location-clear-button{background:#f1f7f4;color:#436b64;border:1px solid #dbece5;border-radius:7px;padding:5px 8px;font-size:10px;font-weight:850}.location-clear-button{background:#fff;color:#889895;border-color:#e4ece8}.location-tools #geoStatus{font-size:10px;color:#8b9c96}.detail-info-row a{color:#327a72;text-decoration:underline;text-underline-offset:3px;font-size:11px;font-weight:850}

/* STADIUM NOTES v2 — compact dashboard and monthly recap */
:root{--soft:#f3f5f2;--shadow:0 5px 22px rgba(17,38,47,.045)}
.hero{min-height:190px;padding:27px 36px;border-radius:18px;align-items:center}
.hero h1{font-size:clamp(27px,3.1vw,40px);margin:9px 0 5px;letter-spacing:-.04em}
.hero p{margin:0 0 15px;font-size:12px}
.hero-graphic{top:50%;transform:translateY(-50%);width:178px;height:178px;right:8%;opacity:1}
.hero-graphic-circle{width:178px;height:178px;transform:none}
.hero-graphic-circle strong{font-size:62px;line-height:1.05;letter-spacing:-4px;font-variant-numeric:tabular-nums;margin:7px 0}
.hero-graphic-circle span{font-size:9px;letter-spacing:1.4px;padding:2px 9px}
.hero-graphic-circle small{letter-spacing:.02em;font-size:10px}
.hero-graphic-spark{font-size:22px;right:0;top:0}
.section-heading{margin-top:25px}
.month-recap{margin-top:21px;padding:17px 0 0;border-top:1px solid var(--line)}
.recap-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.recap-head h4{font-size:16px;font-weight:900;margin:1px 0 0;letter-spacing:-.03em}
.recap-head .text-button{font-size:11px;white-space:nowrap}
.recap-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:13px;background:#f5f7f4;border:1px solid #e9eee8;border-radius:11px;padding:12px 0}
.recap-metrics>div{display:grid;text-align:center;gap:1px;border-right:1px solid #e1e8e2}
.recap-metrics>div:last-child{border:0}
.recap-metrics strong{font-size:22px;line-height:1.2;font-weight:900;font-variant-numeric:tabular-nums}
.recap-metrics span{font-size:10px;color:#60766d;font-weight:700}
.recap-bar{height:7px;border-radius:5px;overflow:hidden;display:flex;gap:2px;margin:14px 0 9px}
.recap-categories{display:flex;flex-wrap:wrap;gap:6px}
.recap-chip{border:1px solid #e2e9e4;background:#fff;border-radius:7px;padding:5px 9px;color:#334c41;font-size:11px;min-height:30px;display:inline-flex;align-items:center;gap:6px;font-weight:700}
.recap-chip:hover{background:#eef6eb}
.recap-chip i{height:8px;width:8px;border-radius:50%}
.recap-chip b{font-variant-numeric:tabular-nums;color:#5b7565}
.recap-chip .icon{width:13px;height:13px}
.recap-empty{color:#71847a;font-size:11px;margin:10px 0 0}
.month-filter{margin-top:9px}
@media(max-width:740px){.hero{padding:19px 17px;min-height:153px;border-radius:13px}.hero h1{font-size:26px;margin:6px 0}.hero p{font-size:10px;max-width:225px;margin-bottom:12px}.hero-graphic{right:12px;width:82px;height:82px;opacity:.96}.hero-graphic-circle{width:82px;height:82px;box-shadow:none}.hero-graphic-circle span{font-size:6px;letter-spacing:.5px;padding:1px 5px}.hero-graphic-circle strong{font-size:33px;letter-spacing:-1px;margin:1px 0}.hero-graphic-circle small{font-size:7px}.hero-graphic-spark{display:none}.hero-copy{max-width:calc(100% - 88px)}.hero-btn{font-size:10px}.hero-background{background:radial-gradient(circle at 90% 50%,#25474b 0,#162a34 30%,#101c26 75%)}.section-heading{margin-top:20px}.month-recap{margin-top:16px;padding-top:13px}.recap-metrics strong{font-size:20px}.recap-metrics span{font-size:10px}}
@media(max-width:350px){.hero-graphic{display:none}.hero-copy{max-width:100%}.hero h1{font-size:25px}}

/* v3: upcoming matchdays */
.plans-panel{margin-top:18px;padding:19px 22px}.plans-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.plans-head h3{font-size:19px;line-height:1.3;letter-spacing:-.03em;margin:2px 0}.plans-head p{font-size:11px;color:#66786e;margin:3px 0 0}.plans-head .btn{white-space:nowrap;font-size:12px;min-height:42px}.plan-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.plan-item{display:flex;gap:11px;padding:12px;border:1px solid #e2e8e4;border-radius:11px;background:#fafbf9;min-width:0}.plan-date{flex:0 0 48px;height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#edf4e9;border-radius:8px;color:#244738}.plan-date b{font-size:23px;line-height:1.05;font-variant-numeric:tabular-nums}.plan-date small{font-size:10px}.plan-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.plan-main strong{font-size:14px;overflow-wrap:anywhere;line-height:1.4}.plan-meta,.plan-venue{font-size:11px;color:#596d63;overflow-wrap:anywhere}.plan-past{color:#8a4e1d;background:#f8eadc;padding:1px 5px;border-radius:4px}.plan-memo{font-size:11px;color:#66786e;white-space:pre-wrap;overflow-wrap:anywhere;margin:2px 0}.plan-actions{display:flex;align-items:center;gap:7px;margin-top:7px;flex-wrap:wrap}.plan-actions .btn{font-size:11px;padding:6px 8px;min-height:34px}.plan-actions .icon{width:15px;height:15px}.plan-icon{background:white;color:#40574c;border:1px solid #e2e8e4;border-radius:7px;display:grid;place-items:center;width:34px;height:34px}.plan-delete{color:#985252}.plan-empty{grid-column:1/-1;color:#66786e;font-size:12px;padding:12px 0}#planMore{margin:12px 0 0}.day-cell{position:relative}.calendar-plan-marker{position:absolute;top:5px;right:5px;min-width:9px;height:9px;border:1.5px solid #258477;border-radius:2px;background:#fff;color:#166659;font-size:8px;line-height:11px;font-weight:800;text-align:center}.calendar-plan-marker:not(:empty){height:14px;min-width:14px;padding:0 1px}.legend-plan{display:inline-block;width:9px;height:9px;border:1.5px solid #258477;border-radius:2px;background:#fff}.calendar-legend{flex-wrap:wrap}.has-plan.selected .calendar-plan-marker{border-color:#0d7667}.plan-actions button:focus-visible{outline-offset:2px}@media(max-width:760px){.plans-panel{margin-top:12px;padding:14px}.plan-list{grid-template-columns:1fr}.plans-head h3{font-size:17px}.plans-head .btn{padding:8px 10px}.plan-item{padding:10px}.calendar-plan-marker{top:3px;right:3px}.calendar-legend{gap:8px}}
/* v4: personal home cover */
.hero-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-1;pointer-events:none}.hero-cover-shade{display:none;position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(8,18,28,.87) 0%,rgba(8,18,28,.60) 53%,rgba(8,18,28,.24) 100%)}.hero.has-cover .hero-cover-shade{display:block}.hero.has-cover .hero-background{display:none}.hero.has-cover .hero-copy h1,.hero.has-cover .hero-copy p{text-shadow:0 1px 6px #101c26aa}.hero-cover-button{position:absolute;right:13px;bottom:12px;z-index:4;border:1px solid #ffffff44;border-radius:8px;background:#101c26aa;color:white;display:flex;align-items:center;gap:5px;padding:7px 10px;font-size:11px;min-height:34px;backdrop-filter:blur(7px)}.hero-cover-button .icon{width:15px;height:15px}.hero-cover-button:hover{background:#101c26ee}.hero.has-cover .hero-graphic-circle{background:#101c2677;backdrop-filter:blur(3px)}.cover-preview{position:relative;aspect-ratio:3/1;min-height:90px;overflow:hidden;border-radius:10px;margin:12px 0;background:radial-gradient(circle at 80% 40%,#25474b,#101c26 72%);display:grid;place-items:center;color:#e2ece5;font-size:12px}.cover-preview img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.hero{min-height:208px}.hero-copy{padding-bottom:4px}@media(max-width:760px){.hero{min-height:186px;padding-bottom:48px}.hero-graphic{top:43%;right:15px}.hero-cover-button{bottom:9px;right:10px;min-height:36px}.hero-cover-shade{background:linear-gradient(90deg,rgba(8,18,28,.86),rgba(8,18,28,.40))}}