:root {
  --bg: #0b0b0c;
  --fg: #f4f2ee;
  --muted: rgba(244, 242, 238, 0.62);
  --chip-bg: #f4f2ee;
  --chip-fg: #0b0b0c;
  --accent: #f2ff5a;
  --panel: #3c4a7a;
  --display: "Gravitas One", "Inter Tight", serif;
  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 2.4vw, 28px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  overscroll-behavior: none;
}

button { font: inherit; color: inherit; }
a { color: inherit; }

#globe {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
  outline: none;
}
#globe.is-dragging { cursor: grabbing; }
#globe.is-pointer { cursor: pointer; }

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 75% at 50% 50%, transparent 55%, rgba(0,0,0,.55) 100%);
}

/* ---------- top bar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: calc(var(--gutter) + env(safe-area-inset-top)) var(--gutter) 0;
  pointer-events: none;
  z-index: 10;
}
.topbar > * { pointer-events: auto; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  grid-column: 2;
  font-weight: 700;
  font-size: clamp(17px, 1.6vw, 22px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 14px rgba(0,0,0,.75);
}
.chip--about { grid-column: 3; justify-self: end; }
.brand__mark {
  width: 26px; height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 18%, transparent 19%),
    radial-gradient(circle at 50% 50%, var(--accent) 0 46%, transparent 47%),
    radial-gradient(circle at 50% 50%, transparent 0 60%, var(--fg) 61% 70%, transparent 71%);
  box-shadow: 0 0 0 2px var(--fg) inset;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  background: var(--chip-bg);
  color: var(--chip-fg);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 2px;
  transform: rotate(-2deg);
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
  transition: transform .35s var(--ease-out), background .2s;
}
.chip:hover { transform: rotate(0deg) scale(1.05); background: var(--accent); }

/* ---------- shuffle ---------- */
.shuffle {
  position: fixed;
  right: var(--gutter);
  top: 50%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 10px 8px;
  min-width: 64px;
  background: var(--chip-bg);
  color: var(--chip-fg);
  border: 0;
  border-radius: 3px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transform: translateY(-50%) rotate(2deg);
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  transition: transform .4s var(--ease-out), background .2s;
}
.shuffle:hover { transform: translateY(-50%) rotate(0deg) scale(1.06); background: var(--accent); }
.shuffle:active { transform: translateY(-50%) scale(.96); }
.shuffle.is-spinning svg { animation: spin .7s var(--ease-out); }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ---------- hover label (bottom-left) ---------- */
.hover-label {
  position: fixed;
  left: var(--gutter);
  bottom: calc(var(--gutter) + env(safe-area-inset-bottom));
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: min(60vw, 420px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s, transform .35s var(--ease-out);
  text-shadow: 0 1px 14px rgba(0,0,0,.7);
}
.hover-label.is-visible { opacity: 1; transform: none; }
.hover-label__title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hover-label__meta {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- hint ---------- */
.hint {
  position: fixed;
  right: var(--gutter);
  bottom: calc(var(--gutter) + env(safe-area-inset-bottom));
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  pointer-events: none;
  transition: opacity .6s;
}
.hint.is-hidden { opacity: 0; }
.hint__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.8); opacity: .35; } }

/* ---------- loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 5;
  pointer-events: none;
  transition: opacity .5s;
}
.loader span {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.15);
  border-top-color: var(--fg);
  animation: spin .8s linear infinite;
}
.loader.is-done { opacity: 0; }

/* ---------- overlays ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: clamp(56px, 8vh, 90px) var(--gutter) var(--gutter);
  perspective: 1400px;
}
.overlay[hidden] { display: none; }
.overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 9, .55);
  backdrop-filter: blur(10px) saturate(.8);
  -webkit-backdrop-filter: blur(10px) saturate(.8);
  opacity: 0;
  transition: opacity .4s;
}
.overlay.is-open .overlay__backdrop { opacity: 1; }
.overlay__close {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top));
  left: 50%;
  z-index: 3;
  width: 48px; height: 48px;
  margin-left: -24px;
  display: grid; place-items: center;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.6));
  transition: transform .35s var(--ease-out);
}
.overlay__close:hover { transform: rotate(90deg) scale(1.1); }

/* ---------- detail panel ---------- */
.detail__panel {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  max-height: 100%;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4.5vw, 64px);
  background: var(--panel);
  color: #fff;
  border-radius: 2px;
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
  transform-origin: 50% 60%;
  transform: rotateX(8deg) rotateY(-10deg) scale(.88) translateY(40px);
  opacity: 0;
  transition: transform .7s var(--ease-out), opacity .4s, background-color .4s;
  overflow: hidden;
}
.detail.is-open .detail__panel {
  transform: rotateX(1.5deg) rotateY(-2.5deg) rotateZ(.4deg);
  opacity: 1;
}

.detail__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  max-height: 100%;
}
.detail__title {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}
.detail__meta {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
}
.detail__caption {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.9);
  white-space: pre-line;
  overflow-y: auto;
  max-height: 34vh;
  padding-right: 6px;
  overflow-wrap: anywhere;
}
.detail__caption:empty { display: none; }
.detail__caption a { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.detail__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.detail__tags:empty { display: none; }
.detail__tags span {
  padding: 5px 9px;
  background: rgba(255,255,255,.88);
  color: #111;
  font-size: 12px;
  font-weight: 600;
  border-radius: 2px;
  box-shadow: 0 2px 0 rgba(0,0,0,.15);
}
.detail__link {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.45);
  padding-bottom: 2px;
}
.detail__link:hover { border-color: #fff; }

.detail__media {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline: none;
  background: rgba(0,0,0,.18);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  height: min(70vh, 720px);
}
.slides::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.slide img, .slide video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
.slide video { width: 100%; height: 100%; background: #000; }

.slides__nav {
  position: absolute;
  top: calc(50% - 22px);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #111;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  transform: translateY(-50%);
  transition: transform .3s var(--ease-out), opacity .2s;
}
.slides__nav--prev { left: 12px; }
.slides__nav--next { right: 12px; }
.slides__nav:hover { transform: translateY(-50%) scale(1.1); }
.slides__nav[disabled] { opacity: 0; pointer-events: none; }
.slides__nav[hidden] { display: none; }

.slides__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 18px;
}
.slides__dots { display: flex; gap: 6px; flex-wrap: wrap; }
.slides__dots button {
  width: 7px; height: 7px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.slides__dots button[aria-current="true"] { background: #fff; transform: scale(1.3); }
.slides__count { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }

/* ---------- about ---------- */
.about__panel {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  max-height: 100%;
  overflow-y: auto;
  padding: clamp(28px, 5vw, 52px);
  background: var(--chip-bg);
  color: var(--chip-fg);
  border-radius: 2px;
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
  transform: rotate(-3deg) scale(.9) translateY(30px);
  opacity: 0;
  transition: transform .6s var(--ease-out), opacity .35s;
}
.about.is-open .about__panel { transform: rotate(-1deg); opacity: 1; }
.about__avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 18px;
  background: #ddd;
}
.about__avatar:not([src]), .about__avatar[src=""] { display: none; }
.about__title { margin: 0; font-size: 32px; letter-spacing: -0.03em; line-height: 1.05; }
.about__handle { margin: 6px 0 18px; font-weight: 600; color: rgba(0,0,0,.55); }
.about__bio { font-size: 16px; line-height: 1.55; white-space: pre-line; }
.about__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about__links a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px;
  background: var(--chip-fg); color: var(--chip-bg);
  font-weight: 600; font-size: 14px; text-decoration: none; border-radius: 2px;
  transition: background .2s, color .2s;
}
.about__links a:hover { background: var(--accent); color: var(--chip-fg); }

/* ---------- accessible index (visually hidden unless no WebGL) ---------- */
.work-index {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.work-index:focus-within {
  position: fixed;
  left: var(--gutter); top: 80px;
  width: auto; height: auto;
  clip: auto;
  z-index: 15;
  padding: 12px;
  background: var(--chip-bg);
  color: var(--chip-fg);
  max-height: 60vh;
  overflow: auto;
  white-space: normal;
}
.work-index a { display: block; padding: 4px 0; }

body.no-webgl { overflow: auto; }
body.no-webgl #globe, body.no-webgl .vignette, body.no-webgl .shuffle, body.no-webgl .hint { display: none; }
body.no-webgl .work-index {
  position: static; width: auto; height: auto; clip: auto; white-space: normal;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px;
  padding: 90px var(--gutter) var(--gutter);
}
body.no-webgl .work-index a { padding: 0; }
body.no-webgl .work-index img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .overlay { padding: 64px 12px 12px; place-items: start center; }
  .detail__panel {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    padding: 16px 16px 22px;
    overflow-y: auto;
    max-height: calc(100dvh - 76px);
  }
  .detail.is-open .detail__panel { transform: rotate(-.6deg); }
  .detail__media { order: -1; }
  .slides { height: min(62dvh, 560px); }
  .detail__caption { max-height: none; }
  .slides__nav { display: none; }
  .shuffle { top: auto; bottom: calc(var(--gutter) + env(safe-area-inset-bottom)); transform: rotate(2deg); }
  .shuffle:hover { transform: rotate(0) scale(1.06); }
  .shuffle:active { transform: scale(.96); }
  .hint { display: none; }
  .hover-label { max-width: calc(100vw - 120px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- video slide ---------- */
.slide { position: relative; }
.slide img { user-select: none; -webkit-user-drag: none; }
.slide--video { cursor: pointer; }
.slide__play {
  position: absolute;
  left: 50%; top: 50%;
  width: 76px; height: 76px;
  margin: -38px 0 0 -38px;
  display: grid; place-items: center;
  padding-left: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #111;
  box-shadow: 0 10px 34px rgba(0,0,0,.45);
  pointer-events: none;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .2s, transform .35s var(--ease-out);
}
.slide.is-paused .slide__play { opacity: 1; transform: none; }
.slide__sound {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  cursor: pointer;
}
.slide__sound .off { display: none; }
.slides.is-muted .slide__sound .on { display: none; }
.slides.is-muted .slide__sound .off { display: inline; }

/* ---------- dugmići u stilu naslova ---------- */
.brand { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: 0.06em; }
.chip, .shuffle, .about__links a, .detail__link {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.chip { font-size: 16px; height: 36px; }
.shuffle { font-size: 14px; }
.detail__link { font-size: 15px; }

/* ---------- loader broj ---------- */
.loader { grid-template-areas: "c"; }
.loader > * { grid-area: c; }
.loader span { width: 64px; height: 64px; }
.loader b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }

/* ---------- uvod: naslov na sred gomile slika, pa odleti gore ---------- */
.topbar::before {
  content: "";
  position: absolute;
  inset: 0 0 -40px 0;
  background: linear-gradient(rgba(0,0,0,.55), transparent);
  pointer-events: none;
  z-index: -1;
}
.brand {
  justify-self: center;
  transition: transform 1.5s cubic-bezier(.7, 0, .2, 1);
  will-change: transform;
}
.chip--about, .shuffle, .hover-label, .topbar::before { transition-delay: 0s; }
.chip--about, .shuffle { transition: transform .4s var(--ease-out), background .2s, opacity .8s .9s; }
body.is-intro .brand {
  transform: translateY(calc(50vh - var(--gutter) - 50%)) scale(2.4);
  pointer-events: none;
}
body.is-intro .chip--about, body.is-intro .shuffle { opacity: 0; pointer-events: none; }
body.is-intro .topbar::before { opacity: 0; }
.topbar::before { transition: opacity 1.2s; }

@media (max-width: 760px) {
  .brand { font-size: 19px; letter-spacing: 0.04em; }
  .chip { font-size: 13px; height: 32px; padding: 0 10px; }
  body.is-intro .brand { transform: translateY(calc(50dvh - var(--gutter) - 50%)) scale(2); }
}

/* ---------- slike u objavi: uvek ceo original, bez kropovanja ---------- */
.slides { background: none; box-shadow: none; }
.slide { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; }
.slide img, .slide video {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  background: none;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.35));
}

/* ---------- Gravitas One je širok font: malo manja slova ---------- */
.brand { letter-spacing: 0.02em; font-size: clamp(20px, 2.1vw, 30px); }
.chip, .shuffle, .about__links a, .detail__link { letter-spacing: 0.02em; }
.chip { font-size: 13px; }
.shuffle { font-size: 11px; }
.detail__link { font-size: 13px; }
@media (max-width: 760px) {
  .brand { font-size: 16px; letter-spacing: 0.01em; }
  .chip { font-size: 11px; padding: 0 9px; }
}

/* ---------- dugmići prilagođeni Gravitas One ---------- */
.chip, .shuffle, .about__links a {
  background: var(--chip-bg);
  color: var(--chip-fg);
  border: 2px solid var(--chip-fg);
  outline: 2px solid var(--chip-bg);
  border-radius: 0;
  line-height: 1;
}
.chip { height: 40px; padding: 2px 16px 0; font-size: 14px; }
.shuffle { min-width: 92px; padding: 12px 12px 10px; gap: 7px; font-size: 12px; }
.shuffle svg { width: 24px; height: 24px; }
.shuffle svg path { stroke-width: 2.4; }
.about__links a { height: 42px; padding: 2px 18px 0; font-size: 13px; }
.about__links a:hover, .chip:hover, .shuffle:hover { background: var(--accent); color: var(--chip-fg); }
.about__title { font-family: var(--display); font-weight: 400; letter-spacing: 0; font-size: 28px; }
.detail__link { border-bottom-width: 2px; padding-bottom: 4px; }
@media (max-width: 760px) {
  .chip { height: 34px; padding: 2px 10px 0; font-size: 11px; }
  .shuffle { min-width: 78px; font-size: 10px; }
}

/* ---------- mute dugme (manje, ispod about) ---------- */
.mute {
  position: fixed;
  top: calc(var(--gutter) + env(safe-area-inset-top) + 56px);
  right: var(--gutter);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 58px;
  padding: 8px 8px 7px;
  background: var(--chip-bg);
  color: var(--chip-fg);
  border: 2px solid var(--chip-fg);
  outline: 2px solid var(--chip-bg);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transform: rotate(2deg);
  box-shadow: 0 6px 22px rgba(0,0,0,.4);
  transition: transform .4s var(--ease-out), background .2s, opacity .8s .9s;
}
.mute:hover { transform: rotate(0deg) scale(1.06); background: var(--accent); }
.mute:active { transform: scale(.96); }
.mute .mute__off { display: none; }
.mute.is-muted .mute__on { display: none; }
.mute.is-muted .mute__off { display: inline; }
body.is-intro .mute { opacity: 0; pointer-events: none; }
body.no-webgl .mute { display: none; }
@media (max-width: 760px) {
  .mute { top: calc(var(--gutter) + env(safe-area-inset-top) + 46px); min-width: 50px; padding: 7px 6px 6px; font-size: 8px; }
}
@media (max-width: 420px) {
  .brand { font-size: 14px; }
}

/* ---------- dugmići: minimalistički, samo slova (bez okvira i podloge) ---------- */
.chip, .shuffle, .mute {
  background: none;
  border: 0;
  outline: 0;
  box-shadow: none;
  border-radius: 0;
  color: var(--fg);
  text-shadow: 0 1px 14px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.6);
  transition: transform .4s var(--ease-out), color .2s, opacity .8s .9s;
}
.shuffle svg, .mute svg { filter: drop-shadow(0 1px 6px rgba(0,0,0,.8)); }
.chip { height: auto; padding: 6px 2px; font-size: 15px; transform: rotate(-3deg); }
.shuffle { min-width: 0; padding: 6px 2px; gap: 6px; font-size: 12px; transform: translateY(-50%) rotate(3deg); }
.mute { min-width: 0; padding: 6px 2px; gap: 4px; font-size: 9px; transform: rotate(3deg); top: calc(var(--gutter) + env(safe-area-inset-top) + 44px); }
.chip:hover, .shuffle:hover, .mute:hover, .about__links a:hover { background: none; color: var(--accent); }
.chip:hover { transform: rotate(0deg) scale(1.12); }
.shuffle:hover { transform: translateY(-50%) rotate(-4deg) scale(1.15); }
.mute:hover { transform: rotate(-4deg) scale(1.15); }
.mute.is-muted { opacity: .55; }
:focus-visible:is(.chip, .shuffle, .mute) { outline: 2px solid var(--accent); outline-offset: 4px; }
.about__links a {
  background: none; border: 0; outline: 0; height: auto; padding: 0 0 4px;
  color: var(--chip-fg); border-bottom: 2px solid var(--chip-fg);
}
.about__links a:hover { color: var(--chip-fg); border-bottom-color: transparent; }
@media (max-width: 760px) {
  .chip { height: auto; padding: 6px 2px; font-size: 12px; }
  .shuffle { top: auto; font-size: 11px; transform: rotate(3deg); }
  .shuffle:hover { transform: rotate(-4deg) scale(1.12); }
  .mute { top: calc(var(--gutter) + env(safe-area-inset-top) + 36px); padding: 6px 2px; font-size: 8px; }
}

/* ---------- dugmići ravno, bez nagiba ---------- */
.chip, .mute { transform: none; }
.chip:hover, .mute:hover { transform: scale(1.12); }
.chip:active, .mute:active { transform: scale(.96); }
.shuffle { transform: translateY(-50%); }
.shuffle:hover { transform: translateY(-50%) scale(1.12); }
.shuffle:active { transform: translateY(-50%) scale(.96); }
@media (max-width: 760px) {
  .shuffle, .shuffle:hover { transform: none; }
  .shuffle:hover { transform: scale(1.12); }
  .shuffle:active { transform: scale(.96); }
}

/* ---------- shuffle i sound: samo ikonica ---------- */
.shuffle span, .mute span {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.shuffle, .mute { padding: 8px; }
.shuffle svg { width: 26px; height: 26px; }
.shuffle svg path { stroke-width: 1.6; }
.mute svg { width: 20px; height: 20px; }
.mute svg path[stroke] { stroke-width: 1.6; }
.mute { top: calc(var(--gutter) + env(safe-area-inset-top) + 40px); right: calc(var(--gutter) - 6px); }
.shuffle { right: calc(var(--gutter) - 6px); }
.chip { font-size: 13px; }
@media (max-width: 760px) {
  .mute { top: calc(var(--gutter) + env(safe-area-inset-top) + 32px); padding: 8px; }
  .shuffle { padding: 8px; }
  .chip { font-size: 11px; }
}

/* ---------- žuta #FFC72C: logotip, about, mute, shuffle ---------- */
:root { --brand-yellow: #FFC72C; }
.brand, .chip, .shuffle, .mute { color: var(--brand-yellow); }
.chip:hover, .shuffle:hover, .mute:hover { color: var(--fg); }

/* ---------- mute iznad shuffle, iste veličine ---------- */
.mute { top: 50%; right: calc(var(--gutter) - 6px); padding: 8px; transform: translateY(calc(-150% - 6px)); }
.mute:hover { transform: translateY(calc(-150% - 6px)) scale(1.12); }
.mute:active { transform: translateY(calc(-150% - 6px)) scale(.96); }
.mute svg { width: 26px; height: 26px; }
@media (max-width: 760px) {
  .mute { top: auto; bottom: calc(var(--gutter) + env(safe-area-inset-bottom) + 48px); transform: none; }
  .mute:hover { transform: scale(1.12); }
  .mute:active { transform: scale(.96); }
}

/* ---------- ikonice u duhu Gravitas One: debelo/tanko, ravni krajevi ---------- */
.shuffle svg path.ico-thick, .mute svg path.ico-thick { stroke-width: 3.4; stroke-linecap: butt; }
.shuffle svg path.ico-thin, .mute svg path.ico-thin { stroke-width: 1.1; stroke-linecap: butt; }
.shuffle svg, .mute svg { width: 30px; height: 30px; }

/* ---------- položaj: shuffle na sredini desno, mute iznad; na telefonu dole desno ---------- */
.shuffle svg, .mute svg { width: 30px; height: 30px; }
@media (max-width: 760px) {
  .mute { bottom: calc(var(--gutter) + env(safe-area-inset-bottom) + 52px); }
}
