/* KokonoAtelier Cyber Violet theme.
   Loaded AFTER site.css. It only re-colors and re-shapes; layout and content are unchanged. Delete this file to return to the previous look.
   Palette follows the violet theme of the thumbnail maker (violet #b77bff, cyan #00e5ff, deep #04010d / #1c0840). */

:root {
  --bg: #07031a;
  --bg-deep: #04010d;
  --panel: rgba(18, 8, 44, .84);
  --panel-strong: rgba(26, 11, 62, .96);
  --line: rgba(183, 123, 255, .32);
  --line-strong: rgba(0, 229, 255, .62);
  --text: #f6f2ff;
  --muted: #bdb0dc;
  --pink: #b77bff;
  --pink-soft: #d9c2ff;
  --violet: #8d4dff;
  --cyan: #00e5ff;
  --radius-lg: 10px;
  --radius-md: 6px;
  --radius-sm: 4px;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, "Courier New", monospace;
}

body {
  background:
    linear-gradient(rgba(183, 123, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 123, 255, .07) 1px, transparent 1px),
    radial-gradient(circle at 15% 0%, rgba(106, 53, 200, .42), transparent 38%),
    radial-gradient(circle at 92% 92%, rgba(0, 150, 200, .2), transparent 34%),
    linear-gradient(160deg, #1c0840 0%, var(--bg) 46%, var(--bg-deep) 100%);
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
}
.page-glow { opacity: .2; }
.page-glow--pink { background: #8d4dff; }
.page-glow--violet { background: #00b8d9; }

/* ---------- header / menu (larger, easier to hit) ---------- */
.site-header {
  position: relative;
  min-height: 92px;
  padding-bottom: 2px;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--line) 22%, transparent 80%);
  box-shadow: 0 0 12px rgba(0, 229, 255, .45);
}
.brand__mark {
  width: 48px;
  height: 48px;
  border: 1px solid var(--cyan);
  border-radius: 4px;
  color: var(--cyan);
  background: rgba(0, 229, 255, .08);
  box-shadow: 0 0 18px rgba(0, 229, 255, .3), inset 0 0 12px rgba(183, 123, 255, .25);
  font-family: var(--mono);
}
.brand strong { font-size: 17px; letter-spacing: .08em; }
.brand small { font-size: 12px; }

.site-nav { gap: 6px; }
.site-nav a, .site-nav .is-disabled {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
}
.site-nav a { color: var(--text); }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] {
  color: var(--cyan);
  border-color: rgba(0, 229, 255, .55);
  background: rgba(0, 229, 255, .09);
  box-shadow: 0 0 16px rgba(0, 229, 255, .22);
}
.site-nav .is-disabled { color: #8a82a6; }

/* ---------- common text and buttons ---------- */
.eyebrow, .portal-card__label, .hero__panel-label, .profile-label, .stream-card__date {
  font-family: var(--mono);
  letter-spacing: .18em;
}
.hero__title-line--accent { background: linear-gradient(90deg, #fff, #d9c2ff 40%, var(--cyan)); -webkit-background-clip: text; background-clip: text; }
.button { border-radius: 4px; font-family: var(--mono); letter-spacing: .06em; min-height: 52px; }
.button--primary { color: #12062c; background: linear-gradient(100deg, #d9c2ff, #b77bff 45%, var(--cyan)); box-shadow: 0 0 26px rgba(183, 123, 255, .38); }
.button--ghost { border-color: rgba(0, 229, 255, .45); background: rgba(0, 229, 255, .06); }
.button--ghost:hover, .button--ghost:focus-visible { border-color: var(--cyan); box-shadow: 0 0 18px rgba(0, 229, 255, .3); }
.button--youtube { box-shadow: 0 0 24px rgba(255, 0, 0, .3); }
.text-link { font-family: var(--mono); letter-spacing: .06em; }
.section-heading h2 { letter-spacing: -.01em; }
.section-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 52px); }

/* ---------- panels ---------- */
.hero__panel {
  border-color: var(--line);
  background:
    radial-gradient(circle at 28% 18%, rgba(141, 77, 255, .34), transparent 34%),
    linear-gradient(145deg, rgba(30, 12, 70, .95), rgba(8, 3, 24, .92));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5), 0 0 40px rgba(106, 53, 200, .22), inset 0 1px rgba(255, 255, 255, .05);
}
.hero__panel::before, .hero__panel::after { border-color: rgba(0, 229, 255, .16); }
.hero__panel-orbit { border-color: rgba(0, 229, 255, .4); box-shadow: inset 0 0 28px rgba(141, 77, 255, .55), 0 0 28px rgba(0, 229, 255, .28); }
.hero__panel-orbit::before { background: var(--cyan); box-shadow: 0 0 34px var(--cyan); }

/* signal sphere (canvas drawn by signal-sphere.js) replaces the static orbit decoration */
.hero__sphere { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__panel-orbit, .hero__panel::before, .hero__panel::after { display: none; }
.hero__panel-label, .hero__panel-title, .hero__panel-text { text-shadow: 0 2px 14px rgba(4, 1, 13, .9); }

/* ---------- portal cards: one structure for every card ---------- */
.portal-grid { gap: 16px; }
.portal-card {
  min-height: 236px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  column-gap: 12px;
  row-gap: 10px;
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(26, 11, 62, .88), rgba(8, 3, 24, .92));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
}
.portal-card::before {            /* top accent line */
  inset: 0 auto auto 0;
  width: 72px;
  height: 2px;
  top: 0;
  right: auto;
  border-radius: 0;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  transition: width .25s ease;
}
.portal-card::after {             /* bottom-right corner bracket */
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 18px;
  height: 18px;
  border-right: 2px solid rgba(0, 229, 255, .6);
  border-bottom: 2px solid rgba(0, 229, 255, .6);
  pointer-events: none;
}
.portal-card:hover, .portal-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .4), 0 0 26px rgba(0, 229, 255, .18);
}
.portal-card:hover::before, .portal-card:focus-visible::before { transform: none; width: 100%; }
.portal-card__index {
  position: static;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding: 3px 9px;
  border: 1px solid rgba(0, 229, 255, .6);
  background: rgba(0, 229, 255, .1);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.3;
  text-shadow: none;
}
.portal-card__label {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  color: var(--pink-soft);
  font-size: 11px;
  font-weight: 700;
}
.portal-card strong {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 20px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.portal-card > span:last-child {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.portal-card--disabled { filter: grayscale(1) brightness(.9); opacity: .6; }
.portal-card--disabled::before, .portal-card--disabled::after { display: none; }
.portal-card--disabled .portal-card__index { color: #cfc9dc; border-color: #8a8394; background: transparent; }
.portal-card--disabled .portal-card__label { color: #cfc9dc; }

/* ---------- portal hierarchy: two lead cards, three small ones; per-card accent; arrow shows it is clickable ---------- */
.portal-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.portal-card { --accent: var(--cyan); grid-column: span 2; min-height: 210px; }
.portal-card--lead { grid-column: span 3; min-height: 270px; padding: 28px 28px 30px; }
.portal-card--lead strong { font-size: 28px; }
.portal-card--lead > span:last-child { font-size: 14px; }
.portal-card--profile { --accent: #b77bff; }
.portal-card--channel { --accent: #ff4d5e; }
.portal-card--booth { --accent: #ff9248; }
.portal-card--x { --accent: #e6edff; }
.portal-card::before { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.portal-card__index { color: var(--accent); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.portal-card:hover, .portal-card:focus-visible { border-color: var(--accent); box-shadow: 0 18px 44px rgba(0, 0, 0, .4), 0 0 28px color-mix(in srgb, var(--accent) 30%, transparent); }
.portal-card::after {
  content: "→";
  right: 16px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent);
  border-radius: 4px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}
.portal-card--ext::after { content: "↗"; }
.portal-card:hover::after, .portal-card:focus-visible::after { background: var(--accent); color: #12062c; transform: translate(2px, -2px); }
.portal-card > span:last-child { padding-right: 44px; }
/* the pre-release card has no arrow and no accent */
.portal-card--disabled::after, .portal-card--disabled::before { display: none; }
.portal-card--disabled > span:last-child { padding-right: 0; }
@media (max-width: 1040px) {
  .portal-card, .portal-card--lead { grid-column: span 3; min-height: 0; }
  .portal-card--lead { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .portal-grid { grid-template-columns: 1fr; }
  .portal-card, .portal-card--lead { grid-column: auto; }
}

/* ---------- profile: access links in each service's color ---------- */
.profile-access { margin-top: 44px; display: grid; gap: 16px; justify-items: center; }
.profile-access__label { margin: 0; color: var(--cyan); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .24em; }
.profile-access__list { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.access-link {
  --accent: var(--cyan);
  position: relative;
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 14px;
  padding: 16px 18px 16px 22px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 6px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 14%, transparent), rgba(8, 3, 24, .92) 70%);
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.access-link::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.access-link--youtube { --accent: #ff3b4d; }
.access-link--x { --accent: #e6edff; }
.access-link--booth { --accent: #ff9248; }
.access-link__name { grid-column: 1; grid-row: 1; font-size: 20px; font-weight: 800; letter-spacing: .04em; color: var(--text); }
.access-link__sub { grid-column: 1; grid-row: 2; margin-top: 2px; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
.access-link__go {
  grid-column: 2; grid-row: 1 / 3;
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 75%, transparent); border-radius: 4px;
  color: var(--accent); font-family: var(--mono); font-size: 18px; font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.access-link:hover, .access-link:focus-visible { transform: translateY(-3px); outline: none; border-color: var(--accent); box-shadow: 0 14px 34px rgba(0, 0, 0, .4), 0 0 26px color-mix(in srgb, var(--accent) 30%, transparent); }
.access-link:hover .access-link__go, .access-link:focus-visible .access-link__go { background: var(--accent); color: #12062c; transform: translate(2px, -2px); }
.access-back { color: var(--muted); font-family: var(--mono); font-size: 14px; letter-spacing: .08em; text-decoration: none; padding: 8px 4px; border-bottom: 1px solid transparent; }
.access-back:hover, .access-back:focus-visible { color: var(--cyan); border-bottom-color: var(--cyan); outline: none; }
@media (max-width: 760px) { .profile-access__list { grid-template-columns: 1fr; } }

/* ---------- streams, profile, footer ---------- */
.stream-card, .profile-name-card, .profile-panel, .profile-fact {
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(22, 9, 52, .86), rgba(8, 3, 24, .9));
}
.stream-card:hover { border-color: var(--line-strong); box-shadow: 0 0 26px rgba(0, 229, 255, .16); }
.stream-state--upcoming { background: rgba(70, 38, 160, .94); }
.site-footer { border-top-color: var(--line); }
.footer-links a, .footer-links .is-disabled { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--cyan); }
.footer-links .is-disabled { color: #8a82a6; }

@media (max-width: 1040px) {
  .site-header { min-height: auto; padding-block: 14px; }
  .site-nav a, .site-nav .is-disabled { padding: 10px 16px; font-size: 14px; }
}
@media (max-width: 760px) {
  .portal-card { min-height: 0; }
  .site-nav { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .site-nav a, .site-nav .is-disabled { padding: 9px 12px; font-size: 13px; letter-spacing: .06em; }
}
