@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600;700&family=Noto+Sans+JP:wght@400;600;700&family=Noto+Sans+KR:wght@400;600;700&family=Noto+Sans+SC:wght@400;600;700&family=Noto+Sans+TC:wght@400;600;700&family=Noto+Sans+Thai:wght@400;600;700&display=swap');
:root{color-scheme:dark;--bg:#151624;--panel:#212235;--line:#37384c;--pink:#ff91b3;--muted:#b1b0c3;--text:#f6f3f8}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:'Outfit','Noto Sans JP',sans-serif;font-size:16px}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;color:inherit;background:none}button:focus-visible,a:focus-visible{outline:2px solid var(--pink);outline-offset:4px}button:hover{filter:brightness(1.12)}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;padding:40px 26px;background:#191a2b;border-right:1px solid #2b2c40;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:white;font-size:24px;font-weight:600;letter-spacing:-1px}.brand-mark{font-size:38px;font-style:italic;color:var(--pink);position:relative;line-height:1}.brand-mark span{font-size:17px;position:absolute;top:-5px;right:-8px}.brand-note{font-size:12px;color:var(--muted);margin:15px 0 48px}nav{display:grid;gap:12px}nav button{text-align:left;padding:16px;border-radius:12px;color:var(--muted);font-size:15px}nav button span{display:inline-block;width:30px;font-size:22px;vertical-align:middle}nav .active{color:var(--pink);background:#352538}.side-bottom{margin-top:auto}.side-bottom p{font-size:13px;line-height:2;color:#a5a1b6}.side-bottom button{padding:20px 0}.side-bottom small{display:block;border-top:1px solid var(--line);padding-top:24px;font-size:10px;letter-spacing:2px;color:#878398}main{margin-left:250px;max-width:1550px;padding:44px 58px 30px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--muted)}h1{font-size:27px;margin:12px 0 0;font-weight:600}h2{font-size:21px;margin:0}h3{margin:0;font-size:17px}.quiet{border:1px solid var(--line);border-radius:10px;padding:12px 17px;font-size:14px}.tabs{display:flex;gap:12px;margin-bottom:28px;overflow:auto}.tabs button,.chip{border:1px solid var(--line);border-radius:30px;padding:10px 20px;white-space:nowrap;font-size:14px}.tabs .selected,.chip.selected{background:var(--pink);border-color:var(--pink);color:#241a29}.hero{border:1px solid #4b344b;border-radius:20px;padding:34px;background:radial-gradient(ellipse at 80% 30%,#51304655,transparent 70%),#232235;position:relative;overflow:hidden;min-height:220px}.hero .overline{font-size:14px;color:#d0bbc9}.hero h2{font-size:29px;line-height:1.6;margin:10px 0}.hero h2 b{color:var(--pink);font-family:Outfit,sans-serif;font-size:52px;font-weight:500}.hero p{color:var(--muted);font-size:14px;line-height:1.9;max-width:70%;margin:10px 0 0}.hero-art{position:absolute;right:38px;top:36px;width:150px;height:150px;border:1px solid #a76c8c55;border-radius:50%;transform:rotate(-28deg)}.hero-art:before,.hero-art:after{content:'';position:absolute;border:1px solid #a76c8c66;border-radius:50%;inset:20px -30px}.hero-art:after{inset:-15px 40px}.hero-art span{position:absolute;color:var(--pink);font-size:35px;top:48px;left:57px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:32px 0 18px}.section-title small{font-size:12px;color:var(--muted)}.section-title button{font-size:14px;color:var(--pink)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0 28px}.stat{background:var(--panel);padding:23px;border:1px solid #2e2d42;border-radius:14px}.stat .icon{color:var(--pink);font-size:21px}.stat p{font-size:13px;color:var(--muted);margin:14px 0 10px}.stat b{font-size:34px;font-weight:500}.stat small{margin-left:5px;color:var(--muted);font-size:12px}.grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:24px}.card{background:var(--panel);border:1px solid #303045;border-radius:16px;padding:25px}.empty{text-align:center;padding:38px 14px}.empty .empty-icon{font-size:34px;color:var(--pink);display:block;margin-bottom:16px}.empty p{color:var(--muted);font-size:14px;line-height:1.9}.primary{background:var(--pink);color:#251c2b;padding:13px 22px;border-radius:10px;font-size:14px;font-weight:600}.empty .primary{margin-top:10px}.next{border:1px solid #5d3b53;padding:24px;border-radius:16px;margin-bottom:24px;background:#252135}.next .overline{color:var(--pink);font-size:13px}.next h3{margin:14px 0 8px}.next p{color:var(--muted);font-size:14px;margin-bottom:0}.next b{font-size:38px;color:var(--pink)}.route-preview{position:relative;overflow:hidden;min-height:230px}.route-preview canvas{width:100%;height:170px;object-fit:contain}.route-preview p{font-size:13px;color:var(--muted);line-height:1.8}.route-preview button{width:100%;margin-top:10px}.row{display:flex;gap:18px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}.row:last-child{border-bottom:0}.date{min-width:54px;text-align:center;color:var(--muted);font-size:12px}.date b{display:block;font-size:28px;color:var(--text);font-weight:500}.row-body{flex:1;min-width:0}.row-body h3{overflow-wrap:anywhere;font-size:16px}.row-body p{font-size:13px;color:var(--muted);margin:8px 0 0;line-height:1.8}.badge{font-size:12px;border-radius:5px;padding:4px 7px;display:inline-block;background:#3c2b41;color:var(--pink);margin-bottom:9px}.row-actions{display:flex;gap:8px}.row-actions button{font-size:13px;color:var(--muted)}footer{display:flex;justify-content:space-between;padding:35px 0;color:#a7a2b7;font-size:12px;gap:20px}.fab{position:fixed;bottom:28px;right:32px;border-radius:40px;background:var(--pink);color:#291d2e;padding:17px 25px;box-shadow:0 8px 28px #0005;font-size:22px;z-index:5}.fab span{font-size:14px;font-weight:600;margin-left:6px}dialog{border:1px solid var(--line);border-radius:20px;background:#202133;color:var(--text);padding:28px;width:min(560px,calc(100% - 24px));max-height:90dvh}dialog::backdrop{background:#080a16bd;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.dialog-head button{font-size:28px}.dialog-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:28px}label{display:block;font-size:14px;color:#d9d3df;margin:18px 0 8px}input,select,textarea{display:block;width:100%;padding:13px;background:#171827;border:1px solid #444157;border-radius:9px;color:white;font-size:16px}input[type=checkbox]{display:inline;width:auto;accent-color:var(--pink);margin-right:10px}input[type=color]{height:45px;padding:5px}textarea{resize:vertical;min-height:85px}.hint{font-size:12px;color:var(--muted);line-height:1.8}.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.memory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.memory img{width:100%;height:190px;object-fit:cover;border-radius:10px;margin-bottom:16px}.memory p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);font-size:14px;line-height:1.8}.memory .row-actions{margin-top:20px}.filters{display:flex;gap:10px;margin-bottom:24px}.map-wrap{max-width:650px;margin:auto}.map-wrap canvas{width:100%;border-radius:18px;border:1px solid var(--line)}.map-actions{display:flex;gap:12px;margin-top:20px}.settings{max-width:650px}.settings .primary{margin-top:25px}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);padding:14px 24px;background:#fff;color:#222;border-radius:10px;opacity:0;pointer-events:none;z-index:20;transition:opacity .2s;font-size:14px;width:max-content;max-width:90vw}#toast.show{opacity:1}.danger{color:#ffb2ba!important}.photo{height:60px;width:60px;object-fit:cover;border-radius:8px}.welcome-actions{margin-top:22px;display:flex;gap:12px}.caption{margin-top:24px}.setting-line{border-top:1px solid var(--line);margin-top:30px;padding-top:20px}select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#aaa 50%),linear-gradient(135deg,#aaa 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 15px) 50%;background-size:5px 5px;background-repeat:no-repeat;padding-right:32px}
@media(min-width:1500px){main{margin-right:auto}}@media(max-width:1100px){.sidebar{width:210px;padding:32px 20px}main{margin-left:210px;padding:35px 30px}.stats{gap:10px}.stat{padding:18px}.grid{grid-template-columns:1fr}.memory-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.sidebar{position:fixed;top:auto;bottom:0;width:100%;height:72px;padding:0 8px;border-right:0;border-top:1px solid var(--line);z-index:9;background:#191a2bf5}.sidebar>.brand,.brand-note,.side-bottom{display:none}nav{display:flex;justify-content:space-around;gap:0;height:100%}nav button{font-size:10px;padding:9px 10px;border-radius:0;min-width:70px;text-align:center}nav button span{display:block;width:auto;font-size:22px;margin-bottom:3px}nav .active{background:none}main{margin:0;padding:28px 20px 95px}header{gap:12px;margin-bottom:22px}header .eyebrow{font-size:8px;letter-spacing:1.4px}h1{font-size:23px}.quiet{font-size:12px;padding:10px}.hero{padding:24px;min-height:230px}.hero h2{font-size:23px}.hero h2 b{font-size:42px}.hero p{max-width:85%;font-size:13px}.hero-art{right:-60px;opacity:.55}.stats{grid-template-columns:1fr 1fr;gap:12px}.stat{padding:18px}.stat b{font-size:31px}.stat p{margin:8px 0}.grid{gap:18px}.card{padding:20px}.fab{bottom:88px;right:18px;padding:13px 20px}.fab span{font-size:13px}footer{display:block;padding-bottom:65px}footer span{display:block;margin-top:8px}.memory-grid{grid-template-columns:1fr 1fr;gap:12px}.memory{padding:14px}.memory img{height:140px}.row{gap:12px}.row-actions{flex-direction:column}.two{grid-template-columns:1fr}.tabs button{padding:8px 16px}.section-title h2{font-size:18px}.map-actions{flex-wrap:wrap}}
.header-actions{display:flex;gap:8px;align-items:center}.mobile-settings{display:none}@media(max-width:700px){.mobile-settings{display:block}header .header-actions{gap:5px}.header-actions .quiet{padding:9px 7px}}

.tabs button{display:inline-flex;align-items:center;gap:9px}.tab-avatar{width:28px;height:28px;object-fit:cover;border-radius:50%;flex:none}.person-portrait{float:right;width:180px;height:220px;object-fit:cover;object-position:center 25%;border-radius:16px;margin:0 0 12px 28px;border:1px solid #d590b650;box-shadow:0 12px 35px #0003}.hero.has-portrait{display:flow-root}.hero.has-portrait h2{overflow-wrap:anywhere}.hero.has-portrait p{max-width:none}.photo-preview{display:block;width:160px;height:180px;object-fit:contain;background:#171827;border:1px solid var(--line);border-radius:12px;margin:24px auto 8px}.photo-preview[hidden]{display:none}@media(max-width:700px){.person-portrait{float:none;display:block;width:100%;height:240px;object-fit:contain;margin:0 0 22px;background:#191827}.hero.has-portrait p{max-width:100%}}

:root{--user-font:"Noto Sans","Noto Sans Thai","Noto Sans KR","Noto Sans JP","Noto Sans SC","Noto Sans TC",sans-serif}body{font-family:var(--user-font)}[lang=th]{font-family:"Noto Sans Thai",var(--user-font);line-height:1.8}[lang=ko]{font-family:"Noto Sans KR",var(--user-font)}[lang=zh]{font-family:"Noto Sans SC","Noto Sans TC",var(--user-font)}bdi{letter-spacing:normal}.hero h2,.row-body h3{line-height:1.8}input,textarea{line-height:1.8}.city-picker{margin:22px 0;padding:18px;border:1px solid var(--line);border-radius:12px;min-width:0}.city-picker legend{font-size:14px;padding:0 6px}.city-picker .filters{margin-bottom:12px}.city-picker select{margin-top:10px}.city-add{margin-top:12px}.city-picker .hint{line-height:1.8}.city-picker [hidden]{display:none}.map-status{min-height:1.8em;color:var(--muted);font-size:14px}button:disabled{cursor:wait;opacity:.5}

.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.analytics{margin:30px 0 38px}.theme-filters{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.theme-filters .chip{font-size:14px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.theme-add{border-style:dashed;color:var(--pink)}.report-period{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:16px 0}.report-total{font-size:14px;color:var(--muted);white-space:nowrap}.report-total strong{color:var(--pink)}.report-total b{color:var(--text)}.report-actions{display:flex;gap:12px;margin-bottom:24px}.report-actions .primary{flex:1}.chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.chart-card{min-width:0;padding:24px}.chart-card h3{font-size:16px}.chart-scroll{overflow-x:auto;margin-top:20px;scrollbar-width:thin;scrollbar-color:#656079 transparent}.attendance-chart{display:block;width:100%;height:auto;font-family:var(--user-font)}.year-summary p{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:14px;margin:20px 0}.monthly-heading{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.monthly-heading select{width:auto;padding:6px 30px 6px 10px;font-size:14px}.chart-card h4{font-size:14px;margin:28px 0 16px}.chart-card h4 span{font-weight:400;color:var(--muted)}.city-ranking{list-style:none;padding:0;margin:0}.city-ranking li{margin:15px 0}.city-ranking li>div:first-child{display:flex;gap:10px;justify-content:space-between;font-size:14px}.city-ranking li>div>span:first-child{overflow-wrap:anywhere}.city-ranking li>div>span:last-child{white-space:nowrap;color:var(--muted)}.rank-track{height:7px;background:#303044;border-radius:8px;margin-top:9px;overflow:hidden}.rank-track>div{height:100%;background:var(--pink);border-radius:8px}.type-summary{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.type-summary>span{font-size:13px;line-height:1.8;padding:5px 12px;border-radius:20px;background:#393349;color:#eee2ee;overflow-wrap:anywhere}.event-theme-label{display:inline-block;border:1px solid #6f4960;color:var(--pink);border-radius:6px;padding:3px 8px;font-size:12px;margin-top:9px;overflow-wrap:anywhere}.map-scope{color:var(--pink);line-height:1.8;overflow-wrap:anywhere}@media(max-width:1100px){.chart-grid{grid-template-columns:1fr}}@media(max-width:700px){.stats{gap:8px}.stat{padding:15px 10px}.stat b{font-size:25px}.stat p{font-size:12px}.stat small{margin-left:3px}.report-period{align-items:flex-start;flex-direction:column;gap:3px}.report-actions{flex-direction:column}.chart-card{padding:20px 16px}.chart-grid{gap:16px}.city-ranking li>div:first-child{font-size:13px}.report-total{margin:9px 0}}
@media(max-width:700px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat:first-child{grid-column:1/-1;display:flex;align-items:center;gap:8px}.stat:first-child p{margin:0 auto 0 0}.stat:first-child b{white-space:nowrap}.stat:first-child small{margin-left:0}}

.country-panel{margin-bottom:12px}.country-panel label{margin-top:0}.city-count{margin-bottom:0}.row{display:grid;grid-template-columns:58px minmax(0,1fr) 116px;align-items:start;gap:18px}.row-side{text-align:right;align-self:stretch;display:flex;flex-direction:column;align-items:flex-end;gap:20px}.elapsed{color:var(--pink);font-variant-numeric:tabular-nums;white-space:nowrap}.elapsed>span{font-size:14px}.elapsed>div{display:flex;gap:5px;align-items:baseline;justify-content:flex-end}.elapsed strong{font-size:34px;font-weight:600;line-height:1.5}.elapsed div>span{font-size:14px}.row-side .row-actions{margin-top:auto;flex-direction:row;gap:14px}.row-body .departure{color:#d7c1d1;font-size:14px;line-height:1.8}.departure>span{color:var(--muted)}.row-body .event-note{white-space:pre-wrap;overflow-wrap:anywhere}.row-body .photo{margin-top:12px}.row-body p{overflow-wrap:anywhere}@media(max-width:700px){.row{grid-template-columns:44px minmax(0,1fr) 86px;gap:10px}.row .date{min-width:0;font-size:11px}.row .date b{font-size:24px}.elapsed strong{font-size:28px}.elapsed>span,.elapsed div>span{font-size:13px}.row-side .row-actions{gap:9px}.row-side .row-actions button{font-size:12px;padding:5px 0}.row-body h3{font-size:15px}.row-body .departure{font-size:13px}}

footer{flex-wrap:wrap}.data-credit{width:100%;font-size:12px;line-height:1.8}.data-credit a{color:var(--muted);text-underline-offset:3px}

.memory-intro{line-height:1.9;margin:0 0 24px;color:var(--muted,#b4b0ca);overflow-wrap:anywhere}

.home-intro{margin:10px 0 0;line-height:1.8;font-size:14px;color:var(--muted,#b4b0ca);max-width:44em}header:has(.home-intro:not([hidden])){align-items:flex-start;gap:20px}header:has(.home-intro:not([hidden]))>.header-actions{flex-shrink:0}@media(max-width:600px){header:has(.home-intro:not([hidden])){flex-wrap:wrap;gap:12px}header:has(.home-intro:not([hidden]))>div:first-child{flex-basis:100%}.home-intro{font-size:13px}}

.stat .icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px}.stat .icon svg{display:block}

nav button span svg{width:22px;height:22px;vertical-align:middle}@media(max-width:700px){nav button span svg{display:block;margin:0 auto}}

.country-report-filter{display:flex;align-items:center;gap:12px;margin-top:18px;flex-wrap:wrap}.country-report-filter label{margin:0;font-size:14px}.country-report-filter select{width:auto;max-width:100%;min-width:180px}.country-chart{grid-column:1/-1}.country-chart .rank-track>div{background:#83d3d8}.event-country{font-size:11px;color:var(--muted);margin-left:4px}.report-total{white-space:normal}

.country-chart-toggle{display:flex;align-items:center;gap:9px;margin:14px 0 20px;font-size:14px;color:var(--muted);cursor:pointer}.country-chart-toggle input{width:17px;height:17px;margin:0;accent-color:var(--pink)}.map-years{margin-bottom:16px}

.theme-manager{margin-top:14px;border:1px solid #3e3d55;border-radius:10px;padding:12px 16px}.theme-manager summary{cursor:pointer;color:var(--muted);font-size:14px}.theme-manager ul{list-style:none;padding:0;margin:8px 0}.theme-manager li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #3e3d55}.theme-manager li>div:first-child{min-width:0}.theme-manager strong{font-weight:500;overflow-wrap:anywhere}.theme-manager small{display:block;margin-top:5px;color:var(--muted)}.theme-manager-actions{display:flex;gap:8px;flex-shrink:0}.theme-manager-actions button{font-size:12px;padding:8px 10px}@media(max-width:600px){.theme-manager li{align-items:flex-start;flex-direction:column}}

.home-theme-filters{gap:6px}.home-theme-filters .chip{font-size:12px;padding:6px 10px;min-height:30px}
.participation-charts{grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);align-items:start}
.annual-summary{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:18px;color:var(--muted);font-size:13px}.annual-summary span{display:flex;align-items:baseline;gap:7px}.annual-summary b{font-weight:500}.annual-summary small{font-size:12px}
.ranking-card h4:first-child{margin-top:0}
@media(max-width:1100px){.participation-charts{grid-template-columns:1fr}}

.chart-mode{flex-shrink:0;gap:5px}.chart-mode .chip{font-size:12px;padding:6px 10px;min-height:30px}.monthly-heading{flex-wrap:wrap;gap:10px}

.period-stats{margin:20px 0 24px}.period-stats h3{font-size:16px;margin:0 0 12px}.period-stats .stats{margin:0}.period-stats .stat b{color:var(--pink)}

.best-event{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;max-width:100%;margin-top:20px;padding:0 0 0 13px;border:0;border-left:2px solid #ff91b366;border-radius:0;background:transparent;overflow-wrap:anywhere}.best-event:hover{border-color:var(--pink)}.best-event:hover strong{text-decoration:underline;text-underline-offset:4px}.best-event-label{color:var(--pink);font-size:11px;letter-spacing:1.5px;font-weight:600}.best-event strong{font-size:16px;font-weight:500}.best-event small,.best-event-placeholder{color:var(--muted);font-size:12px}.best-event:focus-visible{outline:2px solid var(--pink);outline-offset:3px}

.best-event-label{display:flex;align-items:center;gap:7px}

.seat-fields{border:1px solid var(--line);border-radius:12px;padding:8px 16px 16px;margin:20px 0}.seat-fields legend{font-size:14px;color:var(--muted);padding:0 6px}.seat-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:12px}.seat-grid input{min-width:0}.seat-grid label{margin-top:6px}.seat-summary{overflow-wrap:anywhere}@media(max-width:420px){.seat-grid{grid-template-columns:1fr 1fr}.seat-grid>div:first-child{grid-column:1/-1}}

.share-destinations{display:grid;grid-template-columns:1fr 1fr;gap:10px}.share-target{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 16px;border-radius:10px;text-decoration:none;font-size:14px;font-weight:600;min-height:48px}.share-x{background:#09090d;color:#fff;border:1px solid #555568}.share-x span{font-size:22px}.share-line{background:#06c755;color:#05260f}.share-target:hover{filter:brightness(1.12)}.share-target:focus-visible{outline:2px solid var(--pink);outline-offset:3px}.share-destinations>button{grid-column:1/-1}.share-utilities{margin-top:10px}.share-utilities>*{flex:1}

.share-image-main{width:100%;min-height:52px}.share-image-main:disabled{opacity:.55;cursor:wait}.text-share-options{margin:18px 0;color:var(--muted);font-size:13px}.text-share-options summary{cursor:pointer}.text-share-options .map-actions{margin-top:12px}

#account-dialog{width:min(480px,calc(100vw - 32px));max-height:90dvh}#close-account{display:block;margin-left:auto}#account-content h2{font-size:21px}#account-content form{margin:20px 0}#account-content button{margin-top:12px}#account-content>button{display:block;width:100%}#cloud-status{margin:-10px 0 18px}#account-message{font-size:14px;line-height:1.7}#login-code{font-size:24px;letter-spacing:.2em}.header-actions{flex-wrap:wrap}

.hero.has-person{min-height:0;padding:24px}.hero.has-person .person-portrait{float:right;width:80px;height:80px;border-radius:50%;object-fit:cover;object-position:center 25%;margin:0 0 12px 18px;background:var(--panel)}
.hero.has-person h2{font-size:22px;line-height:1.55;margin:8px 0}.hero.has-person h2 b{font-size:44px}.hero.has-person .hero-art{display:none}.hero.has-person .best-event{clear:both;margin-top:12px;gap:4px}.hero.has-person .overline{font-size:13px}
@media(max-width:700px){main{padding:16px 14px 95px}header{margin-bottom:12px}h1{font-size:24px;margin:0}.home-intro{margin-top:6px;font-size:13px;line-height:1.65}header:has(.home-intro:not([hidden])){gap:8px}.header-actions .quiet{padding:7px 9px}.tabs{margin-bottom:12px;gap:8px}.tabs button{padding:6px 12px}.tab-avatar{width:22px;height:22px}
.hero.has-person{padding:16px;border-radius:16px}.hero.has-person .person-portrait{float:right;width:64px;height:64px;margin:2px 0 8px 12px}.hero.has-person h2{font-size:17px;line-height:1.65}.hero.has-person h2 b{font-size:36px}.hero.has-person .overline{font-size:12px}.hero.has-person .best-event strong{font-size:14px}.hero.has-person .best-event{margin-top:8px}
.hero.has-person+.stats{grid-template-columns:minmax(0,1.45fr) repeat(2,minmax(0,1fr));gap:6px;margin:10px 0 18px}.hero.has-person+.stats .stat,.hero.has-person+.stats .stat:first-child{display:block;grid-column:auto;padding:12px 8px;min-width:0}.hero.has-person+.stats .stat .icon svg{width:20px;height:20px}.hero.has-person+.stats .stat p{font-size:11px;margin:4px 0 6px;white-space:nowrap}.hero.has-person+.stats .stat b{font-size:clamp(18px,5vw,25px);letter-spacing:-.5px}.hero.has-person+.stats .stat small{font-size:11px;margin-left:2px}}
