/* Prečica na početnom ekranu – stil (boje preko CSS varijabli da se lako prilagodi drugim projektima) */
.a2hs { --a2hs-accent: #8B3DFF; --a2hs-accent2: #B48AFF; --a2hs-bg: rgba(255,255,255,.03); --a2hs-line: #2c2c2c; --a2hs-text: #f4f4f4; --a2hs-dim: #bdbdbd;
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px 18px; align-items: center;
  border: 1px solid var(--a2hs-line); background: var(--a2hs-bg); border-radius: 16px; padding: 16px 18px; color: var(--a2hs-text); }
.a2hs-logo { width: 44px; height: 44px; border-radius: 11px; display: block; }
.a2hs-t { margin: 0; font-weight: 700; }
.a2hs-s { margin: 2px 0 0; color: var(--a2hs-dim); font-size: 14px; }
.a2hs-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.a2hs-b { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  padding: 10px 14px; border-radius: 999px; border: 1px solid var(--a2hs-line); background: transparent; color: var(--a2hs-text); transition: background .15s, border-color .15s; }
.a2hs-b:hover { border-color: var(--a2hs-accent2); }
.a2hs-b.mine { background: var(--a2hs-accent); border-color: var(--a2hs-accent); color: #fff; }
.a2hs-os { width: 18px; height: 18px; flex: none; }
.a2hs-ic { width: 18px; height: 18px; vertical-align: -3px; color: #0a84ff; }
.a2hs-msg { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--a2hs-dim); border-top: 1px dashed var(--a2hs-line); padding-top: 10px; }
.a2hs-msg b { color: var(--a2hs-text); }
@media (max-width: 640px) {
  .a2hs { grid-template-columns: auto 1fr; }
  .a2hs-btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .a2hs-b { justify-content: center; }
}
.a2hs-modal { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; padding: 12px; }
.a2hs-sheet { background: #fff; color: #111; width: 100%; max-width: 440px; border-radius: 18px; padding: 20px 20px 16px; font-size: 15px; line-height: 1.45; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.a2hs-h { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 700; font-size: 17px; }
.a2hs-steps { margin: 0 0 14px; padding-left: 22px; }
.a2hs-steps li { margin: 8px 0; }
.a2hs-warn { background: #f3f3f5; border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; font-size: 14px; }
.a2hs-warn.strong { background: #fff4e5; border: 1px solid #f5c26b; }
.a2hs-close { width: 100%; font: inherit; font-weight: 600; padding: 12px; border: 0; border-radius: 12px; background: #111; color: #fff; cursor: pointer; }
@media (min-width: 641px) { .a2hs-modal { align-items: center; } }

/* iPhone uputa sa slikama */
.a2hs-sheet { max-height: calc(100dvh - 24px); overflow-y: auto; }
.a2hs-count { margin-left: auto; font-weight: 500; font-size: 13px; color: #777; }
.a2hs-stxt { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; }
.a2hs-num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #8B3DFF; color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.a2hs-shot { position: relative; border-radius: 14px; overflow: hidden; background: #000; margin: 0 auto 12px; max-width: 340px; }
.a2hs-shot img { display: block; width: 100%; height: auto; }
.a2hs-ring { position: absolute; border: 3px solid #FF3B30; border-radius: 14px; box-shadow: 0 0 0 4px rgba(255,59,48,.25); animation: a2hs-pulse 1.4s ease-in-out infinite; pointer-events: none; }
@keyframes a2hs-pulse { 50% { box-shadow: 0 0 0 10px rgba(255,59,48,0); transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .a2hs-ring { animation: none; } }
.a2hs-note { font-size: 13px; color: #666; margin: 0 0 12px; }
.a2hs-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.a2hs-nav button { font: inherit; font-weight: 600; padding: 12px; border-radius: 12px; cursor: pointer; }
.a2hs-prev { background: #fff; color: #111; border: 1px solid #ccc; }
.a2hs-next { background: #8B3DFF; color: #fff; border: 0; }
.a2hs-sheet .a2hs-close { background: transparent; color: #666; padding: 6px; font-weight: 500; }
