/* EveryCount public pages: invitation, public counter, profile, unavailable link and account deletion.
   CSP-safe: no inline styles. A counter's color is a palette class (the server picks the nearest of the
   16 swatches), bar heights are .h0–.h10 classes and icons are inline SVG.
   Fonts are self-hosted under fonts/: Bricolage Grotesque and Be Vietnam Pro, both licensed under the
   SIL Open Font License 1.1 (fonts/OFL-BricolageGrotesque.txt, fonts/OFL-BeVietnamPro.txt). */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/BeVietnamPro-400-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/BeVietnamPro-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/BeVietnamPro-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/BeVietnamPro-500-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/BeVietnamPro-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/BeVietnamPro-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/BeVietnamPro-600-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/BeVietnamPro-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/BeVietnamPro-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/BeVietnamPro-700-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/BeVietnamPro-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/BeVietnamPro-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap; src: url(fonts/BricolageGrotesque-400_800-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap; src: url(fonts/BricolageGrotesque-400_800-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap; src: url(fonts/BricolageGrotesque-400_800-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --canvas: #F1F5F0; --surface: #FCFDF9; --sunk: #E8EEE9; --ink: #213735; --ink-2: #4F635D; --ink-3: #6A7A75; --line: #DDE5DF;
  --green: #0B8A6C; --green-strong: #0A8467; --green-ink: #08624D; --green-soft: #DCEFE6; --on-green: #fff; --amber: #7A4A00; --amber-soft: #FFF1DC; --amber-line: #F0D2A8;
  --red: #9B2C1E; --red-soft: #FDE9E5; --on-red: #fff; --focus: #AC6500;
  --display: "Bricolage Grotesque", system-ui, sans-serif; --text: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  --c: #26A69A; --ci: #0E6E64;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --canvas: #1A2426; --surface: #263336; --sunk: #213033; --ink: #F0F4EE; --ink-2: #B5C1BF; --ink-3: #9AA7A5; --line: #3A4C4F;
    --green: #2BC39A; --green-strong: #2BC39A; --green-ink: #6FE0BF; --green-soft: #1F4A40; --on-green: #0F2420; --amber: #F3C27A; --amber-soft: #3B3020; --amber-line: #5E4A2A; --red: #F08A76; --red-soft: #4A2A25; --on-red: #2A1410; --focus: #F3C27A; }
}
/* Counter colors: the server maps a counter's stored color to the nearest of these 16 swatches. */
.c-tomato { --c: #EF5350; --ci: #B3261E; } .c-pink { --c: #EC407A; --ci: #B0245A; } .c-grape { --c: #AB47BC; --ci: #86308F; } .c-violet { --c: #7E57C2; --ci: #6440A6; }
.c-indigo { --c: #5C6BC0; --ci: #4A57A6; } .c-blue { --c: #42A5F5; --ci: #1B6CB0; } .c-sky { --c: #29B6F6; --ci: #0F6E9C; } .c-cyan { --c: #26C6DA; --ci: #0E7280; }
.c-teal { --c: #26A69A; --ci: #0E6E64; } .c-green { --c: #66BB6A; --ci: #2E7D32; } .c-lime { --c: #9CCC65; --ci: #4E7A1E; } .c-sun { --c: #FFCA28; --ci: #8A6500; }
.c-orange { --c: #FFA726; --ci: #A15C00; } .c-coral { --c: #FF7043; --ci: #B8401A; } .c-cocoa { --c: #8D6E63; --ci: #6D5047; } .c-slate { --c: #78909C; --ci: #4F6570; }
/* On dark surfaces the ink is a light tint of the swatch, so glyphs and labels keep their contrast. */
@media (prefers-color-scheme: dark) {
  :root, .c-tomato, .c-pink, .c-grape, .c-violet, .c-indigo, .c-blue, .c-sky, .c-cyan, .c-teal, .c-green, .c-lime, .c-sun, .c-orange, .c-coral, .c-cocoa, .c-slate { --ci: color-mix(in oklab, var(--c) 58%, #fff); }
}
* { box-sizing: border-box; }
html { background: var(--canvas); }
body { margin: 0; font: 400 16px/1.6 var(--text); color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
a { color: var(--green-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.top { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
/* As on everycount.app: the app icon, then the name with its dot. */
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 750 21px/1.1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -.04em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand-dot { color: #b76183; }
.top .get { display: inline-flex; align-items: center; min-height: 44px; font: 600 14px/1 var(--text); color: var(--ink-2); text-decoration: none; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 8px 0 40px; }
@media (min-width: 900px) { .layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; padding-top: 24px; } }
/* The side column follows the reader only when it fits the window; the handoff notice makes it too tall. */
@media (min-width: 900px) and (min-height: 800px) { .layout .side:not(.static) { position: sticky; top: 24px; } }
.byline { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font: 400 15px/1.45 var(--text); letter-spacing: 0; margin: 0 0 14px; overflow-wrap: anywhere; }
.byline b, .byline .counter-name { color: var(--ink); font-weight: 600; }
.av { width: 34px; height: 34px; border-radius: 17px; display: grid; place-items: center; background: var(--green-strong); color: var(--on-green); font: 650 14px/1 var(--display); flex: none; }
h1 { font: 680 clamp(28px, 5vw, 40px)/1.1 var(--display); letter-spacing: -.02em; margin: 0 0 18px; overflow-wrap: anywhere; }
/* The tile: the same object as the app tile and the home-screen widget, larger. */
.tile { position: relative; border-radius: 32px; padding: 22px 22px 22px 24px; background: color-mix(in oklab, var(--c) 11%, var(--surface)); box-shadow: 0 0 0 1px color-mix(in oklab, var(--c) 20%, var(--line)) inset; }
.tile .head { display: flex; align-items: flex-start; gap: 12px; }
.tile .name { flex: 1; min-width: 0; margin: 0; font: 650 20px/1.25 var(--display); letter-spacing: 0; overflow-wrap: anywhere; }
.tile .ic { width: 30px; height: 30px; fill: var(--ci); flex: none; }
.tile .ic.letter { display: grid; place-items: center; border-radius: 15px; background: color-mix(in oklab, var(--c) 22%, var(--surface)); color: var(--ci); font: 650 16px/1 var(--display); }
.tile .value { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; margin-top: 26px; font: 580 clamp(64px, 12vw, 96px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tile .value.v-md { font-size: clamp(48px, 9vw, 72px); } .tile .value.v-sm { font-size: clamp(36px, 7vw, 54px); }
.tile .value.na { font: 600 24px/1.2 var(--display); letter-spacing: 0; color: var(--ink-2); }
.tile .value small { font: 500 20px/1.2 var(--text); color: var(--ink-2); letter-spacing: 0; }
.tile .label { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.tile time { overflow-wrap: anywhere; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; height: 96px; margin-top: 22px; }
.week div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; min-width: 0; }
.week i { display: block; width: 100%; border-radius: 4px; background: var(--ci); opacity: .55; min-height: 3px; }
.week .today i { opacity: 1; }
.week span { font: 600 11px/1 var(--text); color: var(--ci); }
.week b { font: 600 12px/1 var(--display); color: var(--ink-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h0 i { height: 3px; } .h1 i { height: calc((100% - 34px) * 0.1); } .h2 i { height: calc((100% - 34px) * 0.2); } .h3 i { height: calc((100% - 34px) * 0.3); } .h4 i { height: calc((100% - 34px) * 0.4); } .h5 i { height: calc((100% - 34px) * 0.5); } .h6 i { height: calc((100% - 34px) * 0.6); } .h7 i { height: calc((100% - 34px) * 0.7); } .h8 i { height: calc((100% - 34px) * 0.8); } .h9 i { height: calc((100% - 34px) * 0.9); } .h10 i { height: calc((100% - 34px) * 1.0); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 12px; border-radius: 12px; background: var(--sunk); font: 500 13px/1.3 var(--text); }
.chip.green { background: var(--green-soft); color: var(--green-ink); } .chip.amber { background: var(--amber-soft); color: var(--amber); } .chip.red, .chip.expired { background: var(--red-soft); color: var(--red); }
.chip.urgent { box-shadow: 0 0 0 1px var(--amber) inset; font-weight: 600; }
.cta { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 12px 24px; border-radius: 27px; font: 600 16px/1.2 var(--text); text-align: center; text-decoration: none; border: 0; cursor: pointer; }
/* White on the brand green is 4.3:1; buttons and avatars use a hair darker green to reach 4.5:1. */
.btn.primary { background: var(--green-strong); color: var(--on-green); }
.btn.quiet { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line) inset; }
.btn.danger { background: var(--red); color: var(--on-red); }
.hint { font-size: 14px; color: var(--ink-2); text-align: center; margin: 0; }
section h2 { font: 650 20px/1.2 var(--display); margin: 0 0 12px; letter-spacing: -.01em; }
.card { background: var(--surface); border-radius: 24px; padding: 20px; box-shadow: 0 0 0 1px var(--line) inset; }
.month { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.month i { aspect-ratio: 1; border-radius: 6px; background: var(--sunk); display: block; }
.month .l1 { background: color-mix(in oklab, var(--c) 30%, var(--surface)); } .month .l2 { background: color-mix(in oklab, var(--c) 60%, var(--surface)); } .month .l3 { background: var(--ci); }
.month .na { background: transparent; box-shadow: 0 0 0 1px var(--line) inset; }
.month-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); margin-top: 8px; }
.day { font: 600 13px/1.3 var(--text); color: var(--ink-2); margin: 20px 0 8px; letter-spacing: 0; }
.entries { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: 20px; box-shadow: 0 0 0 1px var(--line) inset; }
.entries li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 16px; align-items: center; }
.entries li + li { border-top: 1px solid var(--line); }
.entries .v { font: 650 16px/1.2 var(--display); color: var(--ci); min-width: 40px; }
.entries .who { font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.entries .t { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.entries .note { grid-column: 2 / 4; font-size: 15px; margin: -2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.more { margin-top: 12px; }
.fine { font-size: 13px; color: var(--ink-2); margin: 16px 0 0; overflow-wrap: anywhere; }
.install { margin-top: 28px; }
.install p { margin: 4px 0 14px; color: var(--ink-2); }
.stores { display: flex; flex-wrap: wrap; gap: 8px; }
.stores a { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 14px; background: var(--ink); color: var(--surface); text-decoration: none; font: 600 14px/1 var(--text); }
.stores svg { width: 18px; height: 18px; fill: currentColor; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 10px 0; }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 14px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; font: 650 14px/1 var(--display); }
.steps li > span { display: block; }
.steps .stores { margin-top: 10px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { display: flex; gap: 10px; padding: 6px 0; }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; flex: none; border-radius: 9px; background: var(--green-soft); box-shadow: inset 0 0 0 5px var(--green-soft), inset 0 0 0 9px var(--green); }
.checks li.no::before { background: var(--sunk); box-shadow: inset 0 0 0 7px var(--sunk), inset 0 0 0 9px var(--ink-3); }
.notice { border-radius: 20px; padding: 16px 18px; background: var(--amber-soft); color: var(--amber); box-shadow: 0 0 0 1px var(--amber-line) inset; margin: 8px 0 24px; }
.notice h1, .notice h2 { color: inherit; font: 650 18px/1.25 var(--display); letter-spacing: -.01em; margin: 0 0 4px; }
.notice p { margin: 0; }
.notice ul { margin: 8px 0 12px; padding-left: 18px; }
p.notice { margin: 16px 0 0; font-weight: 600; }
.ctabar { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: color-mix(in oklab, var(--surface) 92%, transparent); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line); display: flex; align-items: center; gap: 14px; justify-content: center; }
.ctabar .btn { min-height: 48px; white-space: nowrap; flex: none; }
.ctabar p { margin: 0; font-size: 13px; color: var(--ink-2); max-width: 22ch; line-height: 1.35; }
/* Phones get the pinned Follow bar instead of the side button; focus and the page end stay clear of it. */
@media (max-width: 899.98px) {
  html.has-cta-bar { scroll-padding-bottom: 112px; }
  .has-cta-bar .wrap { padding-bottom: 96px; }
  .has-cta-bar .side .cta { display: none; }
}
@media (min-width: 900px) { .ctabar { display: none; } }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.cards .tile { padding: 18px; border-radius: 28px; text-decoration: none; color: var(--ink); display: block; }
.cards .tile .name { font-size: 16px; }
.cards .tile .value { font-size: 52px; margin-top: 22px; }
.cards .tile .value.v-md { font-size: 40px; } .cards .tile .value.v-sm { font-size: 30px; } .cards .tile .value.na { font-size: 20px; }
.cards .tile .label { font-size: 13px; }
.cards + .more { margin-top: 16px; }
.lost { max-width: 560px; margin: 40px auto 0; text-align: center; padding-bottom: 40px; }
.lost .mark { width: 96px; height: 96px; margin: 0 auto 24px; }
.lost .mark img { display: block; width: 96px; height: 96px; border-radius: 24px; opacity: .55; filter: grayscale(.7); }
.lost .stores { justify-content: center; }
.foot { border-top: 1px solid var(--line); color: var(--ink-2); font-size: 13px; padding: 22px 0 40px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.foot .report { color: var(--ink-2); }
/* The language choice: its own line under the tagline and report link, the current language marked. */
.foot .langs { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot .langs a { color: var(--ink-2); text-decoration: none; }
.foot .langs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot .langs a[aria-current="true"] { color: var(--ink); font-weight: 600; }
/* Photos (Full history pages, the owner's photos only) are <img> elements from this host under the app's
   shade, so the pages keep img-src 'self' and no inline styles. */
.tile.photo { overflow: hidden; isolation: isolate; color: #fff; background: #10201E; box-shadow: none; }
.tile.photo .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(8, 16, 15, .6) 0, rgba(8, 16, 15, .3) 30%, rgba(8, 16, 15, .4) 48%, rgba(8, 16, 15, .82) 100%); }
.tile.photo .name, .tile.photo .value { text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.tile.photo .ic { fill: #fff; }
.tile.photo .ic.letter { background: rgba(255, 255, 255, .2); color: #fff; }
.tile.photo .value small, .tile.photo .value.na, .tile.photo .label, .tile.photo .week b { color: rgba(255, 255, 255, .88); }
.tile.photo .week i { background: #fff; opacity: .55; }
.tile.photo .week .today i { opacity: 1; }
.tile.photo .week span { color: #fff; }
.entries li.has-photo .ph { grid-column: 2 / 4; display: block; margin-top: 8px; border-radius: 16px; overflow: hidden; }
.entries li.has-photo .ph img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-page { display: flex; flex-direction: column; align-items: center; max-width: 760px; margin: 8px auto 40px; padding: 16px 20px 28px; border-radius: 28px; background: #0E1716; color: #fff; }
.photo-page .close { align-self: flex-end; display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; text-decoration: none; }
.photo-page figure { margin: 8px 0 0; width: 100%; }
.photo-page img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; border-radius: 18px; }
.photo-page figcaption { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .8); overflow-wrap: anywhere; }
.photo-page figcaption b { color: #fff; font-weight: 600; }
.photo-page figcaption span { display: block; color: #fff; font-size: 16px; margin-top: 4px; white-space: pre-wrap; }
.photo-page .report-photo { margin-top: 22px; color: rgba(255, 255, 255, .85); font-size: 14px; }
.embed-code summary { min-height: 44px; padding: 10px 0; font: 650 18px/1.3 var(--display); cursor: pointer; }
.embed-code p { margin: 4px 0 12px; color: var(--ink-2); }
.embed-code textarea { display: block; width: 100%; min-height: 128px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--sunk); color: var(--ink); font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; }
/* Embeds (/e/…): one counter in a frame on someone else's page (embed.js sizes the frame to the card).
   The canvas stays transparent around the card's corners: both the frame (set by embed.js) and this root
   use the normal color scheme, so the browser paints no backdrop; the card itself follows the reader's
   light or dark setting like the pages. */
html.embed { color-scheme: normal; background: transparent; }
.embed body { background: transparent; }
.embed-card { position: relative; padding: 14px; border-radius: 26px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; }
.embed-card .byline { margin-bottom: 12px; font-size: 14px; }
.embed-card .byline .av { width: 30px; height: 30px; }
/* The whole card opens the counter (.open stretches over it); the handle and the brand mark stay their own links. */
.embed-card .byline a { position: relative; z-index: 1; }
.embed-card .mark { margin-left: auto; display: inline-flex; flex: none; border-radius: 8px; }
.embed-card .mark img { display: block; width: 28px; height: 28px; border-radius: 8px; }
.embed-card .tile { padding: 18px 18px 18px 20px; border-radius: 22px; }
.embed-card .tile .value { margin-top: 18px; font-size: clamp(44px, 16vw, 72px); }
.embed-card .tile .value.v-md { font-size: clamp(36px, 12vw, 56px); } .embed-card .tile .value.v-sm { font-size: clamp(28px, 9vw, 42px); }
.embed-card .week { height: 80px; margin-top: 16px; }
.embed-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin: 12px 4px 0; font-size: 13px; color: var(--ink-2); }
.embed-foot .open { font-weight: 600; text-decoration: none; }
.embed-foot .open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.embed-card:hover .open { text-decoration: underline; }
.embed-card.gone { display: flex; align-items: center; gap: 14px; }
.embed-card.gone img { flex: none; border-radius: 10px; opacity: .55; filter: grayscale(.7); }
.embed-card.gone h1 { margin: 0; font: 650 16px/1.3 var(--display); letter-spacing: 0; }
.embed-card.gone p { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }
.gap { margin-top: 28px; } .gap-sm { margin-top: 14px; } .page { padding: 20px 0 40px; }
.fine.first { margin-top: 0; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
[hidden] { display: none !important; }
/* Account deletion: same tokens and buttons, its own single column. */
.deletion { max-width: 720px; }
.deletion section h2 { margin-top: 24px; }
.deletion #providers { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.deletion #actions > .btn { margin: 8px 8px 0 0; }
.deletion button:disabled { opacity: .55; cursor: default; }
.deletion input { width: 1.25rem; height: 1.25rem; vertical-align: middle; accent-color: var(--red); }
.deletion label { display: block; padding: 1rem 0; }
.deletion #identity { overflow-wrap: anywhere; font-weight: 650; }
