/* The AWTRIX Player's components: what every page is built from. Tokens come from tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-md) / 1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
h1 { font-size: var(--fs-2xl); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-lg); line-height: 1.3; font-weight: 650; }
h3 { font-size: var(--fs-md); line-height: 1.35; font-weight: 650; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
code, kbd, pre, samp { font-family: var(--mono); font-size: 0.92em; }
a { color: var(--accent-text); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--r-xs); }
::selection { background: var(--accent-soft); }
/* Pinned to the corner of its positioned ancestor, so text far along a line never widens the page. */
.visually-hidden {
  position: absolute !important; top: 0; left: 0; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.muted { color: var(--text-2); }
.subtle { color: var(--text-3); font-size: var(--fs-sm); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
  stroke-linejoin: round; }
.icon.sm { width: 16px; height: 16px; }
.icon.fill { fill: currentColor; stroke: none; }

/* ---- Buttons ---------------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--hit); padding: 0 var(--s-4);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--text);
  font-size: var(--fs-md); font-weight: 560; line-height: 1; white-space: nowrap; text-decoration: none;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast);
  touch-action: manipulation; user-select: none;
}
.btn:hover { background: var(--surface-3); border-color: var(--line-strong); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--surface-3); color: var(--text); }
.btn.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); background: transparent; }
.btn.danger:hover { background: var(--danger-soft); }
.btn.danger.solid { background: var(--danger); color: #fff; border-color: transparent; }
.btn.sm { min-height: 32px; padding: 0 var(--s-3); font-size: var(--fs-sm); }
@media (pointer: coarse) { .btn.sm { min-height: var(--hit); } }
.btn.icon-only { width: var(--hit); padding: 0; }
.btn.icon-only.sm { width: 32px; }
@media (pointer: coarse) { .btn.icon-only.sm { width: var(--hit); } }
.btn .icon { width: 18px; height: 18px; }
.btn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-text); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }

/* A file picker that looks like a button. */
label.btn { position: relative; }
label.btn input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }

/* ---- Segmented control ------------------------------------------------------------------------ */

.seg {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2);
}
.seg button {
  min-height: calc(var(--hit) - 8px); padding: 0 var(--s-3);
  border: 0; border-radius: var(--r-xs); background: transparent; color: var(--text-2);
  font-weight: 560; font-size: var(--fs-sm); white-space: nowrap;
}
.seg button small { color: var(--text-3); font-weight: 400; margin-left: 4px; }
.seg button:hover { color: var(--text); }
.seg button[aria-checked="true"], .seg button[aria-pressed="true"] {
  background: var(--surface-1); color: var(--text); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line-strong);
}

/* ---- Chips and status pills ------------------------------------------------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 var(--s-3);
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text-2);
  font-size: var(--fs-sm); font-weight: 560; white-space: nowrap;
}
@media (pointer: coarse) { button.chip, a.chip { min-height: 44px; min-width: 44px; justify-content: center; } }
button.chip:hover { color: var(--text); border-color: var(--text-3); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px;
  background: var(--surface-3); color: var(--text-2); font-size: var(--fs-xs); font-weight: 600; line-height: 1.5;
  white-space: nowrap;
}
.tag.accent { background: var(--accent-soft); color: var(--accent-text); }
/* A newer version in the library than on the clock. */
.tag.update { background: var(--info-soft); color: var(--info); }
.tag.update .icon { width: 12px; height: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 650; background: var(--surface-3); color: var(--text-2); white-space: nowrap;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.danger { background: var(--danger-soft); color: var(--danger); }
.pill.info { background: var(--info-soft); color: var(--info); }
.pill.live::before { animation: pulse 1.6s infinite var(--ease); }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---- Cards and panels ------------------------------------------------------------------------- */

.card {
  background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-5); min-width: 0;
}
.card > header { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); }
.card > header h2 { display: flex; align-items: center; gap: var(--s-2); }
.card > header p { color: var(--text-2); font-size: var(--fs-sm); margin-top: 2px; }
.card-lead { color: var(--text-2); margin-bottom: var(--s-4); max-width: 70ch; }
.card.danger { border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); }
.cards { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
.stack { display: grid; gap: var(--s-4); align-content: start; min-width: 0; }

/* ---- Fields ----------------------------------------------------------------------------------- */

.fields { display: grid; gap: var(--s-4); }
.field { display: grid; gap: 6px; min-width: 0; }
.field-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); }
.field label, .field-label { font-weight: 560; color: var(--text); }
.field .help { color: var(--text-3); font-size: var(--fs-sm); line-height: 1.4; }
.field .saved { color: var(--ok); font-size: var(--fs-xs); font-weight: 650; opacity: 0; transition: opacity var(--t-med); }
.field .saved.on { opacity: 1; }
.group-title {
  margin: var(--s-2) 0 calc(-1 * var(--s-1)); padding-top: var(--s-4); border-top: 1px solid var(--line);
  color: var(--text-3); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.group-title:first-child { border-top: 0; padding-top: 0; }

input[type="text"], input[type="search"], input[type="number"], input[type="password"], input[type="url"],
input:not([type]), select, textarea {
  width: 100%; min-height: var(--hit); padding: 0 var(--s-3);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--text); font-size: var(--fs-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
textarea { padding: var(--s-2) var(--s-3); line-height: 1.45; resize: vertical; font-family: var(--mono); font-size: var(--fs-sm); }
select {
  appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a919d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 18px;
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:hover, select:hover, textarea:hover { border-color: var(--text-3); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent);
}
input:disabled, select:disabled { opacity: 0.55; }

/* A switch: a checkbox with role="switch". */
.switch-row { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4); }
.switch-row > div { min-width: 0; }
input.switch {
  appearance: none; flex: none; position: relative; width: 44px; height: 26px; margin: 0;
  border-radius: 999px; background: var(--line-strong); cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}
input.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-1); transition: transform var(--t-med) var(--ease);
}
input.switch:checked { background: var(--accent); }
input.switch:checked::after { transform: translateX(18px); }
input.switch:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (pointer: coarse) { .switch-row { min-height: var(--hit); align-items: center; } }

/* A slider with its value as a number field. */
.range { display: grid; grid-template-columns: 1fr 92px; gap: var(--s-3); align-items: center; }
.num { position: relative; }
.num input { padding-right: 34px; text-align: right; font-variant-numeric: tabular-nums; }
.num span { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: var(--fs-sm); pointer-events: none; }
input[type="range"] {
  appearance: none; width: 100%; height: var(--hit); margin: 0; background: transparent; cursor: pointer;
  --fill: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(to right, var(--accent) var(--fill), var(--line-strong) var(--fill));
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line-strong); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%;
  background: #fff; border: 0; box-shadow: 0 0 0 1px rgb(0 0 0 / 20%), var(--shadow-1);
}
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 0; box-shadow: var(--shadow-1); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 45%, transparent); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 45%, transparent); }

/* A color: Standard | Own, and the swatch that opens the player's picker (ui/color.js). */
.color-row { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.swatch {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--hit); padding: 0 var(--s-3) 0 6px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface-2); color: var(--text);
  font: inherit; cursor: pointer; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.swatch:hover { border-color: var(--text-3); background: var(--surface-3); }
.swatch[aria-expanded="true"] { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.swatch[hidden] { display: none; }
.swatch-chip { width: 28px; height: 28px; border-radius: var(--r-xs); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 18%), 0 0 12px -2px currentColor; }
.swatch code { color: var(--text-2); font-size: var(--fs-sm); }

.color-panel {
  position: fixed; inset: auto; margin: 0; z-index: 60; width: 288px; padding: var(--s-4); display: grid; gap: var(--s-3);
  border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface-1); color: var(--text);
  box-shadow: var(--shadow-3); overflow: visible;
}
.color-panel.sheet {
  left: 0; right: 0; bottom: 0; top: auto; width: auto; max-width: none; border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: var(--s-4) var(--s-4) calc(var(--s-4) + env(safe-area-inset-bottom));
}
.cp-head { display: flex; align-items: center; gap: var(--s-2); }
.cp-head strong { flex: 1; font-size: var(--fs-md); }
.cp-area {
  --hue: #ff0000; position: relative; height: 160px; border-radius: var(--r-md); cursor: crosshair; touch-action: none;
  background: linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, var(--hue));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%);
}
.color-panel.sheet .cp-area { height: 200px; }
.cp-area:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.cp-thumb {
  position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; pointer-events: none;
  border: 3px solid #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 45%), 0 2px 6px rgb(0 0 0 / 50%);
}
input.cp-hue {
  --hue: #ff0000; width: 100%; height: 28px; margin: 0; appearance: none; background: transparent; cursor: pointer;
}
input.cp-hue::-webkit-slider-runnable-track {
  height: 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%);
  background: linear-gradient(to right, #f00, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00);
}
input.cp-hue::-moz-range-track {
  height: 14px; border-radius: 999px;
  background: linear-gradient(to right, #f00, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00);
}
input.cp-hue::-webkit-slider-thumb {
  appearance: none; width: 22px; height: 22px; margin-top: -4px; border-radius: 50%; background: var(--hue);
  border: 3px solid #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 45%), 0 2px 6px rgb(0 0 0 / 50%);
}
input.cp-hue::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; background: var(--hue); border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 45%), 0 2px 6px rgb(0 0 0 / 50%);
}
input.cp-hue:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 999px; }
.cp-values { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: var(--s-2); }
.cp-field { display: grid; gap: 2px; }
.cp-field span { color: var(--text-3); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.cp-field input { min-width: 0; min-height: 36px; padding: 0 var(--s-2); font-family: var(--mono); font-size: var(--fs-sm); text-align: center; -moz-appearance: textfield; }
.cp-field input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.cp-field input.invalid { border-color: var(--danger); }
.cp-group { display: grid; gap: var(--s-2); }
.cp-label { color: var(--text-3); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.cp-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(28px, 1fr)); gap: 6px; }
.cp-swatch {
  aspect-ratio: 1; min-width: 28px; border: 0; border-radius: var(--r-xs); cursor: pointer; padding: 0;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 15%); transition: transform var(--t-fast) var(--ease);
}
.cp-swatch:hover { transform: scale(1.08); }
.cp-swatch[aria-pressed="true"] { outline: 2px solid var(--text); outline-offset: 2px; }
.color-panel.sheet .cp-swatches { grid-template-columns: repeat(6, 1fr); }
.color-panel.sheet .cp-swatch { min-height: 44px; }
.color-panel.sheet .cp-field input { min-height: 44px; }

/* Days of the week. */
.days { display: flex; flex-wrap: wrap; gap: 6px; }
.days label {
  position: relative; display: grid; place-items: center; min-width: 46px; min-height: 36px; padding: 0 var(--s-2);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); color: var(--text-2);
  font-size: var(--fs-sm); font-weight: 600; cursor: pointer; text-transform: capitalize;
}
.days input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.days label:has(input:checked) { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-text); }
.days label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (pointer: coarse) { .days label { min-height: var(--hit); } }

/* ---- Lists ------------------------------------------------------------------------------------ */

/* One column no wider than the list: long names shorten with an ellipsis instead of pushing out. */
.list { display: grid; grid-template-columns: minmax(0, 1fr); }
.list > li { display: flex; align-items: center; gap: var(--s-3); min-height: 52px; padding: var(--s-2) 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 0; }
.list > li > .btn, .list > li > .pill, .list .row-actions { flex: none; }
.row-actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }
.list .title { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list .meta { display: block; color: var(--text-3); font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Keys. */
kbd {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px;
  border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px;
  background: var(--surface-2); color: var(--text); font-size: var(--fs-xs); font-weight: 600; line-height: 1;
}

/* Empty states. */
.empty { display: grid; justify-items: center; gap: var(--s-2); padding: var(--s-8) var(--s-4); text-align: center; color: var(--text-2); }
.empty .icon { width: 32px; height: 32px; color: var(--text-3); }
.empty strong { color: var(--text); }

/* Alerts. */
.notice {
  display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); color: var(--text-2);
}
.notice.danger { border-color: color-mix(in srgb, var(--danger) 45%, transparent); background: var(--danger-soft); color: var(--text); }
.notice.warn { border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: var(--warn-soft); color: var(--text); }
.notice.info { border-color: color-mix(in srgb, var(--info) 40%, transparent); background: var(--info-soft); color: var(--text); }

/* Code output. */
.code {
  margin: 0; padding: var(--s-3) var(--s-4); max-height: 420px; overflow: auto;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg);
  color: var(--text-2); font: var(--fs-sm) / 1.55 var(--mono); white-space: pre-wrap; word-break: break-word;
}

/* ---- Dialogs, drawers, toasts ----------------------------------------------------------------- */

dialog {
  padding: 0; border: 1px solid var(--line-strong); border-radius: var(--r-xl);
  background: var(--surface-1); color: var(--text); box-shadow: var(--shadow-3);
  max-width: min(560px, calc(100vw - 32px)); width: 100%;
}
dialog::backdrop { background: var(--overlay); backdrop-filter: blur(3px); }
dialog[open] { animation: rise var(--t-med) var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px) scale(0.99); } }
.dialog-body { padding: var(--s-6); display: grid; gap: var(--s-3); }
.dialog-body h2 { font-size: var(--fs-xl); }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--s-2); padding: 0 var(--s-6) var(--s-6); flex-wrap: wrap; }

.toasts {
  position: fixed; z-index: 90; left: 50%; bottom: calc(var(--s-6) + env(safe-area-inset-bottom));
  transform: translateX(-50%); display: grid; gap: var(--s-2); width: min(520px, calc(100vw - 24px)); pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface-3); color: var(--text);
  box-shadow: var(--shadow-2); pointer-events: auto; animation: rise var(--t-med) var(--ease);
}
.toast p { flex: 1; min-width: 0; }
.toast.danger { border-color: color-mix(in srgb, var(--danger) 55%, var(--line-strong)); }
.toast.danger::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--danger); }
.toast.ok::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--ok); }

/* ---- Tabs ------------------------------------------------------------------------------------- */

.tabs { display: flex; gap: var(--s-1); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  position: relative; display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--hit); padding: 0 var(--s-3);
  color: var(--text-2); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="page"] { color: var(--text); }
.tabs a[aria-current="page"]::after {
  content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent);
}

@media (max-width: 719px) { .btn { white-space: normal; text-align: center; line-height: 1.2; padding-top: 6px; padding-bottom: 6px; } }
