/**
 * Mobile Exercises & Breathing Tool Styles
 *
 * Styles for the exercises submenu, exercise category cards,
 * and the full breathing tool (picker → settings → active → complete).
 *
 * @package Transtoyou
 * @since 1.0.0
 */

/* ============================================================
   EXERCISES SUBMENU - CATEGORY LIST
   ============================================================ */

.tty-exercise-link-count {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--tty-text-secondary);
	margin-top: 2px;
	white-space: normal;
	line-height: 1.4
}

.tty-mobile-submenu-link--disabled {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px;
	background: var(--tty-bg-secondary);
	border-radius: 12px;
	color: var(--tty-text-secondary);
	font-size: 16px;
	font-weight: 500;
	border: 1px solid transparent;
	opacity: 0.6;
	cursor: default;
	pointer-events: none
}

.tty-mobile-submenu-link--disabled .tty-mobile-submenu-link-content i {
	color: var(--tty-text-secondary)
}

.tty-exercise-coming-soon-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	background: var(--tty-bg-primary);
	border: 1px solid var(--tty-border-light);
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	color: var(--tty-text-secondary);
	white-space: nowrap;
	flex-shrink: 0
}

/* ============================================================
   BREATHING SUBMENU - GENERAL LAYOUT
   ============================================================ */

.tty-breathing-submenu .tty-mobile-submenu-header {
	padding-right: 15px
}

.tty-breathing-back-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: none;
	background: var(--tty-bg-secondary);
	border-radius: 12px;
	color: var(--tty-primary);
	font-size: 16px;
	cursor: pointer;
	transition: 0.15s;
	flex-shrink: 0
}


.tty-breathing-settings-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,95,95,.08);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: .15s;
  color: var(--tty-primary);
}

.tty-breathing-settings-btn:hover {
	background: var(--tty-primary);
	color: #fff
}

.tty-breathing-back-btn i {
  font-size: 20px;
}

/* ============================================================
   BREATHING SCREENS
   ============================================================ */

.tty-breathing-screen {
	min-height: calc(100vh - 65px);
	display: flex;
	flex-direction: column
}

.tty-breathing-screen--hidden {
	display: none
}

.tty-breathing-screen--active-bg {
	background: #418c98;
	min-height: calc(100vh - 65px)
}

[data-theme=dark] .tty-breathing-screen--active-bg {
	background: #0d3d6b
}

.tty-breathing-screen-content {
	padding: 20px 20px 40px
}

.tty-breathing-intro {
	font-size: 15px;
	color: var(--tty-text-secondary);
	line-height: 1.6;
	margin-bottom: 24px
}

/* ============================================================
   EXERCISE PICKER - CARDS
   ============================================================ */

.tty-breathing-exercise-list {
	display: flex;
	flex-direction: column;
	gap: 12px
}

.tty-breathing-exercise-card {
	width: 100%;
	text-align: left;
	background: var(--tty-bg-secondary);
	border: 2px solid transparent;
	border-radius: 16px;
	padding: 18px;
	cursor: pointer;
	transition: 0.2s;
	font-family: inherit
}

.tty-breathing-exercise-card-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 10px
}

.tty-breathing-exercise-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--tty-primary);
	border-radius: 12px;
	font-size: 20px;
	color: #fff;
	flex-shrink: 0
}

.tty-breathing-exercise-info {
	flex: 1;
	min-width: 0
}

.tty-breathing-exercise-name {
	font-size: 16px;
	font-weight: 600;
	color: var(--tty-text-primary);
	margin: 0 0 4px
}

.tty-breathing-exercise-pattern {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap
}

.tty-breathing-exercise-pattern span {
	font-size: 12px;
	color: var(--tty-primary);
	font-weight: 500
}

.tty-breathing-pattern-sep {
	color: var(--tty-text-secondary) !important;
	font-weight: 400 !important
}

.tty-breathing-exercise-chevron {
	font-size: 14px;
	color: var(--tty-text-secondary);
	flex-shrink: 0
}

.tty-breathing-exercise-desc {
	font-size: 14px;
	color: var(--tty-text-secondary);
	line-height: 1.5;
	margin: 0 0 12px
}

/* Wellness Tags */

.tty-breathing-exercise-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px
}

.tty-breathing-tag {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.3px
}

.tty-breathing-tag--sleep     { background: #e8f0fe; color: #4a6cf7 }
.tty-breathing-tag--stress    { background: #fce8e8; color: #d93025 }
.tty-breathing-tag--focus     { background: #e6f4ea; color: #1e8e3e }
.tty-breathing-tag--anxiety   { background: #fef3e2; color: #e37400 }
.tty-breathing-tag--balance   { background: #e8f5e9; color: #2e7d32 }
.tty-breathing-tag--energy    { background: #fff3e0; color: #ef6c00 }
.tty-breathing-tag--lungs     { background: #e3f2fd; color: #1565c0 }
.tty-breathing-tag--recovery  { background: #f3e5f5; color: #7b1fa2 }

[data-theme=dark] .tty-breathing-tag--sleep     { background: rgba(74, 108, 247, 0.15); color: #7e9cf9 }
[data-theme=dark] .tty-breathing-tag--stress    { background: rgba(217, 48, 37, 0.15); color: #ef9a9a }
[data-theme=dark] .tty-breathing-tag--focus     { background: rgba(30, 142, 62, 0.15); color: #81c784 }
[data-theme=dark] .tty-breathing-tag--anxiety   { background: rgba(227, 116, 0, 0.15); color: #ffb74d }
[data-theme=dark] .tty-breathing-tag--balance   { background: rgba(46, 125, 50, 0.15); color: #a5d6a7 }
[data-theme=dark] .tty-breathing-tag--energy    { background: rgba(239, 108, 0, 0.15); color: #ffcc80 }
[data-theme=dark] .tty-breathing-tag--lungs     { background: rgba(21, 101, 192, 0.15); color: #90caf9 }
[data-theme=dark] .tty-breathing-tag--recovery  { background: rgba(123, 31, 162, 0.15); color: #ce93d8 }

/* ============================================================
   SETTINGS SCREEN
   ============================================================ */

.tty-breathing-selected-exercise {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 24px;
	padding: 18px;
	background: var(--tty-bg-secondary);
	border-radius: 16px
}

.tty-breathing-selected-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: var(--tty-primary);
	border-radius: 12px;
	font-size: 22px;
	color: #fff;
	flex-shrink: 0
}

.tty-breathing-selected-name {
	font-size: 18px;
	font-weight: 600;
	color: var(--tty-text-primary);
	margin: 0 0 6px
}

.tty-breathing-selected-desc {
	font-size: 14px;
	color: var(--tty-text-secondary);
	line-height: 1.5;
	margin: 0
}

/* Timing card */

.tty-breathing-timing-card {
	display: flex;
	flex-direction: column;
	gap: 0;
	background: var(--tty-bg-secondary);
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 16px
}

.tty-breathing-timing-row {
	display: flex;
	align-items: center;
	padding: 14px 18px;
	border-bottom: 1px solid var(--tty-border-light);
	gap: 14px
}

.tty-breathing-timing-row:last-child {
	border-bottom: none
}

.tty-breathing-timing-icon {
	font-size: 18px;
	width: 24px;
	text-align: center
}

.tty-breathing-timing-icon--inhale { color: #4a6cf7 }
.tty-breathing-timing-icon--hold   { color: #ef6c00 }
.tty-breathing-timing-icon--exhale { color: #1e8e3e }

.tty-breathing-timing-phase {
	flex: 1;
	font-size: 15px;
	font-weight: 500;
	color: var(--tty-text-primary)
}

.tty-breathing-timing-seconds {
	font-size: 15px;
	font-weight: 600;
	color: var(--tty-primary)
}

/* Repeat setting card */

.tty-breathing-setting-card {
	background: var(--tty-bg-secondary);
	border-radius: 16px;
	padding: 16px 18px;
	margin-bottom: 12px
}

.tty-breathing-setting-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px
}

.tty-breathing-setting-row i {
	font-size: 18px;
	color: var(--tty-primary);
	width: 24px;
	text-align: center
}

.tty-breathing-setting-label {
	flex: 1;
	font-size: 15px;
	font-weight: 500;
	color: var(--tty-text-primary)
}

.tty-breathing-repeat-value {
	font-size: 15px;
	font-weight: 600;
	color: var(--tty-primary)
}

.tty-breathing-slider-row {
	display: flex;
	align-items: center;
	gap: 12px
}

.tty-breathing-slider {
	flex: 1;
	-webkit-appearance: none;
	appearance: none;
	height: 6px;
	border-radius: 3px;
	background: var(--tty-border-light);
	outline: none;
	cursor: pointer
}

.tty-breathing-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--tty-primary);
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2)
}

.tty-breathing-slider::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--tty-primary);
	cursor: pointer;
	border: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2)
}

.tty-breathing-infinite-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 2px solid var(--tty-border-light);
	border-radius: 50%;
	background: transparent;
	color: var(--tty-text-secondary);
	font-size: 16px;
	cursor: pointer;
	transition: 0.15s;
	flex-shrink: 0
}

.tty-breathing-infinite-btn[aria-pressed=true],
.tty-breathing-infinite-btn.is-active {
	border-color: var(--tty-primary);
	color: var(--tty-primary);
	background: rgba(var(--tty-primary-rgb, 74, 108, 247), 0.08)
}

/* Exercise length display */

.tty-breathing-length-display {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	background: var(--tty-bg-secondary);
	border-radius: 16px;
	margin-bottom: 20px
}

.tty-breathing-length-label {
	font-size: 14px;
	color: var(--tty-text-secondary);
	font-weight: 500
}

.tty-breathing-length-value {
	font-size: 15px;
	font-weight: 700;
	color: var(--tty-text-primary)
}

/* Voice gender row — hidden until voice is enabled */

.tty-breathing-voice-gender-row {
	display: flex !important
}

.tty-breathing-voice-gender-row.is-hidden {
	display: none !important
}

.tty-breathing-gender-selector {
	display: flex;
	gap: 6px;
	flex-shrink: 0
}

.tty-breathing-gender-btn {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 6px 12px;
	border: 2px solid var(--tty-border-light);
	border-radius: 20px;
	background: transparent;
	color: var(--tty-text-secondary);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: 0.15s;
	font-family: inherit;
	white-space: nowrap
}

.tty-breathing-gender-btn i {
	font-size: 14px
}

.tty-breathing-gender-btn--active,
.tty-breathing-gender-btn[aria-pressed=true] {
	border-color: var(--tty-primary);
	color: var(--tty-primary);
	background: rgba(var(--tty-primary-rgb, 74, 108, 247), 0.06)
}

/* Reminder section */

.tty-breathing-reminder-section {
	background: var(--tty-bg-secondary);
	border-radius: 16px;
	margin-top: 16px;
	overflow: hidden
}

.tty-breathing-reminder-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 16px 18px;
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--tty-text-primary);
	text-align: left;
	-webkit-tap-highlight-color: transparent
}

.tty-breathing-reminder-header-left {
	display: flex;
	align-items: center;
	gap: 10px
}

.tty-breathing-reminder-header i {
	font-size: 18px;
	color: var(--tty-primary)
}

.tty-breathing-reminder-chevron {
	font-size: 13px;
	color: var(--tty-text-secondary);
	transition: transform 0.25s ease
}

.tty-breathing-reminder-section.is-open .tty-breathing-reminder-chevron {
	transform: rotate(180deg)
}

.tty-breathing-reminder-body {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.28s ease
}

.tty-breathing-reminder-section.is-open .tty-breathing-reminder-body {
	grid-template-rows: 1fr
}

.tty-breathing-reminder-inner {
	overflow: hidden;
	padding: 0 18px 18px
}

.tty-breathing-reminder-mode-switcher {
	display: flex;
	gap: 6px;
	margin-bottom: 16px
}

.tty-breathing-mode-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 10px;
	border: 1.5px solid var(--tty-border-light);
	border-radius: 10px;
	background: transparent;
	color: var(--tty-text-secondary);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: 0.15s;
	font-family: inherit
}

.tty-breathing-mode-btn i {
	font-size: 14px
}

.tty-breathing-mode-btn--active {
	border-color: var(--tty-primary);
	color: var(--tty-primary);
	background: rgba(var(--tty-primary-rgb, 74, 108, 247), 0.06)
}

.tty-breathing-reminder-panel--hidden {
	display: none
}

.tty-breathing-reminder-mode-desc {
	font-size: 12px;
	color: var(--tty-text-secondary);
	margin: 0 0 12px;
	line-height: 1.5
}

.tty-breathing-interval-btn {
	padding: 6px 11px;
	border: 1.5px solid var(--tty-border-light);
	border-radius: 20px;
	background: transparent;
	color: var(--tty-text-secondary);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: 0.15s;
	font-family: inherit;
	white-space: nowrap
}

.tty-breathing-interval-btn--active {
	border-color: var(--tty-primary);
	color: var(--tty-primary);
	background: rgba(var(--tty-primary-rgb, 74, 108, 247), 0.06)
}

.tty-breathing-reminder-window {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1
}

.tty-breathing-reminder-window-sep {
	font-size: 13px;
	color: var(--tty-text-secondary);
	flex-shrink: 0
}

.tty-breathing-reminder-preview {
	font-size: 12px;
	color: var(--tty-primary);
	font-weight: 500;
	margin: 4px 0 12px;
	min-height: 18px
}

.tty-breathing-reminder-desc {
	font-size: 13px;
	color: var(--tty-text-secondary);
	margin: 0 0 14px;
	line-height: 1.5
}

.tty-breathing-reminder-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px
}

.tty-breathing-reminder-label {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 500;
	color: var(--tty-text-primary);
	flex-shrink: 0;
	min-width: 70px
}

.tty-breathing-reminder-label i {
	font-size: 15px;
	color: var(--tty-primary)
}

.tty-breathing-reminder-time-input {
	flex: 1;
	border: 1.5px solid var(--tty-border-light);
	border-radius: 10px;
	padding: 8px 12px;
	font-size: 15px;
	font-weight: 500;
	color: var(--tty-text-primary);
	background: var(--tty-bg-primary);
	font-family: inherit;
	cursor: pointer
}

.tty-breathing-reminder-freq-group {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	flex: 1
}

.tty-breathing-freq-btn {
	padding: 6px 11px;
	border: 1.5px solid var(--tty-border-light);
	border-radius: 20px;
	background: transparent;
	color: var(--tty-text-secondary);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: 0.15s;
	font-family: inherit;
	white-space: nowrap
}

.tty-breathing-freq-btn--active {
	border-color: var(--tty-primary);
	color: var(--tty-primary);
	background: rgba(var(--tty-primary-rgb, 74, 108, 247), 0.06)
}

.tty-breathing-reminder-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 4px
}

.tty-breathing-reminder-save-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 12px;
	border: none;
	border-radius: 12px;
	background: var(--tty-primary);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: 0.15s;
	font-family: inherit
}

.tty-breathing-reminder-save-btn:hover {
	opacity: 0.88
}

.tty-breathing-reminder-save-btn:disabled {
	opacity: 0.5;
	cursor: default
}

.tty-breathing-reminder-delete-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 10px;
	border: 1.5px solid var(--tty-border-light);
	border-radius: 12px;
	background: transparent;
	color: var(--tty-text-secondary);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: 0.15s;
	font-family: inherit
}

.tty-breathing-reminder-delete-btn:hover {
	border-color: #e53e3e;
	color: #e53e3e
}

.tty-breathing-reminder-feedback {
	font-size: 13px;
	margin: 8px 0 0;
	text-align: center
}

.tty-breathing-reminder-feedback.is-success {
	color: var(--tty-success, #38a169)
}

.tty-breathing-reminder-feedback.is-error {
	color: #e53e3e
}

.tty-breathing-reminder-login-hint {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--tty-text-secondary);
	margin: 0
}

.tty-breathing-reminder-login-hint i {
	font-size: 15px;
	flex-shrink: 0
}

/* Toggle switches */

.tty-breathing-toggles {
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: var(--tty-bg-secondary);
	border-radius: 16px;
	overflow: hidden;
	margin: 24px 0px;
}

.tty-breathing-toggle-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	cursor: pointer;
	border-bottom: 1px solid var(--tty-border-light)
}

.tty-breathing-toggle-row:last-child {
	border-bottom: none
}

.tty-breathing-toggle-row > i {
	font-size: 18px;
	color: var(--tty-primary);
	width: 24px;
	text-align: center;
	flex-shrink: 0
}

.tty-breathing-toggle-info {
	flex: 1;
	min-width: 0
}

.tty-breathing-toggle-label {
	display: block;
	font-size: 15px;
	font-weight: 500;
	color: var(--tty-text-primary)
}

.tty-breathing-toggle-desc {
	display: block;
	font-size: 12px;
	color: var(--tty-text-secondary);
	margin-top: 2px;
	line-height: 1.4
}

.tty-breathing-toggle-switch {
	position: relative;
	flex-shrink: 0
}

.tty-breathing-toggle-switch input[type=checkbox] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0
}

.tty-breathing-toggle-track {
	display: block;
	width: 50px;
	height: 28px;
	background: var(--tty-border-light);
	border-radius: 14px;
	transition: 0.2s;
	position: relative;
	cursor: pointer;
	box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.2);
}

.tty-breathing-toggle-track::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	background: #fff;
	border-radius: 50%;
	transition: 0.2s;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2)
}

.tty-breathing-toggle-switch input[type=checkbox]:checked + .tty-breathing-toggle-track {
	background-color: #22b189;
}

.tty-breathing-toggle-switch input[type=checkbox]:checked + .tty-breathing-toggle-track::after {
	left: calc(100% - 25px)
}

/* Start button */

.tty-breathing-start-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 18px;
	background: var(--tty-primary);
	color: #fff;
	border: none;
	border-radius: 16px;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	transition: 0.15s;
	font-family: inherit
}

.tty-breathing-start-btn:hover {
	background: var(--tty-primary-dark, #3557d6);
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15)
}

.tty-breathing-start-btn:active {
	transform: translateY(0)
}

/* ============================================================
   COUNTDOWN SCREEN
   ============================================================ */

.tty-breathing-active-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1;
	padding: 40px 20px
}

.tty-breathing-countdown-number {
	font-size: 96px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1;
	margin-bottom: 20px;
	animation: tty-breathing-countdown-pulse 1s ease-in-out
}

@keyframes tty-breathing-countdown-pulse {
	0%   { transform: scale(0.8); opacity: 0 }
	50%  { transform: scale(1.1) }
	100% { transform: scale(1);   opacity: 1 }
}

.tty-breathing-get-ready {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.75);
	margin: 0
}

/* ============================================================
   ACTIVE BREATHING SCREEN
   ============================================================ */

.tty-breathing-pause-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: none;
	background: var(--tty-bg-secondary);
	border-radius: 12px;
	color: var(--tty-primary);
	font-size: 18px;
	cursor: pointer;
	transition: 0.15s;
	flex-shrink: 0
}

/* SVG Circle */

.tty-breathing-circle-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 32px;
	transform: scale(0.88);
	transition: transform ease-in-out;
	will-change: transform
}

.tty-breathing-paused-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 160px;
	height: 160px;
	background: rgba(0, 0, 0, 0.45);
	border-radius: 50%;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease
}

.tty-breathing-paused-overlay i {
	font-size: 36px;
	color: #fff
}

.tty-breathing-paused-overlay span {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.5px;
	text-transform: uppercase
}

.tty-breathing-screen--paused .tty-breathing-paused-overlay {
	opacity: 1;
	pointer-events: none
}

.tty-breathing-circle-svg {
	width: 280px;
	height: 280px
}

.tty-breathing-circle-track {
	stroke: rgba(255, 255, 255, 0.15)
}

.tty-breathing-circle-ring {
	stroke: rgba(255, 255, 255, 0.9);
	stroke-dasharray: 679;
	stroke-dashoffset: 679;
	transition: stroke-dashoffset linear, stroke 0.4s ease;
	will-change: stroke-dashoffset
}

.tty-breathing-circle-fill {
	fill: rgba(255, 255, 255, 0.12);
	transform-box: fill-box;
	transform-origin: center;
	transform: scale(0.85);
	transition: transform ease-in-out;
	will-change: transform
}

/* Phase label inside circle */

.tty-breathing-phase-label {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	pointer-events: none
}

.tty-breathing-phase-text {
	display: block;
	font-size: 26px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.95);
	letter-spacing: -0.3px;
	transition: opacity 0.3s
}

.tty-breathing-hold-bar {
	width: 120px;
	height: 4px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 2px;
	margin: 12px auto 0;
	overflow: hidden;
	opacity: 0;
	transition: opacity 0.2s
}

.tty-breathing-hold-bar.is-visible {
	opacity: 1
}

.tty-breathing-hold-bar-fill {
	height: 100%;
	width: 0%;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 2px;
	transition: none
}

/* Cycles remaining counter */

.tty-breathing-cycles-remaining {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.65);
	margin: 0;
	text-align: center
}

/* Paused state */

.tty-breathing-screen--paused .tty-breathing-circle-ring {
	stroke: rgba(255, 255, 255, 0.4)
}

.tty-breathing-screen--paused .tty-breathing-phase-text {
	opacity: 0.5
}

/* ============================================================
   COMPLETE SCREEN
   ============================================================ */

.tty-breathing-complete-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 40px;
	text-align: center
}

.tty-breathing-complete-icon {
	font-size: 72px;
	color: var(--tty-primary);
	margin-bottom: 20px;
	animation: tty-breathing-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1)
}

@keyframes tty-breathing-pop {
	0%   { transform: scale(0); opacity: 0 }
	100% { transform: scale(1); opacity: 1 }
}

.tty-breathing-complete-title {
	font-size: 26px;
	font-weight: 700;
	color: var(--tty-text-primary);
	margin: 0 0 8px
}

.tty-breathing-complete-subtitle {
	font-size: 16px;
	color: var(--tty-text-secondary);
	margin: 0 0 32px
}

/* Stats row */

.tty-breathing-complete-stats {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	width: 100%;
	background: var(--tty-bg-secondary);
	border-radius: 16px;
	padding: 20px;
	margin-bottom: 24px
}

.tty-breathing-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	flex: 1
}

.tty-breathing-stat-value {
	font-size: 24px;
	font-weight: 700;
	color: var(--tty-text-primary)
}

.tty-breathing-stat-label {
	font-size: 12px;
	color: var(--tty-text-secondary);
	text-align: center
}

.tty-breathing-stat-divider {
	width: 1px;
	height: 40px;
	background: var(--tty-border-light);
	flex-shrink: 0
}

/* Login hint */

.tty-breathing-login-hint {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 18px;
	background: rgba(var(--tty-primary-rgb, 74, 108, 247), 0.06);
	border: 1px solid rgba(var(--tty-primary-rgb, 74, 108, 247), 0.15);
	border-radius: 16px;
	margin-bottom: 20px
}

.tty-breathing-login-hint i {
	font-size: 24px;
	color: var(--tty-primary)
}

.tty-breathing-login-hint p {
	font-size: 14px;
	color: var(--tty-text-secondary);
	margin: 0;
	text-align: center
}

.tty-breathing-login-cta {
	font-size: 14px;
	font-weight: 600;
	color: var(--tty-primary);
	text-decoration: none
}

/* Action buttons */

.tty-breathing-complete-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%
}

.tty-breathing-action-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 16px;
	border: none;
	border-radius: 16px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: 0.15s;
	font-family: inherit
}

.tty-breathing-action-btn--primary {
	background: var(--tty-primary);
	color: #fff
}

.tty-breathing-action-btn--primary:hover {
	background: var(--tty-primary-dark, #3557d6)
}

.tty-breathing-action-btn--secondary {
	background: var(--tty-bg-secondary);
	color: var(--tty-text-primary)
}

.tty-breathing-action-btn--secondary:hover {
	background: var(--tty-border-light)
}

/* ============================================================
   DARK THEME OVERRIDES
   ============================================================ */

[data-theme=dark] .tty-breathing-circle-ring {
	stroke: rgba(255, 255, 255, 0.85)
}

[data-theme=dark] .tty-breathing-circle-fill {
	fill: rgba(255, 255, 255, 0.08)
}

[data-theme=dark] .tty-breathing-exercise-icon {
	background: var(--tty-primary)
}

[data-theme=dark] .tty-breathing-start-btn {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3)
}

/* ============================================================
   IMPULSE CONTROL TOOLS
   Craving Control & Nicotine Reset
   Prefix: tty-ic-*
   ============================================================ */

/* Tool color tokens */
.tty-ic-submenu--craving {
	--ic-color:      #D97706;
	--ic-color-dark: #B45309;
	--ic-bg-muted:   rgba(217, 119, 6, 0.10);
	--ic-active-bg:  #7c3d12
}

.tty-ic-submenu--nicotine {
	--ic-color:      #2563EB;
	--ic-color-dark: #1D4ED8;
	--ic-bg-muted:   rgba(37, 99, 235, 0.10);
	--ic-active-bg:  #1e3a8a
}

/* ---- Header ---- */

.tty-ic-header {
	padding-right: 16px
}

.tty-ic-back-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: none;
	background: var(--tty-bg-secondary);
	border-radius: 12px;
	color: var(--tty-primary);
	font-size: 16px;
	cursor: pointer;
	transition: 0.15s;
	flex-shrink: 0
}

.tty-ic-back-btn i {
	font-size: 20px
}

.tty-ic-back-btn:hover {
	opacity: 0.8
}

/* Step dots */
.tty-ic-step-dots {
	display: flex;
	gap: 6px;
	align-items: center
}

.tty-ic-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--tty-border-light);
	transition: background 0.25s ease, transform 0.25s ease
}

.tty-ic-dot--active {
	background: var(--ic-color);
	transform: scale(1.25)
}

/* ---- Screen base ---- */

.tty-ic-screen {
	min-height: calc(100vh - 65px);
	display: flex;
	flex-direction: column
}

.tty-ic-screen--hidden {
	display: none
}

.tty-ic-screen-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 28px 20px 44px;
	gap: 20px
}

/* Active breathing background (same pattern as breathing tool) */
.tty-ic-screen--active-bg {
	min-height: calc(100vh - 65px)
}

.tty-ic-screen--active-bg-craving {
	background: var(--ic-active-bg, #7c3d12)
}

.tty-ic-screen--active-bg-nicotine {
	background: var(--ic-active-bg, #1e3a8a)
}

.tty-ic-breathing-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1;
	padding: 32px 20px
}

/* ---- Hero icon (entry screen) ---- */

.tty-ic-hero-icon {
	width: 80px;
	height: 80px;
	border-radius: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 36px;
	flex-shrink: 0
}

.tty-ic-hero-icon--craving {
	background: var(--ic-bg-muted);
	color: #D97706
}

.tty-ic-hero-icon--nicotine {
	background: var(--ic-bg-muted);
	color: #2563EB
}

/* ---- Typography ---- */

.tty-ic-screen-title {
	font-size: 1.45em;
	font-weight: 800;
	color: var(--tty-text-primary);
	text-align: center;
	line-height: 1.2;
	margin: 0
}

.tty-ic-screen-title--light {
	color: rgba(255, 255, 255, 0.95)
}

.tty-ic-screen-subtitle {
	font-size: 0.95em;
	color: var(--tty-text-secondary);
	text-align: center;
	line-height: 1.6;
	margin: -8px 0 0;
	max-width: 300px
}

.tty-ic-step-badge {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ic-color);
	background: var(--ic-bg-muted);
	padding: 5px 12px;
	border-radius: 20px;
	margin: 0
}

.tty-ic-step-badge--light {
	color: rgba(255, 255, 255, 0.9);
	background: rgba(255, 255, 255, 0.15)
}

/* ---- Why accordion ---- */

.tty-ic-why {
	width: 100%;
	border: 1.5px solid var(--tty-border-light);
	border-radius: 14px;
	overflow: hidden
}

.tty-ic-why-toggle {
	display: flex;
	align-items: center;
	gap: 9px;
	width: 100%;
	padding: 14px 16px;
	background: none;
	border: none;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--tty-text-primary);
	cursor: pointer;
	text-align: left
}

.tty-ic-why-toggle i:first-child {
	color: var(--ic-color);
	font-size: 16px;
	flex-shrink: 0
}

.tty-ic-why-chevron {
	margin-left: auto;
	font-size: 11px;
	color: var(--tty-text-secondary);
	transition: transform 0.25s ease;
	flex-shrink: 0
}

.tty-ic-why.is-open .tty-ic-why-chevron {
	transform: rotate(180deg)
}

.tty-ic-why-body {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.28s ease
}

.tty-ic-why.is-open .tty-ic-why-body {
	grid-template-rows: 1fr
}

.tty-ic-why-inner {
	overflow: hidden;
	padding: 0 16px
}

.tty-ic-why.is-open .tty-ic-why-inner {
	padding: 0 16px 16px
}

.tty-ic-why ul {
	padding-left: 18px;
	margin: 0
}

.tty-ic-why li {
	font-size: 13px;
	color: var(--tty-text-secondary);
	line-height: 1.65;
	margin-bottom: 6px
}

.tty-ic-why li:last-child {
	margin-bottom: 0
}

/* ---- Slider ---- */

.tty-ic-slider-block {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px
}

.tty-ic-slider-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--tty-text-primary);
	text-align: center;
	line-height: 1.4
}

.tty-ic-slider-value {
	font-size: 3.2em;
	font-weight: 900;
	color: var(--ic-color);
	line-height: 1;
	min-height: 60px;
	display: flex;
	align-items: center;
	transition: color 0.2s ease
}

.tty-ic-slider-row {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%
}

.tty-ic-slider-cap {
	font-size: 12px;
	font-weight: 600;
	color: var(--tty-text-secondary);
	white-space: nowrap;
	flex-shrink: 0
}

.tty-ic-slider {
	-webkit-appearance: none;
	appearance: none;
	flex: 1;
	height: 6px;
	border-radius: 3px;
	outline: none;
	cursor: pointer
}

.tty-ic-slider--craving {
	background: linear-gradient(to right, #22c55e 0%, #f59e0b 50%, #ef4444 100%)
}

.tty-ic-slider--nicotine {
	background: linear-gradient(to right, #22c55e 0%, #3b82f6 50%, #1d4ed8 100%)
}

.tty-ic-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--ic-color);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	transition: transform 0.15s ease
}

.tty-ic-slider::-webkit-slider-thumb:active {
	transform: scale(1.2)
}

.tty-ic-slider::-moz-range-thumb {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--ic-color);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	cursor: pointer
}

/* ---- Primary button ---- */

.tty-ic-primary-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 16px 24px;
	border: none;
	border-radius: 16px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.15s ease, transform 0.15s ease;
	color: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15)
}

.tty-ic-primary-btn--craving {
	background: #D97706
}

.tty-ic-primary-btn--nicotine {
	background: #2563EB
}

.tty-ic-primary-btn:hover {
	opacity: 0.88
}

.tty-ic-primary-btn:active {
	transform: translateY(1px)
}

/* Outline variant (delay timer button) */
.tty-ic-primary-btn--outline {
	background: transparent;
	border: 2px solid var(--ic-color);
	color: var(--ic-color);
	box-shadow: none
}

.tty-ic-primary-btn--outline:hover {
	background: var(--ic-bg-muted)
}

/* Waiting state — hidden until revealed by JS */
.tty-ic-btn--waiting {
	visibility: hidden;
	pointer-events: none
}

.tty-ic-btn--waiting.is-ready {
	visibility: visible;
	pointer-events: auto
}

/* Ghost / text link button */
.tty-ic-ghost-btn {
	background: none;
	border: none;
	font-family: inherit;
	font-size: 14px;
	color: var(--tty-text-secondary);
	cursor: pointer;
	padding: 10px;
	text-decoration: underline;
	text-underline-offset: 3px
}

.tty-ic-secondary-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 15px 24px;
	border: 1.5px solid var(--tty-border-light);
	border-radius: 16px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--tty-text-primary);
	background: var(--tty-bg-secondary);
	cursor: pointer;
	transition: 0.15s
}

.tty-ic-secondary-btn:hover {
	border-color: var(--ic-color);
	color: var(--ic-color)
}

.tty-ic-tap-hint {
	font-size: 12px;
	color: var(--tty-text-secondary);
	text-align: center;
	margin: -8px 0 0;
	font-style: italic
}

/* ---- Screen: Interrupt — action cards ---- */

.tty-ic-action-cards {
	display: flex;
	gap: 10px;
	width: 100%;
	justify-content: center
}

.tty-ic-action-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 16px 10px;
	background: var(--tty-bg-secondary);
	border: 1.5px solid var(--tty-border-light);
	border-radius: 14px;
	flex: 1;
	min-width: 0
}

.tty-ic-action-card i {
	font-size: 26px;
	color: var(--ic-color)
}

.tty-ic-action-card span {
	font-size: 12px;
	font-weight: 600;
	color: var(--tty-text-primary);
	text-align: center;
	line-height: 1.3
}

/* Circular countdown */
.tty-ic-countdown-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 120px
}

.tty-ic-countdown-svg {
	width: 120px;
	height: 120px
}

.tty-ic-countdown-track {
	stroke: var(--tty-border-light)
}

.tty-ic-countdown-ring--craving {
	stroke: #D97706;
	stroke-dasharray: 327;
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1s linear
}

.tty-ic-countdown-ring--nicotine {
	stroke: #2563EB;
	stroke-dasharray: 327;
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1s linear
}

.tty-ic-countdown-number {
	position: absolute;
	font-size: 32px;
	font-weight: 800;
	color: var(--tty-text-primary);
	line-height: 1
}

/* ---- Screen: Stabilize / Wave — breathing circle ---- */

.tty-ic-circle-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	transform: scale(0.88);
	transition: transform ease-in-out;
	will-change: transform
}

.tty-ic-circle-svg {
	width: 260px;
	height: 260px
}

.tty-ic-circle-track {
	stroke: rgba(255, 255, 255, 0.15)
}

.tty-ic-circle-ring {
	stroke-dasharray: 679;
	stroke-dashoffset: 679;
	transition: stroke-dashoffset linear, stroke 0.4s ease;
	will-change: stroke-dashoffset
}

.tty-ic-circle-fill--craving {
	fill: rgba(217, 119, 6, 0.25);
	transform-box: fill-box;
	transform-origin: center;
	transform: scale(0.85);
	transition: transform ease-in-out;
	will-change: transform
}

.tty-ic-circle-fill--nicotine {
	fill: rgba(255, 255, 255, 0.12);
	transform-box: fill-box;
	transform-origin: center;
	transform: scale(0.85);
	transition: transform ease-in-out;
	will-change: transform
}

.tty-ic-phase-label {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	pointer-events: none
}

.tty-ic-phase-text {
	display: block;
	font-size: 24px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.95);
	letter-spacing: -0.3px;
	transition: opacity 0.3s
}

.tty-ic-breathing-hint {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	text-align: center;
}

.tty-ic-cycles-label {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.65);
	text-align: center;
}

/* Wave overlay — nicotine only */
.tty-ic-wave-overlay {
	font-size: 18px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	text-align: center;
	min-height: 26px;
	font-style: italic;
	letter-spacing: -0.2px;
	margin: 0
}

/* ---- Screen: Decide — tap options ---- */

.tty-ic-tap-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%
}

.tty-ic-tap-option {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 16px 18px;
	background: var(--tty-bg-secondary);
	border: 2px solid var(--tty-border-light);
	border-radius: 14px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	color: var(--tty-text-primary);
	cursor: pointer;
	text-align: left;
	transition: 0.15s;
	position: relative
}

.tty-ic-tap-option i {
	font-size: 22px;
	color: var(--tty-text-secondary);
	flex-shrink: 0;
	width: 28px;
	text-align: center;
	transition: color 0.15s
}

.tty-ic-tap-option .tty-ic-tap-check {
	margin-left: auto;
	width: 22px;
	height: 22px;
	border: 2px solid var(--tty-border-light);
	border-radius: 50%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	background: transparent;
	transition: 0.15s
}

.tty-ic-tap-option .tty-ic-tap-check i {
	display: none
}

.tty-ic-tap-option.is-selected .tty-ic-tap-check i {
	display: block
}

.tty-ic-tap-option:active {
	transform: scale(0.98)
}

.tty-ic-tap-option.is-selected {
	border-color: var(--ic-color);
	background: var(--ic-bg-muted)
}

.tty-ic-tap-option.is-selected i {
	color: #fff;
  	font-size: 12px;
}

.tty-ic-tap-option.is-selected .tty-ic-tap-check {
	border-color: var(--ic-color);
	background: var(--ic-color);
	color: #fff
}

/* Delay timer block */
.tty-ic-delay-block {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px
}

.tty-ic-delay-timer {
	width: 100%;
	background: var(--tty-bg-secondary);
	border-radius: 14px;
	padding: 20px;
	text-align: center
}

.tty-ic-delay-display {
	font-size: 2.8em;
	font-weight: 900;
	color: var(--ic-color);
	line-height: 1;
	margin-bottom: 8px
}

.tty-ic-delay-label {
	font-size: 13px;
	color: var(--tty-text-secondary);
	margin: 0;
	line-height: 1.5
}

/* ---- Screen: Replace — 2x2 grid ---- */

.tty-ic-replace-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	width: 100%
}

.tty-ic-replace-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 22px 12px;
	background: var(--tty-bg-secondary);
	border: 2px solid transparent;
	border-radius: 16px;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--tty-text-primary);
	text-align: center;
	transition: 0.15s
}

.tty-ic-replace-card i {
	font-size: 28px;
	color: var(--tty-text-secondary);
	transition: color 0.15s
}

.tty-ic-replace-card.is-selected {
	border-color: var(--ic-color);
	background: var(--ic-bg-muted)
}

.tty-ic-replace-card.is-selected i {
	color: var(--ic-color)
}

.tty-ic-replace-timer {
	width: 100%;
	background: var(--tty-bg-secondary);
	border-radius: 14px;
	padding: 20px;
	text-align: center
}

.tty-ic-replace-display {
	font-size: 2.8em;
	font-weight: 900;
	color: var(--ic-color);
	line-height: 1;
	margin-bottom: 8px
}

.tty-ic-replace-timer-label {
	font-size: 13px;
	color: var(--tty-text-secondary);
	margin: 0
}

/* ---- Screen: Outcome / Re-rate ---- */

.tty-ic-complete-icon {
	font-size: 68px;
	animation: tty-ic-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both
}

.tty-ic-complete-icon--craving {
	color: #D97706
}

.tty-ic-complete-icon--nicotine {
	color: #2563EB
}

@keyframes tty-ic-pop {
	0%   { transform: scale(0); opacity: 0 }
	100% { transform: scale(1); opacity: 1 }
}

.tty-ic-comparison {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	width: 100%;
	background: var(--tty-bg-secondary);
	border-radius: 16px;
	padding: 20px
}

.tty-ic-comparison-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	flex: 1
}

.tty-ic-comparison-num {
	font-size: 2.4em;
	font-weight: 900;
	line-height: 1
}

.tty-ic-comparison-num--before {
	color: var(--tty-text-secondary)
}

.tty-ic-comparison-num--after {
	color: var(--ic-color)
}

.tty-ic-comparison-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--tty-text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.05em
}

.tty-ic-comparison-arrow {
	font-size: 20px;
	color: var(--tty-text-secondary);
	flex-shrink: 0
}

.tty-ic-outcome-msg {
	font-size: 15px;
	font-weight: 600;
	color: var(--tty-text-primary);
	text-align: center;
	line-height: 1.5;
	min-height: 24px;
	margin: 0
}

.tty-ic-streak-row {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--tty-bg-secondary);
	border-radius: 12px;
	padding: 14px 18px;
	width: 100%;
	font-size: 14px;
	font-weight: 600;
	color: var(--tty-text-primary)
}

.tty-ic-streak-row i {
	font-size: 20px;
	color: #f59e0b;
	flex-shrink: 0
}

.tty-ic-outcome-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	width: 100%
}

/* ---- Dark theme overrides ---- */

[data-theme=dark] .tty-ic-countdown-ring--craving,
[data-theme=dark] .tty-ic-countdown-ring--nicotine {
	opacity: 0.85
}

[data-theme=dark] .tty-ic-circle-fill--craving {
	fill: rgba(217, 119, 6, 0.2)
}

[data-theme=dark] .tty-ic-circle-fill--nicotine {
	fill: rgba(255, 255, 255, 0.08)
}

[data-theme=dark] .tty-ic-action-card {
	background: var(--tty-bg-secondary);
	border-color: var(--tty-border-light)
}

.tty-ic-settings-block {
	margin-top: 0;
	width: 100%
}

.tty-ic-voice-gender-row.is-hidden {
	display: none
}
