:root {
  --dashboard-display-size: clamp(25px, 2.48vw, 45px);
  --dashboard-section-size: clamp(21px, 1.7vw, 29px);
  --dashboard-label-size: 13px;
  --dashboard-note-size: 12px;
  --dashboard-bg: #f5f7fb;
  --dashboard-surface: #fff;
  --dashboard-raised: #edf1f7;
  --dashboard-text: #172133;
  --dashboard-muted: #526279;
  --dashboard-line: #ccd5e3;
  --dashboard-gold: #ffca16;
  --dashboard-inset: clamp(20px, 3vw, 54px);
}
html[data-theme=dark] {
  --dashboard-bg: #0d121c;
  --dashboard-surface: #151d2b;
  --dashboard-raised: #1c2638;
  --dashboard-text: #f8faff;
  --dashboard-muted: #c8d4e6;
  --dashboard-line: #435069;
}
* { box-sizing: border-box; }
html [hidden] { display: none !important; }
html body {
  margin: 0;
  min-height: 100vh;
  background: var(--dashboard-bg);
  color: var(--dashboard-text);
  font: 14px 'Plus Jakarta Sans', system-ui, sans-serif;
}
html[data-theme=dark] body { background: radial-gradient(ellipse at 53% 0%, #151e2e, var(--dashboard-bg) 70%); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
h1, h2, h3, p { margin: 0; }
.dashboard-icons, .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.dashboard-nav svg, #dashboard svg, .winner-announcements svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dashboard-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.9vw, 32px);
  min-height: 61px;
  padding: 8px calc(var(--dashboard-inset) + min(1.6vw, 26px));
  border-bottom: 1px solid var(--dashboard-line);
  background: var(--dashboard-surface);
}
.dashboard-nav a.awaaj-brand { background: transparent; }
.dashboard-nav .winvo-wordmark { font-size: 30px; }
#directoryNav { display: flex; gap: clamp(5px, .8vw, 14px); }
#directoryNav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px clamp(9px, 1vw, 17px);
  border-radius: 24px;
  color: var(--dashboard-text);
  font-size: var(--dashboard-label-size);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
#directoryNav a svg { width: 18px; height: 18px; }
#directoryNav a.active, #directoryNav a.active:hover { background: var(--dashboard-gold); color: #1e1700; }
#directoryNav a:hover { background: var(--dashboard-raised); }

.dashboard-nav #accountMenu .account-trigger { border-color: var(--dashboard-line); }
html[data-theme=dark] .dashboard-nav #accountMenu .gold-wallet-link { color: #ffe56f; }

.winner-announcements {
  min-height: 40px;
  padding: 4px calc(var(--dashboard-inset) + min(1.6vw, 26px));
  gap: clamp(15px, 4vw, 68px);
}
html[data-theme=dark] .winner-announcements { background: #262316; color: #fff3c4; }
html[data-theme=dark] .winner-announcements-label { color: #ffe229; }
.winner-announcements-heading { position: relative; padding-left: 27px; gap: 0; }
.winner-announcements-heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 3h10v7a5 5 0 0 1-10 0V3Zm0 2H3v2a4 4 0 0 0 4 4m10-6h4v2a4 4 0 0 1-4 4m-5 4v5m-5 1h10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.winner-announcements-label { font-size: var(--dashboard-note-size); letter-spacing: 0; }
.winner-announcements-sample { font-size: 9px; line-height: 1.15; }
.winner-announcements-item { gap: 17px; }
.winner-announcements-item::before { background: #e2b200; width: 6px; height: 6px; }

#dashboard { max-width: 1920px; margin: auto; padding: 10px var(--dashboard-inset) 34px; }
.promotion {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #a449e4;
  border-radius: 22px;
  background: #281341;
  color: #fff;
}
.promotion-slide {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  min-height: 158px;
  padding: 10px max(70px, 5.4%) 22px max(72px, 27%);
  background-position: center;
  background-size: cover;
}
.promotion-slide[data-promotion=showdown] {
  background-image: linear-gradient(90deg, transparent 18%, #23052b54 33%, #23052b4d 59%, transparent 82%), url('/assets/directory-showdown.webp');
}
.promotion-slide[data-promotion=music] {
  background-image: linear-gradient(90deg, #23103e11, #1b0b32ed 36%, #281044bb), url('/assets/directory-headphones.webp');
}
.promotion-slide[data-promotion=social] {
  background-image: linear-gradient(90deg, #051d481a, #071936e6 36%, #071936bb), url('/assets/directory-social.webp');
}
.promotion-label {
  display: inline-flex;
  border-radius: 20px;
  background: var(--dashboard-gold);
  color: #211800;
  padding: 4px 14px;
  font-size: var(--dashboard-note-size);
  font-weight: 800;
  text-transform: uppercase;
}
html .promotion-copy :is(h1,h2) {
  margin: 0;
  color: #fff;
  font-size: var(--dashboard-display-size);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.045em;
  line-height: 1.13;
  text-shadow: 0 2px 10px #210b34;
}
html .promotion-copy p { margin-top: 3px; color: #ffeb75; font-size: clamp(13px, 1.28vw, 22px); font-weight: 600; }
.promotion-details { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.promotion-details span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  color: #fff;
  border: 1px solid #b780ca;
  border-radius: 22px;
  background: #210c34a8;
  font-size: var(--dashboard-note-size);
}
.promotion-details svg { color: #ffd62a; }
.promotion-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #ffffff4a;
  border-radius: 50%;
  background: #6e458d;
  color: #fff;
}
html[data-theme=dark] .promotion-arrow { background: #6e458d; border-color: #ffffff4a; }
.promotion-arrow.previous { left: 16px; }
.promotion-arrow.next { right: 16px; }
.promotion-pagination { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; }
html .promotion-pagination button { position: relative; width: 24px; height: 20px; padding: 0; border: 0; background: transparent; }
.promotion-pagination button::after { content: ''; position: absolute; inset: 7px 5px; border-radius: 12px; background: #a897c4; }
.promotion-pagination button[aria-current]::after { background: var(--dashboard-gold); }
html .promotion-rotation {
  position: absolute;
  right: 13px;
  bottom: 5px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #ffffff52;
  border-radius: 50%;
  background: #28143bc9;
  color: #fff;
}
.promotion-rotation[data-playing=true] .promotion-play-icon,
.promotion-rotation[data-playing=false] .promotion-pause-icon { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .promotion-slide:not([hidden]) { animation: promotion-enter .32s ease-out; }
  @keyframes promotion-enter {
    from { opacity: .55; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
  }
}
html :is(.promotion-cta,.yellow) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 24px;
  background: var(--dashboard-gold);
  color: #1e1700;
  padding: 10px 17px;
  min-height: 42px;
  font-size: var(--dashboard-label-size);
  font-weight: 800;
  white-space: nowrap;
}
html .promotion-cta {
  min-height: 46px;
  min-width: 173px;
  margin-bottom: 4px;
  background: linear-gradient(#ffdb42, #ffbe07);
  box-shadow: 0 0 26px #ffbd1670;
  font-size: 15px;
}

.directory-section { margin-top: 19px; }
#user-created { margin-top: 22px; scroll-margin-top: 14px; }
.directory-page { margin-top: 17px; }
.section-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 13px; }
.section-heading h2 { display: flex; align-items: center; gap: 9px; font-size: var(--dashboard-section-size); letter-spacing: -.045em; line-height: 1.16; }
html[data-theme=dark] .section-heading h2 { color: var(--dashboard-text); }
html .section-heading p { margin-top: 3px; color: var(--dashboard-muted); }
.official-heading h2 svg { color: #d6a100; }
html[data-theme=dark] .official-heading h2 svg { color: #ffcb17; }
.featured-label { padding: 5px 13px; border-radius: 25px; background: var(--dashboard-gold); color: #201800; font-size: 11px; font-weight: 800; }
html .official-heading p { display: flex; align-items: center; gap: 7px; margin: 0 0 0 auto; font-size: var(--dashboard-note-size); font-weight: 700; }
.official-heading p svg { color: #cd9600; }
html[data-theme=dark] .official-heading p svg { color: #fcd017; }
.discover-heading { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); }
.room-filters, .directory-actions { display: flex; align-items: center; gap: 9px; }
.directory-actions, .directory-page .yellow { justify-self: end; margin-left: auto; }
html .room-filters button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--dashboard-line);
  border-radius: 22px;
  background: var(--dashboard-raised);
  color: var(--dashboard-text);
  font-size: var(--dashboard-note-size);
  font-weight: 700;
  white-space: nowrap;
}
html .room-filters button[aria-pressed=true] {
  border-color: var(--dashboard-gold);
  background: var(--dashboard-gold);
  color: #1e1700;
}
#dashboard .directory-actions .yellow svg { width: 22px; height: 22px; }
.search-modes { margin-bottom: 18px; }
.directory-search, .search-results { max-width: 540px; }
.directory-search label, #officialRoomForm label { display: block; margin-bottom: 6px; font-weight: 700; }
.search-controls { display: flex; gap: 8px; }
.search-controls input, #officialRoomForm input {
  min-width: 0;
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--dashboard-line);
  border-radius: 9px;
  background: var(--dashboard-surface);
  color: var(--dashboard-text);
}
#directorySearchStatus { margin: 0; color: var(--dashboard-muted); }
#directorySearchStatus:not(:empty) { margin: 12px 0; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li + li { margin-top: 8px; }
html .search-results a {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 16px;
  padding: 12px 14px;
  border: 1px solid var(--dashboard-line);
  border-radius: 9px;
  background: var(--dashboard-surface);
  color: var(--dashboard-text);
  overflow-wrap: anywhere;
  text-decoration: none;
}
html .search-results a:is(:hover, :focus-visible) { border-color: var(--dashboard-gold); }
.search-results span { color: var(--dashboard-muted); font-size: var(--dashboard-note-size); }

html .search-results a.person-result {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
}
.search-results .person-result-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--dashboard-gold);
  color: #1e1700;
  font-size: 18px;
  font-weight: 700;
}
.person-result-avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-result-content { display: grid; gap: 4px; }
.person-result-bio { white-space: pre-line; }

.room-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
html .room-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: visible;
  border: 1px solid var(--dashboard-line);
  border-radius: 15px;
  background: var(--dashboard-surface);
  color: var(--dashboard-text);
  box-shadow: 0 4px 12px #080e2011;
}
html .room-card.priority-card { border-color: #d4ac41; box-shadow: 0 0 0 1px #d4ac4170, 0 4px 14px #0002; }
.room-card:focus-within, .room-card:has(.room-options[open]) { z-index: 4; }
html .room-card .art {
  position: relative;
  height: clamp(72px, 4.55vw, 91px);
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: #252744;
}
html .official-card .art { height: clamp(82px, 5.45vw, 108px); }
.room-cover-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.live-badge, .room-type-badge, .official-badge { position: absolute; }
.live-badge, .official-badge, .room-type-badge, .room-prize-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 18px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.live-badge { right: 7px; bottom: 5px; background: #004e39; color: #fff; }
.live-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2befb8; }
.official-card .live-badge { top: 7px; bottom: auto; right: 42px; }
.official-badge { top: 7px; left: 7px; background: #ffe082; color: #201800; }
.room-prize-badge {
  flex: none;
  padding-block: 2px;
  border: 1px solid #bd8507;
  background: linear-gradient(180deg, #fff1a6, #ffcf50);
  color: #422900;
  text-transform: none;
  white-space: nowrap;
}
.room-prize-badge .gold-coin { flex: none; }
.room-type-badge { bottom: 5px; left: 7px; background: #e2e8f0; color: #273548; }
.room-type-badge[data-type=competition] { background: #e3d4ff; color: #472478; }
.room-type-badge[data-type=singing] { background: #ffd7e9; color: #78234e; }
.room-type-badge[data-type=music] { background: #cce9ff; color: #18476a; }
.room-type-badge[data-type=comedy] { background: #ffdfc2; color: #703816; }
.room-type-badge[data-type=friends] { background: #c5f2e5; color: #155b48; }
#dashboard .official-badge svg { width: 12px; height: 12px; }
.room-card-content { padding: 6px 11px 7px; }
.room-card h3 { min-width: 0; display: flex; align-items: center; gap: 4px; color: var(--dashboard-text); font-size: var(--dashboard-label-size); font-weight: 800; line-height: 1.25; letter-spacing: -.018em; }
.room-card-link { color: inherit; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; text-decoration: none; }
.room-card-link::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
#dashboard .room-card-link:is(:focus-visible,:active) { outline: 2px solid #fff; outline-offset: 1px; border-radius: 3px; box-shadow: 0 0 0 4px #58667b; }
@media (hover:hover) and (pointer:fine) {
  .room-card:hover { border-color: #78879f; }
}
#dashboard h3 .official-check { flex: none; width: 14px; height: 14px; color: #d59b00; }
html[data-theme=dark] #dashboard h3 .official-check { color: #ffca16; }
.room-card-details, .room-card-footer, .room-host { display: flex; align-items: center; gap: 7px; justify-content: space-between; min-width: 0; }
.room-card-details { min-height: 17px; color: var(--dashboard-muted); font-size: 11px; }
.room-host strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-card-details .participant-count { margin-left: auto; }
.participant-count { display: inline-flex; align-items: center; gap: 4px; flex: none; color: var(--dashboard-text); font-weight: 700; }
.room-card-footer { margin-top: 3px; }
.room-host { justify-content: flex-start; }
.room-host strong { font-size: 10px; font-weight: 700; }
.room-host .avatar { width: 25px; height: 25px; flex: none; border-radius: 50%; }
.community-avatar { display: grid; place-items: center; background: #f2dfaf; color: #49320b; font-size: 9px; font-weight: 800; }
html[data-theme=dark] .community-avatar { background: #604719; color: #fff5d9; }
html .room-card .save {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--dashboard-text);
}
#dashboard .room-card .save svg { width: 18px; height: 18px; }
html .room-card .save:hover { background: var(--dashboard-raised); }
html .room-card .save[aria-pressed=true] { color: #db9c00; }
html[data-theme=dark] .room-card .save[aria-pressed=true] { color: #ffca16; }
.room-card .save[aria-pressed=true] svg { fill: currentColor; }
html .room-card .room-options > summary { width: 27px; min-width: 27px; height: 24px; border: 0; border-radius: 8px; background: #1c2638ed; color: white; }
.room-card .room-options > summary:hover { background: #34445c; }
.room-card .room-options-panel { width: min(205px, 69vw); }
.room-grid > .room-card:first-child .room-options-panel { right: auto; left: 0; }
@media(max-width: 670px) {
  .room-grid > .room-card:nth-child(odd) .room-options-panel { right: auto; left: 0; }
}
.room-listing-id { padding: 6px 8px; color: var(--dashboard-muted); font-size: 10px; overflow-wrap: anywhere; user-select: text; }
.empty { grid-column: 1/-1; padding: 18px; border: 1px dashed var(--dashboard-line); border-radius: 14px; color: var(--dashboard-muted); font-size: var(--dashboard-label-size); }
.note { margin: 28px var(--dashboard-inset); text-align: center; color: var(--dashboard-muted); }

dialog {
  width: min(520px, 92vw);
  padding: 27px;
  border: 1px solid var(--dashboard-line);
  border-radius: 20px;
  background: var(--dashboard-surface);
  color: var(--dashboard-text);
}
dialog::backdrop { background: #09101bb3; backdrop-filter: blur(5px); }
dialog p { margin: 10px 0; color: var(--dashboard-muted); line-height: 1.5; }
dialog .pill { border-radius: 20px; background: #fff0c8; color: #725300; }
dialog button { border: 0; }
dialog .create-room-cancel, #officialRoomDialog .room-danger { padding: 9px 12px; border-radius: 8px; }
#officialRoomForm input { width: 100%; }
#officialRoomForm .create-room-actions { flex-wrap: wrap; }
:where(button,a,summary,input):focus-visible { outline: 2px solid #b88900; outline-offset: 3px; }
.visually-hidden:focus { outline: none; }

@media (max-width: 1220px) {
  .room-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 1030px) {
  .discover-heading { grid-template-columns: minmax(0,1fr) auto; }
  .room-filters { grid-row: 2; grid-column: 1/-1; flex-wrap: wrap; }
}
@media (max-width: 880px) {
  .room-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .promotion-slide { padding-left: max(65px, 19%); }
}
@media (max-width: 960px) {
  .dashboard-nav { flex-wrap: wrap; gap: 6px 8px; padding: 8px var(--dashboard-inset); }
  .dashboard-nav .awaaj-brand .winvo-icon { width: 34px; height: 34px; }
  .dashboard-nav .winvo-wordmark { font-size: clamp(19px, 6vw, 28px); }
  .dashboard-nav #accountMenu .account-name { display: none; }
  #directoryNav { order: 3; flex: 1 0 100%; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  #directoryNav a { padding-inline: 8px; min-height: 44px; font-size: var(--dashboard-note-size); }
  #directoryNav a[href="#search"] { margin-inline-start: auto; justify-content: center; min-width: 44px; }
  #directoryNav a[href="#search"] span { display: none; }
}
@media (max-width: 700px) {
  .winner-announcements { padding-inline: var(--dashboard-inset); }
  .promotion-slide { min-height: 180px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 8px; padding: 11px 47px 22px; }
  .promotion-slide[data-promotion=showdown] { background-image: linear-gradient(90deg,#170932df,#23052b99 62%,#20032c31),url('/assets/directory-showdown.webp'); }
  html .promotion-cta { min-height: 36px; padding: 6px 12px; font-size: var(--dashboard-note-size); min-width: 0; }
  .promotion-arrow { width: 30px; height: 30px; }
  .promotion-arrow.previous { left: 7px; }
  .promotion-arrow.next { right: 7px; }
}
@media (max-width: 670px) {
  .room-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .room-card-content { padding-inline: 8px; }
  html .room-filters button { min-height: 38px; }
  html .official-heading p { display: none; }
  .directory-actions { gap: 5px; }
  html .directory-actions .yellow { padding: 9px 10px; font-size: 11px; gap: 4px; }
  #dashboard .directory-actions .yellow svg { width: 16px; }
}
@media (max-width: 360px) {
  :root { --dashboard-inset: 12px; }
  .discover-heading { gap: 9px; }
  .discover-heading p { font-size: 11px; }
  .room-filters { gap: 5px; }
}

#competitionNotifications:not([hidden]) {
  position: relative; order: 1; flex: none; display: grid; place-items: center;
  margin-inline-start: auto; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--dashboard-line); border-radius: 50%;
  color: var(--dashboard-text); background: var(--dashboard-surface); cursor: pointer;
}
#competitionNotifications:hover { background: var(--dashboard-raised); }
#competitionNotifications svg { width: 20px; height: 20px; }
#competitionNotifications:not([hidden]) + #accountMenu { margin-inline-start: 0; }
#competitionNotificationCount:not(:empty) {
  position: absolute; top: -2px; right: -3px; min-width: 17px; padding: 1px 3px;
  border-radius: 10px; background: var(--dashboard-gold); color: #1e1700;
  font-size: 10px; font-weight: 800; text-align: center;
}
#competitionScheduleField label:first-child { display: flex; align-items: center; gap: 8px; }
#createForm #scheduleCompetition { width: auto; margin: 0; }
#competitionStartField { display: grid; gap: 10px; }
.competition-start-controls { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 10px; }
.competition-start-controls label { margin-bottom: 4px; }
#competitionDateToggle, #createForm #competitionStartTime {
  min-height: 46px;
  border: 1px solid var(--dashboard-line);
  border-radius: 12px;
  background: var(--dashboard-raised);
  color: var(--dashboard-text);
}
#competitionDateToggle { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 11px; font: inherit; font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; }
#competitionDateToggle svg, .competition-calendar-toolbar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
#competitionDateToggle[aria-expanded=true] { border-color: var(--dashboard-gold); }
#competitionTimeZone { color: var(--dashboard-muted); font-size: 11px; }
#competitionCalendar { padding: 12px; border: 1px solid var(--dashboard-line); border-radius: 18px; background: var(--dashboard-raised); color: var(--dashboard-text); }
.competition-calendar-toolbar { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; padding-left: 8px; }
.competition-calendar-toolbar strong { flex: 1; font-size: 14px; }
.competition-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); justify-items: center; gap: 2px; }
.competition-calendar-weekdays { margin-bottom: 3px; color: var(--dashboard-muted); font-size: 11px; font-weight: 700; }
#competitionCalendar button { display: grid; place-items: center; width: min(100%, 40px); height: 36px; padding: 0; border: 1px solid transparent; border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
#competitionCalendar button:disabled { opacity: .42; cursor: default; }
#competitionCalendar button:not(:disabled):not([aria-pressed=true]):hover { background: color-mix(in srgb, var(--dashboard-gold) 15%, transparent); }
#competitionCalendar button[aria-current=date] { border-color: var(--dashboard-gold); }
#competitionCalendar button[aria-pressed=true] { background: var(--dashboard-gold); color: #302700; }
:is(#competitionCalendar button, #competitionDateToggle):focus-visible { outline: 2px solid var(--dashboard-gold); outline-offset: 2px; }
@media (max-width: 360px) { #competitionCalendar { padding: 8px; } #createForm #competitionStartTime { padding-inline: 7px; } }
.room-schedule { display: grid; gap: 4px; margin-top: 3px; font-size: 11px; }
.room-schedule time { color: var(--dashboard-muted); }
.room-schedule [data-competition-countdown] { font-variant-numeric: tabular-nums; }
.room-interest { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.room-interest button { position: relative; z-index: 2; display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid var(--dashboard-line); background: transparent; color: inherit; cursor: pointer; }
#dashboard .room-interest button svg { width: 16px; height: 16px; }
.room-interest button:hover { background: var(--dashboard-raised); }
.room-interest button[aria-pressed=true] { background: #facc15; color: #302700; border-color: #facc15; }
.room-interest button:disabled { opacity: .65; cursor: default; }
.room-interest button[data-interest-room]:disabled { cursor: wait; }
.room-card:has(.room-schedule) { cursor: default; }
#competitionNotificationsList { list-style: none; padding: 0; }
#competitionNotificationsList li { border-bottom: 1px solid var(--night-line, #e5e7eb); padding: 8px 0; }
#competitionNotificationsList p { margin: 4px 0 0; }
