/* Fonts, hosted on this site (no Google Fonts requests) */
@font-face {
  font-family: 'Maven Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/maven-pro-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Maven Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/maven-pro-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Maven Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/maven-pro-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Maven Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/maven-pro-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Maven Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/maven-pro-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Maven Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/maven-pro-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Maven Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(fonts/maven-pro-latin-ext-800-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Maven Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(fonts/maven-pro-latin-800-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: url(fonts/poppins-latin-ext-900-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: url(fonts/poppins-latin-900-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ==========================================================================
   Pick and Mix Studios — shared site stylesheet
   ========================================================================== */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Maven Pro', Arial, Helvetica, sans-serif;
  /* Same brand blue as the Tiny Bytes pages: one continuous gradient behind every section */
  background-color: var(--page-top);
  background-image: linear-gradient(180deg, var(--page-top), var(--page-bot) 70%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Text size (set from the Aa button) */
html { font-size: 100%; }
html.size-1 { font-size: 112.5%; }
html.size-2 { font-size: 125%; }

:root {
  --page-top: #1C6CA3;     /* Tiny Bytes brand blue, dark enough for white text to pass AA */
  --page-bot: #2479B3;
  --c1: #1c6fba;           /* dark blue, used for nav links on the white header */
  --bg: transparent;       /* sections show the body gradient */
  --card-bg: #ffffff;      /* solid white cards */
  --card-bg-light: #ffffff; /* same, used on Tutorials */
  --text-heading: #ffffff; /* white — used for hero/page-intro text sitting directly on the gradient */
  --text-body: #e7f4fb;    /* light — used for hero/page-intro text sitting directly on the gradient */
  --card-heading: #1a3c52; /* dark navy — used for headings inside the white cards */
  --card-body: #1a3c52;    /* dark navy — used for body copy inside the white cards */
  --btn-border: #1c6fba;
  --btn-hover: #9e5092;    /* magenta */
  --btn-hover-text: #ffffff;
  --accent-orange: #f8a433;
  --input-bg: #ffffff;
  --input-border: #a9c9db;
  --input-text: #1a3c52;
  --header-bg: #ffffff;    /* header and footer bars */
  --btn-bg: #ffffff;
  --line: #d5e6f0;         /* thin borders around images and cards */
  --soft: #eef5fb;         /* tinted fill for the settings controls */
  --muted: #4a5f75;
  --footer-text: #60707c;
  --on-accent: #ffffff;
}

/* Dark theme: matches Tiny Bytes. Follows the device setting on Auto, or forced from the Aa button */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --page-top: #0A1A2B; --page-bot: #0D2338;
  --c1: #7DC2F4; --card-bg: #132A42; --card-bg-light: #132A42;
  --text-heading: #EAF2FA; --text-body: #D7E3EE;
  --card-heading: #EAF2FA; --card-body: #D7E3EE;
  --btn-border: #7DC2F4; --btn-bg: #132A42;
  --input-bg: #1A3550; --input-border: #26425F; --input-text: #EAF2FA;
  --header-bg: #132A42; --line: #26425F; --soft: #1A3550; --muted: #A9B9C9;
  --footer-text: #A9B9C9; --on-accent: #07131F;
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --page-top: #0A1A2B; --page-bot: #0D2338;
  --c1: #7DC2F4; --card-bg: #132A42; --card-bg-light: #132A42;
  --text-heading: #EAF2FA; --text-body: #D7E3EE;
  --card-heading: #EAF2FA; --card-body: #D7E3EE;
  --btn-border: #7DC2F4; --btn-bg: #132A42;
  --input-bg: #1A3550; --input-border: #26425F; --input-text: #EAF2FA;
  --header-bg: #132A42; --line: #26425F; --soft: #1A3550; --muted: #A9B9C9;
  --footer-text: #A9B9C9; --on-accent: #07131F;
  color-scheme: dark;
}

img { max-width: 100%; }

.tc-skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--card-bg);
  color: var(--c1);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  z-index: 2000;
  transition: top 0.2s ease;
}

.tc-skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.tc-header-wrap {
  width: 100%;
  background: var(--header-bg);
}

.tc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  flex-wrap: wrap;
}

.tc-logo img {
  display: block;
  height: 40px;
  width: auto;
}

.tc-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-left: auto;
}

.tc-nav a {
  position: relative;
  color: var(--c1);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 2px;
  letter-spacing: 0.2px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.tc-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0%;
  height: 1px;
  border-radius: 2px;
  background: var(--c1);
  transition: width 0.25s ease, left 0.25s ease;
}

.tc-nav a:hover {
  transform: translateY(-1px);
}

.tc-nav a:hover::after {
  width: 100%;
  left: 0%;
}

.tc-nav a.is-active {
  font-weight: 700;
}

.tc-nav a.is-active::after {
  width: 100%;
  left: 0%;
}

@media (max-width: 700px) {
  .tc-header { gap: 16px; padding: 10px 16px; }
  .tc-nav { gap: 16px; }
  .tc-nav a { font-size: 0.875rem; }
}

@media (max-width: 440px) {
  .tc-nav { gap: 4px 12px; }
}

/* ==========================================================================
   Shared buttons (pill buttons used on Showcase, Tutorials, Contact)
   ========================================================================== */

.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--btn-border);
  border-radius: 30px;
  padding: 10px 22px;
  color: var(--btn-border);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: inherit;
  background: var(--btn-bg);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tc-btn:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  color: var(--btn-hover-text);
}

.tc-btn[disabled] {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.tc-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}

.tc-btn.tc-video-btn {
  cursor: pointer;
  font-family: inherit;
}

.tc-btn-primary {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #262626;
}

.tc-btn-primary:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  color: var(--btn-hover-text);
}

.tc-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.tc-btn-group {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Video lightbox modal (Showcase + Tutorials)
   ========================================================================== */

.tc-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tc-modal-overlay.is-open {
  display: flex;
}

.tc-modal {
  position: relative;
  width: 100%;
  max-width: 900px;
}

.tc-modal-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.tc-modal-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.tc-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.875rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

/* ==========================================================================
   Home page (hero)
   ========================================================================== */

.tc-hero-wrap {
  width: 100%;
  background: var(--bg);
  padding: 80px 24px;
}

.tc-hero {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.tc-hero img.tc-hero-welcome-img {
  max-width: 340px;
  width: 100%;
  height: auto;
  margin-bottom: 32px;
}

.tc-hero h1 {
  color: var(--text-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1.2;
}

.tc-hero p {
  color: var(--text-body);
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0 0 36px;
}

.tc-hero-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 600px) {
  .tc-hero-wrap { padding: 56px 20px; }
  .tc-hero h1 { font-size: 1.875rem; }
  .tc-hero p { font-size: 1rem; }
}

/* ==========================================================================
   Team Chorley (profile cards)
   ========================================================================== */

.tc-team-wrap {
  width: 100%;
  background: var(--bg);
  padding: 56px 24px;
}

.tc-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}

.tc-profile-card {
  background: var(--card-bg);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.tc-profile-card h2 {
  color: var(--card-heading);
  text-align: center;
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 20px;
}

.tc-profile-image {
  width: 48%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  margin: 0 auto 20px;
}

.tc-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tc-profile-card p {
  color: var(--card-body);
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
  margin: 0 0 26px;
}

.tc-profile-card p:last-of-type {
  margin-bottom: 0;
}

.tc-profile-card strong {
  color: var(--card-heading);
  font-weight: 700;
}

@media (max-width: 700px) {
  .tc-team-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Showcase (game demo cards, stacked full-width sections)
   ========================================================================== */

.tc-showcase-wrap {
  width: 100%;
  background: var(--bg);
  padding: 56px 24px;
}

.tc-showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.tc-card {
  background: var(--card-bg);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.tc-card-content {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
}

.tc-card h2 {
  color: var(--card-heading);
  text-align: left;
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.tc-card-image {
  flex: 1 1 40%;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tc-card-image > img:not(.tc-award-img) {
  width: 100%;
  height: auto;
  display: block;
}

img.tc-award-img {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 70px !important;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.35));
}

/* Floor is Goo thumbnail doesn't have its own rounded/outline treatment baked in */
.tc-card-image.goo {
  border-radius: 8px;
  border: 2px solid var(--line);
  overflow: hidden;
}

.tc-card p {
  color: var(--card-body);
  font-size: 1rem;
  line-height: 1.55;
  text-align: left;
  margin: 0 0 20px;
  flex-grow: 1;
}

@media (max-width: 700px) {
  .tc-card { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px; }
  .tc-card-image { flex: none; width: 100%; }
  .tc-showcase-grid { gap: 28px; }
}

/* ==========================================================================
   Tutorials / Bite Size Live Streams
   ========================================================================== */

.tc-bss-wrap {
  width: 100%;
  background: var(--bg);
  padding: 56px 24px;
}

.tc-bss-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.tc-bss-card {
  background: var(--card-bg-light);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  border-radius: 14px;
  padding: 20px;
  flex: 1 1 300px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
}

.tc-bss-card h2 {
  color: var(--card-heading);
  text-align: center;
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.tc-bss-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 2px solid var(--line);
  overflow: hidden;
  margin-bottom: 18px;
}

.tc-bss-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tc-bss-card p {
  color: var(--card-body);
  font-size: 1rem;
  line-height: 1.55;
  text-align: left;
  margin: 0 0 18px;
}

.tc-bss-card .tc-btn-group {
  flex-direction: column;
}

@media (max-width: 700px) {
  .tc-bss-grid { gap: 18px; }
  .tc-bss-card { max-width: 100%; flex: 1 1 100%; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.tc-contact-wrap {
  width: 100%;
  background: var(--bg);
  padding: 56px 24px;
}

.tc-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}

.tc-contact-card {
  background: var(--card-bg);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  border-radius: 14px;
  padding: 28px;
}

.tc-contact-card h2 {
  color: var(--card-heading);
  text-align: left;
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.tc-contact-card p {
  color: var(--card-body);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 18px;
}

/* Contact form */
.tc-field {
  margin-bottom: 16px;
}

.tc-field label {
  display: block;
  color: var(--card-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.tc-field input,
.tc-field textarea {
  width: 100%;
  background: var(--input-bg);
  border: 2px solid var(--input-border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--input-text);
  font-family: inherit;
  font-size: 0.875rem;
  resize: vertical;
}

.tc-field input::placeholder,
.tc-field textarea::placeholder {
  color: var(--muted);
}

.tc-field input:focus,
.tc-field textarea:focus {
  outline: none;
  border-color: var(--c1);
}

.tc-form-note {
  color: var(--card-body);
  font-size: 0.75rem;
  line-height: 1.5;
  margin: 4px 0 18px;
}

/* LinkedIn cards */
.tc-social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tc-social-card {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tc-social-card:hover {
  transform: translateY(-4px);
  border-color: var(--c1);
}

.tc-social-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #0a66c2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.tc-social-icon svg {
  width: 26px;
  height: 26px;
  color: #ffffff;
}

.tc-social-text strong {
  display: block;
  color: var(--card-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.tc-social-text span {
  display: block;
  color: var(--card-body);
  font-size: 0.8125rem;
}

.tc-social-arrow {
  margin-left: auto;
  color: var(--card-heading);
  opacity: 0.6;
  flex-shrink: 0;
}

.tc-social-card:hover .tc-social-arrow {
  opacity: 1;
}

@media (max-width: 500px) {
  .tc-social-card { flex: 1 1 100%; }
}

/* Patreon post preview */
.tc-series-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
}

.tc-series-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.tc-series-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tc-series-title {
  flex-grow: 1;
  min-width: 0;
}

.tc-series-title a {
  color: var(--card-heading);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tc-series-title a:hover {
  text-decoration: underline;
}

.tc-series-title span {
  display: block;
  color: var(--card-body);
  font-size: 0.75rem;
}

.tc-series-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.tc-series-nav button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--card-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  opacity: 0.5;
}

.tc-post-grid {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.tc-post-card {
  flex: 1 1 160px;
  min-width: 0;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.tc-post-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}

.tc-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tc-post-card:hover .tc-post-thumb {
  transform: translateY(-3px);
}

.tc-post-card h4 {
  color: var(--card-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.3;
}

.tc-post-card p {
  color: var(--card-body);
  font-size: 0.75rem;
  line-height: 1.4;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tc-post-date {
  color: var(--card-body);
  font-size: 0.6875rem;
}

@media (max-width: 560px) {
  .tc-post-card { flex: 1 1 100%; }
}

.tc-page-heading {
  text-align: center;
  margin: 0 0 20px;
  font-weight: normal;
  font-size: 1em;
}

.tc-page-heading img {
  max-width: 340px;
  width: 100%;
  height: auto;
}

.tc-page-heading img.tc-page-heading-img--small {
  max-width: 260px;
}

.tc-page-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==========================================================================
   Pop up Shop (Gumroad products)
   ========================================================================== */

.tc-shop-wrap {
  width: 100%;
  background: var(--bg);
  padding: 56px 24px;
}

.tc-shop-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.tc-product-card {
  background: var(--card-bg);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  border-radius: 14px;
  padding: 28px;
}

.tc-product-card h2 {
  color: var(--card-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.tc-product-main-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 2px solid var(--line);
}

.tc-product-main-image img {
  width: 100%;
  height: auto;
  display: block;
}

.tc-product-card p {
  color: var(--card-body);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 20px;
}

.tc-product-card h3 {
  color: var(--card-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.tc-product-card ul {
  color: var(--card-body);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0 0 20px;
  padding-left: 22px;
}

.tc-product-card ul li {
  margin-bottom: 6px;
}

.tc-product-card ul li a {
  color: var(--c1);
  font-weight: 600;
  text-decoration: none;
}

.tc-product-card ul li a:hover {
  text-decoration: underline;
}

.tc-product-note {
  color: var(--card-body);
  font-size: 0.8125rem;
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 20px;
}

.tc-readmore-content {
  display: none;
}

.tc-readmore-content.is-open {
  display: block;
}

.tc-readmore-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--c1);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0;
  margin: 0 0 20px;
  cursor: pointer;
  text-decoration: underline;
}

.tc-readmore-btn:hover {
  color: var(--btn-hover);
}

.tc-readmore-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.tc-readmore-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.tc-product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.tc-product-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--line);
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.tc-footer {
  width: 100%;
  background: var(--header-bg);
  padding: 24px;
  text-align: center;
}

.tc-footer img {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  margin-bottom: 8px;
}

.tc-footer p {
  color: var(--footer-text);
  font-size: 0.8125rem;
  margin: 0;
}

/* ==========================================================================
   Header tools: translate (globe) and reading settings (Aa), as on Tiny Bytes
   ========================================================================== */

.tc-tools {
  position: relative;
  display: flex;
  gap: 8px;
  min-width: 96px;      /* space is held before the script fills it, so nothing jumps */
  height: 44px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.tc-tool-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--c1);
  font: 800 1rem 'Maven Pro', Arial, Helvetica, sans-serif;
  padding: 0;
}
.tc-tool-btn[hidden] { display: none; }
.tc-tool-btn:hover { box-shadow: inset 0 0 0 2px var(--c1); }
.tc-tool-btn[aria-expanded="true"] { background: var(--c1); color: var(--on-accent); }
.tc-tool-btn:focus-visible,
.tc-panel :focus-visible { outline: 3px solid var(--c1); outline-offset: 3px; }

.tc-panel {
  position: absolute;
  z-index: 1500;
  top: calc(100% + 10px);
  right: 0;
  width: min(300px, calc(100vw - 32px));
  background: var(--card-bg);
  color: var(--card-heading);
  border-radius: 18px;
  border: 1px solid var(--line);   /* keeps the panel distinct from the header in dark mode */
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  text-align: left;
}
.tc-panel[hidden] { display: none; }
.tc-ctl { display: flex; flex-direction: column; gap: .35rem; }
.tc-ctl-label { font: 700 .75rem 'Maven Pro', Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tc-seg { display: flex; border-radius: 999px; background: var(--soft); padding: 3px; gap: 2px; }
.tc-seg button {
  flex: 1; font: 700 .9375rem 'Maven Pro', Arial, sans-serif; color: var(--card-heading); background: transparent;
  border: 0; border-radius: 999px; min-height: 40px; padding: 0 .6rem; cursor: pointer;
}
.tc-seg button[aria-pressed="true"] { background: var(--c1); color: var(--on-accent); }
.tc-lang-row { display: flex; flex-direction: column; gap: .5rem; }
.tc-lang-row select {
  font: 600 .9375rem 'Maven Pro', Arial, sans-serif; color: var(--card-heading); background: var(--soft);
  border: 2px solid var(--line); border-radius: 12px; min-height: 44px; padding: 0 .6rem;
}
.tc-lang-go {
  font: 700 .9375rem 'Maven Pro', Arial, sans-serif; color: var(--on-accent); background: var(--c1);
  border: 0; border-radius: 999px; min-height: 44px; padding: 0 1rem; cursor: pointer;
}
.tc-lang-note { margin: 0; font-size: .8125rem; color: var(--muted); line-height: 1.3; }
.tc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* On Google-translated copies, hide Google's own bar: the globe button does the same job */
iframe#gt-nvframe, .skiptranslate > iframe { display: none !important; }
html, body { margin-top: 0 !important; top: 0 !important; }

/* Phones and narrow windows: buttons sit on the logo row, the menu wraps underneath */
@media (max-width: 1100px) {
  .tc-tools { order: 2; margin-left: auto; }
  .tc-nav { order: 3; width: 100%; margin-left: 0; justify-content: center; }
  .tc-header { row-gap: 8px; }
}

/* ==========================================================================
   Nov 2026 refresh: accessibility, mobile menu, text headings, home sections
   ========================================================================== */

:root { --focus: #ffffff; --ok: #1e7b34; --err: #b3261e; --display-ink: #10233a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ok: #7fdc95; --err: #ffb4ab; } }
:root[data-theme="dark"] { --ok: #7fdc95; --err: #ffb4ab; }

/* Clear keyboard focus everywhere: a thick yellow ring with a dark edge shows on white cards and on the blue page */
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible,
.tc-btn:focus-visible, .tc-readmore-btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--display-ink);
  border-radius: 6px;
}
.tc-btn:focus-visible { border-radius: 30px; }
.tc-field input:focus-visible, .tc-field textarea:focus-visible, .tc-field select:focus-visible {
  border-color: var(--c1);
  box-shadow: 0 0 0 3px var(--focus);
  outline: 2px solid transparent;
}
.tc-skip-link:focus { outline: 3px solid var(--focus); }

/* Respect "reduce motion" */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .tc-nav a:hover, .tc-social-card:hover, .tc-post-card:hover .tc-post-thumb, .tc-feature-card:hover { transform: none !important; }
}

:where(img[width][height]) { height: auto; }

/* Current page in the nav (replaces .is-active) */
.tc-nav a[aria-current="page"] { font-weight: 700; }
.tc-nav a[aria-current="page"]::after { width: 100%; left: 0%; }

/* ---------- Mobile menu (only folds when scripts run; otherwise the full nav stays visible) ---------- */
.tc-menu-btn {
  display: none;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: var(--soft);
  color: var(--c1);
  font: 700 0.9375rem 'Maven Pro', Arial, sans-serif;
  cursor: pointer;
}
.tc-menu-btn[aria-expanded="true"] { background: var(--c1); color: var(--on-accent); }

@media (max-width: 700px) {
  .js-menu .tc-menu-btn { display: inline-flex; order: 2; margin-left: auto; }
  .js-menu .tc-tools { order: 3; margin-left: 0; min-width: 0; }
  .js-menu .tc-nav { display: none; order: 4; }
  .js-menu .tc-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 6px 0 4px;
  }
  .js-menu .tc-nav.is-open a {
    font-size: 1rem;
    padding: 12px 8px;
    border-top: 1px solid var(--line);
    white-space: normal;
  }
  .js-menu .tc-nav.is-open a::after { display: none; }
  .js-menu .tc-nav.is-open a[aria-current="page"] { color: var(--card-heading); background: var(--soft); border-radius: 8px; }
  .js-menu .tc-header { row-gap: 0; }
}

/* ---------- Footer ---------- */
.tc-footer-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tc-footer img { margin-bottom: 0; }
.tc-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.tc-footer-links a { color: var(--c1); font-weight: 600; font-size: 0.875rem; text-decoration: none; padding: 8px 2px; }
.tc-footer-links a:hover { text-decoration: underline; }

/* ---------- Contact form status + topic ---------- */
.tc-form-note { font-size: 0.875rem; }
.tc-form-note.is-success { color: var(--ok); font-weight: 700; }
.tc-form-note.is-error { color: var(--err); font-weight: 700; }
.tc-field select {
  width: 100%;
  background: var(--input-bg);
  border: 2px solid var(--input-border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--input-text);
  font-family: inherit;
  font-size: 0.9375rem;
  min-height: 44px;
}
.tc-field label { font-size: 0.875rem; }
.tc-field input, .tc-field textarea { font-size: 0.9375rem; }
.tc-field .tc-optional { font-weight: 500; color: var(--muted); }
.tc-access-note {
  background: var(--soft);
  border-left: 4px solid var(--c1);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 16px;
  color: var(--card-body);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.tc-access-note[hidden] { display: none; }

/* ---------- Video dialog ---------- */
.tc-modal-close {
  top: -52px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
}
body.tc-no-scroll { overflow: hidden; }

/* ---------- Team cards ---------- */
.tc-profile-card h2 { margin-bottom: 4px; }
.tc-profile-role {
  text-align: center !important;
  color: var(--muted) !important;
  font-weight: 600;
  margin: 0 0 20px !important;
}

/* ---------- Patreon card on Contact ---------- */
.tc-patreon-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.tc-patreon-row img { width: 160px; border-radius: 10px; border: 2px solid var(--line); flex-shrink: 0; }
.tc-patreon-row div { flex: 1 1 240px; }

/* ---------- Home page sections: everything sits on the brand blue ---------- */
.tc-hero .tc-eyebrow {
  display: inline-block;
  color: var(--text-heading);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  padding: 5px 14px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  margin: 0 0 16px;
}
.tc-hero img.tc-hero-welcome-img { display: block; max-width: 260px; margin: 0 auto 20px; }
.tc-hero .tc-btn { min-height: 48px; }

.tc-proof {
  list-style: none;
  margin: 0 auto;
  padding: 0 24px 16px;
  max-width: 1000px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}
.tc-proof li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-heading);
  font-weight: 600;
  font-size: 0.9375rem;
}
.tc-proof li img { width: 26px; height: auto; }
.tc-proof-dot { color: var(--text-heading); font-size: 1rem; opacity: 0.85; }

.tc-section { padding: 48px 24px; }
.tc-section-inner { max-width: 1100px; margin: 0 auto; }
.tc-section-title {
  color: var(--text-heading);
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.tc-section-intro {
  color: var(--text-body);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* What we do: light glass tiles, no white boxes */
.tc-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tc-service {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: 14px;
  padding: 22px;
}
.tc-service h3 { color: var(--text-heading); font-size: 1.1875rem; margin: 0 0 8px; }
.tc-service p { color: var(--text-body); margin: 0; line-height: 1.55; }
.tc-service a { color: var(--text-heading); font-weight: 600; text-decoration: underline; }
.tc-service-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,255,255,0.14); color: var(--text-heading);
  display: grid; place-items: center; margin-bottom: 14px;
}
.tc-service-icon svg { width: 26px; height: 26px; }

/* Featured demos: the artwork leads, text sits on the blue */
.tc-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.tc-feature-card { position: relative; display: flex; flex-direction: column; }
.tc-feature-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.30);
  aspect-ratio: 16 / 9;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tc-feature-thumb > img:first-child { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-feature-card:hover .tc-feature-thumb { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.36); }
.tc-feature-card .tc-award-img { top: 8px; left: 8px; width: 52px !important; }
.tc-feature-body { padding: 14px 2px 0; }
.tc-feature-card h3 { margin: 0 0 4px; font-size: 1.1875rem; }
.tc-feature-card h3 a { color: var(--text-heading); text-decoration: none; }
.tc-feature-card h3 a::after { content: ""; position: absolute; inset: 0; }   /* whole card is clickable */
.tc-feature-card h3 a:focus-visible { box-shadow: none; outline: none; }
.tc-feature-card:focus-within .tc-feature-thumb { outline: 3px solid var(--focus); outline-offset: 3px; }
.tc-feature-card p { color: var(--text-body); margin: 0; line-height: 1.5; }
.tc-center { text-align: center; }

/* Client work + Tiny Bytes: two glass panels side by side */
.tc-duo {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.tc-panel-card {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.tc-panel-card h2 { color: var(--text-heading); margin: 0 0 8px; font-size: 1.375rem; }
.tc-panel-card p { color: var(--text-body); margin: 0 0 12px; line-height: 1.6; }
.tc-panel-card .tc-btn { margin-top: auto; }

@media (max-width: 700px) {
  .tc-section { padding: 36px 20px; }
  .tc-section-title { font-size: 1.625rem; }
}


/* ==========================================================================
   No white boxes: every content card sits on the brand blue with a soft tint.
   Card colours are re-pointed locally, so buttons, inputs and the header panels are untouched.
   ========================================================================== */
:root { --glass: rgba(8, 30, 56, 0.20); --glass-line: rgba(255, 255, 255, 0.16); }

.tc-card, .tc-profile-card, .tc-bss-card, .tc-product-card, .tc-contact-card {
  --card-bg: var(--glass);
  --card-bg-light: var(--glass);
  --card-heading: var(--text-heading);
  --card-body: var(--text-body);
  --c1: var(--text-heading);
  --line: rgba(255, 255, 255, 0.22);
  --muted: var(--text-body);
  --ok: #b6f2c3;
  --err: #ffd2cc;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: none;
}
.tc-access-note { background: rgba(255, 255, 255, 0.10); border-left-color: var(--text-heading); }
.tc-readmore-btn:hover { color: var(--text-heading); opacity: 0.85; }
.tc-social-card:hover { border-color: var(--text-heading); }

/* Showcase demo cards: artwork leads, like the home page */
.tc-card { padding: 22px; gap: 28px; }
.tc-card-image > img:not(.tc-award-img) {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.30);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.tc-card-image.goo { border: 0; border-radius: 12px; }
.tc-card:nth-child(even) { flex-direction: row-reverse; }
.tc-card h2 { font-size: 1.5rem; margin-bottom: 10px; }
.tc-card p { margin-bottom: 18px; }
@media (max-width: 700px) {
  .tc-card, .tc-card:nth-child(even) { flex-direction: column; }
}

/* Team photos and tutorial thumbnails match */
.tc-profile-image { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.30); }
.tc-bss-image, .tc-product-main-image { border: 0; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.30); }

/* Highlights: a tinted stats strip with three equal columns */
.tc-stats-wrap { padding: 0 24px; }
.tc-stats {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: 16px;
}
.tc-stats li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 16px;
  color: var(--text-body);
}
.tc-stats li + li { border-left: 1px solid var(--glass-line); }
.tc-stats li img {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: auto;
}
.tc-stat-num {
  color: var(--text-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.tc-stat-label { font-size: 0.9375rem; line-height: 1.4; max-width: 220px; }
.tc-hero-wrap { padding-bottom: 48px; }
.tc-stats-wrap + .tc-section { padding-top: 56px; }

@media (max-width: 600px) {
  .tc-stats-wrap { padding: 0 16px; }
  .tc-stats li { padding: 16px 8px; }
  .tc-stats li img { top: 8px; right: 6px; width: 20px; }
  .tc-stat-num { font-size: 1.875rem; margin-bottom: 6px; }
  .tc-stat-label { font-size: 0.8125rem; }
  .tc-hero-wrap { padding-bottom: 36px; }
  .tc-stats-wrap + .tc-section { padding-top: 40px; }
}

/* ==========================================================================
   Tiny Bytes touches: white "meta" pill, coloured label pills, tilted sticker marks
   ========================================================================== */
:root { --tb-pink: #C01F62; --tb-orange: #B4520F; --tb-blue: #1A64A8; --tb-outline: #0E1A26; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --tb-pink: #FF8DBC; --tb-orange: #FFAA66; --tb-blue: #7DC2F4; } }
:root[data-theme="dark"] { --tb-pink: #FF8DBC; --tb-orange: #FFAA66; --tb-blue: #7DC2F4; }

.tc-meta, .tc-hero p.tc-meta {
  display: inline-block;
  margin: 0 0 16px;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--header-bg);
  color: var(--c1);
  font: 700 0.8125rem 'Maven Pro', Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tc-label {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 10px;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  background: var(--tb-blue);
  color: #ffffff;
  font: 700 0.75rem 'Maven Pro', Arial, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.85);
}
.tc-label-pink { background: var(--tb-pink); }
.tc-label-orange { background: var(--tb-orange); }
.tc-label-center { display: table; margin: 0 auto 12px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-label { color: #07131F; box-shadow: none; } }
:root[data-theme="dark"] .tc-label { color: #07131F; box-shadow: none; }

/* sticker highlight on one word, as in Tiny Bytes headings */
.tc-section-title mark {
  display: inline-block;
  background: #ffffff;
  color: #16314D;
  border: 2.5px solid var(--tb-outline);
  border-radius: 10px;
  box-shadow: 3px 4px 0 var(--tb-outline);
  padding: 0 0.35em 0.06em;
  margin-left: 0.1em;
  transform: rotate(-2deg);
  line-height: 1.2;
}
.tc-section-title { line-height: 1.35; }

/* ---------- Side projects ---------- */
.tc-side {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tc-side-card {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.tc-side-card h3 { color: var(--text-heading); font-size: 1.25rem; margin: 0 0 6px; }
.tc-side-card p { color: var(--text-body); margin: 0 0 16px; line-height: 1.55; }
.tc-side-card > .tc-btn, .tc-side-card .tc-btn-group { margin-top: auto; }
.tc-side-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.30);
  margin-bottom: 16px;
}
.tc-side-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Tiny Bytes gets the wide spot, with the round robot avatar like its masthead */
.tc-side-feature {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 26px 30px;
  border-color: rgba(255,255,255,0.28);
}
.tc-side-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid #ffffff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  flex-shrink: 0;
}
.tc-side-body { display: flex; flex-direction: column; align-items: flex-start; }
.tc-side-feature h3 { font-size: 1.625rem; }
.tc-btn-ghost { background: transparent; color: var(--text-heading); border-color: rgba(255,255,255,0.75); }
.tc-btn-ghost:hover { background: var(--btn-hover); border-color: var(--btn-hover); }

.tc-client-panel {
  max-width: 1100px;
  margin: 0 auto;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.tc-client-panel .tc-btn { margin-top: 0; flex-shrink: 0; }

@media (max-width: 900px) {
  .tc-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tc-side { grid-template-columns: 1fr; }
  .tc-side-feature { flex-direction: column; align-items: flex-start; padding: 22px; gap: 16px; }
  .tc-side-avatar { width: 96px; height: 96px; border-width: 4px; }
  .tc-client-panel { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Demo cards: navy "sticker" cards (Tiny Bytes style), thumbnails cropped
   to hide the thin white frame baked into the artwork
   ========================================================================== */
:root { --navy-card: #16314D; --navy-edge: #0E1A26; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --navy-card: #132A42; --navy-edge: #26425F; } }
:root[data-theme="dark"] { --navy-card: #132A42; --navy-edge: #26425F; }

/* Home: featured demos */
.tc-feature-card {
  background: var(--navy-card);
  border: 2px solid var(--navy-edge);
  border-radius: 20px;
  padding: 12px 12px 20px;
  box-shadow: 5px 6px 0 var(--navy-edge);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tc-feature-card:hover { transform: translate(-2px, -3px); box-shadow: 7px 9px 0 var(--navy-edge); }
.tc-feature-card:hover .tc-feature-thumb { transform: none; box-shadow: none; }
.tc-feature-thumb { box-shadow: none; border-radius: 12px; }
.tc-feature-thumb > img:first-child { transform: scale(1.06); }
.tc-feature-body { padding: 16px 8px 0; display: flex; flex-direction: column; align-items: flex-start; }
.tc-feature-card h3 a, .tc-feature-card p:not(.tc-label) { color: #ffffff; }
.tc-feature-card p:not(.tc-label) { color: #D7E3EE; }
.tc-feature-card:focus-within .tc-feature-thumb { outline: none; }
.tc-feature-card:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; }

/* Showcase: same navy cards */
.tc-card {
  --card-heading: #ffffff;
  --card-body: #D7E3EE;
  background: var(--navy-card);
  border: 2px solid var(--navy-edge);
  border-radius: 20px;
  box-shadow: 6px 7px 0 var(--navy-edge);
}
.tc-card-image > img:not(.tc-award-img) {
  clip-path: inset(1.6% round 12px);
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .tc-feature-card:hover { transform: none; }
}

/* ==========================================================================
   Let the Tiny Bytes blue show through: no tinted fills, just a fine edge
   ========================================================================== */
:root { --glass: transparent; --glass-line: rgba(255, 255, 255, 0.30); }
.tc-side-card:not(.tc-side-feature) { padding: 18px 20px; }
.tc-side-card:not(.tc-side-feature) .tc-btn { padding: 8px 18px; }
.tc-section { padding: 40px 24px; }
.tc-section + .tc-section { padding-top: 16px; }
.tc-stats-wrap + .tc-section { padding-top: 48px; }
.tc-features { margin-bottom: 22px; }

/* ==========================================================================
   Menu style B: header blends into the blue; current page is a tilted white sticker
   ========================================================================== */
.tc-header-wrap { background: transparent; }
.tc-header { padding-top: 16px; padding-bottom: 10px; }

.tc-logo img {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}

.tc-nav { gap: 6px; }
.tc-nav a {
  color: #ffffff;
  padding: 7px 11px;
  border: 2px solid transparent;
  border-radius: 10px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.tc-nav a::after { display: none; }
.tc-nav a:hover { transform: none; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.tc-nav a[aria-current="page"] {
  background: #ffffff;
  color: #16314D;
  border-color: #0E1A26;
  box-shadow: 3px 3px 0 #0E1A26;
  transform: rotate(-2deg);
  text-decoration: none;
}

/* Globe, Aa and Menu buttons: white circles/pills like Tiny Bytes */
.tc-tool-btn, .tc-menu-btn {
  background: #ffffff;
  color: #1c6fba;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.tc-tool-btn:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18), inset 0 0 0 2px #1c6fba; }
.tc-tool-btn[aria-expanded="true"], .tc-menu-btn[aria-expanded="true"] { background: #16314D; color: #ffffff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-tool-btn, :root:not([data-theme="light"]) .tc-menu-btn { background: #132A42; color: #7DC2F4; } }
:root[data-theme="dark"] .tc-tool-btn, :root[data-theme="dark"] .tc-menu-btn { background: #132A42; color: #7DC2F4; }

@media (max-width: 1100px) and (min-width: 701px) {
  .tc-nav { gap: 4px; }
}

/* Phones: the opened menu sits on the blue, current page keeps its sticker */
@media (max-width: 700px) {
  .tc-logo img { height: 40px; width: 40px; }
  .js-menu .tc-nav.is-open { padding: 10px 0 6px; gap: 4px; }
  .js-menu .tc-nav.is-open a {
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0;
    color: #ffffff;
  }
  .js-menu .tc-nav.is-open a[aria-current="page"] {
    background: #ffffff;
    color: #16314D;
    border: 2px solid #0E1A26;
    border-radius: 10px;
    box-shadow: 3px 3px 0 #0E1A26;
    transform: rotate(-1deg);
    margin: 4px 6px 6px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tc-nav a[aria-current="page"] { transform: none; }
}

/* Menu hover: a soft white pill that lifts and tilts, previewing the sticker */
.tc-nav a { transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.tc-nav a:hover,
.tc-nav a:focus-visible {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px) rotate(-2deg);
}
.tc-nav a[aria-current="page"]:hover,
.tc-nav a[aria-current="page"]:focus-visible {
  background: #ffffff;
  border-color: #0E1A26;
  transform: translateY(-2px) rotate(-3deg);
  box-shadow: 4px 5px 0 #0E1A26;
}
.tc-nav a:active { transform: translateY(0) rotate(-2deg); }

@media (max-width: 700px) {
  .js-menu .tc-nav.is-open a:hover,
  .js-menu .tc-nav.is-open a:focus-visible { border-radius: 10px; border-bottom-color: rgba(255, 255, 255, 0.65); transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-nav a:hover, .tc-nav a:focus-visible,
  .tc-nav a[aria-current="page"]:hover, .tc-nav a:active { transform: none; }
}

/* ==========================================================================
   Home v3: sticker stat tiles + Tiny Bytes banner feature
   ========================================================================== */
.tc-hero-wrap { padding-bottom: 36px; }
.tc-hero p:last-child { margin-bottom: 0; }

/* Stat tiles: navy stickers with a coloured icon disc */
.tc-stats {
  background: none;
  border: 0;
  border-radius: 0;
  max-width: 1000px;
  gap: 22px;
}
.tc-stats li + li { border-left: 0; }
.tc-stat {
  flex-direction: row !important;
  align-items: center !important;
  text-align: left !important;
  gap: 16px;
  padding: 20px 22px !important;
  background: var(--navy-card);
  border: 2px solid var(--navy-edge);
  border-radius: 18px;
  box-shadow: 5px 6px 0 var(--navy-edge);
  transform: rotate(-1.2deg);
}
.tc-stat:nth-child(2) { transform: rotate(1deg); }
.tc-stat:nth-child(3) { transform: rotate(-0.6deg); }
.tc-stat-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #ffffff;
  border: 3px solid #ffffff;
}
.tc-stat-icon svg { width: 28px; height: 28px; }
.tc-stat-pink .tc-stat-icon { background: #C01F62; }
.tc-stat-blue .tc-stat-icon { background: #1A64A8; }
.tc-stat-orange .tc-stat-icon { background: #B4520F; }
.tc-stat-award img { position: static !important; width: 30px !important; height: auto; }
.tc-stat-text { display: flex; flex-direction: column; }
.tc-stats .tc-stat-num { color: #ffffff; font-size: 2.25rem; margin: 0 0 4px; }
.tc-stats .tc-stat-label { color: #D7E3EE; font-size: 0.9375rem; max-width: none; }
@media (max-width: 760px) {
  .tc-stats { grid-template-columns: 1fr; gap: 14px; max-width: 460px; }
  .tc-stat, .tc-stat:nth-child(2), .tc-stat:nth-child(3) { transform: none; padding: 14px 16px !important; }
  .tc-stat-icon { width: 46px; height: 46px; }
  .tc-stat-icon svg { width: 24px; height: 24px; }
  .tc-stats .tc-stat-num { font-size: 1.75rem; }
  .tc-stats .tc-stat-label { font-size: 0.875rem; }
}
@media (prefers-reduced-motion: reduce) { .tc-stat { transform: none !important; } }

/* Tiny Bytes feature, laid out like the Facebook / LinkedIn banner */
.tc-tb-feature { position: relative; overflow: hidden; padding: 64px 24px 56px; }
.tc-tb-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 24px;
}
.tc-tb-copy { display: flex; flex-direction: column; align-items: flex-start; }
.tc-tb-copy .tc-meta { font-size: 0.9375rem; letter-spacing: 0.12em; margin-bottom: 6px; }
.tc-tb-logo { margin: 0 0 4px -10px; width: 100%; max-width: 470px; font-size: 1rem; }
.tc-tb-logo svg { display: block; width: 100%; height: auto; overflow: visible; }
.tc-tb-logo .l-edge { fill: #ffffff; stroke: #ffffff; stroke-width: 26px; stroke-linejoin: round; }
.tc-tb-logo .l-depth { fill: #0E1A26; stroke: #0E1A26; stroke-width: 12px; stroke-linejoin: round; }
.tc-tb-logo .l-face { fill: #ffffff; stroke: #0E1A26; stroke-width: 12px; stroke-linejoin: round; paint-order: stroke; }
.tc-tb-head {
  color: var(--text-heading);
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 6px 0 10px;
  max-width: 14ch;
}
.tc-tb-tag { color: var(--text-heading); font-size: 1.1875rem; font-weight: 600; margin: 0 0 22px; }
.tc-tb-phones { width: 100%; height: auto; display: block; }
.tc-tb-dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; opacity: 0.45; pointer-events: none; }
.tc-tb-dot.d1 { background: #9fb7c8; left: 4%; top: 18%; width: 22px; height: 22px; }
.tc-tb-dot.d2 { background: #b06aa6; left: 58%; top: 8%; width: 14px; height: 14px; }
.tc-tb-dot.d3 { background: #8fb59a; right: 5%; top: 14%; }
.tc-tb-dot.d4 { background: #9fb7c8; left: 46%; bottom: 8%; width: 24px; height: 24px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-tb-logo .l-edge { fill: #4A94E0; stroke: #4A94E0; } }
:root[data-theme="dark"] .tc-tb-logo .l-edge { fill: #4A94E0; stroke: #4A94E0; }

@media (max-width: 820px) {
  .tc-tb-inner { grid-template-columns: 1fr; text-align: left; }
  .tc-tb-phones { max-width: 460px; margin: 8px auto 0; }
  .tc-tb-feature { padding: 44px 20px 36px; }
}
.tc-tb-head { max-width: 13em; }
@media (max-width: 480px) {
  .tc-hero p.tc-meta { font-size: 0.75rem; letter-spacing: 0.05em; }
  .tc-tb-copy .tc-meta { font-size: 0.8125rem; letter-spacing: 0.08em; }
  .tc-tb-head { font-size: 1.875rem; }
}

/* Tiny Bytes option 2A: everything in one navy banner card, phones peeking out of the corner */
.tc-tb-feature { padding: 48px 24px 56px; overflow: visible; }
.tc-tb-inner {
  background: var(--navy-card);
  border: 2px solid var(--navy-edge);
  border-radius: 24px;
  box-shadow: 6px 7px 0 var(--navy-edge);
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 8px;
  padding: 0 0 0 44px;
  min-height: 330px;
}
.tc-tb-copy { padding: 36px 0 38px; position: relative; z-index: 1; }
.tc-tb-logo { max-width: 380px; }
.tc-tb-head { color: #ffffff; font-size: clamp(1.625rem, 3vw, 2.125rem); }
.tc-tb-tag { color: #D7E3EE; font-size: 1.0625rem; }
.tc-tb-phones {
  width: 112%;
  max-width: none;
  margin: 0 -8% -34px 0;
  transform: rotate(-5deg);
  transform-origin: bottom left;
}
.tc-tb-dot { opacity: 0.35; }
@media (max-width: 820px) {
  .tc-tb-feature { padding: 36px 18px 44px; }
  .tc-tb-inner { grid-template-columns: 1fr; padding: 0 0 0 22px; min-height: 0; }
  .tc-tb-copy { padding: 26px 22px 6px 0; }
  .tc-tb-logo { max-width: 300px; }
  .tc-tb-phones { width: 105%; max-width: 440px; margin: 4px -34px -40px auto; }
}
@media (prefers-reduced-motion: reduce) { .tc-tb-phones { transform: none; } }

/* ==========================================================================
   Menu option 4B: white bar, current page is a blue sticker
   ========================================================================== */
.tc-header-wrap { background: var(--header-bg); }
.tc-header { padding-top: 12px; padding-bottom: 12px; }
.tc-logo img { border: 0; box-shadow: none; }
.tc-nav a { color: var(--c1); }
.tc-nav a:hover,
.tc-nav a:focus-visible {
  background: var(--soft);
  border-color: var(--c1);
  color: var(--c1);
}
.tc-nav a[aria-current="page"],
.tc-nav a[aria-current="page"]:hover,
.tc-nav a[aria-current="page"]:focus-visible {
  background: #1A64A8;
  color: #ffffff;
  border-color: #0E1A26;
}
.tc-tool-btn, .tc-menu-btn { background: var(--soft); color: var(--c1); box-shadow: none; }
.tc-tool-btn:hover { box-shadow: inset 0 0 0 2px var(--c1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-tool-btn, :root:not([data-theme="light"]) .tc-menu-btn { background: var(--soft); color: var(--c1); } }
:root[data-theme="dark"] .tc-tool-btn, :root[data-theme="dark"] .tc-menu-btn { background: var(--soft); color: var(--c1); }
.tc-header a:focus-visible, .tc-header button:focus-visible { outline-color: #0E1A26; box-shadow: 0 0 0 6px #ffffff; }
@media (max-width: 700px) {
  .js-menu .tc-nav.is-open a { color: var(--c1); border-bottom: 1px solid var(--line); }
  .js-menu .tc-nav.is-open a[aria-current="page"] { background: #1A64A8; color: #ffffff; border: 2px solid #0E1A26; }
}

/* ==========================================================================
   Footer option 3A: navy band with round white icon buttons
   ========================================================================== */
.tc-footer { background: var(--navy-card); border-top: 3px solid var(--navy-edge); padding: 28px 24px 24px; }
.tc-footer-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 14px; }
.tc-icon-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: #16314D;
  display: grid; place-items: center;
  border: 2px solid #0E1A26;
  box-shadow: 3px 3px 0 #0E1A26;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.tc-icon-btn svg { width: 22px; height: 22px; }
.tc-icon-btn:hover { transform: translate(-1px, -2px); box-shadow: 4px 5px 0 #0E1A26; background: #EEF5FB; }
.tc-footer .tc-icon-btn:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; box-shadow: 3px 3px 0 #0E1A26; border-radius: 50%; }
.tc-footer p { color: #D7E3EE; }
@media (prefers-reduced-motion: reduce) { .tc-icon-btn:hover { transform: none; } }
.tc-sr { margin: 0; top: 0; left: 0; }

/* Stats option 1F: trophy shelf */
.tc-trophy {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.tc-trophy-badge {
  flex-shrink: 0;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--navy-card);
  border: 4px solid #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  display: grid; place-items: center;
}
.tc-trophy-badge img { width: 50px; height: auto; }
.tc-trophy-text { min-width: 0; }
.tc-trophy-title { color: #ffffff; font-size: 1.625rem; font-weight: 700; line-height: 1.15; margin: 0; }
.tc-trophy-sub { color: #D7E3EE; font-size: 1rem; margin: 4px 0 12px; }
.tc-trophy-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tc-trophy-chips li {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 5px 12px;
}
@media (max-width: 520px) {
  .tc-trophy { gap: 14px; align-items: flex-start; }
  .tc-trophy-badge { width: 72px; height: 72px; border-width: 3px; }
  .tc-trophy-badge img { width: 38px; }
  .tc-trophy-title { font-size: 1.3125rem; }
  .tc-trophy-sub { font-size: 0.9375rem; margin-bottom: 10px; }
  .tc-trophy-chips li { font-size: 0.8125rem; padding: 4px 10px; }
}

/* Client work: navy card like the Tiny Bytes card; thinner sticker edge + lighter shadow on all navy cards */
.tc-client-panel {
  background: var(--navy-card);
  border: 1.5px solid var(--navy-edge);
  border-radius: 24px;
  box-shadow: 3px 4px 0 var(--navy-edge);
  padding: 32px 36px;
}
.tc-client-panel h2 { color: #ffffff; }
.tc-client-panel p:not(.tc-label) { color: #D7E3EE; }
.tc-tb-inner { border-width: 1.5px; box-shadow: 3px 4px 0 var(--navy-edge); }
.tc-card { border-width: 1.5px; box-shadow: 3px 4px 0 var(--navy-edge); }
@media (max-width: 640px) {
  .tc-client-panel { padding: 24px 22px; }
}
.tc-tb-feature + .tc-section { padding-top: 0; }

/* More room between the pill and the Tiny Bytes logo */
.tc-tb-copy .tc-meta { margin-bottom: 20px; }
.tc-tb-logo { margin-top: 0; }

/* Trophy shelf: centred to line up with the hero */
.tc-stats-wrap { padding-top: 4px; }
@media (max-width: 640px) {
  .tc-trophy { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .tc-trophy-chips { justify-content: center; }
  .tc-trophy-badge { width: 84px; height: 84px; }
  .tc-trophy-badge img { width: 44px; }
}
.tc-tb-copy .tc-meta { margin-bottom: 26px; } .tc-stats-wrap + .tc-tb-feature { padding-top: 40px; }

/* Stats option 1K: one tidy row of white stickers under the intro */
.tc-stats-wrap { padding: 0 16px; margin-top: -8px; }
.tc-stickers { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.tc-sticker {
  display: inline-flex; align-items: center; gap: 7px;
  background: #ffffff; color: #16314D;
  border: 1.5px solid #0E1A26; box-shadow: 3px 3px 0 #0E1A26; border-radius: 12px;
  padding: 8px 14px; font-weight: 700; font-size: 1rem;
  transform: rotate(-2deg); white-space: nowrap;
}
.tc-sticker:nth-child(2) { transform: rotate(1.5deg); }
.tc-sticker:nth-child(3) { transform: rotate(-1deg); }
.tc-sticker svg { width: 20px; height: 20px; flex-shrink: 0; }
.tc-sticker.s-pink svg { color: #C01F62; }
.tc-sticker.s-blue svg { color: #1A64A8; }
.tc-sticker.s-orange svg { color: #B4520F; }
@media (max-width: 480px) {
  .tc-stickers { gap: 8px; }
  .tc-sticker { font-size: 0.8125rem; padding: 6px 9px; gap: 5px; border-radius: 10px; }
  .tc-sticker svg { width: 15px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) { .tc-sticker { transform: none !important; } }
@media (max-width: 480px) {
  .tc-stickers { flex-wrap: nowrap; gap: 6px; }
  .tc-sticker { font-size: 0.75rem; padding: 6px 8px; gap: 4px; box-shadow: 2px 2px 0 #0E1A26; }
  .tc-sticker svg { width: 14px; height: 14px; }
}
@media (max-width: 350px) { .tc-stickers { flex-wrap: wrap; } }

/* Tiny Bytes card and client work card: same width at every size */
.tc-tb-feature, .tc-tb-feature + .tc-section { padding-left: 24px; padding-right: 24px; }
.tc-tb-inner, .tc-client-panel { max-width: 1100px; box-sizing: border-box; }
@media (max-width: 820px) {
  .tc-tb-feature, .tc-tb-feature + .tc-section { padding-left: 16px; padding-right: 16px; }
}

/* Softer card blue (the navy felt too heavy) + profile cards */
:root { --navy-card: #1D4E7C; --navy-edge: #10324F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --navy-card: #132A42; --navy-edge: #26425F; } }
:root[data-theme="dark"] { --navy-card: #132A42; --navy-edge: #26425F; }

.tc-profile-card {
  background: var(--navy-card);
  border: 1.5px solid var(--navy-edge);
  border-radius: 24px;
  box-shadow: 3px 4px 0 var(--navy-edge);
  --card-heading: #ffffff;
  --card-body: #D7E3EE;
  --muted: #D7E3EE;
}
.tc-team-grid { gap: 28px; }

/* Cards: tinted glass (Emily's pick), footer keeps a solid deep blue band */
:root { --navy-card: rgba(10, 40, 75, 0.28); --navy-edge: rgba(10, 30, 55, 0.55); --footer-band: #1D4E7C; --footer-edge: #10324F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --navy-card: #132A42; --navy-edge: #26425F; --footer-band: #132A42; --footer-edge: #26425F; } }
:root[data-theme="dark"] { --navy-card: #132A42; --navy-edge: #26425F; --footer-band: #132A42; --footer-edge: #26425F; }
.tc-footer { background: var(--footer-band); border-top-color: var(--footer-edge); }
.tc-card, .tc-tb-inner, .tc-client-panel, .tc-profile-card { --card-body: #E3EEF7; }
.tc-tb-tag, .tc-client-panel p:not(.tc-label), .tc-profile-card p { color: #E3EEF7; }

/* ==========================================================================
   Pale blue page, Tiny Bytes blue cards (Emily's pick, 11 Nov 2026)
   Light theme only: the dark theme keeps its own colours (higher-specificity blocks above).
   ========================================================================== */
:root {
  --page-top: #EEF6FC;
  --page-bot: #E2EEF8;
  --text-heading: #16314D;
  --text-body: #3E556B;
  --card-fill: linear-gradient(180deg, #1C6CA3, #2479B3);
  --card-edge: #10324F;
  --footer-band: #1C6CA3;
  --footer-edge: #10324F;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --card-fill: #132A42; --card-edge: #26425F; --footer-band: #132A42; --footer-edge: #26425F; } }
:root[data-theme="dark"] { --card-fill: #132A42; --card-edge: #26425F; --footer-band: #132A42; --footer-edge: #26425F; }

.tc-header-wrap { border-bottom: 1px solid #D3E3F0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-header-wrap { border-bottom-color: #26425F; } }
:root[data-theme="dark"] .tc-header-wrap { border-bottom-color: #26425F; }

/* every content card is a blue card with white text */
.tc-card, .tc-profile-card, .tc-bss-card, .tc-product-card, .tc-contact-card, .tc-tb-inner, .tc-client-panel {
  background: var(--card-fill);
  border: 1.5px solid var(--card-edge);
  box-shadow: 3px 4px 0 var(--card-edge);
  border-radius: 22px;
  --card-heading: #ffffff;
  --card-body: #EEF5FB;
  --muted: #EEF5FB;
  --c1: #ffffff;
  --line: rgba(255, 255, 255, 0.35);
  --text-heading: #ffffff;
  --text-body: #EEF5FB;
  color: #EEF5FB;
}
.tc-tb-tag, .tc-client-panel p:not(.tc-label), .tc-profile-card p { color: #EEF5FB; }
.tc-access-note { background: rgba(255, 255, 255, 0.14); }

/* on the pale page: the hero pill turns blue, the footer is a solid Tiny Bytes blue band */
.tc-hero p.tc-meta { background: #1A64A8; color: #ffffff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-hero p.tc-meta { background: var(--header-bg); color: var(--c1); } }
:root[data-theme="dark"] .tc-hero p.tc-meta { background: var(--header-bg); color: var(--c1); }
.tc-footer { background: var(--footer-band); border-top: 3px solid var(--footer-edge); }
.tc-footer p { color: #ffffff; }

/* focus ring that shows on the pale page as well as on the blue cards */
a:focus-visible, button:focus-visible, .tc-btn:focus-visible { outline: 3px solid #16314D; box-shadow: 0 0 0 6px #ffffff; }
.tc-card a:focus-visible, .tc-card button:focus-visible,
.tc-tb-inner a:focus-visible, .tc-client-panel a:focus-visible, .tc-contact-card a:focus-visible, .tc-contact-card button:focus-visible,
.tc-bss-card a:focus-visible, .tc-bss-card button:focus-visible, .tc-product-card a:focus-visible, .tc-product-card button:focus-visible,
.tc-footer a:focus-visible { outline: 3px solid #ffffff; box-shadow: 0 0 0 6px #10324F; }
.tc-tb-copy .tc-meta { background: #ffffff; color: #1A64A8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-tb-copy .tc-meta { background: #EAF2FA; color: #16314D; } }
:root[data-theme="dark"] .tc-tb-copy .tc-meta { background: #EAF2FA; color: #16314D; }
.tc-panel-card p.tc-label, .tc-label { color: #ffffff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-panel-card p.tc-label { color: #07131F; } }
:root[data-theme="dark"] .tc-panel-card p.tc-label { color: #07131F; }
/* Team profiles v2: sticker cards with a round photo popping out of the top */
.tc-team-v2 { margin-top: 96px; gap: 96px 28px; align-items: stretch; }
.tc-person {
  position: relative;
  background: var(--card-fill);
  border: 1.5px solid var(--card-edge);
  box-shadow: 3px 4px 0 var(--card-edge);
  border-radius: 24px;
  padding: 92px 28px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tc-person-photo {
  position: absolute;
  top: -76px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 152px; height: 152px;
}
.tc-person:nth-child(2) .tc-person-photo { transform: translateX(-50%) rotate(3deg); }
.tc-person-photo > img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #ffffff;
  box-shadow: 0 0 0 1.5px var(--card-edge), 4px 5px 0 var(--card-edge);
  display: block;
}
.tc-person-badge {
  position: absolute;
  right: -34px; bottom: 6px;
  display: inline-flex; align-items: center; gap: 4px;
  background: #ffffff; color: #16314D;
  border: 1.5px solid #0E1A26; box-shadow: 2px 2px 0 #0E1A26;
  border-radius: 10px; padding: 4px 9px 4px 6px;
  font-size: 0.8125rem; font-weight: 700; white-space: nowrap;
  transform: rotate(8deg);
}
.tc-person-badge img { width: 16px; height: auto; }
.tc-person .tc-label { align-self: center; margin-bottom: 8px; }
.tc-person h2 { color: var(--card-heading); font-size: 1.625rem; margin: 0; }
.tc-person-role { color: var(--muted); font-weight: 600; margin: 4px 0 16px; }
.tc-person p:not(.tc-label):not(.tc-person-role) { color: var(--card-body); line-height: 1.6; margin: 0 0 12px; text-align: left; }
.tc-person-skills {
  list-style: none; padding: 0; margin: auto 0 0; padding-top: 8px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.tc-person-skills li {
  font-size: 0.8125rem; font-weight: 700;
  color: var(--c1);
  border: 1.5px solid var(--c1);
  border-radius: 999px;
  padding: 4px 11px;
}
@media (max-width: 700px) {
  .tc-team-v2 { margin-top: 84px; gap: 100px; }
  .tc-person { padding: 84px 20px 22px; }
  .tc-person-photo { width: 136px; height: 136px; top: -68px; }
}
@media (prefers-reduced-motion: reduce) { .tc-person-photo, .tc-person:nth-child(2) .tc-person-photo { transform: translateX(-50%); } }

/* Team page: Choose your player */
.tc-cyp-title { max-width: 520px; margin: 8px auto 26px; font-size: 1rem; }
.tc-cyp-title svg { display: block; width: 100%; height: auto; overflow: visible; }
.tc-cyp-title .l-edge { fill: #ffffff; stroke: #ffffff; stroke-width: 24px; stroke-linejoin: round; }
.tc-cyp-title .l-depth { fill: #0E1A26; stroke: #0E1A26; stroke-width: 11px; stroke-linejoin: round; }
.tc-cyp-title .l-face { fill: #ffffff; stroke: #0E1A26; stroke-width: 11px; stroke-linejoin: round; paint-order: stroke; }

.tc-select {
  max-width: 760px;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.tc-player {
  position: relative;
  font: inherit;
  text-align: center;
  cursor: pointer;
  background: var(--card-fill);
  border: 1.5px solid var(--card-edge);
  box-shadow: 3px 4px 0 var(--card-edge);
  border-radius: 22px;
  padding: 26px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--card-heading);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tc-player:hover { transform: translateY(-3px); box-shadow: 4px 6px 0 var(--card-edge); }
.tc-player[aria-selected="true"] {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 0 0 5px #FF8DBC, 4px 6px 0 5px var(--card-edge);
}
.tc-player-sel {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: #C01F62; color: #ffffff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
  border: 1.5px solid #0E1A26;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.tc-player[aria-selected="true"] .tc-player-sel { opacity: 1; }
.tc-player-photo {
  width: 120px; height: 120px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--card-edge);
  margin-bottom: 12px;
}
.tc-player-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-player-name { font-size: 1.5rem; font-weight: 700; color: var(--card-heading); }
.tc-player-class { font-size: 0.9375rem; font-weight: 600; color: var(--muted); margin: 2px 0 12px; }
.tc-player-moves-title { align-self: stretch; text-align: left; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--card-heading); margin-bottom: 6px; }
.tc-player-moves { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-start; align-self: stretch; }
.tc-player-moves span { font-size: 0.8125rem; font-weight: 700; color: var(--c1); border: 1.5px solid var(--c1); border-radius: 999px; padding: 3px 10px; }
.tc-player:focus-visible { outline: 3px solid #ffffff; outline-offset: 4px; box-shadow: 0 0 0 5px #16314D; }

.tc-player-panel {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card-fill);
  border: 1.5px solid var(--card-edge);
  box-shadow: 3px 4px 0 var(--card-edge);
  border-radius: 22px;
  padding: 26px 28px;
}
.tc-player-panel + .tc-player-panel { margin-top: 24px; }
.tc-player-panel[hidden] { display: none; }
.tc-player-panel-head { position: relative; margin-bottom: 12px; }
.tc-player-panel h3 { color: var(--card-heading); font-size: 1.625rem; margin: 0; }
.tc-player-panel p:not(.tc-label):not(.tc-person-role) { color: var(--card-body); line-height: 1.6; margin: 0 0 12px; }
.tc-player-panel .tc-person-role { margin: 2px 0 0; color: var(--muted); font-weight: 600; }
.tc-player-panel .tc-person-skills { justify-content: flex-start; margin-top: 6px; }
.tc-player-panel .tc-person-badge { position: absolute; right: 0; top: 0; bottom: auto; transform: rotate(6deg); }

@media (max-width: 560px) {
  .tc-select { gap: 14px; }
  .tc-player { padding: 22px 10px 14px; }
  .tc-player-photo { width: 92px; height: 92px; border-radius: 16px; }
  .tc-player-name { font-size: 1.25rem; }
  .tc-player-class { font-size: 0.8125rem; }
  .tc-player-moves span { font-size: 0.6875rem; padding: 2px 7px; }
  .tc-player-panel { padding: 22px 20px; }
  .tc-player-panel .tc-person-badge { position: static; display: inline-flex; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-player, .tc-player:hover, .tc-player[aria-selected="true"] { transform: none; }
}

.tc-player-sel { white-space: nowrap; }

.tc-cyp-pill {
  display: table;
  margin: 4px auto 30px;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #1A64A8;
  font: 700 0.875rem 'Maven Pro', Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Showcase: Select a level */
.tc-level-pill { margin: 0 auto 14px; }
.tc-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 34px; }
.tc-filter[hidden] { display: none; }
.tc-filter-btn {
  font: 700 0.875rem 'Maven Pro', Arial, sans-serif;
  color: #ffffff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  min-height: 36px;
}
.tc-filter-btn:hover { background: rgba(255, 255, 255, 0.15); }
.tc-filter-btn[aria-pressed="true"] { background: #ffffff; color: #16314D; border-color: #0E1A26; box-shadow: 2px 2px 0 #0E1A26; transform: rotate(-2deg); }
.tc-card[hidden] { display: none; }
.tc-card-image { position: relative; }
.tc-level {
  position: absolute; top: -12px; left: -8px; z-index: 3;
  background: #1A64A8; color: #ffffff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 8px;
  border: 1.5px solid #0E1A26; box-shadow: 2px 2px 0 #0E1A26;
  transform: rotate(-4deg);
}
.tc-highscore {
  position: absolute; top: -12px; right: -8px; z-index: 3;
  display: inline-flex; align-items: center; gap: 4px;
  background: #ffffff; color: #16314D;
  font-size: 0.8125rem; font-weight: 700;
  padding: 4px 9px 4px 6px; border-radius: 9px;
  border: 1.5px solid #0E1A26; box-shadow: 2px 2px 0 #0E1A26;
  transform: rotate(5deg); white-space: nowrap;
}
.tc-highscore img { width: 15px; height: auto; }
.tc-status { margin: -4px 0 12px !important; }
.tc-status-chip {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
  color: var(--c1); border: 1.5px solid var(--c1);
}
.tc-status-chip.is-play { background: #1A64A8; border-color: #1A64A8; color: #ffffff; }
@media (prefers-reduced-motion: reduce) { .tc-level, .tc-highscore, .tc-filter-btn[aria-pressed="true"] { transform: none; } }

/* Showcase: Select a level world map */
.tc-map {
  position: relative;
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 58px 28px 54px;
  border-radius: 28px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.13) 1.5px, transparent 2.5px) 0 0 / 30px 30px,
    linear-gradient(160deg, #2C8DCD, #1D6DA6);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1.5px #10324F, 4px 5px 0 1.5px #10324F;
}
.tc-map[hidden] { display: none; }
.tc-map-path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.tc-map-path path { fill: none; stroke: #ffffff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 0.5 14; opacity: 0.9; }
.tc-map-nodes {
  --cols: 5;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  row-gap: 74px;
  justify-items: center;
}
.tc-node {
  position: relative;
  width: 92px; height: 92px;
  padding: 0;
  border-radius: 50%;
  border: 4px solid #ffffff;
  background: #10324F;
  box-shadow: 0 0 0 1.5px #10324F, 3px 4px 0 1.5px #10324F;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tc-node-thumb { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.tc-node-num {
  position: absolute; left: -10px; bottom: -6px;
  min-width: 30px; height: 30px; padding: 0 6px;
  border-radius: 999px;
  background: #1A64A8; color: #ffffff;
  font: 700 0.875rem 'Maven Pro', Arial, sans-serif;
  display: grid; place-items: center;
  border: 2px solid #ffffff; box-shadow: 0 0 0 1.5px #10324F;
}
.tc-node-star {
  position: absolute; right: -10px; top: -8px;
  width: 32px; height: 32px; border-radius: 50%;
  background: #ffffff; display: grid; place-items: center;
  box-shadow: 0 0 0 1.5px #10324F;
}
.tc-node-star img { width: 17px; height: auto; }
.tc-node-name {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%);
  width: 130px;
  color: #ffffff; text-align: center;
  font: 700 0.8125rem/1.2 'Maven Pro', Arial, sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.tc-node:hover { transform: translateY(-4px) rotate(-4deg); }
.tc-node[aria-selected="true"] {
  transform: scale(1.14);
  border-color: #FF8DBC;
  box-shadow: 0 0 0 1.5px #10324F, 0 0 0 9px rgba(255, 141, 188, 0.45), 3px 4px 0 1.5px #10324F;
}
.tc-node[aria-selected="true"] .tc-node-num { background: #C01F62; }
.tc-node:focus-visible { outline: 3px solid #ffffff; outline-offset: 6px; box-shadow: 0 0 0 1.5px #10324F, 0 0 0 9px #16314D; }
.tc-map-token {
  position: absolute; z-index: 5;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1.5px #10324F, 2px 3px 0 1.5px #10324F;
  pointer-events: none;
  transition: left 0.5s cubic-bezier(.45, 1.5, .55, 1), top 0.5s cubic-bezier(.45, 1.5, .55, 1);
  animation: tcHop 1.6s ease-in-out infinite;
}
@keyframes tcHop { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.tc-showcase-grid.is-map .tc-card[hidden] { display: none; }
@media (max-width: 640px) {
  .tc-map { padding: 52px 10px 46px; border-radius: 22px; }
  .tc-map-nodes { --cols: 3; row-gap: 70px; }
  .tc-node { width: 70px; height: 70px; border-width: 3px; }
  .tc-node-num { min-width: 24px; height: 24px; font-size: 0.75rem; left: -8px; }
  .tc-node-star { width: 26px; height: 26px; right: -8px; }
  .tc-node-star img { width: 14px; }
  .tc-node-name { width: 100px; font-size: 0.6875rem; }
  .tc-map-token { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-map-token { transition: none; animation: none; }
  .tc-node, .tc-node:hover, .tc-node[aria-selected="true"] { transform: none; }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-map { background: radial-gradient(circle, rgba(255,255,255,.08) 1.5px, transparent 2.5px) 0 0 / 30px 30px, #132A42; border-color: #26425F; } }
:root[data-theme="dark"] .tc-map { background: radial-gradient(circle, rgba(255,255,255,.08) 1.5px, transparent 2.5px) 0 0 / 30px 30px, #132A42; border-color: #26425F; }

.tc-map { padding-bottom: 80px; } .tc-map-path path { stroke-width: 6; opacity: 1; }
@media (max-width: 640px) { .tc-map { padding-bottom: 74px; } }

.tc-node-name { width: auto; max-width: 140px; white-space: nowrap; background: #10324F; padding: 3px 9px; border-radius: 999px; text-shadow: none; }
@media (max-width: 640px) { .tc-node-name { max-width: 108px; white-space: normal; padding: 2px 7px; } }

.tc-node-name { width: max-content; }

/* Floor is Goo: let the level tag sit over the corner instead of being clipped */
.tc-card-image.goo { overflow: visible; }

/* Platinum magic: shimmering silver ring, twinkling sparkles, big obvious badge */
@keyframes tcSpin { to { transform: rotate(360deg); } }
@keyframes tcTwinkle { 0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
@keyframes tcSheen { 0% { background-position: 160% 0; } 55%, 100% { background-position: -60% 0; } }

.tc-spark { position: absolute; width: 16px; height: 16px; z-index: 6; pointer-events: none; animation: tcTwinkle 2.2s ease-in-out infinite; }
.tc-spark svg { width: 100%; height: 100%; fill: #ffffff; filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 6px #B9D4EE); }

/* map stops */
.tc-node.is-award { border-color: #E6EDF4; }
.tc-node-aura {
  position: absolute; inset: -11px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, #ffffff, #B8C6D3, #F4F8FB, #8FA3B6, #ffffff, #CBD7E2, #ffffff);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  animation: tcSpin 4s linear infinite;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.55);
}
.tc-node.is-award .tc-node-star { width: 42px; height: 42px; right: -16px; top: -16px; box-shadow: 0 0 0 1.5px #10324F, 0 0 12px rgba(255, 255, 255, 0.8); }
.tc-node.is-award .tc-node-star img { width: 24px; }
.tc-node .tc-spark.s1 { top: -14px; left: -6px; animation-delay: 0s; }
.tc-node .tc-spark.s2 { bottom: 6px; right: -16px; width: 12px; height: 12px; animation-delay: 0.7s; }
.tc-node .tc-spark.s3 { top: 30%; left: -18px; width: 11px; height: 11px; animation-delay: 1.4s; }

/* demo cards */
.tc-card-image .tc-award-seal {
  position: absolute; top: -22px; right: -14px; z-index: 4;
  width: 76px; height: 76px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #E3EAF1 60%, #B9C7D4);
  border: 2px solid #10324F;
  box-shadow: 3px 4px 0 #10324F, 0 0 18px rgba(255, 255, 255, 0.85);
  display: grid; place-items: center;
}
.tc-award-seal img { width: 40px; height: auto; transform: rotate(-6deg); }
.tc-award-seal .tc-spark.s1 { top: -12px; left: -8px; }
.tc-award-seal .tc-spark.s2 { bottom: -6px; left: -14px; width: 12px; height: 12px; animation-delay: 0.8s; }
.tc-award-seal .tc-spark.s3 { top: 6px; right: -14px; width: 13px; height: 13px; animation-delay: 1.5s; }
.tc-award-seal .tc-spark svg { fill: #ffffff; filter: drop-shadow(0 0 2px #10324F) drop-shadow(0 0 5px #B9D4EE); }
.tc-card[data-award="true"] .tc-card-image::after {
  content: ""; position: absolute; inset: 1.6%; border-radius: 12px; pointer-events: none; z-index: 2;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 48%, rgba(255, 255, 255, 0.15) 55%, transparent 65%) no-repeat;
  background-size: 250% 100%;
  animation: tcSheen 3.5s ease-in-out infinite;
}
.tc-card[data-award="true"] { box-shadow: 3px 4px 0 var(--card-edge), 0 0 0 4px rgba(255, 255, 255, 0.65), 0 0 26px rgba(255, 255, 255, 0.45); }
.tc-award-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.75rem; font-weight: 700; color: #16314D;
  padding: 3px 10px 3px 6px; border-radius: 999px;
  background: linear-gradient(135deg, #F6F9FC, #CBD7E2 50%, #F6F9FC);
  border: 1.5px solid #10324F;
  margin-right: 4px;
}
.tc-award-chip img { width: 14px; height: auto; }
@media (max-width: 640px) {
  .tc-card-image .tc-award-seal { width: 62px; height: 62px; top: -18px; right: -8px; }
  .tc-award-seal img { width: 32px; }
  .tc-node-aura { inset: -9px; }
  .tc-node.is-award .tc-node-star { width: 34px; height: 34px; right: -12px; top: -12px; }
  .tc-node.is-award .tc-node-star img { width: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-node-aura, .tc-spark, .tc-card[data-award="true"] .tc-card-image::after { animation: none; }
  .tc-spark { opacity: 1; transform: none; }
}

.tc-map-nodes { z-index: 0; }

/* New Platinum medal (assets/img/platinum-medal.svg), lighter edges */
.tc-node-medal {
  position: absolute; right: -18px; bottom: -22px; z-index: 4;
  width: 40px; height: auto;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
  transform: rotate(8deg);
}
.tc-card-image .tc-award-seal {
  width: 74px; height: auto;
  top: -24px; right: -12px;
  background: none; border: 0; border-radius: 0; box-shadow: none;
  display: block;
}
.tc-award-seal img { width: 100%; height: auto; transform: rotate(6deg); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.28)); }
.tc-award-seal .tc-spark svg { filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 2px #10324F); }
.tc-award-seal .tc-spark.s1 { top: -8px; left: -10px; }
.tc-award-seal .tc-spark.s2 { bottom: 26px; left: -16px; }
.tc-award-seal .tc-spark.s3 { top: 10px; right: -14px; }
.tc-card[data-award="true"] { box-shadow: 3px 4px 0 var(--card-edge), 0 0 24px rgba(255, 255, 255, 0.35); }
.tc-award-chip img { width: 13px; }
.tc-person-badge img { width: 14px; }
@media (max-width: 640px) {
  .tc-node-medal { width: 32px; right: -14px; bottom: -18px; }
  .tc-card-image .tc-award-seal { width: 60px; height: auto; top: -18px; right: -6px; }
}

/* Tutorials: Training mode cartridge shelf */
.tc-shelf {
  position: relative;
  max-width: 860px;
  margin: 0 auto 36px;
  padding: 46px 26px 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.13) 1.5px, transparent 2.5px) 0 0 / 30px 30px,
    linear-gradient(160deg, #2C8DCD, #1D6DA6);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1.5px #10324F, 3px 4px 0 1.5px #10324F;
}
.tc-shelf[hidden] { display: none; }
.tc-shelf-carts {
  position: relative; z-index: 1;
  display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(8px, 2.4vw, 22px);
  padding: 0 6px;
}
.tc-shelf-board {
  height: 18px; margin: -2px -8px 0;
  border-radius: 6px;
  background: linear-gradient(#16314D, #10324F);
  border-top: 3px solid #2A4E74;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
}
.tc-cart {
  --cart: #1A64A8;
  position: relative;
  width: clamp(58px, 15vw, 118px);
  aspect-ratio: 5 / 6;
  padding: 0;
  border: 1.5px solid #0E1A26;
  border-radius: 12px 12px 6px 6px;
  background: var(--cart);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.18), 2px 3px 0 #0E1A26;
  cursor: pointer;
  font: inherit;
  transition: transform 0.25s cubic-bezier(.45, 1.5, .55, 1), box-shadow 0.2s ease;
}
.tc-cart.c-blue { --cart: #1A64A8; }
.tc-cart.c-pink { --cart: #C01F62; }
.tc-cart.c-orange { --cart: #B4520F; }
.tc-cart.c-navy { --cart: #16314D; }
.tc-cart.c-teal { --cart: #157A74; }
.tc-cart-ridge {
  position: absolute; top: 6%; left: 18%; right: 18%; height: 5%;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}
.tc-cart-label {
  position: absolute; top: 16%; left: 9%; right: 9%; height: 46%;
  border-radius: 6px;
  background: #ffffff;
  border: 2px solid #ffffff;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.tc-cart-label img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-cart-num {
  position: absolute; left: 50%; top: 66%;
  transform: translateX(-50%);
  min-width: 26px; height: 22px; padding: 0 6px;
  border-radius: 99px;
  background: #ffffff; color: #16314D;
  font: 700 0.8125rem/22px 'Maven Pro', Arial, sans-serif;
}
.tc-cart-grip {
  position: absolute; left: 22%; right: 22%; bottom: 7%; height: 10%;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0 2px, transparent 2px 6px);
  border-radius: 3px;
}
.tc-cart-name {
  position: absolute; top: calc(100% + 30px); left: 50%;
  transform: translateX(-50%);
  width: max-content; max-width: 130px;
  color: #ffffff; text-align: center;
  font: 700 0.8125rem/1.2 'Maven Pro', Arial, sans-serif;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.tc-cart:hover { transform: translateY(-8px); }
.tc-cart[aria-selected="true"] {
  transform: translateY(-26px) rotate(-5deg);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.18), 0 0 0 4px #FF8DBC, 3px 5px 0 4px #0E1A26;
}
.tc-cart[aria-selected="true"] .tc-cart-name { opacity: 1; }
.tc-cart:focus-visible { outline: 3px solid #ffffff; outline-offset: 4px; }
.tc-shelf { padding-bottom: 60px; }

/* the chosen tutorial's card, wider and side by side on desktop */
.tc-bss-grid.is-shelf { display: block; max-width: 860px; }
.tc-bss-grid.is-shelf .tc-bss-card { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 26px; padding: 24px; align-items: start; }
.tc-bss-grid.is-shelf .tc-bss-card[hidden] { display: none; }
.tc-bss-grid.is-shelf .tc-bss-card h2 { grid-column: 2; grid-row: 1; text-align: left; margin-bottom: 10px; }
.tc-bss-grid.is-shelf .tc-bss-image { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
.tc-bss-grid.is-shelf .tc-bss-card p { grid-column: 2; }
.tc-bss-grid.is-shelf .tc-btn-group { grid-column: 2; flex-direction: row; }
@media (max-width: 640px) {
  .tc-shelf { padding: 40px 10px 52px; border-radius: 22px; }
  .tc-cart-num { min-width: 20px; height: 18px; font-size: 0.6875rem; line-height: 18px; }
  .tc-cart[aria-selected="true"] { transform: translateY(-18px) rotate(-5deg); }
  .tc-cart-name { top: calc(100% + 22px); font-size: 0.75rem; }
  .tc-bss-grid.is-shelf .tc-bss-card { display: block; padding: 20px; }
  .tc-bss-grid.is-shelf .tc-bss-image { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-cart, .tc-cart:hover, .tc-cart[aria-selected="true"] { transform: none; transition: none; }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-shelf { background: radial-gradient(circle, rgba(255,255,255,.08) 1.5px, transparent 2.5px) 0 0 / 30px 30px, #132A42; border-color: #26425F; } }
:root[data-theme="dark"] .tc-shelf { background: radial-gradient(circle, rgba(255,255,255,.08) 1.5px, transparent 2.5px) 0 0 / 30px 30px, #132A42; border-color: #26425F; }

.tc-shelf { padding-bottom: 24px; }
.tc-shelf-now {
  display: table; margin: 16px auto 0;
  background: #10324F; color: #ffffff;
  font: 700 0.875rem 'Maven Pro', Arial, sans-serif;
  padding: 5px 14px; border-radius: 999px;
}
.tc-shelf-now span { color: #FF8DBC; }
.tc-bss-grid.is-shelf .tc-bss-card { align-content: start; }
.tc-bss-grid.is-shelf .tc-bss-card p { margin-top: 0; }
@media (max-width: 640px) {
  .tc-cart-grip { display: none; }
  .tc-cart-num { top: auto; bottom: 8%; }
  .tc-shelf { padding-bottom: 20px; }
}



/* Pop-up Shop: Item shop loot chests (illustrated) */
.tc-loot {
  max-width: 760px;
  margin: 0 auto 40px;
  padding: 92px 20px 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.13) 1.5px, transparent 2.5px) 0 0 / 30px 30px,
    linear-gradient(160deg, #2C8DCD, #1D6DA6);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1.5px #10324F, 3px 4px 0 1.5px #10324F;
}
.tc-loot[hidden] { display: none; }
.tc-loot-row { display: flex; justify-content: center; align-items: flex-end; gap: clamp(16px, 8vw, 90px); }
.tc-chest {
  position: relative;
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  display: flex; flex-direction: column; align-items: center;
  width: clamp(140px, 34vw, 220px);
}
.tc-chest-stage { position: relative; display: block; width: 100%; }
.tc-chest-svg { position: relative; z-index: 2; display: block; width: 100%; height: auto; overflow: visible; }
.tc-cs-lid { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.55s cubic-bezier(.35, 1.55, .5, 1); }
.tc-cs-inside { opacity: 0; transition: opacity 0.25s ease; }
.tc-chest:hover .tc-cs-lid { transform: translateY(-5px) rotate(-2deg); }
.tc-chest[aria-selected="true"] .tc-cs-lid { transform: translate(-4%, -46%) rotate(-12deg) scaleY(0.82); }
.tc-chest[aria-selected="true"] .tc-cs-inside { opacity: 1; }

.tc-chest-rays {
  position: absolute; left: 50%; top: 22%; z-index: 0;
  width: 170%; aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0.4);
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 238, 160, 0.55) 0 9deg, transparent 9deg 24deg);
  -webkit-mask: radial-gradient(closest-side, #000 20%, transparent 100%);
          mask: radial-gradient(closest-side, #000 20%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.6s ease;
  pointer-events: none;
}
.tc-chest[aria-selected="true"] .tc-chest-rays { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: tcRays 18s linear infinite; }
@keyframes tcRays { to { rotate: 360deg; } }

.tc-chest-loot {
  position: absolute; left: 50%; top: 30%; z-index: 1;
  width: 74%;
  transform: translate(-50%, 20%) scale(0.3);
  opacity: 0;
  transition: transform 0.6s 0.15s cubic-bezier(.3, 1.6, .5, 1), opacity 0.3s 0.15s ease;
}
.tc-chest-loot img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 10px; border: 4px solid #ffffff;
  box-shadow: 0 0 0 1.5px #10324F, 0 10px 18px rgba(0, 0, 0, 0.3);
}
.tc-chest[aria-selected="true"] .tc-chest-loot { transform: translate(-50%, -112%) rotate(-5deg) scale(1); opacity: 1; z-index: 3; }

/* sweets that burst out when a chest opens */
.tc-sweet { position: absolute; left: 50%; top: 42%; z-index: 3; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #10324F; opacity: 0; pointer-events: none; }
.tc-sweet.w1 { background: #FF8DBC; --x: -78px; --y: -90px; }
.tc-sweet.w2 { background: #FFD23F; --x: 70px; --y: -100px; width: 11px; height: 11px; }
.tc-sweet.w3 { background: #8BD3F7; --x: -54px; --y: -140px; width: 10px; height: 10px; }
.tc-sweet.w4 { background: #9BE39B; --x: 86px; --y: -48px; }
.tc-sweet.w5 { background: #F2A65A; --x: -92px; --y: -36px; width: 10px; height: 10px; }
.tc-sweet.w6 { background: #C9A7FF; --x: 40px; --y: -150px; width: 12px; height: 12px; }
.tc-chest[aria-selected="true"] .tc-sweet { animation: tcBurst 1.1s 0.15s cubic-bezier(.2, .8, .3, 1) forwards; }
@keyframes tcBurst {
  0% { opacity: 0; transform: translate(-50%, 0) scale(0.4); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--x)), var(--y)) scale(1) rotate(200deg); }
}

.tc-chest .tc-spark { opacity: 0; animation: none; z-index: 4; }
.tc-chest .tc-spark.s1 { top: -34%; left: 6%; }
.tc-chest .tc-spark.s2 { top: -18%; right: 2%; width: 13px; height: 13px; }
.tc-chest .tc-spark.s3 { top: -46%; right: 22%; width: 11px; height: 11px; }
.tc-chest[aria-selected="true"] .tc-spark { animation: tcTwinkle 2.2s 0.5s ease-in-out infinite; }
.tc-chest[aria-selected="true"] .tc-spark.s2 { animation-delay: 1.1s; }
.tc-chest[aria-selected="true"] .tc-spark.s3 { animation-delay: 1.7s; }

.tc-chest-name {
  margin-top: 12px;
  background: #10324F; color: #ffffff;
  font: 700 0.875rem/1.25 'Maven Pro', Arial, sans-serif;
  padding: 5px 12px; border-radius: 999px; text-align: center;
  transition: background 0.2s ease;
}
.tc-chest[aria-selected="true"] .tc-chest-name { background: #C01F62; }
.tc-chest:focus-visible { outline: 3px solid #ffffff; outline-offset: 6px; border-radius: 16px; }
.tc-shop-grid.is-loot .tc-product-card[hidden] { display: none; }
@media (max-width: 520px) {
  .tc-loot { padding: 84px 8px 20px; border-radius: 22px; }
  .tc-chest-name { font-size: 0.75rem; padding: 4px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-cs-lid, .tc-chest-loot, .tc-chest-rays { transition: none; }
  .tc-chest[aria-selected="true"] .tc-chest-rays { animation: none; }
  .tc-chest[aria-selected="true"] .tc-sweet { animation: none; }
  .tc-chest[aria-selected="true"] .tc-spark { animation: none; opacity: 1; }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-loot { background: radial-gradient(circle, rgba(255,255,255,.08) 1.5px, transparent 2.5px) 0 0 / 30px 30px, #132A42; border-color: #26425F; } }
:root[data-theme="dark"] .tc-loot { background: radial-gradient(circle, rgba(255,255,255,.08) 1.5px, transparent 2.5px) 0 0 / 30px 30px, #132A42; border-color: #26425F; }

.tc-chest-rays { left: 50%; top: 24%; margin-left: -85%; margin-top: -85%; transform: scale(0.4); }
.tc-chest[aria-selected="true"] .tc-chest-rays { transform: scale(1); }
.tc-chest[aria-selected="true"] .tc-cs-lid { transform: translate(-6%, -40%) rotate(-16deg); }

/* Chest v3: back layer (standing lid + opening), product, front layer (body + closed lid) */
.tc-chest-back, .tc-chest-front { display: block; width: 100%; height: auto; overflow: visible; }
.tc-chest-back { position: absolute; inset: 0; z-index: 1; }
.tc-chest-front { position: relative; z-index: 3; }
.tc-chest-svg { display: none; }
.tc-cs-open { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 0.35s 0.18s cubic-bezier(.3, 1.6, .5, 1); }
.tc-cs-mouth { opacity: 0; transition: opacity 0.2s 0.12s ease; }
.tc-chest-front .tc-cs-lid { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.22s ease-in, opacity 0.1s 0.15s; }
.tc-chest:hover .tc-chest-front .tc-cs-lid { transform: translateY(-5px) rotate(-2deg); }
.tc-chest[aria-selected="true"] .tc-chest-front .tc-cs-lid { transform: scaleY(0.05) translateY(-60%); opacity: 0; }
.tc-chest[aria-selected="true"] .tc-cs-open { transform: scaleY(1); }
.tc-chest[aria-selected="true"] .tc-cs-mouth { opacity: 1; }
.tc-chest-loot { z-index: 2; top: 32%; transform: translate(-50%, 30%) scale(0.55); transition: transform 0.6s 0.3s cubic-bezier(.3, 1.5, .5, 1), opacity 0.2s 0.3s ease; }
.tc-chest[aria-selected="true"] .tc-chest-loot { z-index: 2; transform: translate(-50%, -88%) rotate(-4deg) scale(1); }
@media (prefers-reduced-motion: reduce) { .tc-cs-open, .tc-cs-mouth, .tc-chest-front .tc-cs-lid { transition: none; } }

.tc-chest-loot { width: 54%; left: 53%; top: 38%; }
.tc-chest[aria-selected="true"] .tc-chest-loot { transform: translate(-50%, -70%) rotate(-4deg) scale(1); }
.tc-loot { padding-top: 70px; }

.tc-chest[aria-selected="true"] .tc-chest-loot { transform: translate(-50%, -96%) rotate(-4deg) scale(1); }
.tc-loot { padding-top: 84px; }

.tc-chest-loot img { border-width: 1.5px; border-radius: 8px; box-shadow: 0 0 0 1px #10324F, 0 8px 14px rgba(0, 0, 0, 0.28); }

/* Home: title screen */
@keyframes tcBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes tcBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.55; } }
@keyframes tcMenuIn { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.tc-hero .tc-hero-robot { animation: tcBob 3.2s ease-in-out infinite; }
.tc-start {
  margin: 22px auto 0;
  display: inline-flex; align-items: center; gap: 8px;
  background: #ffffff; color: #C01F62;
  font: 700 1rem 'Maven Pro', Arial, sans-serif; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 10px 22px; border-radius: 999px;
  border: 1.5px solid #10324F; box-shadow: 2px 3px 0 #10324F;
  cursor: pointer;
  animation: tcBlink 1.2s infinite;
}
.tc-start::before { content: "\25B6"; font-size: 0.75em; }
.tc-start:hover { animation: none; transform: translateY(-2px); }
.tc-start[hidden] { display: none; }
.tc-mainmenu {
  max-width: 440px;
  margin: 22px auto 0;
  background: #16314D;
  border: 1.5px solid #0E1A26;
  border-radius: 18px;
  box-shadow: 3px 4px 0 #0E1A26;
  padding: 10px;
  text-align: left;
}
.tc-mainmenu[hidden] { display: none; }
.tc-mainmenu.is-in { animation: tcMenuIn 0.35s ease-out; }
.tc-mainmenu ul { list-style: none; margin: 0; padding: 0; }
.tc-mainmenu a {
  display: flex; align-items: center; gap: 10px;
  color: #D7E3EE; text-decoration: none;
  font: 700 1.0625rem 'Maven Pro', Arial, sans-serif;
  padding: 10px 12px; border-radius: 10px;
}
.tc-mainmenu small { margin-left: auto; font-size: 0.8125rem; font-weight: 600; color: #8FB3D6; }
.tc-mm-cur { width: 14px; color: #FF8DBC; font-size: 0.8em; visibility: hidden; }
.tc-mainmenu a:hover, .tc-mainmenu a:focus-visible { background: rgba(255, 255, 255, 0.1); color: #ffffff; outline: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.tc-mainmenu a:hover .tc-mm-cur, .tc-mainmenu a:focus-visible .tc-mm-cur { visibility: visible; }
.tc-mainmenu a:hover small, .tc-mainmenu a:focus-visible small { color: #D7E3EE; }

/* Home: flip-over achievement stickers */
.tc-stickers li { list-style: none; }
.tc-flip { background: none; border: 0; padding: 0; cursor: pointer; perspective: 700px; font: inherit; }
.tc-stickers li:nth-child(1) .tc-flip { transform: rotate(-2deg); }
.tc-stickers li:nth-child(2) .tc-flip { transform: rotate(1.5deg); }
.tc-stickers li:nth-child(3) .tc-flip { transform: rotate(-1deg); }
.tc-flip-in { display: grid; transform-style: preserve-3d; transition: transform 0.5s cubic-bezier(.4, 1.4, .5, 1); }
.tc-flip-f, .tc-flip-b {
  grid-area: 1 / 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border: 1.5px solid #0E1A26; box-shadow: 3px 3px 0 #0E1A26; border-radius: 12px;
  padding: 8px 14px;
  font-weight: 700; font-size: 1rem; white-space: nowrap;
}
.tc-flip-f { background: #ffffff; color: #16314D; }
.tc-flip-b { background: #16314D; color: #ffffff; transform: rotateY(180deg); }
.tc-flip-f svg { width: 20px; height: 20px; flex-shrink: 0; }
.tc-flip.s-pink .tc-flip-f svg { color: #C01F62; }
.tc-flip.s-blue .tc-flip-f svg { color: #1A64A8; }
.tc-flip.s-orange .tc-flip-f svg { color: #B4520F; }
.tc-flip.s-pink .tc-flip-b { background: #C01F62; }
.tc-flip.s-blue .tc-flip-b { background: #1A64A8; }
.tc-flip.s-orange .tc-flip-b { background: #B4520F; }
.tc-flip[aria-pressed="true"] .tc-flip-in { transform: rotateY(180deg); }
.tc-flip:hover .tc-flip-in { translate: 0 -2px; }
.tc-flip:focus-visible { outline: 3px solid #ffffff; outline-offset: 4px; border-radius: 12px; box-shadow: 0 0 0 6px #16314D; }
@media (max-width: 480px) {
  .tc-flip-f, .tc-flip-b { font-size: 0.75rem; padding: 6px 8px; gap: 4px; box-shadow: 2px 2px 0 #0E1A26; }
  .tc-flip-f svg { width: 14px; height: 14px; }
  .tc-mainmenu a { font-size: 1rem; padding: 9px 10px; }
}

/* Home: client work padlock */
.tc-unlock { display: grid !important; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; }
.tc-unlock-copy h2 { margin-top: 2px; }
.tc-padlock { background: none; border: 0; padding: 4px; cursor: pointer; width: 92px; }
.tc-padlock[hidden] { display: none; }
.tc-padlock-svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(2px 3px 0 rgba(16, 50, 79, 0.9)); }
.tc-pad-shackle { transform-box: fill-box; transform-origin: 100% 100%; transition: transform 0.45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes tcJiggle { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-8deg); } 92% { transform: rotate(7deg); } 95% { transform: rotate(-4deg); } }
.tc-unlock:not(.is-open) .tc-padlock { animation: tcJiggle 3.5s ease-in-out infinite; transform-origin: 50% 20%; }
.tc-padlock:hover .tc-pad-shackle { transform: translateY(-3px); }
.tc-unlock.is-open .tc-pad-shackle { transform: translateY(-16px) rotate(30deg); }
.has-chain.is-open .tc-pad-shackle { transform: translateY(-10px) rotate(14deg); }
.tc-unlock-hint { font-weight: 700; color: #1A64A8 !important; margin: 0 0 4px !important; }
.tc-unlock-action[hidden] { display: none; }
.tc-unlock.is-open .tc-unlock-action { animation: tcMenuIn 0.35s ease-out; }
.tc-unlock-action .tc-btn { background: #1A64A8; border-color: #1A64A8; color: #ffffff; }
.tc-unlock-action .tc-btn:hover { background: #C01F62; border-color: #C01F62; }
.tc-unlock-action .tc-btn svg { width: 18px; height: 18px; }
.tc-padlock:focus-visible { outline: 3px solid #16314D; outline-offset: 3px; border-radius: 14px; }
@media (max-width: 640px) {
  .tc-unlock { grid-template-columns: 1fr; justify-items: start; gap: 8px; }
  .tc-padlock { width: 74px; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-hero .tc-hero-robot, .tc-start, .tc-unlock:not(.is-open) .tc-padlock { animation: none; }
  .tc-flip-in, .tc-pad-shackle { transition: none; }
  .tc-mainmenu.is-in, .tc-unlock.is-open .tc-unlock-action { animation: none; }
}

@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-unlock-hint { color: #8FC1F0 !important; } }
:root[data-theme="dark"] .tc-unlock-hint { color: #8FC1F0 !important; }

/* Home: title screen board (option A, arcade) */
.tc-ts {
  position: relative;
  max-width: 620px;
  margin: 28px auto 0;
  padding: 26px 22px 24px;
  border-radius: 22px;
  border: 3px solid #ffffff;
  background:
    radial-gradient(rgba(255, 255, 255, 0.14) 1.2px, transparent 1.6px) 0 0 / 16px 16px,
    linear-gradient(160deg, #2C8BCB, #1A64A8 70%);
  box-shadow: 0 0 0 1.5px #10324F, 3px 4px 0 1.5px #10324F;
  text-align: center;
}
.tc-ts .tc-spark.k1 { top: 14px; left: 18px; }
.tc-ts .tc-spark.k2 { top: 22px; right: 26px; animation-delay: .6s; }
.tc-ts .tc-spark.k3 { bottom: 18px; left: 40px; animation-delay: 1.2s; }
.tc-ts .tc-start {
  all: unset; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin: 6px auto 4px; padding: 6px 18px; cursor: pointer; border-radius: 16px;
  animation: none;
}
.tc-ts .tc-start::before { content: none; }
.tc-ts .tc-start[hidden] { display: none; }
.tc-start-knob {
  width: 78px; height: 78px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FF9CC4 0 14%, #E2367D 38%, #A8124F 100%);
  border: 1.5px solid #10324F;
  box-shadow: 0 6px 0 #6E0C34, 0 6px 0 1.5px #10324F, inset 0 -4px 0 rgba(0,0,0,.18);
  transition: transform .12s, box-shadow .12s;
}
.tc-start-txt {
  font: 800 1.375rem 'Maven Pro', Arial, sans-serif; letter-spacing: .22em; text-transform: uppercase;
  color: #ffffff; text-shadow: 2px 2px 0 #10324F;
  animation: tcBlink 1.2s infinite;
}
.tc-start-sub { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #CFE3F5; }
.tc-ts .tc-start:hover .tc-start-knob { transform: translateY(2px); box-shadow: 0 4px 0 #6E0C34, 0 4px 0 1.5px #10324F, inset 0 -4px 0 rgba(0,0,0,.18); }
.tc-ts .tc-start:active .tc-start-knob { transform: translateY(6px); box-shadow: 0 0 0 #6E0C34, 0 0 0 1.5px #10324F; }
.tc-ts .tc-start:focus-visible { outline: 3px solid #ffffff; outline-offset: 4px; }
.tc-ts .tc-mainmenu { max-width: none; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; text-align: center; }
.tc-mm-title {
  display: inline-block; margin: 0 0 16px !important;
  background: #ffffff; color: #1A64A8 !important;
  font-size: .8125rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.tc-ts .tc-mainmenu ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tc-ts .tc-mainmenu a {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  height: 100%; box-sizing: border-box;
  padding: 14px 8px 12px; border-radius: 14px;
  background: #ffffff; color: #16314D;
  border: 1.5px solid #10324F; box-shadow: 2px 3px 0 #10324F;
  transition: transform .15s, box-shadow .15s;
}
.tc-ts .tc-mainmenu.is-in li { animation: tcMenuIn .35s ease-out backwards; }
.tc-ts .tc-mainmenu.is-in li:nth-child(2) { animation-delay: .05s; }
.tc-ts .tc-mainmenu.is-in li:nth-child(3) { animation-delay: .1s; }
.tc-ts .tc-mainmenu.is-in li:nth-child(4) { animation-delay: .15s; }
.tc-ts .tc-mainmenu.is-in li:nth-child(5) { animation-delay: .2s; }
.tc-ts .tc-mainmenu.is-in li:nth-child(6) { animation-delay: .25s; }
.tc-ts .tc-mainmenu.is-in { animation: none; }
.tc-mm-t { display: flex; flex-direction: column; gap: 2px; }
.tc-mm-t b { font-size: 1rem; line-height: 1.2; }
.tc-ts .tc-mainmenu small { margin: 0; font-size: .8125rem; font-weight: 600; color: #3E556B; }
.tc-mm-ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #ffffff; border: 1.5px solid #10324F; }
.tc-mm-ic svg { width: 22px; height: 22px; }
.tc-mm-ic.c-blue { background: #1A64A8; } .tc-mm-ic.c-pink { background: #C01F62; } .tc-mm-ic.c-orange { background: #B4520F; }
.tc-mm-ic.c-teal { background: #0F7A72; } .tc-mm-ic.c-navy { background: #16314D; }
.tc-ts .tc-mainmenu a:hover, .tc-ts .tc-mainmenu a:focus-visible {
  background: #ffffff; color: #16314D; outline: none;
  transform: translateY(-3px) rotate(-1.5deg);
  border-color: #C01F62; box-shadow: 0 0 0 2px #C01F62, 3px 5px 0 2px #10324F;
}
.tc-ts .tc-mainmenu a:hover small, .tc-ts .tc-mainmenu a:focus-visible small { color: #C01F62; }
@media (max-width: 560px) {
  .tc-ts { padding: 22px 14px 18px; }
  .tc-ts .tc-mainmenu ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tc-mm-t b { font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-start-txt, .tc-ts .tc-mainmenu.is-in li { animation: none; }
}

/* Home: achievement badges (restyled 11 Nov) */
.tc-stats-wrap .tc-stickers {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  max-width: 620px; margin: 0 auto; padding: 0;
}
.tc-stickers li { display: flex; }
.tc-stickers .tc-flip { width: 100%; transform: none !important; }
.tc-stickers .tc-flip-in { width: 100%; height: 100%; }
.tc-stickers .tc-flip-f, .tc-stickers .tc-flip-b {
  flex-direction: column; gap: 8px; white-space: normal; text-align: center;
  padding: 16px 8px 14px; border-radius: 16px;
  box-shadow: 2px 3px 0 #0E1A26; line-height: 1.2;
}
.tc-stickers .tc-flip-f { background: #ffffff; border-top: 6px solid var(--ach, #1A64A8); }
.tc-stickers .tc-flip.s-pink { --ach: #C01F62; }
.tc-stickers .tc-flip.s-blue { --ach: #1A64A8; }
.tc-stickers .tc-flip.s-orange { --ach: #B4520F; }
.tc-ach-ic {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ach, #1A64A8); color: #ffffff;
  border: 1.5px solid #0E1A26; box-shadow: 0 0 0 3px #ffffff, 0 0 0 4.5px var(--ach, #1A64A8);
}
.tc-stickers .tc-ach-ic svg { width: 24px; height: 24px; color: #ffffff !important; }
.tc-ach-t { display: flex; flex-direction: column; gap: 2px; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #3E556B; }
.tc-ach-t b { font-size: 1.125rem; letter-spacing: 0; text-transform: none; color: #16314D; }
.tc-stickers .tc-flip-b { background: var(--ach, #1A64A8); }
.tc-stickers .tc-flip-b .tc-ach-t, .tc-stickers .tc-flip-b .tc-ach-t b { color: #ffffff; }
.tc-stickers .tc-flip:hover .tc-flip-in { translate: 0 -3px; }
.tc-stickers .tc-flip:hover .tc-flip-f { box-shadow: 0 0 0 2px var(--ach), 2px 3px 0 2px #0E1A26; }
@media (max-width: 480px) {
  .tc-stats-wrap .tc-stickers { gap: 8px; }
  .tc-stickers .tc-flip-f, .tc-stickers .tc-flip-b { padding: 12px 4px 10px; gap: 6px; font-size: inherit; box-shadow: 2px 2px 0 #0E1A26; }
  .tc-ach-ic { width: 38px; height: 38px; }
  .tc-stickers .tc-ach-ic svg { width: 20px; height: 20px; }
  .tc-ach-t { font-size: .625rem; letter-spacing: .06em; }
  .tc-ach-t b { font-size: .9375rem; }
}

/* Home: no header menu (the Press start menu is the home page navigation) */
.tc-home .tc-nav, .tc-home .tc-menu-btn { display: none !important; }

/* Home: chunky Press start button (11 Nov, replaces the round arcade knob) */
.tc-ts .tc-start { gap: 14px; margin: 14px auto 8px; }
.tc-start-pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 30px 10px 10px; border-radius: 999px;
  background: linear-gradient(180deg, #E2367D, #C01F62);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1.5px #10324F, 0 7px 0 1.5px #10324F, inset 0 3px 0 rgba(255,255,255,.28);
  transition: transform .12s, box-shadow .12s;
}
.tc-start-play {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #ffffff; color: #C01F62; border: 1.5px solid #10324F;
}
.tc-start-play svg { width: 24px; height: 24px; margin-left: 3px; }
.tc-ts .tc-start-txt {
  font: 800 1.375rem 'Maven Pro', Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase;
  color: #ffffff; text-shadow: 1.5px 1.5px 0 #7A0E3B; white-space: nowrap; animation: none;
}
.tc-start-sub { animation: tcBlink 1.2s infinite; }
@keyframes tcPulse { 0%, 100% { box-shadow: 0 0 0 1.5px #10324F, 0 7px 0 1.5px #10324F, inset 0 3px 0 rgba(255,255,255,.28), 0 0 0 0 rgba(255,255,255,.55); } 60% { box-shadow: 0 0 0 1.5px #10324F, 0 7px 0 1.5px #10324F, inset 0 3px 0 rgba(255,255,255,.28), 0 0 0 14px rgba(255,255,255,0); } }
.tc-start-pill { animation: tcPulse 2s ease-out infinite; }
.tc-ts .tc-start:hover .tc-start-pill { transform: translateY(3px); box-shadow: 0 0 0 1.5px #10324F, 0 4px 0 1.5px #10324F, inset 0 3px 0 rgba(255,255,255,.28); animation: none; }
.tc-ts .tc-start:active .tc-start-pill { transform: translateY(7px); box-shadow: 0 0 0 1.5px #10324F, 0 0 0 1.5px #10324F; }
.tc-ts .tc-start:hover .tc-start-play { color: #16314D; }
@media (max-width: 400px) {
  .tc-start-pill { padding-right: 22px; gap: 10px; }
  .tc-start-play { width: 40px; height: 40px; }
  .tc-ts .tc-start-txt { font-size: 1.125rem; letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) { .tc-start-pill, .tc-start-sub { animation: none; } }

/* Contact: Pick & Mix Bot dialogue */
.tc-contact-wrap > .tc-cyp-pill { margin-bottom: 22px; }
.tc-npc { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: end; margin: 8px 0 18px; }
.tc-npc[hidden] { display: none; }
.tc-npc-bot { width: 76px; height: 76px; object-fit: contain; animation: tcBob 3s ease-in-out infinite; filter: drop-shadow(2px 3px 0 rgba(16, 50, 79, .35)); }
@keyframes tcTalk { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-4px); } }
.tc-npc.is-talking .tc-npc-bot { animation: tcTalk .28s ease-in-out infinite; }
@keyframes tcWin { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-16px) rotate(-8deg); } 60% { transform: translateY(0) rotate(6deg); } }
.tc-npc.is-win .tc-npc-bot { animation: tcWin .8s ease-in-out 3; }
.tc-npc-box {
  position: relative; cursor: pointer;
  background: #16314D; border: 3px solid #ffffff; border-radius: 14px;
  box-shadow: 0 0 0 1.5px #10324F, 3px 4px 0 1.5px #10324F;
  padding: 22px 34px 16px 16px; min-height: 92px; box-sizing: border-box;
}
.tc-npc-box::before {
  content: ""; position: absolute; left: -13px; bottom: 18px;
  border: 9px solid transparent; border-right: 11px solid #ffffff; border-left: 0;
}
.tc-npc-box::after {
  content: ""; position: absolute; left: -7px; bottom: 21px;
  border: 6px solid transparent; border-right: 8px solid #16314D; border-left: 0;
}
.tc-npc-name {
  position: absolute; top: -14px; left: 14px;
  background: #C01F62; color: #ffffff; border: 1.5px solid #10324F; border-radius: 999px;
  padding: 3px 12px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.tc-contact-card .tc-npc-say { margin: 0; color: #ffffff !important; font-size: 1.0625rem; font-weight: 600; line-height: 1.45; }
.tc-npc-more { position: absolute; right: 12px; bottom: 10px; color: #FF8DBC; font-size: .75rem; animation: tcBlink 1s infinite; }
.tc-npc.is-talking .tc-npc-more { visibility: hidden; }
.tc-npc-pips { grid-column: 1 / -1; display: flex; justify-content: center; gap: 6px; min-height: 10px; }
.tc-npc-pips span { width: 10px; height: 10px; border-radius: 50%; background: #D7E3EE; border: 1.5px solid #10324F; }
.tc-npc-pips span.done { background: #1A64A8; }
.tc-npc-pips span.on { background: #C01F62; transform: scale(1.25); }
.tc-field[hidden], .tc-access-note[hidden], .tc-npc-choices[hidden], .tc-btn[hidden] { display: none !important; }
.tc-npc-choices { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.tc-npc-opt {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer;
  background: #ffffff; color: #16314D; font: 700 1rem 'Maven Pro', Arial, sans-serif;
  border: 1.5px solid #10324F; border-radius: 12px; padding: 11px 14px;
  box-shadow: 2px 3px 0 #10324F; transition: transform .15s;
}
.tc-npc-opt::before { content: "\25B6"; color: #C01F62; font-size: .75em; opacity: 0; transition: opacity .15s; }
.tc-npc-opt:hover, .tc-npc-opt:focus-visible, .tc-npc-opt[aria-pressed="true"] { transform: translateX(6px); border-color: #C01F62; outline: none; box-shadow: 0 0 0 1.5px #C01F62, 2px 3px 0 1.5px #10324F; }
.tc-npc-opt:hover::before, .tc-npc-opt:focus-visible::before, .tc-npc-opt[aria-pressed="true"]::before { opacity: 1; }
.tc-npc-opt:focus-visible { outline: 3px solid #1A64A8; outline-offset: 3px; }
.tc-npc-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 10px; }
.tc-npc-nav[hidden] { display: none; }
.tc-npc-nav #tcNPCNext { margin-left: auto; }
.tc-npc-nav #tcSubmitBtn, .tc-npc-nav #tcNPCAgain { margin-left: auto; }
.is-npc #tcSubmitBtn[hidden] { display: none; }
.is-npc .tc-npc-nav:has(#tcNPCNext[hidden]) { margin-bottom: 0; }
@media (max-width: 480px) {
  .tc-npc { grid-template-columns: 58px minmax(0, 1fr); gap: 10px; }
  .tc-npc-bot { width: 58px; height: 58px; }
  .tc-contact-card .tc-npc-say { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .tc-npc-bot, .tc-npc.is-talking .tc-npc-bot, .tc-npc.is-win .tc-npc-bot, .tc-npc-more { animation: none; } .tc-npc-opt { transition: none; } }

/* Home main menu, M3: game list + info panel (12 Nov) */
.tc-mm-panel {
  max-width: 420px; margin: 0 auto;
  background: #16314D; border: 1.5px solid #0E1A26; border-radius: 16px;
  box-shadow: 3px 4px 0 #0E1A26; padding: 10px; text-align: left;
}
.tc-ts .tc-mm-panel ul { display: flex; flex-direction: column; gap: 2px; }
.tc-ts .tc-mm-panel a {
  flex-direction: row; align-items: center; gap: 10px; height: auto;
  padding: 9px 12px; border-radius: 10px;
  background: transparent; color: #D7E3EE; border: 0; box-shadow: none;
  font: 700 1.125rem 'Maven Pro', Arial, sans-serif; transform: none;
}
.tc-ts .tc-mm-panel .tc-mm-cur { width: 14px; color: #C01F62; font-size: .75em; visibility: hidden; }
.tc-mm-svg { display: none; }
.has-info .tc-mm-desc { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tc-mm-panel .tc-mm-desc { margin-left: auto; font-size: .8125rem; font-weight: 600; color: #8FB3D6; }
.tc-ts .tc-mm-panel a:hover, .tc-ts .tc-mm-panel a:focus-visible, .tc-ts .tc-mm-panel a.is-sel {
  background: #ffffff; color: #16314D; transform: none; box-shadow: none; outline: none;
}
.tc-ts .tc-mm-panel a:focus-visible { box-shadow: 0 0 0 3px #FF8DBC; }
.tc-ts .tc-mm-panel a:hover .tc-mm-cur, .tc-ts .tc-mm-panel a:focus-visible .tc-mm-cur, .tc-ts .tc-mm-panel a.is-sel .tc-mm-cur { visibility: visible; }
.tc-mm-info {
  display: flex; align-items: center; gap: 12px;
  margin-top: 10px; padding: 12px 14px; border-radius: 12px;
  background: #ffffff; min-height: 66px; box-sizing: border-box;
}
.tc-mm-info[hidden] { display: none; }
.tc-mm-info .tc-mm-svg { display: block; width: 20px; height: 20px; }
.tc-mm-info .tc-mm-ic { width: 40px; height: 40px; flex-shrink: 0; }
.tc-mm-info-t { display: flex; flex-direction: column; gap: 2px; color: #16314D; font-size: .9375rem; font-weight: 600; line-height: 1.35; }
.tc-mm-info-t small { font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #C01F62; }
@keyframes tcInfoPop { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.tc-mm-info.is-pop .tc-mm-info-t, .tc-mm-info.is-pop .tc-mm-ic { animation: tcInfoPop .3s ease-out; }
.tc-ts .tc-mainmenu.is-in li { animation: none; }
.tc-ts .tc-mainmenu.is-in .tc-mm-panel { animation: tcMenuIn .35s ease-out; }
@media (max-width: 480px) { .tc-ts .tc-mm-panel a { font-size: 1.0625rem; padding: 8px 10px; } }
@media (prefers-reduced-motion: reduce) { .tc-mm-info.is-pop .tc-mm-info-t, .tc-mm-info.is-pop .tc-mm-ic, .tc-ts .tc-mainmenu.is-in .tc-mm-panel { animation: none; } }

/* Home: Side quests (extra projects) */
.tc-quests-sec { text-align: center; }
.tc-quests-sec .tc-cyp-pill { margin: 0 auto 12px; }
.tc-sq-intro { color: #ffffff; margin: 0 auto 22px; max-width: 520px; }
.tc-sq { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; text-align: left; }
.tc-sq-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #ffffff; border: 1.5px solid #10324F; border-radius: 20px; box-shadow: 3px 4px 0 #10324F;
}
.tc-sq-card.s-pink { --sq: #C01F62; } .tc-sq-card.s-orange { --sq: #B4520F; }
.tc-sq-art {
  position: relative; height: 210px; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(rgba(255, 255, 255, 0.16) 1.2px, transparent 1.6px) 0 0 / 14px 14px,
    linear-gradient(160deg, #2C8BCB, #1A64A8 70%);
  border-bottom: 1.5px solid #10324F;
}
.tc-sq-art img { max-width: 88%; max-height: 180px; width: auto; height: auto; object-fit: contain; transition: transform .3s; }
.tc-sq-card:hover .tc-sq-art img { transform: scale(1.04) rotate(-1.5deg); }
.tc-sq-tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--sq); color: #ffffff; border: 1.5px solid #10324F; border-radius: 999px;
  padding: 4px 12px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  transform: rotate(-3deg); box-shadow: 2px 2px 0 #10324F;
}
.tc-sq-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.tc-sq-body .tc-btn-group { margin-top: auto; padding-top: 6px; }
.tc-sq-kind { margin: 0 0 4px !important; font-size: .75rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sq) !important; }
.tc-sq-body h3 { margin: 0 0 8px; color: #16314D; font-size: 1.375rem; }
.tc-sq-body > p:not(.tc-sq-kind) { color: #3E556B; margin: 0 0 14px; }
@media (max-width: 720px) { .tc-sq { grid-template-columns: 1fr; } .tc-sq-art { height: 180px; } .tc-sq-art img { max-height: 150px; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tc-sq-card { background: #132A42; }
  :root:not([data-theme="light"]) .tc-sq-body h3 { color: #E8EEF5; }
  :root:not([data-theme="light"]) .tc-sq-body > p:not(.tc-sq-kind) { color: #C3CFDB; }
  :root:not([data-theme="light"]) .tc-sq-kind { color: #FF8DBC !important; }
}
:root[data-theme="dark"] .tc-sq-card { background: #132A42; }
:root[data-theme="dark"] .tc-sq-body h3 { color: #E8EEF5; }
:root[data-theme="dark"] .tc-sq-body > p:not(.tc-sq-kind) { color: #C3CFDB; }
:root[data-theme="dark"] .tc-sq-kind { color: #FF8DBC !important; }
@media (prefers-reduced-motion: reduce) { .tc-sq-art img { transition: none; } }

/* Home: chained client work card */
.tc-unlock.has-chain { display: block !important; position: relative; overflow: visible !important; }
.has-chain .tc-chainbar { width: 100%; }
.tc-chainbar { position: relative; height: 0; }
.has-chain .tc-chainbar { height: 168px; margin: -6px 0 6px; }
.tc-unlock.has-chain { max-width: 660px; margin-left: auto; margin-right: auto; }
.tc-chain { position: absolute; top: 0; overflow: visible; pointer-events: none; filter: drop-shadow(1px 4px 2px rgba(16, 50, 79, .32)); }
.tc-chain-front { filter: none; }
.tc-chain:not(.tc-chain-front) { overflow: hidden; }
.tc-chain g.tc-chain-l, .tc-chain g.tc-chain-r { transition: transform .7s cubic-bezier(.5, 0, .8, .4), opacity .5s .3s; }
.has-chain .tc-padlock { position: absolute; left: 50%; margin-left: -50px; width: 100px; z-index: 2; animation: none; transform-origin: 50% 8%; }
.has-chain .tc-padlock .tc-padlock-svg { filter: drop-shadow(2px 4px 0 rgba(16, 50, 79, .45)); }
@keyframes tcJangleL { 0% { transform: rotate(0); } 20% { transform: rotate(2.4deg); } 45% { transform: rotate(-1.8deg); } 70% { transform: rotate(1deg); } 100% { transform: rotate(0); } }
@keyframes tcJangleR { 0% { transform: rotate(0); } 20% { transform: rotate(-2.4deg); } 45% { transform: rotate(1.8deg); } 70% { transform: rotate(-1deg); } 100% { transform: rotate(0); } }
@keyframes tcSwing { 0% { transform: rotate(0); } 15% { transform: rotate(14deg); } 35% { transform: rotate(-11deg); } 55% { transform: rotate(7deg); } 75% { transform: rotate(-3deg); } 100% { transform: rotate(0); } }
.tc-unlock.is-jangle .tc-chain-l { animation: tcJangleL .7s ease-out; }
.tc-unlock.is-jangle .tc-chain-r { animation: tcJangleR .7s ease-out; }
.tc-unlock.is-jangle .tc-padlock { animation: tcSwing .9s ease-out; }
.tc-unlock.is-open .tc-chain-l { transform: translate(-30px, 180px) rotate(-30deg); opacity: 0; }
.tc-unlock.is-open .tc-chain-l.tc-chain-2 { transform: translate(-20px, 200px) rotate(-12deg); }
.tc-unlock.is-open .tc-chain-r.tc-chain-2 { transform: translate(20px, 200px) rotate(12deg); }
.tc-unlock.is-open .tc-chain-r { transform: translate(30px, 180px) rotate(30deg); opacity: 0; }
.tc-chain-front { z-index: 3; }
.tc-chain g.tc-chain-c { transition: transform .7s cubic-bezier(.5, 0, .8, .4), opacity .4s .3s; }
.tc-unlock.is-open .tc-chain-c { transform: translateY(150px) rotate(60deg); opacity: 0; transform-box: fill-box; transform-origin: center; }
.tc-unlock.is-open .tc-padlock { transition: transform .5s .35s ease-in; transform: translateY(10px) rotate(-8deg); }
.has-chain .tc-unlock-copy { text-align: center; max-width: 560px; margin: 0 auto; }
.has-chain .tc-unlock-copy .tc-label { margin-left: auto; margin-right: auto; }
.has-chain .tc-unlock-action { display: flex; justify-content: center; }
@media (max-width: 640px) { .has-chain .tc-chainbar { height: 164px; } .has-chain .tc-padlock { width: 88px; margin-left: -44px; } }
@media (prefers-reduced-motion: reduce) {
  .tc-unlock.is-jangle .tc-chain-l, .tc-unlock.is-jangle .tc-chain-r, .tc-unlock.is-jangle .tc-padlock { animation: none; }
  .tc-chain g.tc-chain-l, .tc-chain g.tc-chain-r { transition: opacity .3s; }
  .tc-unlock.is-open .tc-chain-l, .tc-unlock.is-open .tc-chain-r { transform: none; }
}

/* Reading options in the Aa panel (shared with Tiny Bytes: bs-font, bs-space, bs-motion, bs-simple) */
.tc-panel { max-height: calc(100vh - 100px); overflow-y: auto; }
.tc-listen-btn, .tc-reset-btn { font: 700 .9375rem 'Maven Pro', Arial, sans-serif; border-radius: 999px; min-height: 44px; padding: 0 1rem; cursor: pointer; }
.tc-listen-btn { background: #1A64A8; color: #FFFFFF; border: 0; }
.tc-listen-btn[aria-pressed="true"] { background: #C01F62; }
.tc-reset-btn { background: transparent; color: #1A64A8; border: 2px solid #1A64A8; align-self: flex-start; min-height: 40px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-listen-btn { background: #2479B3; } :root:not([data-theme="light"]) .tc-reset-btn { color: #7DC2F4; border-color: #7DC2F4; } }
:root[data-theme="dark"] .tc-listen-btn { background: #2479B3; }
:root[data-theme="dark"] .tc-reset-btn { color: #7DC2F4; border-color: #7DC2F4; }
html.font-easy body, html.font-easy body *:not(svg):not(svg *) { font-family: "Atkinson Hyperlegible", Verdana, Tahoma, system-ui, sans-serif !important; }
html.space-wide body { line-height: 1.9; letter-spacing: .03em; word-spacing: .12em; }
html.space-wide main p, html.space-wide main li { line-height: 1.9 !important; }
html.motion-off *, html.motion-off *::before, html.motion-off *::after, html.simple *, html.simple *::before, html.simple *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important; }
/* Simple page: calm and flat. One solid background, no shadows, sparkles, dot patterns or glows */
html.simple body { background: var(--page-top) !important; }
html.simple *, html.simple *::before, html.simple *::after { box-shadow: none !important; text-shadow: none !important; filter: none !important; }
html.simple .tc-spark, html.simple .tc-sweet, html.simple .tc-chest-rays, html.simple .tc-node-aura, html.simple .tc-chain { display: none !important; }
html.simple .tc-ts, html.simple .tc-map, html.simple .tc-shelf, html.simple .tc-loot, html.simple .tc-sq-art, html.simple .tc-con-screen { background-image: none !important; }
html.simple .tc-chainbar { height: 110px !important; }
html.simple .tc-padlock { top: 0 !important; }

/* Dark mode: no pale blocks with dark text (navy night, 12 Nov) */
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) .tc-stickers .tc-flip-f { background: #132A42; border-color: #07131F; border-top-color: var(--ach); }
:root:not([data-theme="light"]) .tc-stickers .tc-flip-f .tc-ach-t { color: #B3C4D5; }
:root:not([data-theme="light"]) .tc-stickers .tc-flip-f .tc-ach-t b { color: #EAF2FA; }
:root:not([data-theme="light"]) .tc-ach-ic { box-shadow: 0 0 0 3px #132A42, 0 0 0 4.5px var(--ach, #1A64A8); }
:root:not([data-theme="light"]) .tc-ts .tc-mm-panel a:hover, :root:not([data-theme="light"]) .tc-ts .tc-mm-panel a:focus-visible, :root:not([data-theme="light"]) .tc-ts .tc-mm-panel a.is-sel { background: #2479B3; color: #FFFFFF; }
:root:not([data-theme="light"]) .tc-mm-info { background: #1A3550; }
:root:not([data-theme="light"]) .tc-mm-info-t { color: #EAF2FA; }
:root:not([data-theme="light"]) .tc-mm-info-t small { color: #FF8DBC; }
:root:not([data-theme="light"]) .tc-seg button[aria-pressed="true"] { background: #2479B3 !important; color: #FFFFFF !important; }
}
:root[data-theme="dark"] .tc-stickers .tc-flip-f { background: #132A42; border-color: #07131F; border-top-color: var(--ach); }
:root[data-theme="dark"] .tc-stickers .tc-flip-f .tc-ach-t { color: #B3C4D5; }
:root[data-theme="dark"] .tc-stickers .tc-flip-f .tc-ach-t b { color: #EAF2FA; }
:root[data-theme="dark"] .tc-ach-ic { box-shadow: 0 0 0 3px #132A42, 0 0 0 4.5px var(--ach, #1A64A8); }
:root[data-theme="dark"] .tc-ts .tc-mm-panel a:hover, :root[data-theme="dark"] .tc-ts .tc-mm-panel a:focus-visible, :root[data-theme="dark"] .tc-ts .tc-mm-panel a.is-sel { background: #2479B3; color: #FFFFFF; }
:root[data-theme="dark"] .tc-mm-info { background: #1A3550; }
:root[data-theme="dark"] .tc-mm-info-t { color: #EAF2FA; }
:root[data-theme="dark"] .tc-mm-info-t small { color: #FF8DBC; }
:root[data-theme="dark"] .tc-seg button[aria-pressed="true"] { background: #2479B3 !important; color: #FFFFFF !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-ts .tc-mm-panel a.is-sel .tc-mm-cur, :root:not([data-theme="light"]) .tc-ts .tc-mm-panel a:hover .tc-mm-cur { color: #FFFFFF; } }
:root[data-theme="dark"] .tc-ts .tc-mm-panel a.is-sel .tc-mm-cur, :root[data-theme="dark"] .tc-ts .tc-mm-panel a:hover .tc-mm-cur { color: #FFFFFF; }

/* Footer links and the privacy / accessibility pages */
.tc-footer-legal { display: flex; justify-content: center; gap: 22px; margin: 4px 0 6px; }
.tc-footer-legal a { color: #FFFFFF; font-weight: 700; font-size: .9375rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.tc-footer-legal a:hover { text-decoration-thickness: 3px; }
.tc-footer-legal a[aria-current="page"] { text-decoration-style: dotted; }
.tc-footer-legal a:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; border-radius: 4px; }
.tc-form-privacy { font-size: .875rem; margin-top: 6px; }
.tc-legal-wrap { max-width: 820px; margin: 0 auto; padding: 32px 16px 56px; text-align: center; }
.tc-legal-h1 { color: #FFFFFF; font: 900 clamp(2.2rem, 7vw, 3.4rem)/1.05 'Poppins', 'Arial Black', sans-serif; letter-spacing: -.02em; margin: 8px 0 14px; text-shadow: 3px 4px 0 #10324F; }
.tc-legal-wrap > .tc-cyp-pill { margin: 0 auto 22px; }
.tc-legal { text-align: left; padding: 28px clamp(18px, 5vw, 40px) 32px; }
.tc-legal h2 { font-size: 1.375rem; margin: 28px 0 8px; }
.tc-legal h3 { font-size: 1.0625rem; margin: 18px 0 6px; }
.tc-legal p, .tc-legal li { line-height: 1.65; }
.tc-legal ul { padding-left: 1.25rem; margin: 6px 0 12px; }
.tc-legal li { margin: 6px 0; }
.tc-legal li::marker { color: #C01F62; }
.tc-legal a, .tc-form-privacy a { color: #1A64A8; font-weight: 700; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-legal a, :root:not([data-theme="light"]) .tc-form-privacy a { color: #7DC2F4; } }
:root[data-theme="dark"] .tc-legal a, :root[data-theme="dark"] .tc-form-privacy a { color: #7DC2F4; }
.tc-legal-updated { display: inline-block; font-size: .8125rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #1A64A8 !important; margin: 0 0 6px !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-legal-updated { color: #7DC2F4 !important; } :root:not([data-theme="light"]) .tc-legal li::marker { color: #FF8DBC; } }
:root[data-theme="dark"] .tc-legal-updated { color: #7DC2F4 !important; }
:root[data-theme="dark"] .tc-legal li::marker { color: #FF8DBC; }

/* Sticker logotype headings, same style as the Tiny Bytes logo */
.tc-sticker-h1 { text-shadow: none; margin: 4px auto 6px; line-height: 0; }
.tc-sticker-h1 svg { display: block; width: 100%; height: auto; margin: 0 auto; overflow: visible; }
.tc-l-edge { fill: #FFFFFF; stroke: #FFFFFF; stroke-width: 26px; stroke-linejoin: round; }
.tc-l-depth { fill: #0E1A26; stroke: #0E1A26; stroke-width: 12px; stroke-linejoin: round; }
.tc-l-face { fill: #FFFFFF; stroke: #0E1A26; stroke-width: 12px; stroke-linejoin: round; paint-order: stroke fill; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-l-edge { fill: #4A94E0; stroke: #4A94E0; } }
:root[data-theme="dark"] .tc-l-edge { fill: #4A94E0; stroke: #4A94E0; }
@keyframes tcStickerPop { from { transform: scale(.85) rotate(-3deg); opacity: 0; } to { transform: none; opacity: 1; } }
.tc-sticker-h1 svg { animation: tcStickerPop .6s cubic-bezier(.3, 1.6, .5, 1) both; }
@media (prefers-reduced-motion: reduce) { .tc-sticker-h1 svg { animation: none; } }
html.motion-off .tc-sticker-h1 svg, html.simple .tc-sticker-h1 svg { animation: none; }

/* Easter eggs: toast, hidden sweets, sweet rain, padlock bubble, Sweet catch */
.pm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.pm-toast { position: fixed; left: 50%; bottom: 20px; z-index: 90; transform: translate(-50%, calc(100% + 140px)); visibility: hidden; width: max-content; max-width: calc(100vw - 32px); box-sizing: border-box;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  background: #16314D; color: #FFFFFF; border: 3px solid #FFFFFF; border-radius: 18px; box-shadow: 0 0 0 1.5px #0E1A26, 3px 4px 0 1.5px #0E1A26;
  padding: 10px 16px; font: 600 .9375rem/1.35 'Maven Pro', Arial, sans-serif; text-align: center; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), visibility 0s .35s; }
.pm-toast.is-on { transform: translate(-50%, 0); visibility: visible; transition-delay: 0s; }
.pm-toast strong { color: #FF8DBC; }
.pm-toast-btn { background: #C01F62; color: #FFFFFF; border: 2px solid #FFFFFF; border-radius: 999px; padding: 6px 14px; font: 800 .875rem 'Maven Pro', Arial, sans-serif; cursor: pointer; }
.pm-toast-btn:focus-visible { outline: 3px solid #FF8DBC; outline-offset: 2px; }
.pm-sweet { position: absolute; z-index: 5; width: 44px; height: 44px; padding: 5px; box-sizing: border-box; border: 0; background: none; cursor: pointer; border-radius: 50%; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.pm-sweet svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(1.5px 2px 0 #10324F); }
@keyframes pmWiggle { 0%, 96%, 100% { transform: rotate(0); } 97% { transform: rotate(-12deg); } 98.5% { transform: rotate(10deg); } }
.pm-sweet { animation: pmWiggle 16s ease-in-out infinite; }
.pm-sweet:hover { transform: scale(1.2) rotate(-8deg); animation: none; }
.pm-sweet:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; box-shadow: 0 0 0 6px #10324F; }
@keyframes pmGot { 0% { transform: scale(1); } 40% { transform: scale(1.7) rotate(20deg); } 100% { transform: scale(0) rotate(-40deg); opacity: 0; } }
.pm-sweet.is-got { animation: pmGot .6s ease-in forwards; }
.pm-rain { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
.pm-rain span { position: absolute; top: -50px; width: 34px; height: 34px; animation: pmFall linear forwards; }
.pm-rain svg { width: 100%; height: 100%; }
@keyframes pmFall { to { transform: translateY(calc(100vh + 80px)) rotate(var(--spin)); } }
.pm-pad-bubble { position: absolute; left: 50%; top: 40px; z-index: 6; transform: translate(-50%, -100%) scale(.6); opacity: 0; pointer-events: none;
  width: max-content; max-width: min(280px, 80vw); background: #FFFFFF; color: #16314D; border: 2px solid #10324F; border-radius: 16px; box-shadow: 3px 3px 0 #10324F;
  padding: 8px 14px; font: 800 .9375rem/1.3 'Maven Pro', Arial, sans-serif; text-align: center; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), opacity .2s; }
.pm-pad-bubble::after { content: ""; position: absolute; left: 50%; bottom: -9px; margin-left: -8px; border: 8px solid transparent; border-bottom: 0; border-top-color: #10324F; }
.pm-pad-bubble.is-on { opacity: 1; transform: translate(-50%, -100%) scale(1); }
.pm-game { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(7, 19, 31, .72); padding: 12px; }
.pm-game[hidden] { display: none; }
body.pm-game-open { overflow: hidden; }
.pm-game-box { width: min(400px, 100%); max-height: calc(100vh - 24px); overflow: auto; background: #16314D; color: #FFFFFF; border: 3px solid #FFFFFF; border-radius: 22px;
  box-shadow: 0 0 0 1.5px #0E1A26, 4px 6px 0 1.5px #0E1A26; padding: 14px 16px 16px; box-sizing: border-box; }
.pm-game-top { display: flex; align-items: center; justify-content: space-between; }
.pm-game-top h2 { margin: 0; color: #FFFFFF !important; font: 900 1.5rem 'Poppins', 'Arial Black', sans-serif; letter-spacing: -.01em; }
.pm-game-x { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #FFFFFF; background: #C01F62; color: #FFFFFF; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pm-game-hud { display: flex; justify-content: space-between; margin: 10px 2px 8px !important; color: #CFE3F5 !important; font-weight: 700; font-size: .9375rem; }
.pm-game-hud b { color: #FFFFFF; font-size: 1.125rem; margin-left: 4px; }
.pm-game-stage { position: relative; border-radius: 14px; overflow: hidden; border: 2px solid #0E1A26; touch-action: none; }
.pm-game-stage canvas { display: block; width: 100%; height: auto; }
.pm-game-screen { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; padding: 20px; text-align: center; background: rgba(16, 50, 79, .55); }
.pm-game-screen[hidden] { display: none; }
.pm-game-msg { margin: 0 !important; color: #FFFFFF !important; font-weight: 700; font-size: 1.0625rem; text-shadow: 1px 2px 0 #10324F; }
.pm-game-msg strong { color: #FF8DBC; font-size: 1.375rem; display: block; }
.pm-new { color: #F4C24C; }
.pm-game-go { justify-self: center; background: linear-gradient(180deg, #E2367D, #C01F62); color: #FFFFFF; border: 3px solid #FFFFFF; border-radius: 999px; padding: 10px 24px;
  font: 800 1.0625rem 'Maven Pro', Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; box-shadow: 0 0 0 1.5px #10324F, 0 5px 0 1.5px #10324F; }
.pm-game-go:focus-visible, .pm-game-x:focus-visible { outline: 3px solid #FF8DBC; outline-offset: 3px; }
.pm-game-help { margin: 10px 2px 0 !important; color: #CFE3F5 !important; font-size: .875rem; text-align: center; }
@media (prefers-reduced-motion: reduce) { .pm-sweet, .pm-sweet.is-got { animation: none; } .pm-toast, .pm-pad-bubble { transition: none; } }
html.motion-off .pm-sweet, html.simple .pm-sweet { animation: none; }

/* Padlock wakes up */
.tc-pad-eyes { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; transition: opacity .25s, transform .35s cubic-bezier(.3, 1.8, .5, 1); }
.tc-pad-brows { opacity: 0; transition: opacity .2s; }
.tc-unlock.is-awake .tc-pad-eyes { opacity: 1; transform: none; }
.tc-unlock.is-cross .tc-pad-brows { opacity: 1; }
@keyframes tcLook { 0%, 30% { transform: translate(0, 0); } 38%, 58% { transform: translate(-1.6px, .4px); } 66%, 86% { transform: translate(1.6px, -.3px); } 100% { transform: translate(0, 0); } }
@keyframes tcBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.tc-unlock.is-awake .tc-pad-pupils { animation: tcLook 3.6s ease-in-out infinite; }
.tc-unlock.is-awake .tc-pad-lids { transform-box: fill-box; transform-origin: center; animation: tcBlink 4.2s infinite; }
@media (prefers-reduced-motion: reduce) { .tc-unlock.is-awake .tc-pad-pupils, .tc-unlock.is-awake .tc-pad-lids { animation: none; } .tc-pad-eyes { transition: none; } }
html.motion-off .tc-unlock.is-awake .tc-pad-pupils, html.motion-off .tc-unlock.is-awake .tc-pad-lids { animation: none; }

/* Pick & Mix Arcade (Look C: site board style) */
.pa { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 10px; background: rgba(7, 19, 31, .72); }
.pa[hidden] { display: none; }
body.pa-open { overflow: hidden; }
.pa-box { position: relative; width: min(440px, 100%); max-height: calc(100dvh - 20px); overflow: auto; box-sizing: border-box; padding: 12px 14px 14px; color: #FFFFFF;
  border-radius: 24px; border: 3px solid #FFFFFF; box-shadow: 0 0 0 1.5px #0E1A26, 4px 6px 0 1.5px #0E1A26;
  background: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.8px) 0 0 / 14px 14px, linear-gradient(160deg, #2C8BCB, #1A64A8 70%); }
.pa-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; }
.pa-title { grid-column: 2; margin: 2px 0 0; color: #FFFFFF !important; font: 900 clamp(1.7rem, 7vw, 2.1rem)/1 'Poppins', 'Arial Black', sans-serif; letter-spacing: -.02em; text-transform: lowercase; text-align: center;
  -webkit-text-stroke: 7px #0E1A26; paint-order: stroke fill; text-shadow: 0 3px 0 #0E1A26, 0 5px 0 #0E1A26;
  filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff); transform: rotate(-2deg); white-space: nowrap; }
.pa-back { grid-column: 1; justify-self: start; background: #FFFFFF; color: #1A64A8; border: 1.5px solid #10324F; border-radius: 999px; padding: 6px 12px; font: 800 .8125rem 'Maven Pro', Arial, sans-serif; cursor: pointer; box-shadow: 2px 2px 0 #10324F; }
.pa-back[hidden] { display: none; }
.pa-x { grid-column: 3; justify-self: end; width: 42px; height: 42px; border-radius: 50%; border: 2.5px solid #FFFFFF; background: #C01F62; color: #FFFFFF; font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 0 0 1.5px #10324F; }
.pa-hud { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 12px 0 10px; }
.pa-hud[hidden] { display: none; }
.pa-pill { display: inline-flex; align-items: center; gap: 5px; background: #FFFFFF; color: #16314D; border: 1.5px solid #10324F; border-radius: 999px; padding: 4px 12px; box-shadow: 2px 2px 0 #10324F; font: 700 .875rem 'Maven Pro', Arial, sans-serif; }
.pa-pill[hidden] { display: none; }
.pa-pill b { font-size: 1.0625rem; color: #C01F62; min-width: 1.5ch; text-align: center; }
.pa-lab { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #3E556B; }
.pa-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.pa-menu[hidden] { display: none; }
.pa-game { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px 12px; text-align: center; cursor: pointer;
  background: #FFFFFF; color: #16314D; border: 1.5px solid #10324F; border-radius: 16px; box-shadow: 2px 3px 0 #10324F; font-family: 'Maven Pro', Arial, sans-serif; transition: transform .15s; }
.pa-game:hover, .pa-game:focus-visible { transform: translateY(-3px) rotate(-1.5deg); border-color: #C01F62; box-shadow: 0 0 0 2px #C01F62, 3px 5px 0 2px #10324F; outline: none; }
.pa-game-art { display: flex; justify-content: center; height: 46px; align-items: center; }
.pa-game-art span { margin: 0 -4px; transform: rotate(var(--r)); }
.pa-game-name { font-weight: 800; font-size: 1rem; line-height: 1.15; }
.pa-game-blurb { font-size: .8125rem; color: #3E556B; line-height: 1.3; }
.pa-game-best { margin-top: 4px; font-size: .6875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #C01F62; }
.pa-play[hidden] { display: none; }
.pa-stage { position: relative; min-height: 200px; border-radius: 16px; overflow: hidden; border: 2.5px solid #FFFFFF; box-shadow: 0 0 0 1.5px #10324F; background: #1F70AE; touch-action: none; }
.pa-canvas { display: block; width: 100%; height: auto; }
.pa-over { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; gap: 14px; padding: 20px; text-align: center; background: rgba(16, 50, 79, .6); }
.pa-over[hidden] { display: none; }
.pa-play { position: relative; }
.pa-stagewrap { position: relative; }
.pa-stagewrap .pa-over { border-radius: 16px; }
.pa-title.is-game { font-size: clamp(1.1rem, 5.4vw, 1.55rem); -webkit-text-stroke: 5px #0E1A26; text-shadow: 0 2px 0 #0E1A26, 0 4px 0 #0E1A26; white-space: normal; line-height: 1.05; }
.pa-top { grid-template-columns: auto minmax(0, 1fr) auto; }
.pa-back { white-space: nowrap; }
.pa-over-msg { margin: 0 !important; color: #FFFFFF !important; font: 700 1.0625rem/1.4 'Maven Pro', Arial, sans-serif; text-shadow: 1px 2px 0 #10324F; }
.pa-over-msg strong { display: block; color: #FFFFFF; font: 900 1.6rem 'Poppins', 'Arial Black', sans-serif; -webkit-text-stroke: 5px #0E1A26; paint-order: stroke fill; }
.pa-new { color: #F4C24C; }
.pa-over-btns { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pa-go { background: linear-gradient(180deg, #E2367D, #C01F62); color: #FFFFFF; border: 3px solid #FFFFFF; border-radius: 999px; padding: 10px 24px; cursor: pointer;
  font: 800 1.0625rem 'Maven Pro', Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 0 0 1.5px #10324F, 0 5px 0 1.5px #10324F; }
.pa-menu-btn { background: #FFFFFF; color: #1A64A8; border: 1.5px solid #10324F; border-radius: 999px; padding: 6px 16px; font: 800 .875rem 'Maven Pro', Arial, sans-serif; cursor: pointer; box-shadow: 2px 2px 0 #10324F; }
.pa-help { margin: 10px 4px 0 !important; color: #FFFFFF !important; font-size: .875rem; line-height: 1.4; text-align: center; }
.pa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.pa-x:focus-visible, .pa-back:focus-visible, .pa-go:focus-visible, .pa-menu-btn:focus-visible, .pa-drop:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; box-shadow: 0 0 0 6px #10324F; }
/* Match */
.pa-match { display: grid; gap: 4px; padding: 10px; }
.pa-match-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.pa-cell { aspect-ratio: 1; display: grid; place-items: center; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .16); border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 12px; transition: transform .15s; }
.pa-cell svg { width: 82%; height: 82%; }
.pa-cell.is-sel { background: #FFFFFF; border-color: #C01F62; box-shadow: 0 0 0 2px #C01F62; transform: scale(1.08) rotate(-4deg); }
.pa-cell:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 1px; }
@keyframes paPop { to { transform: scale(0) rotate(30deg); opacity: 0; } }
@keyframes paDrop { from { transform: translateY(-40%) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes paNo { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.pa-cell.is-pop svg { animation: paPop .26s ease-in forwards; }
.pa-cell.is-new svg { animation: paDrop .25s ease-out; }
.pa-cell.is-no { animation: paNo .25s; }
/* Memory */
.pa-memory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; }
.pa-card { aspect-ratio: 3 / 4; padding: 0; border: 0; background: none; cursor: pointer; perspective: 600px; }
.pa-card-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .35s; }
.pa-card.is-up .pa-card-in { transform: rotateY(180deg); }
.pa-card-back, .pa-card-face { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1.5px solid #10324F; box-shadow: 2px 3px 0 #10324F; }
.pa-card-back { background: radial-gradient(rgba(255, 255, 255, .25) 1.2px, transparent 1.8px) 0 0 / 10px 10px, #16314D; color: #FFFFFF; font: 900 1.6rem 'Poppins', 'Arial Black', sans-serif; border-color: #FFFFFF; }
.pa-card-face { background: #FFFFFF; transform: rotateY(180deg); }
.pa-card.is-done .pa-card-face { box-shadow: 0 0 0 3px #7BE0A5, 2px 3px 0 3px #10324F; }
.pa-card:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; border-radius: 12px; }
.pa-game-best.is-played { display: inline-block; background: #DDF5E6; color: #146C34; border: 1.5px solid #146C34; border-radius: 999px; padding: 2px 10px; }
.pa-game-best.is-played::before { content: "\2713  "; }
/* Whack: a pick & mix shop with sweet tubs on shelves */
.pa-shop { position: relative; margin: 14px; border-radius: 18px; overflow: hidden; background: #FFF6EA; border: 3px solid #FFFFFF; box-shadow: 0 0 0 2px #10324F, 3px 4px 0 2px #10324F; }
.pa-shop-awning { height: 30px; background: radial-gradient(circle at 50% 0, transparent 0 11px, #FFF6EA 11.5px) 0 22px / 26px 14px repeat-x, repeating-linear-gradient(90deg, #E2367D 0 13px, #FFFFFF 13px 26px); border-bottom: 0; }
.pa-shop-sign { position: absolute; left: 50%; top: 14px; transform: translateX(-50%) rotate(-3deg); background: #16314D; color: #FFFFFF; border: 2.5px solid #FFFFFF; border-radius: 999px; box-shadow: 0 0 0 1.5px #10324F, 2px 3px 0 1.5px #10324F;
  padding: 2px 14px; font: 900 .875rem 'Poppins', 'Arial Black', sans-serif; letter-spacing: .02em; white-space: nowrap; }
.pa-box-tray { padding: 24px 16px 10px; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 14px; row-gap: 4px; }
.pa-hole { position: relative; aspect-ratio: 1 / 1.05; padding: 0; margin-bottom: 8px; border: 0; background: none; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; border-radius: 12px; }
.pa-hole::after { content: ""; position: absolute; left: -8px; right: -8px; bottom: -8px; height: 9px; background: linear-gradient(#D49A68, #A86A3C); border-top: 2px solid #10324F; border-bottom: 2px solid #10324F; z-index: 0; }
.pa-tub-in { position: absolute; left: 8%; right: 8%; top: 45%; height: 12%; border-radius: 50%; background: #3A2A3A; border: 2px solid #10324F; z-index: 1; }
.pa-pop { position: absolute; left: 0; right: 0; top: -14%; bottom: 47%; overflow: hidden; z-index: 2; pointer-events: none; }
.pa-who { position: absolute; left: 10%; right: 10%; bottom: -8%; height: 100%; transform: translateY(110%); transition: transform .16s cubic-bezier(.3, 1.6, .5, 1); }
.pa-hole.is-up .pa-who { transform: none; }
.pa-hole.is-bonk .pa-who { transform: scale(1.25, .55) translateY(40%); transform-origin: 50% 100%; transition-duration: .1s; }
.pa-hole.is-oops .pa-who { transform: rotate(18deg) translateY(8%); }
.pa-cup { position: absolute; left: 4%; right: 4%; top: 50%; bottom: 0; z-index: 3; border: 2.5px solid #10324F; border-radius: 6px 6px 14px 14px; clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%);
  background: linear-gradient(var(--tub) 0 22%, #10324F 22% calc(22% + 2px), rgba(255, 255, 255, .78) calc(22% + 2px)), #FFFFFF;
  box-shadow: inset 6px 0 0 rgba(255, 255, 255, .6); }
.pa-cup::after { content: ""; position: absolute; left: 8%; right: 8%; top: 34%; bottom: 8%; border-radius: 4px 4px 10px 10px; opacity: .85;
  background: radial-gradient(circle, var(--tub) 0 4px, transparent 4.5px) 0 0 / 14px 11px, radial-gradient(circle, #FFFFFF 0 1.5px, transparent 2px) 3px 2px / 14px 11px; }
.pa-bonk { position: absolute; left: 50%; top: -6%; z-index: 4; transform: translate(-50%, 0) rotate(-10deg) scale(0); background: #C01F62; color: #FFFFFF; border: 2px solid #FFFFFF; border-radius: 8px;
  padding: 1px 7px; font: 900 .8125rem 'Poppins', 'Arial Black', sans-serif; white-space: nowrap; box-shadow: 0 0 0 1.5px #10324F; pointer-events: none; transition: transform .14s cubic-bezier(.3, 1.8, .5, 1); }
.pa-hole.is-bonk .pa-bonk { transform: translate(-50%, -40%) rotate(-10deg) scale(1); }
.pa-hole.is-oops .pa-bonk { transform: translate(-50%, -40%) rotate(8deg) scale(1); background: #3BA55C; }
@keyframes paMiss { 30% { transform: translateX(-3px) rotate(-2deg); } 70% { transform: translateX(3px) rotate(2deg); } }
.pa-hole.is-miss .pa-cup { animation: paMiss .2s; }
.pa-hole-n { position: absolute; right: 8%; bottom: 4%; z-index: 4; min-width: 1.4em; padding: 0 3px; border-radius: 6px; background: #16314D; color: #FFFFFF; font: 800 .6875rem 'Maven Pro', Arial, sans-serif; text-align: center; }
.pa-hole:focus-visible { outline: 3px solid #E2367D; outline-offset: 2px; }
/* Claw */
.pa-drop { display: block; margin: 10px auto 12px; background: linear-gradient(180deg, #E2367D, #C01F62); color: #FFFFFF; border: 3px solid #FFFFFF; border-radius: 999px; padding: 8px 26px; cursor: pointer;
  font: 800 1rem 'Maven Pro', Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 0 0 1.5px #10324F, 0 4px 0 1.5px #10324F; }
.pa-drop:disabled { opacity: .55; cursor: default; }
@media (max-width: 380px) { .pa-game-blurb { font-size: .75rem; } .pa-pill { padding: 3px 9px; } }
@media (prefers-reduced-motion: reduce) { .pa-game, .pa-cell, .pa-card-in, .pa-pop { transition: none; } .pa-cell.is-pop svg, .pa-cell.is-new svg, .pa-cell.is-no { animation: none; } }

/* Floating Arcade tab and its locked panel */
.pm-arcade-tab { position: fixed; left: 14px; bottom: 14px; z-index: 60; width: 64px; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; line-height: 0;
  filter: drop-shadow(2px 3px 0 #0E1A26); transition: transform .15s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.pm-at-cab { display: block; width: 64px; height: 84px; }
.pm-arcade-tab:hover { transform: translateY(-3px) rotate(-3deg); }
.pm-arcade-tab:focus-visible { outline: 3px solid #FF8DBC; outline-offset: 4px; border-radius: 10px; }
.pm-at-n { position: absolute; right: -14px; bottom: 6px; background: #C01F62; color: #FFFFFF; border: 2px solid #FFFFFF; border-radius: 999px; padding: 3px 7px; line-height: 1;
  font: 800 .75rem 'Maven Pro', Arial, sans-serif; }
.pm-at-n.is-open { background: #F4C24C; color: #3A2A0A; }
@keyframes pmBump { 30% { transform: translateY(-10px) scale(1.1) rotate(-4deg); } 60% { transform: translateY(2px) rotate(2deg); } }
.pm-arcade-tab.is-bump { animation: pmBump .5s; }
.pm-arcade-panel { position: fixed; left: 14px; bottom: 112px; z-index: 61; width: min(320px, calc(100vw - 28px)); max-height: calc(100vh - 130px); overflow: auto; box-sizing: border-box;
  padding: 18px 18px 16px; text-align: center; color: #FFFFFF; border-radius: 20px; border: 3px solid #FFFFFF; box-shadow: 0 0 0 1.5px #0E1A26, 3px 5px 0 1.5px #0E1A26;
  background: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.8px) 0 0 / 14px 14px, linear-gradient(160deg, #2C8BCB, #1A64A8 70%); }
.pm-arcade-panel[hidden] { display: none; }
.pm-ap-x { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #FFFFFF; background: #C01F62; color: #FFFFFF; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.pm-ap-lock { width: 58px; margin: 0 auto 4px; filter: drop-shadow(2px 3px 0 rgba(16, 50, 79, .5)); }
.pm-ap-lock svg { display: block; width: 100%; height: auto; }
@keyframes pmLockShake { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(8deg); } 95% { transform: rotate(-4deg); } }
.pm-ap-lock:not(.is-open) { animation: pmLockShake 2.8s ease-in-out infinite; transform-origin: 50% 20%; }
.pm-ap-lock.is-open svg path:first-of-type, .pm-ap-lock.is-open svg path:nth-of-type(2) { transform: translateY(-8px) rotate(18deg); transform-origin: 75% 50%; transform-box: fill-box; }
.pm-ap-title { margin: 0 0 6px; color: #FFFFFF !important; font: 900 1.375rem/1.1 'Poppins', 'Arial Black', sans-serif; -webkit-text-stroke: 4px #0E1A26; paint-order: stroke fill; text-transform: lowercase; }
.pm-ap-txt { margin: 0 0 10px !important; color: #FFFFFF !important; font-size: .9375rem; line-height: 1.4; }
.pm-ap-slots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; background: #16314D; border: 2px solid #FFFFFF; border-radius: 12px; padding: 6px; }
.pm-ap-slot { display: grid; place-items: center; opacity: .55; }
.pm-ap-slot.is-got { opacity: 1; }
.pm-ap-slot svg { width: 100%; height: auto; max-width: 28px; }
.pm-ap-count { margin: 8px 0 6px !important; font-weight: 800; color: #FFFFFF !important; }
.pm-ap-hint { margin: 4px 0 6px !important; color: #E6F1FB !important; font-size: .8125rem; }
.pm-ap-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pm-ap-list li { font-size: .8125rem; font-weight: 700; }
.pm-ap-list a { display: inline-block; background: #FFFFFF; color: #1A64A8; border: 1.5px solid #10324F; border-radius: 999px; padding: 3px 10px; text-decoration: none; box-shadow: 1.5px 1.5px 0 #10324F; }
.pm-ap-list a:hover { background: #E6F1FB; }
.pm-ap-list a:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
.pm-ap-list li.is-got { color: #7BE0A5; padding: 3px 4px; }
.pm-ap-play { margin-top: 6px; background: linear-gradient(180deg, #E2367D, #C01F62); color: #FFFFFF; border: 3px solid #FFFFFF; border-radius: 999px; padding: 9px 22px; cursor: pointer;
  font: 800 1rem 'Maven Pro', Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 0 0 1.5px #10324F, 0 4px 0 1.5px #10324F; }
.pm-ap-x:focus-visible, .pm-ap-play:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
@media (max-width: 600px) { .pm-arcade-tab, .pm-at-cab { width: 50px; height: 66px; } .pm-arcade-tab { left: 10px; bottom: 10px; } .pm-arcade-panel { left: 10px; bottom: 90px; width: calc(100vw - 20px); max-height: calc(100vh - 106px); } }
@media (max-width: 600px) { .pm-toast { bottom: 86px; } .tc-footer { padding-bottom: 96px; } }
@media (prefers-reduced-motion: reduce) { .pm-ap-lock:not(.is-open), .pm-arcade-tab.is-bump { animation: none; } }
html.motion-off .pm-ap-lock:not(.is-open), html.simple .pm-ap-lock:not(.is-open) { animation: none; }

/* Home robot: boing and sweets burst on tap */
.tc-hero img.tc-hero-welcome-img { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@keyframes pmBoing { 0% { transform: none; } 15% { transform: translateY(6px) scale(1.08, .9); } 40% { transform: translateY(-34px) scale(.95, 1.06) rotate(-4deg); } 60% { transform: translateY(-34px) rotate(5deg); } 80% { transform: translateY(4px) scale(1.05, .94); } 100% { transform: none; } }
.tc-hero .tc-hero-robot.is-boing { animation: pmBoing .8s cubic-bezier(.3, .7, .4, 1); }
.tc-hero .tc-hero-robot { display: block; position: relative; width: min(260px, 100%); margin: 0 auto 20px; }
.tc-hero .tc-hero-robot img.tc-hero-welcome-img { max-width: none; width: 100%; margin: 0; }
.tc-juggle { position: absolute; height: auto; pointer-events: none; z-index: 2; }
.tc-juggle-lolly { left: 3.96%; top: 36.03%; width: 15.5%; }
.tc-juggle-bear { left: 81.59%; top: 38.78%; width: 14.92%; }
.pm-burst { position: absolute; z-index: 4; width: 34px; height: 34px; margin: -17px 0 0 -17px; pointer-events: none; animation: pmBurst .95s cubic-bezier(.2, .8, .3, 1) forwards; }
.pm-burst svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(1.5px 2px 0 #10324F); }
@keyframes pmBurst { 0% { transform: translate(0, 0) scale(.3) rotate(0); opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(var(--dx), calc(var(--dy) + 40px)) scale(1) rotate(var(--spin)); opacity: 0; } }
/* Showcase: flash the level card that just opened */
@keyframes pmCardIn { 0% { transform: translateY(14px); opacity: .3; } 100% { transform: none; opacity: 1; } }
.tc-card.is-new { animation: pmCardIn .4s ease-out; }
@media (prefers-reduced-motion: reduce) { .tc-hero .tc-hero-robot.is-boing, .tc-card.is-new { animation: none; } }
html.motion-off .tc-card.is-new, html.motion-off .tc-hero .tc-hero-robot.is-boing, html.simple .tc-hero .tc-hero-robot { animation: none; }
/* PALETTE START */
:root {
  --page-top: #1C6CA3; --page-bot: #2479B3;
  --text-heading: #ffffff; --text-body: #e7f4fb;
  --card-fill: #ffffff; --card-edge: #10324F;
  --footer-band: #16314D; --footer-edge: #0B1A2B;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .tc-header-wrap { border-bottom-color: transparent; } }
:root[data-theme="light"] .tc-header-wrap { border-bottom-color: transparent; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .tc-hero p.tc-meta { background: #ffffff; color: #1A64A8; } }
:root[data-theme="light"] .tc-hero p.tc-meta { background: #ffffff; color: #1A64A8; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .tc-card, :root:not([data-theme="dark"]) .tc-profile-card, :root:not([data-theme="dark"]) .tc-bss-card, :root:not([data-theme="dark"]) .tc-product-card, :root:not([data-theme="dark"]) .tc-contact-card, :root:not([data-theme="dark"]) .tc-tb-inner, :root:not([data-theme="dark"]) .tc-client-panel {
  --card-heading: #16314D; --card-body: #3E556B; --muted: #4A5F75; --c1: #1c6fba; --line: #D3E3F0;
  --text-heading: #16314D; --text-body: #3E556B; color: #3E556B;
  --ok: #1e7b34; --err: #b3261e;
} }
:root[data-theme="light"] .tc-card, :root[data-theme="light"] .tc-profile-card, :root[data-theme="light"] .tc-bss-card, :root[data-theme="light"] .tc-product-card, :root[data-theme="light"] .tc-contact-card, :root[data-theme="light"] .tc-tb-inner, :root[data-theme="light"] .tc-client-panel {
  --card-heading: #16314D; --card-body: #3E556B; --muted: #4A5F75; --c1: #1c6fba; --line: #D3E3F0;
  --text-heading: #16314D; --text-body: #3E556B; color: #3E556B;
  --ok: #1e7b34; --err: #b3261e;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .tc-tb-head, :root:not([data-theme="dark"]) .tc-client-panel h2, :root:not([data-theme="dark"]) .tc-profile-card h2 { color: #16314D; } }
:root[data-theme="light"] .tc-tb-head, :root[data-theme="light"] .tc-client-panel h2, :root[data-theme="light"] .tc-profile-card h2 { color: #16314D; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .tc-tb-tag, :root:not([data-theme="dark"]) .tc-client-panel p:not(.tc-label), :root:not([data-theme="dark"]) .tc-profile-card p { color: #3E556B; } }
:root[data-theme="light"] .tc-tb-tag, :root[data-theme="light"] .tc-client-panel p:not(.tc-label), :root[data-theme="light"] .tc-profile-card p { color: #3E556B; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .tc-tb-copy .tc-meta { background: #1A64A8; color: #ffffff; } }
:root[data-theme="light"] .tc-tb-copy .tc-meta { background: #1A64A8; color: #ffffff; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .tc-btn-ghost { color: #1c6fba; border-color: #1c6fba; } }
:root[data-theme="light"] .tc-btn-ghost { color: #1c6fba; border-color: #1c6fba; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .tc-access-note { background: #EEF5FB; } }
:root[data-theme="light"] .tc-access-note { background: #EEF5FB; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .tc-card a:focus-visible, :root:not([data-theme="dark"]) .tc-card button:focus-visible, :root:not([data-theme="dark"]) .tc-tb-inner a:focus-visible, :root:not([data-theme="dark"]) .tc-client-panel a:focus-visible, :root:not([data-theme="dark"]) .tc-contact-card a:focus-visible, :root:not([data-theme="dark"]) .tc-contact-card button:focus-visible, :root:not([data-theme="dark"]) .tc-bss-card a:focus-visible, :root:not([data-theme="dark"]) .tc-bss-card button:focus-visible, :root:not([data-theme="dark"]) .tc-product-card a:focus-visible, :root:not([data-theme="dark"]) .tc-product-card button:focus-visible { outline: 3px solid #16314D; box-shadow: 0 0 0 6px #ffffff; } }
:root[data-theme="light"] .tc-card a:focus-visible, :root[data-theme="light"] .tc-card button:focus-visible, :root[data-theme="light"] .tc-tb-inner a:focus-visible, :root[data-theme="light"] .tc-client-panel a:focus-visible, :root[data-theme="light"] .tc-contact-card a:focus-visible, :root[data-theme="light"] .tc-contact-card button:focus-visible, :root[data-theme="light"] .tc-bss-card a:focus-visible, :root[data-theme="light"] .tc-bss-card button:focus-visible, :root[data-theme="light"] .tc-product-card a:focus-visible, :root[data-theme="light"] .tc-product-card button:focus-visible { outline: 3px solid #16314D; box-shadow: 0 0 0 6px #ffffff; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) a:focus-visible, :root:not([data-theme="dark"]) button:focus-visible, :root:not([data-theme="dark"]) .tc-btn:focus-visible { outline: 3px solid #ffffff; box-shadow: 0 0 0 6px #16314D; } }
:root[data-theme="light"] a:focus-visible, :root[data-theme="light"] button:focus-visible, :root[data-theme="light"] .tc-btn:focus-visible { outline: 3px solid #ffffff; box-shadow: 0 0 0 6px #16314D; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .tc-header a:focus-visible, :root:not([data-theme="dark"]) .tc-header button:focus-visible { outline-color: #0E1A26; box-shadow: 0 0 0 6px #ffffff; } }
:root[data-theme="light"] .tc-header a:focus-visible, :root[data-theme="light"] .tc-header button:focus-visible { outline-color: #0E1A26; box-shadow: 0 0 0 6px #ffffff; }
/* PALETTE END */
