/* Shared information architecture, with a distinct plate for every domain. */
html[data-site="oposts"] { --au-ink:#102231; --au-deep:#123d5a; --au-mid:#17698b; --au-accent:#e75d3d; --au-paper:#f6f1e8; --au-pale:#e4eff1; }
html[data-site="hometheater"] { --au-ink:#182331; --au-deep:#101720; --au-mid:#253348; --au-accent:#59d0c2; --au-paper:#f5f7f9; --au-pale:#dce8eb; }
html[data-site="encyclopediamy"] { --au-ink:#16271f; --au-deep:#244c3a; --au-mid:#357158; --au-accent:#d9a227; --au-paper:#f6f0df; --au-pale:#e2eadc; }
html[data-site="yuenlong"] { --au-ink:#231b1b; --au-deep:#6e1f26; --au-mid:#98333d; --au-accent:#e9b949; --au-paper:#faf4e8; --au-pale:#f1ddd7; }
html[data-site="soflophp"] { --au-ink:#151c2d; --au-deep:#352e68; --au-mid:#564a99; --au-accent:#6bd0c9; --au-paper:#f7f6fb; --au-pale:#e5e2f2; }
html[data-site="inveterate"] { --au-ink:#241720; --au-deep:#381f32; --au-mid:#5a304e; --au-accent:#d2a95f; --au-paper:#f7efe3; --au-pale:#eadccf; }
html[data-site="takingdownwords"] { --au-ink:#1d232c; --au-deep:#252c38; --au-mid:#394454; --au-accent:#d86d4b; --au-paper:#f8f2e8; --au-pale:#e7e0d5; }
html[data-site="upsidedownhouse"] { --au-ink:#2c1b1d; --au-deep:#6c2f39; --au-mid:#944556; --au-accent:#f0bb45; --au-paper:#fff4df; --au-pale:#f4dfcf; }
html[data-site="musikhistoriskmuseum"] { --au-ink:#2e241c; --au-deep:#493526; --au-mid:#6b4c34; --au-accent:#bd8d4e; --au-paper:#fbf2df; --au-pale:#e9deca; }
html[data-site="honestbee"] { --au-ink:#152a25; --au-deep:#183d36; --au-mid:#246357; --au-accent:#efb84f; --au-paper:#fff8e8; --au-pale:#dfebe4; }
html[data-site="hakkaexpo2023"] { --au-ink:#2b211d; --au-deep:#6b2f2a; --au-mid:#904339; --au-accent:#e4b34f; --au-paper:#fff4df; --au-pale:#f0dfcf; }
html[data-site="eastasiangames2009"] { --au-ink:#2b1820; --au-deep:#7b1632; --au-mid:#a52345; --au-accent:#f4be3f; --au-paper:#fff7ed; --au-pale:#f1dde2; }
html[data-site="copenhagen2011"] { --au-ink:#172b36; --au-deep:#183c52; --au-mid:#245b73; --au-accent:#df3f4e; --au-paper:#f5f7f6; --au-pale:#dde9eb; }
html[data-site="skhartsfestival"] { --au-ink:#173136; --au-deep:#164b57; --au-mid:#247080; --au-accent:#e78c53; --au-paper:#fff8e8; --au-pale:#dcebea; }
html[data-site="rakumy"] { --au-ink:#291a35; --au-deep:#41265d; --au-mid:#603b82; --au-accent:#f05f78; --au-paper:#faf5fb; --au-pale:#eadff0; }
html[data-site="busshk"] { --au-ink:#17263a; --au-deep:#173a68; --au-mid:#245995; --au-accent:#e64a46; --au-paper:#f6f8fb; --au-pale:#dfe8f3; }
html[data-site="waagg"] { --au-ink:#172033; --au-deep:#17233d; --au-mid:#26385f; --au-accent:#55c5ba; --au-paper:#f6f7fb; --au-pale:#e1e6f0; }
html[data-site="sv388safety"] { --au-ink:#1d2924; --au-deep:#26352f; --au-mid:#375247; --au-accent:#e7a43b; --au-paper:#f7f4eb; --au-pale:#e2e8e1; }
html[data-site="megadsafety"] { --au-ink:#17191c; --au-deep:#171a1f; --au-mid:#2a3038; --au-accent:#ef6b4a; --au-paper:#f5f5f3; --au-pale:#e1e3e4; }

html[data-site] { --au-border:color-mix(in srgb, var(--au-ink) 18%, transparent); }
body { background:var(--au-paper); color:var(--au-ink); }
.wrap { max-width:1180px; }
.authority-header { position:relative; z-index:10; color:white; background:var(--au-deep); border-bottom:1px solid rgba(255,255,255,.18); }
.authority-header-main { min-height:78px; display:grid; grid-template-columns:auto 1fr minmax(240px,360px); align-items:center; gap:24px; }
.authority-brand { display:inline-flex; align-items:center; gap:12px; color:inherit; text-decoration:none; min-width:0; }
.authority-brand:hover { color:inherit; }
.authority-brand > span:last-child { display:grid; line-height:1.05; gap:4px; }
.authority-brand strong { font-family:Georgia,serif; font-size:1.15rem; letter-spacing:-.01em; }
.authority-brand small { opacity:.72; font-size:.68rem; letter-spacing:.11em; text-transform:uppercase; }
.authority-mark { width:42px; height:42px; display:grid; place-items:center; flex:0 0 42px; border:1px solid rgba(255,255,255,.55); background:var(--au-mid); color:white; font-weight:850; font-size:.84rem; letter-spacing:-.03em; box-shadow:4px 4px 0 var(--au-accent); }
.authority-toggle { display:none; }
.authority-header-search input { width:100%; border:1px solid rgba(255,255,255,.35); color:white; background:rgba(0,0,0,.16); padding:.7rem .85rem; border-radius:0; }
.authority-header-search input::placeholder { color:rgba(255,255,255,.7); }
.authority-nav { background:color-mix(in srgb, var(--au-deep) 82%, black); border-top:1px solid rgba(255,255,255,.13); }
.authority-nav-inner { display:flex; overflow:auto; scrollbar-width:none; }
.authority-nav a { flex:0 0 auto; padding:.72rem .95rem; color:rgba(255,255,255,.82); text-decoration:none; font-size:.78rem; font-weight:700; letter-spacing:.035em; border-bottom:3px solid transparent; }
.authority-nav a:hover,.authority-nav a.is-current { color:white; border-color:var(--au-accent); }

.authority-hero { color:white; background:var(--au-deep); padding:clamp(3.5rem,8vw,7.3rem) 0; position:relative; overflow:hidden; }
.authority-hero::after { content:""; position:absolute; width:430px; height:430px; right:-120px; top:-190px; border:1px solid rgba(255,255,255,.17); border-radius:50%; box-shadow:0 0 0 58px rgba(255,255,255,.035),0 0 0 116px rgba(255,255,255,.025); }
.authority-hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr); gap:clamp(42px,8vw,110px); align-items:end; }
.authority-eyebrow { margin:0 0 .8rem; color:var(--au-accent); text-transform:uppercase; letter-spacing:.16em; font-size:.72rem; font-weight:850; }
.authority-hero h1 { max-width:810px; margin:0; color:white; font-family:Georgia,serif; font-size:clamp(2.7rem,6.3vw,5.7rem); line-height:.95; letter-spacing:-.045em; }
.authority-standfirst { max-width:720px; margin:1.5rem 0 2rem; color:rgba(255,255,255,.82); font-size:clamp(1.05rem,2vw,1.35rem); line-height:1.55; }
.authority-search > label { display:block; margin-bottom:.55rem; font-size:.72rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.authority-search > div { display:flex; max-width:690px; }
.authority-search input { min-width:0; flex:1; padding:1rem 1.1rem; border:0; background:white; color:var(--au-ink); }
.authority-search button { border:0; padding:0 1.35rem; background:var(--au-accent); color:var(--au-ink); font-weight:850; }
.authority-start { background:var(--au-paper); color:var(--au-ink); padding:1.7rem; box-shadow:10px 10px 0 var(--au-accent); }
.authority-panel-kicker { margin:0; color:var(--au-mid); font-size:.7rem; font-weight:850; letter-spacing:.13em; text-transform:uppercase; }
.authority-start h2 { margin:.55rem 0 1.2rem; font-family:Georgia,serif; font-size:1.5rem; line-height:1.15; }
.authority-start a { display:grid; grid-template-columns:30px 1fr auto; gap:.65rem; align-items:center; padding:.85rem 0; border-top:1px solid var(--au-border); color:var(--au-ink); text-decoration:none; }
.authority-start a span { color:var(--au-mid); font-size:.7rem; font-weight:850; }
.authority-start a b { color:var(--au-accent); }

.authority-main { padding-top:clamp(3rem,6vw,6rem); padding-bottom:5rem; }
.authority-trust { max-width:850px; margin-bottom:3.5rem; padding-left:1.4rem; border-left:5px solid var(--au-accent); }
.authority-trust h2 { margin:0 0 .7rem; font-family:Georgia,serif; font-size:clamp(1.8rem,4vw,2.8rem); line-height:1.08; }
.authority-trust p:last-child { font-size:1.05rem; line-height:1.7; }
.authority-sources { display:grid; grid-template-columns:1fr 1fr; gap:3rem; margin:3rem 0 5rem; padding:2rem; background:var(--au-pale); border-top:4px solid var(--au-mid); }
.authority-sources h2 { margin:.2rem 0 .7rem; font-family:Georgia,serif; font-size:1.85rem; }
.authority-sources p:last-child { margin-bottom:0; line-height:1.65; }
.authority-sources ul { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:.7rem; }
.authority-sources a { display:flex; justify-content:space-between; height:100%; padding:.9rem; background:var(--au-paper); border:1px solid var(--au-border); color:var(--au-ink); text-decoration:none; font-weight:750; }
.authority-sources a:hover { border-color:var(--au-accent); transform:translateY(-1px); }
.authority-section-head { display:flex; align-items:end; justify-content:space-between; gap:2rem; margin-bottom:1.4rem; border-bottom:1px solid var(--au-border); }
.authority-section-head h2 { margin:0 0 1rem; font-family:Georgia,serif; font-size:clamp(2rem,4vw,3.3rem); letter-spacing:-.035em; }
.authority-section-head > p { margin-bottom:1.1rem; color:color-mix(in srgb,var(--au-ink) 67%,transparent); }
.authority-topic-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:1px; background:var(--au-border); border:1px solid var(--au-border); }
.authority-topic { grid-column:span 2; padding:1.7rem; background:var(--au-paper); min-height:300px; display:flex; flex-direction:column; }
.authority-topic:nth-child(4),.authority-topic:nth-child(5) { grid-column:span 3; }
.authority-topic-no { margin:0 0 1.2rem; color:var(--au-accent); font-weight:900; font-size:.72rem; }
.authority-topic h3 { margin:0 0 1rem; font-family:Georgia,serif; font-size:1.55rem; line-height:1.1; }
.authority-topic h3 a,.authority-topic li a { color:var(--au-ink); text-decoration:none; }
.authority-topic ul { margin:0 0 1.3rem; padding:0; list-style:none; }
.authority-topic li { padding:.5rem 0; border-top:1px solid var(--au-border); font-size:.9rem; }
.authority-more { margin-top:auto; color:var(--au-mid); font-weight:800; text-decoration:none; }
.authority-latest { margin-top:5rem; }
.authority-latest .card { background:var(--au-paper); border-color:var(--au-border); }
.authority-latest .card-art { color:var(--au-deep); background:var(--au-pale); }

.authority-footer { color:white; background:var(--au-deep); padding-top:3.5rem; }
.authority-footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:4rem; }
.authority-footer-grid > div > p { max-width:520px; color:rgba(255,255,255,.76); line-height:1.6; }
.authority-history { font-size:.82rem; }
.authority-footer nav { display:flex; flex-direction:column; gap:.65rem; }
.authority-footer nav a { color:rgba(255,255,255,.82); text-decoration:none; font-size:.88rem; }
.authority-footer-head { margin:0 0 .4rem; color:var(--au-accent); text-transform:uppercase; letter-spacing:.14em; font-size:.68rem; font-weight:850; }
.authority-independence { display:flex; gap:.8rem; margin-top:2.5rem; padding:1rem 1.1rem; background:rgba(0,0,0,.22); border-left:4px solid var(--au-accent); font-size:.83rem; line-height:1.5; }
.authority-independence strong { flex:0 0 auto; color:var(--au-accent); }
.authority-footer-bottom { display:flex; justify-content:space-between; gap:2rem; margin-top:2rem; padding-top:1rem; padding-bottom:1.5rem; border-top:1px solid rgba(255,255,255,.16); color:rgba(255,255,255,.58); font-size:.74rem; }
.authority-footer-bottom p { margin:0; }
.page-article .doc-head h1,.page-subject .doc-head h1 { font-family:Georgia,serif; letter-spacing:-.035em; color:var(--au-deep); }
.page-article .prose h2,.page-subject .prose h2 { font-family:Georgia,serif; color:var(--au-deep); }
.page-article .authority-sources,.page-subject .authority-sources { grid-template-columns:1fr; margin:3rem 0; }
.page-article .authority-sources ul,.page-subject .authority-sources ul { grid-template-columns:1fr 1fr; }

@media (max-width:800px) {
  .authority-header-main { grid-template-columns:auto 1fr; min-height:68px; gap:14px; }
  .authority-toggle {
    display:grid;
    width:44px;
    height:44px;
    border-color:rgba(255,255,255,.55);
    border-radius:0;
    background:transparent;
  }
  .authority-toggle .nav-toggle-bars,
  .authority-toggle .nav-toggle-bars::before,
  .authority-toggle .nav-toggle-bars::after { background:white; }
  .authority-header-search,.authority-nav { display:none; }
  .authority-hero-grid,.authority-sources { grid-template-columns:1fr; }
  .authority-start { box-shadow:6px 6px 0 var(--au-accent); }
  .authority-sources { gap:1.5rem; padding:1.3rem; }
  .authority-topic-grid { grid-template-columns:1fr; }
  .authority-topic,.authority-topic:nth-child(4),.authority-topic:nth-child(5) { grid-column:auto; min-height:0; }
  .authority-footer-grid { grid-template-columns:1fr 1fr; gap:2.5rem; }
  .authority-footer-grid > div { grid-column:1/-1; }
}
@media (max-width:520px) {
  .authority-brand strong { font-size:1rem; }
  .authority-brand small { display:none; }
  .authority-mark { width:36px; height:36px; flex-basis:36px; }
  .authority-hero { padding:3.5rem 0; }
  .authority-hero h1 { font-size:2.65rem; }
  .authority-search > div { display:grid; }
  .authority-search button { min-height:46px; }
  .authority-sources ul,.page-article .authority-sources ul,.page-subject .authority-sources ul { grid-template-columns:1fr; }
  .authority-section-head,.authority-footer-bottom,.authority-independence { align-items:flex-start; flex-direction:column; }
}

/* -------------------------------------------------------------------------
   Site signatures

   These publications share an information model, not a visual identity.  The
   rules below deliberately change type, density, geometry, hierarchy and card
   behaviour per title.  A palette swap is not a design: every site has a
   subject-led composition that also carries through to article pages.
   ------------------------------------------------------------------------- */

/* O-Posts — match-day broadsheet: pitch lines, scoreboard labels, hard rules. */
html[data-site="oposts"] body { font-family:"Arial Narrow", "Roboto Condensed", Arial, sans-serif; background:#f3f0e6; }
html[data-site="oposts"] .authority-header { border-bottom:7px solid var(--au-accent); }
html[data-site="oposts"] .authority-brand strong,
html[data-site="oposts"] .authority-hero h1,
html[data-site="oposts"] .authority-section-head h2,
html[data-site="oposts"] .authority-topic h3 { font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; text-transform:uppercase; letter-spacing:.015em; }
html[data-site="oposts"] .authority-hero { background-color:#123d2e; background-image:linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.15) 50%, transparent 50.2%), radial-gradient(circle at 50% 50%, transparent 0 92px, rgba(255,255,255,.14) 93px 95px, transparent 96px); }
html[data-site="oposts"] .authority-hero::after { border-radius:0; width:16px; height:100%; top:0; right:8%; border:0; background:var(--au-accent); box-shadow:none; }
html[data-site="oposts"] .authority-start,
html[data-site="oposts"] .authority-topic { border-radius:0; border-top:6px solid var(--au-deep); }
html[data-site="oposts"] .authority-topic-no { display:inline-block; width:max-content; padding:.25rem .45rem; color:white; background:var(--au-mid); }
html[data-site="oposts"] .page-article .doc-head,
html[data-site="oposts"] .page-subject .doc-head { padding:1.5rem; border-left:10px solid var(--au-accent); background:white; }

/* Practical Home Theater — dark screening room with a wide cinematic frame. */
html[data-site="hometheater"] body { font-family:Avenir, "Segoe UI", sans-serif; background:#0e131a; }
html[data-site="hometheater"] .authority-header { background:#080b10; }
html[data-site="hometheater"] .authority-mark { border-radius:50%; box-shadow:0 0 22px color-mix(in srgb,var(--au-accent) 48%,transparent); }
html[data-site="hometheater"] .authority-hero { min-height:590px; display:flex; align-items:center; background:radial-gradient(ellipse at 50% 15%, #334457 0, #101720 52%, #080b10 100%); border-block:12px solid #05070a; }
html[data-site="hometheater"] .authority-hero::after { width:70vw; height:36vw; max-height:470px; right:-7vw; top:60px; border-radius:2px; border:2px solid rgba(255,255,255,.12); box-shadow:0 0 70px rgba(89,208,194,.12); }
html[data-site="hometheater"] .authority-main { color:#eaf0f5; }
html[data-site="hometheater"] .authority-trust,
html[data-site="hometheater"] .authority-sources,
html[data-site="hometheater"] .authority-topic,
html[data-site="hometheater"] .authority-latest .card { color:var(--au-ink); }
html[data-site="hometheater"] .authority-trust { padding:1.7rem; background:#f5f7f9; }
html[data-site="hometheater"] .authority-topic { border-radius:12px; box-shadow:0 18px 45px rgba(0,0,0,.24); }
html[data-site="hometheater"] .page-article .doc,
html[data-site="hometheater"] .page-subject .doc { margin:1.5rem 0 4rem; padding:clamp(1.5rem,4vw,3.5rem); color:var(--au-ink); background:#f5f7f9; box-shadow:0 20px 70px rgba(0,0,0,.35); }

/* Encyclopedia Malaysia — reference-volume typography and alphabetical tabs. */
html[data-site="encyclopediamy"] body { font-family:Georgia, "Times New Roman", serif; }
html[data-site="encyclopediamy"] .authority-header-main { min-height:92px; }
html[data-site="encyclopediamy"] .authority-brand strong { font-size:1.35rem; font-variant:small-caps; letter-spacing:.06em; }
html[data-site="encyclopediamy"] .authority-mark { background:transparent; border:2px double rgba(255,255,255,.65); box-shadow:none; }
html[data-site="encyclopediamy"] .authority-hero { border-bottom:1px solid #b8aa89; background:linear-gradient(90deg,rgba(0,0,0,.14) 1px,transparent 1px) 0 0/36px 100%,var(--au-paper); color:var(--au-ink); }
html[data-site="encyclopediamy"] .authority-hero h1 { color:var(--au-deep); font-size:clamp(2.7rem,5vw,4.8rem); }
html[data-site="encyclopediamy"] .authority-standfirst { color:#4e594f; }
html[data-site="encyclopediamy"] .authority-start { border:1px solid #aa9c79; box-shadow:9px 9px 0 #d9cfb3; }
html[data-site="encyclopediamy"] .authority-topic { border-left:8px solid var(--au-mid); }
html[data-site="encyclopediamy"] .authority-topic-no { font-family:ui-monospace,monospace; }
html[data-site="encyclopediamy"] .page-article .prose,
html[data-site="encyclopediamy"] .page-subject .prose { font-size:1.12rem; line-height:1.78; }

/* Yuen Long — compact Hong Kong neighbourhood zine and wayfinding signs. */
html[data-site="yuenlong"] body { font-family:"PingFang HK", "Noto Sans TC", "Microsoft JhengHei", sans-serif; background:#fffaf0; }
html[data-site="yuenlong"] .authority-header { border-top:8px solid var(--au-accent); }
html[data-site="yuenlong"] .authority-brand strong { font-weight:900; letter-spacing:.04em; }
html[data-site="yuenlong"] .authority-mark { border:0; box-shadow:5px 5px 0 #241b1b; background:var(--au-accent); color:#241b1b; }
html[data-site="yuenlong"] .authority-hero { background:linear-gradient(135deg,var(--au-deep) 0 67%,var(--au-accent) 67% 69%,#f4dfae 69%); }
html[data-site="yuenlong"] .authority-hero h1 { font-family:inherit; font-weight:950; }
html[data-site="yuenlong"] .authority-topic { border:2px solid var(--au-deep); }
html[data-site="yuenlong"] .authority-topic:nth-child(even) { background:#fff3cf; transform:translateY(18px); }
html[data-site="yuenlong"] .authority-topic-no { color:#fff; background:var(--au-deep); padding:.3rem .55rem; width:max-content; }
html[data-site="yuenlong"] .page-article .doc-head h1,
html[data-site="yuenlong"] .page-subject .doc-head h1 { font-family:inherit; font-weight:950; border-bottom:9px solid var(--au-accent); padding-bottom:1rem; }

/* SoFlo PHP — developer terminal: mono type, prompt markers and code grid. */
html[data-site="soflophp"] body { font-family:ui-monospace,"SFMono-Regular",Consolas,monospace; background:#0d1220; }
html[data-site="soflophp"] .authority-header { background:#12192b; border-bottom:1px solid #6bd0c9; }
html[data-site="soflophp"] .authority-brand strong,
html[data-site="soflophp"] .authority-hero h1,
html[data-site="soflophp"] .authority-section-head h2,
html[data-site="soflophp"] .authority-topic h3 { font-family:inherit; }
html[data-site="soflophp"] .authority-brand strong::before { content:"> "; color:var(--au-accent); }
html[data-site="soflophp"] .authority-hero { background-color:#151c2d; background-image:linear-gradient(rgba(107,208,201,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(107,208,201,.055) 1px,transparent 1px); background-size:24px 24px; }
html[data-site="soflophp"] .authority-hero h1::after { content:"_"; color:var(--au-accent); animation:au-cursor 1.1s steps(2,end) infinite; }
@keyframes au-cursor { 50% { opacity:0; } }
html[data-site="soflophp"] .authority-main { color:#d9e1f2; }
html[data-site="soflophp"] .authority-trust,
html[data-site="soflophp"] .authority-sources,
html[data-site="soflophp"] .authority-topic,
html[data-site="soflophp"] .authority-latest .card { color:var(--au-ink); }
html[data-site="soflophp"] .authority-trust { padding:1.7rem; background:#f7f6fb; border-left-color:#6bd0c9; }
html[data-site="soflophp"] .authority-topic { border-top:3px solid var(--au-accent); }
html[data-site="soflophp"] .page-article .doc,
html[data-site="soflophp"] .page-subject .doc { margin-top:1rem; padding:2rem; color:#d9e1f2; background:#151c2d; border:1px solid #3d4b67; }
html[data-site="soflophp"] .page-article .prose h2,
html[data-site="soflophp"] .page-subject .prose h2 { color:#6bd0c9; }

/* Inveterate — independent culture magazine with editorial asymmetry. */
html[data-site="inveterate"] body { font-family:"Helvetica Neue",Arial,sans-serif; }
html[data-site="inveterate"] .authority-header-main { min-height:104px; align-items:end; padding-bottom:18px; }
html[data-site="inveterate"] .authority-brand strong { font-family:Didot,"Bodoni 72",Georgia,serif; font-size:1.6rem; font-style:italic; }
html[data-site="inveterate"] .authority-hero h1,
html[data-site="inveterate"] .authority-section-head h2,
html[data-site="inveterate"] .authority-topic h3 { font-family:Didot,"Bodoni 72",Georgia,serif; font-weight:500; }
html[data-site="inveterate"] .authority-hero { background:linear-gradient(100deg,var(--au-paper) 0 56%,var(--au-deep) 56%); color:var(--au-ink); }
html[data-site="inveterate"] .authority-hero h1 { color:var(--au-deep); }
html[data-site="inveterate"] .authority-standfirst { color:#5c4e53; }
html[data-site="inveterate"] .authority-start { transform:rotate(1.25deg); }
html[data-site="inveterate"] .authority-topic { border:0; border-bottom:1px solid var(--au-ink); }
html[data-site="inveterate"] .authority-topic:nth-child(2n) { padding-top:4rem; }
html[data-site="inveterate"] .page-article .doc-head,
html[data-site="inveterate"] .page-subject .doc-head { max-width:780px; margin-left:clamp(0px,7vw,90px); }

/* Taking Down Words — pared-back writer's journal and proofing marks. */
html[data-site="takingdownwords"] body { font-family:Charter,"Bitstream Charter",Georgia,serif; background:#fcfaf5; }
html[data-site="takingdownwords"] .authority-header { color:#1d232c; background:#fcfaf5; border-bottom:3px double #1d232c; }
html[data-site="takingdownwords"] .authority-brand small,
html[data-site="takingdownwords"] .authority-nav a { color:#555; }
html[data-site="takingdownwords"] .authority-mark { color:white; background:#1d232c; box-shadow:4px 4px 0 #d86d4b; }
html[data-site="takingdownwords"] .authority-nav { background:#fcfaf5; border-color:#bbb; }
html[data-site="takingdownwords"] .authority-hero { color:#1d232c; background:#fcfaf5; border-bottom:1px solid #1d232c; }
html[data-site="takingdownwords"] .authority-nav a:hover,
html[data-site="takingdownwords"] .authority-nav a.is-current { color:#1d232c; }
html[data-site="takingdownwords"] .authority-hero h1 { color:#1d232c; max-width:680px; font-weight:500; }
html[data-site="takingdownwords"] .authority-standfirst { color:#555; }
html[data-site="takingdownwords"] .authority-start { border:1px solid #1d232c; box-shadow:12px 12px 0 #d86d4b; }
html[data-site="takingdownwords"] .authority-trust { max-width:650px; margin-inline:auto; border-left:0; border-top:1px solid; padding:2rem 0 0; }
html[data-site="takingdownwords"] .authority-topic { min-height:0; padding:2rem 1rem; }
html[data-site="takingdownwords"] .page-article .doc,
html[data-site="takingdownwords"] .page-subject .doc { max-width:760px; margin-inline:auto; }

/* Upside Down House — playful exhibit cards and deliberately tilted geometry. */
html[data-site="upsidedownhouse"] body { font-family:ui-rounded,"SF Pro Rounded","Arial Rounded MT Bold",sans-serif; background:#fff4df; }
html[data-site="upsidedownhouse"] .authority-header { border-bottom:6px solid var(--au-accent); }
html[data-site="upsidedownhouse"] .authority-mark { transform:rotate(180deg); border-radius:12px; }
html[data-site="upsidedownhouse"] .authority-hero { background:linear-gradient(155deg,var(--au-deep) 0 57%,var(--au-mid) 57%); }
html[data-site="upsidedownhouse"] .authority-hero::after { border-radius:28px; transform:rotate(18deg); }
html[data-site="upsidedownhouse"] .authority-start { border-radius:24px 5px 24px 5px; transform:rotate(-1.4deg); }
html[data-site="upsidedownhouse"] .authority-topic { border-radius:26px 6px 26px 6px; box-shadow:7px 7px 0 var(--au-accent); }
html[data-site="upsidedownhouse"] .authority-topic:nth-child(even) { transform:rotate(1deg); }
html[data-site="upsidedownhouse"] .authority-topic:nth-child(odd) { transform:rotate(-.7deg); }
html[data-site="upsidedownhouse"] .page-article .doc-head,
html[data-site="upsidedownhouse"] .page-subject .doc-head { padding:2rem; background:var(--au-pale); border-radius:28px 8px; }

/* Musikhistorisk Museum — Danish collection catalogue and archival labels. */
html[data-site="musikhistoriskmuseum"] body { font-family:"Avenir Next",Avenir,"Segoe UI",sans-serif; background:#efe4cf; }
html[data-site="musikhistoriskmuseum"] .authority-brand strong,
html[data-site="musikhistoriskmuseum"] .authority-hero h1,
html[data-site="musikhistoriskmuseum"] .authority-section-head h2,
html[data-site="musikhistoriskmuseum"] .authority-topic h3 { font-family:"Baskerville","Iowan Old Style",Georgia,serif; }
html[data-site="musikhistoriskmuseum"] .authority-hero { background-color:#493526; background-image:linear-gradient(100deg,rgba(255,255,255,.035) 50%,transparent 50%),radial-gradient(circle at 92% 44%,transparent 0 130px,rgba(255,255,255,.16) 131px 132px,transparent 133px); }
html[data-site="musikhistoriskmuseum"] .authority-hero h1 { font-size:clamp(2.5rem,5vw,4.65rem); overflow-wrap:anywhere; }
html[data-site="musikhistoriskmuseum"] .authority-main { background:#fbf2df; box-shadow:0 0 0 1px #d5c5a9; }
html[data-site="musikhistoriskmuseum"] .authority-trust { border:1px solid #bda989; border-left:12px solid var(--au-accent); padding:1.6rem; }
html[data-site="musikhistoriskmuseum"] .authority-topic { border-top:1px solid #9e8d72; }
html[data-site="musikhistoriskmuseum"] .authority-topic-no { font-family:ui-monospace,monospace; color:#6b4c34; }
html[data-site="musikhistoriskmuseum"] .page-article .doc-head,
html[data-site="musikhistoriskmuseum"] .page-subject .doc-head { border-bottom:4px double #8b7558; padding-bottom:1.5rem; }

/* Honest Grocery — friendly market board with label-like cards. */
html[data-site="honestbee"] body { font-family:ui-rounded,"SF Pro Rounded",Avenir,sans-serif; background:#fff8e8; }
html[data-site="honestbee"] .authority-header { border-top:9px solid #efb84f; }
html[data-site="honestbee"] .authority-mark { border:0; border-radius:50% 50% 45% 55%; color:#183d36; background:#efb84f; box-shadow:none; }
html[data-site="honestbee"] .authority-hero { background:linear-gradient(120deg,#183d36 0 64%,#246357 64%); }
html[data-site="honestbee"] .authority-hero::after { border:0; border-radius:50%; background:#efb84f; opacity:.13; }
html[data-site="honestbee"] .authority-start { border-radius:20px; box-shadow:7px 7px 0 #efb84f; }
html[data-site="honestbee"] .authority-topic { border-radius:18px; border:1px solid #cddfd3; }
html[data-site="honestbee"] .authority-topic-no { padding:.35rem .6rem; width:max-content; border-radius:999px; color:#183d36; background:#efb84f; }
html[data-site="honestbee"] .page-article .doc-head,
html[data-site="honestbee"] .page-subject .doc-head { padding:1.8rem; border-radius:18px; background:#dfebe4; }

/* Hakka Expo — exhibition placards with woven border rhythm. */
html[data-site="hakkaexpo2023"] body { font-family:"Noto Serif TC","Songti TC",Georgia,serif; background:#fff4df; }
html[data-site="hakkaexpo2023"] .authority-header { border-bottom:10px solid transparent; border-image:repeating-linear-gradient(90deg,#e4b34f 0 18px,#904339 18px 36px) 10; }
html[data-site="hakkaexpo2023"] .authority-mark { transform:rotate(45deg); box-shadow:none; }
html[data-site="hakkaexpo2023"] .authority-mark::first-letter { transform:rotate(-45deg); }
html[data-site="hakkaexpo2023"] .authority-hero { background:linear-gradient(90deg,rgba(228,179,79,.08) 50%,transparent 50%) 0 0/44px 44px,var(--au-deep); }
html[data-site="hakkaexpo2023"] .authority-start { outline:1px solid var(--au-accent); outline-offset:-9px; }
html[data-site="hakkaexpo2023"] .authority-topic { border:1px solid #c9a887; }
html[data-site="hakkaexpo2023"] .authority-topic:nth-child(3n+1) { border-top:10px solid var(--au-accent); }
html[data-site="hakkaexpo2023"] .page-article .doc-head,
html[data-site="hakkaexpo2023"] .page-subject .doc-head { padding-left:2rem; border-left:12px double var(--au-mid); }

/* 2009 East Asian Games — event scoreboard and medal podium blocks. */
html[data-site="eastasiangames2009"] body { font-family:"Arial Narrow","Roboto Condensed",Arial,sans-serif; }
html[data-site="eastasiangames2009"] .authority-header { background:#7b1632; border-bottom:6px solid #f4be3f; }
html[data-site="eastasiangames2009"] .authority-brand strong,
html[data-site="eastasiangames2009"] .authority-hero h1,
html[data-site="eastasiangames2009"] .authority-section-head h2 { font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif; text-transform:uppercase; }
html[data-site="eastasiangames2009"] .authority-mark { border-radius:50%; box-shadow:none; color:#7b1632; background:#f4be3f; }
html[data-site="eastasiangames2009"] .authority-hero { background:linear-gradient(115deg,#7b1632 0 60%,#a52345 60% 78%,#f4be3f 78%); }
html[data-site="eastasiangames2009"] .authority-start { border-top:12px solid #f4be3f; box-shadow:none; }
html[data-site="eastasiangames2009"] .authority-topic { min-height:260px; border-bottom:8px solid #7b1632; }
html[data-site="eastasiangames2009"] .authority-topic:nth-child(2) { transform:translateY(-18px); border-color:#f4be3f; }
html[data-site="eastasiangames2009"] .authority-topic:nth-child(3) { transform:translateY(14px); border-color:#a52345; }

/* Copenhagen 2011 — airy Scandinavian cycling journal and lane markings. */
html[data-site="copenhagen2011"] body { font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; background:#f5f7f6; }
html[data-site="copenhagen2011"] .authority-header { color:#172b36; background:#f5f7f6; border-bottom:2px solid #172b36; }
html[data-site="copenhagen2011"] .authority-brand small { color:#52636b; }
html[data-site="copenhagen2011"] .authority-mark { border-radius:50%; border:3px solid #183c52; color:#183c52; background:transparent; box-shadow:none; }
html[data-site="copenhagen2011"] .authority-nav { background:#f5f7f6; border:0; }
html[data-site="copenhagen2011"] .authority-nav a { color:#172b36; }
html[data-site="copenhagen2011"] .authority-nav a:hover,
html[data-site="copenhagen2011"] .authority-nav a.is-current { color:#172b36; }
html[data-site="copenhagen2011"] .authority-hero { padding-block:8rem; color:#172b36; background:linear-gradient(90deg,transparent 0 74%,#df3f4e 74% 75%,transparent 75%),#dde9eb; }
html[data-site="copenhagen2011"] .authority-hero h1 { color:#183c52; font-family:"Helvetica Neue",sans-serif; font-weight:300; }
html[data-site="copenhagen2011"] .authority-standfirst { color:#425762; }
html[data-site="copenhagen2011"] .authority-start { box-shadow:none; border:1px solid #183c52; }
html[data-site="copenhagen2011"] .authority-topic { border:0; border-left:2px solid #df3f4e; }
html[data-site="copenhagen2011"] .page-article .doc,
html[data-site="copenhagen2011"] .page-subject .doc { max-width:820px; margin-inline:auto; }

/* Sai Kung Hoi Arts — coastal festival programme with organic colour fields. */
html[data-site="skhartsfestival"] body { font-family:"Avenir Next",Avenir,sans-serif; background:#fff8e8; }
html[data-site="skhartsfestival"] .authority-header { background:#164b57; }
html[data-site="skhartsfestival"] .authority-mark { border-radius:58% 42% 55% 45%; box-shadow:5px 3px 0 #e78c53; }
html[data-site="skhartsfestival"] .authority-hero { background:linear-gradient(165deg,#164b57 0 68%,#247080 68% 81%,#e78c53 81%); }
html[data-site="skhartsfestival"] .authority-hero::after { border-radius:46% 54% 63% 37%; transform:rotate(-14deg); }
html[data-site="skhartsfestival"] .authority-start { border-radius:45% 8% 12% 7%/8% 13% 9% 12%; }
html[data-site="skhartsfestival"] .authority-topic { border:0; border-radius:40px 8px; }
html[data-site="skhartsfestival"] .authority-topic:nth-child(even) { background:#dcebea; }
html[data-site="skhartsfestival"] .page-article .doc-head h1,
html[data-site="skhartsfestival"] .page-subject .doc-head h1 { text-decoration:underline; text-decoration-color:#e78c53; text-decoration-thickness:8px; text-underline-offset:9px; }

/* Raku Malaysia — dark listening studio with waveform rhythm. */
html[data-site="rakumy"] body { font-family:"Avenir Next",Avenir,sans-serif; background:#171020; }
html[data-site="rakumy"] .authority-header { background:#171020; border-bottom:1px solid #f05f78; }
html[data-site="rakumy"] .authority-mark { border-radius:50%; box-shadow:0 0 0 5px rgba(240,95,120,.16); }
html[data-site="rakumy"] .authority-hero { background:repeating-linear-gradient(90deg,transparent 0 8px,rgba(240,95,120,.06) 9px,transparent 10px 18px),linear-gradient(135deg,#171020,#41265d); }
html[data-site="rakumy"] .authority-hero::after { height:220px; width:220px; top:120px; right:8%; border:34px solid rgba(240,95,120,.12); box-shadow:0 0 0 2px #f05f78,0 0 60px rgba(240,95,120,.18); }
html[data-site="rakumy"] .authority-main { color:#f4edf6; }
html[data-site="rakumy"] .authority-trust,
html[data-site="rakumy"] .authority-sources,
html[data-site="rakumy"] .authority-topic,
html[data-site="rakumy"] .authority-latest .card { color:var(--au-ink); }
html[data-site="rakumy"] .authority-trust { padding:1.7rem; background:#faf5fb; border-left-color:#f05f78; }
html[data-site="rakumy"] .authority-topic { border-radius:0 28px 0 28px; border-left:5px solid #f05f78; }
html[data-site="rakumy"] .page-article .doc,
html[data-site="rakumy"] .page-subject .doc { margin-top:1rem; padding:2rem; color:#f4edf6; background:#291a35; }

/* Hong Kong Bus Guide — transit diagram, route badges and connected cards. */
html[data-site="busshk"] body { font-family:Bahnschrift,"DIN Alternate","Arial Narrow",sans-serif; background:#f6f8fb; }
html[data-site="busshk"] .authority-header { border-top:7px solid #e64a46; }
html[data-site="busshk"] .authority-mark { border-radius:50%; box-shadow:none; background:#e64a46; }
html[data-site="busshk"] .authority-hero { background-color:#173a68; background-image:linear-gradient(90deg,transparent 0 12%,rgba(255,255,255,.13) 12% 12.5%,transparent 12.5% 72%,rgba(230,74,70,.65) 72% 73%,transparent 73%); }
html[data-site="busshk"] .authority-start { border-radius:10px; border-left:10px solid #e64a46; box-shadow:none; }
html[data-site="busshk"] .authority-topic-grid { gap:18px; border:0; background:linear-gradient(#245995,#245995) 50% 0/4px 100% no-repeat; }
html[data-site="busshk"] .authority-topic { border:2px solid #245995; border-radius:10px; }
html[data-site="busshk"] .authority-topic-no { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; color:white; background:#e64a46; }
html[data-site="busshk"] .page-article .doc-head,
html[data-site="busshk"] .page-subject .doc-head { border-left:9px solid #e64a46; padding-left:1.5rem; }

/* WAAGG — social analytics dashboard, metrics grid and crisp system type. */
html[data-site="waagg"] body { font-family:Inter,"SF Pro Display","Segoe UI",sans-serif; background:#eef1f7; }
html[data-site="waagg"] .authority-header { background:#17233d; }
html[data-site="waagg"] .authority-mark { border-radius:10px; box-shadow:4px 4px 0 #55c5ba; }
html[data-site="waagg"] .authority-hero { background:linear-gradient(135deg,#17233d 0 72%,#26385f 72%); }
html[data-site="waagg"] .authority-hero::after { border-radius:16px; border-color:#55c5ba; transform:rotate(8deg); }
html[data-site="waagg"] .authority-start { border-radius:12px; box-shadow:0 18px 50px rgba(13,24,50,.3); }
html[data-site="waagg"] .authority-main { max-width:1240px; }
html[data-site="waagg"] .authority-trust,
html[data-site="waagg"] .authority-sources,
html[data-site="waagg"] .authority-topic { border-radius:12px; box-shadow:0 8px 25px rgba(23,32,51,.08); }
html[data-site="waagg"] .authority-trust { padding:1.6rem; border:0; background:white; }
html[data-site="waagg"] .authority-topic-no { color:#17233d; font-size:1.35rem; }
html[data-site="waagg"] .page-article .doc-head,
html[data-site="waagg"] .page-subject .doc-head { padding:2rem; border-radius:12px; background:white; box-shadow:0 8px 25px rgba(23,32,51,.08); }

/* SV388 safety — consumer-warning manual, not a betting aesthetic. */
html[data-site="sv388safety"] body { font-family:Arial,"Helvetica Neue",sans-serif; background:#f7f4eb; }
html[data-site="sv388safety"] .authority-header { border-block:7px solid #e7a43b; background:#26352f; }
html[data-site="sv388safety"] .authority-mark { color:#1d2924; background:#e7a43b; border-color:#e7a43b; box-shadow:none; }
html[data-site="sv388safety"] .authority-hero { background:repeating-linear-gradient(135deg,rgba(231,164,59,.08) 0 16px,transparent 16px 32px),#26352f; }
html[data-site="sv388safety"] .authority-eyebrow { display:inline-block; padding:.35rem .6rem; color:#1d2924; background:#e7a43b; }
html[data-site="sv388safety"] .authority-start { border:3px solid #1d2924; box-shadow:9px 9px 0 #e7a43b; }
html[data-site="sv388safety"] .authority-topic { border:2px solid #26352f; }
html[data-site="sv388safety"] .authority-topic-no::before { content:"CAUTION "; color:#1d2924; }
html[data-site="sv388safety"] .page-article .doc-head,
html[data-site="sv388safety"] .page-subject .doc-head { padding:1.5rem; border:3px solid #26352f; border-top:13px solid #e7a43b; }

/* MEGA scam safety — incident-response dossier with redacted-document cues. */
html[data-site="megadsafety"] body { font-family:ui-monospace,"SFMono-Regular",Consolas,monospace; background:#ececea; }
html[data-site="megadsafety"] .authority-header { background:#111317; border-bottom:4px solid #ef6b4a; }
html[data-site="megadsafety"] .authority-mark { border:1px solid #ef6b4a; box-shadow:none; background:#111317; }
html[data-site="megadsafety"] .authority-brand strong,
html[data-site="megadsafety"] .authority-hero h1,
html[data-site="megadsafety"] .authority-section-head h2,
html[data-site="megadsafety"] .authority-topic h3 { font-family:inherit; }
html[data-site="megadsafety"] .authority-hero { background:linear-gradient(rgba(239,107,74,.045) 1px,transparent 1px) 0 0/100% 28px,#171a1f; }
html[data-site="megadsafety"] .authority-hero::after { border-radius:0; border:20px solid rgba(239,107,74,.08); transform:rotate(-9deg); }
html[data-site="megadsafety"] .authority-start { border:1px solid #171a1f; box-shadow:10px 10px 0 #ef6b4a; }
html[data-site="megadsafety"] .authority-topic { border-left:5px solid #ef6b4a; }
html[data-site="megadsafety"] .authority-topic-no::before { content:"FILE "; color:#17191c; }
html[data-site="megadsafety"] .page-article .doc,
html[data-site="megadsafety"] .page-subject .doc { margin-top:1rem; padding:2rem; border:1px solid #a4a5a5; background:#f5f5f3; box-shadow:10px 10px 0 #171a1f; }

/* Desktop compositions: change the silhouette as well as the surface. */
@media (min-width:801px) {
  html[data-site="oposts"] .authority-topic-grid { grid-template-columns:repeat(2,1fr); gap:14px; border:0; background:transparent; }
  html[data-site="oposts"] .authority-topic,
  html[data-site="oposts"] .authority-topic:nth-child(4),
  html[data-site="oposts"] .authority-topic:nth-child(5) { grid-column:auto; }

  html[data-site="hometheater"] .authority-hero-grid { grid-template-columns:minmax(0,1fr) 390px; }
  html[data-site="hometheater"] .authority-topic-grid { grid-template-columns:repeat(12,1fr); gap:18px; border:0; background:transparent; }
  html[data-site="hometheater"] .authority-topic { grid-column:span 4; }
  html[data-site="hometheater"] .authority-topic:nth-child(4),
  html[data-site="hometheater"] .authority-topic:nth-child(5) { grid-column:span 6; }

  html[data-site="encyclopediamy"] .authority-hero-grid { grid-template-columns:1fr; max-width:920px; margin-inline:auto; }
  html[data-site="encyclopediamy"] .authority-start { display:grid; grid-template-columns:160px repeat(3,1fr); align-items:center; gap:1rem; }
  html[data-site="encyclopediamy"] .authority-start .authority-panel-kicker { grid-column:1; }
  html[data-site="encyclopediamy"] .authority-start h2 { grid-column:1; margin:0; }
  html[data-site="encyclopediamy"] .authority-start a { align-self:stretch; }
  html[data-site="encyclopediamy"] .authority-main { display:grid; grid-template-columns:280px minmax(0,1fr); gap:4rem; }
  html[data-site="encyclopediamy"] .authority-trust { grid-column:1; grid-row:1/3; }
  html[data-site="encyclopediamy"] .authority-sources,
  html[data-site="encyclopediamy"] .authority-topics,
  html[data-site="encyclopediamy"] .authority-latest { grid-column:2; margin-top:0; }
  html[data-site="encyclopediamy"] .authority-topic-grid { grid-template-columns:1fr; }
  html[data-site="encyclopediamy"] .authority-topic,
  html[data-site="encyclopediamy"] .authority-topic:nth-child(4),
  html[data-site="encyclopediamy"] .authority-topic:nth-child(5) { grid-column:auto; min-height:0; }

  html[data-site="soflophp"] .authority-topic-grid { grid-template-columns:repeat(2,1fr); gap:1rem; border:0; background:transparent; }
  html[data-site="soflophp"] .authority-hero-grid { grid-template-columns:1fr; max-width:980px; }
  html[data-site="soflophp"] .authority-start { display:grid; grid-template-columns:180px repeat(3,1fr); align-items:center; column-gap:1rem; background:#101626; color:#d9e1f2; border:1px solid #6bd0c9; box-shadow:8px 8px 0 #564a99; }
  html[data-site="soflophp"] .authority-start .authority-panel-kicker,
  html[data-site="soflophp"] .authority-start h2 { grid-column:1; }
  html[data-site="soflophp"] .authority-start h2 { margin:0; }
  html[data-site="soflophp"] .authority-start a { color:#d9e1f2; border-color:#3d4b67; }
  html[data-site="soflophp"] .authority-topic,
  html[data-site="soflophp"] .authority-topic:nth-child(4),
  html[data-site="soflophp"] .authority-topic:nth-child(5) { grid-column:auto; }

  html[data-site="inveterate"] .authority-hero-grid { grid-template-columns:minmax(0,1.1fr) minmax(360px,.7fr); }
  html[data-site="inveterate"] .authority-topic-grid { grid-template-columns:repeat(5,1fr); gap:1.6rem; border:0; background:transparent; }
  html[data-site="inveterate"] .authority-topic,
  html[data-site="inveterate"] .authority-topic:nth-child(4),
  html[data-site="inveterate"] .authority-topic:nth-child(5) { grid-column:span 1; }

  html[data-site="takingdownwords"] .authority-hero-grid { grid-template-columns:minmax(0,760px) 330px; justify-content:space-between; }
  html[data-site="takingdownwords"] .authority-topic-grid { grid-template-columns:1fr; border-inline:0; }
  html[data-site="takingdownwords"] .authority-topic,
  html[data-site="takingdownwords"] .authority-topic:nth-child(4),
  html[data-site="takingdownwords"] .authority-topic:nth-child(5) { grid-column:auto; display:grid; grid-template-columns:60px minmax(220px,1fr) minmax(260px,1.2fr); gap:1rem; align-items:start; }
  html[data-site="takingdownwords"] .authority-topic .authority-more { grid-column:3; }

  html[data-site="upsidedownhouse"] .authority-topic-grid { gap:2rem; border:0; background:transparent; }
  html[data-site="musikhistoriskmuseum"] .authority-main { margin-top:-2.5rem; position:relative; z-index:2; padding-inline:clamp(2rem,5vw,5rem); }
  html[data-site="musikhistoriskmuseum"] .authority-hero-grid { grid-template-columns:360px minmax(0,1fr); }
  html[data-site="musikhistoriskmuseum"] .authority-hero-grid > div { order:2; }
  html[data-site="musikhistoriskmuseum"] .authority-start { order:1; box-shadow:-8px 8px 0 var(--au-accent); }
  html[data-site="musikhistoriskmuseum"] .authority-topic-grid { grid-template-columns:repeat(2,1fr); }
  html[data-site="musikhistoriskmuseum"] .authority-topic,
  html[data-site="musikhistoriskmuseum"] .authority-topic:nth-child(4),
  html[data-site="musikhistoriskmuseum"] .authority-topic:nth-child(5) { grid-column:auto; }

  html[data-site="honestbee"] .authority-topic-grid { grid-template-columns:repeat(2,1fr); gap:1.25rem; border:0; background:transparent; }
  html[data-site="honestbee"] .authority-topic,
  html[data-site="honestbee"] .authority-topic:nth-child(4),
  html[data-site="honestbee"] .authority-topic:nth-child(5) { grid-column:auto; }

  html[data-site="hakkaexpo2023"] .authority-topic-grid { grid-template-columns:repeat(4,1fr); gap:1rem; border:0; background:transparent; }
  html[data-site="hakkaexpo2023"] .authority-topic { grid-column:span 2; }
  html[data-site="hakkaexpo2023"] .authority-topic:nth-child(4),
  html[data-site="hakkaexpo2023"] .authority-topic:nth-child(5) { grid-column:span 2; }

  html[data-site="eastasiangames2009"] .authority-topic-grid { gap:1rem; border:0; background:transparent; }
  html[data-site="copenhagen2011"] .authority-hero-grid { grid-template-columns:minmax(0,790px) 300px; }
  html[data-site="copenhagen2011"] .authority-main { padding-inline:clamp(2rem,9vw,8rem); }
  html[data-site="copenhagen2011"] .authority-topic-grid { grid-template-columns:1fr 1fr; gap:3rem; border:0; background:transparent; }
  html[data-site="copenhagen2011"] .authority-topic,
  html[data-site="copenhagen2011"] .authority-topic:nth-child(4),
  html[data-site="copenhagen2011"] .authority-topic:nth-child(5) { grid-column:auto; }

  html[data-site="skhartsfestival"] .authority-topic-grid { gap:2rem; border:0; background:transparent; }
  html[data-site="rakumy"] .authority-topic-grid { grid-template-columns:repeat(2,1fr); gap:1px; }
  html[data-site="rakumy"] .authority-topic,
  html[data-site="rakumy"] .authority-topic:nth-child(4),
  html[data-site="rakumy"] .authority-topic:nth-child(5) { grid-column:auto; }

  html[data-site="busshk"] .authority-topic-grid { grid-template-columns:repeat(2,1fr); }
  html[data-site="busshk"] .authority-hero-grid { grid-template-columns:1fr; }
  html[data-site="busshk"] .authority-start { display:grid; grid-template-columns:190px repeat(3,1fr); align-items:center; column-gap:1rem; }
  html[data-site="busshk"] .authority-start .authority-panel-kicker,
  html[data-site="busshk"] .authority-start h2 { grid-column:1; }
  html[data-site="busshk"] .authority-start h2 { margin:0; }
  html[data-site="busshk"] .authority-topic,
  html[data-site="busshk"] .authority-topic:nth-child(4),
  html[data-site="busshk"] .authority-topic:nth-child(5) { grid-column:auto; }

  html[data-site="waagg"] .authority-main { display:grid; grid-template-columns:1fr 2fr; gap:2rem; }
  html[data-site="waagg"] .authority-trust { grid-column:1; }
  html[data-site="waagg"] .authority-sources { grid-column:2; margin-top:0; }
  html[data-site="waagg"] .authority-topics,
  html[data-site="waagg"] .authority-latest { grid-column:1/-1; }

  html[data-site="sv388safety"] .authority-topic-grid,
  html[data-site="megadsafety"] .authority-topic-grid { grid-template-columns:1fr; gap:.8rem; border:0; background:transparent; }
  html[data-site="sv388safety"] .authority-topic,
  html[data-site="sv388safety"] .authority-topic:nth-child(4),
  html[data-site="sv388safety"] .authority-topic:nth-child(5),
  html[data-site="megadsafety"] .authority-topic,
  html[data-site="megadsafety"] .authority-topic:nth-child(4),
  html[data-site="megadsafety"] .authority-topic:nth-child(5) { grid-column:auto; min-height:0; }
}

@media (prefers-reduced-motion:reduce) {
  html[data-site="soflophp"] .authority-hero h1::after { animation:none; }
}

@media (max-width:800px) {
  html[data-site="takingdownwords"] .authority-toggle,
  html[data-site="copenhagen2011"] .authority-toggle { border-color:rgba(23,43,54,.55); }
  html[data-site="takingdownwords"] .authority-toggle .nav-toggle-bars,
  html[data-site="takingdownwords"] .authority-toggle .nav-toggle-bars::before,
  html[data-site="takingdownwords"] .authority-toggle .nav-toggle-bars::after,
  html[data-site="copenhagen2011"] .authority-toggle .nav-toggle-bars,
  html[data-site="copenhagen2011"] .authority-toggle .nav-toggle-bars::before,
  html[data-site="copenhagen2011"] .authority-toggle .nav-toggle-bars::after { background:#172b36; }
}
