.vbt-timer {
  --vbt-bg: var(--theme-palette-color-3, #000000);
  --vbt-surface: var(--theme-palette-color-4, #1C1C1C);
  --vbt-surface-soft: rgba(255, 255, 255, 0.03);
  --vbt-border: rgba(255, 255, 255, 0.1);
  --vbt-text: var(--theme-palette-color-8, #ffffff);;
  --vbt-text-soft: rgba(255, 255, 255, 0.74);
  --vbt-accent: var(--theme-palette-color-1, #4B0082);
  --vbt-accent-2: var(--theme-palette-color-2, #6108a17d);
  --vbt-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  display: grid;
  gap: 1.25rem;
  color: var(--vbt-text);
  font-family: inherit;
}

.vbt-timer [hidden] {
  display: none !important;
}

.vbt-panel {
  position: relative;
  width: min(100%, 860px);
  border-radius: 24px;
  border: 1px solid var(--vbt-border);
  background: var(--vbt-surface);
  box-shadow: var(--vbt-shadow);
}

.vbt-panel-controls,
.vbt-panel-main {
  padding: 1.5rem;
}

.vbt-panel-controls,
.vbt-panel-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vbt-controls-header,
.vbt-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin:1.2rem 0 1.2rem 0;
}

.vbt-title {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 1.5rem);
  line-height: 1.08;
  color: #fff;
}

.vbt-label,
.vbt-status-label,
.vbt-phase-label {
  color: var(--vbt-text-soft);
}

.vbt-label {
  display: block;
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.vbt-status-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.vbt-field {
  display: flex;
  flex-direction: column;
}

.vbt-pattern-select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.vbt-pattern-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.vbt-pattern-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-height: 92px;
  padding: 0.95rem;
  border-radius: 18px;
  border: 1px solid var(--vbt-border);
  background: var(--vbt-surface-soft);
  color: var(--vbt-text);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.vbt-pattern-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
}

.vbt-pattern-card[aria-checked="true"] {
  border-color: var(--vbt-accent);
  box-shadow: 0 0 0 1px var(--vbt-accent);
}

.vbt-pattern-card-icon,
.vbt-sound-option i,
.vbt-phase-chip i {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.vbt-pattern-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--vbt-accent);
  font-size: 1rem;
}

.vbt-pattern-card-copy {
  display: grid;
  gap: 0.3rem;
}

.vbt-pattern-card-copy strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.vbt-pattern-card-copy span {
  color: var(--vbt-text-soft);
  font-size: 0.86rem;
  line-height: 1.35;
}

.vbt-custom-settings,
.vbt-status-card {
  border-radius: 20px;
  border: 1px solid var(--vbt-border);
  background: var(--vbt-surface-soft);
}

.vbt-custom-settings {
  padding: 1rem;
}

.vbt-custom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.vbt-custom-input {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  border: 1px solid var(--vbt-border);
  background: #fff;
  color: #111827;
}

.vbt-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.7fr);
  gap: 1rem;
  align-items: end;
}

.vbt-cycle-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.vbt-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: nowrap;
}

.vbt-stepper-value {
  min-width: 48px;
  height: 48px;
  padding: 0 0.9rem;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: var(--vbt-surface-soft);
  border: 1px solid var(--vbt-border);
  color: #fff;
  font-weight: 700;
  box-shadow: none;
}

.vbt-stepper-button,
.vbt-icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--vbt-border);
  border-radius: 999px;
  background: var(--vbt-surface-soft);
  color: #fff;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.vbt-cycles-input,
.vbt-delay-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.vbt-phase-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vbt-phase-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: #fff;
}

.vbt-phase-chip i {
  color: var(--vbt-accent);
}

.vbt-phase-chip strong,
.vbt-phase-chip span {
  line-height: 1;
}

.vbt-actions,
.vbt-timer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.vbt-settings-actions {
  justify-content: space-between;
  align-items: center;
}

.vbt-button,
.vbt-icon-button,
.vbt-stepper-button,
.vbt-sound-option {
  cursor: pointer;
  color: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.vbt-button:hover,
.vbt-stepper-button:hover,
.vbt-icon-button:hover,
.vbt-sound-option:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
}

.vbt-button:disabled,
.vbt-icon-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.vbt-button {
  min-height: 46px;
  border-radius: 16px;
  border: 1px solid var(--vbt-border);
  padding: 0.8rem 1rem;
  background: var(--vbt-surface-soft);
}

.vbt-button-ghost {
  background: transparent;
}

.vbt-sound-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.vbt-sound-label {
  margin-bottom: 0;
}

.vbt-sound-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.vbt-sound-option {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--vbt-border);
  padding: 0.65rem 0.9rem;
  background: transparent;
  color: var(--vbt-text-soft);
}

.vbt-sound-option[aria-pressed="true"] {
  color: #fff;
  background: var(--vbt-surface-soft);
  border-color: color-mix(in srgb, var(--vbt-accent) 55%, var(--vbt-border));
}

.vbt-sound-option[aria-pressed="true"] i {
  color: var(--vbt-accent);
}

.vbt-timer-actions {
  justify-content: center;
  margin: -0.25rem 0 0.25rem;
}

.vbt-icon-button.vbt-start-toggle {
  width: 58px;
  height: 58px;
  padding: 0;
  background: var(--vbt-accent);
  border-color: transparent;
  box-shadow: 0 14px 30px color-mix(in srgb, var(--vbt-accent) 35%, transparent);
}

.vbt-icon-play {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid currentColor;
  margin-left: 4px;
}

.vbt-pause-bars {
  display: none;
  gap: 0.25rem;
}

.vbt-pause-bars span {
  width: 5px;
  height: 18px;
  border-radius: 999px;
  background: currentColor;
  display: inline-block;
}

.vbt-start-toggle[data-state="pause"] .vbt-icon-play {
  display: none;
}

.vbt-start-toggle[data-state="pause"] .vbt-pause-bars {
  display: inline-flex;
}

.vbt-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.vbt-orbit {
  position: absolute;
  width: min(100%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  opacity: 0.8;
}

.vbt-breath-core {
  width: clamp(180px, 32vw, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  --vbt-core-color: rgba(255, 255, 255, 0.08);
  --vbt-core-ring: rgba(255, 255, 255, 0.05);
  background: var(--vbt-core-color);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 12px var(--vbt-core-ring), 0 18px 50px rgba(0, 0, 0, 0.26);
  display: grid;
  place-items: center;
  transform: scale(0.78);
  opacity: 0.82;
  transition: transform var(--vbt-phase-duration, 1s) linear, box-shadow 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.vbt-breath-core[data-phase-key="inhale"],
.vbt-breath-core[data-phase-key="inhale-left"],
.vbt-breath-core[data-phase-key="inhale-right"] {
  --vbt-core-color: color-mix(in srgb, var(--vbt-accent) 68%, #111827);
  --vbt-core-ring: color-mix(in srgb, var(--vbt-accent) 26%, transparent);
  background: var(--vbt-core-color) !important;
  transform: scale(1.08);
  opacity: 1;
  box-shadow: 0 0 0 24px var(--vbt-core-ring), 0 18px 50px rgba(0, 0, 0, 0.26);
}

.vbt-breath-core[data-phase-key="exhale"],
.vbt-breath-core[data-phase-key="exhale-left"],
.vbt-breath-core[data-phase-key="exhale-right"] {
  --vbt-core-color: color-mix(in srgb, var(--vbt-accent-2) 68%, #111827);
  --vbt-core-ring: color-mix(in srgb, var(--vbt-accent-2) 26%, transparent);
  background: var(--vbt-core-color) !important;
  transform: scale(0.78);
  opacity: 0.88;
  box-shadow: 0 0 0 8px var(--vbt-core-ring), 0 18px 50px rgba(0, 0, 0, 0.22);
}

.vbt-breath-core[data-phase-key="hold"],
.vbt-breath-core[data-phase-key="hold-after-exhale"],
.vbt-breath-core[data-phase-key="countdown"] {
  --vbt-core-color: rgba(255, 255, 255, 0.06);
  --vbt-core-ring: rgba(255, 255, 255, 0.04);
  background: var(--vbt-core-color) !important;
  transform: scale(1);
  opacity: 0.68;
  box-shadow: 0 0 0 10px var(--vbt-core-ring), 0 18px 50px rgba(0, 0, 0, 0.2);
}

.vbt-breath-core[data-phase-key="ready"] {
  background: rgba(255, 255, 255, 0.06) !important;
  transform: scale(0.78);
}

.vbt-breath-inner {
  text-align: center;
  padding: 1rem;
}

.vbt-phase-label {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #fff;
}

.vbt-phase-countdown {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: #fff;
}

.vbt-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.vbt-status-card {
  padding: 1rem;
}

@supports not (background: color-mix(in srgb, #000 50%, transparent)) {
  .vbt-sound-option[aria-pressed="true"],
  .vbt-pattern-card[aria-checked="true"] {
    border-color: var(--vbt-accent);
  }

  .vbt-breath-core[data-phase-key="inhale"],
  .vbt-breath-core[data-phase-key="inhale-left"],
  .vbt-breath-core[data-phase-key="inhale-right"] {
    background: var(--vbt-accent) !important;
  }

  .vbt-breath-core[data-phase-key="exhale"],
  .vbt-breath-core[data-phase-key="exhale-left"],
  .vbt-breath-core[data-phase-key="exhale-right"] {
    background: var(--vbt-accent-2) !important;
  }
}

@media (max-width: 860px) {
  .vbt-pattern-cards,
  .vbt-settings-grid,
  .vbt-custom-grid {
    grid-template-columns: 1fr;
  }

  .vbt-cycle-row {
    grid-template-columns: 1fr;
  }

  .vbt-settings-actions,
  .vbt-sound-row {
    align-items: stretch;
    flex-direction: column;
  }

  .vbt-sound-options {
    width: 100%;
  }

  .vbt-sound-option {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .vbt-panel-controls,
  .vbt-panel-main {
    padding: 1rem;
  }

  .vbt-header,
  .vbt-controls-header {
    flex-direction: column;
  }

  .vbt-status-grid {
    grid-template-columns: 1fr;
  }

  .vbt-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .vbt-button {
    width: 100%;
  }

  .vbt-visual {
    min-height: 300px;
  }
}

/* v1.5.1 refinements */
.vbt-svg-icon,
.vbt-mini-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: currentColor;
}

.vbt-svg-icon {
  width: 1.15em;
  height: 1.15em;
}

.vbt-svg-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vbt-pattern-card-icon .vbt-svg-icon {
  width: 20px;
  height: 20px;
}

.vbt-settings-grid {
  grid-template-columns: 1fr;
}

.vbt-cycle-row {
  grid-template-columns: auto minmax(0, 1fr);
}

.vbt-cycles-field {
  width: 100%;
}

.vbt-sound-row {
  width: 100%;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid var(--vbt-border);
  background: var(--vbt-surface-soft);
}

.vbt-sound-options {
  flex: 1 1 auto;
}

.vbt-sound-option .vbt-svg-icon {
  width: 18px;
  height: 18px;
}

.vbt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.vbt-reset-button .vbt-svg-icon {
  width: 17px;
  height: 17px;
}

.vbt-custom-input,
.vbt-cycles-input,
.vbt-delay-input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.vbt-custom-field {
  min-width: 0;
}

.vbt-custom-stepper {
  width: 100%;
  justify-content: flex-start;
}

.vbt-custom-value {
  min-width: 54px;
}

.vbt-mini-icon {
  width: 17px;
  height: 17px;
  border-radius: 999px;
  border: 1px solid currentColor;
  opacity: 0.95;
  position: relative;
}

.vbt-mini-icon-lungs::before {
  content: "";
  width: 8px;
  height: 10px;
  border: 1px solid currentColor;
  border-radius: 999px 999px 6px 6px;
  box-shadow: 5px 0 0 -1px var(--vbt-surface-soft), 5px 0 0 0 currentColor;
}

.vbt-mini-icon-wind::before {
  content: "";
  width: 10px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.vbt-mini-icon-hold::before,
.vbt-mini-icon-hold::after {
  content: "";
  width: 2px;
  height: 8px;
  border-radius: 99px;
  background: currentColor;
  position: absolute;
}

.vbt-mini-icon-hold::before {
  left: 6px;
}

.vbt-mini-icon-hold::after {
  right: 6px;
}

.vbt-phase-chip .vbt-mini-icon {
  color: var(--vbt-accent);
}

@media (max-width: 860px) {
  .vbt-cycle-row {
    grid-template-columns: 1fr;
  }

  .vbt-sound-row {
    align-items: stretch;
  }

  .vbt-sound-options {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* v1.5.2 fixes */
.vbt-pattern-card[aria-checked="true"],
.vbt-sound-option[aria-pressed="true"] {
  border-color: #fff !important;
  box-shadow: 0 0 0 1px #fff !important;
}

.vbt-pattern-card-icon,
.vbt-pattern-card-icon .vbt-svg-icon,
.vbt-phase-chip .vbt-mini-icon,
.vbt-sound-option .vbt-svg-icon,
.vbt-reset-button .vbt-svg-icon {
  color: #fff !important;
}

.vbt-cycles-field,
.vbt-delay-field {
  width: 100%;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid var(--vbt-border);
  background: var(--vbt-surface-soft);
}

.vbt-cycles-field .vbt-stepper-value,
.vbt-delay-field .vbt-stepper-value,
.vbt-custom-value {
  background: rgba(255, 255, 255, 0.06);
}

.vbt-settings-actions {
  justify-content: flex-start;
}

.vbt-delay-field .vbt-stepper {
  width: auto;
}

.vbt-sound-option[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.08);
}

.vbt-breath-core[data-phase-key="inhale"],
.vbt-breath-core[data-phase-key="inhale-left"],
.vbt-breath-core[data-phase-key="inhale-right"] {
  --vbt-core-color: var(--vbt-accent);
  --vbt-core-ring: color-mix(in srgb, var(--vbt-accent) 30%, transparent);
}

.vbt-breath-core[data-phase-key="exhale"],
.vbt-breath-core[data-phase-key="exhale-left"],
.vbt-breath-core[data-phase-key="exhale-right"] {
  --vbt-core-color: var(--vbt-accent-2);
  --vbt-core-ring: color-mix(in srgb, var(--vbt-accent-2) 30%, transparent);
}

@media (max-width: 860px) {
  .vbt-delay-field,
  .vbt-cycles-field,
  .vbt-sound-row {
    box-sizing: border-box;
  }
}

/* v1.6.0 two-column layout and advanced sound settings */
@media (min-width: 981px) {
  .vbt-timer {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    align-items: start;
  }

  .vbt-panel {
    width: 100%;
  }

  .vbt-panel-main {
    position: sticky;
    top: 1.25rem;
  }

  .vbt-pattern-cards {
    grid-template-columns: 1fr;
  }
}

.vbt-sound-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.vbt-sound-groups {
  display: grid;
  gap: 0.8rem;
  width: 100%;
}

.vbt-sound-group {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
}

.vbt-sound-group-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.vbt-sound-group-label .vbt-svg-icon {
  width: 18px;
  height: 18px;
  color: #fff !important;
}

.vbt-sound-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.vbt-sound-option {
  min-height: 38px;
  padding: 0.55rem 0.75rem;
  justify-content: center;
  font-size: 0.88rem;
}

.vbt-sound-option[aria-pressed="true"] {
  border-color: #fff !important;
  box-shadow: 0 0 0 1px #fff !important;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 980px) {
  .vbt-timer {
    grid-template-columns: 1fr;
  }

  .vbt-panel {
    width: 100%;
  }

  .vbt-panel-main {
    position: relative;
    top: auto;
  }
}

@media (max-width: 720px) {
  .vbt-sound-row,
  .vbt-sound-group {
    grid-template-columns: 1fr;
  }

  .vbt-sound-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vbt-sound-option {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .vbt-sound-options {
    grid-template-columns: 1fr;
  }
}

/* v1.6.1 sound refinements */
.vbt-help {
  display: block;
  margin: -0.25rem 0 0.65rem;
  color: var(--vbt-text-soft);
  font-size: 0.82rem;
}

.vbt-sound-option-icon {
  min-width: 42px;
  padding-inline: 0.65rem;
}

.vbt-sound-option-icon .vbt-svg-icon {
  width: 18px;
  height: 18px;
}

.vbt-volume-control {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 52px;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}

.vbt-volume-input {
  width: 100%;
  accent-color: var(--vbt-accent);
}

.vbt-volume-value {
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-align: right;
}

.vbt-volume-group .vbt-sound-options,
.vbt-volume-group .vbt-volume-control {
  min-width: 0;
}

@media (max-width: 720px) {
  .vbt-volume-control {
    grid-template-columns: 1fr auto;
  }
}

/* v1.6.2 finishing refinements */
.vbt-phase-chip .vbt-mini-icon,
.vbt-mini-icon {
  color: #fff !important;
}

.vbt-mini-icon-cloud::before {
  content: "";
  width: 12px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  position: relative;
}

.vbt-mini-icon-cloud::after {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  position: absolute;
  top: 3px;
  left: 4px;
  background: var(--vbt-surface-soft);
}

.vbt-reset-button {
  background: var(--vbt-accent) !important;
  border-color: var(--vbt-accent) !important;
  color: #fff !important;
}

.vbt-reset-button:hover {
  background: color-mix(in srgb, var(--vbt-accent) 88%, #fff) !important;
}

.vbt-sound-row {
  grid-template-columns: 1fr !important;
}

.vbt-sound-label {
  margin-bottom: 0.2rem !important;
}

/* v1.6.3 icon fixes */
.vbt-mini-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vbt-mini-icon:has(svg)::before,
.vbt-mini-icon:has(svg)::after {
  content: none !important;
}

/* v1.6.4 ergonomics refinements */
.vbt-mini-icon {
  border: 0 !important;
  border-radius: 0 !important;
  width: 20px !important;
  height: 20px !important;
}

.vbt-mini-icon svg {
  stroke-width: 1.9;
}

.vbt-mini-icon-hold svg {
  stroke-width: 2.8;
}

.vbt-svg-icon-volume-off svg {
  overflow: visible;
}

/* v1.6.5 layout and hold-position refinements */
.vbt-settings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch;
}

.vbt-cycles-field,
.vbt-delay-field {
  box-sizing: border-box;
}

.vbt-cycles-field .vbt-stepper,
.vbt-delay-field .vbt-stepper {
  width: 100%;
  justify-content: flex-start;
}

.vbt-breath-core[data-phase-key="hold"] {
  --vbt-core-color: rgba(255, 255, 255, 0.06);
  --vbt-core-ring: rgba(255, 255, 255, 0.04);
  background: var(--vbt-core-color) !important;
  transform: scale(1.08);
  opacity: 0.68;
  box-shadow: 0 0 0 10px var(--vbt-core-ring), 0 18px 50px rgba(0, 0, 0, 0.2);
}

.vbt-breath-core[data-phase-key="hold-after-exhale"],
.vbt-breath-core[data-phase-key="countdown"] {
  --vbt-core-color: rgba(255, 255, 255, 0.06);
  --vbt-core-ring: rgba(255, 255, 255, 0.04);
  background: var(--vbt-core-color) !important;
  transform: scale(0.78);
  opacity: 0.68;
  box-shadow: 0 0 0 10px var(--vbt-core-ring), 0 18px 50px rgba(0, 0, 0, 0.2);
}

.vbt-status-grid {
  display: grid;
  gap: 0.9rem;
}

.vbt-status-row {
  display: grid;
  gap: 0.9rem;
}

.vbt-status-row-main {
  grid-template-columns: minmax(0, 2fr) minmax(120px, 1fr);
}

.vbt-status-row-detail {
  grid-template-columns: minmax(120px, 1fr) minmax(0, 2fr);
}

.vbt-current-pattern {
  overflow-wrap: anywhere;
}

.vbt-status-card-detail .vbt-phase-chips {
  margin-top: 0.15rem;
}

@media (max-width: 640px) {
  .vbt-settings-grid,
  .vbt-status-row-main,
  .vbt-status-row-detail {
    grid-template-columns: 1fr !important;
  }
}

.vbt-status-grid {
  grid-template-columns: 1fr !important;
}

@media (max-width: 720px) {
  .vbt-settings-grid,
  .vbt-status-row-main,
  .vbt-status-row-detail {
    grid-template-columns: 1fr !important;
  }
}

/* v1.6.6 ergonomics refinements */
@media (min-width: 981px) {
  .vbt-timer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }
}

.vbt-cycle-detail-field {
  width: 100%;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid var(--vbt-border);
  background: var(--vbt-surface-soft);
  box-sizing: border-box;
}

.vbt-cycle-detail-field .vbt-phase-chips {
  margin-top: 0.15rem;
}

.vbt-settings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
}

.vbt-delay-field .vbt-label {
  margin-bottom: 0.45rem;
}

.vbt-status-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(110px, 1fr) minmax(110px, 1fr) !important;
  gap: 0.9rem !important;
}

.vbt-status-card-technique {
  min-width: 0;
}

.vbt-current-pattern {
  overflow-wrap: normal;
  word-break: normal;
}

.vbt-breath-core[data-phase-key="hold"] {
  transform: scale(1.08) !important;
}

.vbt-breath-core[data-phase-key="hold-after-exhale"] {
  transform: scale(0.78) !important;
}

@media (max-width: 720px) {
  .vbt-settings-grid,
  .vbt-status-grid {
    grid-template-columns: 1fr !important;
  }
}
