/* Timer and attention tool surfaces. Dark only, with no inline style needs. */

body.tool-page {
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 13% 5%, rgba(94, 176, 255, .12), transparent 30rem),
    radial-gradient(circle at 88% 11%, rgba(255, 178, 77, .07), transparent 30rem),
    var(--bg);
}

.tool-page-main {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding-bottom: 7rem;
}

.tool-page-main .guides-container {
  width: min(100% - 3rem, 1180px);
  margin-right: auto;
  margin-left: auto;
}

.tool-page-hero {
  padding: 9.5rem 0 4.5rem;
  text-align: center;
}

.tool-page-hero .guides-container {
  position: relative;
  display: flex;
  max-width: 900px;
  flex-direction: column;
  align-items: center;
}

.tool-page-back {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--dim);
  font-size: .82rem;
  font-weight: 700;
}

.tool-page-back:hover {
  color: var(--text);
  text-decoration: none;
}

.tool-page-eyebrow,
.timer-console__header span,
.attention-card__header > span,
.tool-cta > div > span {
  color: var(--accent);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.tool-page-hero h1 {
  max-width: 850px;
  margin: .85rem 0 1rem;
  font-size: clamp(2.55rem, 6vw, 5.2rem);
  line-height: .95;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.timer-hero h1 {
  word-spacing: .06em;
}

.tool-page-hero > .guides-container > p {
  max-width: 730px;
  margin: 0;
  color: #c3cbdd;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.65;
}

.tool-page-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-top: 1.5rem;
}

.tool-page-trust span {
  padding: .5rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--dim);
  background: rgba(17, 26, 48, .72);
  font-size: .72rem;
  font-weight: 700;
}

/* Countdown workbench */

.timer-workbench {
  max-width: 1000px;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.timer-console {
  position: relative;
  display: flex;
  min-height: 680px;
  padding: clamp(1.35rem, 3vw, 2.5rem);
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(94, 176, 255, .25);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 22%, rgba(94, 176, 255, .14), transparent 32rem),
    linear-gradient(180deg, rgba(17, 26, 48, .96), rgba(7, 11, 22, .98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .04);
}

.timer-console::before {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, .65) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, .45) 0 1px, transparent 1.5px),
    radial-gradient(circle at 84% 64%, rgba(94, 176, 255, .65) 0 1px, transparent 1.5px),
    radial-gradient(circle at 22% 76%, rgba(255, 178, 77, .5) 0 1px, transparent 1.5px);
  background-size: 190px 170px, 260px 230px, 310px 280px, 370px 330px;
  content: "";
  opacity: .6;
  pointer-events: none;
}

.timer-console > * {
  position: relative;
  z-index: 1;
}

.timer-console__header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.timer-console__header h2,
.attention-card__header h2 {
  margin: .3rem 0 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: -.02em;
}

.timer-fullscreen {
  display: inline-flex;
  min-height: 42px;
  padding: .58rem .8rem;
  align-items: center;
  gap: .45rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--dim);
  background: rgba(22, 33, 60, .82);
  font: inherit;
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
}

.timer-fullscreen:hover {
  color: var(--text);
  border-color: rgba(94, 176, 255, .45);
}

.timer-fullscreen svg {
  width: 1rem;
  height: 1rem;
}

.timer-dial {
  position: relative;
  display: grid;
  width: min(72vw, 430px);
  aspect-ratio: 1;
  margin: clamp(1.2rem, 4vw, 2.5rem) auto 1.2rem;
  place-items: center;
}

.timer-dial svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.timer-dial circle {
  fill: none;
  stroke-width: 9;
}

.timer-ring-track {
  stroke: rgba(139, 151, 181, .14);
}

.timer-ring-value {
  stroke: var(--accent);
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(94, 176, 255, .46));
  transition: stroke-dashoffset .18s linear, stroke .2s ease;
}

.timer-console[data-state="complete"] .timer-ring-value {
  stroke: var(--accent2);
  filter: drop-shadow(0 0 12px rgba(255, 178, 77, .5));
}

.timer-readout {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.timer-readout strong {
  color: var(--text);
  font-size: clamp(3.25rem, 10vw, 6.8rem);
  font-weight: 650;
  line-height: .9;
  letter-spacing: -.08em;
  text-shadow: 0 0 30px rgba(94, 176, 255, .16);
}

.timer-readout span {
  margin-top: 1.1rem;
  color: var(--dim);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.timer-console[data-state="complete"] .timer-readout span {
  color: var(--accent2);
}

.timer-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
}

.timer-control {
  min-width: 112px;
  min-height: 48px;
  padding: .7rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(22, 33, 60, .9);
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
}

.timer-control:hover:not(:disabled) {
  border-color: rgba(94, 176, 255, .55);
  background: rgba(30, 47, 84, .96);
}

.timer-control--start {
  color: #04101f;
  border-color: var(--accent);
  background: var(--accent);
}

.timer-control--start:hover:not(:disabled) {
  color: #04101f;
  background: #8ac6ff;
}

.timer-control--reset {
  color: #ffd39b;
  border-color: rgba(255, 178, 77, .3);
}

.timer-control:disabled {
  opacity: .38;
  cursor: default;
}

.timer-shortcuts {
  display: flex;
  flex-wrap: wrap;
  margin: 1.25rem 0 0;
  justify-content: center;
  gap: .45rem;
  color: var(--dim);
  font-size: .72rem;
}

.timer-shortcuts kbd,
.attention-respond kbd {
  padding: .12rem .36rem;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  color: #c3cbdd;
  background: rgba(7, 11, 22, .75);
  font: 650 .66rem "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

.timer-no-js,
.attention-no-js {
  max-width: 700px;
  margin: 1.25rem auto 0;
  padding: .8rem 1rem;
  border: 1px solid rgba(255, 178, 77, .28);
  border-radius: 12px;
  color: #d7c6ad;
  background: rgba(255, 178, 77, .07);
  font-size: .78rem;
  line-height: 1.55;
}

.timer-console:fullscreen {
  width: 100vw;
  max-width: none;
  height: 100vh;
  min-height: 100vh;
  padding: clamp(1rem, 3vw, 2.5rem);
  justify-content: center;
  border: 0;
  border-radius: 0;
}

.timer-console:fullscreen .timer-console__header {
  position: absolute;
  top: clamp(1rem, 3vw, 2.5rem);
  left: clamp(1rem, 3vw, 2.5rem);
  width: calc(100% - clamp(2rem, 6vw, 5rem));
}

.timer-console:fullscreen .timer-dial {
  width: min(68vmin, 660px);
  margin-top: 0;
}

.timer-console:fullscreen .timer-readout strong {
  font-size: clamp(4rem, 13vmin, 10rem);
}

/* Specific copy and CTA */

.timer-explainer,
.attention-explainer,
.timer-hub-notes {
  max-width: 820px;
}

.timer-explainer.guide-prose,
.attention-explainer.guide-prose,
.timer-hub-notes.guide-prose {
  color: #c3cbdd;
}

.timer-explainer h2,
.attention-explainer h2,
.timer-hub-notes h2 {
  margin: 3.5rem 0 1rem;
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.timer-explainer h2:first-child,
.attention-explainer h2:first-child,
.timer-hub-notes h2:first-child {
  margin-top: 0;
}

.timer-explainer p,
.attention-explainer p,
.attention-explainer li,
.timer-hub-notes p {
  color: #c3cbdd;
  font-size: 1rem;
  line-height: 1.8;
}

.attention-explainer ul {
  padding-left: 1.25rem;
}

.tool-cta {
  display: grid;
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  border: 1px solid rgba(255, 178, 77, .27);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 50%, rgba(255, 178, 77, .1), transparent 23rem),
    linear-gradient(145deg, #111a30, #0c1a33);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

.tool-cta h2 {
  max-width: 720px;
  margin: .45rem 0 .6rem;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.tool-cta p {
  max-width: 720px;
  margin: 0;
  color: #c3cbdd;
  line-height: 1.6;
}

.tool-cta > a {
  display: inline-flex;
  min-height: 48px;
  padding: .75rem 1.1rem;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 14px;
  color: #2e2410;
  background: var(--accent2);
  font-weight: 800;
}

.tool-cta > a:hover {
  color: #2e2410;
  box-shadow: 0 0 20px rgba(255, 178, 77, .3);
  text-decoration: none;
}

/* Timer directory */

.timer-jump-nav {
  display: grid;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding: .9rem 1rem;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 18, 36, .82);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
}

.timer-jump-nav > span {
  color: var(--dim);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.timer-jump-nav ul {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .5rem;
  list-style: none;
}

.timer-jump-nav a {
  display: flex;
  height: 100%;
  min-height: 48px;
  padding: .55rem .7rem;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(94, 176, 255, .17);
  border-radius: 12px;
  color: var(--text);
  background: rgba(22, 33, 60, .7);
  text-decoration: none;
}

.timer-jump-nav a:hover {
  border-color: rgba(94, 176, 255, .42);
  background: rgba(30, 47, 84, .84);
}

.timer-jump-nav strong {
  font-size: .72rem;
  line-height: 1.25;
}

.timer-jump-nav small {
  margin-top: .18rem;
  color: var(--dim);
  font-size: .64rem;
}

.timer-hub-directory {
  display: grid;
  gap: 4rem;
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.timer-hub-group {
  scroll-margin-top: 6.5rem;
}

.timer-hub-group > header {
  display: grid;
  margin-bottom: 1.2rem;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  align-items: end;
  gap: 2rem;
}

.timer-hub-group h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -.035em;
}

.timer-hub-group header p {
  margin: 0;
  color: var(--dim);
  font-size: .86rem;
  line-height: 1.55;
}

.timer-duration-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
}

.timer-duration-grid a {
  display: flex;
  min-height: 190px;
  padding: 1.2rem;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--text);
  background: linear-gradient(165deg, rgba(22, 33, 60, .94), rgba(12, 18, 36, .96));
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

.timer-duration-grid a:hover {
  border-color: rgba(94, 176, 255, .48);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3), 0 0 22px rgba(94, 176, 255, .08);
  text-decoration: none;
  transform: translateY(-2px);
}

.timer-duration-grid strong {
  color: var(--accent);
  font-size: 1.35rem;
  letter-spacing: -.04em;
}

.timer-duration-grid span {
  display: -webkit-box;
  overflow: hidden;
  margin-top: .8rem;
  color: #aeb8cf;
  font-size: .78rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.timer-duration-grid small {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--dim);
  font-size: .7rem;
  font-weight: 750;
}

.timer-hub-notes {
  padding-bottom: 1rem;
}

/* Sustained attention task */

.attention-workbench {
  max-width: 1000px;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.attention-card {
  min-height: 650px;
  padding: clamp(1.35rem, 4vw, 3rem);
  border: 1px solid rgba(94, 176, 255, .25);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 20%, rgba(94, 176, 255, .12), transparent 32rem),
    linear-gradient(180deg, rgba(17, 26, 48, .98), rgba(7, 11, 22, .98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .04);
}

.attention-card__header {
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
}

.attention-stage[hidden] {
  display: none;
}

.attention-intro,
.attention-results {
  max-width: 760px;
  margin: 2.3rem auto 0;
}

.attention-rule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.attention-rule > span {
  display: flex;
  min-height: 130px;
  padding: 1.2rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(22, 33, 60, .72);
}

.attention-rule strong {
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: clamp(1.5rem, 5vw, 2.7rem);
  letter-spacing: -.04em;
}

.attention-rule small {
  margin-top: .55rem;
  color: var(--dim);
  font-size: .74rem;
  font-weight: 700;
}

.attention-rule__go {
  border-color: rgba(94, 176, 255, .35) !important;
}

.attention-rule__go strong {
  color: var(--accent);
}

.attention-rule__stop {
  border-color: rgba(255, 178, 77, .35) !important;
}

.attention-rule__stop strong {
  color: var(--accent2);
}

.attention-intro ol {
  display: grid;
  gap: .6rem;
  margin: 1.5rem 0 1rem;
  padding-left: 1.3rem;
  color: #c3cbdd;
  line-height: 1.65;
}

.attention-intro > p,
.attention-results > p {
  color: var(--dim);
  line-height: 1.65;
}

.attention-intro .attention-visual-note {
  max-width: 620px;
  margin: .2rem 0 1rem;
  color: #aeb8cf;
  font-size: .78rem;
}

.attention-primary,
.attention-respond {
  min-height: 50px;
  padding: .75rem 1.1rem;
  border: 0;
  border-radius: 14px;
  color: #04101f;
  background: var(--accent);
  font: inherit;
  font-size: .85rem;
  font-weight: 800;
  cursor: pointer;
}

.attention-primary:hover,
.attention-respond:hover {
  background: #8ac6ff;
}

.attention-running {
  display: flex;
  max-width: 680px;
  min-height: 500px;
  margin: 1.3rem auto 0;
  align-items: center;
  flex-direction: column;
}

.attention-progress-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  color: var(--dim);
  font: 700 .72rem "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

.attention-progress-row > span:first-child {
  color: var(--accent);
}

.attention-running progress {
  width: 100%;
  height: 8px;
  margin-top: .7rem;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(139, 151, 181, .14);
}

.attention-running progress::-webkit-progress-bar {
  background: rgba(139, 151, 181, .14);
}

.attention-running progress::-webkit-progress-value {
  border-radius: 999px;
  background: var(--accent);
}

.attention-running progress::-moz-progress-bar {
  border-radius: 999px;
  background: var(--accent);
}

.attention-stimulus {
  display: grid;
  width: min(50vw, 270px);
  aspect-ratio: 1;
  margin: 2rem auto 1.25rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: radial-gradient(circle, rgba(94, 176, 255, .13), rgba(7, 11, 22, .55) 68%);
  font: 650 clamp(5rem, 18vw, 9rem) "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  line-height: 1;
  text-shadow: 0 0 24px rgba(94, 176, 255, .24);
}

.attention-stimulus[data-visible="false"] {
  color: transparent;
  text-shadow: none;
}

.attention-stimulus[data-kind="stop"] {
  color: var(--accent2);
  text-shadow: 0 0 24px rgba(255, 178, 77, .28);
}

.attention-respond {
  display: inline-flex;
  min-width: 190px;
  align-items: center;
  justify-content: center;
  gap: .65rem;
}

.attention-respond kbd {
  color: #04101f;
  border-color: rgba(4, 16, 31, .28);
  background: rgba(255, 255, 255, .25);
}

.attention-respond[data-pressed="true"] {
  background: #c4e2ff;
  transform: translateY(2px);
}

.attention-cancel {
  margin-top: .8rem;
  padding: .4rem .7rem;
  border: 0;
  color: var(--dim);
  background: transparent;
  font: inherit;
  font-size: .72rem;
  cursor: pointer;
}

.attention-cancel:hover {
  color: var(--text);
}

.attention-results__eyebrow {
  margin-bottom: .4rem;
  color: var(--accent) !important;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.attention-score {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.attention-score strong {
  color: var(--text);
  font: 650 clamp(4.3rem, 12vw, 7rem) "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  line-height: 1;
  letter-spacing: -.08em;
}

.attention-score span {
  color: var(--dim);
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.3;
  text-transform: uppercase;
}

.attention-metrics {
  display: grid;
  margin: 1.5rem 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.attention-metrics > div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(22, 33, 60, .66);
}

.attention-metrics dt {
  color: var(--dim);
  font-size: .7rem;
  font-weight: 700;
}

.attention-metrics dd {
  margin: .4rem 0 0;
  color: var(--text);
  font: 700 1.1rem "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

.attention-formula {
  padding: .8rem 1rem;
  border-left: 3px solid var(--accent2);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 178, 77, .07);
  font-size: .75rem;
}

.attention-message {
  min-height: 1.3rem;
  max-width: 760px;
  margin: 1rem auto 0;
  color: #ffd39b;
  font-size: .78rem;
  text-align: center;
}

@media (max-width: 960px) {
  .timer-duration-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .tool-page-main .guides-container {
    width: min(100% - 1.5rem, 1180px);
  }

  .tool-page-hero {
    padding: 5.75rem 0 2rem;
  }

  .tool-page-back {
    position: static;
    align-self: flex-start;
    margin-bottom: 1.1rem;
  }

  .tool-page-hero h1 {
    margin: .65rem 0 .75rem;
    font-size: clamp(2.1rem, 9vw, 3.5rem);
  }

  .tool-page-hero > .guides-container > p {
    font-size: .95rem;
    line-height: 1.55;
  }

  .tool-page-trust {
    gap: .45rem;
    margin-top: 1rem;
  }

  .tool-page-trust span {
    padding: .42rem .62rem;
    font-size: .68rem;
  }

  .timer-console,
  .attention-card {
    min-height: 590px;
    border-radius: 24px;
  }

  .timer-console__header {
    align-items: flex-start;
  }

  .timer-fullscreen span {
    display: none;
  }

  .timer-fullscreen {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .timer-dial {
    width: min(82vw, 390px);
  }

  .timer-readout strong {
    font-size: clamp(3.1rem, 17vw, 5.5rem);
  }

  .timer-control {
    min-width: 92px;
    flex: 1;
  }

  .tool-cta {
    grid-template-columns: 1fr;
  }

  .tool-cta > a {
    width: 100%;
  }

  .timer-hub-group > header {
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  .timer-jump-nav {
    grid-template-columns: 1fr;
    gap: .65rem;
  }

  .timer-jump-nav ul {
    display: flex;
    overflow-x: auto;
    padding-bottom: .2rem;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }

  .timer-jump-nav li {
    min-width: 138px;
    scroll-snap-align: start;
  }

  .timer-duration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timer-duration-grid a {
    min-height: 165px;
  }

  .attention-rule,
  .attention-metrics {
    grid-template-columns: 1fr;
  }

  .attention-rule > span {
    min-height: 105px;
  }
}

@media (max-width: 430px) {
  .timer-console {
    min-height: 540px;
    padding: 1rem;
  }

  .timer-console__header h2 {
    font-size: .95rem;
  }

  .timer-controls {
    width: 100%;
    gap: .45rem;
  }

  .timer-control {
    min-width: 0;
    min-height: 46px;
    padding: .65rem .55rem;
    font-size: .77rem;
  }

  .timer-shortcuts {
    max-width: 270px;
  }

  .timer-duration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }

  .timer-duration-grid a {
    min-height: 128px;
    padding: .85rem;
    border-radius: 16px;
  }

  .timer-duration-grid strong {
    font-size: 1.08rem;
  }

  .timer-duration-grid span {
    margin-top: .5rem;
    font-size: .72rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
  }

  .timer-duration-grid small {
    padding-top: .6rem;
  }

  .timer-hub-directory {
    gap: 2.75rem;
  }

  .timer-hub-group > header {
    margin-bottom: .9rem;
  }

  .attention-card {
    min-height: 570px;
    padding: 1rem;
  }

  .attention-intro,
  .attention-results {
    margin-top: 1.5rem;
  }

  .attention-rule {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }

  .attention-rule > span {
    min-height: 92px;
    padding: .75rem .55rem;
  }

  .attention-rule strong {
    font-size: 1.1rem;
  }

  .attention-intro ol {
    gap: .45rem;
    margin: 1.15rem 0 .8rem;
  }

  .attention-stimulus {
    width: min(64vw, 240px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .timer-ring-value,
  .timer-duration-grid a,
  .attention-respond {
    transition: none;
  }
}
