/* Year summary page, distinct from picture export. No behavior outside this dashboard. */
#profile-section .hg-year-dashboard{--hy-ink:#30271e;--hy-muted:#605347;--hy-rule:#dcd1b6;--hy-sheet:#fffbef;--hy-mist:#f0ebdc;width:100%;min-width:0;background:#fbf7ec;border:1px solid var(--hy-rule);border-radius:clamp(15px,2.6vw,24px);padding:clamp(14px,3vw,38px);box-shadow:0 10px 34px #473d2a14;color:var(--hy-ink)}
#profile-section .hg-year-bar{display:flex;justify-content:space-between;align-items:end;gap:12px 21px;flex-wrap:wrap;margin-bottom:clamp(12px,2.6vw,27px)}
#profile-section .hg-year-bar .c-kicker{margin:0 0 4px;color:#326253}
#profile-section .hg-year-bar h2{margin:0;color:var(--hy-ink);font:500 clamp(1.9rem,4vw,3rem)/1.08 Georgia,serif;letter-spacing:-.045em}
#profile-section .hg-year-picker{display:grid;gap:2px;color:#4c4c3b;font-size:.78rem;font-weight:760;min-width:min(130px,100%);max-width:100%}
#profile-section .hg-year-picker select{width:100%;min-height:44px}
#profile-section .hg-year-dashboard .c-year.hg-year-edition{position:relative;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 90% 3%,#d5b77f81,transparent 54%),linear-gradient(116deg,#24483f 20%,#3d5548);color:#fff8e8;border:1px solid #385348;border-radius:clamp(13px,2vw,19px);padding:clamp(14px,3.2vw,38px)}
#profile-section .hg-year-stamp{position:absolute;top:6%;right:4%;z-index:-1;color:#edd39c4d;font:500 clamp(2.6rem,11vw,8.5rem)/.95 Georgia,serif;letter-spacing:-.07em;user-select:none}
#profile-section .hg-year-kicker{color:#ffd595;font-size:.76rem;letter-spacing:.14em;font-weight:800}
#profile-section .hg-year-edition h3{margin:5px 0;color:#fff6dd;font:500 clamp(1.6rem,3.6vw,3rem)/1.06 Georgia,serif;letter-spacing:-.035em}
#profile-section .hg-year-sub{color:#eef1e4;margin:5px 0 15px;font-size:.91rem}
#profile-section .hg-year-dashboard .c-year-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(7px,1.45vw,16px);margin:14px 0;padding:0}
#profile-section .hg-year-dashboard .c-year-grid>.hg-year-stat{display:grid;grid-template-columns:1fr;align-content:start;justify-items:start;gap:4px;width:auto;min-width:0;padding:clamp(9px,1.5vw,18px);margin:0;color:var(--hy-ink);background:var(--hy-sheet);border:1px solid #e2dbc5;border-radius:clamp(9px,1.2vw,14px);min-height:118px}
#profile-section .hg-year-stat .hg-year-badge{display:grid;place-items:center;width:31px;height:31px;background:#e6eee3;color:#27594e;border-radius:8px}
#profile-section .hg-year-stat:nth-child(2) .hg-year-badge{background:#f5e6ce;color:#6e4628}
#profile-section .hg-year-stat:nth-child(3) .hg-year-badge{background:#e0ebed;color:#325c69}
#profile-section .hg-year-stat:nth-child(4) .hg-year-badge{background:#efeadf;color:#584d39}
#profile-section .hg-year-badge svg{width:22px;height:22px}
#profile-section .hg-year-stat strong{font:600 clamp(1.7rem,4.8vw,3.2rem)/.98 Georgia,serif;color:inherit;overflow-wrap:anywhere}
#profile-section .hg-year-stat .hg-year-label{font-size:clamp(.75rem,1.7vw,.92rem);line-height:1.18;color:inherit;font-weight:780;letter-spacing:normal;text-transform:none;overflow-wrap:anywhere}
#profile-section .hg-year-stat small{color:#645b4b;font-size:.69rem}
#profile-section .hg-year-dashboard .hg-year-note{margin:12px 0 0;color:#e8e9df;max-width:64ch}
#profile-section .hg-year-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:15px}
#profile-section .hg-year-dashboard :is(a,button,select):focus-visible{outline:3px solid #007095;outline-offset:3px}
@media(max-width:610px){#profile-section .hg-year-dashboard .c-year-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){#profile-section .hg-year-stat small{display:none}#profile-section .hg-year-dashboard .c-year-grid>.hg-year-stat{min-height:99px}#profile-section .hg-year-footer .c-button{width:100%;text-align:center;justify-content:center}}
@media(forced-colors:active){#profile-section .hg-year-dashboard .c-year.hg-year-edition{border:1px solid CanvasText}#profile-section .hg-year-stamp{display:none}}
