
.pat-app {
  --pat-accent: #6d5dfc;
  --pat-bg: #f5f7fb;
  --pat-card: #ffffff;
  --pat-text: #111827;
  --pat-muted: #6b7280;
  --pat-border: rgba(17, 24, 39, .12);
  --pat-display-color: #ffffff;
  --pat-clock-size: 96px;
  box-sizing: border-box;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 calc(50% - 50vw);
  padding: clamp(10px, 2vw, 28px);
  color: var(--pat-text);
  background: var(--pat-bg);
  border-radius: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: clip;
}

.pat-app * {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.pat-app button,
.pat-app input,
.pat-app select {
  font: inherit;
}

.pat-night {
  --pat-bg: #080b14;
  --pat-card: #111827;
  --pat-text: #f9fafb;
  --pat-muted: #9ca3af;
  --pat-border: rgba(255, 255, 255, .12);
}

.pat-card {
  background: var(--pat-card);
  border: 1px solid var(--pat-border);
  border-radius: 24px;
  padding: clamp(14px, 2.4vw, 28px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
  min-width: 0;
}

.pat-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  margin-bottom: 18px;
  background: radial-gradient(circle at top right, rgba(109, 93, 252, .22), transparent 38%), var(--pat-card);
}

.pat-title,
.pat-card h3,
.pat-overlay h2 {
  margin: 0;
  color: var(--pat-text);
  line-height: 1.1;
}

.pat-title {
  font-size: clamp(28px, 4.5vw, 58px);
}

.pat-card h3 {
  font-size: clamp(20px, 2.2vw, 30px);
  margin-bottom: 18px;
}

.pat-eyebrow {
  margin: 0 0 8px;
  color: var(--pat-accent);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}

.pat-subtitle,
.pat-help,
.pat-muted,
.pat-branding {
  color: var(--pat-muted);
}

.pat-subtitle {
  margin: 12px 0 0;
  max-width: 760px;
  font-size: clamp(14px, 1.5vw, 17px);
}

.pat-help {
  margin: 6px 0 0;
  font-size: 14px;
}

.pat-live-clock {
  min-width: 190px;
  text-align: right;
}

.pat-live-clock span {
  display: block;
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 900;
  line-height: 1;
}

.pat-live-clock small {
  display: block;
  margin-top: 8px;
  color: var(--pat-muted);
}

.pat-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.pat-tab,
.pat-btn,
.pat-chip {
  appearance: none;
  border: 1px solid var(--pat-border);
  border-radius: 16px;
  background: var(--pat-card);
  color: var(--pat-text);
  cursor: pointer;
  font-weight: 800;
  transition: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.pat-tab:hover,
.pat-btn:hover,
.pat-chip:hover {
  border-color: var(--pat-accent);
}

.pat-tab:active,
.pat-btn:active,
.pat-chip:active,
.pat-mini-btn:active,
.pat-icon-btn:active {
  transform: none;
  box-shadow: none;
  filter: none;
}

.pat-tab:focus,
.pat-btn:focus,
.pat-chip:focus,
.pat-input:focus,
.pat-mini-btn:focus,
.pat-icon-btn:focus {
  outline: none;
  box-shadow: none;
}

.pat-tab:focus-visible,
.pat-btn:focus-visible,
.pat-chip:focus-visible,
.pat-input:focus-visible,
.pat-mini-btn:focus-visible,
.pat-icon-btn:focus-visible {
  outline: 2px solid var(--pat-accent);
  outline-offset: 2px;
}

.pat-tab {
  padding: 14px 10px;
}

.pat-tab.is-active,
.pat-primary {
  background: var(--pat-accent);
  color: #ffffff;
  border-color: var(--pat-accent);
}

.pat-panel {
  display: none;
  min-width: 0;
}

.pat-panel.is-active {
  display: block;
}

.pat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.pat-two,
.pat-three {
  display: grid;
  gap: 12px;
  margin: 12px 0;
}

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

.pat-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pat-label {
  display: block;
  color: var(--pat-muted);
  font-weight: 800;
  margin: 14px 0 7px;
  font-size: 14px;
}

.pat-input {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--pat-border);
  background: var(--pat-card);
  color: var(--pat-text);
  border-radius: 16px;
  min-height: 48px;
  padding: 10px 14px;
  font-size: 16px;
}

.pat-color {
  padding: 4px;
}

.pat-check {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--pat-text);
  font-weight: 700;
}

.pat-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--pat-accent);
}

.pat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pat-center {
  justify-content: center;
}

.pat-btn {
  min-height: 46px;
  padding: 11px 16px;
}

.pat-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pat-chip {
  padding: 10px 12px;
  min-height: 42px;
}

.pat-time-display,
.pat-big-clock,
.pat-overlay-time {
  color: var(--pat-display-color);
  background: #020617;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
  overflow-wrap: anywhere;
}

.pat-time-display {
  font-size: clamp(34px, 8vw, 92px);
  padding: clamp(18px, 3vw, 32px) 10px;
}

.pat-big-clock {
  font-size: clamp(48px, 12vw, var(--pat-clock-size));
  padding: clamp(30px, 6vw, 64px) 12px;
}

.pat-big-date {
  text-align: center;
  color: var(--pat-muted);
  margin-top: 14px;
  font-size: 18px;
}

.pat-digital .pat-time-display,
.pat-digital .pat-big-clock,
.pat-digital .pat-overlay-time,
.pat-digital .pat-live-clock span {
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.pat-clock-stage {
  margin-bottom: 18px;
  text-align: center;
  background: #000000;
  color: #ffad1f;
}

.pat-clock-stage .pat-big-clock,
.pat-clock-stage .pat-big-date,
.pat-clock-stage .pat-clock-stage-title {
  color: #ffad1f;
}

.pat-clock-stage .pat-big-date {
  color: #ffc65e;
}

.pat-clock-stage-title {
  margin-bottom: 10px;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
}

.pat-clock-stage .pat-actions {
  margin-top: 24px;
}

.pat-clock-stage .pat-btn:not(.pat-primary) {
  background: #050505;
  color: #ffffff;
  border-color: rgba(255, 255, 255, .12);
}

.pat-world-card {
  background: var(--pat-card);
  overflow: visible;
}

.pat-world-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 10px;
}

.pat-world-add {
  border: 1px solid var(--pat-border);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 14px;
  background: var(--pat-card);
}

.pat-world-add-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.pat-world-add-action {
  display: flex;
  align-items: end;
}

.pat-world-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
}

.pat-world-city {
  position: relative;
  z-index: 1;
  min-height: 180px;
  padding: 0;
  border: 1px solid rgba(255, 173, 31, .18);
  border-radius: 0;
  background: #070707;
  color: #ffad1f;
  overflow: visible;
}

.pat-world-city:has(.pat-world-menu.is-open) {
  z-index: 30;
}

.pat-world-city-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.pat-world-city-title {
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.15;
  color: #ffad1f;
  overflow-wrap: anywhere;
}

.pat-world-city-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.pat-world-menu-wrap {
  position: relative;
}

.pat-icon-btn,
.pat-mini-btn {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  box-shadow: none;
  transition: none;
  -webkit-tap-highlight-color: transparent;
}

.pat-icon-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffad1f;
  border-radius: 8px;
  padding: 0;
}

.pat-icon-btn:hover,
.pat-icon-btn:focus,
.pat-icon-btn:active {
  color: #ffc65e;
  background: transparent;
  box-shadow: none;
  outline: none;
}

.pat-mini-btn {
  border: 1px solid var(--pat-border);
  border-radius: 12px;
  background: var(--pat-card);
  color: var(--pat-text);
  font-weight: 800;
  padding: 8px 10px;
  min-height: 36px;
}

.pat-mini-btn:hover {
  border-color: var(--pat-accent);
}

.pat-mini-btn.pat-danger {
  color: #ef4444;
}

.pat-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  pointer-events: none;
}

.pat-icon-dots {
  font-size: 26px;
  line-height: 1;
  transform: translateY(-1px);
  pointer-events: none;
}

.pat-world-city-time {
  padding: 18px 16px 8px;
  text-align: center;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  color: #ffad1f;
  white-space: nowrap;
}

.pat-world-city-meta {
  padding: 0 16px 18px;
  text-align: center;
  font-size: clamp(13px, 1.2vw, 15px);
  color: #ffad1f;
}

.pat-world-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  display: none;
  z-index: 9999;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #2f3135;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.pat-world-menu.is-open {
  display: block;
}

.pat-world-menu button {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: transparent;
  color: #f3f4f6;
  text-align: left;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: none;
  transition: none;
}

.pat-world-menu button:last-child {
  border-bottom: 0;
}

.pat-world-menu button:hover,
.pat-world-menu button:focus,
.pat-world-menu button:active {
  background: rgba(255, 255, 255, .06);
  outline: none;
}

.pat-world-empty {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px dashed var(--pat-border);
  border-radius: 18px;
  text-align: center;
  color: var(--pat-muted);
}

.pat-laps-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 18px;
}

.pat-laps {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.pat-laps th,
.pat-laps td {
  border-bottom: 1px solid var(--pat-border);
  text-align: left;
  padding: 12px 8px;
}

.pat-laps th {
  color: var(--pat-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.pat-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(2, 6, 23, .94);
  color: #ffffff;
}

.pat-overlay.is-active {
  display: flex;
}

.pat-overlay.is-black {
  background: #000000;
}

.pat-overlay.is-black .pat-overlay-time {
  background: #000000;
  border-color: rgba(255, 255, 255, .18);
  box-shadow: none;
}

.pat-overlay.is-black .pat-btn {
  background: #050505;
  color: #ffffff;
  border-color: rgba(255, 255, 255, .18);
}

.pat-overlay-inner {
  width: min(980px, 100%);
  text-align: center;
}

.pat-overlay-time {
  font-size: clamp(52px, 18vw, 180px);
  padding: clamp(22px, 6vw, 60px) 10px;
  margin: 14px 0 20px;
}

.pat-overlay h2 {
  color: #ffffff;
  font-size: clamp(28px, 6vw, 58px);
  margin-bottom: 16px;
}

.pat-branding {
  text-align: center;
  margin: 16px 0 0;
  font-size: 13px;
}

@media (max-width: 1160px) {
  .pat-world-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .pat-world-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pat-world-add-grid {
    grid-template-columns: 1fr;
  }

  .pat-world-add-action {
    align-items: stretch;
  }
}

@media (max-width: 820px) {
  .pat-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .pat-live-clock {
    min-width: 0;
    width: 100%;
    text-align: left;
  }

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

  .pat-grid,
  .pat-two,
  .pat-three {
    grid-template-columns: 1fr;
  }

  .pat-actions .pat-btn {
    flex: 1 1 140px;
  }
}

@media (max-width: 560px) {
  .pat-app {
    padding: 10px;
  }

  .pat-card {
    border-radius: 18px;
    padding: 14px;
  }

  .pat-tabs {
    gap: 8px;
  }

  .pat-tab,
  .pat-btn,
  .pat-chip {
    border-radius: 14px;
  }

  .pat-world-list {
    grid-template-columns: 1fr;
  }

  .pat-world-city {
    min-height: 0;
  }

  .pat-world-city-time {
    font-size: clamp(28px, 13vw, 44px);
  }

  .pat-world-menu {
    right: auto;
    left: auto;
    transform: translateX(-70%);
  }

  .pat-time-display {
    font-size: clamp(34px, 13vw, 62px);
  }
}

@media (max-width: 380px) {
  .pat-tabs {
    grid-template-columns: 1fr;
  }

  .pat-world-city-head {
    padding: 12px;
  }

  .pat-world-city-time {
    padding-left: 8px;
    padding-right: 8px;
  }
}

.pat-shell {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.pat-content {
  min-width: 0;
}

.pat-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #3b3b3f;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,.08);
  position: sticky;
  top: 12px;
}

.pat-tab {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  border-radius: 0;
  background: #3b3b3f;
  color: #f3f4f6;
  padding: 18px 10px;
  text-align: center;
}

.pat-tab:last-child {
  border-bottom: 0;
}

.pat-tab:hover {
  border-color: transparent;
  background: #434348;
}

.pat-tab.is-active {
  background: #efefef;
  color: #111827;
  border-color: transparent;
}

.pat-tab-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pat-tab-icon svg {
  width: 44px;
  height: 44px;
  fill: currentColor;
}

.pat-tab-label {
  display: block;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
}

@media (max-width: 900px) {
  .pat-shell {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
  }

  .pat-tab {
    min-height: 106px;
    padding: 14px 8px;
  }

  .pat-tab-icon,
  .pat-tab-icon svg {
    width: 38px;
    height: 38px;
  }

  .pat-tab-label {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .pat-app {
    padding: 8px;
  }

  .pat-shell {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px;
  }

  .pat-tabs {
    top: 8px;
  }

  .pat-tab {
    min-height: 94px;
    gap: 8px;
    padding: 10px 6px;
  }

  .pat-tab-icon,
  .pat-tab-icon svg {
    width: 32px;
    height: 32px;
  }

  .pat-tab-label {
    font-size: 12px;
  }
}


.pat-app {
  width: 100vw;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #000000;
  color: #f3f4f6;
  border-radius: 0;
  min-height: 100vh;
}

.pat-topbar {
  height: 68px;
  background: #3b3b3f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  gap: 16px;
}

.pat-topbar-brand {
  display: flex;
  align-items: center;
}

.pat-topbar-logo {
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.02em;
}

.pat-topbar-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.pat-topbar-link {
  font-size: 15px;
  color: rgba(255,255,255,.92);
}

.pat-topbar-mini-clock {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.pat-topbar-mini-clock span {
  font-weight: 700;
}

.pat-topbar-mini-clock small {
  color: rgba(255,255,255,.72);
}

.pat-shell {
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 0;
  min-height: calc(100vh - 68px);
  background: #000000;
}

.pat-tabs {
  background: #3b3b3f;
  border: 0;
  position: sticky;
  top: 0;
  min-height: calc(100vh - 68px);
  align-content: start;
}

.pat-tab {
  min-height: 104px;
  background: #3b3b3f;
  color: #ededed;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 12px 8px;
  gap: 10px;
}

.pat-tab.is-active {
  background: #efefef;
  color: #111111;
}

.pat-tab:hover {
  background: #47474d;
}

.pat-tab.is-active:hover {
  background: #efefef;
}

.pat-tab-icon, .pat-tab-icon svg {
  width: 30px;
  height: 30px;
}

.pat-tab-label {
  font-size: 13px;
}

.pat-content {
  background: #000000;
  min-height: calc(100vh - 68px);
}

.pat-panel {
  display: none;
  background: #000000;
  min-height: calc(100vh - 68px);
  padding: 20px 24px 28px;
}

.pat-panel.is-active {
  display: block;
}

.pat-stage {
  position: relative;
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 16px 24px;
  background: #000000;
}

.pat-stage-tools {
  position: absolute;
  right: 18px;
  top: 18px;
}

.pat-stage-title {
  color: #ff9f0a;
  font-size: clamp(24px, 2.7vw, 42px);
  margin-bottom: 22px;
}

.pat-stage-display,
.pat-stage .pat-time-display,
.pat-stage .pat-big-clock {
  color: #ff9f0a;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(58px, 10vw, 144px);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 0 rgba(0,0,0,0);
}

.pat-stage-date,
.pat-stage .pat-big-date {
  margin-top: 18px;
  color: #ffad1f;
  font-size: clamp(20px, 2vw, 34px);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.pat-stage-subtitle,
.pat-stage-text {
  max-width: 720px;
  color: rgba(255,255,255,.72);
  margin-top: 20px;
  font-size: 15px;
}

.pat-stage-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.pat-stage-btn,
.pat-stage-actions .pat-btn,
.pat-btn.pat-primary {
  background: #49ba7b;
  border-color: #49ba7b;
  color: #ffffff;
}

.pat-stage-actions .pat-btn:not(.pat-stage-btn):not(.pat-primary) {
  background: #111111;
  color: #ededed;
  border-color: rgba(255,255,255,.18);
}

.pat-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 10px;
}

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

.pat-dark-card,
.pat-world-card,
.pat-world-add,
.pat-world-city {
  background: #0c0c0c;
  border-color: rgba(255,255,255,.09);
  box-shadow: none;
}

.pat-dark-card {
  padding: 22px;
  color: #f3f4f6;
}

.pat-dark-card h3,
.pat-world-topbar h3 {
  color: #ffffff;
}

.pat-label,
.pat-help,
.pat-muted,
.pat-world-info small,
.pat-world-info em,
.pat-laps th {
  color: rgba(255,255,255,.68);
}

.pat-input,
.pat-mini-btn,
.pat-chip {
  background: #151515;
  border-color: rgba(255,255,255,.12);
  color: #ffffff;
}

.pat-check {
  color: #f3f4f6;
}

.pat-laps td {
  color: #f3f4f6;
}

.pat-hero,
.pat-card.pat-hero,
.pat-branding {
  display: none !important;
}

@media (max-width: 980px) {
  .pat-section-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .pat-topbar {
    padding: 0 12px;
    height: 60px;
  }

  .pat-topbar-logo {
    font-size: 22px;
  }

  .pat-topbar-link {
    display: none;
  }

  .pat-topbar-mini-clock small {
    display: none;
  }

  .pat-shell {
    grid-template-columns: 74px minmax(0, 1fr);
    min-height: calc(100vh - 60px);
  }

  .pat-panel {
    min-height: calc(100vh - 60px);
    padding: 14px 12px 20px;
  }

  .pat-stage {
    min-height: 52vh;
    padding: 30px 10px 18px;
  }

  .pat-tab {
    min-height: 90px;
  }

  .pat-tab-label {
    font-size: 11px;
  }
}

@media (max-width: 520px) {
  .pat-shell {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .pat-tab-icon, .pat-tab-icon svg {
    width: 26px;
    height: 26px;
  }

  .pat-stage-display,
  .pat-stage .pat-time-display,
  .pat-stage .pat-big-clock {
    font-size: clamp(42px, 16vw, 88px);
  }

  .pat-stage-date,
  .pat-stage .pat-big-date {
    font-size: clamp(14px, 5vw, 22px);
  }
}

body.admin-bar .pat-app {
  --pat-admin-offset: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .pat-app {
    --pat-admin-offset: 46px;
  }
}

.pat-app {
  --pat-admin-offset: 0px;
  --pat-topbar-height: 68px;
  --pat-sidebar-width: 84px;
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 100vh;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: var(--pat-topbar-height) 0 0 var(--pat-sidebar-width) !important;
  border-radius: 0 !important;
  overflow-x: clip;
  background: #000000;
}

.pat-topbar {
  position: fixed;
  top: var(--pat-admin-offset);
  left: 0;
  right: 0;
  z-index: 99990;
  height: var(--pat-topbar-height);
}

.pat-tabs {
  position: fixed;
  top: calc(var(--pat-admin-offset) + var(--pat-topbar-height));
  left: 0;
  width: var(--pat-sidebar-width);
  height: calc(100vh - var(--pat-admin-offset) - var(--pat-topbar-height));
  min-height: 0;
  z-index: 99989;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}

.pat-shell,
.pat-content {
  display: block;
  min-height: calc(100vh - var(--pat-topbar-height));
  width: 100%;
}

.pat-panel {
  min-height: calc(100vh - var(--pat-topbar-height));
  width: 100%;
  padding: clamp(12px, 2vw, 28px);
}

.pat-stage {
  min-height: clamp(360px, 64vh, 780px);
}

.pat-stage-title,
.pat-stage-display,
.pat-stage .pat-time-display,
.pat-stage .pat-big-clock,
.pat-stage-date,
.pat-stage .pat-big-date,
.pat-world-city-title,
.pat-world-city-time,
.pat-world-city-meta {
  color: var(--pat-display-color) !important;
}

.pat-topbar-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #ffffff;
  min-height: var(--pat-topbar-height);
  padding: 0 18px;
  font-size: 15px;
  cursor: pointer;
  transition: none;
  -webkit-tap-highlight-color: transparent;
}

.pat-topbar-btn:hover,
.pat-topbar-btn:focus,
.pat-topbar-btn.is-active {
  background: #0b8fd6;
  outline: none;
}

.pat-tools-wrap {
  position: relative;
  height: var(--pat-topbar-height);
  display: flex;
  align-items: stretch;
}

.pat-tools-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #474747;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  padding: 8px 0;
  z-index: 100000;
}

.pat-tools-menu.is-open {
  display: block;
}

.pat-tools-menu button {
  width: 100%;
  border: 0;
  background: transparent;
  color: #f3f4f6;
  text-align: left;
  padding: 14px 24px;
  font-size: 16px;
  cursor: pointer;
}

.pat-tools-menu button:hover,
.pat-tools-menu button:focus {
  background: rgba(255, 255, 255, .08);
  outline: none;
}

.pat-color-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0 8px;
}

.pat-color-choice {
  appearance: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--choice-color);
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.pat-color-choice.is-selected {
  border-color: var(--choice-color);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .08);
}

.pat-color-choice.is-selected::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #000000;
  font-size: 24px;
  font-weight: 900;
  text-shadow: 0 1px rgba(255,255,255,.25);
}

.pat-holidays-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 36px;
}

.pat-holiday-country {
  background: #0c0c0c;
  border: 1px solid rgba(255,255,255,.08);
  padding: 20px;
  min-width: 0;
}

.pat-holiday-country h3 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  color: #f3f4f6;
  font-size: 18px;
  text-align: center;
}

.pat-holiday-country table {
  width: 100%;
  border-collapse: collapse;
}

.pat-holiday-country td {
  padding: 6px 4px;
  color: #f3f4f6;
  font-size: 14px;
  vertical-align: top;
}

.pat-holiday-country td:first-child {
  color: #1794e8;
  width: 46%;
}

.pat-holiday-country td:nth-child(2) {
  width: 28%;
  white-space: nowrap;
}

.pat-holiday-country td:nth-child(3) {
  width: 26%;
  white-space: nowrap;
  font-weight: 700;
}

@media (max-width: 900px) {
  .pat-app {
    --pat-topbar-height: 60px;
    --pat-sidebar-width: 74px;
  }

  .pat-topbar {
    padding-left: 8px;
    padding-right: 8px;
  }

  .pat-topbar-btn {
    padding: 0 10px;
    font-size: 13px;
  }

  .pat-holidays-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .pat-app {
    --pat-sidebar-width: 66px;
  }

  .pat-topbar-logo {
    font-size: 18px;
  }

  .pat-topbar-mini-clock {
    display: none;
  }

  .pat-topbar-actions {
    gap: 0;
  }

  .pat-stage {
    min-height: 48vh;
  }

  .pat-tools-menu {
    right: 0;
    left: auto;
    min-width: 220px;
  }

  .pat-holiday-country {
    padding: 14px;
  }

  .pat-holiday-country td {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .pat-app {
    --pat-sidebar-width: 58px;
  }

  .pat-tab {
    min-height: 78px;
  }

  .pat-tab-label {
    font-size: 10px;
  }

  .pat-tab-icon,
  .pat-tab-icon svg {
    width: 24px;
    height: 24px;
  }

  .pat-topbar-btn {
    padding: 0 7px;
    font-size: 12px;
  }
}


.pat-stage-stop {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}

.pat-stage-stop[hidden],
.pat-btn[hidden] {
  display: none !important;
}


.pat-stage-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
  width: min(640px, 100%);
}

.pat-stage-input {
  min-height: 52px;
  flex: 1 1 220px;
  border: 1px solid rgba(255,255,255,.16);
  background: #101010;
  color: #ffffff;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 18px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.pat-stage-input:focus {
  outline: 2px solid var(--pat-display-color);
  outline-offset: 2px;
}

.pat-stage-btn.is-stop {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

@media (max-width: 560px) {
  .pat-stage-input {
    flex-basis: 100%;
    min-height: 48px;
    font-size: 16px;
  }
}


.pat-stage-alarm-layout {
  justify-content: space-between;
  align-items: stretch;
  text-align: center;
  gap: 28px;
}

.pat-alarm-top-time {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 12px;
}

.pat-alarm-bottom-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.pat-alarm-bottom-card {
  width: min(760px, 100%);
  background: #080808;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 0;
  padding: 28px 18px 24px;
  box-shadow: none;
}

.pat-alarm-bottom-title {
  color: var(--pat-display-color);
  font-size: clamp(26px, 3vw, 42px);
  margin-bottom: 14px;
}

.pat-alarm-bottom-time {
  color: var(--pat-display-color);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(34px, 5vw, 70px);
  font-weight: 700;
  line-height: 1.1;
}

.pat-alarm-bottom-countdown {
  color: var(--pat-display-color);
  opacity: .92;
  font-size: clamp(18px, 2vw, 28px);
  margin-top: 10px;
}

.pat-stage-alarm-layout .pat-stage-controls {
  margin-top: 18px;
  width: min(640px, 100%);
}

.pat-stage-alarm-layout .pat-stage-actions {
  margin-top: 20px;
}

@media (max-width: 760px) {
  .pat-stage-alarm-layout {
    gap: 18px;
  }

  .pat-alarm-bottom-card {
    padding: 22px 12px 18px;
  }
}


.pat-multi-card {
  grid-column: 1 / -1;
}

.pat-multi-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.pat-multi-empty {
  color: rgba(255,255,255,.65);
  border: 1px dashed rgba(255,255,255,.16);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.pat-multi-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  background: #101010;
  border: 1px solid rgba(255,255,255,.10);
  border-left: 4px solid rgba(255,255,255,.25);
  border-radius: 16px;
  padding: 14px;
}

.pat-multi-item.is-on {
  border-left-color: var(--pat-display-color);
}

.pat-multi-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.pat-multi-main strong {
  color: #ffffff;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.pat-multi-main span {
  color: var(--pat-display-color);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 16px;
}

.pat-multi-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 700px) {
  .pat-multi-item {
    grid-template-columns: 1fr;
  }

  .pat-multi-actions {
    justify-content: flex-start;
  }
}


.pat-ad-slot {
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto;
  min-height: 0;
  text-align: center;
  overflow: hidden;
}

.pat-ad-top {
  margin-top: 10px;
  margin-bottom: 10px;
}

.pat-ad-content {
  margin-top: 10px;
  margin-bottom: 18px;
}

.pat-ad-bottom {
  margin-top: 18px;
  margin-bottom: 24px;
}

.pat-ad-slot ins,
.pat-ad-slot iframe {
  max-width: 100%;
}

.pat-panel.pat-native-fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  overflow: auto !important;
  background: #000000 !important;
  padding: 24px !important;
}

.pat-panel.pat-native-fullscreen .pat-stage {
  min-height: calc(100vh - 48px);
}

@media (max-width: 640px) {
  .pat-ad-slot {
    width: calc(100% - 16px);
    margin-left: 8px;
    margin-right: 8px;
  }

  .pat-panel.pat-native-fullscreen {
    padding: 12px !important;
  }
}


/* v1.8.1: active left-tab colors */
.pat-tabs .pat-tab.is-active {
  color: #ffffff !important;
  border-color: transparent !important;
}

.pat-tabs .pat-tab[data-tab="alarm"].is-active {
  background: linear-gradient(180deg, #f59e0b, #c2410c) !important;
}

.pat-tabs .pat-tab[data-tab="timer"].is-active {
  background: linear-gradient(180deg, #06b6d4, #0e7490) !important;
}

.pat-tabs .pat-tab[data-tab="stopwatch"].is-active {
  background: linear-gradient(180deg, #22c55e, #15803d) !important;
}

.pat-tabs .pat-tab[data-tab="clock"].is-active {
  background: linear-gradient(180deg, #a855f7, #6d28d9) !important;
}

.pat-tabs .pat-tab[data-tab="settings"].is-active {
  background: linear-gradient(180deg, #64748b, #334155) !important;
}

.pat-tabs .pat-tab[data-tab="holidays"].is-active {
  background: linear-gradient(180deg, #eab308, #a16207) !important;
}

.pat-tabs .pat-tab.is-active:hover {
  filter: brightness(1.02);
}


.pat-panel.pat-native-fullscreen.pat-fullscreen-idle,
.pat-overlay.pat-fullscreen-idle {
  cursor: none !important;
}

.pat-panel.pat-native-fullscreen.pat-fullscreen-idle .pat-stage {
  min-height: calc(100vh - 48px) !important;
  justify-content: center !important;
}

.pat-panel.pat-native-fullscreen.pat-fullscreen-idle .pat-stage-title,
.pat-panel.pat-native-fullscreen.pat-fullscreen-idle .pat-stage-subtitle,
.pat-panel.pat-native-fullscreen.pat-fullscreen-idle .pat-stage-text,
.pat-panel.pat-native-fullscreen.pat-fullscreen-idle .pat-stage-date,
.pat-panel.pat-native-fullscreen.pat-fullscreen-idle .pat-stage-actions,
.pat-panel.pat-native-fullscreen.pat-fullscreen-idle .pat-stage-controls,
.pat-panel.pat-native-fullscreen.pat-fullscreen-idle .pat-stage-tools,
.pat-panel.pat-native-fullscreen.pat-fullscreen-idle .pat-section-grid,
.pat-panel.pat-native-fullscreen.pat-fullscreen-idle .pat-world-card,
.pat-panel.pat-native-fullscreen.pat-fullscreen-idle .pat-alarm-bottom-wrap,
.pat-panel.pat-native-fullscreen.pat-fullscreen-idle .pat-multi-list,
.pat-panel.pat-native-fullscreen.pat-fullscreen-idle .pat-card:not(.pat-stage) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .25s ease;
}

.pat-panel.pat-native-fullscreen.pat-fullscreen-idle .pat-stage-display,
.pat-panel.pat-native-fullscreen.pat-fullscreen-idle .pat-time-display,
.pat-panel.pat-native-fullscreen.pat-fullscreen-idle .pat-big-clock {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
}

.pat-overlay.pat-fullscreen-idle .pat-eyebrow,
.pat-overlay.pat-fullscreen-idle h2,
.pat-overlay.pat-fullscreen-idle .pat-actions {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .25s ease;
}

.pat-overlay.pat-fullscreen-idle .pat-overlay-time {
  opacity: 1 !important;
  visibility: visible !important;
}


.pat-sound-library {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.pat-sound-empty {
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 14px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
}

.pat-sound-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.12);
  background: #111111;
  border-radius: 14px;
  padding: 10px;
}

.pat-sound-item.is-selected {
  border-color: var(--pat-display-color);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--pat-display-color) 45%, transparent);
}

.pat-sound-name {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(255,255,255,.12);
  background: #070707;
  color: #ffffff;
  border-radius: 10px;
  padding: 8px 10px;
}

.pat-sound-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

@media (max-width: 680px) {
  .pat-sound-item {
    grid-template-columns: 1fr;
  }
  .pat-sound-actions {
    justify-content: flex-start;
  }
}

.pat-lang-switch{display:flex;align-items:center;gap:6px;margin-right:10px}
.pat-lang-btn{background:#2f2f33;color:#fff;border:1px solid rgba(255,255,255,.15);border-radius:999px;padding:6px 10px;font-size:12px;line-height:1;cursor:pointer;transition:none;-webkit-tap-highlight-color:transparent}
.pat-lang-btn.is-active{background:#fff;color:#111;border-color:#fff}
@media (max-width:640px){.pat-lang-switch{margin-right:0}.pat-lang-btn{padding:5px 8px;font-size:11px}}


/* v2.0.2 responsive and FR fixes */
.pat-shell {
  grid-template-columns: clamp(120px, 13vw, 148px) minmax(0, 1fr);
}

.pat-tabs,
.pat-tab {
  min-width: 0;
}

.pat-tab {
  padding: 16px 8px;
}

.pat-tab-label {
  max-width: 100%;
  font-size: clamp(12px, 1.05vw, 16px);
  line-height: 1.15;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  text-wrap: balance;
}

.pat-stage,
.pat-stage-card,
.pat-card,
.pat-dark-card,
.pat-world-card,
.pat-holidays-grid,
.pat-multi-card,
.pat-sound-library {
  min-width: 0;
}

.pat-btn,
.pat-mini-btn,
.pat-topbar-btn,
.pat-lang-btn {
  white-space: normal;
  line-height: 1.2;
}

.pat-sound-item,
.pat-multi-item {
  min-width: 0;
}

.pat-sound-name {
  min-width: 0;
  font-size: clamp(14px, 1vw, 18px);
}

@media (max-width: 1200px) {
  .pat-shell {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .pat-sound-item,
  .pat-multi-item {
    grid-template-columns: 1fr;
  }

  .pat-sound-actions,
  .pat-multi-actions {
    justify-content: flex-start;
  }
}

@media (min-width: 1201px) {
  .pat-sound-item,
  .pat-multi-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}


/* v2.0.3 settings and sidebar fixes */
.pat-stage-settings .pat-stage-actions {
  display: none !important;
}

.pat-tabs {
  display: flex !important;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;
  overflow: hidden !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pat-tabs::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.pat-tab {
  flex: 1 1 0;
  min-height: 0 !important;
  padding: 12px 8px;
}

.pat-tab-icon,
.pat-tab-icon svg {
  width: clamp(24px, 2vw, 34px);
  height: clamp(24px, 2vw, 34px);
}

.pat-tab-label {
  font-size: clamp(11px, 0.95vw, 15px);
}

@media (max-width: 900px) {
  .pat-tab {
    padding: 10px 6px;
  }
}


/* v2.0.4 high-zoom responsiveness */
.pat-app {
  --pat-topbar-height: clamp(64px, 6vw, 84px);
  --pat-sidebar-width: clamp(96px, 10vw, 128px);
}

.pat-topbar {
  padding: 0 clamp(12px, 2vw, 28px);
  gap: clamp(8px, 1.5vw, 16px);
  flex-wrap: wrap;
}

.pat-topbar-logo {
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.pat-topbar-actions {
  gap: clamp(8px, 1vw, 20px);
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}

.pat-topbar-btn {
  padding: 0 10px;
}

.pat-topbar-mini-clock {
  min-width: 0;
  flex-wrap: wrap;
}

.pat-tabs {
  width: var(--pat-sidebar-width);
}

.pat-tab {
  padding: clamp(10px, 1.2vw, 16px) 6px;
  gap: 8px;
}

.pat-tab-label {
  font-size: clamp(10px, 0.95vw, 14px);
  line-height: 1.1;
}

.pat-content, .pat-panel {
  overflow-x: hidden;
}

.pat-stage {
  padding-left: clamp(8px, 1vw, 24px);
  padding-right: clamp(8px, 1vw, 24px);
}

@media (max-width: 1200px) {
  .pat-app {
    --pat-sidebar-width: 104px;
  }

  .pat-topbar-mini-clock small {
    display: none;
  }
}

@media (max-width: 980px) {
  .pat-app {
    --pat-topbar-height: 60px;
    --pat-sidebar-width: 96px;
  }

  .pat-topbar-logo {
    font-size: 20px;
  }

  .pat-topbar-actions {
    gap: 8px;
  }

  .pat-tab-label {
    font-size: 10px;
  }
}

@media (max-width: 760px) {
  .pat-app {
    --pat-topbar-height: auto;
    padding-top: 84px !important;
  }

  .pat-topbar {
    min-height: 84px;
    align-items: center;
  }

  .pat-topbar-mini-clock {
    display: none;
  }
}

@media (max-width: 680px) {
  .pat-app {
    --pat-sidebar-width: 86px;
  }

  .pat-tab-icon,
  .pat-tab-icon svg {
    width: 24px;
    height: 24px;
  }

  .pat-tab-label {
    font-size: 10px;
  }
}


/* v2.0.5 compact high-zoom mode */
@media (max-width: 1100px) {
  .pat-app {
    --pat-sidebar-width: 72px;
    --pat-topbar-height: 72px;
  }

  .pat-topbar {
    padding: 8px 12px;
    gap: 10px;
    align-items: center;
  }

  .pat-topbar-logo {
    font-size: clamp(16px, 2.2vw, 22px);
  }

  .pat-topbar-actions {
    gap: 8px;
  }

  .pat-topbar-btn {
    min-height: 40px;
    padding: 0 8px;
    font-size: 12px;
  }

  .pat-lang-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    font-size: 12px;
  }

  .pat-tabs {
    width: var(--pat-sidebar-width);
  }

  .pat-tab {
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
  }

  .pat-tab-label {
    display: none !important;
  }

  .pat-tab-icon,
  .pat-tab-icon svg {
    width: 28px;
    height: 28px;
  }

  .pat-panel {
    padding: 14px 12px 18px;
  }

  .pat-stage {
    min-height: 42vh;
    padding: 18px 8px 16px;
  }

  .pat-stage-title {
    font-size: clamp(22px, 4vw, 40px);
  }

  .pat-stage-display,
  .pat-stage .pat-time-display,
  .pat-stage .pat-big-clock,
  .pat-stage .pat-big-digits {
    font-size: clamp(48px, 12vw, 120px);
  }

  .pat-stage-date,
  .pat-stage .pat-big-date {
    font-size: clamp(16px, 3vw, 28px);
  }

  .pat-card-grid,
  .pat-grid-2,
  .pat-grid-3,
  .pat-holidays-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 860px) {
  .pat-app {
    --pat-sidebar-width: 64px;
    --pat-topbar-height: 68px;
    padding-top: 68px !important;
  }

  .pat-topbar {
    min-height: 68px;
    padding: 6px 10px;
  }

  .pat-topbar-brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .pat-topbar-logo {
    font-size: clamp(15px, 2vw, 20px);
  }

  .pat-topbar-actions {
    flex: 0 0 auto;
    gap: 6px;
  }

  .pat-topbar-btn {
    font-size: 11px;
    min-height: 36px;
    padding: 0 6px;
  }

  .pat-lang-btn {
    width: 38px;
    height: 38px;
    font-size: 11px;
  }

  .pat-tab-icon,
  .pat-tab-icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 640px) {
  .pat-topbar-btn[data-tab="holidays"] {
    display: none;
  }
}
