html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

:root {
  --tmr-crimson: #7f0000;
  --tmr-crimson-dark: #4f0000;
  --tmr-cream: #f8f3e7;
  --tmr-bg: #f5f5f7;
  --tmr-text: #1f1f1f;
  --tmr-muted: #666;
  --tmr-radius-card: 14px;
  --tmr-radius-panel: 10px;
  --tmr-radius-control: 6px;
  --tmr-radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  background-color: var(--tmr-bg);
  color: var(--tmr-text);
}

.tmr-font-energy {
  --tmr-font-heading: "Rajdhani", "Helvetica Neue", Arial, sans-serif;
  --tmr-font-body: "Questrial", "Inter", "Helvetica Neue", Arial, sans-serif;
}

.tmr-font-energy {
  font-family: var(--tmr-font-body);
  font-weight: 400;
}

.tmr-font-energy h1,
.tmr-font-energy h2,
.tmr-font-energy h3,
.tmr-font-energy h4,
.tmr-font-energy h5,
.tmr-font-energy h6,
.tmr-font-energy 

.tmr-font-energy h1 {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
}

.tmr-font-energy h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: inherit !important;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 40;
}

.tmr-font-energy h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
}

.tmr-font-energy .tmr-btn,
.tmr-font-energy .tmr-btn-chip,
.tmr-font-energy .tmr-event-flag {
  font-family: var(--tmr-font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tmr-card,
.tmr-event-card,
.tmr-gallery-row,
.tmr-participant-share-card,
.tmr-summary,
.tmr-participant-cert-card {
  border-radius: var(--tmr-radius-card);
}

.tmr-btn,
.tmr-input,
.tmr-select,
textarea,


.tmr-btn-chip,
.tmr-pill,


.tmr-edit-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 0 1.25rem;
}

.tmr-edit-filter-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.tmr-edit-toolbar form {
  flex: 1 1 260px;
  display: flex;
  gap: 0.5rem;
}

.tmr-edit-toolbar form .tmr-input {
  flex: 1 1 auto;
}

.tmr-edit-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: #64748b;
  font-size: 0.95rem;
}

.tmr-edit-pager {
  margin: 1rem 0;
}

.tmr-edit-pager .tmr-pager-bar {
  justify-content: flex-start;
}

.tmr-edit-pager .tmr-pager-info {
  margin-left: auto;
  text-align: right;
}

a {
  text-decoration: none;
  color: inherit;
}

.tmr-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tmr-logo {
  height: 95px;
  width: auto;
}

@media (max-width: 768px) {
.tmr-logo {
  height: 80px;
}

}
.tmr-nav-link-active::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -3px;
  height: 3px;
  border-radius: 3px;
  background: #ffffff;
}

.tmr-nav-link-accent {
  border: 1px solid rgba(170, 0, 0, 0.4);
  border-radius: 999px;
  background: #fff;
  color: var(--tmr-crimson-dark);
  font-weight: 600;
}

.tmr-nav-link-accent:hover {
  background: #aa0000;
  color: #fff;
}

.tmr-nav-toggle-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
}

.tmr-nav-toggle-btn span,
.tmr-nav-toggle-btn span::before,
.tmr-nav-toggle-btn span::after {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #333;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.tmr-nav-toggle-btn span::before {
  position: absolute;
  top: -5px;
}

.tmr-nav-toggle-btn span::after {
  position: absolute;
  top: 5px;
}

@media (max-width: 768px) {
.tmr-header-inner {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.tmr-nav-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.tmr-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #5a0000;
  color: #ffffff;
  display: none;
  flex-direction: column;
  padding: 0.5rem 0;
  gap: 0.15rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.tmr-nav-toggle:checked~.tmr-nav {
  display: flex;
}

.tmr-nav-link {
  background: #ffffff;
  color: #aa0000;
  padding: 0.55rem 1rem;
  border-radius: 0;
  width: 100%;
  text-align: center;
}

.tmr-nav-link-active {
  position: relative;
  font-weight: 700;
}

.tmr-nav-link-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #ffffff;
  border-radius: 0;
}

.tmr-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.tmr-nav-toggle:checked+.tmr-nav-toggle-btn span {
  transform: rotate(45deg);
}

.tmr-nav-toggle:checked+.tmr-nav-toggle-btn span::before {
  transform: rotate(-90deg);
  top: 0;
}

.tmr-nav-toggle:checked+.tmr-nav-toggle-btn span::after {
  opacity: 0;
}

}
.tmr-nav-credits {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: #7b0000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  font-size: 0.8rem;
  color: #fefcf8;
  cursor: pointer;
  transition: 0.15s ease;
}

.tmr-nav-credits-link {
  text-decoration: none;
}

.tmr-nav-credits-link:hover .tmr-nav-credits {
  filter: brightness(1.15);
  transform: translateY(-1px);
  transition: 0.15s ease;
}

.tmr-nav-credits-label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.tmr-nav-credits-value {
  font-weight: 700;
}

.tmr-main {
  min-height: 70vh;
}

.tmr-section {
  padding: 2.5rem 1rem;
}

.tmr-section-light {
  background: #fff;
}

.tmr-section-dark {
  background: var(--tmr-crimson-dark);
  color: #fff;
}

.tmr-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.tmr-section h1,
.tmr-section h2,
.tmr-section h3 {
  margin-top: 0;
}

.tmr-footer {
  background: #111;
  color: #eee;
  margin-top: .5rem;
}

.tmr-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.4rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.tmr-footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.tmr-footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tmr-footer-logo img {
  width: auto;
  display: block;
  object-fit: contain;
}

.tmr-footer-text {
  display: flex;
  flex-direction: column;
}

.tmr-footer-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.tmr-footer-subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.tmr-footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tmr-footer-contact-btn:hover {
  background: #aa0000;
  border-color: #aa0000;
}

.tmr-footer-cta{
  margin:1.5rem 0;
  padding:1.35rem 1.5rem;
  border-radius:24px;
  background:linear-gradient(120deg, rgba(122,0,24,0.08), rgba(248,243,231,0.85));
  border:1px solid rgba(122,0,24,0.18);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.25rem;
  flex-wrap:wrap;
}

.tmr-footer-cta-text{
  flex:1 1 320px;
}

.tmr-footer-cta-text h3{
  margin:0;
  font-size:1.4rem;
}

.tmr-footer-cta-text p{
  margin:.4rem 0 0;
  color:#fef3ec;
  max-width:520px;
}

.tmr-footer-cta-actions{
  display:flex;
  gap:.6rem;
  flex-wrap:wrap;
}

.tmr-footer-links{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1rem;
  margin-top:1rem;
}

.tmr-footer-link-card{
  background:#181818;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.08);
  padding:1rem 1.2rem;
  display:flex;
  flex-direction:column;
  gap:.4rem;
  box-shadow:0 10px 25px rgba(0,0,0,0.25);
}

.tmr-footer-link-card h4{
  margin:0;
  font-size:0.95rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#f5f5f5;
}

.tmr-footer-link-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:.35rem;
}

.tmr-footer-link-list a{
  color:#d8d8d8;
  text-decoration:none;
  font-size:0.92rem;
}

.tmr-footer-link-list a:hover{
  color:#fff;
}

.tmr-footer-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.85rem;
  opacity: 0.75;
  gap: 0.75rem;
}

.tmr-footer-separator {
  opacity: 0.6;
}





@media (max-width: 768px) {
.tmr-footer-logo img {
  height: 100px;
  width: auto;
  display: block;
  object-fit: contain;
}

.tmr-footer-main {
  flex-direction: column;
  align-items: flex-start;
}



.tmr-footer-contact-btn {
  width: 100%;
  justify-content: center;
}

.tmr-footer-meta {
  flex-direction: column;
  gap: 0.35rem;
}

.tmr-footer-cta{
  flex-direction:column;
  align-items:flex-start;
}

.tmr-footer-cta-actions{
  width:100%;
}

.tmr-footer-cta-actions .tmr-btn{
  flex:1 1 auto;
  justify-content:center;
}

.tmr-footer-links{
  grid-template-columns:1fr;
}

}
.tmr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--tmr-radius-panel);
  padding: 0.35rem 0.9rem;
  border: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
}

.tmr-btn-primary {
  background: var(--tmr-crimson);
  color: #fff;
}

.tmr-btn-primary:hover {
  background: var(--tmr-crimson-dark);
}

.tmr-btn-secondary {
  background: #eee;
  color: var(--tmr-crimson-dark);
}

.tmr-btn-secondary:hover {
  background: #ddd;
}

.tmr-btn-danger {
  background: #b00020;
  color: #fff;
}

.tmr-btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.tmr-btn.tmr-btn-outline {
  border: 1px solid rgba(170, 0, 0, 0.4);
  background: transparent;
  color: #aa0000;
}

.tmr-btn.tmr-btn-outline:hover {
  background: #aa0000;
  color: #fff;
}

.tmr-btn-accent {
  background: var(--tmr-cream);
  color: var(--tmr-crimson-dark);
  font-weight: 600;
}

.tmr-btn-lg {
  padding: 0.5rem 1.2rem;
  font-size: 0.96rem;
}

.tmr-btn-sm {
  padding: 0.25rem 0.6rem;
  font-size: 0.74rem;
}

.tmr-events-hero {
  padding: 1.75rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tmr-events-hero-text h1 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.tmr-events-hero-text p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.tmr-search-tags-bar {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tmr-search-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.tmr-search-tag-x {
  margin-left: 0.25rem;
  font-weight: 700;
  color: #475569;
}

@media (min-width: 768px) {
  .tmr-events-hero {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.tmr-hero {
  position: relative;
  min-height: 75vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.tmr-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      rgba(0,0,0,.65),
      rgba(0,0,0,.35)
    );
}

.tmr-hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.tmr-card {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  background: #ffffff;
  position: relative;
  color: #000;
  text-align: center;
  padding: 10px;
}

.tmr-events-list,


.tmr-event-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
.tmr-event-grid {
  grid-template-columns: 1fr 1fr;
}

}
@media (max-width: 600px) {
.tmr-event-card {
  background: #fffdfb;
  border-color: rgba(127, 0, 0, 0.25);
}

}






.tmr-event-sub {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
}

.tmr-event-photos {
  font-weight: 500;
}

.tmr-event-flags {
  display: flex;
  gap: 0.35rem;
}

.tmr-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  border: 1px solid #ccc;
  background: #f5f5f5;
  color: #999;
}

.tmr-flag-on {
  background: #990000;
  color: #fff;
  border-color: #990000;
}

.tmr-event-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}



@media (max-width: 600px) {
.tmr-event-card-overlay {
  padding: 0.75rem;
}

}
.tmr-event-footer-row-dashboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.tmr-event-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: flex-end;
}

.tmr-pill-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.75rem;
  text-decoration: none;
  color: #333;
  background: rgba(255, 255, 255, 0.95);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tmr-pill-action:hover {
  border-color: rgba(170, 0, 0, 0.6);
  color: #aa0000;
}





.tmr-pill-action-view {
  border-color: rgba(170, 0, 0, 0.6);
  color: #aa0000;
}

.tmr-pill-action-view:hover {
  background: #aa0000;
  color: #fff;
}

.tmr-input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  padding: 0.45rem 0.6rem;
  font-size: 0.9rem;
}

.tmr-input:focus {
  outline: none;
  border-color: var(--tmr-crimson);
  box-shadow: 0 0 0 1px rgba(127, 0, 0, 0.2);
}



.tmr-form-page h1 {
  margin-bottom: 1rem;
}

.tmr-form-group {
  margin-bottom: 0.8rem;
}

.tmr-form-group-full {
  grid-column: 1 / -1;
}

.tmr-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.tmr-form {
  max-width: 700px;
}

.tmr-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem 1.5rem;
}

.tmr-form-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tmr-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.tmr-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tmr-help {
  font-size: 0.8rem;
  color: var(--tmr-muted);
}

.tmr-error {
  font-size: 0.8rem;
  color: #b00020;
}

.tmr-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.tmr-dashboard-filter-row {
  margin: 0.75rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tmr-filter-label {
  font-size: 0.85rem;
  color: #555;
}









.tmr-select {
  padding: 0.35rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  font-size: 0.85rem;
}

.tmr-alert-danger {
  background: #fde7e9;
  color: #8e0016;
}

.tmr-alert-info {
  background: #e0f2fe;
  color: #075985;
}

.tmr-search-form {
  margin-top: 2rem;
}

.tmr-search-form-inline{
  margin-top:1.25rem;
  display:flex;
  flex-wrap:wrap;
  gap:0.5rem;
  align-items:stretch;
}

.tmr-search-form-inline .tmr-input{
  flex:1 1 260px;
  min-width:0;
}

.tmr-search-form-inline .tmr-btn{
  flex:0 0 auto;
}

.tmr-search-form-inline .tmr-btn[disabled]{
  opacity:0.55;
  cursor:not-allowed;
}

.tmr-search-wrap {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tmr-search-input {
  padding: .75rem 1rem;
  font-size: 1.1rem;
  border-radius: 10px;
  border: none;
  width: 320px;
  max-width: 90%;
}

@keyframes tmrPulse {
0%{ transform:translateY(0); filter:brightness(1); }
    50%{ transform:translateY(-1px); filter:brightness(1.25); }
    100%{ transform:translateY(0); filter:brightness(1); }
}

.tmr-processing-pill.is-flashing {
  animation: tmrPulse .8s ease-in-out infinite;
}

.tmr-gallery-selector {
  margin: 0.75rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.tmr-participant-matches {
  margin: 1rem 0 1.75rem;
  padding: 1.1rem 1.35rem 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(127, 0, 0, 0.08), rgba(248, 243, 231, 0.7));
  border: 1px solid rgba(127, 0, 0, 0.15);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.tmr-participant-matches-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.tmr-participant-matches-label {
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--tmr-crimson-dark);
}

.tmr-participant-matches-note {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #444;
}

.tmr-participant-matches-list {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.tmr-matches-rows {
  display: flex;
  flex-direction: column;
}

.tmr-participant-matches .tmr-results-head,
.tmr-participant-matches .tmr-results-row {
  grid-template-columns: minmax(220px, 1.5fr) 90px 140px 120px;
  gap: 14px;
  align-items: center;
}

.tmr-participant-matches .tmr-results-head.has-claims,
.tmr-participant-matches .tmr-results-row.has-claims {
  grid-template-columns: minmax(220px, 1.5fr) 90px 140px 120px 120px;
}

.tmr-matches-row {
  text-decoration: none;
  font-weight: 500;
}

.tmr-matches-cell {
  min-width: 0;
}

.tmr-matches-name .tmr-participant-link {
  color: var(--tmr-crimson, #7a0018);
  font-weight: 600;
}

.tmr-matches-row::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(122, 0, 24, 0.65);
  transition: transform 0.2s ease, color 0.2s ease;
  pointer-events: none;
}

.tmr-matches-row:hover::after {
  transform: translate(4px, -50%);
  color: rgba(176, 0, 45, 0.9);
}

@media (max-width: 900px) {
  .tmr-participant-matches {
    padding: 1rem;
  }

  .tmr-participant-matches .tmr-results-head,
  .tmr-participant-matches .tmr-results-row {
    grid-template-columns: minmax(160px, 1.2fr) 70px 110px 90px;
    gap: 10px;
  }

  .tmr-participant-matches .tmr-results-head.has-claims,
  .tmr-participant-matches .tmr-results-row.has-claims {
    grid-template-columns: minmax(160px, 1.2fr) 70px 110px 90px 110px;
  }
}

@media (max-width: 640px) {
  .tmr-participant-matches {
    padding: 0.85rem;
  }

  .tmr-participant-matches .tmr-results-head {
    display: none;
  }

  .tmr-participant-matches .tmr-results-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-right: 40px;
  }

  .tmr-matches-row::after {
    top: 12px;
    right: 14px;
    transform: none;
  }

  .tmr-matches-row .tmr-matches-cell,
  .tmr-matches-row .tmr-results-claim {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.95rem;
  }

  .tmr-matches-row .tmr-matches-cell::before {
    content: attr(data-label);
    font-weight: 600;
    color: #555;
    margin-right: 0.5rem;
  }

  .tmr-matches-row .tmr-results-claim {
    align-items: center;
  }

  .tmr-matches-row .tmr-results-claim::before {
    content: "Claim";
    font-weight: 600;
    color: #555;
    margin-right: 0.5rem;
  }

  .tmr-matches-name {
    font-size: 1.05rem;
    font-weight: 600;
  }
}

/* Claim system */
.tmr-results-claim-head{
  text-transform:uppercase;
  font-size:0.72rem;
  letter-spacing:0.15em;
  color:#94a3b8;
  text-align:center;
}

.tmr-results-claim{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:0.35rem;
}

.tmr-claim-btn{
  border-radius:999px;
  border:1px solid rgba(122,0,24,0.35);
  background:#fff;
  color:#7a0018;
  font-size:0.82rem;
  font-weight:600;
  padding:0.32rem 0.95rem;
  cursor:pointer;
  transition:background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.tmr-claim-btn:hover,
.tmr-claim-btn:focus-visible{
  background:rgba(122,0,24,0.08);
  outline:none;
}

.tmr-claim-btn.is-active{
  background:#7a0018;
  color:#fff;
  border-color:#7a0018;
  box-shadow:0 8px 18px rgba(122,0,24,0.25);
}

.tmr-claim-btn-sm{
  font-size:0.76rem;
  padding:0.28rem 0.75rem;
}

.tmr-claim-status{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  font-size:0.82rem;
  color:#475569;
  gap:0.15rem;
}

.tmr-claim-status small{
  font-size:0.75rem;
  color:#64748b;
}

.tmr-claim-status-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.12rem 0.6rem;
  border-radius:999px;
  background:rgba(15,118,110,0.12);
  color:#0f766e;
  font-size:0.68rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.12em;
}

.tmr-claim-hint{
  font-size:0.74rem;
  color:#6b7280;
}

@media (max-width: 640px){
  .tmr-results-claim{
    width:100%;
    justify-content:space-between;
  }
}

.tmr-participant-claim-card{
  margin-bottom:1.75rem;
  border-radius:22px;
  padding:1.25rem 1.5rem;
  background:linear-gradient(120deg, rgba(122,0,24,0.08), rgba(248,243,231,0.8));
  border:1px solid rgba(122,0,24,0.2);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}

.tmr-participant-claim-copy{
  flex:1 1 320px;
}

.tmr-participant-claim-actions{
  flex:0 0 220px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:0.3rem;
}

.tmr-dashboard-claims{
  margin:2rem 0 2.5rem;
  padding:1.5rem;
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(15,23,42,0.08);
  box-shadow:0 24px 55px rgba(15,23,42,0.12);
}

.tmr-dashboard-claims-head{
  display:flex;
  justify-content:space-between;
  gap:1.5rem;
  flex-wrap:wrap;
  align-items:flex-start;
}

.tmr-claims-list{
  margin-top:1.25rem;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1rem;
}

.tmr-claim-card{
  border:1px solid rgba(15,23,42,0.08);
  border-radius:18px;
  padding:1rem 1.2rem;
  background:#fefbf9;
  display:flex;
  flex-direction:column;
  gap:0.75rem;
}

.tmr-claim-card-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:0.75rem;
}

.tmr-claim-card-title h3{
  margin:0;
  font-size:1.15rem;
}

.tmr-claim-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:0.12rem 0.65rem;
  background:rgba(122,0,24,0.08);
  color:#7a0018;
  font-size:0.75rem;
  font-weight:600;
}

.tmr-claim-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:0.4rem 0.85rem;
  font-size:0.85rem;
  color:#475569;
}

.tmr-claim-card-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:0.75rem;
  flex-wrap:wrap;
}

.tmr-claim-card-action-buttons{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:0.2rem;
}

.tmr-claims-empty{
  margin-top:1rem;
  font-size:0.9rem;
  color:#64748b;
}

.tmr-publisher-cta{
  margin:1.25rem 0 1.75rem;
  padding:1.25rem 1.5rem;
  border-radius:26px;
  border:1px solid rgba(122,0,24,0.2);
  background:linear-gradient(120deg, rgba(122,0,24,0.08), rgba(248,243,231,0.85));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}

.tmr-publisher-cta-body{
  flex:1 1 320px;
}

.tmr-profile-claim-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:1rem;
}

.tmr-profile-claim-card{
  border-radius:18px;
  border:1px solid rgba(15,23,42,0.08);
  padding:1rem 1.2rem;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,23,42,0.08);
  display:flex;
  flex-direction:column;
  gap:0.45rem;
}

.tmr-profile-claim-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:0.75rem;
}

.tmr-profile-claim-card-head h4{
  margin:0;
}

.tmr-profile-claim-meta{
  display:flex;
  flex-wrap:wrap;
  gap:0.4rem 0.85rem;
  font-size:0.85rem;
  color:#475569;
  margin:0;
}

.tmr-profile-claim-link{
  font-weight:600;
  color:#7a0018;
  text-decoration:none;
}

.tmr-profile-claim-link:hover{
  text-decoration:underline;
}

@media (max-width: 640px){
  .tmr-participant-claim-card{
    flex-direction:column;
    align-items:flex-start;
  }
  .tmr-participant-claim-actions{
    width:100%;
  }

  .tmr-publisher-cta{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 600px){
  .tmr-claim-card-actions{
    flex-direction:column;
    align-items:flex-start;
  }
}

.tmr-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}


















.tmr-gallery-name {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
}







.tmr-lightbox {
  --tmr-lightbox-primary:#0f172a;
  --tmr-lightbox-secondary:#7a0018;
  --tmr-lightbox-accent:#f97316;
  --tmr-lightbox-text:#f8fafc;
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
}

.tmr-lightbox.is-open {
  display: flex;
}

.tmr-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.tmr-lightbox-content {
  position: relative;
  z-index: 1;
  background: #111827;
  border-radius: 0.75rem;
  padding: 0.75rem 0.75rem 0.65rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  width: min(960px, 96vw);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.tmr-lightbox-image-wrap {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position:relative;
}

.tmr-lightbox-image-wrap img[data-lightbox-image] {
  max-width: 100%;
  max-height: calc(94vh - 180px);
  height: auto;
  border-radius: 0.5rem;
}

.tmr-lightbox-action-bar{
  width:100%;
  position:relative;
  margin-top:0.65rem;
  display:flex;
  flex-direction:column;
  gap:0.65rem;
}

.tmr-lightbox-image-actions{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:0.75rem;
  flex-wrap:wrap;
}

.tmr-lightbox-actions-left,
.tmr-lightbox-actions-right{
  display:flex;
  align-items:center;
  gap:0.45rem;
  flex-wrap:wrap;
}

.tmr-lightbox-pill-btn{
  display:inline-flex;
  align-items:center;
  gap:0.35rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.35);
  border-color:color-mix(in srgb, var(--tmr-lightbox-secondary,#7a0018) 45%, rgba(255,255,255,0.35));
  background:rgba(15,23,42,0.35);
  background:color-mix(in srgb, var(--tmr-lightbox-primary,#0f172a) 70%, rgba(15,23,42,0.2));
  color:var(--tmr-lightbox-text,#f8fafc);
  font-size:0.85rem;
  font-weight:600;
  padding:0.35rem 0.9rem;
  min-height:36px;
  text-decoration:none;
  cursor:pointer;
  transition:background 0.2s ease,border-color 0.2s ease,transform 0.2s ease;
}

.tmr-lightbox-pill-btn:hover{
  border-color:rgba(255,255,255,0.6);
  background:rgba(15,23,42,0.55);
  background:color-mix(in srgb, var(--tmr-lightbox-primary,#0f172a) 45%, rgba(0,0,0,0.4));
}

.tmr-lightbox-pill-btn:focus-visible{
  outline:2px solid rgba(248,250,252,0.8);
  outline-offset:2px;
}

.tmr-lightbox-pill-btn.is-primary{
  background:linear-gradient(135deg, var(--tmr-lightbox-secondary,#7a0018), var(--tmr-lightbox-primary,#0f172a));
  border-color:transparent;
  color:var(--tmr-lightbox-text,#f8fafc);
}

.tmr-lightbox-pill-btn.is-ghost{
  background:transparent;
}

.tmr-lightbox-download-btn{
  box-shadow:0 10px 25px rgba(249,115,22,0.35);
}

.tmr-lightbox-download-btn:hover{
  background:linear-gradient(135deg, var(--tmr-lightbox-secondary,#7a0018), var(--tmr-lightbox-primary,#0f172a));
  color:var(--tmr-lightbox-text,#f8fafc);
  box-shadow:0 14px 30px rgba(249,115,22,0.4);
}

.tmr-lightbox-pill-icon{
  font-size:0.75rem;
  opacity:0.8;
}

.tmr-lightbox-favorite-btn{
  padding:0.35rem 0.55rem;
  border-color:rgba(244,63,94,0.6);
  background:rgba(244,63,94,0.15);
  min-width:38px;
  justify-content:center;
}

.tmr-lightbox-favorite-btn .tmr-favorite-icon::before{
  font-size:1rem;
  color:#f87171;
}

.tmr-lightbox-favorite-btn:hover{
  background:rgba(244,63,94,0.35);
  transform:translateY(-1px);
}

.tmr-lightbox-favorite-btn.is-active{
  background:#f43f5e;
  border-color:#f43f5e;
}
.tmr-lightbox-favorite-btn.is-active .tmr-favorite-icon::before{
  color:#fff;
}

.tmr-lightbox-meta-grid {
  flex: 0 0 auto;
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  align-items: flex-start;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.tmr-lightbox-field strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e5e7eb;
  opacity: 0.95;
  margin-bottom: 0.15rem;
  border-bottom: 1px solid rgba(248, 250, 252, 0.18);
  padding-bottom: 0.1rem;
}

.tmr-lightbox-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.05rem;
}

.tmr-lightbox-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.5);
  font-size: 0.78rem;
  color: #fff;
  cursor: pointer;
}

.tmr-lightbox-tag-editor {
  position:absolute;
  right:0;
  bottom:calc(100% + 0.75rem);
  width:300px;
  max-width:calc(100% - 1rem);
  background:color-mix(in srgb, var(--tmr-lightbox-primary,#0f172a) 88%, #000);
  border-radius:0.85rem;
  padding:0.95rem 1rem;
  border:1px solid color-mix(in srgb, var(--tmr-lightbox-secondary,#7a0018) 45%, rgba(248,250,252,0.2));
  font-size:0.85rem;
  color:var(--tmr-lightbox-text,#fff);
  box-shadow:0 24px 50px rgba(4,6,16,0.65);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:opacity 0.2s ease, transform 0.2s ease;
  pointer-events:none;
  z-index:6;
  backdrop-filter:blur(8px);
}

.tmr-lightbox-tags-wrap{
  width:100%;
  position:relative;
  margin-top:0.5rem;
  min-height:0;
}

.tmr-lightbox-tags-panel{
  position:absolute;
  bottom:calc(100% + 0.65rem);
  left:0;
  right:0;
  background:color-mix(in srgb, var(--tmr-lightbox-primary,#0f172a) 92%, rgba(0,0,0,0.15));
  border-radius:1rem;
  border:1px solid color-mix(in srgb, var(--tmr-lightbox-secondary,#7a0018) 40%, rgba(248,250,252,0.2));
  padding:1.2rem 1.25rem 1rem;
  box-shadow:0 28px 60px rgba(10,3,8,0.6);
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity 0.2s ease, transform 0.2s ease;
  pointer-events:none;
  z-index:5;
  max-height:300px;
  overflow-y:auto;
  color:var(--tmr-lightbox-text,#f8fafc);
  backdrop-filter:blur(8px);
}

.tmr-lightbox-tags-close{
  position:absolute;
  top:0.65rem;
  right:0.65rem;
  width:32px;
  height:32px;
  border-radius:50%;
  border:1px solid rgba(248,250,252,0.25);
  border-color:color-mix(in srgb, var(--tmr-lightbox-secondary,#7a0018) 45%, rgba(248,250,252,0.4));
  background:rgba(15,23,42,0.4);
  background:color-mix(in srgb, var(--tmr-lightbox-primary,#0f172a) 65%, transparent);
  color:var(--tmr-lightbox-text,#f8fafc);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:1rem;
  line-height:1;
  transition:background 0.2s ease, transform 0.2s ease;
  z-index:10;
  pointer-events:auto;
}

.tmr-lightbox-tags-close:hover{
  background:rgba(248,250,252,0.15);
  background:color-mix(in srgb, var(--tmr-lightbox-secondary,#7a0018) 30%, rgba(248,250,252,0.35));
  transform:translateY(-1px);
}

.tmr-lightbox-tags-panel.is-open{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  pointer-events:auto;
}

.tmr-lightbox-tags-toggle.is-active{
  background:rgba(248,250,252,0.1);
  background:color-mix(in srgb, var(--tmr-lightbox-secondary,#7a0018) 32%, rgba(248,250,252,0.2));
  border-color:rgba(248,250,252,0.6);
  border-color:color-mix(in srgb, var(--tmr-lightbox-secondary,#7a0018) 55%, rgba(248,250,252,0.6));
}

.tmr-lightbox-admin-modal{
  position:fixed;
  inset:0;
  z-index:70;
  display:flex;
  align-items:center;
  justify-content:center;
}

.tmr-lightbox-admin-modal::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.55);
  backdrop-filter:blur(3px);
}

.tmr-lightbox-admin-dialog{
  position:relative;
  z-index:1;
  width:min(380px,90vw);
  padding:1.25rem 1.35rem;
  border-radius:0.95rem;
  background:color-mix(in srgb, var(--tmr-lightbox-primary,#0f172a) 92%, rgba(0,0,0,0.1));
  border:1px solid color-mix(in srgb, var(--tmr-lightbox-secondary,#7a0018) 40%, rgba(248,250,252,0.2));
  box-shadow:0 28px 60px rgba(3,6,19,0.75);
  color:var(--tmr-lightbox-text,#fff);
}

.tmr-lightbox-admin-dialog h3{
  margin:0 0 0.65rem;
  font-size:1.05rem;
  font-weight:700;
}

.tmr-lightbox-admin-body{
  font-size:0.9rem;
  color:rgba(248,250,252,0.85);
  margin-bottom:1rem;
  display:flex;
  flex-direction:column;
  gap:0.45rem;
}

.tmr-lightbox-admin-body select{
  width:100%;
  border-radius:0.55rem;
  border:1px solid color-mix(in srgb, var(--tmr-lightbox-secondary,#7a0018) 35%, rgba(248,250,252,0.2));
  padding:0.4rem 0.6rem;
  background:rgba(2,4,12,0.5);
  color:var(--tmr-lightbox-text,#fff);
}

.tmr-lightbox-admin-actions{
  display:flex;
  justify-content:flex-end;
  gap:0.5rem;
}

.tmr-lightbox-admin-actions .tmr-lightbox-pill-btn{
  min-width:110px;
  justify-content:center;
}

.tmr-lightbox-admin-cancel{
  background:transparent;
  border-color:rgba(248,250,252,0.2);
}

.tmr-lightbox-admin-danger{
  background:color-mix(in srgb, var(--tmr-lightbox-secondary,#7a0018) 85%, #000);
  border-color:color-mix(in srgb, var(--tmr-lightbox-secondary,#7a0018) 70%, rgba(255,255,255,0.2));
}

.tmr-lightbox-tag-editor.is-open {
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  pointer-events:auto;
}

@media (max-width: 600px){
  .tmr-lightbox-image-actions{
    flex-direction:column;
    align-items:flex-start;
  }

  .tmr-lightbox-tag-editor{
    width:100%;
    left:0;
    right:auto;
  }
}

.tmr-lightbox-tag-editor-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tmr-lightbox-tag-editor-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap:wrap;
}

.tmr-lightbox-tag-editor-actions{
  display:flex;
  align-items:center;
  gap:0.4rem;
  flex-wrap:nowrap;
}

.tmr-lightbox-tag-submit{
  min-width:98px;
  justify-content:center;
}

.tmr-lightbox-tag-cancel{
  width:40px;
  min-width:40px;
  justify-content:center;
  font-size:1rem;
  line-height:1;
}

.tmr-lightbox-tag-input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--tmr-lightbox-secondary,#7a0018) 70%, rgba(249,115,22,0.8));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--tmr-lightbox-secondary,#7a0018) 55%, rgba(249,115,22,0.35));
}

.tmr-lightbox-tag-suggestions{
  margin-top:0.5rem;
  display:flex;
  flex-direction:column;
  gap:0.35rem;
  max-height:220px;
  overflow:auto;
}

.tmr-lightbox-tag-suggestion {
  border: none;
  background: rgba(248,250,252,0.12);
  color: #f8fafc;
  border-radius: 0.65rem;
  padding: 0.45rem 0.7rem;
  text-align: left;
  font-size: 0.78rem;
  cursor: pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:0.5rem;
}

.tmr-lightbox-tag-suggestion:hover {
  background: rgba(248,250,252,0.25);
}

.tmr-lightbox-suggestion-bib{
  font-weight:700;
  font-size:0.82rem;
  color:var(--tmr-lightbox-text,#fff);
}

.tmr-lightbox-suggestion-name{
  font-size:0.78rem;
  color:rgba(248,250,252,0.75);
  text-align:right;
  flex:1 1 auto;
}

.tmr-lightbox-tag-input {
  flex: 1 1 auto;
  min-width:180px;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.4);
  border-color:color-mix(in srgb, var(--tmr-lightbox-text,#fff) 35%, rgba(248,250,252,0.4));
  padding: 0.35rem 0.9rem;
  background: rgba(15, 23, 42, 0.75);
  background:color-mix(in srgb, var(--tmr-lightbox-primary,#0f172a) 75%, rgba(15,23,42,0.65));
  color: var(--tmr-lightbox-text,#f8fafc);
  font-size: 0.85rem;
}

.tmr-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
}

.tmr-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.tmr-lightbox-nav-prev {
  left: 8px;
}

.tmr-lightbox-nav-next {
  right: 8px;
}

.tmr-lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.85);
}

@media (max-width: 600px) {
.tmr-lightbox-content {
  width: 96vw;
  max-height: 96vh;
  margin: 1.5vh 0.5rem;
}

.tmr-lightbox-image-wrap img[data-lightbox-image] {
  max-height: calc(96vh - 210px);
}

.tmr-lightbox-meta-grid {
  grid-template-columns: 1fr;
  max-height: 180px;
}

.tmr-lightbox-download-btn {
  font-size: 0.8rem;
  padding: 0.28rem 0.7rem;
}

}
.tmr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.tmr-table th,
.tmr-table td {
  border: 1px solid #ddd;
  padding: 0.35rem 0.5rem;
}

.tmr-toolbar {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tmr-grid-cols-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.tmr-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.tmr-pager {
  margin: 1.25rem 0;
}

.tmr-pager-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.tmr-pager-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111;
}

.tmr-pager-link.is-active {
  background: var(--tmr-crimson);
  border-color: var(--tmr-crimson);
  color: #fff;
}

.tmr-pager-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.tmr-pager-gap {
  color: #888;
  padding: 0 0.25rem;
  font-weight: 600;
}

.tmr-pager-info {
  margin-left: auto;
  font-size: 0.8rem;
  color: #555;
}

@media (max-width: 640px) {
.tmr-pager-info {
  width: 100%;
  margin-left: 0;
  text-align: left;
}

}



.tmr-upload-preview {
  position: relative;
  background: #111827;
  border-radius: 0.75rem;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.tmr-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.tmr-upload-preview-banner {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 2;
  border-radius: 0.75rem;
  overflow: hidden;
}

@media (max-width: 600px) {


}
@media (max-width: 720px) {
.tmr-footer-inner {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.tmr-lightbox-content {
  margin: 1.5vh 0.5rem;
}

}
.tmr-event-detail {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tmr-event-hero {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.tmr-event-hero-banner {
  position: relative;
  width: 100%;
  background: #111;
}

.tmr-event-hero-banner img,
.tmr-event-hero-banner-placeholder {
  width: 100%;
  height: clamp(180px, 32vh, 260px);
  object-fit: cover;
  display: block;
}

.tmr-event-hero-banner-placeholder {
  background: linear-gradient(135deg, #4f0000, #7f0000);
}

.tmr-event-hero-overlay {
  position: absolute;
  inset: 0;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  background: linear-gradient(to top,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.15),
            transparent);
  color: #fff;
}

.tmr-event-hero-logo {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tmr-event-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tmr-event-hero-text {
  flex: 1;
  min-width: 0;
}

.tmr-event-hero-title {
  margin: 0 0 0.2rem;
  font-size: clamp(1.4rem, 2.2vw + 1rem, 2.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.tmr-event-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.tmr-event-hero-meta span::before {
  content: "•";
  margin: 0 0.4rem 0 0;
}

.tmr-event-hero-meta span:first-child::before {
  content: "";
  margin: 0;
}

.tmr-event-summary {
  margin: 1.25rem 0 1.5rem;
}

.tmr-summary {
  width: 100%;
  max-width: 100%;
  border-radius: 0.75rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  padding: 0.25rem 0.85rem 0.5rem;
}

.tmr-summary-header {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0.35rem 0;
  gap: 0.65rem;
}

.tmr-summary-header::-webkit-details-marker {
  display: none;
}

.tmr-summary-header::marker {
  content: "";
}

.tmr-summary-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--tmr-muted);
}

.tmr-summary-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tmr-crimson);
  flex: 0 0 auto;
}

.tmr-summary-icon::before {
  content: attr(data-icon-letter);
}

.tmr-summary-icon.material-symbols-rounded {
  font-size: 1.35rem;
  letter-spacing: normal;
  text-transform: none;
}

.tmr-summary-icon.material-symbols-rounded::before {
  content: "";
}

.tmr-summary[data-summary-type="results"] .tmr-summary-icon {
  background-color: rgba(5, 150, 105, 0.08);
  border-color: rgba(5, 150, 105, 0.18);
  color: #047857;
}

.tmr-summary-toggle::before {
  content: "›";
  display: inline-block;
  font-size: 1rem;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
  color: #888;
}

.tmr-summary[open] .tmr-summary-toggle::before {
  transform: rotate(270deg);
}

.tmr-summary-body {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
}

.tmr-gallery-grid-photos {
  --tmr-masonry-row: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.55rem;
}

.tmr-gallery-grid-photos.is-masonry {
  grid-auto-rows: var(--tmr-masonry-row);
  grid-auto-flow: dense;
}

@media (min-width: 520px) {
.tmr-gallery-grid-photos {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.65rem;
}

.tmr-gallery-grid-photos.is-masonry {
  --tmr-masonry-row: 9px;
}

}
@media (min-width: 900px) {
.tmr-gallery-grid-photos {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.8rem;
}

.tmr-gallery-grid-photos.is-masonry {
  --tmr-masonry-row: 11px;
}

}
.tmr-gallery-item {
  position: relative;
  width: 100%;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  margin: 0;
  display: block;
}

.tmr-gallery-thumb {
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #f7f7f7;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tmr-gallery-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.tmr-gallery-item:focus-visible .tmr-gallery-thumb {
  outline: 2px solid var(--tmr-crimson);
  outline-offset: 3px;
  transform: translateY(-2px);
}

.tmr-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
}

.tmr-gallery-card {
  position: relative;
  width: 100%;
}

.tmr-favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  z-index: 2;
}

.tmr-favorite-btn:hover {
  transform: scale(1.05);
  background: rgba(244, 63, 94, 0.9);
}

.tmr-favorite-btn:focus-visible {
  outline: 2px solid #f43f5e;
  outline-offset: 2px;
}

.tmr-favorite-icon::before {
  content: '♥';
  font-size: 1rem;
  color: #fff;
}

.tmr-favorite-btn.is-active {
  background: rgba(244, 63, 94, 0.9);
}

.tmr-favorite-btn.is-active .tmr-favorite-icon::before {
  color: #fff;
}

.tmr-favorite-meta {
  margin-top: 0.5rem;
  text-align: left;
}

.tmr-favorite-meta-line {
  font-weight: 600;
  color: #0f172a;
}

.tmr-favorite-meta-sub {
  font-size: 0.9rem;
  color: #475569;
}
.tmr-admin-tools {
  margin: 1rem 0;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15,23,42,0.08);
}

.tmr-admin-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
}

.tmr-admin-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0 1.1rem 1rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.tmr-pill-action,
.tmr-admin-panel .tmr-btn {
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  border: 1px solid rgba(15,23,42,0.12);
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tmr-pill-action:hover,
.tmr-admin-panel .tmr-btn:hover {
  border-color: rgba(239,68,68,0.5);
  color: #ef4444;
}















.tmr-btn-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.35rem 0.9rem;
  border-radius:var(--tmr-radius-pill);
  font-weight:600;
  border-width:1px;
  border-style:solid;
  transition:transform 0.15s ease,box-shadow 0.15s ease,background 0.15s ease;
  text-decoration:none;
}
.tmr-btn-chip-primary{
  background:linear-gradient(135deg,#34d399,#059669);
  border-color:transparent;
  color:#fff;
  box-shadow:0 10px 22px rgba(5,150,105,0.3);
}
.tmr-btn-chip-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 26px rgba(5,150,105,0.35);
}
.tmr-btn-chip-ghost{
  background:rgba(15,23,42,0.05);
  border-color:rgba(15,23,42,0.15);
  color:#0f172a;
}
.tmr-btn-chip-ghost:hover{
  background:rgba(15,23,42,0.08);
  transform:translateY(-1px);
}

.tmr-inline-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 4000;
}

.tmr-inline-modal.is-open {
  display: flex;
}

.tmr-inline-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.tmr-inline-modal__dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  width: min(420px, 100%);
  padding: 1.5rem;
  border-radius: var(--tmr-radius-card);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
  animation: tmrInlineModalIn 0.2s ease;
}

.tmr-inline-modal__dialog h3 {
  margin: 0 0 0.35rem;
}

.tmr-inline-modal__dialog p {
  margin-top: 0;
  color: #475569;
  font-size: 0.95rem;
}

@keyframes tmrInlineModalIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tmr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.tmr-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.tmr-modal-body {
  margin-top: 0.75rem;
}

.tmr-modal-footer {
  margin-top: 0.75rem;
  text-align: right;
}

.wm-corner-preview {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #111827;
}

.wm-corner-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wm-corner-zone {
  position: absolute;
  width: 35%;
  height: 35%;
  border: none;
  background: transparent;
  cursor: pointer;
}

.wm-corner-zone[data-wm-corner="top_left"] {
  top: 0;
  left: 0;
}

.wm-corner-zone[data-wm-corner="top_right"] {
  top: 0;
  right: 0;
}

.wm-corner-zone[data-wm-corner="bottom_left"] {
  bottom: 0;
  left: 0;
}

.wm-corner-zone[data-wm-corner="bottom_right"] {
  bottom: 0;
  right: 0;
}

.wm-corner-indicator {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #fef3c7;
  background: rgba(220, 38, 38, 0.85);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.tmr-pill-toggle .results-source-pill {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.8rem;
  background: #f9fafb;
  cursor: pointer;
}

.tmr-pill-toggle .results-source-pill.is-active {
  background: #b91c1c;
  color: #fff;
  border-color: #b91c1c;
}

.tmr-processing-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-left: .5rem;
  padding: .25rem .6rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.tmr-processing-pill 

.tmr-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.25));
}

.tmr-page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  padding: 2.5rem 1rem;
  text-align: center;
}

.tmr-page-hero-inner h1 {
  margin: 0 0 .5rem 0;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  letter-spacing: .2px;
}

.tmr-page-hero-inner p {
  margin: 0 auto;
  max-width: 760px;
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
}

.tmr-page-section {
  padding: 2.5rem 1rem;
  background: var(--tmr-bg);
}



@media (max-width: 980px) {


}
@media (max-width: 640px) {


}

































.tmr-nav-dropdown {
  position: relative;
}

.tmr-nav-caret {
  display: inline-block;
  width: .55rem;
  height: .55rem;
  margin-left: .35rem;
  border-right: 2px solid rgba(255,255,255,.85);
  border-bottom: 2px solid rgba(255,255,255,.85);
  transform: rotate(45deg) translateY(-1px);
  opacity: .85;
}

.tmr-nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

.tmr-nav-dropdown-menu-right {
  right: 0;
  left: auto;
}

.tmr-nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  background: rgba(120, 0, 0, .78);
  border-left: 1px solid rgba(255,255,255,.16);
  border-top: 1px solid rgba(255,255,255,.16);
  left: 18px;
}

.tmr-nav-dropdown-menu-right::before {
  left: auto;
  right: 18px;
}

.tmr-nav-dropdown.is-open .tmr-nav-dropdown-menu {
  display: block;
}

.tmr-nav-dropdown-menu a {
  display: flex;
  padding: .6rem .75rem;
  border-radius: 12px;
  font-weight: 800;
  color: rgba(255,255,255,.95);
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  text-decoration: none;
}

.tmr-nav-dropdown-menu a:hover {
  background: rgba(255,255,255,.10);
}











.tmr-actions {
  position: relative;
  display: inline-block;
}

.tmr-actions summary {
  list-style: none;
  cursor: pointer;
}

.tmr-actions summary::-webkit-details-marker {
  display: none;
}

.tmr-actions-panel {
  margin-top: .5rem;
  width: 340px;
  max-width: 80vw;
  padding: .75rem;
  border-radius: 14px;
  background: rgba(120,0,0,.78);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.95);
}

.tmr-actions-form .tmr-label {
  display: block;
  font-weight: 800;
  font-size: .85rem;
  margin-bottom: .25rem;
}

.tmr-actions-row {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.tmr-actions-divider {
  height: 1px;
  margin: .75rem 0;
  background: rgba(255,255,255,.18);
}

.tmr-auth-screen {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.tmr-auth-card {
  width: 100%;
  max-width: 520px;
  background: rgba(255,255,255,.96);
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  padding: 1.25rem 1.25rem 1.1rem;
}

.tmr-header .tmr-nav-dropdown-btn {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.tmr-header .tmr-nav-dropdown-btn:focus {
  outline: none;
}

.tmr-header .tmr-nav-dropdown-menu {
  background: rgba(120,0,0,.78);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.95);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
  border-radius: 14px;
}

@media (max-width: 900px) {
.tmr-nav-dropdown-menu {
  position: static !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  border-radius: 12px;
  margin-top: .35rem;
  padding: .35rem;
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
}

.tmr-nav-dropdown-menu a {
  padding: .75rem .85rem;
  border-radius: 12px;
  font-size: 1.02rem;
}

}
.tmr-nav-link-active {
  position: relative;
  color: #ffffff;
  font-weight: 700;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
}







@media (max-width: 900px) {


}








.tmr-event-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(127, 0, 0, 0.14);
  box-shadow: 0 8px 22px rgba(0,0,0,0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.tmr-event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.14);
}

.tmr-event-banner {
  width: 100%;
  overflow: hidden;
  background: #eee;
  border-bottom: 0;
}

.tmr-event-card-overlay {
  height: 100%;
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.98));
  padding: 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}





.tmr-event-meta-row {
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.9rem;
}



a.tmr-card.tmr-event-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(127, 0, 0, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

a.tmr-card.tmr-event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
  border-color: rgba(127, 0, 0, 0.20);
}

.tmr-event-banner img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.tmr-event-body {
  padding: 14px 14px 12px;
}



.tmr-event-logo {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.02);
}

.tmr-event-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tmr-event-text h2 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.tmr-event-owner {
  margin: 3px 0 0;
  font-size: 0.9rem;
  color: #666;
  opacity: 0.75;
}

.tmr-event-meta {
  margin: 10px 0 0;
  font-size: 0.93rem;
  color: #444;
  opacity: 0.85;
}

.tmr-event-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 0.78rem;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.06);
  gap: 10px;
}

.tmr-event-cta-text {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(127, 0, 0, 0.92);
}

@media (max-width: 640px) {
.tmr-event-banner img {
  height: 140px;
}

}




.tmr-lightbox-tags-toggle {
  border: 0;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  margin: 10px 0;
}

.tmr-lightbox-edit-panel {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tmr-suggest {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px;
  border: 0;
  background: rgba(0,0,0,.04);
  margin-top: 6px;
  cursor: pointer;
}

.tmr-lightbox-tag-suggestions {
  margin-top: 8px;
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  background: rgba(0,0,0,.55);
  padding: 6px;
}

.tmr-edit-image-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.tmr-edit-thumb {
  position: relative;
}

.tmr-edit-label {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  padding: 0.15rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 1.5rem);
  pointer-events: none;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.35);
}

.tmr-edit-thumb img {
  width: 100%;
  display: block;
}

.tmr-edit-actions {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 8px;
}

.tmr-edit-btn {
  flex: 1;
  border: 0;
  border-radius: 10px;
  padding: 10px 8px;
  font-weight: 700;
  background: rgba(255,255,255,.92);
  cursor: pointer;
}

.tmr-edit-btn-danger {
  background: rgba(255,90,90,.95);
  color: #fff;
}













.tmr-nav-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 240px;
  color: #fff;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  padding: .45rem;
  display: none;
  z-index: 200;
  background: rgba(120, 0, 0, .78);
  backdrop-filter: blur(10px);
  left: 0;
}



@media (max-width: 960px) {




.tmr-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 360px);
  background: #fff;
  z-index: 1000;
  transform: translateX(110%);
  transition: transform .22s ease;
  margin-left: 0;
  box-shadow: -20px 0 40px rgba(0,0,0,.18);
  display: block;
  overflow: auto;
  padding-bottom: 24px;
}

.tmr-nav.is-open {
  transform: translateX(0);
}

.tmr-nav-inner {
  display: block;
  padding: 10px 16px 0;
}



.tmr-nav-link, 

.tmr-nav-dropdown {
  width: 100%;
}

.tmr-nav-dropdown-menu {
  position: static !important;
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 6px 0 6px 10px;
  background: transparent !important;
  display: none;
}

.tmr-nav-dropdown-menu.is-open {
  display: block;
}

.tmr-nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  margin: 6px 0;
  background: rgba(0,0,0,.02);
  border: 1px solid rgba(0,0,0,.05);
}

.tmr-nav-profile {
  margin-top: 8px;
}



}






.tmr-modal-subtitle {
  margin: 0 0 16px;
  color: var(--tmr-muted);
}

.tmr-modal-fineprint {
  margin: 14px 0 0;
  color: var(--tmr-muted);
  font-size: .92rem;
}

.tmr-page-hero {
  position: relative;
  min-height: 52vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

@media (min-width: 961px) {
  .tmr-page-hero.tmr-parallax {
    background-attachment: fixed;
  }
}
@media (max-width: 960px) {
  .tmr-page-hero.tmr-parallax {
    background-attachment: scroll;
  }
}
.tmr-animate {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.tmr-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tmr-alert {
  max-width: 1100px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.85rem;
  border: 1px solid rgba(0,0,0,.10);
}

.tmr-alert-success {
  background: rgba(0,160,80,.08);
  color: #165b22;
}

.tmr-alert-error {
  background: rgba(200,0,0,.08);
}

html.tmr-no-scroll, body.tmr-no-scroll {
  overflow: hidden;
}









@media (max-width: 960px) {


}






@media (max-width: 960px) {


}










@media (max-width: 960px) {


}






@media (max-width: 960px) {


}
































.tmr-submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 6px 10px;
}

.tmr-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  font-size: 12px;
  font-weight: 800;
}

.tmr-pill-success{
  background: rgba(5,150,105,0.15);
  color:#047857;
}

.tmr-pill-muted{
  background: rgba(148,163,184,0.35);
  color:#475569;
}

@media (min-width: 961px) {
  .tmr-nav-overlay {
    display: none !important;
  }
}

.tmr-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.tmr-submenu[hidden] {
  display: none;
}

.tmr-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  color: #fff;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.tmr-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--tmr-crimson);
  color: #fff;
}

























.tmr-nav-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  font-size: 30px;
  line-height: 1;
  text-decoration: none;
  color: inherit;
  padding: .25rem .5rem;
}





















.tmr-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.75);
  padding: 2rem 1rem;
  z-index: 2000;
  overflow-y: auto;
}

.tmr-modal[hidden] {
  display: none !important;
}

.tmr-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tmr-modal-dialog {
  position: relative;
  max-width: 640px;
  margin: 5vh auto;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 22px 60px rgba(0,0,0,.25);
  padding: 1.25rem;
  width: min(520px, 100%);
}

.tmr-modal-close {
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  position: absolute;
  top: .5rem;
  right: .65rem;
  width: 40px;
  height: 40px;
}

.tmr-modal-title {
  margin: 0 0 .75rem 0;
}

.tmr-form-compact .tmr-form-group {
  margin-bottom: .85rem;
}

.tmr-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: 14px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.tmr-nav-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 14px;
}

.tmr-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.tmr-brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.tmr-nav-toggle {
  display: none;
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tmr-nav-burger {
  margin-left: auto;
  width: 42px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;
}

.tmr-nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #111;
  margin: 2.5px 0;
  border-radius: 2px;
}

.tmr-nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.tmr-nav-link {
  color: #111;
  font-weight: 600;
  padding: 10px 10px;
  border-radius: 10px;
  transition: color 0.15s ease, background 0.15s ease;
  text-decoration: none;
}

.tmr-nav-link:hover {
  color: #ffffff;
  background: rgba(0,0,0,.04);
}

















.tmr-nav-drawer {
  display: none;
}

.tmr-nav-drawer-panel {
  position: fixed;
  right: -340px;
  top: 0;
  height: 100vh;
  width: 320px;
  background: #fff;
  border-left: 1px solid rgba(0,0,0,.10);
  z-index: 1100;
  transition: right .18s ease;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tmr-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 1090;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.tmr-nav-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.tmr-nav-drawer-brand {
  font-weight: 800;
  color: #111;
  text-decoration: none;
}

.tmr-nav-drawer-close {
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
}

.tmr-nav-drawer-close:hover {
  background: rgba(0,0,0,.04);
}

.tmr-nav-drawer-link {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  color: #111;
  text-decoration: none;
  font-weight: 700;
}

.tmr-nav-drawer-link:hover {
  background: rgba(0,0,0,.04);
}





.tmr-nav-drawer-sub {
  padding: 6px 0 2px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tmr-nav-drawer-sub a {
  padding: 10px 10px;
  border-radius: 12px;
  color: #111;
  text-decoration: none;
  font-weight: 650;
}

.tmr-nav-drawer-sub a:hover {
  background: rgba(0,0,0,.04);
}

#tmrNavToggle:checked ~ .tmr-nav-drawer .tmr-nav-drawer-panel {
  right: 0;
}

#tmrNavToggle:checked ~ .tmr-nav-drawer .tmr-nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
.tmr-nav-burger {
  display: flex;
}

.tmr-nav-links {
  display: none;
}

.tmr-nav-drawer {
  display: block;
}

}
/* =========================================================
 NAVBAR (matches your header .tmr-nav markup)
 ========================================================= */

header.tmr-nav {
position: sticky;
top: 0;
z-index: 1000;
background: var(--tmr-crimson);
color: #fff;
border-bottom: 1px solid rgba(0,0,0,.18);
box-shadow: 0 2px 10px rgba(0,0,0,.18);
}

header.tmr-nav .tmr-nav-inner {
max-width: 1200px;
margin: 0 auto;
padding: .75rem 1rem;
display: flex;
align-items: center;
gap: 1rem;
}

header.tmr-nav .tmr-brand {
display: inline-flex;
align-items: center;
gap: .5rem;
}

header.tmr-nav .tmr-brand-logo {
height: 44px;
width: auto;
display: block;
}

/* Desktop links */
header.tmr-nav nav.tmr-nav-links {
margin-left: auto;
display: flex;
align-items: center;
gap: .6rem;
}

header.tmr-nav .tmr-nav-link {
display: inline-flex;
align-items: center;
gap: .4rem;
padding: .5rem .65rem;
border-radius: .65rem;
color: #fff;
font-weight: 800;
text-decoration: none;
border: 0;
background: transparent;
cursor: pointer;
}

header.tmr-nav .tmr-nav-link:hover {
background: rgba(255,255,255,.14);
}

header.tmr-nav 

header.tmr-nav 

/* Desktop dropdown */
header.tmr-nav .tmr-nav-dropdown {
position: relative;
}

header.tmr-nav .tmr-nav-dropdown-toggle {
appearance: none;
}

header.tmr-nav .tmr-nav-dropdown-menu {
position: absolute;
top: calc(100% + 10px);
left: 0;
min-width: 240px;
padding: .45rem;
border-radius: 14px;
background: rgba(120,0,0,.86);
border: 1px solid rgba(255,255,255,.16);
box-shadow: 0 18px 40px rgba(0,0,0,.28);
backdrop-filter: blur(10px);
display: none; /* opened by JS via data-open="1" */
z-index: 200;
}

header.tmr-nav .tmr-nav-dropdown-menu[data-open="1"] {
display: block;
}

header.tmr-nav .tmr-nav-dropdown-menu a {
display: block;
padding: .65rem .75rem;
border-radius: 12px;
font-weight: 800;
color: rgba(255,255,255,.95);
text-decoration: none;
}

header.tmr-nav .tmr-nav-dropdown-menu a:hover {
background: rgba(255,255,255,.10);
}

/* Burger button */
header.tmr-nav .tmr-nav-burger {
margin-left: auto;
width: 44px;
height: 42px;
border-radius: 12px;
border: 1px solid rgba(255,255,255,.22);
background: rgba(0,0,0,.12);
display: none; /* shown on mobile */
align-items: center;
justify-content: center;
flex-direction: column;
gap: 5px;
cursor: pointer;
}

header.tmr-nav .tmr-nav-burger span {
width: 20px;
height: 2px;
background: #fff;
border-radius: 2px;
display: block;
}

/* Mobile dropdown panel */
/* Responsive switch */
@media (max-width: 960px) {
header.tmr-nav nav.tmr-nav-links { display: none; }
header.tmr-nav .tmr-nav-burger { display: inline-flex; }
header.tmr-nav .tmr-brand-logo { height: 40px; }
}



/* =========================================================
 NAVBAR PATCH OVERRIDES (v3)
 - Prevent "shoot off to the right" / disappearing at <=960px
 - Remove stray white strip on the left
 - Keep header full-bleed crimson
 Place this at the VERY END of your main CSS.
 ========================================================= */

header.tmr-nav{
display:block !important;
position:sticky !important;
top:0;
left:0 !important;
right:0 !important;
width:100% !important;
max-width:100vw !important;
transform:none !important;
margin:0 !important;
background: var(--tmr-crimson) !important;
overflow-x: clip;
}

/* Kill any inherited background/offsets that can create a left "strip" */
header.tmr-nav .tmr-container,
header.tmr-nav .tmr-nav-inner{
background: transparent !important;
margin-left: 0 !important;
border-left: 0 !important;
}

/* Ensure the top row never wraps/overflows unexpectedly */
header.tmr-nav .tmr-nav-inner{
flex-wrap: nowrap !important;
min-width: 0;
}

/* Ensure burger stays clickable above everything */
header.tmr-nav .tmr-nav-burger{
position: relative;
z-index: 9999;
}

/* Drawer + overlay stacking */
header.tmr-nav .tmr-nav-overlay{ z-index: 9000; }
header.tmr-nav .tmr-nav-drawer-panel{ z-index: 9100; }

/* Respect hidden attribute everywhere */
header.tmr-nav [hidden]{ display:none !important; }

/* Desktop dropdown visibility: JS toggles the [hidden] attribute.
   Ensure CSS does NOT force display:none unless [hidden] is present. */
@media (min-width: 961px){
  header.tmr-nav .tmr-nav-dropdown-menu{ display:block; }
  header.tmr-nav .tmr-nav-dropdown-menu[hidden]{ display:none !important; }
}

/* When the mobile drawer is open, hide the burger button (close button lives in the drawer). */
@media (max-width: 960px){
  header.tmr-nav.is-open .tmr-nav-burger{ opacity:0; pointer-events:none; }
}

/* If any old rules accidentally hide the header on mobile */
@media (max-width: 960px){
header.tmr-nav{ display:block !important; visibility: visible !important; }
}
/* ============================
   NAV SEARCH (navbar.php)
   ============================ */
   header.tmr-nav .tmr-nav-left{
    display:flex;
    align-items:center;
    gap: .85rem;
    min-width: 0;
    flex: 1 1 auto;
  }
  
  header.tmr-nav .tmr-nav-search{
    position: relative;
    display:flex;
    align-items:center;
    min-width: 220px;
    max-width: 420px;
    width: clamp(220px, 34vw, 420px);
    flex: 0 1 auto;
  }
  
  header.tmr-nav .tmr-nav-search-input{
    width:100%;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(0,0,0,.14);
    color:#fff;
    padding: 0 14px 0 40px; /* room for icon */
    outline: none;
    font-weight: 700;
  }
  
  header.tmr-nav .tmr-nav-search-input::placeholder{
    color: rgba(255,255,255,.70);
    font-weight: 700;
  }
  
  header.tmr-nav .tmr-nav-search-icon{
    position:absolute;
    left: 14px;
    width: 16px;
    height: 16px;
    pointer-events:none;
    opacity: .85;
    background-repeat:no-repeat;
    background-size:16px 16px;
    /* inline SVG icon (white) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' d='M21 21l-4.35-4.35'/%3E%3Ccircle cx='11' cy='11' r='7' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E");
  }
  
  /* Keep everything on one row on desktop */
  header.tmr-nav .tmr-nav-inner{
    flex-wrap: nowrap !important;
    gap: 1rem;
  }
  
  /* Mobile: hide the search in the top bar (recommended) */
  @media (max-width: 960px){
    header.tmr-nav .tmr-nav-search{ display:none; }
  }
  

/* =====================================================================
   NAVBAR (authoritative) — matches navbar.php markup
   Place at END; uses high specificity to override older nav experiments.
   ===================================================================== */

header.tmr-nav {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: var(--tmr-crimson) !important;
  color: #fff !important;
  width: 100% !important;
  max-width: 100vw !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(0,0,0,.18) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.18) !important;
}

header.tmr-nav .tmr-nav-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
}

header.tmr-nav .tmr-nav-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
}

header.tmr-nav .tmr-brand {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

header.tmr-nav .tmr-brand-logo {
  height: 44px !important;
  width: auto !important;
  display: block !important;
}

/* Search (desktop) — magnifying glass inside input */
header.tmr-nav .tmr-nav-search {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

header.tmr-nav .tmr-nav-search-input {
  width: 340px !important;
  max-width: 42vw !important;
  height: 38px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  background: rgba(0,0,0,.14) !important;
  color: #fff !important;
  padding: 0 14px 0 40px !important;
  outline: none !important;
  font-weight: 650 !important;
  letter-spacing: .2px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10) !important;
  -webkit-appearance: none;
  appearance: none;
}

header.tmr-nav .tmr-nav-search-input::placeholder {
  color: rgba(255,255,255,.78) !important;
}

header.tmr-nav .tmr-nav-search::before {
  content: "";
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  opacity: .9;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px 16px;
}

/* Desktop links */
header.tmr-nav .tmr-nav-links {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

header.tmr-nav .tmr-nav-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 9px 10px !important;
  border-radius: 12px !important;
  color: rgba(255,255,255,.95) !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  cursor: pointer;
  white-space: nowrap;
}

header.tmr-nav .tmr-nav-link:hover {
  background: rgba(255,255,255,.14) !important;
  border-color: rgba(255,255,255,.16) !important;
}

header.tmr-nav .tmr-nav-dropdown {
  position: relative !important;
}

header.tmr-nav .tmr-nav-caret {
  width: .55rem;
  height: .55rem;
  border-right: 2px solid rgba(255,255,255,.9);
  border-bottom: 2px solid rgba(255,255,255,.9);
  transform: rotate(45deg);
  display: inline-block;
  margin-left: 2px;
}

header.tmr-nav .tmr-nav-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  min-width: 240px !important;
  padding: 8px !important;
  border-radius: 14px !important;
  background: rgba(120,0,0,.86) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.28) !important;
  backdrop-filter: blur(10px);
  z-index: 2000 !important;
}

header.tmr-nav .tmr-nav-dropdown-menu-right { right: 0 !important; left: auto !important; }

header.tmr-nav .tmr-nav-dropdown-menu a {
  display: block !important;
  padding: 10px 10px !important;
  border-radius: 12px !important;
  color: rgba(255,255,255,.96) !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

header.tmr-nav .tmr-nav-dropdown-menu a:hover {
  background: rgba(255,255,255,.10) !important;
}

/* Burger */
header.tmr-nav .tmr-nav-burger {
  margin-left: auto !important;
  width: 44px !important;
  height: 42px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  background: rgba(0,0,0,.12) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 5px !important;
}

header.tmr-nav .tmr-nav-burger span {
  width: 20px !important;
  height: 2px !important;
  background: #fff !important;
  border-radius: 2px !important;
  display: block !important;
}

/* Drawer + overlay */
header.tmr-nav .tmr-nav-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,0,0,.45) !important;
  z-index: 2100 !important;
}

header.tmr-nav .tmr-nav-drawer-panel {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  height: 100vh !important;
  width: min(360px, 92vw) !important;
  background: #fff !important;
  color: #111 !important;
  z-index: 2200 !important;
  box-shadow: -18px 0 40px rgba(0,0,0,.22) !important;
  padding: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

header.tmr-nav .tmr-nav-drawer-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(0,0,0,.08) !important;
}

header.tmr-nav .tmr-nav-drawer-brand {
  font-weight: 950 !important;
  text-decoration: none !important;
  color: #111 !important;
}

header.tmr-nav .tmr-nav-drawer-close {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  background: #fff !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

header.tmr-nav .tmr-nav-drawer-search {
  padding-top: 2px;
}

header.tmr-nav .tmr-nav-drawer-search .tmr-nav-search-input {
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  background: rgba(0,0,0,.04) !important;
  color: #111 !important;
}

header.tmr-nav .tmr-nav-drawer-search {
  position: relative;
}

header.tmr-nav .tmr-nav-drawer-search::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  opacity: .55;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px 16px;
}

header.tmr-nav .tmr-nav-drawer-link {
  display: block !important;
  padding: 12px 12px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  background: rgba(0,0,0,.03) !important;
  color: #111 !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

header.tmr-nav .tmr-nav-drawer-link:hover {
  background: rgba(0,0,0,.06) !important;
}

header.tmr-nav .tmr-nav-drawer-section {
  border-radius: 14px !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  background: rgba(0,0,0,.02) !important;
  padding: 6px !important;
}

header.tmr-nav .tmr-nav-drawer-toggle {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 12px !important;
  border-radius: 12px !important;
  border: 0 !important;
  background: transparent !important;
  font-weight: 950 !important;
  cursor: pointer !important;
}

header.tmr-nav .tmr-nav-drawer-toggle:hover {
  background: rgba(0,0,0,.05) !important;
}

header.tmr-nav .tmr-nav-drawer-sub {
  padding: 6px 6px 4px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

header.tmr-nav .tmr-nav-drawer-sub a {
  display: block !important;
  padding: 10px 10px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0,0,0,.06) !important;
  background: rgba(0,0,0,.02) !important;
  color: #111 !important;
  font-weight: 750 !important;
  text-decoration: none !important;
}

header.tmr-nav .tmr-nav-drawer-sub a:hover {
  background: rgba(0,0,0,.05) !important;
}

/* Responsive switch */
@media (max-width: 960px) {
  header.tmr-nav .tmr-nav-links { display: none !important; }
  header.tmr-nav .tmr-nav-burger { display: inline-flex !important; }
  header.tmr-nav .tmr-nav-search { display: none !important; }
  header.tmr-nav .tmr-brand-logo { height: 40px !important; }
}

/* Accessibility helper if not present elsewhere */
.tmr-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =====================================================================
   FOOTER (compact + attractive link tree)
   ===================================================================== */

.tmr-footer {
  background: #111 !important;
  color: rgba(255,255,255,.92) !important;
}

.tmr-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tmr-footer-main {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tmr-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tmr-footer-title {
  margin: 0;
  font-weight: 950;
  font-size: 1.05rem;
}

.tmr-footer-subtitle {
  margin: 2px 0 0;
  opacity: .85;
  font-size: .9rem;
}

.tmr-footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  background: rgba(255,255,255,.08);
}

.tmr-footer-contact-btn:hover {
  background: rgba(255,255,255,.14);
}

.tmr-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tmr-footer-col {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 12px 12px 10px;
  background: rgba(255,255,255,.04);
}

.tmr-footer-col h4 {
  margin: 0 0 8px;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .9;
}

.tmr-footer-col a {
  display: block;
  padding: 6px 0;
  color: rgba(255,255,255,.86);
  text-decoration: none;
  font-weight: 650;
}

.tmr-footer-col a:hover {
  text-decoration: underline;
}

.tmr-footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: .75;
  font-size: .85rem;
}

.tmr-footer-separator { opacity: .6; }

@media (max-width: 768px) {
  .tmr-footer-main { justify-content: flex-start; }
  .tmr-footer-brand { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tmr-footer-contact-btn { width: 100%; }
  .tmr-footer-links { grid-template-columns: 1fr; }
}


/* =========================================================
   NAV FIX (v7)
   Forces the native HTML [hidden] attribute to win over any later
   display rules (including !important) so the drawer/overlay are not
   visible until JS opens them.
   ========================================================= */
header.tmr-nav .tmr-nav-overlay[hidden],
header.tmr-nav .tmr-nav-drawer-panel[hidden],
header.tmr-nav .tmr-nav-dropdown-menu[hidden]{
  display: none !important;
}

/* Safety: if a drawer is present but JS hasn't run yet, keep it off-canvas */
@media (max-width: 960px){
  header.tmr-nav .tmr-nav-drawer-panel{
    transform: translateX(110%) !important;
  }
  header.tmr-nav.is-open .tmr-nav-drawer-panel{
    transform: translateX(0) !important;
  }
}

/* =========================================================
   NAV FIX (v7)
   Forces the native HTML [hidden] attribute to win over any later
   display rules (including !important) so the drawer/overlay are not
   visible until JS opens them.
   ========================================================= */
header.tmr-nav .tmr-nav-overlay[hidden],
header.tmr-nav .tmr-nav-drawer-panel[hidden],
header.tmr-nav .tmr-nav-dropdown-menu[hidden] {
  display: none !important;
}

/* If you ever remove [hidden] and rely on .is-open, keep the drawer closed by default */
@media (max-width: 960px) {
  header.tmr-nav .tmr-nav-drawer-panel {
    transform: translateX(110%);
  }
  header.tmr-nav.is-open .tmr-nav-drawer-panel {
    transform: translateX(0);
  }
}



/* =====================================================================
   NAVBAR overrides (v9) — keep mobile search visible, fix drawer subs, enlarge logo
   ===================================================================== */
header.tmr-nav [hidden] { display: none !important; }
header.tmr-nav .tmr-nav-dropdown-menu[hidden],
header.tmr-nav .tmr-nav-drawer-sub[hidden] { display: none !important; }

/* Layout: logo | centered search | actions */
header.tmr-nav .tmr-nav-left { flex: 0 0 auto; }
header.tmr-nav .tmr-nav-search {
  display: flex !important;
  flex: 1 1 560px;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
header.tmr-nav .tmr-nav-search label { flex: 1; }

/* Magnifier inside the input */
header.tmr-nav .tmr-nav-search-icon{
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  opacity: .75;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
}
header.tmr-nav .tmr-nav-search input{
  padding-left: 42px !important;
}

/* Bigger logo */
header.tmr-nav .tmr-brand img,
header.tmr-nav .tmr-brand .tmr-brand-logo,
header.tmr-nav .tmr-brand-logo {
  height: 54px !important;
  width: auto !important;
}

/* Mobile tweaks */
@media (max-width: 960px){
  header.tmr-nav .tmr-brand img,
  header.tmr-nav .tmr-brand .tmr-brand-logo,
  header.tmr-nav .tmr-brand-logo { height: 56px !important; }

  header.tmr-nav .tmr-nav-search{
    max-width: 420px;
    flex: 1 1 auto;
  }

  /* Keep burger from lingering when drawer is open (close button is in drawer header) */
  header.tmr-nav.is-open .tmr-nav-burger { display: none !important; }
}
/* =========================================================
   NAVBAR FINAL LAYOUT TUNING
   ========================================================= */

/* Bigger logo */
header.tmr-nav .tmr-brand-logo{
  height: 100px;
  width: auto;
}

/* Top row structure */
header.tmr-nav .tmr-nav-inner{
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

/* Left group: logo + search */
header.tmr-nav .tmr-nav-left{
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 auto;
  min-width: 0;
}

/* Search fills the space between logo and menu */
header.tmr-nav .tmr-nav-search{
  flex: 1 1 auto;
  max-width: none;
  min-width: 220px;
  margin: 0 .75rem; /* slight padding from logo + menu */
}

/* Search input styling (keeps magnifying glass look) */
header.tmr-nav .tmr-nav-search-input{
  width: 100%;
  height: 44px;
  border-radius: 999px;
  padding: 0 14px 0 42px;
  font-weight: 700;
}

/* Desktop menu stays on the right */
header.tmr-nav nav.tmr-nav-links{
  flex: 0 0 auto;
  margin-left: auto;
}

/* Mobile behavior */
@media (max-width: 960px){
  header.tmr-nav .tmr-brand-logo{
    height: 92px;
  }

  /* Keep search visible and centered even with hamburger */
  header.tmr-nav .tmr-nav-search{
    flex: 1 1 auto;
    margin: 0 .5rem;
  }
}

@media (max-width: 520px){
  header.tmr-nav .tmr-brand-logo{
    height: 86px;
  }

  /* Allow search to shrink gracefully */
  header.tmr-nav .tmr-nav-search{
    min-width: 0;
  }
}
/* =========================================================
   NAVBAR: full-width search + bigger logo (hard override)
   Put this at the VERY END of tagmyrace.css
   ========================================================= */

   header.tmr-nav { width: 100%; }

   /* Ensure the row never wraps and can distribute space */
   header.tmr-nav .tmr-nav-inner{
     display:flex !important;
     align-items:center !important;
     flex-wrap:nowrap !important;
     gap: 12px !important;
   }
   
   /* Left cluster (logo + search) must be allowed to grow */
   header.tmr-nav .tmr-nav-left{
     display:flex !important;
     align-items:center !important;
     flex: 1 1 auto !important;
     min-width: 0 !important; /* critical for flex children to shrink correctly */
     gap: 12px !important;
   }
   
   /* Logo: force real size (your old CSS has smaller heights later) */
   header.tmr-nav .tmr-brand,
   header.tmr-nav .tmr-brand img{
     display:inline-flex !important;
     align-items:center !important;
   }
   
   header.tmr-nav img.tmr-brand-logo{
     height: 100px !important;
     width: auto !important;
     max-height: none !important;
   }
   
   /* Search consumes ALL remaining space between logo and menu/hamburger */
   header.tmr-nav form.tmr-nav-search{
     flex: 1 1 auto !important;
     min-width: 0 !important;
     max-width: none !important;
     margin: 0 !important;           /* remove side padding so it fills the whole gap */
   }
   
   /* Input fills the form width */
   header.tmr-nav .tmr-nav-search-input{
     width: 100% !important;
   }
   
   /* Right-side desktop menu must NOT take flex space */
   header.tmr-nav nav.tmr-nav-links{
     flex: 0 0 auto !important;
     margin-left: 0 !important;
   }
   
   /* Burger must also NOT take flex space */
   header.tmr-nav button.tmr-nav-burger{
     flex: 0 0 auto !important;
     margin-left: 0 !important;
   }
   
   /* Mobile: keep search visible and still filling the full gap to hamburger */
   @media (max-width: 960px){
     header.tmr-nav img.tmr-brand-logo{
       height: 92px !important;
     }
     header.tmr-nav form.tmr-nav-search{
       display:block !important; /* prevent older mobile rules from hiding it */
     }
   }
   
   /* Smaller phones: still big, but not ridiculous */
   @media (max-width: 520px){
     header.tmr-nav img.tmr-brand-logo{
       height: 84px !important;
     }
   }
   /* =========================================================
   HOTFIX: Mobile search icon duplicates + footer mobile spacing
   Drop-in overrides (place at very end of tagmyrace.css)
   ========================================================= */

/* 1) FIX: magnifying glass doubles on mobile
   Cause: both .tmr-nav-search-icon AND .tmr-nav-search::before render an icon.
   Keep the span icon, disable the ::before icon. */
header.tmr-nav .tmr-nav-search::before{
  content: none !important;
  display: none !important;
}

/* Optional: ensure the remaining icon is vertically centered */
header.tmr-nav .tmr-nav-search-icon{
  top: 50%;
  transform: translateY(-50%);
}

/* 2) FOOTER: reduce spacing / improve layout on mobile */
@media (max-width: 900px){
  .tmr-footer-links{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
  }
}

@media (max-width: 520px){
  .tmr-footer-links{
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  .tmr-footer-col h4{
    margin-bottom: .35rem;
  }

  .tmr-footer-col a{
    padding: .22rem 0;
  }
}

.tmr-hero {
  position: relative;
  width: 100%;
  min-height: 80vh;       /* makes it tall */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tmr-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* THIS is the key */
  z-index: 0;
}

.tmr-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.tmr-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 1.5rem;
}

.tmr-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.35));
  z-index: 1;
}

.tmr-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 20px 45px rgba(15,23,42,0.25);
  opacity: 0;
  z-index: 9999;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tmr-toast-success {
  background: #15803d;
}

.tmr-toast-error {
  background: #b91c1c;
}

.tmr-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =========================================================
   Story-driven marketing layout
   ========================================================= */
.tmr-hero-actions {
  margin-top: 1.25rem;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tmr-window-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.tmr-window {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.tmr-window::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 78px;
  height: 78px;
  border-radius: 20px;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.7), rgba(127,0,0,0.2));
  opacity: 0.35;
  pointer-events: none;
}

.tmr-window-mark {
  position: absolute;
  bottom: 26px;
  right: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 3.6rem;
  line-height: 1;
  color: rgba(15, 23, 42, 0.08);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.tmr-window-mark.material-symbols-rounded {
  font-size: 3.6rem !important;
}

.tmr-window > *:not(.tmr-window-mark) {
  position: relative;
  z-index: 1;
}

.tmr-window-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--tmr-crimson-dark);
  margin: 0 0 0.4rem;
  font-weight: 700;
}

.tmr-window-title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.tmr-window-body {
  margin: 0 0 0.65rem;
  color: #374151;
  line-height: 1.55;
}

.tmr-window-list {
  padding-left: 1.1rem;
  margin: 0;
  color: #475569;
  line-height: 1.5;
}

.tmr-window-list li + li {
  margin-top: 0.35rem;
}

.tmr-scroll-stage {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 3rem 1rem;
  margin: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.tmr-scroll-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.7), rgba(15,15,25,0.45));
}

.tmr-scroll-stage-content {
  position: relative;
  max-width: 800px;
  text-align: center;
}

.tmr-scroll-stage-content h2 {
  margin: 0.4rem 0 0.3rem;
  font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem);
}

.tmr-scroll-stage-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.tmr-split-feature {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.tmr-split-feature-text {
  flex: 1 1 320px;
}

.tmr-split-feature-media {
  flex: 1 1 300px;
  min-width: 260px;
}

.tmr-split-feature-media img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.22);
  display: block;
}

.tmr-pill-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tmr-pill-list li {
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}

.tmr-copy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
}

.tmr-copy-grid article {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 18px 46px rgba(15,23,42,0.12);
  border: 1px solid rgba(15,23,42,0.06);
}

.tmr-copy-grid h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.tmr-copy-grid p {
  margin: 0.35rem 0 0;
  color: #475569;
  line-height: 1.6;
}

.tmr-copy-grid ul,
.tmr-copy-grid ol {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}









.tmr-contact-steps {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tmr-contact-steps li {
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: rgba(127,0,0,0.08);
  border: 1px dashed rgba(127,0,0,0.35);
}

.tmr-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: flex-start;
}

.tmr-grid-2.tmr-grid-stack-on-mobile {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.tmr-prose {
  background: #fff;
  border-radius: 26px;
  padding: 1.75rem;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
  line-height: 1.7;
  color: #2c2c2c;
}

.tmr-prose h2,
.tmr-prose h3 {
  margin-top: 0;
  font-weight: 800;
  color: var(--tmr-crimson-dark);
}

.tmr-card-form {
  position: relative;
  border-radius: 28px;
  padding: 2rem;
  background: linear-gradient(160deg, rgba(127,0,0,0.09), rgba(255,255,255,0.95));
  border: 1px solid rgba(127,0,0,0.18);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.tmr-card-form::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px dashed rgba(127,0,0,0.1);
  pointer-events: none;
}

.tmr-card-form .tmr-form {
  max-width: none;
  position: relative;
  z-index: 1;
}

.tmr-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.tmr-label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tmr-crimson-dark);
}

.tmr-textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  min-height: 160px;
}

.tmr-textarea:focus {
  outline: none;
  border-color: var(--tmr-crimson);
  box-shadow: 0 0 0 2px rgba(127,0,0,0.12);
}

.tmr-card-form .tmr-btn {
  width: 100%;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.4rem;
}

.tmr-card-form .tmr-alert {
  margin-bottom: 1.2rem;
}

.tmr-figure {
  margin: 1.25rem auto 0;
  width: min(420px, 100%);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.tmr-figure {
  margin: 1.25rem auto 0;
  width: min(420px, 100%);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.tmr-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.tmr-figure.is-wide {
  width: min(520px, 100%);
}

@media (max-width: 720px) {
  .tmr-grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tmr-window {
    padding: 1.25rem;
  }

  .tmr-scroll-stage {
    background-attachment: scroll;
  }

  .tmr-split-feature {
    flex-direction: column;
  }

  .tmr-pill-list {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Profile editor
-------------------------------------------------------------------------- */
.tmr-profile-editor-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tmr-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #818cf8;
  margin-bottom: 0.4rem;
}

.tmr-btn-ghost {
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: #0f172a;
  background: transparent;
}

.tmr-profile-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tmr-profile-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .tmr-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tmr-profile-card header {
  margin-bottom: 1.25rem;
}

.tmr-profile-card h2,
.tmr-profile-card h3 {
  margin: 0 0 0.25rem;
}

.tmr-form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .tmr-form-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.tmr-form-group label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.35rem;
}

.tmr-input,
.tmr-textarea,
.tmr-profile-form input[type='file'] {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  font-family: inherit;
}

.tmr-textarea {
  resize: vertical;
}

.tmr-input-group {
  display: flex;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.tmr-input-group .tmr-input {
  border: none;
  border-radius: 0;
}
.tmr-input-group .tmr-btn {
  border-radius: 0;
  height: 100%;
  margin: 0;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
}

.tmr-input-prefix {
  padding: 0.65rem 0.85rem;
  background: rgba(15, 23, 42, 0.05);
  font-size: 0.9rem;
  color: #475569;
  white-space: nowrap;
}

.tmr-field-help {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.tmr-profile-photo-field {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.tmr-profile-photo-preview {
  width: 140px;
  height: 140px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tmr-profile-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tmr-profile-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

.tmr-profile-photo-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tmr-checkbox-inline {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.tmr-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.tmr-switch input {
  width: 18px;
  height: 18px;
}

.tmr-pr-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .tmr-pr-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

.tmr-profile-share {
  padding: 1.25rem;
}

.tmr-profile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.tmr-profile-actions-note {
  color: #475569;
  font-size: 0.9rem;
}

.tmr-favorites-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tmr-card-empty {
  padding: 1.75rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

/* --------------------------------------------------------------------------
   Public profile
-------------------------------------------------------------------------- */
.tmr-profile-public-hero {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.tmr-profile-public-photo {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  overflow: hidden;
  background: radial-gradient(circle at top, #a5b4fc, #6366f1);
  flex-shrink: 0;
}

.tmr-profile-public-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tmr-profile-public-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  font-weight: 700;
}

.tmr-profile-public-location {
  font-size: 1.05rem;
  color: #475569;
}

.tmr-profile-public-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.tmr-profile-public-meta span,
.tmr-profile-public-meta a {
  font-size: 0.95rem;
  color: #475569;
}

.tmr-profile-public-card {
  margin-bottom: 1.5rem;
}

.tmr-profile-public-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .tmr-profile-public-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tmr-profile-pr-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.tmr-profile-pr-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.tmr-profile-faves-placeholder {
  border: 1px dashed rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.06);
}

/* Navbar adjustments */
header.tmr-nav {
  position: static !important;
  top: auto !important;
}

header.tmr-nav .tmr-brand-logo {
  height: 72px !important;
}

.tmr-events-table-wrapper {
  margin-top: 2rem;
  overflow-x: auto;
}

.tmr-events-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  overflow: hidden;
}

.tmr-events-table th,
.tmr-events-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.tmr-events-table th {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  background: #f8fafc;
}

.tmr-events-table tbody tr:last-child td {
  border-bottom: none;
}

.tmr-events-table-preview {
  width: 88px;
}

.tmr-events-table-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #f1f5f9;
  overflow: hidden;
}

.tmr-events-table-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tmr-events-table-initial {
  font-weight: 700;
  font-size: 1.1rem;
  color: #0f172a;
}

.tmr-link-strong {
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
}

.tmr-link-strong:hover {
  text-decoration: underline;
}

.tmr-events-table-actions {
  text-align: right;
  white-space: nowrap;
}

.tmr-events-table-event {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tmr-events-table-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #475569;
}
.tmr-events-table-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tmr-btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.tmr-btn-icon:hover {
  background: #f1f5f9;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.tmr-hamburger-icon {
  width: 16px;
  height: 12px;
  position: relative;
  display: block;
}

.tmr-hamburger-icon::before,
.tmr-hamburger-icon::after,
.tmr-hamburger-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #0f172a;
  border-radius: 999px;
}

.tmr-hamburger-icon span {
  top: 50%;
  transform: translateY(-50%);
}

.tmr-hamburger-icon::before {
  top: 0;
}

.tmr-hamburger-icon::after {
  bottom: 0;
}

.tmr-dashboard-actions-menu {
  position: fixed;
  left: 0;
  top: 0;
  background: #fff;
  border-radius: 0.85rem;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.18);
  padding: 0.5rem;
  min-width: 220px;
  z-index: 40;
}

.tmr-dashboard-actions-menu[hidden] {
  display: none;
}

.tmr-dashboard-actions-menu a,
.tmr-dashboard-actions-menu button {
  display: flex;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  color: #0f172a;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.tmr-dashboard-actions-menu a:hover,
.tmr-dashboard-actions-menu button:hover {
  background: #f8fafc;
}

.tmr-dashboard-actions-menu .tmr-danger {
  color: #b91c1c;
}

.tmr-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tmr-status-pill.is-published {
  background: rgba(16, 185, 129, 0.16);
  color: #047857;
}

.tmr-status-pill.is-draft {
  background: rgba(234, 179, 8, 0.2);
  color: #92400e;
}

.tmr-status-pill.is-trashed {
  background: rgba(239, 68, 68, 0.15);
  color: #b91c1c;
}

.tmr-dashboard-events-table {
  margin-top: 1.5rem;
  width: 100%;
}

.tmr-dashboard-event-meta {
  display: none;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: #475569;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.tmr-dashboard-event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tmr-dashboard-events-table .tmr-events-table-actions {
  text-align: right;
}

@media (max-width: 640px) {
  .tmr-events-table {
    font-size: 0.92rem;
  }

  .tmr-events-table thead {
    display: none;
  }

  .tmr-events-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 18px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  }

  .tmr-events-table td {
    display: block;
    flex: 1 1 100%;
    padding: 0.35rem 0;
    border-bottom: none;
  }

  .tmr-events-table td:first-child {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 0 0 auto;
    padding-top: 0;
    padding-right: 0.75rem;
  }

  .tmr-events-table td:nth-child(2) {
    flex: 1 1 calc(100% - 80px);
    padding-top: 0;
  }

  .tmr-events-table td:nth-child(3),
  .tmr-events-table td:nth-child(4) {
    display: none;
  }

  .tmr-events-table-meta {
    display: flex;
  }

  .tmr-events-table-actions {
    text-align: left;
    margin-top: 0.6rem;
  }

  .tmr-events-table-actions .tmr-btn {
    width: 100%;
    justify-content: center;
    padding: 0.45rem 0.9rem;
  }

  .tmr-btn-icon {
    width: 34px;
    height: 34px;
  }

  .tmr-dashboard-events-table thead {
    display: none;
  }

  .tmr-dashboard-events-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 18px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  }

  .tmr-dashboard-events-table td {
    display: block;
    width: 100%;
    flex: 1 1 100%;
    border-bottom: none;
    padding: 0.35rem 0;
  }

  .tmr-dashboard-events-table td:first-child {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
    flex: 0 0 auto;
    padding-top: 0;
    padding-right: 0.75rem;
  }

  .tmr-dashboard-events-table td:nth-child(2) {
    flex: 1 1 calc(100% - 80px);
    padding-top: 0;
  }

  .tmr-dashboard-events-table td:nth-child(3),
  .tmr-dashboard-events-table td:nth-child(4) {
    display: none;
  }

  .tmr-dashboard-event-meta {
    display: flex;
  }

  .tmr-dashboard-events-table td.tmr-events-table-actions {
    flex: 1 1 100%;
    margin-top: 0.6rem;
  }
}
