/* In-board section/kanban view — scoped under .rl-section */


.rl-section {
  --ink: #1e293b;
  --muted: #94a3b8;
  --border: #e2e8f0;
  --surface: #ffffff;
  --bg: #f4f5f8;
  --accent: #5b5cf0;
  --accent-dark: #4f46e5;
  --rl-ink: #1e293b;
  --rl-muted: #94a3b8;
  --rl-border: #e2e8f0;
  --rl-surface: #ffffff;
  --rl-search-bg: #f8fafc;
  --rl-accent: #0c6af4;
  --rl-accent-soft: #0c6af4;
  --rl-page-gutter: clamp(20px, 2.5vw, 36px);
  font-family: "Inter", sans-serif;
  background: var(--bg);
  min-height: 100vh;
}

body:has(.rl-section) {
  background-color: var(--bg) !important;
}

.rl-section .material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
  user-select: none;
}

.rl-section .left-side-menu {
  display: none !important;
}

.rl-section .mainPageBackground,
.rl-section .content-page-without-sidebar,
.rl-section .content-page-with-sidebar {
  background-color: var(--bg) !important;
  margin-left: 0 !important;
  padding: 0 !important;
  min-height: calc(100vh - 64px);
  overflow: hidden;
}

.rl-section .content {
  padding: 0 !important;
  margin: 0 !important;
  height: 100%;
}

.rl-section .content > .container-fluid {
  padding: 0 !important;
  max-width: none;
  height: 100%;
}

.rl-section .addSectionBtnDis {
  display: inline-flex !important;
}

.rl-section .header-actions > li.addSectionBtnDis {
  display: flex !important;
}

/* Reuse modern header look inside section view */
.rl-section .header-style-rl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 10px var(--rl-page-gutter) !important;
  background: var(--rl-surface) !important;
  border-bottom: 1px solid var(--rl-border);
  box-shadow: none !important;
  height: auto !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.rl-section .header-brand {
  display: flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  width: 11rem;
  cursor: pointer;
}

.rl-section .header-brand > img {
  width: 42px;
  height: 2.4rem;
  object-fit: contain;
}

.rl-section .header-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.rl-section .header-brand-name {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--rl-ink);
  letter-spacing: -0.02em;
}

.rl-section .header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 420px;
  min-width: 180px;
  height: 40px;
  padding: 0 12px 0 14px;
  background: var(--rl-search-bg);
  border: 1px solid var(--rl-border);
  border-radius: 999px;
  cursor: text;
  margin: 0;
}

.rl-section .header-search:focus-within {
  border-color: #c4b5fd;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.rl-section .header-search-icon { font-size: 20px; color: var(--rl-muted); flex-shrink: 0; }
.rl-section .header-search input {
  flex: 1; min-width: 0; border: none !important; outline: none !important;
  background: transparent !important; box-shadow: none !important;
  font-size: 0.875rem; color: var(--rl-ink); height: auto; padding: 0;
}
.rl-section .header-search input::placeholder { color: var(--rl-muted); }
.rl-section .header-search-kbd {
  flex-shrink: 0; padding: 2px 6px; font-family: inherit; font-size: 0.7rem;
  font-weight: 500; color: var(--rl-muted); background: #eef2f7;
  border: 1px solid #e2e8f0; border-radius: 5px; line-height: 1.4;
}

.rl-section .header-actions {
  display: flex; align-items: center; gap: 4px; flex-shrink: 0;
  list-style: none; margin: 0; padding: 0;
}
.rl-section .header-actions > li { display: flex; align-items: center; padding: 0; margin: 0; list-style: none; }

.rl-section .header-icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: none; border-radius: 10px; background: transparent;
  color: #64748b; cursor: pointer; padding: 0; text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.rl-section .header-icon-btn:hover { background: #f1f5f9; color: var(--rl-ink); }
.rl-section .header-icon-btn .material-symbols-outlined { font-size: 22px; }
.rl-section .header-notif-badge {
  position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 500;
  line-height: 1; color: #fff; background: var(--rl-accent-soft); border-radius: 999px;
  border: 1.5px solid var(--rl-surface);
}
.rl-section .header-profile {
  display: flex; align-items: center; gap: 8px; margin-left: 6px; padding: 4px 6px 4px 4px;
  border: none; border-radius: 999px; background: transparent; cursor: pointer;
  text-decoration: none; color: inherit; transition: background 0.15s ease;
}
.rl-section .header-profile:hover { background: #f1f5f9; }
.rl-section .header-avatar {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; background: #dbeafe; color: #0c6af4; font-size: 0.75rem;
  font-weight: 600; overflow: hidden; flex-shrink: 0;
}
.rl-section .header-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rl-section .header-username { font-size: 0.875rem; font-weight: 500; color: var(--rl-ink); white-space: nowrap; }
.rl-section .header-chevron { font-size: 20px; color: var(--rl-muted); }



.rl-section .board-app {
  height: calc(100vh - 64px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  position: relative;
  background: var(--bg);
}

.rl-section .board-app > .gameBtn {
  position: absolute;
  z-index: 30;
}

/* Shared small controls used in columns/cards */
.rl-section .icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.rl-section .icon-btn:hover {
  background: #f1f5f9;
  color: var(--ink);
}

.rl-section .icon-btn.sm {
  width: 28px;
  height: 28px;
}

.rl-section .icon-btn.sm .material-symbols-outlined {
  font-size: 18px;
}

.rl-section .avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dbeafe;
  color: #0c6af4;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.rl-section .avatar.sm {
  width: 26px;
  height: 26px;
  font-size: 0.6rem;
}

/* —— Board meta —— */
.rl-section .board-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px var(--rl-page-gutter);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.rl-section .board-meta-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.rl-section .board-meta-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.rl-section .board-meta-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rl-section .board-meta-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, #e8f0ff 0%, #dbeafe 100%);
  color: #2563eb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.rl-section .board-meta-icon .material-symbols-outlined {
  font-size: 22px;
}

.rl-section .board-title {
  margin: 0;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.rl-section .sections-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.rl-section .sections-count-pill .material-symbols-outlined {
  font-size: 16px;
}

.rl-section .board-meta-desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rl-section .board-meta-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.rl-section .add-section-btn {
  margin-left: 8px;
  padding: 9px 16px;
  border: none;
  border-radius: 999px;
  background: var(--rl-blue, #0c6af4);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(12, 106, 244, 0.3);
}

.rl-section .add-section-btn:hover {
  filter: brightness(1.06);
}

/* —— Columns scroller —— */
.rl-section .creating-card-container {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 16px var(--rl-page-gutter) 72px;
  min-height: 0;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
}

.rl-section .creating-card-container::-webkit-scrollbar {
  height: 8px;
}

.rl-section .creating-card-container::-webkit-scrollbar-thumb {
  background: #c7cdd8;
  border-radius: 999px;
}

.rl-section .board-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 320px;
  flex: 0 0 320px;
  max-height: 100%;
  min-height: 0;
  padding: 14px;
  border-radius: 16px;
  --section-color: #60a5fa;
  background: color-mix(in srgb, var(--section-color) 18%, #fff);
  border: 1.5px solid color-mix(in srgb, var(--section-color) 42%, #fff);
  box-shadow:
    0 8px 20px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  box-sizing: border-box;
}

.rl-section .col-green,
.rl-section .col-blue,
.rl-section .col-pink,
.rl-section .col-lavender {
  background: color-mix(in srgb, var(--section-color) 18%, #fff);
  border-color: color-mix(in srgb, var(--section-color) 42%, #fff);
}

.rl-section .column-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  min-height: auto;
  align-self: stretch;
}

.rl-section .column-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 1.3em;
}

.rl-section .column-title-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.rl-section .column-title-row h2 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  min-height: 1.3em;
  max-height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
}

.rl-section .column-title-row h2 > span {
  display: contents;
}

.rl-section .column-instructions {
  flex: 1;
  padding-left: 18px;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.45;
}

.rl-section .column-author {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: #64748b;
  flex-wrap: nowrap;
  margin-top: 2px;
  min-height: 28px;
  height: 28px;
  flex-shrink: 0;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
}

.rl-section .column-author > span:not(.avatar):not(.cards-count) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.rl-section .cards-count {
  margin-left: auto;
  flex-shrink: 0;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  align-self: center;
}

.rl-section .add-card-btn {
  width: 100%;
  align-self: start;
  flex-shrink: 0;
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.rl-section .add-card-btn:hover {
  background: var(--accent-dark);
}

.rl-section .column-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
}

.rl-section .column-cards::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.rl-section .column-cards::-webkit-scrollbar-thumb {
  background: transparent;
}

/* —— Inner cards —— */
.rl-section .inner-card {
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid #eef0f4;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rl-section .inner-card.is-clickable {
  cursor: pointer;
}

html:not([data-theme="dark"]) .rl-section .inner-card.is-clickable:hover {
  border-color: #d9dee8;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.rl-section .inner-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.rl-section .inner-card-user {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.rl-section .user-name {
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

.rl-section .time {
  font-size: 0.72rem;
  color: var(--muted);
}

.rl-section .inner-card-title {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
}

.rl-section .inner-card-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

.rl-section .inner-card-desc-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.rl-section .inner-card-media {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  display: block;
  background: #e2e8f0;
}

.rl-section .amenity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  background: #1e293b;
}

.rl-section .amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: 8px;
  background: #334155;
  color: #e2e8f0;
  font-size: 0.7rem;
}

.rl-section .amenity-item .material-symbols-outlined {
  font-size: 22px;
  color: #93c5fd;
}

.rl-section .inner-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

.rl-section .inner-card-footer .face {
  font-size: 18px;
  color: #64748b;
}

.rl-section .stars {
  display: flex;
  align-items: center;
  gap: 0;
}

.rl-section .stars .material-symbols-outlined {
  font-size: 16px;
  color: #cbd5e1;
}

.rl-section .stars .material-symbols-outlined.filled {
  color: #fbbf24;
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 20;
}

.rl-section .comments-label {
  margin-left: 0;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1.2;
  align-self: center;
  font-size: 0.72rem;
  color: var(--muted);
}

.rl-section .comment-box {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f8fafc;
  cursor: text;
}

.rl-section .comment-box input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.78rem;
  color: var(--ink);
  cursor: text;
}

.rl-section .comment-box input::placeholder {
  color: var(--muted);
}

.rl-section .comment-box button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.rl-section .comment-box button .material-symbols-outlined {
  font-size: 18px;
}

/* —— Floating nav —— */
.rl-section .section-nav {
  position: absolute;
  right: var(--rl-page-gutter);
  bottom: 24px;
  display: flex;
  gap: 10px;
  z-index: 50;
  pointer-events: auto;
}

.rl-section .section-nav button {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--rl-blue, #0c6af4);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(12, 106, 244, 0.32);
}

.rl-section .section-nav button:hover {
  filter: brightness(1.08);
}

.rl-section .section-nav .material-symbols-outlined {
  font-size: 26px;
}

@media (max-width: 900px) {
  .rl-section .board-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .rl-section .board-meta-main {
    flex-wrap: wrap;
  }

  .rl-section .board-meta-title-row {
    flex-wrap: wrap;
  }

  .rl-section .board-title {
    white-space: normal;
    flex: 1 1 160px;
  }

  .rl-section .board-meta-right {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .profile-name,
  .rl-section .header-username {
    display: none;
  }

  .board-search-kbd,
  .rl-section .header-search-kbd {
    display: none;
  }

  .rl-section .board-column {
    width: 280px;
    flex-basis: 280px;
  }
}


/* App-specific overrides inside section columns */

.rl-section .column-instructions,
.rl-section .column-desc {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.35;
  height: 1.35em;
  min-height: 1.35em;
  max-height: 1.35em;
  overflow: hidden;
  display: flex;
  align-items: center;
  word-break: break-word;
}

.rl-section .column-desc-text,
.rl-section .column-desc-empty {
  display: block;
  width: 100%;
  margin: 0;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rl-section .column-desc-empty {
  color: #94a3b8;
  font-style: italic;
}

.rl-section .see-more-link {
  display: inline;
  border: none;
  background: none;
  padding: 0;
  color: #5b5cf0;
  font-size: 0.72rem;
  cursor: pointer;
  margin: 0 0 0 4px;
}

.rl-section .section-media-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rl-section .section-media-row .media-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

.rl-section .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.rl-section .inner-card .card-media-container {
  width: 100%;
  height: auto;
  bottom: auto;
  padding: 0;
  gap: 8px;
}

.rl-section .inner-card .card-media-container .media-container {
  width: 100%;
  height: auto;
  gap: 8px;
  flex-wrap: wrap;
}

.rl-section .inner-card .card-media-container .media-box {
  width: auto;
  height: auto;
  overflow: hidden;
  border-radius: 10px;
}

.rl-section .inner-card .card-media-container .media-box:has(.card-audio-tile) {
  overflow: visible;
}

.rl-section .inner-card .card-media-container .media-box:has(.inner-card-media),
.rl-section .inner-card .card-media-container .media-box:has(.card-audio-tile) {
  width: 100%;
}

.rl-section .inner-card .card-media-container img,
.rl-section .inner-card .card-media-container video,
.rl-section .inner-card .card-media-container iframe {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: #e2e8f0;
}

.rl-section .inner-card .card-media-container img:not(.inner-card-media) {
  width: 48px;
  height: 48px;
  max-height: none;
  object-fit: contain;
  background: transparent;
}

.rl-section .inner-card .social-media-container {
  width: 100%;
  height: auto;
  top: auto;
}

.rl-section .inner-card .social-media-container > img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  object-position: center;
  padding-bottom: 0;
}

.rl-section .inner-card-footer {
  flex-wrap: nowrap;
  align-items: center;
  min-height: 28px;
  margin-bottom: 2px;
}

.rl-section .emotion-card-star-comment-count {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  width: 100%;
  height: auto;
  min-height: 28px;
  overflow: visible;
}

.rl-section .comments-label,
.rl-section .card-comment-count {
  margin-left: 0;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1.2;
  align-self: center;
  font-size: 0.72rem;
  color: var(--muted);
}

.rl-section .comment-box {
  width: 100%;
  margin-top: 4px;
}

.rl-section .inner-card-comments {
  width: 100%;
  margin-top: 8px;
  padding-top: 12px;
  gap: 8px;
}

.rl-section .inner-card-comments .view-card-comments-head {
  justify-content: flex-start;
}

.rl-section .inner-card-view-all {
  margin-left: auto;
  border: none;
  background: none;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
  cursor: pointer;
}

.rl-section .inner-card-view-all:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.rl-section .inner-card-comments .view-card-comment-text {
  margin-top: -4px;
  font-size: 0.8125rem;
  line-height: 1.3;
}

.rl-section .inner-card-comments .view-card-comment-list {
  gap: 10px;
}

.rl-section .comment-box button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.rl-section .inner-card ul,
.rl-section .column-cards ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rl-section .borderCla {
  outline: 2px solid #5b5cf0;
  border-radius: 12px;
}

.rl-section .gameBtn.homeBtn {
  z-index: 30;
}

.card-audio-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 10px 10px 10px 10px;
  border: none;
  border-radius: 12px;
  background: #eef2ff;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.card-audio-tile:hover {
  background: #e0e7ff;
}

.card-audio-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #635bff;
  color: #fff;
}

.card-audio-icon .material-symbols-outlined {
  font-size: 20px;
}

.card-audio-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-audio-label {
  font-size: 0.8rem;
  font-weight: 650;
  color: #1e1b4b;
  line-height: 1.2;
}

.card-audio-from {
  font-size: 0.7rem;
  color: #6366f1;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-audio-play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  color: #635bff;
}

.card-audio-play .material-symbols-outlined {
  font-size: 18px;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

/* header dropdown styles live in dashboard-starter.css (shared) */

@media (max-width: 900px) {
  .rl-section .header-username { display: none; }
  .rl-section .header-search-kbd { display: none; }
}
