/* Harbor Friends. A light, photo-forward visitor guide: white ground, the two blues of
   the state flag as structure, seal gold only for the lighthouse lamp. One light theme
   by choice. Ported from design/mockups/index.html (Home B, sans headings); MudBlazor
   supplies the drawer, dialogs, snackbars and the signed-in forms. */
:root {
  --night: #002D5D;   /* Night Sky Blue: headings, buttons, footer */
  --water: #52C9E8;   /* Water Blue: accents only, never text on white */
  --white: #FFFFFF;
  --gold: #F2CE00;    /* Seal Gold: the lamp, nothing else */
  --pine: #006847;    /* status only */
  --ink: #0A2540;
  --muted: #4A6178;
  --mist: #F4F9FC;
  --foam: #E2F5FB;
  --line: #D3E2EC;
  --danger: #A4262C;
  --display: "Bricolage Grotesque", "Trebuchet MS", Arial, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, Arial, sans-serif;
  --lamp: var(--gold);
  --win: var(--night);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.55 var(--body); }
img { display: block; max-width: 100%; }

/* ---------- shared site pieces ---------- */
.site { font-family: var(--body); color: var(--ink); background: var(--white); min-height: 100vh; display: flex; flex-direction: column; }
.site > main { flex: 1 0 auto; }
/* MudBlazor resets every link to no underline, and Night Sky Blue on ink text is all but the
   same color, so a link in running copy would be invisible. Links are underlined unless they
   are a control of their own shape (a button, a tile, a nav item), which opt out below. */
.site a { color: var(--night); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.site a:hover { text-decoration-thickness: 2px; }
.site a.btn, .site a.lockup, .site a.tile, .site a.card, .site a.cam, .site .wx3 a, .site .mini a, .site .nav a, .site a.skip { text-decoration: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site h1, .site h2, .site h3, .site h4, .site p { margin: 0; }
.site h1, .site h2, .site h3 { text-wrap: balance; }
.site a:focus-visible, .site button:focus-visible, .site input:focus-visible, .site textarea:focus-visible,
.site summary:focus-visible, .site [tabindex]:focus-visible {
  outline: 3px solid var(--night); outline-offset: 2px; box-shadow: 0 0 0 6px var(--water);
}
.mud-button-root:focus-visible, .mud-icon-button:focus-visible { outline: 3px solid var(--night); outline-offset: 2px; }
/* FocusOnNavigate moves focus to the h1 for screen readers; it is not a control. */
.site h1:focus { outline: none; box-shadow: none; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--white); padding: 8px 12px; border-radius: 6px; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; width: 100%; }
.hdr { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 16px; }
.lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--night); --win: var(--white); }
.lockup svg { width: 40px; height: 40px; flex: none; }
.lockup .nm { display: block; font: 700 22px/1 var(--display); letter-spacing: -.01em; }
.lockup .pl { display: block; font: 600 10.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.nav a { font: 500 15px var(--body); text-decoration: none; color: var(--ink); }
.site .nav a { color: var(--ink); }
.site .nav a.btn { color: var(--white); }
.nav a:not(.btn):hover, .nav a.active:not(.btn) { color: var(--night); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--water); text-decoration-thickness: 2px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--body); padding: 11px 18px; border-radius: 6px; border: 1.5px solid var(--night); background: var(--night); color: var(--white); text-decoration: none; cursor: pointer; }
.site a.btn { color: var(--white); }
.btn.ghost, .site a.btn.ghost { background: transparent; color: var(--night); }
.btn.sm { padding: 8px 14px; font-size: 14px; }
.btn.center { justify-content: center; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn.menu { display: none; margin-left: auto; }
.eyebrow { display: flex; align-items: center; gap: 8px; font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow svg { width: 14px; height: 14px; color: var(--night); }
.h1 { font: 700 clamp(34px, 5vw, 56px)/1.06 var(--display); letter-spacing: -.03em; color: var(--night); }
.h2 { font: 700 clamp(26px, 3.2vw, 34px)/1.15 var(--display); letter-spacing: -.02em; color: var(--night); }
.lede { font-size: 18px; color: var(--muted); max-width: 52ch; }
.note { font-size: 14px; color: var(--muted); }
.sec { padding-block: 56px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head a { font-weight: 600; font-size: 15px; }
.tint { background: var(--mist); }

/* conditions bar */
.cond { background: var(--night); color: var(--white); font-size: 13px; }
.cond .wrap { display: flex; gap: 6px 22px; flex-wrap: wrap; padding-block: 8px; align-items: center; min-height: 36px; }
.cond b { color: var(--water); font-weight: 600; }

/* home: panorama hero with the webcam tile over its lower-left */
.heroB { padding-block: 32px 0; display: flex; flex-direction: column; gap: 28px; }
.heroB .top { display: grid; grid-template-columns: 7fr 4fr; gap: 32px; align-items: end; }
.heroB .pano { position: relative; }
.heroB .pano > img { width: 100%; height: auto; aspect-ratio: 2000/869; object-fit: cover; border-radius: 10px; background: var(--foam); }
.cam { position: relative; display: block; aspect-ratio: 16/9; max-width: 100%; border-radius: 8px; overflow: hidden; background: var(--night); color: var(--white); text-decoration: none; }
.site a.cam { color: var(--white); }
.cam > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.cam::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,45,93,0) 55%, rgba(0,45,93,.72)); }
.cam .live { position: absolute; top: 14px; left: 14px; z-index: 1; display: flex; align-items: center; gap: 7px; background: var(--white); color: var(--night); font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.cam .play { position: absolute; inset: 0; margin: auto; z-index: 1; width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.cam .play::before { content: ""; border-left: 22px solid var(--night); border-block: 14px solid transparent; margin-left: 6px; }
.cam .cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; justify-content: space-between; gap: 12px; align-items: end; flex-wrap: wrap; font-size: 14px; }
.cam .cap b { display: block; font: 700 22px/1.1 var(--display); }
.cam:hover .play { background: var(--white); transform: scale(1.05); }
.heroB .cam { position: absolute; right: 24px; bottom: -40px; width: min(380px, 44%); border: 4px solid var(--white); box-shadow: 0 14px 30px -14px rgba(0,45,93,.6); }
.heroB .cam .play { width: 52px; height: 52px; }
.heroB .cam .play::before { border-left-width: 16px; border-block-width: 10px; margin-left: 4px; }
.heroB .cam .cap b { font-size: 17px; }
.player { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: var(--night); }
.player iframe, .player video, .player img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }

/* three weather cards */
.wx3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.wx3 a { display: flex; flex-direction: column; gap: 4px; min-height: 118px; padding: 18px 20px; border-radius: 8px; background: var(--mist); text-decoration: none; color: var(--ink); min-width: 0; }
.site .wx3 a { color: var(--ink); }
.wx3 .t { font: 700 40px/1 var(--display); color: var(--night); font-variant-numeric: tabular-nums; }
.wx3 .pl { font-weight: 700; color: var(--night); }
.wx3 .d { font-size: 14px; color: var(--muted); }
.wx3 a:hover { background: var(--foam); }

/* guide tiles and the compact list */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 150px; padding: 16px; border-radius: 8px; text-decoration: none; background: var(--mist); color: var(--night); border: 1px solid var(--line); min-width: 0; }
.tile b { font: 700 18px/1.15 var(--display); }
.tile span { font-size: 13px; color: var(--muted); }
.tile.ph { min-height: 210px; border: 0; color: var(--white); background: var(--night); overflow: hidden; }
.tile.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile.ph::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,45,93,0) 35%, rgba(0,45,93,.85)); }
.tile.ph b, .tile.ph span { position: relative; z-index: 2; color: var(--white); }
.tile.wide { grid-column: span 2; }
.tile:hover b { text-decoration: underline; text-decoration-color: var(--water); text-underline-offset: 4px; }
.mini { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.mini li { border-top: 1px solid var(--line); padding-block: 13px; min-width: 0; }
.mini a { font: 700 17px var(--display); text-decoration: none; }
.mini a::after { content: " \203A"; color: var(--muted); }
.mini a:hover { text-decoration: underline; text-decoration-color: var(--water); text-underline-offset: 4px; }

/* around the harbor */
.around ul { margin: 16px 0 0; padding-left: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; color: var(--muted); max-width: 900px; }
.around ul b { color: var(--night); }

/* guide index: grouped list */
.grp { display: grid; grid-template-columns: 220px 1fr; gap: 16px 32px; padding-block: 22px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.grp h2 { font: 700 20px/1.2 var(--display); color: var(--night); display: flex; gap: 10px; align-items: baseline; }
.grp h2 svg { width: 13px; height: 13px; flex: none; color: var(--water); }
.grp ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; min-width: 0; }
.grp li a { font-weight: 600; }
.grp li span { display: block; font-size: 14px; color: var(--muted); }

/* cards */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.site a.card { color: var(--ink); }
.card img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; background: var(--foam); }
.card h3 { font: 700 21px/1.2 var(--display); color: var(--night); }
.card p { font-size: 15px; color: var(--muted); }
.card:hover h3 { text-decoration: underline; text-decoration-color: var(--water); text-underline-offset: 4px; }

/* festivals */
.fest { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.fest li { display: grid; grid-template-columns: 124px 1fr; gap: 16px; padding-block: 16px; border-top: 1px solid var(--line); align-items: center; }
.fest .dt { font: 700 13px/1.25 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--night); font-variant-numeric: tabular-nums; }
.fest b { display: block; color: var(--night); font-size: 17px; }
.fest span span { font-size: 14px; color: var(--muted); }

/* newsletter */
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--foam); border-radius: 10px; padding: 40px; }
.news .copy { display: flex; flex-direction: column; gap: 12px; }
.form { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fld { display: flex; flex-direction: column; gap: 5px; font: 600 13px var(--body); color: var(--night); }
.fld input, .fld textarea { font: 400 16px var(--body); padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); width: 100%; }
.or { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gsi { display: flex; justify-content: center; min-height: 44px; }
.fine { font-size: 13px; color: var(--muted); }
.msg { font-size: 14px; color: var(--pine); font-weight: 600; }
.err { font-size: 14px; color: var(--danger); font-weight: 600; }

/* footer */
.ftr { background: var(--night); color: var(--white); padding-block: 40px; margin-top: 56px; }
.ftr .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site .ftr a { color: var(--white); text-decoration: none; display: block; font-size: 14px; padding-block: 3px; opacity: .85; }
.site .ftr a:hover { opacity: 1; text-decoration: underline; }
.ftr .lbl { font: 700 12px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--water); margin-bottom: 8px; }
.ftr p { font-size: 14px; opacity: .85; max-width: 38ch; margin-top: 12px; }
.site .ftr a.lockup { display: flex; color: var(--white); --win: var(--night); opacity: 1; padding: 0; text-decoration: none; }
.ftr .lockup .pl { color: var(--water); }
.site .ftr a:focus-visible { outline-color: var(--white); }

/* guide page */
.crumb { font-size: 13px; color: var(--muted); padding-block: 8px 0; }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 6px; }
.crumb li + li::before { content: "/"; margin-right: 6px; }
.site .crumb a { color: var(--muted); }
.art-head { display: flex; flex-direction: column; gap: 16px; padding-block: 24px 28px; max-width: 760px; }
.meta { font-size: 13px; color: var(--muted); }
.art-img { width: 100%; height: auto; aspect-ratio: 1600/492; object-fit: cover; border-radius: 10px; background: var(--foam); }
.art { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-block: 36px; }
.art.one { grid-template-columns: minmax(0, 1fr); }
.prose { min-width: 0; max-width: 68ch; font-size: 17px; line-height: 1.65; }
.site .prose > * + * { margin-top: 18px; }
.site .prose h2 { font: 700 27px/1.2 var(--display); letter-spacing: -.015em; color: var(--night); margin-top: 32px; scroll-margin-top: 16px; }
.site .prose h3 { font: 700 20px/1.25 var(--display); color: var(--night); margin-top: 26px; scroll-margin-top: 16px; }
.site .prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 0; }
.prose li + li { margin-top: 6px; }
.site .prose li > p + p, .site .prose li > ul, .site .prose li > ol { margin-top: 6px; }
.site .prose a { font-weight: 500; overflow-wrap: anywhere; }
.prose blockquote { margin-inline: 0; background: var(--foam); border-radius: 8px; padding: 18px 20px; font-size: 16px; }
.site .prose blockquote > * + * { margin-top: 10px; }
.prose blockquote strong, .callout b { color: var(--night); }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.prose code { font-size: .92em; background: var(--mist); padding: 1px 5px; border-radius: 4px; }
.tblw { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; line-height: 1.45; }
.prose th { font: 700 11px var(--body); letter-spacing: .1em; text-transform: uppercase; text-align: left; color: var(--muted); padding: 8px 12px 8px 0; border-bottom: 2px solid var(--night); vertical-align: bottom; }
.prose td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose td:first-child { font-weight: 700; color: var(--night); }
/* a key and value table: the first column is the row header, set like a first cell, not like a column heading */
.prose th[scope="row"] { font: 700 15px/1.45 var(--body); letter-spacing: 0; text-transform: none; color: var(--night); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.callout { background: var(--foam); border-radius: 8px; padding: 18px 20px; font-size: 16px; }
.rail { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.box { border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.box.foam { background: var(--foam); border-color: var(--foam); }
.site .box .lbl { font: 700 12px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14px; }
.box dt { color: var(--muted); }
.box dd { margin: 0; font-weight: 600; color: var(--night); }
.box .big { font: 700 34px/1 var(--display); color: var(--night); font-variant-numeric: tabular-nums; }
.site .box .sub { font-size: 14px; color: var(--muted); margin-top: 6px; }
.src { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.src a { font-weight: 700; display: block; }
.src span { color: var(--muted); }

/* webcam page */
.camp { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding-block: 24px 8px; }

/* weather page */
.fc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-block: 24px 0; }
.fc .pt { border: 1px solid var(--line); border-radius: 8px; padding: 20px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.site .fc .pt h2 { font: 700 20px/1.2 var(--display); color: var(--night); }
.fc .pt .el { font-size: 13px; color: var(--muted); }
.site .fc .pt .t { font: 700 48px/1 var(--display); color: var(--night); font-variant-numeric: tabular-nums; margin-top: 10px; }
.fc .pt .d { font-size: 15px; color: var(--muted); }
.fc ol { list-style: none; margin: 14px 0 0; padding: 0; }
.fc ol li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding-block: 10px; border-top: 1px solid var(--line); font-size: 14px; }
.fc ol b { color: var(--night); }
.fc ol .pt-t { font-weight: 700; color: var(--night); font-variant-numeric: tabular-nums; }
.fc ol .pt-d { grid-column: 1 / -1; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.facts .box { padding: 16px 20px; }
.state { display: flex; align-items: center; gap: 10px; padding: 20px; border-radius: 8px; background: var(--mist); color: var(--muted); font-size: 15px; }

/* short text pages and small forms */
.page { padding-block: 24px 8px; }
.narrow { max-width: 760px; }
.panel { border: 1px solid var(--line); border-radius: 10px; padding: 28px; max-width: 460px; display: flex; flex-direction: column; gap: 14px; }
.panel details summary { cursor: pointer; font-weight: 600; color: var(--night); font-size: 14px; }
.panel details[open] summary { margin-bottom: 12px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 40px 16px; color: var(--muted); }

/* admin */
.admin-nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; font-weight: 600; font-size: 15px; }
.preview { border: 1px solid var(--line); border-radius: 8px; width: 100%; min-height: 480px; background: var(--white); }

/* the menu under 820px */
.drawer-backdrop { position: fixed; inset: 0; z-index: 1300; background: rgba(10,37,64,.45); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1301; width: min(320px, 86vw); background: var(--white); padding: 16px 20px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; box-shadow: -12px 0 32px -18px rgba(0,45,93,.5); }
.drawer > .btn { align-self: flex-end; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font: 600 17px var(--body); color: var(--night); text-decoration: none; padding: 13px 4px; border-top: 1px solid var(--line); }
.drawer nav a:hover { text-decoration: underline; text-decoration-color: var(--water); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.drawer a:focus-visible, .drawer button:focus-visible { outline: 3px solid var(--night); outline-offset: 2px; box-shadow: 0 0 0 6px var(--water); }
@media (prefers-reduced-motion: no-preference) {
  .drawer { animation: drawer-in .18s ease-out; }
  .drawer-backdrop { animation: fade-in .18s ease-out; }
}
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* A route with no prerendered file of its own: see the script in index.html. */
html.app-route #app { visibility: hidden; }
html.app-route body::before { content: "Loading Harbor Friends"; position: fixed; inset: 0; display: grid; place-items: center; color: var(--night); font: 600 16px var(--body); }

.app-loading { display: flex; align-items: center; justify-content: center; min-height: 100vh; color: var(--night); font: 600 16px var(--body); }

#blazor-error-ui { background: #FFF8C4; color: var(--ink); bottom: 0; box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); display: none; left: 0; padding: 0.6rem 3.5rem 0.7rem 1.25rem; position: fixed; width: 100%; z-index: 2000; font: 400 15px/1.4 var(--body); }
#blazor-error-ui a { color: var(--night); font-weight: 600; text-decoration: underline; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.5rem; top: 0.3rem; border: 0; background: transparent; color: var(--ink); font: 700 18px/1 var(--body); padding: 8px 10px; border-radius: 4px; }
#blazor-error-ui .dismiss:focus-visible { outline: 3px solid var(--night); outline-offset: 1px; }

@media (max-width: 820px) {
  .news, .art, .camp, .heroB .top, .grp { grid-template-columns: 1fr; }
  .grp ul, .fest, .around ul { grid-template-columns: 1fr; }
  .wx3, .fc, .feat { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .ftr .wrap { grid-template-columns: 1fr 1fr; }
  .heroB .cam { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 12px; border: 0; }
  .wx3 { margin-top: 16px; }
  .nav { display: none; }
  .btn.menu { display: inline-flex; }
  .mini { grid-template-columns: 1fr 1fr; }
  .news { padding: 24px; }
  .wrap { padding-inline: 16px; }
  .sec { padding-block: 40px; }
}
@media (max-width: 460px) {
  .tiles { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .mini { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) { .cam .play { transition: transform .15s; } }
/* MudBlazor animates ripples, dialogs and snackbars whatever the visitor asked for. */
@media (prefers-reduced-motion: reduce) {
  .mud-ripple::after { display: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
