/* ============================================================================
   Teoría Musical — Static site styles
   Clean, modern, responsive. No frameworks, no jQuery.
   ============================================================================ */

/* ---------- Variables ---------- */
:root {
  --bg: #ffffff;
  --bg-alt: #faf7f2;
  --bg-dark: #14110d;
  --bg-dark-2: #1c1a14;
  --surface: #ffffff;
  --surface-alt: #f5f2ea;
  --border: #e8e0cc;
  --border-strong: #d4c9b0;
  --text: #2c2416;
  --text-muted: #6b5f48;
  --text-on-dark: #f5efdf;
  --text-muted-on-dark: #a0977f;
  --brand: #8b6914;
  --brand-dark: #6b5210;
  --gold: #d4af37;
  --accent: #2a7a6e;
  --danger: #c0392b;
  --success: #27ae60;

  --radius: 12px;
  --radius-sm: 6px;
  --shadow-sm: 0 2px 4px rgba(44, 36, 22, 0.05);
  --shadow: 0 4px 20px rgba(44, 36, 22, 0.08);
  --shadow-lg: 0 10px 40px rgba(44, 36, 22, 0.12);

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --container: 1180px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-dark); text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.2; margin: 1.6em 0 .6em; color: var(--text); font-weight: 700; }
h1 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 1rem + 1.5vw, 2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: .3em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
blockquote { border-left: 4px solid var(--brand); margin: 1.5em 0; padding: .5em 1.2em; background: var(--bg-alt); color: var(--text); font-style: italic; border-radius: var(--radius-sm); }
code, pre { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .92em; background: var(--surface-alt); padding: .1em .35em; border-radius: 4px; }
pre { padding: 1em; overflow-x: auto; }
figure { margin: 1.5em 0; }
figcaption { font-size: .9em; color: var(--text-muted); margin-top: .4em; text-align: center; }

/* ---------- Utilities ---------- */
.tm-container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.tm-skip {
  position: absolute; left: -999px; top: 0;
  background: var(--brand); color: #fff; padding: .6rem 1rem; z-index: 1000;
}
.tm-skip:focus { left: 0; }

/* ---------- Header ---------- */
.tm-site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.2) blur(8px);
}
.tm-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.25rem;
  gap: 1rem;
}
.tm-brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  color: var(--text);
}
.tm-brand:hover { text-decoration: none; color: var(--brand); }
.tm-brand-mark {
  display: inline-grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 1.05rem;
}
.tm-nav-toggle {
  display: none; background: none; border: 0; padding: .4rem; cursor: pointer;
  width: 2.5rem; height: 2.5rem; flex-direction: column; gap: 5px; justify-content: center;
}
.tm-nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text); transition: transform .25s;
}
.tm-nav-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; gap: 1.6rem;
}
.tm-nav-list a {
  color: var(--text); font-weight: 500; font-size: .98rem;
  padding: .4rem 0; position: relative;
}
.tm-nav-list a:hover { color: var(--brand); text-decoration: none; }
.tm-nav-list a.is-active { color: var(--brand); }
.tm-nav-list a.is-active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--brand); border-radius: 2px;
}

@media (max-width: 860px) {
  .tm-nav-toggle { display: inline-flex; }
  .tm-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .tm-nav.is-open { display: block; }
  .tm-nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem; }
  .tm-nav-list li { border-bottom: 1px solid var(--border); }
  .tm-nav-list li:last-child { border-bottom: 0; }
  .tm-nav-list a { display: block; padding: .85rem 0; }
  .tm-nav-list a.is-active::after { display: none; }
}

/* ---------- Breadcrumb ---------- */
.tm-breadcrumb {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  padding: .7rem 0;
  color: var(--text-muted);
}
.tm-breadcrumb a { color: var(--text-muted); }
.tm-breadcrumb a:hover { color: var(--brand); }
.tm-crumb-sep { margin: 0 .5em; color: var(--border-strong); }

/* ---------- Page header ---------- */
.tm-page-header {
  background: var(--bg-alt);
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.tm-page-header h1 { margin: 0; }

/* ---------- Main & Article ---------- */
.tm-main { min-height: 60vh; }
.tm-article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding: 2.5rem 1.25rem;
}
.tm-article-wrap:has(.tm-related) { grid-template-columns: minmax(0, 1fr) 260px; }
.tm-article { max-width: 78ch; width: 100%; }
.tm-article img { border-radius: var(--radius-sm); }
.tm-article h2 { scroll-margin-top: 5rem; }
.tm-article h3 { scroll-margin-top: 5rem; }

.is-home .tm-article { max-width: 100%; }

@media (max-width: 900px) {
  .tm-article-wrap:has(.tm-related) { grid-template-columns: 1fr; }
  .tm-related { order: 2; }
}

/* ---------- Related sidebar ---------- */
.tm-related {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.5rem;
  height: fit-content;
  position: sticky; top: 5rem;
}
.tm-related h2 { margin: 0 0 .8rem; font-size: 1rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 600; }
.tm-related ul { list-style: none; padding: 0; margin: 0; }
.tm-related li { margin-bottom: .4rem; }
.tm-related a { display: block; padding: .4rem .6rem; border-radius: 4px; font-size: .95rem; color: var(--text); }
.tm-related a:hover { background: var(--surface); color: var(--brand); text-decoration: none; }

/* ---------- Footer ---------- */
.tm-site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  margin-top: 4rem;
  padding: 3rem 0 0;
}
.tm-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding: 0 1.25rem 2.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.tm-footer-col h3 { color: #fff; font-family: var(--font-body); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .9rem; }
.tm-footer-col p { color: var(--text-muted-on-dark); font-size: .95rem; }
.tm-footer-col ul { list-style: none; padding: 0; margin: 0; }
.tm-footer-col li { margin-bottom: .4rem; }
.tm-footer-col a { color: var(--text-on-dark); font-size: .95rem; }
.tm-footer-col a:hover { color: var(--gold); text-decoration: none; }
.tm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.3rem 1.25rem;
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted-on-dark);
}
@media (max-width: 700px) {
  .tm-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Home specials (tm-hero, tm-seccion) ---------- */
.tm-hero {
  background: linear-gradient(135deg, var(--bg-dark), #2a241a);
  color: var(--text-on-dark);
  padding: 4rem 1.25rem;
  position: relative;
  overflow: hidden;
}
.tm-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212,175,55,.12), transparent 50%);
  pointer-events: none;
}
.tm-hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 900px) {
  .tm-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.tm-hero-eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .8rem;
  color: var(--gold); font-weight: 600; margin: 0 0 1rem;
}
.tm-hero-titulo {
  font-family: var(--font-display); font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
  color: #fff; margin: 0 0 1.2rem; line-height: 1.1;
}
.tm-hero-bajada {
  font-size: 1.15rem; color: var(--text-muted-on-dark); max-width: 55ch; margin: 0;
}
.tm-hero-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
  padding: 2rem;
  border-radius: var(--radius);
}
.tm-hero-card-label { color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; margin: 0 0 .5rem; }
.tm-hero-card-titulo { color: #fff; margin: 0 0 .6rem; font-family: var(--font-display); font-size: 1.55rem; }
.tm-hero-card-desc { color: var(--text-muted-on-dark); margin: 0 0 1.5rem; font-size: .98rem; }

.tm-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.3rem;
  border-radius: 8px;
  font-weight: 600; font-size: .98rem;
  cursor: pointer; border: 1px solid transparent; transition: all .2s;
  text-decoration: none;
}
.tm-btn:hover { text-decoration: none; transform: translateY(-1px); }
.tm-btn-dorado { background: var(--gold); color: #14110d; }
.tm-btn-dorado:hover { background: #e0bf4a; color: #14110d; }
.tm-btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.tm-btn-outline:hover { background: var(--surface-alt); color: var(--text); }
.tm-btn-outline-claro { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.tm-btn-outline-claro:hover { background: rgba(255,255,255,.08); color: #fff; }

.tm-seccion { padding: 4rem 1.25rem; }
.tm-seccion-inner { max-width: var(--container); margin: 0 auto; }
.tm-seccion-cabecera { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tm-seccion-titulo { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); }
.tm-seccion-titulo span { color: var(--brand); }

.tm-grid-diccionario {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ---------- Contact form ---------- */
.tm-contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 1.75rem;
  border-radius: var(--radius);
  max-width: 620px;
}
.tm-contact-form label {
  display: block; margin-bottom: 1rem; font-size: .9rem; color: var(--text-muted);
  font-weight: 500;
}
.tm-contact-form input, .tm-contact-form textarea {
  display: block; width: 100%; margin-top: .35rem;
  padding: .7rem .85rem; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); background: #fff;
  font-family: inherit; font-size: 1rem; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.tm-contact-form input:focus, .tm-contact-form textarea:focus {
  outline: 0; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(139, 105, 20, .15);
}
.tm-contact-form button {
  background: var(--brand); color: #fff; border: 0;
  padding: .8rem 1.6rem; font-size: 1rem; font-weight: 600;
  border-radius: var(--radius-sm); cursor: pointer; transition: background .2s;
}
.tm-contact-form button:hover { background: var(--brand-dark); }
.tm-form-note { font-size: .85rem; color: var(--text-muted); margin-top: 1rem; }

/* ---------- Post list (for pt_view) ---------- */
.tm-postlist { display: grid; gap: 1.25rem; }
.tm-postlist-item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tm-postlist-item:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.tm-postlist-item h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.tm-postlist-item h3 a { color: var(--text); }
.tm-postlist-item h3 a:hover { color: var(--brand); text-decoration: none; }
.tm-postlist-item p { color: var(--text-muted); margin: 0 0 .8rem; }
.tm-postlist-more { font-weight: 600; color: var(--brand); font-size: .95rem; }

/* ---------- Quiz placeholders ---------- */
.tm-quiz-placeholder {
  background: #fff8e7;
  border: 1px dashed var(--brand);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}
.tm-quiz-icon { font-size: 2.5rem; margin-bottom: .6rem; }
.tm-quiz-title { margin: 0 0 .4rem; color: var(--brand); font-family: var(--font-display); }
.tm-quiz-desc { color: var(--text); margin: 0 0 1rem; }
.tm-quiz-note { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* ---------- Tools hub cards (/herramientas) ---------- */
.tm-hub-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 720px;
  margin: 2.5rem auto;
}
@media (max-width: 560px) {
  .tm-hub-wrap { grid-template-columns: 1fr; }
}
.tm-hub-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  padding: 2.5rem 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, border-color .2s, transform .2s;
  text-decoration: none;
  color: var(--text);
}
.tm-hub-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: var(--brand);
  text-decoration: none;
}
.tm-hub-icon { font-size: 2.5rem; }
.tm-hub-label { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.tm-hub-meta { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Tables of content placeholder ---------- */
.tm-toc-placeholder { /* populated by main.js */ }
.tm-toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
}
.tm-toc summary { cursor: pointer; font-weight: 600; color: var(--text); padding: .3rem 0; }
.tm-toc ul { list-style: none; padding-left: 1rem; margin: .5rem 0 0; }
.tm-toc li { margin-bottom: .3rem; }
.tm-toc a { color: var(--text); font-size: .95rem; }
.tm-toc a:hover { color: var(--brand); text-decoration: none; }

/* ---------- Legacy Gutenberg column layout ---------- */
.wp-block-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.wp-block-column > *:first-child { margin-top: 0; }
.wp-block-column > *:last-child { margin-bottom: 0; }

.wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.wp-block-gallery img { border-radius: var(--radius-sm); }

.wp-block-file { margin: 1rem 0; }
.wp-block-file a.wp-block-file__button {
  display: inline-block;
  padding: .5rem 1rem;
  background: var(--brand); color: #fff;
  border-radius: var(--radius-sm);
  margin-left: .5rem;
}
.wp-block-file a.wp-block-file__button:hover { background: var(--brand-dark); text-decoration: none; }

.wp-block-separator { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

.wp-block-verse { background: var(--bg-alt); padding: 1em 1.5em; border-left: 4px solid var(--brand); font-family: var(--font-display); border-radius: var(--radius-sm); white-space: pre-wrap; }

/* ---------- Cookies revoke ---------- */
.tm-cookies-revoke {
  padding: .6rem 1.2rem;
  background: var(--text); color: #fff;
  border: 0; border-radius: var(--radius-sm);
  cursor: pointer; font-weight: 500;
}
.tm-cookies-revoke:hover { background: var(--brand); }

/* ---------- Print ---------- */
@media print {
  .tm-site-header, .tm-site-footer, .tm-breadcrumb, .tm-nav-toggle, .tm-related { display: none !important; }
  .tm-article-wrap { display: block; }
  .tm-article { max-width: 100%; }
}

/* ---------------------------------------------------------------
 * Cookie consent (RGPD)
 * --------------------------------------------------------------- */
#tm-cookie-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,24,20,.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}
#tm-cookie-overlay.tm-show {
  display: flex;
  animation: tmFadeIn .2s ease;
}
@keyframes tmFadeIn { from { opacity:0 } to { opacity:1 } }

#tm-cookie-modal {
  background: #faf8f4;
  border: 1px solid rgba(184,134,11,.3);
  border-radius: 4px;
  max-width: 530px;
  width: 100%;
  padding: 2rem 2.25rem;
  box-shadow: 0 12px 48px rgba(26,24,20,.22);
  font-family: "Source Serif 4", Georgia, serif;
  color: #1a1814;
  box-sizing: border-box;
  animation: tmSlideUp .25s ease;
}
@keyframes tmSlideUp { from { transform:translateY(12px); opacity:0 } to { transform:translateY(0); opacity:1 } }

#tm-cookie-icon { text-align: center; margin-bottom: .75rem; }
#tm-cookie-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #1a1814;
  text-align: center;
  margin: 0 0 .8rem;
}
#tm-cookie-desc {
  font-size: .875rem;
  line-height: 1.65;
  color: #3a3730;
  margin: 0 0 1.4rem;
  text-align: center;
}
#tm-cookie-desc a { color: #b8860b; text-decoration: underline; }

#tm-cookie-panel {
  border-top: 1px solid rgba(184,134,11,.2);
  border-bottom: 1px solid rgba(184,134,11,.2);
  padding: .75rem 0;
  margin-bottom: 1.4rem;
}
.tm-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 0;
}
.tm-toggle-row + .tm-toggle-row { border-top: 1px solid rgba(26,24,20,.07); }
.tm-toggle-info { display: flex; flex-direction: column; gap: .15rem; }
.tm-toggle-info strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: .875rem;
  font-weight: 700;
}
.tm-toggle-info span { font-size: .78rem; color: #6b6560; line-height: 1.4; }

.tm-toggle-wrap { flex-shrink: 0; position: relative; }
.tm-toggle-wrap input[type="checkbox"] {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.tm-switch-label {
  display: block;
  width: 44px; height: 26px;
  background: #ccc7be;
  border-radius: 13px;
  cursor: pointer;
  position: relative;
  transition: background .2s;
}
.tm-switch-label::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.tm-toggle-wrap input:checked + .tm-switch-label { background: #b8860b; }
.tm-toggle-wrap input:checked + .tm-switch-label::after { transform: translateX(18px); }
.tm-toggle-forced .tm-switch-label { opacity: .55; cursor: not-allowed; }

#tm-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
}
.tm-btn {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: .875rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  padding: .6rem 1.3rem;
  line-height: 1;
  transition: opacity .15s, background .15s;
  white-space: nowrap;
}
.tm-btn-primary { background: #b8860b; color: #faf8f4; font-weight: 700; letter-spacing: .025em; }
.tm-btn-primary:hover { opacity: .87; }
.tm-btn-secondary { background: transparent; color: #1a1814; border: 1px solid rgba(26,24,20,.3); }
.tm-btn-secondary:hover { background: rgba(26,24,20,.05); }
.tm-btn-link { background: transparent; color: #b8860b; text-decoration: underline; padding: .6rem .4rem; }
.tm-btn-link:hover { opacity: .72; }

#tm-cookie-trigger {
  position: fixed;
  bottom: 1.25rem; left: 1.25rem;
  width: 42px; height: 42px;
  background: #faf8f4;
  border: 1px solid rgba(184,134,11,.45);
  border-radius: 50%;
  color: #b8860b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99998;
  box-shadow: 0 2px 10px rgba(26,24,20,.18);
  transition: transform .15s, box-shadow .15s;
  padding: 0;
}
#tm-cookie-trigger:not([hidden]) { display: flex; }
#tm-cookie-trigger:hover { transform: scale(1.1); box-shadow: 0 4px 16px rgba(26,24,20,.24); }

@media (max-width: 480px) {
  #tm-cookie-modal { padding: 1.5rem 1.25rem; }
  #tm-cookie-title { font-size: 1.2rem; }
  .tm-btn { font-size: .82rem; padding: .55rem 1rem; }
}
