:root {
  --p300-paper: #FFFFFF;
  --p300-paper-2: #F4F5F7;
  --p300-paper-3: #E9EBEE;
  --p300-ink: #14161A;
  --p300-ink-2: #3D434D;
  --p300-ink-3: #6B7280;
  --p300-line: #E2E5EA;
  --p300-line-2: #C7CCD4;
  --p300-brand: #1A98EE;
  --p300-brand-2: #0B6FBA;
  --p300-brand-soft: #E7F4FD;
  --p300-yellow: #FDE047;
  --p300-yellow-ink: #1B1B1B;
  --p300-red: #DC361A;
  --p300-red-soft: #FDECE8;
  --p300-slab: #12141A;
  --p300-slab-2: #1C1F26;
  --p300-slab-ink: #F5F6F8;
  --p300-slab-ink-2: #A8AFBA;
  --p300-shadow: 0 1px 2px rgba(16, 20, 28, .06), 0 8px 24px -16px rgba(16, 20, 28, .35);
  --p300-radius: 3px;
  --p300-display: "Teko", "Oswald", "Roboto Condensed", "Arial Narrow", Impact, sans-serif;
  --p300-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --p300-wrap: 1200px;
}

[data-p300-mode="dark"] {
  --p300-paper: #15181E;
  --p300-paper-2: #1B1F27;
  --p300-paper-3: #232831;
  --p300-ink: #ECEEF2;
  --p300-ink-2: #C2C8D2;
  --p300-ink-3: #8D96A3;
  --p300-line: #2A303B;
  --p300-line-2: #3A414D;
  --p300-brand: #4DB4FF;
  --p300-brand-2: #8CCEFF;
  --p300-brand-soft: #16293A;
  --p300-red: #FF6A4D;
  --p300-red-soft: #331B17;
  --p300-slab: #0E1014;
  --p300-slab-2: #171A21;
  --p300-slab-ink: #F5F6F8;
  --p300-slab-ink-2: #9AA3B0;
  --p300-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 26px -18px rgba(0, 0, 0, .8);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.p300-body {
  margin: 0;
  background: var(--p300-paper-2);
  color: var(--p300-ink);
  font-family: var(--p300-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.p300-body img { max-width: 100%; height: auto; }
.p300-body a { color: var(--p300-brand-2); text-decoration: none; }
.p300-body a:hover { color: var(--p300-brand); }
.p300-body p { margin: 0 0 1em; }

.p300-shell {
  width: 100%;
  max-width: var(--p300-wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.p300-skip {inset-inline-start: -9999px;   
  position: absolute;
  
  top: 0;
  z-index: 90;
  background: var(--p300-yellow);
  color: var(--p300-yellow-ink);
  padding: 10px 16px;
  font-weight: 700;}
.p300-skip:focus {inset-inline-start: 12px;   top: 12px;}

/* ---------------------------------------------------------------- header */

.p300-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--p300-slab);
  color: var(--p300-slab-ink);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.p300-head-in {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 66px;
}

.p300-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--p300-slab-ink);
  flex: 0 0 auto;
}
.p300-logo:hover { color: var(--p300-yellow); }

.p300-logo-mark {
  font-family: var(--p300-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.p300-logo-sub {
  margin-top: 2px;
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--p300-yellow);
}

.p300-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.p300-nav-link {
  display: inline-block;
  padding: 10px 11px;
  color: var(--p300-slab-ink-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.p300-nav-link:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .25); }
.p300-nav-link.is-active { color: #fff; border-bottom-color: var(--p300-yellow); }

.p300-head-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.p300-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--p300-slab-2);
  border: 1px solid rgba(255, 255, 255, .14);
}

.p300-switch-seg {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--p300-slab-ink-2);
  line-height: 1.3;
}
.p300-switch-seg:hover { color: #fff; }
.p300-switch-seg.is-active { background: var(--p300-yellow); color: var(--p300-yellow-ink); }

.p300-mode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: transparent;
  color: var(--p300-slab-ink);
  cursor: pointer;
  font-size: 14px;
}
.p300-mode:hover { border-color: var(--p300-yellow); color: var(--p300-yellow); }

.p300-navtrigger {
  display: none;
  width: 38px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--p300-radius);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.p300-navtrigger span,
.p300-navtrigger span::before,
.p300-navtrigger span::after {
  position: absolute;
  left: 9px;
  width: 18px;
  height: 2px;
  background: var(--p300-slab-ink);
  content: "";
}
.p300-navtrigger span { top: 16px; }
.p300-navtrigger span::before { top: -6px; left: 0; }
.p300-navtrigger span::after { top: 6px; left: 0; }

.p300-head-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--p300-brand) 0 40%, var(--p300-red) 40% 68%, var(--p300-yellow) 68% 100%);
}

/* ------------------------------------------------------------------ hero */

.p300-hero {
  background: var(--p300-paper);
  border-bottom: 1px solid var(--p300-line);
}

.p300-hero-in {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-top: 34px;
  padding-bottom: 30px;
}

.p300-hero-text { max-width: 760px; }

.p300-hero-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  background: var(--p300-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.p300-hero-h1 {
  margin: 0 0 10px;
  font-family: var(--p300-display);
  font-size: clamp(32px, 5vw, 54px);
  line-height: .98;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--p300-ink);
}

.p300-hero-lead {
  margin: 0;
  max-width: 620px;
  color: var(--p300-ink-2);
  font-size: 15px;
}

.p300-hero-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
  padding-bottom: 4px;
}

.p300-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--p300-line-2);
  border-radius: var(--p300-radius);
  background: var(--p300-paper);
  color: var(--p300-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.p300-btn:hover { border-color: var(--p300-brand); color: var(--p300-brand-2); }

/* The global `.p300-body a` rule outranks a bare class selector, so the solid
   fill needs the anchor in its own selector to keep its dark label. */
.p300-btn-solid,
.p300-body a.p300-btn-solid {
  background: var(--p300-brand);
  border-color: var(--p300-brand);
  color: #0A1620;
}
.p300-btn-solid:hover,
.p300-body a.p300-btn-solid:hover { background: var(--p300-brand-2); border-color: var(--p300-brand-2); color: #0A1620; }

/* ---------------------------------------------------------- trending bar */

.p300-trendbar {
  background: var(--p300-yellow);
  color: var(--p300-yellow-ink);
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.p300-trendbar-in {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 40px;
  overflow: hidden;
}

.p300-trendbar-label {
  flex: 0 0 auto;
  font-family: var(--p300-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.p300-trendbar-links {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.p300-trendbar-links::-webkit-scrollbar { display: none; }

.p300-trendbar-links a {
  color: var(--p300-yellow-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.p300-trendbar-links a:hover { color: #fff; text-decoration: underline; }

/* ----------------------------------------------------------- main frame */

.p300-main { padding: 26px 0 46px; }

.p300-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 34px;
  align-items: start;
}

.p300-main-col { min-width: 0; }

/* ------------------------------------------------------------- sections */

.p300-sec { margin-bottom: 34px; }

.p300-sec-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 2px solid var(--p300-ink);
  padding-bottom: 7px;
  margin-bottom: 16px;
}

.p300-sec-title {
  position: relative;
  margin: 0;
  padding-left: 12px;
  font-family: var(--p300-display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
}
.p300-sec-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 1px;
  width: 5px;
  background: var(--p300-red);
}

.p300-sec-note {
  color: var(--p300-ink-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.p300-sec-more {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--p300-brand-2);
  white-space: nowrap;
}

.p300-tiles {
  display: grid;
  /* three, not four: at four across the icon plate leaves barely 100px for the
     title and every card name truncates to two broken words. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.p300-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* ---------------------------------------------------------------- cards */

.p300-card {
  min-width: 0;
  background: var(--p300-paper);
  border: 1px solid var(--p300-line);
  border-radius: var(--p300-radius);
  box-shadow: var(--p300-shadow);
  transition: border-color .15s ease, transform .15s ease;
}
.p300-card:hover { border-color: var(--p300-brand); transform: translateY(-1px); }

.p300-card-link {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px;
  color: inherit;
}
.p300-card-link:hover { color: inherit; }

.p300-card-plate {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--p300-paper-3);
  color: var(--p300-ink-3);
  font-size: 20px;
}
.p300-card-plate img { width: 100%; height: 100%; object-fit: cover; display: block; }

.p300-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.p300-card-title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.005em;
  color: var(--p300-ink);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.p300-card:hover .p300-card-title { color: var(--p300-brand-2); }

.p300-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--p300-ink-3);
}

.p300-card-cat { color: var(--p300-red); }
.p300-card-ver { color: var(--p300-ink-2); }


/* ------------------------------------------------------------------ rail */

.p300-rail { min-width: 0; }

.p300-rail-box {
  margin-bottom: 20px;
  padding: 15px;
  background: var(--p300-paper);
  border: 1px solid var(--p300-line);
  border-top: 3px solid var(--p300-ink);
  border-radius: var(--p300-radius);
  box-shadow: var(--p300-shadow);
}

.p300-rail-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--p300-line);
  font-family: var(--p300-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.p300-rail-title i { color: var(--p300-brand); font-size: 14px; }

.p300-ranked { list-style: none; margin: 0; padding: 0; }
.p300-ranked li + li { border-top: 1px dashed var(--p300-line); }

.p300-ranked a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  color: var(--p300-ink);
}
.p300-ranked a:hover { color: var(--p300-brand-2); }

.p300-ranked img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--p300-paper-3);
}

.p300-ranked-text { display: flex; flex-direction: column; min-width: 0; }
.p300-ranked-text b {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.p300-ranked-text small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--p300-ink-3);
}

.p300-rail-search { display: flex; gap: 8px; }
.p300-rail-search input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid var(--p300-line-2);
  border-radius: var(--p300-radius);
  background: var(--p300-paper-2);
  color: var(--p300-ink);
  font: inherit;
  font-size: 13px;
}
.p300-rail-search input:focus { outline: 2px solid var(--p300-brand); outline-offset: 1px; }
.p300-rail-search button {
  flex: 0 0 auto;
  width: 38px;
  border: 1px solid var(--p300-brand);
  border-radius: var(--p300-radius);
  background: var(--p300-brand);
  color: #fff;
  cursor: pointer;
}

.p300-rail-empty {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--p300-ink-3);
}

/* ------------------------------------------------------------ detail page */

.p300-detail-head {
  padding: 20px;
  background: var(--p300-paper);
  border: 1px solid var(--p300-line);
  border-top: 4px solid var(--p300-brand);
  border-radius: var(--p300-radius);
  box-shadow: var(--p300-shadow);
  margin-bottom: 22px;
}

.p300-detail-id { display: flex; align-items: flex-start; gap: 16px; }

.p300-detail-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 15px;
  overflow: hidden;
  background: var(--p300-paper-3);
  color: var(--p300-ink-3);
  font-size: 24px;
}
.p300-detail-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

.p300-detail-idmain { min-width: 0; flex: 1 1 auto; }

.p300-detail-cat {
  display: inline-block;
  margin-bottom: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--p300-red);
}

.p300-detail-title {
  margin: 0 0 4px;
  font-family: var(--p300-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.p300-detail-crumb {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--p300-ink-3);
}
.p300-detail-crumb a { color: var(--p300-ink-2); }
.p300-detail-crumb a:hover { color: var(--p300-brand-2); }


.p300-detail-actions { margin-top: 16px; }
.p300-detail-actions .app-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 12px 26px;
  border: 1px solid var(--p300-brand);
  border-radius: var(--p300-radius);
  background: var(--p300-brand);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.p300-detail-actions .app-dl-btn:hover { background: var(--p300-brand-2); border-color: var(--p300-brand-2); color: #fff; }

.p300-facts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0 0;
  padding: 1px;
  background: var(--p300-line);
  border-radius: var(--p300-radius);
  overflow: hidden;
}

.p300-fact {
  margin: 0;
  padding: 10px 12px;
  background: var(--p300-paper-2);
}
.p300-fact dt {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--p300-ink-3);
}
.p300-fact dd {
  margin: 3px 0 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--p300-ink);
}

.p300-intro {
  margin: 0 0 20px;
  padding: 16px 18px;
  background: var(--p300-brand-soft);
  border-left: 4px solid var(--p300-brand);
  border-radius: var(--p300-radius);
  font-size: 14.5px;
  color: var(--p300-ink-2);
}
.p300-intro p:last-child { margin-bottom: 0; }

.p300-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.p300-tag {
  display: inline-block;
  padding: 6px 13px;
  border: 1px solid var(--p300-line-2);
  border-radius: 999px;
  color: var(--p300-ink-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.p300-tag:hover { border-color: var(--p300-brand); color: var(--p300-brand-2); }
.p300-tag.is-active {
  background: var(--p300-ink);
  border-color: var(--p300-ink);
  color: var(--p300-paper);
}
.p300-tag.is-active:hover { color: var(--p300-paper); }


/* --------------------------------------------------------------- article */

.p300-toc {
  margin: 0 0 22px;
  padding: 15px 18px;
  background: var(--p300-paper);
  border: 1px solid var(--p300-line);
  border-top: 3px solid var(--p300-yellow);
  border-radius: var(--p300-radius);
}
.p300-toc h2 {
  margin: 0 0 9px;
  font-family: var(--p300-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.p300-toc ol { margin: 0; padding-left: 20px; font-size: 13.5px; }
.p300-toc ol ol { margin: 4px 0 6px; padding-left: 18px; }
.p300-toc li { margin-bottom: 3px; }

.p300-article {
  padding: 22px 24px;
  background: var(--p300-paper);
  border: 1px solid var(--p300-line);
  border-radius: var(--p300-radius);
  box-shadow: var(--p300-shadow);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--p300-ink-2);
  overflow-wrap: break-word;
}

.p300-article h2 {
  margin: 30px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--p300-line);
  font-family: var(--p300-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--p300-ink);
  scroll-margin-top: 86px;
}
.p300-article h2:first-child { margin-top: 0; }

.p300-article h3 {
  margin: 24px 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--p300-ink);
  scroll-margin-top: 86px;
}

.p300-article a { color: var(--p300-brand-2); text-decoration: underline; text-underline-offset: 2px; }
.p300-article strong { color: var(--p300-ink); }
.p300-article ul, .p300-article ol { padding-left: 22px; }
.p300-article li { margin-bottom: 6px; }

.p300-shot {
  /* Shrink-wrap the frame to the shot's intrinsic width, otherwise the border
     and caption stretch across the article and leave a bare column beside the
     phone-sized image. */
  width: fit-content;
  max-width: 100%;
  margin: 22px 0;
  padding: 0;
  border: 1px solid var(--p300-line);
  border-radius: var(--p300-radius);
  overflow: hidden;
  background: var(--p300-paper-2);
}
/* Source shots are phone-width captures (~400-500px). Sizing by intrinsic width
   keeps them from being upscaled to the 758px article measure while still
   shrinking politely on phones. */
.p300-shot img { display: block; width: auto; max-width: 100%; height: auto; }
.p300-shot figcaption {
  padding: 8px 12px;
  border-top: 1px solid var(--p300-line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--p300-ink-3);
}

.p300-article details {
  margin: 10px 0;
  padding: 10px 14px;
  background: var(--p300-paper-2);
  border: 1px solid var(--p300-line);
  border-left: 3px solid var(--p300-red);
  border-radius: var(--p300-radius);
}
.p300-article details summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--p300-ink);
}
.p300-article details p { margin: 8px 0 0; font-size: 14.5px; }

/* ------------------------------------------------------- download zone */

.p300-dlzone {
  margin: 24px 0;
  padding: 20px;
  background: var(--p300-slab);
  color: var(--p300-slab-ink);
  border-radius: var(--p300-radius);
}

.p300-dlzone .app-dl-progress span {
  display: block;
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--p300-slab-ink-2);
}

.p300-dlzone .app-dl-bar {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}
.p300-dlzone .app-dl-bar b {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--p300-brand), var(--p300-yellow));
}

.p300-dlzone .app-dl-install { margin-top: 18px; }
.p300-dlzone .app-dl-install b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--p300-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--p300-yellow);
}
.p300-dlzone .app-dl-install ol {
  margin: 0;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--p300-slab-ink-2);
}
.p300-dlzone .app-dl-install li { margin-bottom: 5px; }

.p300-dlzone .app-dl-final {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  margin-top: 18px;
  padding: 13px 28px;
  border-radius: var(--p300-radius);
  background: var(--p300-yellow);
  color: var(--p300-yellow-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.p300-dlzone .app-dl-final:hover { background: #fff; color: var(--p300-yellow-ink); }
.p300-dlzone .app-dl-final[hidden] { display: none; }

/* ------------------------------------------------------------- comments */

.p300-comments {
  margin: 26px 0 0;
  padding: 20px;
  background: var(--p300-paper);
  border: 1px solid var(--p300-line);
  border-radius: var(--p300-radius);
}
.p300-comments h2 {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--p300-line);
  font-family: var(--p300-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.p300-cform { display: grid; gap: 12px; }
.p300-cform label { display: grid; gap: 5px; }
.p300-cform label > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--p300-ink-3);
}
.p300-cform input,
.p300-cform textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--p300-line-2);
  border-radius: var(--p300-radius);
  background: var(--p300-paper-2);
  color: var(--p300-ink);
  font: inherit;
  font-size: 14px;
}
.p300-cform textarea { min-height: 110px; resize: vertical; }
.p300-cform input:focus,
.p300-cform textarea:focus { outline: 2px solid var(--p300-brand); outline-offset: 1px; }
.p300-cform small { font-size: 11px; color: var(--p300-ink-3); }
.p300-cform button {
  justify-self: start;
  padding: 11px 22px;
  border: 1px solid var(--p300-ink);
  border-radius: var(--p300-radius);
  background: var(--p300-ink);
  color: var(--p300-paper);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.p300-cform button:hover { background: var(--p300-brand); border-color: var(--p300-brand); color: #fff; }
.p300-cform-success {
  margin: 0;
  padding: 9px 12px;
  background: var(--p300-brand-soft);
  border-left: 3px solid var(--p300-brand);
  font-size: 13px;
  font-weight: 700;
  color: var(--p300-ink);
}

/* -------------------------------------------------------------- landing */

.p300-landing {
  margin: 26px auto;
  padding: 24px;
  background: var(--p300-paper);
  border: 1px solid var(--p300-line);
  border-top: 4px solid var(--p300-yellow);
  border-radius: var(--p300-radius);
  box-shadow: var(--p300-shadow);
}

.p300-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.p300-landing .p300-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ------------------------------------------------------------------ 404 */

.p300-nf {
  padding: 70px 24px;
  text-align: center;
  background: var(--p300-paper);
  border: 1px solid var(--p300-line);
  border-radius: var(--p300-radius);
  margin: 26px 0;
}
.p300-nf h1 {
  margin: 0 0 6px;
  font-family: var(--p300-display);
  font-size: 84px;
  line-height: .9;
  color: var(--p300-red);
}
.p300-nf p { color: var(--p300-ink-2); }

/* --------------------------------------------------------------- footer */
















/* ------------------------------------------------------- floating login */

.p300-authbar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 55;
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: var(--p300-slab);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
}

.p300-auth-btn {
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.p300-auth-login { color: var(--p300-slab-ink); }
.p300-auth-login:hover { color: var(--p300-yellow); }
.p300-auth-reg { background: var(--p300-yellow); color: var(--p300-yellow-ink); }
.p300-auth-reg:hover { background: #fff; color: var(--p300-yellow-ink); }

/* -------------------------------------------------------- responsive */

@media (max-width: 1024px) {
  .p300-frame { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
  .p300-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p300-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Eight nav links plus the logo and the tools need ~800px of track; below
   that the inline row is clipped mid-word ("SLOT G"), so the slide-out panel
   takes over at tablet widths too, not just on phones. */
@media (max-width: 1200px) {
  .p300-navtrigger { display: inline-block; }
  .p300-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 264px;
    max-width: 86vw;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 78px 16px 24px;
    background: var(--p300-slab-2);
    border-left: 1px solid rgba(255, 255, 255, .1);
    transform: translateX(102%);
    transition: transform .2s ease;
    overflow-y: auto;
    z-index: 70;
  }
  .is-nav-open .p300-nav { transform: translateX(0); }
  /* The panel is fixed and covers the masthead's right-hand tools, and it is
     itself a child of the header, so raising the header cannot help. Give the
     hamburger its own level inside the same stacking context instead, so it
     stays tappable and can close the menu again. */
  .p300-navtrigger { position: relative; z-index: 80; }
  .p300-head-tools { position: relative; z-index: 80; }
  .p300-nav-link {
    padding: 12px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .p300-nav-link.is-active { border-bottom-color: var(--p300-yellow); }
}

@media (max-width: 860px) {
  .p300-frame { grid-template-columns: minmax(0, 1fr); }
  /* stretch, not flex-start: a column flex item with `flex-start` shrinks to
     its content width and the 760px text block then overflows the phone. */
  .p300-hero-in { flex-direction: column; align-items: stretch; gap: 18px; }
  .p300-hero-text { max-width: none; }
  .p300-hero-actions { width: 100%; }
  .p300-hero-actions .p300-btn { flex: 1 1 auto; }
  .p300-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p300-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .p300-shell { padding: 0 14px; }
  .p300-head-in { gap: 12px; min-height: 60px; }
  .p300-logo-mark { font-size: 24px; }
  .p300-logo-sub { font-size: 8px; letter-spacing: .18em; }
  .p300-switch-seg { padding: 4px 8px; font-size: 10px; }
  .p300-tiles, .p300-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .p300-card-link { gap: 9px; padding: 10px; }
  .p300-card-plate { width: 44px; height: 44px; border-radius: 9px; font-size: 16px; }
  .p300-card-title { font-size: 12.5px; }
  /* The count/eyebrow note crowds the section title on phones. */
  .p300-sec-head { gap: 8px; flex-wrap: wrap; }
  .p300-sec-title { font-size: 21px; }
  .p300-sec-note { display: none; }
  .p300-trendbar-label { font-size: 14px; }
  .p300-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p300-landing .p300-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p300-article { padding: 16px; font-size: 15px; }
  .p300-detail-head, .p300-landing, .p300-comments { padding: 15px; }
  .p300-auth-btn { padding: 8px 16px; }
  .p300-main { padding-bottom: 84px; }
}

/* ============ Footer: dark slab colophon (brand / index / support) ===== */
/* The target closes the page on a near-black slab: the wordmark sits in a
   ruled row above three narrow index columns, and a thin legal bar carries the
   age badge, the copyright line and the share row. */
.p300-foot {
  margin-top: 44px;
  padding: 34px 0 22px;
  background: var(--p300-slab);
  color: var(--p300-slab-ink);
  border-top: 3px solid var(--p300-yellow);
}
.p300-footgrid {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: 26px 24px;
  align-items: start;
}
.p300-footgrid > * { min-width: 0; }
.p300-footbrand > * { margin: 0; }
.p300-footname {
  font-family: var(--p300-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.p300-footabout {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--p300-slab-ink-2);
  overflow-wrap: anywhere;
}
.p300-footchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--p300-slab-ink-2);
}
.p300-footchips span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.p300-footchips i { color: var(--p300-yellow); flex: 0 0 auto; }
.p300-footcol { min-width: 0; }
.p300-footcol h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--p300-slab-ink);
}
.p300-footno {
  font-family: var(--p300-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--p300-yellow);
}
.p300-footcol ul { margin: 0; padding: 0; list-style: none; }
.p300-footcol li { margin: 0 0 7px; font-size: 12.5px; min-width: 0; }
.p300-footcol a {
  color: var(--p300-slab-ink-2);
  text-decoration: none;
  opacity: .85;
  overflow-wrap: anywhere;
}
.p300-footcol a:hover { color: var(--p300-yellow); opacity: 1; text-decoration: underline; }
.p300-footsupport li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--p300-slab-ink-2);
  overflow-wrap: anywhere;
}
.p300-footsupport i { color: var(--p300-yellow); flex: 0 0 auto; margin-top: 3px; }
.p300-footsupport a { color: var(--p300-slab-ink-2); opacity: .85; }
.p300-footmedia { min-width: 0; }
.p300-footmedia h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--p300-slab-ink);
}
.p300-footmedia ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.p300-footmedia li { margin: 0; flex: 0 0 auto; }
.p300-footmedia a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  overflow: hidden;
}
.p300-footmedia a:hover { border-color: var(--p300-yellow); }
.p300-footmedia img { width: 100%; height: 100%; object-fit: contain; display: block; }
.p300-footfriends { min-width: 0; }
.p300-footfriends h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--p300-slab-ink);
}
.p300-footfriends ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 7px 16px; }
.p300-footfriends li { margin: 0; min-width: 0; }
.p300-footfriends a {
  color: var(--p300-slab-ink-2);
  text-decoration: none;
  font-size: 12.5px;
  opacity: .85;
  overflow-wrap: anywhere;
}
.p300-footfriends a:hover { color: var(--p300-yellow); opacity: 1; text-decoration: underline; }
.p300-footbar {
  width: min(1200px, calc(100% - 32px));
  margin: 26px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 12px;
  color: var(--p300-slab-ink-2);
}
.p300-footbar > span { min-width: 0; overflow-wrap: anywhere; }
.p300-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--p300-slab-ink);
}
.p300-footshare { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.p300-footshare a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--p300-slab-ink-2);
  text-decoration: none;
  font-size: 13px;
  flex: 0 0 auto;
}
.p300-footshare a:hover { color: var(--p300-yellow); border-color: var(--p300-yellow); }
@media (max-width: 980px) {
  .p300-footgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .p300-foot { padding: 28px 0 18px; }
  .p300-footgrid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .p300-footname { font-size: 22px; }
  .p300-footshare { margin-left: 0; }
}

.p300-social{
  margin: 0 0 22px;
  padding: 13px 16px;
  background: var(--p300-paper);
  border: 1px solid var(--p300-line);
  border-radius: var(--p300-radius);
}
.p300-social b{
  display: block;
  margin-bottom: 9px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--p300-ink-3);
}
.p300-social-row{ display: flex; gap: 8px; flex-wrap: wrap; }
.p300-social-row a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--p300-paper-2);
  border: 1px solid var(--p300-line);
  color: var(--p300-ink-2);
  font-size: 13px;
}
.p300-social-row a:hover{
  background: var(--p300-ink);
  border-color: var(--p300-ink);
  color: var(--p300-paper);
}
