
    :root {
      --bg: #03050a;
      --panel: rgba(5, 10, 11, .86);
      --panel-strong: rgba(4, 9, 10, .96);
      --ink: #f5f7fb;
      --muted: #c1c7cf;
      --line: rgba(0, 234, 234, .26);
      --brand: #00e5e5;
      --brand-2: #00a7a7;
      --brand-dark: #00bcbc;
      --success: #00e5a8;
      --warn: #ffbf47;
      --dark: #07101d;
      --radius: 8px;
      --radius-large: 20px;
      --shadow: 0 24px 80px rgba(0, 0, 0, .42);
      --glow: 0 0 38px rgba(0, 229, 229, .18);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at 50% 0%, rgba(0, 229, 229, .08), transparent 34%),
        linear-gradient(180deg, #00070b 0%, #010b10 52%, #000 100%);
      line-height: 1.5;
      min-height: 100vh;
      overflow-x: hidden;
    }

    a {
      color: inherit;
    }

    .page-shell {
      position: relative;
      width: min(1880px, calc(100% - 32px));
      margin: 20px auto 0;
      border: 1px solid rgba(0, 229, 229, .18);
      border-radius: var(--radius-large);
      background:
        linear-gradient(90deg, rgba(1, 13, 18, .95) 0%, rgba(1, 13, 18, .7) 48%, rgba(1, 13, 18, .2) 100%),
        url("slike/hero-vebinar-sto.webp") right 72%/cover no-repeat;
      box-shadow: 0 30px 120px rgba(0, 0, 0, .55);
      overflow: hidden;
      isolation: isolate;
    }

    .page-shell::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        radial-gradient(circle at 74% 32%, rgba(0, 229, 229, .12), transparent 34%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .2) 58%, rgba(0, 0, 0, .52) 100%);
    }

    .hero {
      position: relative;
      color: white;
      padding: 0 0 74px;
      overflow: hidden;
    }

    .hero::before {
      display: none;
    }

    .hero::after {
      display: none;
    }

    .wrap {
      width: min(1680px, calc(100% - 72px));
      margin: 0 auto;
      position: relative;
    }

    .topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 44px;
      padding: 24px 0 18px;
      border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 34px;
      color: white;
      font-size: 16px;
      font-weight: 800;
    }

    .nav span {
      white-space: nowrap;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      min-width: 0;
    }

    .brand img {
      width: 174px;
      height: auto;
      display: block;
      filter: drop-shadow(0 0 18px rgba(0, 229, 229, .22));
    }

    .brand-text {
      display: flex;
      flex-direction: column;
      gap: 1px;
      min-width: 0;
      font-weight: 800;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .brand-text span:first-child {
      color: #f7fbff;
      white-space: nowrap;
    }

    .brand-text span:last-child {
      font-size: 12px;
      font-weight: 700;
      color: var(--brand);
      letter-spacing: .18em;
      white-space: nowrap;
    }

    .hero-kicker {
      color: var(--brand);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .16em;
      margin-bottom: 18px;
      font-size: 14px;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      padding: 8px 12px;
      border: 1px solid var(--brand);
      border-radius: 0;
      background: rgba(0, 229, 229, .04);
      color: #eaffff;
      font-size: 14px;
      font-weight: 700;
      backdrop-filter: blur(12px);
    }

    h1 {
      margin: 16px 0 14px;
      max-width: 700px;
      font-size: clamp(48px, 7vw, 78px);
      line-height: 1.02;
      letter-spacing: 0;
      font-weight: 900;
    }

    h1 span {
      display: block;
      color: var(--brand);
    }

    .hero p {
      max-width: 720px;
      margin: 0;
      color: #e2e6eb;
      font-size: 20px;
      line-height: 1.75;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 28px;
    }

    .icon {
      width: 22px;
      height: 22px;
      flex: 0 0 auto;
      stroke: currentColor;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
      fill: none;
    }

    .button .icon {
      margin-right: 10px;
    }

    .hero-features {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0;
      max-width: 860px;
      margin-top: 38px;
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 8px;
      background: rgba(0, 13, 20, .42);
      backdrop-filter: blur(12px);
    }

    .hero-feature {
      display: grid;
      grid-template-columns: 46px 1fr;
      gap: 14px;
      align-items: center;
      padding: 16px 18px;
      border-right: 1px solid rgba(255,255,255,.14);
    }

    .feature-icon {
      width: 42px;
      height: 42px;
      color: var(--brand);
      filter: drop-shadow(0 0 10px rgba(0,229,229,.24));
    }

    .hero-feature:last-child {
      border-right: 0;
    }

    .hero-feature strong {
      display: block;
      margin-bottom: 3px;
      color: #fff;
      font-size: 15px;
      white-space: nowrap;
    }

    .hero-feature span {
      color: var(--muted);
      font-size: 13px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 0 22px;
      border: 1px solid rgba(255,255,255,.28);
      border-radius: 8px;
      background: linear-gradient(135deg, rgba(0,229,229,.95), rgba(0,176,190,.95));
      color: #001014;
      font-size: 15px;
      font-weight: 800;
      text-decoration: none;
      cursor: pointer;
      transition: .18s ease;
      box-shadow: var(--glow);
    }

    .button.primary-white {
      background: linear-gradient(135deg, rgba(0,229,229,.95), rgba(0,176,190,.95));
      border-color: rgba(0,229,229,.95);
      color: white;
    }

    .button:hover {
      background: linear-gradient(135deg, #4fffff, #00c4d4);
      color: #001010;
      transform: translateY(-1px);
    }

    .button.secondary {
      background: rgba(2, 18, 24, .45);
      border: 1px solid rgba(255, 255, 255, .58);
      color: white;
      box-shadow: none;
    }

    .button.secondary:hover {
      background: rgba(255, 255, 255, .14);
    }

    .button.disabled,
    .button:disabled {
      background: rgba(148, 163, 184, .08);
      color: #cbd5e1;
      border: 1px solid rgba(148, 163, 184, .28);
      border-radius: 8px;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    .button.primary-white.disabled {
      background: rgba(148, 163, 184, .08);
      border-color: rgba(148, 163, 184, .28);
      color: #cbd5e1;
      opacity: 1;
    }

    main {
      padding: 34px 0 58px;
    }

    .stack {
      display: grid;
      gap: 26px;
      width: min(1880px, calc(100% - 32px));
    }

    .panel {
      background:
        radial-gradient(circle at 18% 12%, rgba(0,229,229,.09), transparent 34%),
        rgba(3, 17, 24, .9);
      border: 1px solid var(--line);
      border-radius: 18px;
      box-shadow: var(--shadow);
      backdrop-filter: blur(18px);
      position: relative;
      overflow: hidden;
    }

    .panel::before {
      content: "";
      position: absolute;
      inset: 0;
      border-top: 2px solid rgba(0, 229, 229, .48);
      pointer-events: none;
    }

    .panel.pad {
      padding: 34px;
    }

    .section-title {
      margin: 0 0 12px;
      font-size: 34px;
      line-height: 1.2;
    }

    .muted {
      color: var(--muted);
    }

    .live-strip {
      position: relative;
      width: min(1880px, calc(100% - 32px));
      margin: 34px auto 0;
      padding: 0;
      border-top: 0;
      overflow: hidden;
    }

    .live-strip::before {
      display: none;
    }

    .live-layout {
      position: relative;
      display: grid;
      grid-template-columns: minmax(320px, .58fr) minmax(0, 1.42fr);
      gap: 52px;
      align-items: center;
      width: 100%;
      padding: 38px 44px;
      border: 1px solid rgba(0, 229, 229, .22);
      border-radius: 18px;
      background:
        linear-gradient(90deg, rgba(1, 12, 18, .95), rgba(1, 18, 26, .82)),
        radial-gradient(circle at 84% 10%, rgba(0,229,229,.14), transparent 36%);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
      backdrop-filter: blur(14px);
    }

    .live-eyebrow {
      color: var(--brand);
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .14em;
      font-size: 13px;
      margin-bottom: 12px;
    }

    .live-info {
      max-width: 460px;
    }

    .live-info .muted {
      font-size: 15px;
      line-height: 1.55;
    }

    .live-title {
      margin: 0 0 10px;
      max-width: 480px;
      font-size: clamp(30px, 3.2vw, 52px);
      line-height: 1.06;
      font-weight: 900;
    }

    .live-title span {
      color: var(--brand);
    }

    .countdown {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin: 0;
    }

    .time-card {
      min-height: 132px;
      padding: 24px 12px;
      border: 1px solid rgba(0, 229, 229, .34);
      border-radius: 8px;
      text-align: center;
      background:
        radial-gradient(circle at 50% 0%, rgba(0,229,229,.14), transparent 56%),
        rgba(0, 229, 229, .045);
      display: grid;
      align-content: center;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 28px rgba(0,229,229,.06);
    }

    .time-card strong {
      display: block;
      font-size: clamp(50px, 5.4vw, 92px);
      line-height: 1;
      color: white;
    }

    .time-card span {
      color: var(--muted);
      margin-top: 9px;
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
    }

    .notice {
      padding: 12px 14px;
      border-radius: var(--radius);
      background: rgba(51, 214, 255, .09);
      color: #bdefff;
      font-weight: 700;
      margin: 16px 0 0;
    }

    .room-entry-card {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-top: 18px;
      min-height: 78px;
      padding: 0;
      border: 1px solid rgba(0,229,229,.22);
      border-radius: 8px;
      background: rgba(0, 20, 29, .58);
    }

    .room-entry-card .button {
      width: 100%;
      min-height: 78px;
      border-radius: 8px;
      font-size: 20px;
    }

    .notice.open {
      background: rgba(51, 226, 154, .1);
      color: var(--success);
    }

    .notice.closed {
      background: rgba(255, 189, 90, .1);
      color: var(--warn);
    }

    .instructors {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-top: 28px;
    }

    .instructor {
      position: relative;
      min-height: 392px;
      padding: 0 16px 26px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background:
        linear-gradient(180deg, rgba(0, 229, 229, .06), rgba(255,255,255,.025));
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
      overflow: hidden;
    }

    .instructor-photo {
      width: calc(100% + 32px);
      height: 205px;
      margin: 0 -16px 26px;
      object-fit: cover;
      display: block;
      filter: saturate(.9) contrast(1.05);
      opacity: .9;
    }

    .instructor-number {
      position: absolute;
      left: 18px;
      top: 172px;
      min-width: 56px;
      height: 44px;
      display: inline-grid;
      place-items: center;
      border: 1px solid rgba(0,229,229,.48);
      border-radius: 12px;
      background: rgba(0, 50, 62, .86);
      color: var(--brand);
      font-size: 22px;
      font-weight: 900;
      box-shadow: 0 0 22px rgba(0,229,229,.14);
    }

    .instructor h3 {
      margin: 0 0 10px;
      font-size: 24px;
    }

    .instructor p {
      margin: 0;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.55;
    }

    .weeks {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px;
    }

    .week {
      display: block;
      min-height: 450px;
      padding: 30px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background:
        radial-gradient(circle at 12% 0%, rgba(0,229,229,.12), transparent 35%),
        linear-gradient(180deg, rgba(0, 229, 229, .055), rgba(255,255,255,.025));
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    }

    .week-number {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      width: auto;
      height: auto;
      margin-bottom: 26px;
      background: transparent;
      color: #dff7ff;
      font-size: 18px;
      font-weight: 900;
    }

    .week-number::before {
      content: "";
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300e5e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3v3'/%3E%3Cpath d='M17 3v3'/%3E%3Crect x='4' y='5' width='16' height='16' rx='2'/%3E%3Cpath d='M4 10h16'/%3E%3Cpath d='M8 14h3'/%3E%3Cpath d='M13 14h3'/%3E%3C/svg%3E") center/22px 22px no-repeat,
        rgba(0, 229, 229, .11);
      box-shadow: 0 0 20px rgba(0,229,229,.12);
    }

    .week h3 {
      margin: 0 0 18px;
      font-size: 28px;
      line-height: 1.22;
    }

    .week p {
      font-size: 18px;
      line-height: 1.6;
    }

    .meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 26px 0 18px;
    }

    .tag {
      display: inline-flex;
      align-items: center;
      padding: 6px 9px;
      border-radius: 999px;
      background: rgba(12, 33, 45, .74);
      color: #e3eef8;
      font-size: 15px;
      font-weight: 800;
    }

    .tag::before {
      content: "";
      width: 18px;
      height: 18px;
      margin-right: 8px;
      background: currentColor;
      mask: radial-gradient(circle at 50% 32%, #000 0 26%, transparent 27%), linear-gradient(#000 0 0) center bottom/70% 45% no-repeat;
      opacity: .9;
    }

    .tag.field {
      background: rgba(51, 226, 154, .12);
      color: var(--success);
    }

    .tag.field::before {
      mask: none;
      background: none;
      border: 2px solid currentColor;
      border-radius: 50% 50% 50% 0;
      transform: rotate(-45deg) scale(.72);
    }

    .week-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      margin-top: 24px;
    }

    .week-actions .button {
      width: min(360px, 100%);
      min-height: 58px;
      justify-content: center;
    }

    .room-state {
      color: var(--muted);
      font-size: 14px;
      font-weight: 700;
    }

    footer {
      padding: 24px 0;
      border-top: 1px solid var(--line);
      color: var(--muted);
      text-align: center;
      font-size: 14px;
    }

    @media (max-width: 900px) {
      .page-shell {
        width: min(100% - 28px, 1880px);
        background-position: center right 30%;
      }

      .live-strip,
      .stack {
        width: min(100% - 28px, 1880px);
      }

      .live-layout,
      .hero-features,
      .weeks,
      .instructors {
        grid-template-columns: 1fr;
      }

      .hero-feature {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.14);
      }

      .hero-feature:last-child {
        border-bottom: 0;
      }

      .topbar {
        margin-bottom: 42px;
      }
    }

    @media (max-width: 560px) {
      .wrap {
        width: min(100% - 24px, 1120px);
      }

      .hero {
        padding: 0 0 38px;
      }

      .topbar {
        align-items: flex-start;
        flex-direction: column;
      }

      .nav {
        flex-wrap: wrap;
        gap: 14px 20px;
      }

      .brand img {
        width: 150px;
      }

      h1 {
        font-size: clamp(42px, 15vw, 66px);
      }

      .live-layout {
        padding: 24px 18px;
      }

      .time-card {
        min-height: 104px;
      }

      .week {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 22px;
      }

      .countdown {
        grid-template-columns: repeat(2, 1fr);
      }
    }
  
    /* ===== dodato za vebinar: obrazac prijave ===== */

    .prijava-forma {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
      margin-top: 30px;
    }

    .prijava-forma .polje.puna {
      grid-column: 1 / -1;
    }

    .prijava-forma label {
      display: block;
      margin-bottom: 9px;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--brand);
    }

    .prijava-forma input[type="text"],
    .prijava-forma input[type="tel"],
    .prijava-forma input[type="email"],
    .prijava-forma input[type="password"] {
      width: 100%;
      height: 58px;
      padding: 0 16px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(0, 0, 0, .46);
      color: var(--ink);
      font: 600 17px/1 Arial, Helvetica, sans-serif;
    }

    .prijava-forma input:focus {
      outline: 0;
      border-color: var(--brand);
      box-shadow: var(--glow);
    }

    .prijava-forma input::placeholder {
      color: rgba(193, 199, 207, .55);
      font-weight: 400;
    }

    .prijava-forma button.button {
      border: 0;
      cursor: pointer;
      font-family: Arial, Helvetica, sans-serif;
    }

    .zamka {
      position: absolute !important;
      left: -9999px !important;
      width: 1px !important;
      height: 1px !important;
      opacity: 0 !important;
    }

    .sitno {
      margin-top: 22px;
      font-size: 15px;
    }

    /* poruka o gresci i istaknuti kod */

    .poruka {
      margin: 22px 0;
      padding: 16px 20px;
      border: 1px solid var(--line);
      border-left: 3px solid var(--brand);
      border-radius: var(--radius);
      background: rgba(0, 229, 229, .07);
    }

    .poruka.lose {
      border-left-color: #ff6b6b;
      background: rgba(255, 107, 107, .09);
    }

    .poruka.pazi {
      border-left-color: var(--warn);
      background: rgba(255, 191, 71, .10);
    }

    .kod-okvir {
      display: inline-block;
      margin: 10px 0 6px;
      padding: 20px 28px;
      border: 1px solid rgba(0, 229, 229, .45);
      border-radius: var(--radius-large);
      background: rgba(0, 50, 62, .55);
      box-shadow: var(--glow);
      font-size: clamp(34px, 7vw, 56px);
      font-weight: 900;
      letter-spacing: .16em;
      color: var(--brand);
      line-height: 1;
    }

    .koraci {
      margin: 18px 0 0;
      padding-left: 22px;
      color: var(--muted);
      line-height: 1.85;
      font-size: 17px;
    }

    .koraci strong { color: var(--ink); }

    /* spisak prijava */

    .tabela-okvir { overflow-x: auto; margin-top: 26px; }

    table.spisak {
      width: 100%;
      border-collapse: collapse;
      font-size: 15px;
    }

    table.spisak th,
    table.spisak td {
      text-align: left;
      padding: 13px 15px;
      border: 1px solid rgba(255, 255, 255, .30);
    }

    table.spisak th {
      font-size: 12px;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--muted);
    }

    table.spisak tbody tr:nth-child(odd) {
      background: rgba(255, 255, 255, .07);
    }

    table.spisak a { text-decoration: none; color: var(--brand); }

    .brojka-veliko {
      font-size: clamp(32px, 6vw, 52px);
      font-weight: 900;
      color: var(--brand);
      line-height: 1;
    }

    /* ucionica preko celog ekrana */

    body.ucionica-telo {
      height: 100vh;
      overflow: hidden;
      background: #000;
    }

    .ucionica-traka {
      position: fixed;
      inset: 0 0 auto 0;
      height: 60px;
      z-index: 5;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 0 20px;
      background: #01070b;
      border-bottom: 1px solid var(--line);
      font-size: 15px;
      font-weight: 700;
    }

    .ucionica-traka .marka { color: var(--brand); }

    .ucionica-okvir {
      position: fixed;
      inset: 60px 0 0 0;
    }

    .ucionica-okvir iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }

    @media (max-width: 900px) {
      .prijava-forma { grid-template-columns: 1fr; }
    }

    /* ===== popravke za vebinar, 14.09. ===== */

    /* naslov je bio prevelik, hero je gutao ceo ekran */
    .hero h1 {
      max-width: 900px;
      font-size: clamp(30px, 4.1vw, 54px);
      line-height: 1.08;
      margin: 14px 0 14px;
    }

    .hero p {
      font-size: 18px;
      line-height: 1.7;
    }

    .hero {
      padding-bottom: 54px;
    }

    /* jasna oznaka da je u pitanju vebinar */
    .pill.vebinar {
      gap: 12px;
      padding: 11px 18px;
      border-radius: 8px;
      background: rgba(0, 229, 229, .10);
      font-size: 15px;
      font-weight: 900;
      letter-spacing: .08em;
      text-transform: uppercase;
      box-shadow: var(--glow);
    }

    .pill.vebinar .tacka {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--brand);
      box-shadow: 0 0 0 4px rgba(0, 229, 229, .18);
    }

    .pill.vebinar .datum {
      color: var(--brand);
    }

    /* kartice programa su imale praznu trecinu ispod teksta */
    .weeks .week {
      min-height: 0;
      padding: 26px 28px;
    }

    .weeks .week h3 {
      margin: 0 0 12px;
      font-size: 25px;
    }

    .weeks .week p {
      margin: 0 0 16px;
    }

    .weeks .week .meta {
      margin: 0;
    }

    /* kartice poslova neka prate sadrzaj */
    .instructors .instructor {
      min-height: 0;
      padding-bottom: 24px;
    }

    /* ===== ucionica: isti izgled kao na naprednoj obuci (14.09.) ===== */

    html.ucionica, body.ucionica-telo {
      width: 100%;
      height: 100%;
      margin: 0;
      overflow: hidden;
      background:
        radial-gradient(circle at 18% 12%, rgba(0, 229, 229, .14), transparent 32%),
        radial-gradient(circle at 82% 20%, rgba(0, 92, 115, .18), transparent 34%),
        linear-gradient(135deg, #01070a 0%, #021015 48%, #01080b 100%);
      color: var(--ink);
    }

    .ucionica-strana {
      width: 100%;
      height: 100%;
      padding: 18px;
      display: grid;
      grid-template-rows: auto 1fr;
      gap: 14px;
    }

    .ucionica-zaglavlje {
      min-height: 74px;
      padding: 14px 18px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: linear-gradient(135deg, rgba(2, 17, 23, .96), rgba(3, 28, 36, .78));
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    }

    .ucionica-zaglavlje .marka img {
      width: 142px;
      max-width: 38vw;
      height: auto;
      display: block;
    }

    .soba-meta {
      min-width: 0;
      text-align: right;
    }

    .soba-meta .nadnaslov {
      color: var(--brand);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .16em;
      text-transform: uppercase;
      margin-bottom: 5px;
    }

    .soba-meta h1 {
      margin: 0;
      max-width: none;
      font-size: clamp(17px, 2vw, 24px);
      line-height: 1.15;
      font-weight: 900;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .soba-meta h1 span {
      display: inline;
      color: inherit;
    }

    .soba-okvir {
      min-height: 0;
      border: 1px solid var(--line);
      border-radius: 16px;
      overflow: hidden;
      background: var(--panel-strong);
      box-shadow: 0 26px 80px rgba(0, 0, 0, .45);
    }

    #ucionica {
      width: 100%;
      height: 100%;
      min-height: 0;
      background: #02080c;
    }

    @media (max-width: 700px) {
      .ucionica-strana { padding: 10px; gap: 10px; }
      .ucionica-zaglavlje {
        min-height: 66px;
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 12px;
      }
      .soba-meta { text-align: left; width: 100%; }
      .soba-meta h1 { white-space: normal; }
      .ucionica-zaglavlje .marka img { width: 124px; }
    }

    /* ===== predavacki ekran: samo ucesnici (proba 14.09.) ===== */

    .predavac-strana {
      width: 100%;
      height: 100%;
      padding: 12px;
      display: grid;
      grid-template-rows: auto 1fr auto;
      gap: 10px;
    }

    .predavac-vrh {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 14px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(2, 17, 23, .96), rgba(3, 28, 36, .78));
      font-size: 14px;
    }

    .predavac-vrh .naziv {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .oznaka-uzivo {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 5px 10px;
      border: 1px solid rgba(255, 255, 255, .22);
      border-radius: 999px;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .oznaka-uzivo::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #7b8794;
    }

    .oznaka-uzivo.uzivo {
      color: var(--brand);
      border-color: rgba(0, 229, 229, .5);
    }

    .oznaka-uzivo.uzivo::before {
      background: var(--brand);
      box-shadow: 0 0 0 4px rgba(0, 229, 229, .18);
    }

    .deljenje-stanje {
      font-weight: 800;
      font-size: 12px;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted);
      white-space: nowrap;
    }

    .deljenje-stanje.radi { color: var(--success); }

    .ljudi {
      min-height: 0;
      overflow: auto;
      display: grid;
      grid-template-columns: repeat(var(--kolona, 2), var(--plocica, 150px));
      grid-auto-rows: min-content;
      justify-content: center;
      align-content: center;
      overflow: hidden;
      gap: 8px;
      padding: 2px;
    }

    .ljudi.prazno::after {
      content: "Polaznici još nisu ušli. Čim uđu, pojaviće se ovde.";
      grid-column: 1 / -1;
      align-self: center;
      text-align: center;
      color: var(--muted);
      font-size: 14px;
      padding: 24px 12px;
    }

    .plocica {
      position: relative;
      width: var(--plocica, 150px);
      max-width: 100%;
      min-width: 0;
      aspect-ratio: 4 / 3;
      border: 1px solid var(--line);
      border-radius: 12px;
      overflow: hidden;
      background: radial-gradient(circle at 50% 35%, rgba(0, 229, 229, .10), transparent 60%), #061821;
    }

    .plocica video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: none;
      background: #02080c;
    }

    .plocica.ima-sliku video { display: block; }
    .plocica.ima-sliku .bez-slike { display: none; }

    .bez-slike {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
    }

    .bez-slike .krug {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: rgba(0, 229, 229, .12);
      border: 1px solid rgba(0, 229, 229, .35);
      color: var(--brand);
      font-weight: 900;
      font-size: 19px;
      letter-spacing: .04em;
    }

    .plocica .ime {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 7px 10px;
      background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78));
      font-size: 13px;
      font-weight: 700;
    }

    .plocica .ime .tekst {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .plocica .mik {
      width: 9px;
      height: 9px;
      flex: 0 0 auto;
      border-radius: 50%;
      background: #64707c;
    }

    .plocica .mik.ukljucen {
      background: var(--success);
      box-shadow: 0 0 0 3px rgba(0, 229, 168, .18);
    }

    .predavac-alatke {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(2, 17, 23, .96), rgba(3, 28, 36, .78));
    }

    .alatka {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 42px;
      padding: 0 16px;
      border: 1px solid rgba(255, 255, 255, .22);
      border-radius: 9px;
      background: rgba(2, 18, 24, .6);
      color: var(--ink);
      font: 800 14px/1 Arial, Helvetica, sans-serif;
      cursor: pointer;
    }

    .alatka:hover { background: rgba(255, 255, 255, .10); }

    .alatka .tacka {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #64707c;
    }

    .alatka.aktivna .tacka {
      background: var(--success);
      box-shadow: 0 0 0 3px rgba(0, 229, 168, .18);
    }

    .alatka.glavna {
      margin-left: auto;
      background: linear-gradient(135deg, rgba(0, 229, 229, .95), rgba(0, 176, 190, .95));
      border-color: rgba(0, 229, 229, .95);
      color: #001014;
    }

    .alatka.glavna.deli {
      background: linear-gradient(135deg, #ffbf47, #ff9f1c);
      border-color: #ffbf47;
    }

    .alatka.izlaz {
      border-color: rgba(255, 107, 107, .5);
      color: #ff9b9b;
    }

    @media (max-width: 620px) {
      .ljudi { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
      .alatka.glavna { margin-left: 0; width: 100%; justify-content: center; }
    }

    /* kad ima puno ljudi u malom prozoru, plocice se smanje pa i tekst mora */
    .ljudi.sitno .ime { font-size: 11px; padding: 5px 7px; gap: 5px; }
    .ljudi.sitno .bez-slike .krug { width: 38px; height: 38px; font-size: 14px; }
    .ljudi.sitno .plocica { border-radius: 9px; }

    /* ===== mali prozor iznad svega (Document Picture in Picture) ===== */

    body.u-cosku {
      padding: 0;
      background: #02080c;
      height: 100%;
      overflow: hidden;
    }

    body.u-cosku .predavac-strana {
      padding: 7px;
      gap: 6px;
      height: 100vh;
    }

    body.u-cosku .predavac-vrh {
      padding: 6px 9px;
      font-size: 11px;
      border-radius: 9px;
    }

    body.u-cosku .oznaka-uzivo { padding: 3px 7px; font-size: 9px; }
    body.u-cosku .deljenje-stanje { font-size: 9px; }

    body.u-cosku .predavac-alatke {
      padding: 6px;
      gap: 5px;
      border-radius: 9px;
    }

    body.u-cosku .alatka {
      min-height: 32px;
      padding: 0 9px;
      font-size: 11px;
      gap: 6px;
    }

    body.u-cosku .alatka.glavna { margin-left: auto; }

    .u-cosku-poruka {
      /* Ne sme da guta klikove: bila je razvucena preko celog prozora pa
         se nijedno dugme nije moglo pritisnuti (Miloš, 15.09.2026). */
      pointer-events: none;
      position: fixed;
      inset: 0;
      display: grid;
      place-items: center;
      text-align: center;
      padding: 24px;
      color: var(--muted);
    }

    .u-cosku-poruka strong {
      display: block;
      color: var(--ink);
      font-size: 20px;
      margin-bottom: 8px;
    }

    .u-cosku-poruka p {
      margin: 0;
      max-width: 44ch;
      line-height: 1.7;
    }
