@import url('https://cdn.jsdelivr.net/npm/@fontsource/jetbrains-mono@5.1.0/index.min.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --bg-primary: #0d0d0d;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --accent: #f0c674;
  --accent-selection: #a48c5d;
  --accent-soft: rgba(240, 198, 116, 0.12);
  --accent-border: rgba(240, 198, 116, 0.25);
  --text-primary: #e8e8e8;
  --text-secondary: #888888;
  --text-muted: #444444;
  --border: #222222;
}

body {
  font-family: 'JetBrains Mono', monospace;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  position: relative;
}

::selection {
  background-color: var(--accent-selection);
  color: var(--bg-primary);
}

img {
  user-select: none;
  -webkit-user-drag: none;
}

/* Background glow */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  width: 450px;
  height: 450px;
  background: rgba(240, 198, 116, 0.05);
  top: -120px;
  right: -80px;
  animation: floatGlow1 16s ease-in-out infinite;
}

.bg-glow-2 {
  width: 350px;
  height: 350px;
  background: rgba(240, 198, 116, 0.04);
  bottom: -100px;
  left: -60px;
  animation: floatGlow2 14s ease-in-out infinite;
}

.bg-glow-3 {
  width: 280px;
  height: 280px;
  background: rgba(240, 198, 116, 0.035);
  top: 40%;
  left: 45%;
  animation: floatGlow3 18s ease-in-out infinite;
}

@keyframes floatGlow1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 25px); }
}

@keyframes floatGlow2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(25px, -20px); }
}

@keyframes floatGlow3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 15px) scale(1.1); }
}

/* Layout */
.layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
}

/* Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  opacity: 0;
  animation: cardIn 0.6s ease forwards;
}

@keyframes cardIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.banner {
  width: 100%;
  height: 140px;
  position: relative;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--bg-card));
}

.profile-section {
  padding: 0 24px 0;
  position: relative;
}

.avatar-wrapper {
  width: 72px;
  height: 72px;
  margin-top: -36px;
  position: relative;
  z-index: 1;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-card);
}

.idle-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2.5px solid var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.idle-badge img {
  width: 13px;
  height: 13px;
  transition: opacity 0.3s ease;
}

.profile-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-top: 10px;
  cursor: default;
}

.profile-tag {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
  font-weight: 300;
}

.profile-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.profile-header-row > div:first-child {
  flex: 1;
  min-width: 0;
}

.profile-actions {
  position: relative;
  display: flex;
  gap: 6px;
  top: 14px;
  flex-shrink: 0;
}

.action-btn {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}

.action-btn:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent);
}

.action-btn .bi {
  font-size: 0.85rem;
}

.profile-bio {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 12px;
  font-weight: 300;
}

.profile-content {
  padding: 0 24px 24px;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.section-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
  cursor: default;
}


.bi {
  width: 18px;
  height: 18px;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: currentColor;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -0.125em;
}

.btn:hover .bi,
.social-link:hover .bi,
.modal-action-btn:hover .bi,
.modal-close:hover .bi {
  color: var(--accent);
}

/* Dynamic button group */
.btn-group {
  display: grid;
  gap: 8px;
}

.btn-group.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.btn-group.cols-2 .btn:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.btn-group.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.btn-group.cols-3 .btn:last-child:nth-child(3n+1) {
  grid-column: 1 / -1;
}

.btn {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  font-family: inherit;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-link {
  flex: 1 1 0;
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.social-link:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent);
}

.social-link img {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: 90%;
  max-width: 520px;
  max-height: 75vh;
  overflow-y: auto;
  padding: 28px;
  transform: scale(0.96);
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal::-webkit-scrollbar {
  width: 3px;
}

.modal::-webkit-scrollbar-track {
  background: transparent;
  margin: 0.8rem 0;
}

.modal::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-header h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.4px;
  cursor: default;
}

.modal-header .modal-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 3px;
  font-weight: 300;
}

.modal-close {
  width: 32px;
  height: 32px;
  color: var(--text-secondary);
  border-radius: 7px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
  user-select: none;
  padding: 0;
}

.modal-close:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}

.modal-section {
  margin-bottom: 18px;
}

.modal-section:last-child {
  margin-bottom: 0;
}

.modal-section-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  cursor: default;
}

.modal-section p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* Dynamic stats grid */
.modal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.modal-stat:last-child:nth-child(3n+1) {
  grid-column: 1 / -1;
}

.modal-stat {
  text-align: center;
  padding: 12px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  cursor: default;
}

.modal-stat-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.modal-stat-label {
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 3px;
  font-weight: 300;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.modal-tag {
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  user-select: none;
}

.modal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-list li {
  font-size: 12px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
  font-weight: 300;
}

.modal-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 500;
}

.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.modal-action-btn {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  font-family: inherit;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.modal-action-btn:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent);
}

.modal-action-btn img {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Language Menu */
.lang-menu {
  position: absolute;
  left: calc(60% + 18px);
  top: 42%;
  transform: translateY(-50%) scale(0.95); 
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
  transition: all 0.25s ease;
  z-index: 60;
  min-width: 90px;
  transform-origin: left center;
  white-space: nowrap;
}

.lang-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
  pointer-events: all;
}

.lang-option {
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.lang-option:hover,
.lang-option.active {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Tracks Modal */
.now-playing-section {
  margin: 16px 0;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.now-playing-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
  cursor: default;
}

.now-playing-header .bi {
  color: #1DB954;
  font-size: 0.9rem;
}

.now-playing-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-soft), rgba(240, 198, 116, 0.06));
  border: 1px solid var(--accent-border);
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.3s ease;
  align-items: center;
  overflow: hidden;
}

.now-playing-card:hover {
  border-color: var(--accent);
}

.now-playing-cover {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--bg-card-hover);
}

.now-playing-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

.now-playing-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-playing-artist {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 400;
}

.now-playing-album {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 300;
  font-style: italic;
}

.now-playing-progress {
  grid-column: 2 / -1;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 6px;
}

.now-playing-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 1s linear;
}

@media screen and (max-width: 420px) {
  .now-playing-card {
    grid-template-columns: 48px 1fr auto;
    gap: 10px;
    padding: 10px;
  }
  
  .now-playing-cover {
    width: 48px;
    height: 48px;
  }
  
  .now-playing-title {
    font-size: 12px;
  }
  
  .now-playing-artist {
    font-size: 10px;
  }
  
  .now-playing-album {
    font-size: 9px;
  }
}

.tracks-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.track-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
  align-items: center;
  overflow: hidden;
}

.track-item:hover {
  border-color: var(--accent-border);
}

.track-link-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.track-link-btn:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent);
}

.track-link-btn .bi {
  font-size: 1rem;
}

.track-cover {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--bg-card-hover);
}

.track-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}

.track-name-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.track-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: wrap;
  display: inline-block;
  cursor: default;
}

.track-artist {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 300;
}


@media screen and (max-width: 880px) {
  body {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
  }

  .layout {
    padding: 20px;
    height: auto;
    min-height: 100vh;
    align-items: flex-start;
  }

  .card {
    max-width: 100%;
    margin: 0 auto;
    animation: cardIn 0.4s ease forwards;
  }

  .banner {
    height: 120px;
  }

  .avatar-wrapper {
    width: 64px;
    height: 64px;
    margin-top: -32px;
  }

  .profile-name {
    font-size: 17px;
  }

  .profile-tag {
    font-size: 11px;
  }

  .profile-bio {
    font-size: 11px;
    line-height: 1.5;
  }

  .profile-actions {
    top: 10px;
  }

  .action-btn {
    width: 24px;
    height: 24px;
  }

  .btn {
    padding: 9px 12px;
    font-size: 11px;
  }

  .social-link {
    padding: 9px 12px;
    font-size: 11px;
    min-width: 80px;
  }

  .modal {
    width: 95%;
    max-height: 80vh;
    padding: 24px 20px;
  }

  .modal-header h2 {
    font-size: 16px;
  }

  .modal-header .modal-sub {
    font-size: 11px;
  }

  .modal-section p {
    font-size: 12px;
  }

  .modal-stat-val {
    font-size: 16px;
  }

  .modal-stat-label {
    font-size: 9px;
  }

  .modal-tag {
    font-size: 10px;
    padding: 3px 8px;
  }

  .modal-list li {
    font-size: 11px;
    padding-left: 14px;
  }

  .modal-action-btn {
    padding: 9px 12px;
    font-size: 11px;
  }

  .lang-menu {
    left: auto;
    right: 24px;
    top: 230px;
    transform: scale(0.95);
    transform-origin: top right;
  }

  .lang-menu.active {
    transform: scale(1);
  }

  .track-item {
    grid-template-columns: 48px 1fr auto;
    gap: 10px;
    padding: 8px;
  }

  .track-cover {
    width: 48px;
    height: 48px;
  }

  .track-name {
    font-size: 12px;
  }

  .track-artist {
    font-size: 10px;
  }
}

@media screen and (max-width: 420px) {
  body {
    font-size: 14px;
  }

  .layout {
    padding: 12px;
  }

  .card {
    border-radius: 14px;
    overflow: hidden;
  }

  .banner {
    height: 100px;
  }

  .profile-section {
    padding: 0 16px 0;
  }

  .avatar-wrapper {
    width: 56px;
    height: 56px;
    margin-top: -28px;
  }

  .idle-badge {
    width: 16px;
    height: 16px;
  }

  .idle-badge img {
    width: 11px;
    height: 11px;
  }

  .profile-header-row {
    align-items: flex-start;
    gap: 8px;
  }

  .profile-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .profile-name {
    font-size: 16px;
    margin-top: 6px;
  }

  .profile-tag {
    font-size: 10px;
    text-wrap: nowrap;
  }

  .profile-bio {
    font-size: 11px;
    margin-top: 8px;
  }

  .profile-content {
    padding: 0 16px 16px;
  }

  .section-label {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .divider {
    margin: 12px 0;
  }

  .btn {
    padding: 12px 14px;
    font-size: 12px;
    min-height: 44px;
  }

  .btn-group {
    gap: 10px;
  }

  .btn-group.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .btn-group.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .btn-group.cols-2 .btn:last-child:nth-child(odd),
  .btn-group.cols-3 .btn:last-child:nth-child(3n+1) {
    grid-column: auto;
  }

  .social-row {
    flex-direction: column;
    gap: 10px;
  }

  .social-link {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    font-size: 12px;
    min-height: 44px;
  }

  .social-link .bi {
    font-size: 1rem;
  }

  .modal {
    width: calc(100% - 24px);
    max-height: calc(100vh - 48px);
    padding: 20px 16px;
    border-radius: 12px;
  }

  .modal-header {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }

  .modal-header h2 {
    font-size: 15px;
  }

  .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
  }

  .modal-section {
    margin-bottom: 14px;
  }

  .modal-section p {
    font-size: 12px;
    line-height: 1.6;
  }

  .modal-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .ms3fr {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .modal-stat {
    padding: 10px 6px;
  }

  .modal-stat:last-child:nth-child(3n+1),
  .modal-stat:last-child:nth-child(2n+1) {
    grid-column: 1 / -1;
  }

  .modal-stat-val {
    font-size: 15px;
  }

  .modal-stat-label {
    font-size: 9px;
  }

  .modal-stat.wide {
    grid-column: 1 / -1;
  }

  .modal-tags {
    gap: 6px;
  }

  .modal-tag {
    font-size: 10px;
    padding: 4px 9px;
  }

  .modal-list li {
    font-size: 11px;
    padding-left: 14px;
  }

  .modal-actions {
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
  }

  .modal-action-btn {
    width: 100%;
    padding: 12px;
    font-size: 12px;
    min-height: 44px;
    justify-content: center;
  }

  .lang-menu {
    left: auto;
    right: 20px;
    top: 195px;
    transform: scale(0.98) translateY(10px);
    max-width: 95px;
    border-radius: 12px;
  }

  .lang-menu.active {
    transform: scale(1) translateY(0);
  }

  .tracks-list {
    gap: 10px;
  }

  .track-item {
    grid-template-columns: 44px 1fr auto;
    gap: 8px;
    padding: 8px;
  }

  .track-cover {
    width: 44px;
    height: 44px;
    border-radius: 5px;
  }

  .track-info {
    gap: 2px;
  }

  .track-name {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .track-artist {
    font-size: 9px;
  }

  .track-link-btn {
    width: 28px;
    height: 28px;
    border-radius: 5px;
  }

  .track-link-btn .bi {
    font-size: 0.9rem;
  }

  .btn:active,
  .social-link:active,
  .modal-action-btn:active,
  .action-btn:active,
  .modal-close:active,
  .lang-option:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }

  @media (hover: none) and (pointer: coarse) {
    select, input, textarea {
      font-size: 16px !important;
    }
  }
}