* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --background: #030806;
  --panel: rgba(9, 24, 18, 0.94);
  --panel-soft: rgba(14, 39, 28, 0.78);
  --green: #52ff9a;
  --green-soft: #b7ffd2;
  --amber: #ffbd59;
  --text: #f4fff8;
  --muted: #a9c2b3;
  --danger: #ff7474;
  --border: rgba(82, 255, 154, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(26, 117, 70, 0.28),
      transparent 36rem
    ),
    radial-gradient(
      circle at 100% 80%,
      rgba(255, 189, 89, 0.12),
      transparent 32rem
    ),
    var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 14px;
  background: rgba(82, 255, 154, 0.1);
  color: var(--green);
  font-weight: 900;
  box-shadow: 0 0 28px rgba(82, 255, 154, 0.14);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
}

.secure-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.secure-label span {
  margin-right: 6px;
  color: var(--green);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 70px;
}

.panel {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(
      145deg,
      rgba(15, 42, 30, 0.96),
      rgba(6, 17, 13, 0.96)
    );
  box-shadow: var(--shadow);
}

.wide-panel {
  width: min(860px, 100%);
}

.hidden {
  display: none !important;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 6vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h2 {
  font-size: 1.25rem;
}

.lead {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

label {
  display: block;
  margin: 22px 0 8px;
  color: var(--green-soft);
  font-weight: 750;
}

input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(183, 255, 210, 0.2);
  border-radius: 14px;
  outline: none;
  background: rgba(1, 7, 4, 0.72);
  color: var(--text);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(82, 255, 154, 0.12);
}

.hint,
.activation-note {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.primary-button,
.secondary-button,
.quiet-button,
.software-card,
.copy-button,
.reveal-button {
  border-radius: 14px;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease;
}

.primary-button {
  width: 100%;
  padding: 16px 22px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #021109;
  font-weight: 900;
}

.primary-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(82, 255, 154, 0.2);
}

.secondary-button {
  padding: 14px 20px;
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green);
  font-weight: 800;
}

.quiet-button {
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
}

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

.software-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.software-card {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--text);
  text-align: left;
}

.software-card strong,
.software-card span {
  display: block;
}

.software-card strong {
  margin-bottom: 8px;
  color: var(--green-soft);
  font-size: 1.02rem;
}

.software-card span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.software-card:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  background: rgba(24, 65, 45, 0.86);
}

.warning-card {
  margin: 8px 0 24px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 189, 89, 0.3);
  border-radius: 14px;
  background: rgba(255, 189, 89, 0.08);
  color: #ffe1af;
  line-height: 1.5;
}

.warning-card strong {
  display: block;
  margin-bottom: 3px;
  color: var(--amber);
}

.settings-list {
  display: grid;
  gap: 10px;
}

.setting-row {
  display: grid;
  grid-template-columns:
    minmax(110px, 0.7fr)
    minmax(0, 1.8fr)
    auto;
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid rgba(183, 255, 210, 0.12);
  border-radius: 12px;
  background: rgba(1, 7, 4, 0.52);
}

.setting-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.setting-value {
  overflow-wrap: anywhere;
  color: var(--text);
  font-family:
    ui-monospace, SFMono-Regular, Menlo,
    Consolas, monospace;
}

.setting-actions {
  display: flex;
  gap: 6px;
}

.copy-button,
.reveal-button {
  padding: 7px 9px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--green);
  font-size: 0.78rem;
}

.subsection {
  margin-top: 34px;
}

.subsection ol,
.subsection ul {
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.65;
}

.subsection li {
  margin-bottom: 9px;
}

.audio-grid,
.routing-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.audio-card,
.routing-card {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(1, 7, 4, 0.45);
}

.audio-card span,
.routing-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.78rem;
}

.audio-card strong,
.routing-card strong {
  color: var(--green-soft);
}

.message-box {
  position: fixed;
  right: 22px;
  bottom: 22px;
  max-width: min(420px, calc(100% - 44px));
  padding: 15px 18px;
  border: 1px solid var(--amber);
  border-radius: 14px;
  background: #271a08;
  color: #ffe4b8;
  box-shadow: var(--shadow);
  z-index: 20;
}

.message-box.error {
  border-color: var(--danger);
  background: #2b0d0d;
  color: #ffd0d0;
}

.loading-view {
  text-align: center;
}

.cat-loader {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 1.4rem;
  animation: cat-bounce 900ms ease-in-out infinite;
}

.cat-loader strong {
  margin: 0 5px;
  font-size: 2rem;
}

.completion-panel {
  text-align: center;
}

.rave-cat {
  position: relative;
  width: 150px;
  height: 120px;
  margin: 0 auto 20px;
}

.cat-face {
  position: absolute;
  left: 25px;
  top: 27px;
  width: 100px;
  height: 82px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--green);
  border-radius: 46% 46% 42% 42%;
  background: rgba(82, 255, 154, 0.12);
  color: var(--green);
  box-shadow: 0 0 40px rgba(82, 255, 154, 0.18);
  animation: rave 600ms ease-in-out infinite alternate;
}

.cat-face strong {
  position: absolute;
  bottom: 12px;
}

.ear {
  position: absolute;
  top: 9px;
  width: 37px;
  height: 37px;
  border-top: 3px solid var(--green);
  border-left: 3px solid var(--green);
  background: #0a2016;
  transform: rotate(45deg);
}

.left-ear {
  left: 27px;
}

.right-ear {
  right: 27px;
}

.music-note {
  position: absolute;
  color: var(--amber);
  font-size: 1.7rem;
  animation: float-note 1.2s ease-in-out infinite;
}

.note-one {
  left: 0;
  top: 20px;
}

.note-two {
  right: 0;
  top: 0;
  animation-delay: 300ms;
}

.dashboard-card {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(1, 7, 4, 0.46);
  text-align: left;
}

.dashboard-card h2 {
  margin-bottom: 8px;
}

.dashboard-card > p {
  color: var(--muted);
  line-height: 1.55;
}

.dashboard-credentials {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.completion-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.primary-link-button,
.secondary-link-button {
  display: block;
  padding: 15px 20px;
  border-radius: 14px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.primary-link-button {
  border: 1px solid var(--green);
  background: var(--green);
  color: #021109;
}

.secondary-link-button {
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green);
}

.primary-link-button:hover,
.secondary-link-button:hover {
  transform: translateY(-2px);
}

.completion-steps {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  text-align: left;
}

.completion-steps div {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--muted);
}

.completion-steps strong {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #021109;
}

footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 34px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
}

@keyframes cat-bounce {
  50% {
    transform: translateY(-8px);
  }
}

@keyframes rave {
  from {
    transform: rotate(-3deg) translateY(1px);
  }

  to {
    transform: rotate(3deg) translateY(-4px);
  }
}

@keyframes float-note {
  50% {
    transform: translateY(-13px) rotate(8deg);
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-top: 16px;
  }

  .secure-label {
    display: none;
  }

  main {
    margin-top: 8px;
  }

  .panel {
    padding: 26px 20px;
    border-radius: 20px;
  }

  h1 {
    font-size: 2.15rem;
  }

  .software-grid,
  .audio-grid,
  .routing-grid {
    grid-template-columns: 1fr;
  }

  .title-row {
    display: block;
  }

  .title-row .quiet-button {
    margin-bottom: 22px;
  }

  .setting-row {
    grid-template-columns: 1fr;
  }

  .setting-actions {
    justify-content: flex-start;
  }

  footer {
    gap: 10px;
    flex-direction: column;
    text-align: center;
  }
}

/* ShoutCat dashboard-matched theme v0.4.1 */

:root {
  color-scheme: dark;
  --background: #0b0810;
  --panel: rgba(25, 17, 34, 0.97);
  --panel-soft: rgba(42, 27, 57, 0.88);
  --green: #9b2cf6;
  --green-soft: #e3c8ff;
  --amber: #c77dff;
  --text: #fffaff;
  --muted: #cbbdd5;
  --danger: #ff5368;
  --border: rgba(174, 92, 255, 0.3);
  --shadow:
    0 24px 80px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(147, 51, 234, 0.04);
}

body {
  background:
    radial-gradient(
      circle at 16% -8%,
      rgba(112, 30, 176, 0.32),
      transparent 34rem
    ),
    radial-gradient(
      circle at 94% 92%,
      rgba(143, 34, 239, 0.2),
      transparent 34rem
    ),
    linear-gradient(
      145deg,
      #08060c 0%,
      #110b18 52%,
      #09060d 100%
    );
  color: var(--text);
}

.site-header {
  width: 100%;
  margin: 0;
  padding:
    18px
    max(
      22px,
      calc((100% - 1120px) / 2)
    );
  background:
    linear-gradient(
      100deg,
      #311347 0%,
      #5d1a91 46%,
      #9227ed 100%
    );
  border-bottom:
    1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 10px 38px rgba(0, 0, 0, 0.34);
}

.brand {
  gap: 13px;
}

.brand-mark {
  width: 45px;
  height: 45px;
  border:
    2px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background:
    rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1.55rem;
  filter: grayscale(1) brightness(4);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.06);
}

.brand-wordmark strong {
  font-size: 1.38rem;
  letter-spacing: -0.025em;
}

.brand-wordmark small {
  margin-top: -1px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.28em;
}

.secure-label {
  color: rgba(255, 255, 255, 0.82);
}

.secure-label span {
  color: #e6c9ff;
}

main {
  margin-top: 48px;
}

.panel {
  border:
    1px solid rgba(172, 83, 255, 0.25);
  background:
    linear-gradient(
      145deg,
      rgba(31, 20, 42, 0.98),
      rgba(15, 10, 21, 0.98)
    );
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.6),
    0 0 70px rgba(115, 36, 181, 0.08);
}

.eyebrow {
  color: #bd72ff;
}

h1 {
  color: #fffaff;
}

h2 {
  color: #f7edff;
}

.lead {
  color: #cbbdd5;
}

label {
  color: #e3c8ff;
}

input {
  border:
    1px solid rgba(204, 153, 255, 0.22);
  background: rgba(8, 5, 12, 0.82);
  color: white;
}

input:focus {
  border-color: #a83dff;
  box-shadow:
    0 0 0 4px rgba(160, 51, 255, 0.16);
}

.primary-button,
.primary-link-button {
  border: 1px solid #a638ff;
  background:
    linear-gradient(
      100deg,
      #7220bd,
      #a229f5
    );
  color: white;
  box-shadow:
    0 10px 26px rgba(128, 29, 210, 0.22);
}

.primary-button:hover:not(:disabled),
.primary-link-button:hover {
  border-color: #c578ff;
  box-shadow:
    0 14px 34px rgba(147, 43, 233, 0.34);
}

.secondary-button,
.secondary-link-button {
  border-color: #a745ef;
  color: #dba8ff;
}

.secondary-button:hover,
.secondary-link-button:hover {
  background: rgba(150, 46, 232, 0.12);
  border-color: #cb7cff;
}

.quiet-button,
.copy-button,
.reveal-button {
  border-color: rgba(184, 105, 255, 0.3);
  background: rgba(107, 37, 156, 0.08);
  color: #d9a4ff;
}

.quiet-button:hover,
.copy-button:hover,
.reveal-button:hover {
  border-color: #b958ff;
  background: rgba(151, 46, 226, 0.16);
}

.software-card {
  border-color: rgba(177, 92, 255, 0.24);
  background:
    linear-gradient(
      145deg,
      rgba(54, 31, 71, 0.82),
      rgba(29, 18, 39, 0.9)
    );
}

.software-card strong {
  color: #e4c6ff;
}

.software-card:hover {
  border-color: #a93eff;
  background:
    linear-gradient(
      145deg,
      rgba(90, 39, 121, 0.92),
      rgba(48, 23, 65, 0.96)
    );
  box-shadow:
    0 12px 30px rgba(82, 20, 130, 0.26);
}

.warning-card {
  border-color: rgba(198, 119, 255, 0.34);
  background: rgba(125, 51, 174, 0.13);
  color: #ead0ff;
}

.warning-card strong {
  color: #cf8fff;
}

.setting-row,
.audio-card,
.routing-card,
.completion-steps div {
  border-color: rgba(181, 101, 255, 0.2);
  background: rgba(9, 6, 13, 0.58);
}

.setting-value {
  color: #fffaff;
}

.audio-card strong,
.routing-card strong {
  color: #dfb9ff;
}

.dashboard-card {
  border-color: rgba(184, 101, 255, 0.28);
  background:
    linear-gradient(
      145deg,
      rgba(47, 26, 62, 0.9),
      rgba(21, 13, 29, 0.94)
    );
}

.message-box {
  border-color: #b958ff;
  background: #2d143e;
  color: #f0d9ff;
}

.message-box.error {
  border-color: var(--danger);
  background: #350d19;
  color: #ffd4dc;
}

.cat-loader,
.cat-face {
  color: #ba67ff;
}

.cat-face {
  border-color: #a73eff;
  background: rgba(150, 47, 229, 0.13);
  box-shadow:
    0 0 45px rgba(158, 49, 238, 0.22);
}

.ear {
  border-color: #a73eff;
  background: #21102c;
}

.music-note {
  color: #dc9cff;
}

.completion-steps strong {
  background:
    linear-gradient(
      135deg,
      #7620c1,
      #ad37ff
    );
  color: white;
}

footer {
  color: #a998b5;
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 18px;
  }

  main {
    margin-top: 22px;
  }

  .brand-mark {
    width: 41px;
    height: 41px;
    font-size: 1.35rem;
  }

  .brand-wordmark strong {
    font-size: 1.2rem;
  }
}

/* ShoutCat masthead alignment v0.4.2 */

.site-header {
  min-height: 96px;
  padding: 16px 24px;
  background:
    linear-gradient(
      100deg,
      #2e123f 0%,
      #4b1768 44%,
      #8522d6 100%
    );
}

.brand {
  gap: 10px;
}

.brand-mark {
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  border-width: 2px;
  font-size: 1.18rem;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.05);
}

.brand-wordmark strong {
  font-size: 1.72rem;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.brand-wordmark small {
  margin-top: 5px;
  font-size: 0.57rem;
  line-height: 1;
  letter-spacing: 0.32em;
}

.secure-label {
  margin-left: auto;
}

@media (max-width: 680px) {
  .site-header {
    min-height: 78px;
    padding: 12px 18px;
  }

  .brand-mark {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
    font-size: 1.05rem;
  }

  .brand-wordmark strong {
    font-size: 1.48rem;
  }

  .brand-wordmark small {
    font-size: 0.51rem;
  }
}

/* Exact ShoutCat logo asset v0.4.3 */

.brand-mark {
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  display: block;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
  box-shadow: none;
}

@media (max-width: 680px) {
  .brand-mark {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }
}



/* Exact AzuraCast ShoutCat brand mark v0.4.5 */

.brand-mark {
  width: 64px;
  height: 64px;
  display: block;
  flex: 0 0 64px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  filter: none;
}

@media (max-width: 680px) {
  .brand-mark {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }
}


/* Rave Cat completion animation v0.4.6 */

.rave-cat-image {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto 28px;
  border:
    1px solid rgba(197, 120, 255, 0.38);
  border-radius: 18px;
  background: #110b19;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.42),
    0 0 38px rgba(155, 44, 246, 0.15);
}

@media (max-width: 680px) {
  .rave-cat-image {
    margin-bottom: 22px;
    border-radius: 14px;
  }
}
