/* .tm-footer (the small "choose a mind" screen copyright bar) now lives in
   partials/gate.php + static/css/site-chrome.css — nested inside #tm-gate itself,
   so it's only ever visible during the gate, on any page, not just here. */

/* ============================================================ THE LOADER ============================================================ */

/* The entry gate (#tm-gate, orb, sound/wash/flash/burst effects) now lives in
   static/css/site-chrome.css — shared with About via partials/gate.php. */

/* ============================================================ THE SITE (minimal for now) ============================================================ */
/* #tm-site[hidden] and #tm-header's opacity/.tm-show now live in site-chrome.css —
   shared with About, which has the same entry gate in front of it now. */

#tm-site-fog {
  position: fixed; inset: 0; z-index: -3; pointer-events: none; opacity: 0.28;
  background: radial-gradient(50vw 50vw at 15% 15%, var(--primary), transparent 60%), radial-gradient(45vw 45vw at 90% 80%, var(--secondary), transparent 60%);
  filter: blur(90px);
}

/* min-height: 100dvh, not just 100vh — same iOS Safari fix as #tm-gate
   (site-chrome.css): 100vh alone sizes against the toolbar-collapsed
   viewport even before it's actually collapsed, so this panel's
   flex-centered content (the reveal photo/hero) sits off-center by however
   tall the address bar is until a scroll settles Safari's layout. */
.tm-panel { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 130px 8vw 90px; text-align: center; position: relative; z-index: 0; overflow: hidden; }

.tm-reveal-photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }

.tm-reveal-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0; transform: scale(1.12); transition: opacity 0.5s ease; }
.tm-reveal-photo img.tm-loaded { opacity: 1; }

.tm-reveal-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 0%, transparent 46%, rgba(5,5,6,0.9) 58%, rgba(5,5,6,0.9) 100%);
  transition: background 0.7s ease;
}
html.tm-theme-red .tm-reveal-shade {
  background: linear-gradient(to left, transparent 0%, transparent 46%, rgba(5,5,6,0.9) 58%, rgba(5,5,6,0.9) 100%);
}
.tm-reveal-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,6,0.4) 0%, rgba(5,5,6,0.05) 35%, var(--bg) 100%); }

.tm-toast-bar { position: fixed; inset: 0; z-index: 250; pointer-events: none; }
.tm-toast-bar .tm-container { position: relative; height: 100%; }
.tm-choice-toast {
  position: absolute; bottom: 26px; left: 26px;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5em;
  padding: 13px 24px;
  border: none; border-radius: 999px;
  background: rgba(5, 5, 6, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.tm-choice-toast.tm-toast-show { opacity: 1; transform: translateY(0); }
/* Word + separator + genre grouped as one unbreakable unit — otherwise, on a
   narrow toast, each span could wrap its own text independently (the reported
   mobile bug: "you" / "chose" stacked mid-phrase, "high tech" / "minimal" split
   the same way) instead of the whole toast wrapping cleanly between "you chose"
   and the choice itself. */
.tm-toast-choice { display: inline-flex; align-items: baseline; gap: 0.5em; white-space: nowrap; }
.tm-toast-word { font-weight: 700; color: var(--ink); }
.tm-toast-sep { opacity: 0.5; }
.tm-toast-genre { color: var(--primary); }

.tm-mini-hero { display: flex; align-items: center; gap: 6vw; max-width: 920px; margin: 0 auto; text-align: left; }
.tm-mini-hero-photo { flex: none; width: clamp(150px, 22vw, 240px); aspect-ratio: 4 / 5; overflow: hidden; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5)); }
.tm-mini-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

html.tm-theme-red .tm-mini-hero-photo img { transform: scaleX(-1); }
.tm-mini-hero-quote { flex: 1; min-width: 0; }
.tm-mini-hero-quote p { margin: 0 0 0.7em; font-size: clamp(1.05rem, 2.3vw, 1.5rem); line-height: 1.45; color: var(--ink); }
.tm-mini-hero-quote cite { display: block; font-style: normal; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 1.6em; }

html.tm-theme-blue .tm-mini-hero { flex-direction: row-reverse; }
@media (max-width: 680px) {

  .tm-mini-hero, html.tm-theme-blue .tm-mini-hero { flex-direction: column; text-align: center; gap: 26px; }
  .tm-mini-hero-photo { display: none; }
}

.tm-scroll-cue { position: absolute; left: 50%; bottom: 56px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: none; padding: 0; cursor: pointer; color: var(--ink-dim); animation: tm-scroll-cue-bob 2.2s ease-in-out infinite; transition: color 0.25s ease; }
.tm-scroll-cue:hover { color: var(--ink); }
.tm-scroll-cue-label { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.tm-scroll-cue svg { display: block; }
@keyframes tm-scroll-cue-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ============================================================ THE HOLE (scroll reveal) ============================================================ */
.tm-hole-section { position: relative; height: 340vh; background: #fff; }

.tm-hole-section::before {
  content: ''; position: absolute; inset: -60px;
  background-image: radial-gradient(rgba(5, 5, 6, 0.07) 1.5px, transparent 1.5px);
  background-size: 34px 34px;width:100%;
}
.tm-hole-overlay {
  position: sticky; top: 0; display: block; width: 100%; height: 100vh; z-index: 2; pointer-events: none; overflow: hidden;
}
.tm-hole-overlay .tm-hole-fill { fill: var(--bg); }

/* ============================================================ LATEST RELEASES ============================================================ */
.tm-releases-section { position: relative; background: #fff; color: var(--bg); }

.tm-releases-content { position: relative; z-index: 1; margin-top: -280vh; padding: 90px 8vw 140px; }

.tm-releases-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); max-width: 1100px; margin: 0 auto 16px; text-align: left; }
.tm-releases-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 6vw; max-width: 1100px; margin: 0 auto 70px; text-align: left; }
.tm-releases-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 5vw, 3.2rem); margin: 0; letter-spacing: -0.01em; flex: none; }
.tm-releases-blurb { max-width: 34ch; margin: 0; font-size: 0.95rem; line-height: 1.6; color: rgba(5, 5, 6, 0.55); }

.tm-genre-toggle-wrap { text-align: center; margin-bottom: 50px; }
.tm-genre-toggle { display: inline-flex; border: 1px solid rgba(5, 5, 6, 0.15); border-radius: 999px; padding: 4px; }
.tm-genre-toggle__btn {
  border: none; background: none; padding: 10px 22px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(5, 5, 6, 0.45); transition: background 0.25s ease, color 0.25s ease;
}

.tm-genre-toggle__btn.tm-active { color: #fff; }
.tm-genre-toggle__btn[data-genre="all"].tm-active { background: var(--bg); }
.tm-genre-toggle__btn[data-genre="melodic"].tm-active { background: var(--blue); }
.tm-genre-toggle__btn[data-genre="hightech"].tm-active { background: var(--red); }
.tm-releases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 800px; margin: 0 auto; }
.tm-releases-more { text-align: center; margin-top: 60px; }

.tm-releases-col { display: flex; flex-direction: column; gap: 50px; }

.tm-release-card {
  position: sticky; top: calc(90px + var(--i, 0) * 8px); z-index: calc(var(--i, 0) + 1);
  display: block; width: 100%; aspect-ratio: 1 / 1; border: none; padding: 0; cursor: pointer;
  overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.3s ease;
}

.tm-release-card:hover { transform: scale(1.035); }
.tm-release-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter 0.3s ease; }

.tm-release-card::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 32%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
  pointer-events: none;
}
.tm-release-card-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 16px 18px; color: #fff;
}
.tm-release-card-meta { display: flex; flex-direction: column; gap: 6px; text-align: left; min-width: 0; }
.tm-release-card-name { font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.5rem); letter-spacing: 0.01em; }

.tm-release-card-tags { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.tm-release-card-tag { display: flex; align-items: center; gap: 5px; font-weight: 500; font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.tm-release-card-tag::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; }
.tm-release-card-tag--melodic::before { background: var(--blue); }
.tm-release-card-tag--hightech::before { background: var(--red); }
.tm-release-card-play {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 1);
  display: flex; align-items: center; justify-content: center;
}
.tm-release-card-play svg { width: 15px; height: 15px; margin-left: 2px; fill: #fff; }
@media (max-width: 680px) {
  .tm-releases-header { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 50px; }

  .tm-releases-grid { display: flex; flex-direction: column; max-width: 320px; margin: 0 auto; }
  .tm-releases-col { display: contents; }
  .tm-release-card { top: calc(70px + var(--m, 0) * 8px); z-index: calc(var(--m, 0) + 1); order: var(--m, 0); }
}

/* ============================================================ MEET THE MIND (behind-the-music video) — continues the white "hole" section above, Martin-Garrix-style overlapping card ============================================================ */
/* scrolling marquee band — a hard dark break between the white releases grid and the white meet-the-mind section below, instead of two pale textures bleeding into each other */
.tm-marquee { position: relative; background: var(--bg); overflow: hidden; padding: 30px 0; display: flex; flex-direction: column; gap: 16px; }
.tm-marquee-row { overflow: hidden; }
.tm-marquee-track { display: inline-flex; width: max-content; will-change: transform; }
.tm-marquee-group { display: inline-flex; align-items: center; }
.tm-marquee-track span {
  display: inline-block; white-space: nowrap; margin-right: 56px;
  font-family: 'NeuePlak-Black', 'Arial Black', Arial, sans-serif; font-weight: 900; font-size: clamp(1.8rem, 4.6vw, 3.4rem);
  letter-spacing: 0.01em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
  transition: color 0.25s ease;
}
.tm-marquee-track span:hover { color: var(--ink); }

.tm-meet-section { position: relative; overflow: hidden; background: #fff; color: var(--bg); padding: 140px 8vw 80px; }
.tm-meet-section::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 50px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 6, 0.06) 100%);
}
/* concentric "echo" rings — the logo's own ripple motif, reused as a texture distinct from the dot-grid used above */
.tm-meet-section::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: repeating-radial-gradient(circle at 14% 60%, transparent 0px, transparent 34px, rgba(5, 5, 6, 0.05) 35px, rgba(5, 5, 6, 0.05) 36px);
}
.tm-meet-inner { position: relative; max-width: 1200px; margin: 0 auto; }

.tm-meet-media {
  position: relative; z-index: 1; width: 100%; max-width: 800px; margin-left: auto;
  aspect-ratio: 16 / 9; overflow: hidden;
  background: #000; cursor: pointer;
  border-radius:15px;
}
.tm-meet-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}
.tm-meet-media:hover img { transform: scale(1.03); filter: brightness(0.82); }
.tm-meet-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 2; width: 72px; height: 72px; border-radius: 50%;
  border: none; background: #fff; box-shadow: 0 10px 30px rgba(5, 5, 6, 0.25);
  display: flex; align-items: center; justify-content: center; padding: 0;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background 0.3s ease;
}
/* transform (magnetic pull + hover scale) is driven from JS, same technique/easing as #tm-reconsider */
.tm-meet-media:hover .tm-meet-play { background: var(--primary); }
.tm-meet-play svg { width: 18px; height: 18px; margin-left: 3px; fill: var(--bg); transition: fill 0.3s ease; }
.tm-meet-media:hover .tm-meet-play svg { fill: #fff; }

/* the white card overlaps the photo's bottom-left corner, same white as the section bg — it only reads as a distinct layer where it cuts across the (dark) photo */
.tm-meet-card {
  position: relative;
  z-index: 2;
  max-width: 660px;
  background: #fff;
  margin: -200px 0 0;
  padding: 44px 40px 0 0;
  padding-left: 40px;
  border-radius:15px;
}
.tm-meet-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); margin: 0 0 16px; }
.tm-meet-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 20px; }
.tm-meet-text { color: rgba(5, 5, 6, 0.6); font-size: 15px; line-height: 1.75; margin: 0 0 32px; }
.tm-meet-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.tm-meet-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); color: #fff; border: 1px solid var(--bg); border-radius: 2px;
  font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 26px; cursor: pointer; transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.tm-meet-cta:hover { transform: translateY(-2px); opacity: 0.8; }
.tm-meet-cta svg { width: 10px; height: 10px; fill: #fff; transition: fill 0.25s ease; }
/* same double-border glitch as .tm-cta, layered onto the existing solid button instead of a bare outline */
#tm-meet-play-cta { position: relative; }
#tm-meet-play-cta::before { content: ''; position: absolute; inset: 0; border: 1px solid var(--primary); border-radius: 2px; pointer-events: none; opacity: 0; transition: opacity 0.2s ease; }
#tm-meet-play-cta:hover::before { opacity: 1; animation: tm-cta-gfx2 0.15s cubic-bezier(.24,.45,.44,.93) both infinite, tm-cta-blink 0.5s steps(1, end) infinite; }
#tm-meet-play-cta::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(5, 5, 6, 0.5); border-radius: 2px; pointer-events: none; opacity: 0; transition: opacity 0.2s ease; }
#tm-meet-play-cta:hover::after { opacity: 1; animation: tm-cta-gfx1 0.2s cubic-bezier(.24,.45,.44,.93) both infinite, tm-cta-blink 0.5s steps(1, end) 0.12s infinite; }
/* drop the fill on hover so the glitching border actually reads, same as .tm-cta--solid */
#tm-meet-play-cta:hover { background: transparent; color: var(--primary); }
#tm-meet-play-cta:hover svg { fill: var(--primary); }
.tm-meet-cta--ghost { background: transparent; color: var(--bg); border-color: rgba(5, 5, 6, 0.3); }
.tm-meet-cta--ghost:hover { background: rgba(5, 5, 6, 0.05); border-color: var(--bg); opacity: 1; }
@media (max-width: 860px) {
  .tm-meet-media { max-width: 74%; }
  .tm-meet-card { margin-top: -90px; max-width: 74%; padding: 30px 24px 0 0; }
  .tm-meet-title { font-size: clamp(1.3rem, 3.6vw, 1.8rem); }
}
@media (max-width: 680px) {
  .tm-meet-section { padding: 40px 7vw 50px; }
  .tm-marquee { padding: 16px 0; gap: 6px; }
  .tm-meet-media { max-width: none; }
  .tm-meet-play { width: 58px; height: 58px; }
  .tm-meet-card { position: static; margin-top: 24px; max-width: none; padding: 0; }
  .tm-meet-actions { gap: 14px; }
}

/* ============================================================ THE HOLE, INVERTED (white sheet punches through to reveal the About section in black) ============================================================ */
.tm-invhole-section { position: relative; height: 340vh; background: var(--bg); }
.tm-invhole-overlay {
  position: sticky; top: 0; display: block; width: 100%; height: 100vh; z-index: 2; pointer-events: none; overflow: hidden;
}
.tm-invhole-overlay .tm-hole-fill { fill: #fff; }

.tm-about-section { position: relative; background: var(--bg); color: var(--ink); }
.tm-about-content { position: relative; z-index: 1; margin-top: -280vh; padding: 90px 8vw 160px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.tm-about-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary-dim); margin: 0 0 20px; }
.tm-about-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.01em; margin: 0; }
.tm-shows-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 0 0 46px; }

.tm-about-cta {
  position: relative; display: flex; width: max-content; align-items: center; gap: 10px; margin: 44px 0 0;
  background: var(--ink); color: var(--bg); border-radius: 2px;
  font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 26px; text-decoration: none; transition: transform 0.25s ease, opacity 0.25s ease;
}
.tm-about-cta:hover { transform: translateY(-2px); background: transparent; color: var(--primary); }
/* same double-border glitch as .tm-cta */
.tm-about-cta::before { content: ''; position: absolute; inset: 0; border: 1px solid var(--primary); border-radius: 2px; pointer-events: none; opacity: 0; transition: opacity 0.2s ease; }
.tm-about-cta:hover::before { opacity: 1; animation: tm-cta-gfx2 0.15s cubic-bezier(.24,.45,.44,.93) both infinite, tm-cta-blink 0.5s steps(1, end) infinite; }
.tm-about-cta::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 2px; pointer-events: none; opacity: 0; transition: opacity 0.2s ease; }
.tm-about-cta:hover::after { opacity: 1; animation: tm-cta-gfx1 0.2s cubic-bezier(.24,.45,.44,.93) both infinite, tm-cta-blink 0.5s steps(1, end) 0.12s infinite; }

/* ============================================================ SITE FOOTER ============================================================ */
/* .tm-finale (the video band right above the footer) and .tm-video-modal now live in
   static/css/site-chrome.css — shared, since partials/chrome-footer.php carries them
   on every page now, not just home. */
.tm-meet-media:after {
  position: absolute;
  width: 100%;
  height: calc(100% + 20px);
  top: -20px;
  left: 0;
  bottom: 0;
  right: 0;
  content: "";
  background-size: 3.5px;
  background-image: url("https://latitude-one.com/static/img/textures/back_dots.png");
  mix-blend-mode: overlay;
  opacity: 0.4;
}

.tm-release-modal { position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center; padding: 30px; opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease; }
.tm-release-modal.tm-open { opacity: 1; visibility: visible; }
.tm-release-modal-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 6, 0.82); backdrop-filter: blur(6px); }
.tm-release-modal-panel {
  position: relative; z-index: 1; width: 100%; max-width: 380px;
  background: var(--bg); color: var(--ink);
  transform: translateY(16px) scale(0.97); transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
  max-height: calc(100vh - 60px); overflow-y: auto;
}
.tm-release-modal.tm-open .tm-release-modal-panel { transform: translateY(0) scale(1); }
.tm-release-modal-close {
  position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; z-index: 2;
  background: none; border: none; color: var(--ink-dim); font-size: 22px; line-height: 1; cursor: pointer;
  transition: color 0.2s ease;
}
.tm-release-modal-close:hover { color: var(--ink); }
.tm-release-modal-cover { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; }
.tm-release-modal-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-release-modal-gradient { position: absolute; inset: auto 0 0 0; height: 80px; background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%); }
.tm-release-modal-content{padding:20px;}
.tm-release-modal-title { margin: 0 0 22px; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; letter-spacing: -0.01em; }
.tm-release-modal-listen { margin: 0 0 12px; font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }
.tm-release-modal-links { display: flex; flex-direction: column; gap: 1px; background: rgba(247, 242, 232, 0.15); }
.tm-release-modal-link {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; background: var(--bg); color: var(--ink);
  font-size: 13px; letter-spacing: 0.03em; transition: background 0.2s ease;
}
.tm-release-modal-link:hover { background: rgba(247, 242, 232, 0.08); }
.tm-release-modal-link i { width: 1.1em; font-size: 15px; color: var(--ink-dim); }
.tm-release-modal-link svg { width: 1.1em; height: 1.1em; color: var(--ink-dim); }
.tm-release-modal-link.tm-hidden { display: none; }

@media (max-width: 560px) {
  #tm-header { padding: 14px 16px; }
  .tm-choice-toast {
    top: 76px; bottom: auto; left: 50%; right: auto; max-width: 88vw;
    flex-direction: column; align-items: center; gap: 6px;
    font-size: 14px; padding: 14px 22px;
    transform: translateX(-50%) translateY(-8px);
  }
  .tm-choice-toast.tm-toast-show { transform: translateX(-50%) translateY(0); }
  #tm-reconsider { width: 48px; height: 48px; }
  .tm-header-right { gap: 16px; }
  .tm-header-nav { display: none; }
  .tm-panel { padding: 96px 7vw 70px; }
}
