:root{
  --bg:#0b1220;
  --card:#101a33;
  --text:#eaf0ff;
  --muted:#b8c2e0;
  --border:rgba(255,255,255,.14);
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --radius: 16px;
  --max: 1200px;
  --accent:#7aa2ff;
  --good:#b4ffd9;
  --warn:#ffd9a6;
  --bad:#ffb2b2;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(900px 500px at 20% -10%, rgba(122,162,255,.22), transparent 60%), var(--bg);
  line-height:1.55;
}

header{
  border-bottom:1px solid var(--border);
  background: rgba(11,18,32,.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top:0;
  z-index: 5;
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:18px;
}

.title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

h1{
  margin:0;
  font-size:1.25rem;
  letter-spacing:-.2px;
}

.sub{
  margin:6px 0 0;
  color:var(--muted);
  max-width:110ch;
}

.pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:7px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--muted);
  background: rgba(0,0,0,.10);
  white-space: nowrap;
}

.ok{color:var(--good)}
.warn{color:var(--warn)}
.bad{color:var(--bad)}

.card{
  margin-top:16px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 65%), var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:16px;
}

.controls{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap:14px;
  align-items:end;
}

@media (max-width: 980px){
  .controls{grid-template-columns:1fr}
  h1{font-size:1.1rem}
}

label{
  display:block;
  font-weight:650;
  margin-bottom:6px;
}

input[type="time"],
input[type="text"],
textarea{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}

textarea{
  min-height:85px;
  resize:vertical;
}

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

button{
  cursor:pointer;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--text);
  padding:10px 12px;
  border-radius: 12px;
  font-weight:650;
}

button.primary{
  border:0;
  background: linear-gradient(135deg, rgba(122,162,255,.95), rgba(122,162,255,.55));
  color:#071020;
}

button.danger{
  border:1px solid rgba(255,90,90,.35);
  background: rgba(255,90,90,.08);
}

button:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.meta{
  margin-top:10px;
  color:var(--muted);
  font-size:.95rem;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

/* Clock */
.clockCard{
  margin-bottom: 14px;
  padding: 14px;
  border:1px solid var(--border);
  border-radius: 14px;
  background: rgba(0,0,0,.10);
}

.clockWrap{
  position: relative;
  width: min(680px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at center, rgba(122,162,255,.10), transparent 55%);
  overflow: hidden;
}

.clockCenter{
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  width: clamp(120px, 30vw, 190px);
  height: clamp(120px, 30vw, 190px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:6px;
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  padding: 10px;
}

.flame{
  font-size: clamp(28px, 6vw, 46px);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.45));
}

.centerText{
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--text);
  line-height: 1.15;
  font-size: clamp(13px, 3.5vw, 24px);
}

.centerSub{
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 1.2px;
  font-size: clamp(8px, 2vw, 12px);
  margin-top: 2px;
}

.clockNode{
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  width: clamp(54px, 12vw, 120px);
  text-align:center;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

.clockNode .n{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: clamp(28px, 7vw, 42px);
  height: clamp(28px, 7vw, 42px);
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.16);
  margin: 0 auto 4px;
  font-variant-numeric: tabular-nums;
  font-size: clamp(12px, 3vw, 24px);
}

.clockNode .t{
  color: var(--muted);
  font-size: clamp(8px, 1.9vw, 12px);
  white-space: nowrap;
  line-height: 1.15;
}

.clockNode:hover .n{
  border-color: rgba(122,162,255,.65);
  box-shadow: 0 0 0 8px rgba(122,162,255,.08);
}

/* Header above hours */
.hoursHeader{
  text-align:center;
  margin: 6px 0 10px;
  font-size: 1.05rem;
  letter-spacing: -.2px;
}

.hoursHeader span{
  display:block;
  font-size: .9rem;
  color: var(--muted);
  font-weight: 800;
  margin-top: 4px;
}

/* Jump menu */
.jumpRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  margin: 8px 0 14px;
}

.jumpRow select{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline:none;
}

/* Table */
table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.12);
}

th, td{
  padding:10px 10px;
  border-bottom:1px solid var(--border);
  vertical-align: top;
}

th{
  text-align:left;
  color: var(--muted);
  font-weight:700;
  background: rgba(255,255,255,.03);
}

tr:last-child td{
  border-bottom:0;
}

.hour{
  width:98px;
  font-weight:900;
  white-space: nowrap;
}

.timecol{
  width:175px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.headercol{
  width: 34%;
}

.actionscol{
  width: 240px;
  white-space: nowrap;
}

.headerTitle{
  font-weight: 850;
}

.fiatLine{
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 1.6px;
  font-weight: 900;
}
/* 🔥 ADD THIS HERE */
.timeMobile {
  display: none;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 700;
}

/* Show ONLY on mobile */
@media (max-width: 780px){
  .timeMobile {
    display: block;
  }
}
.namesWrap{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width: 210px;
}

.nameRow{
  display:flex;
  gap:8px;
  align-items:center;
}

.nameInput{
  flex:1;
  padding:9px 10px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.18);
  color:var(--text);
}

.miniBtn{
  padding:8px 10px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  color:var(--text);
  font-weight:900;
  line-height: 1;
}

.miniBtn.danger{
  border-color: rgba(255,90,90,.35);
  background: rgba(255,90,90,.08);
}

.noteInput{
  width:100%;
  min-height: 66px;
  padding:9px 10px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.18);
  color:var(--text);
}

.linkBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  padding:9px 10px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.12);
  color: var(--text);
  font-weight:800;
}

.linkBtn:hover{
  border-color: rgba(122,162,255,.55);
}

.note{
  margin-top:12px;
  color:var(--muted);
  font-size:.95rem;
}

.rowHighlight{
  outline: 2px solid rgba(122,162,255,.55);
  outline-offset: -2px;
  background: rgba(122,162,255,.06);
}

/* Tablet / small laptop */
@media (max-width: 780px){
  .headercol{ width:auto; }
  .actionscol{ width:auto; }
  th.timecol, td.timecol{ display:none; }
}

/* Mobile pro: rows as cards */
@media (max-width: 780px){
  table, thead, tbody, th, td, tr{
    display:block;
    width:100%;
  }

  thead{
    display:none;
  }

  tr{
    border:1px solid var(--border);
    border-radius: 14px;
    margin: 12px 0;
    background: rgba(0,0,0,.10);
    overflow:hidden;
  }

  td{
    border:0;
    border-bottom:1px solid var(--border);
    padding: 10px 12px;
  }

  td:last-child{
    border-bottom:0;
  }

  td.hour{
    font-size: 1rem;
    background: rgba(255,255,255,.03);
  }

  .nameInput,
  .noteInput{
    padding: 12px 12px;
    font-size: 16px;
  }

  .miniBtn{
    padding: 11px 12px;
    font-size: 16px;
  }

  .linkBtn{
    width:100%;
    padding: 12px 12px;
    font-size: 16px;
  }

  td.timecol{
    display:none;
  }
}

/* Extra clock tuning for phones */
@media (max-width: 600px){
  .wrap{
    padding:14px;
  }

  .card{
    padding:12px;
  }

  .clockCard{
    padding:10px;
  }

  .clockWrap{
    width: 100%;
    max-width: 100%;
  }

  .clockNode{
    width: 58px;
  }

  .clockNode .n{
    margin-bottom: 3px;
  }

  .clockNode .t{
    font-size: 8px;
    line-height: 1.05;
  }

  .centerText{
    font-size: 14px;
  }

  .centerSub{
    font-size: 8px;
    letter-spacing: .8px;
  }

  .flame{
    font-size: 30px;
  }

  .hoursHeader{
    font-size: .98rem;
  }

  .hoursHeader span{
    font-size: .82rem;
  }
}

/* Very small phones */
@media (max-width: 420px){
  .clockCenter{
    width: 110px;
    height: 110px;
    padding: 8px;
  }

  .centerText{
    font-size: 12px;
    line-height: 1.05;
  }

  .centerSub{
    font-size: 7px;
    letter-spacing: .6px;
  }

  .clockNode{
    width: 52px;
  }

  .clockNode .n{
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .clockNode .t{
    font-size: 7px;
  }
}

/* Print */
@media print{
  header, .controls, .note, .jumpRow{
    display:none !important;
  }

  body{
    background:#fff;
    color:#000;
  }

  .card{
    box-shadow:none;
    border:1px solid #ccc;
    background:#fff;
  }

  .clockCard{
    border:1px solid #ccc;
    background:#fff;
  }

  .clockWrap{
    border:1px solid #ccc;
    background:#fff;
  }

  .clockCenter{
    border:1px solid #ccc;
    background:#fff;
    box-shadow:none;
  }

  table{
    border:1px solid #ccc;
    background:#fff;
  }

  th{
    color:#000;
    background:#f5f5f5;
  }

  td, th{
    border-bottom:1px solid #ddd;
  }

  .linkBtn,
  .miniBtn,
  input,
  textarea{
    display:none !important;
  }

  .printNames{
    display:block !important;
    color:#000;
  }

  .printNote{
    display:block !important;
    color:#333;
    margin-top:6px;
    white-space:pre-wrap;
  }
}

.printNames,
.printNote{
  display:none;
}
@media (max-width: 480px){
  .clockNode{
    width: 42px;
  }

  .clockNode .n{
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .clockNode .t{
    font-size: 6px;
    line-height: 1.05;
  }
}

@media (max-width: 600px){
  .clockNode .t{
    display: none;
  }

  .clockNode{
    width: 34px;
  }

  .clockNode .n{
    width: 28px;
    height: 28px;
    font-size: 12px;
    margin-bottom: 0;
  }
}
.audioBox {
  text-align: center;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(0,0,0,.10);
}

.audioBox h2 {
  margin: 0 0 8px;
}

.audioBox iframe {
  display: block;
  width: 100%;
  max-width: 560px;
  height: 315px;
  margin: 0 auto;
  border: 0;
  border-radius: 12px;
}
@media (max-width: 600px){
  .audioBox iframe {
    height: 220px;
  }
}

/* ============================================================
   Companion home page (index.html)
   ============================================================ */

.companion-page {
  overflow-x: hidden;
}

.companion-header {
  text-align: center;
  padding-bottom: 4px;
}

.companion-header h1 {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.1px;
}

.companion-header .sub {
  margin-top: 4px;
  font-size: 0.92rem;
  color: var(--muted);
}

.companion-page main.wrap {
  padding-top: 8px;
  padding-bottom: 32px;
}

/* Primary — current Passion Hour */
.current-hour {
  margin-top: 12px;
  padding: 24px 20px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(122, 162, 255, 0.10), rgba(0, 0, 0, 0.12) 55%), var(--card);
  box-shadow: var(--shadow);
  text-align: center;
}

.current-label {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.3px;
}

.current-number {
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--text);
}

.current-time {
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.current-title {
  margin: 20px 0 0;
  font-size: clamp(1.05rem, 4.2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.4;
  color: var(--text);
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.current-prayer {
  margin: 16px auto 0;
  max-width: 38ch;
  text-align: center;
}

.current-prayer p {
  margin: 0;
  font-size: clamp(0.92rem, 3.6vw, 1.05rem);
  font-weight: 550;
  font-style: italic;
  line-height: 1.55;
  color: var(--muted);
}

.current-prayer p + p {
  margin-top: 10px;
}

.current-fiat {
  margin: 16px 0 0;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--muted);
}

.listen-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  min-height: 52px;
  margin: 24px auto 0;
  padding: 14px 20px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(122, 162, 255, 0.95), rgba(122, 162, 255, 0.55));
  color: #071020;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(122, 162, 255, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.listen-btn:active {
  transform: scale(0.98);
}

/* Spiritual content (Phase 2) */
.spiritual-content {
  margin-top: 16px;
}

.spiritual-coming-soon {
  margin: 0;
  padding: 18px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.12);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  text-align: center;
}

.spiritual-panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.12);
  margin-bottom: 10px;
  overflow: hidden;
}

.spiritual-panel:last-child {
  margin-bottom: 0;
}

.spiritual-panel summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.spiritual-panel summary::-webkit-details-marker {
  display: none;
}

.spiritual-panel summary::marker {
  content: "";
}

.spiritual-panel summary::after {
  content: "+";
  margin-left: auto;
  padding-left: 12px;
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.spiritual-panel[open] summary::after {
  content: "−";
}

.spiritual-panel[open] summary {
  border-bottom: 1px solid var(--border);
}

.spiritual-body {
  padding: 4px 16px 16px;
}

.spiritual-body p {
  margin: 14px 0 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text);
  overflow-wrap: break-word;
}

.spiritual-body p:first-child {
  margin-top: 12px;
}

.spiritual-quote,
.spiritual-scripture {
  margin: 12px 0 0;
  padding: 14px 16px;
  border-left: 3px solid rgba(122, 162, 255, 0.55);
  background: rgba(122, 162, 255, 0.06);
  border-radius: 0 10px 10px 0;
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--text);
  overflow-wrap: break-word;
}

.spiritual-attribution {
  margin: 8px 0 0;
  font-size: 0.88rem;
  font-style: normal;
  color: var(--muted);
  line-height: 1.5;
}

.spiritual-scripture-ref {
  margin: 12px 0 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.4;
}

/* Introduction video */
.intro-section {
  margin-top: 28px;
  padding: 20px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.12);
}

.intro-text {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

.video-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}

.video-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* Secondary — all 24 hours */
.all-hours {
  margin-top: 28px;
}

.section-heading {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: -0.1px;
}

.hour-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hour-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.12);
}

.hour-card.is-current {
  border-color: rgba(122, 162, 255, 0.45);
  background: rgba(122, 162, 255, 0.07);
  box-shadow: 0 0 0 1px rgba(122, 162, 255, 0.12);
}

.hour-card-number {
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hour-card-time {
  margin-top: 4px;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.hour-card-title {
  margin: 10px 0 0;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.45;
  color: var(--text);
}

.hour-card-listen {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.14);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.hour-card-listen:active {
  background: rgba(122, 162, 255, 0.12);
  border-color: rgba(122, 162, 255, 0.4);
}

.hour-card-content-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(122, 162, 255, 0.35);
  border-radius: 12px;
  background: rgba(122, 162, 255, 0.08);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hour-card-content-toggle:active {
  background: rgba(122, 162, 255, 0.16);
}

.hour-card.is-expanded .hour-card-content-toggle {
  border-color: rgba(122, 162, 255, 0.55);
  background: rgba(122, 162, 255, 0.14);
}

.hour-card-content-panel {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  overflow-wrap: break-word;
}

.hour-card-content-panel:not([hidden]) {
  animation: hourContentReveal 0.25s ease;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hour-card-content-block {
  margin-top: 18px;
}

.hour-card-content-block:first-of-type {
  margin-top: 14px;
}

.hour-card-content-heading {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hour-card-content-body {
  padding: 0;
}

.hour-card-content-body.spiritual-body p:first-child,
.hour-card-content-body.spiritual-body .spiritual-quote:first-child,
.hour-card-content-body.spiritual-body .spiritual-scripture-ref:first-child {
  margin-top: 0;
}

.hour-card-content-empty {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 640px) {
  .hour-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .current-hour {
    padding: 32px 28px 36px;
  }
}

@media (min-width: 960px) {
  .hour-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Hourly announcements (Phase 1) */
.announcements-section {
  margin-top: 16px;
  padding: 20px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 65%), var(--card);
  box-shadow: var(--shadow);
}

.announcements-intro {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.announcements-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.announcements-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.announcements-toggle input {
  width: 22px;
  height: 22px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.announcements-toggle input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.announcements-test-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(122, 162, 255, 0.45);
  border-radius: 12px;
  background: rgba(122, 162, 255, 0.12);
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.announcements-test-btn:active:not(:disabled) {
  background: rgba(122, 162, 255, 0.2);
}

.announcements-test-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.announcements-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.1);
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text);
  overflow-wrap: break-word;
}

.announcements-note {
  margin: 14px 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  overflow-wrap: break-word;
}

@media (min-width: 640px) {
  .announcements-section {
    padding: 22px 20px;
  }

  .announcements-controls {
    flex-direction: row;
    align-items: stretch;
  }

  .announcements-toggle {
    flex: 1;
  }

  .announcements-test-btn {
    flex: 0 0 auto;
    min-width: 180px;
    width: auto;
  }
}

/* Push notifications (FCM manual test) */
.push-section {
  margin-top: 16px;
  padding: 20px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 65%), var(--card);
  box-shadow: var(--shadow);
}

.push-intro {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.push-enable-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(122, 162, 255, 0.45);
  border-radius: 12px;
  background: rgba(122, 162, 255, 0.12);
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.push-enable-btn:active:not(:disabled) {
  background: rgba(122, 162, 255, 0.2);
}

.push-enable-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.push-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.1);
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text);
  overflow-wrap: break-word;
}

.push-token-field {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.45;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical;
  overflow-wrap: anywhere;
}

.push-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.14);
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.push-copy-btn:active:not(:disabled) {
  background: rgba(122, 162, 255, 0.12);
  border-color: rgba(122, 162, 255, 0.4);
}

.push-note {
  margin: 14px 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  overflow-wrap: break-word;
}

@media (min-width: 640px) {
  .push-section {
    padding: 22px 20px;
  }

  .push-enable-btn,
  .push-copy-btn {
    width: auto;
    min-width: 220px;
  }
}