/* "Čas" and "Widgety" on the home page: a timer you can play with, its day, the reports, and
   the widgets around the phone, all following one shared demo timer (time.js). */

/* ---------- The timer ---------- */

.time-demo {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  /* Side by side, the card and the day are always the same height. */
  .time-demo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px; align-items: stretch; }
  .tcard { display: flex; flex-direction: column; }
  .tcard .tswitch-label { margin-top: auto; }
}

.tcard {
  border-radius: 34px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  min-height: 470px;
  transition: background 0.5s, box-shadow 0.5s;
}
.tcard.running {
  background: linear-gradient(160deg, var(--blue-light), var(--blue-deep));
  color: #fff;
  box-shadow: 0 26px 60px rgba(35, 67, 255, 0.35);
}
.tcard.running::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  right: -70px; top: -90px;
  border-radius: 50%;
  background: var(--glow, rgba(255, 255, 255, 0.14));
  filter: blur(60px);
  opacity: 0.7;
  pointer-events: none;
  transition: background 0.5s;
}
.tcard.idle { background: var(--surface); box-shadow: var(--shadow); }
.tcard > * { position: relative; z-index: 1; }

.tcard-head { display: flex; align-items: center; gap: 10px; }
.tcard-head .mono { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; opacity: 0.85; }
.tcard-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.tcard-head .since {
  font-size: 13px; font-weight: 800;
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 11px;
  border-radius: 999px;
}
.tcard-head .spacer { flex: 1; }
.tcard-head .more {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid; place-items: center;
  font-weight: 900; letter-spacing: 1px;
}

.stopwatch {
  font-family: ui-rounded, "SF Pro Rounded", var(--display);
  font-weight: 900;
  font-size: clamp(58px, 10vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin: 16px 0 14px;
}
.tpill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 0 16px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
  font-size: 16px;
}
.tpill em { font-style: normal; font-weight: 600; opacity: 0.7; font-size: 14px; }
.pdot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px #fff; }
.tnote {
  display: block;
  width: 100%;
  margin-top: 12px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 16px;
}
.tnote::placeholder { color: rgba(255, 255, 255, 0.55); }
.tnote:focus { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 0; }
.ttags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ttag {
  font-size: 13px; font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}
.ttag.add { background: none; border: 1px dashed rgba(255, 255, 255, 0.45); opacity: 0.9; }
.tstop {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  height: 56px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tstop:active { transform: scale(0.97, 0.93); }
.tstop i { width: 15px; height: 15px; border-radius: 3px; background: var(--blue); }
/* Its own room above, so it never sits on the Stop button, even when the card is stretched. */
.tswitch-label { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; opacity: 0.7; margin: 0 0 10px; padding-top: 26px; }
.tswitch { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -24px; padding: 0 24px 4px; }
.tswitch::-webkit-scrollbar { display: none; }
.tswitch button {
  flex: none;
  display: flex; align-items: center; gap: 9px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 0 14px;
  height: 52px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s;
}
.tswitch button:hover { background: rgba(255, 255, 255, 0.22); }
.tswitch button:active { transform: scale(0.94); }
.tswitch b { display: block; font-size: 14px; line-height: 1.2; }
.tswitch small { display: block; font-size: 12px; opacity: 0.75; font-weight: 600; }
.tswitch .pdot { box-shadow: 0 0 0 1.5px #fff; width: 10px; height: 10px; }

/* Idle: "Na čem děláš?" */
.tidle h3 { font-size: clamp(26px, 3vw, 32px); font-weight: 900; letter-spacing: -0.035em; margin: 0 0 14px; }
.tsearch {
  display: flex; align-items: center; gap: 10px;
  background: var(--background);
  border-radius: 22px;
  padding: 6px 6px 6px 18px;
}
.tsearch input {
  flex: 1; min-width: 0;
  border: 0; background: none;
  font: inherit; font-weight: 700; font-size: 17px;
  color: var(--ink);
  padding: 10px 0;
}
.tsearch input:focus { outline: none; }
.tsearch:focus-within { box-shadow: 0 0 0 2px var(--blue); }
.tplay {
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--blue-light), var(--blue-deep));
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(35, 67, 255, 0.4);
  flex: none;
}
.tplay .icon { width: 18px; height: 18px; }
.tprojects { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.tprojects button {
  display: inline-flex; align-items: center; gap: 7px;
  border: 0; cursor: pointer;
  border-radius: 999px;
  padding: 0 13px;
  height: 36px;
  background: var(--fill);
  color: var(--ink);
  font-weight: 800; font-size: 14px;
}
.tprojects button[aria-pressed="true"] { background: var(--c); color: #fff; }
.tprojects .pdot { width: 10px; height: 10px; box-shadow: none; }
.tprojects button[aria-pressed="true"] .pdot { box-shadow: 0 0 0 1.5px #fff; }
.tsuggest-label { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--tertiary); margin: 4px 0 8px; }
.tsuggest { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tsuggest button {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  border: 0; cursor: pointer;
  background: var(--background);
  color: var(--ink);
  border-radius: 16px;
  padding: 10px 14px;
  text-align: left;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tsuggest button:active { transform: scale(0.98); }
.tsuggest b { display: block; font-size: 15px; }
.tsuggest small { display: block; color: var(--secondary); font-size: 12.5px; font-weight: 600; }
.tsuggest small i { color: var(--blue); font-style: normal; }
.tsuggest .play { margin-left: auto; color: var(--blue); }
.tsuggest .play .icon { width: 14px; height: 14px; }
.tsuggest mark { background: var(--blue-soft); color: var(--blue); border-radius: 4px; padding: 0 2px; }

/* The day */
.tday {
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: 34px;
  box-shadow: var(--shadow-small);
  padding: 20px 18px 18px 14px;
}
.tday-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px 12px 6px; }
.tday-head h3 { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -0.03em; }
.tday-head b { font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }
.tline { position: relative; flex: 1; display: flex; flex-direction: column; }
.tline .hour {
  display: flex; gap: 8px; align-items: flex-start;
  flex: 1 1 0; min-height: var(--hour);
  font-family: var(--mono); font-size: 11px; color: var(--tertiary);
}
.tline .hour span { width: 38px; text-align: right; transform: translateY(-7px); flex: none; }
.tline .hour::after { content: ""; flex: 1; height: 1px; background: var(--fill); }
.tblock, .tgap {
  position: absolute;
  left: 46px; right: 0;
  border-radius: 12px;
  overflow: hidden;
  transition: top 0.5s, height 0.5s, opacity 0.4s;
}
.tblock {
  display: flex; gap: 8px;
  background: color-mix(in srgb, var(--c) 16%, var(--surface));
  padding: 6px 10px 6px 6px;
  border: 0;
  text-align: left;
  color: var(--ink);
  animation: grow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes grow { from { opacity: 0; transform: scale(0.96); } }
.tblock::before { content: ""; width: 4px; border-radius: 2px; background: var(--c); flex: none; }
.tblock b { font-size: 13.5px; display: block; line-height: 1.25; }
.tblock small { font-size: 12px; color: var(--secondary); font-weight: 600; display: block; }
.tblock .live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-left: 5px; vertical-align: middle; animation: blink 1.4s infinite; }
.tblock.short { align-items: center; }
.tgap {
  border: 1.5px dashed color-mix(in srgb, var(--blue) 40%, transparent);
  background: none;
  color: var(--blue);
  font-weight: 800; font-size: 13px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.tgap:hover { background: color-mix(in srgb, var(--blue) 6%, transparent); }
.tgap .icon { width: 14px; height: 14px; }
.tnow { position: absolute; left: 41px; right: 0; height: 2px; background: var(--pink); pointer-events: none; z-index: 3; }
.tnow::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.time-hint { display: flex; align-items: center; gap: 8px; color: var(--secondary); font-weight: 700; font-size: 15px; margin: 16px 4px 0; }
.time-hint .icon { width: 18px; height: 18px; color: var(--blue); flex: none; }

.time-features { display: grid; gap: 14px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .time-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .time-features { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.time-features div {
  background: var(--surface);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow-small);
}
.time-features i {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  font-style: normal; margin-bottom: 14px;
}
.time-features i .icon { width: 22px; height: 22px; }
.time-features h3 { margin: 0 0 6px; font-size: 19px; font-weight: 900; letter-spacing: -0.02em; }
.time-features p { margin: 0; color: var(--secondary); font-size: 15px; }

/* Reports */
.reports {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1000px) { .reports { grid-template-columns: 1fr 1.05fr; gap: 48px; } }
.reports h3 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 900; letter-spacing: -0.045em; line-height: 1; margin: 0; }
.reports > div > p { color: var(--secondary); font-size: 17px; margin: 14px 0 0; max-width: 32em; }
.exports { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; }
.exports li {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border-radius: 20px;
  padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow-small);
}
.exports i { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-style: normal; flex: none; }
.exports i .icon { width: 20px; height: 20px; }
.exports b { display: block; font-size: 16px; }
.exports small { display: block; color: var(--secondary); font-size: 13.5px; font-weight: 600; }
.exports li.link { background: linear-gradient(160deg, var(--blue-light), var(--blue-deep)); color: #fff; }
.exports li.link small { color: rgba(255, 255, 255, 0.8); }
.exports li.link i { background: rgba(255, 255, 255, 0.2); }
.reports-art { position: relative; min-height: 640px; }
.reports-art .paper {
  position: absolute;
  left: 0; top: 24px;
  width: min(66%, 390px);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(18, 24, 80, 0.2), 0 0 0 1px rgba(18, 24, 80, 0.06);
  transform: rotate(-2.5deg);
}
.reports-art .paper img { width: 100%; height: auto; border-radius: 10px; }
.reports-art .phone { position: absolute; width: 210px; right: 0; top: 0; transform: rotate(4deg); }
.reports-art .phone.second { right: 40px; top: 270px; width: 185px; transform: rotate(-2deg); z-index: 2; }
.reports-art .url {
  position: absolute; left: 4%; bottom: 0;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border-radius: 999px;
  padding: 10px 18px 10px 10px;
  box-shadow: var(--shadow);
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  z-index: 3;
}
.reports-art .url i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-style: normal; }
.reports-art .url i .icon { width: 16px; height: 16px; }
@media (max-width: 999px) {
  .reports-art { min-height: 0; display: grid; gap: 16px; justify-items: center; }
  .reports-art .paper, .reports-art .phone, .reports-art .url { position: static; transform: none; }
  .reports-art .paper { width: min(100%, 440px); }
  .reports-art .phone.second, .reports-art .phone { display: none; }
}

/* ---------- Widgets ---------- */

.widgets {
  margin-top: clamp(72px, 11vw, 140px);
  background:
    radial-gradient(50% 50% at 10% 10%, rgba(55, 215, 255, 0.45), transparent 70%),
    radial-gradient(45% 50% at 95% 30%, rgba(123, 92, 255, 0.6), transparent 70%),
    radial-gradient(40% 40% at 60% 105%, rgba(255, 79, 168, 0.35), transparent 70%),
    linear-gradient(165deg, #3d5cff 0%, #1f35e6 45%, #1220b8 80%, #0b1595 100%);
  color: #fff;
  border-radius: clamp(36px, 6vw, 72px);
  padding: clamp(64px, 9vw, 120px) 0;
  overflow: hidden;
}
.widgets .eyebrow { color: rgba(255, 255, 255, 0.75); }
.widgets .lead { color: rgba(255, 255, 255, 0.82); }
.widget-stage {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  align-items: start;
  justify-items: center;
}
@media (min-width: 760px) { .widget-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .widget-stage { grid-template-columns: 1.15fr 1fr 0.9fr; } }

.screen {
  width: 100%;
  max-width: 380px;
  border-radius: 44px;
  padding: 22px 18px;
  position: relative;
  box-shadow: 0 30px 70px rgba(5, 10, 80, 0.4), inset 0 0 0 1.5px rgba(255, 255, 255, 0.18);
}
.screen-label {
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.75); text-transform: uppercase;
  text-align: center; margin-top: 12px;
}
.home { background: linear-gradient(170deg, #9fd8ff 0%, #6f8dff 45%, #7b5cff 100%); }
.lock { background: linear-gradient(180deg, #11142b 0%, #232a6b 60%, #3b2a7a 100%); text-align: center; }
.lock .lock-time { font-family: ui-rounded, "SF Pro Rounded", var(--display); font-size: 78px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; margin: 10px 0 4px; }
.lock .lock-date { font-weight: 700; opacity: 0.85; font-size: 15px; }

.wgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.w {
  background: #fff;
  color: #0e0e14;
  border-radius: 22px;
  padding: 13px;
  box-shadow: 0 8px 24px rgba(5, 10, 80, 0.18);
  aspect-ratio: 1;
  display: flex; flex-direction: column;
  min-width: 0;
  transition: background 0.4s, color 0.4s;
}
.w.wide { grid-column: span 2; aspect-ratio: 2.15; }
.w.large { grid-column: span 2; aspect-ratio: auto; }
.w.blue { background: linear-gradient(160deg, var(--blue-light), var(--blue-deep)); color: #fff; }
.w .mono { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; opacity: 0.7; }
.w .wtime { font-family: ui-rounded, "SF Pro Rounded", var(--display); font-weight: 900; font-size: 24px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.w .wname { font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w .wbtn {
  margin-top: auto;
  border: 0; cursor: pointer;
  border-radius: 999px;
  height: 30px;
  font-weight: 800; font-size: 12.5px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: #fff; color: var(--blue);
}
.w:not(.blue) .wbtn { background: linear-gradient(180deg, var(--blue-light), var(--blue-deep)); color: #fff; }
.w .wbtn .icon { width: 12px; height: 12px; }
.qs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; flex: 1; }
.qs button, .qbig {
  border: 0; cursor: pointer;
  border-radius: 14px;
  background: #ececf1;
  color: #0e0e14;
  display: flex; align-items: center; gap: 7px;
  padding: 0 9px;
  text-align: left;
  font-weight: 800; font-size: 12px;
  min-width: 0;
  transition: background 0.3s, color 0.3s, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.qs button:active, .qbig:active { transform: scale(0.94); }
.qs button span, .qbig span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.qs button small { display: block; font-weight: 700; opacity: 0.8; font-variant-numeric: tabular-nums; }
.qs .pl, .qbig .pl {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--c); color: #fff;
}
.qs .pl .icon, .qbig .pl .icon { width: 10px; height: 10px; }
.qs button.on, .qbig.on { background: var(--c); color: #fff; }
.qs button.on .pl, .qbig.on .pl { background: #fff; color: var(--c); }
.qbig { flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 12px; height: 100%; font-size: 15px; }
.qbig .pl { width: 40px; height: 40px; }
.qbig .pl .icon { width: 16px; height: 16px; }
.qbig b { font-variant-numeric: tabular-nums; font-size: 18px; }
.wl-head { display: flex; align-items: center; gap: 10px; border-radius: 16px; padding: 10px 12px; background: linear-gradient(160deg, var(--blue-light), var(--blue-deep)); color: #fff; }
.wl-head.idle { background: #f4f4f7; color: #0e0e14; }
.wl-head .wtime { font-size: 26px; }
.wl-head .stop { margin-left: auto; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; display: grid; place-items: center; }
.wl-head .stop i { width: 13px; height: 13px; border-radius: 3px; background: var(--blue); }
.wl-head .go { margin-left: auto; border: 0; cursor: pointer; border-radius: 999px; padding: 0 12px; height: 32px; color: #fff; font-weight: 800; font-size: 12px; background: linear-gradient(180deg, var(--blue-light), var(--blue-deep)); }
.wl-bar { display: flex; gap: 2px; height: 8px; margin: 11px 0 6px; }
.wl-bar i { border-radius: 3px; background: var(--c); transition: flex-grow 0.6s; min-width: 3px; }
.wl-legend { display: flex; gap: 10px; flex-wrap: wrap; font-size: 10.5px; font-weight: 700; color: #6b6b78; }
.wl-legend span { display: inline-flex; align-items: center; gap: 4px; }
.wl-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.wl-week { display: flex; align-items: flex-end; gap: 6px; margin: 10px 0; }
.wl-week span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 700; color: #8b8b98; }
.wl-week span i { width: 9px; height: 44px; border-radius: 5px; background: #ececf1; position: relative; overflow: hidden; }
.wl-week span i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--h) * 100%); border-radius: 5px; background: rgba(35, 67, 255, 0.45); transition: height 0.6s; }
.wl-week span.today i::after { background: linear-gradient(180deg, var(--blue-light), var(--blue-deep)); }
.wl-week span.today { color: #0e0e14; }
.wl-week .total { flex: 1.8; align-items: flex-end; text-align: right; font-size: 9px; }
.wl-week .total b { font-size: 13px; color: #0e0e14; font-variant-numeric: tabular-nums; }

.lock-widgets { display: flex; justify-content: center; gap: 10px; margin: 18px 0 0; }
.gauge {
  width: 64px; height: 64px; border-radius: 50%;
  background: conic-gradient(#fff calc(var(--p) * 1%), rgba(255, 255, 255, 0.22) 0);
  display: grid; place-items: center;
  position: relative;
}
.gauge::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #1b2150; }
.gauge span { position: relative; font-weight: 900; font-size: 14px; line-height: 1; }
.gauge small { display: block; font-size: 8px; font-weight: 700; opacity: 0.75; }
.rect {
  text-align: left;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 8px 12px;
  min-width: 150px;
  backdrop-filter: blur(10px);
}
.rect small { display: flex; align-items: center; gap: 5px; font-weight: 800; font-size: 12px; opacity: 0.9; }
.rect small .icon { width: 12px; height: 12px; }
.rect b { font-family: ui-rounded, "SF Pro Rounded", var(--display); font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.activity {
  margin-top: 150px;
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  color: #0e0e14;
  border-radius: 26px;
  padding: 14px;
  text-align: left;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}
.activity .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; background: var(--c); transition: background 0.4s; }
.activity .ico .icon { width: 22px; height: 22px; }
.activity b { display: block; font-size: 16px; }
.activity .big { font-family: ui-rounded, "SF Pro Rounded", var(--display); font-weight: 900; font-size: 24px; color: var(--blue); font-variant-numeric: tabular-nums; line-height: 1.1; }
.activity small { display: block; color: #6b6b78; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.activity .stop { margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(180deg, var(--blue-light), var(--blue-deep)); display: grid; place-items: center; flex: none; }
.activity .stop i { width: 14px; height: 14px; border-radius: 3px; background: #fff; }
.activity.idle { opacity: 0.4; }

.side { display: grid; gap: 22px; width: 100%; max-width: 380px; }
.island-wrap {
  background: #0b0b14;
  border-radius: 34px;
  padding: 26px 18px 22px;
  display: grid; justify-items: center; gap: 14px;
  box-shadow: 0 30px 70px rgba(5, 10, 80, 0.4);
}
.island {
  display: flex; align-items: center; justify-content: space-between;
  background: #000;
  color: #fff;
  border-radius: 999px;
  height: 40px;
  width: 210px;
  padding: 0 16px 0 12px;
  transition: width 0.5s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.island.idle { width: 120px; }
.island .icon { width: 18px; height: 18px; color: var(--c); }
.island b { font-variant-numeric: tabular-nums; font-size: 15px; }
.cc {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border-radius: 34px;
  padding: 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}
.cc button {
  border: 0; cursor: pointer; background: none; color: #fff;
  display: grid; justify-items: center; gap: 6px;
  font-weight: 700; font-size: 11.5px;
}
.cc button i {
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.3s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cc button i .icon { width: 24px; height: 24px; }
.cc button:active i { transform: scale(0.9); }
.cc button[aria-pressed="true"] i { background: #fff; color: var(--c); }
.cc button span { max-width: 80px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.widget-points { display: grid; gap: 12px; margin-top: 48px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .widget-points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .widget-points { grid-template-columns: repeat(4, 1fr); } }
.widget-points div { background: rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 20px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.widget-points h3 { margin: 0 0 6px; font-size: 18px; font-weight: 900; letter-spacing: -0.02em; }
.widget-points p { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 15px; }
.widgets .time-hint { color: rgba(255, 255, 255, 0.85); justify-content: center; margin-top: 26px; }
.widgets .time-hint .icon { color: var(--lime); }

@media (prefers-reduced-motion: reduce) {
  .tblock, .tcard-head .dot, .tblock .live { animation: none; }
}

/* Siri tile in the features */
.siri-phrases { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: auto; padding-top: 20px; }
.siri-phrases span {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 18px 18px 18px 6px;
  padding: 9px 14px;
  font-weight: 800;
  font-size: 15px;
}
