/* Hotspot De — Start screen + User mode (user.js). Silver Glass. Uses variables from style.css with fallbacks. */
.u-view { position: relative; max-width: 560px; margin: 0 auto; padding: 18px 16px 120px; color: var(--ink, #14171c); font-family: var(--font, inherit); }
body.u-auth .u-view { padding-bottom: 40px; }
.u-view h1 { font-size: clamp(30px, 8.5vw, 44px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; margin: 4px 0 6px; }
.u-view h2 { font-size: 24px; font-weight: 700; letter-spacing: -.03em; margin: 6px 0 12px; }
.u-view h3 { font-size: 15px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.01em; }
.u-muted { color: var(--muted, #6b7480); margin: 0 0 12px; line-height: 1.5; }
.u-dim { color: rgba(255,255,255,.62); font-size: 13px; }
.u-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted, #6b7480); }
.u-num { font-variant-numeric: tabular-nums; transition: filter .2s; }
.u-num.u-counting { filter: blur(.6px); }
.u-msg { max-width: 560px; margin: 10px auto 0; position: relative; z-index: 3; }

/* view enter */
.u-view.u-enter { animation: uIn .45s var(--ease, cubic-bezier(.22,1,.36,1)) both; }
@keyframes uIn { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* reveal (staggered via --i) */
.rv { animation: uRv .6s var(--ease, cubic-bezier(.22,1,.36,1)) both; animation-delay: calc(var(--i, 0) * 55ms + 40ms); }
@keyframes uRv { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* brand + watermark */
.u-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 18px; }
.u-stripes { display: inline-flex; gap: 3px; transform: skewX(-20deg); }
.u-stripes i { display: block; width: 5px; height: 18px; border-radius: 1px; background: var(--m1, #5bb7ea); }
.u-stripes i:nth-child(2) { background: var(--m2, #2b4fa8); }
.u-stripes i:nth-child(3) { background: var(--m3, #e0322b); }
.u-wm { position: absolute; left: -4%; top: 64px; z-index: 0; pointer-events: none; user-select: none; white-space: nowrap;
  font-size: clamp(64px, 22vw, 150px); font-weight: 800; letter-spacing: -.05em; line-height: .9; color: var(--steel, #9aa4b1); opacity: .22;
  font-style: italic; overflow: hidden; max-width: 108%; }
.u-view > *:not(.u-wm) { position: relative; z-index: 1; }

.u-start-top, .u-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.u-head h1 { margin: 2px 0 0; }
.u-lang { appearance: none; border: 1px solid rgba(255,255,255,.75); background: var(--glass-2, rgba(255,255,255,.78)); color: var(--ink, #14171c);
  font: inherit; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; cursor: pointer; flex: none;
  box-shadow: 0 4px 14px rgba(20,23,28,.08); }

/* start */
.u-start-hero { margin: 48px 0 22px; }
.u-start-hero h1 { max-width: 12ch; }
.u-choice { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
  padding: 20px 16px 20px 18px; margin-bottom: 14px; border-radius: var(--r, 22px); border: 1px solid rgba(255,255,255,.75);
  background: var(--glass, rgba(255,255,255,.55)); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 18px 40px -18px rgba(20,23,28,.35); transition: transform .3s var(--ease, cubic-bezier(.22,1,.36,1)), box-shadow .3s; }
.u-choice.owner { background: var(--graphite, linear-gradient(160deg,#1d2026,#2b3038)); color: #fff; border-color: rgba(255,255,255,.08); }
.u-choice:active { transform: scale(.98); }
@media (hover: hover) { .u-choice:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -18px rgba(20,23,28,.45); } }
.u-choice:focus-visible { outline: 3px solid var(--m1, #5bb7ea); outline-offset: 3px; }
.u-choice-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(20,23,28,.06); }
.u-choice.owner .u-choice-ico { background: rgba(255,255,255,.1); }
.u-choice-ico svg { width: 28px; height: 28px; }
.u-choice-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.u-choice-tx small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.u-choice-tx b { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.u-choice-tx span { font-size: 13.5px; line-height: 1.45; opacity: .72; }
.u-arr { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink, #14171c); }
.u-choice.user .u-arr { background: var(--ink, #14171c); color: #fff; }
.u-arr svg { width: 18px; height: 18px; }
.u-foot { text-align: center; font-size: 13px; margin-top: 18px; }

/* cards */
.u-card { background: var(--glass, rgba(255,255,255,.55)); border: 1px solid rgba(255,255,255,.75); border-radius: var(--r, 22px);
  padding: 18px; margin-bottom: 14px; -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 14px 34px -20px rgba(20,23,28,.3); }
.u-dark { position: relative; overflow: hidden; background: var(--graphite, linear-gradient(160deg,#1d2026,#2b3038)); color: #fff;
  border-radius: var(--r, 22px); padding: 20px; margin-bottom: 14px; box-shadow: 0 24px 48px -22px rgba(20,23,28,.6); }
.u-dark .u-eyebrow { color: rgba(255,255,255,.6); }
.u-dark::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.07) 45%, transparent 60%); transform: translateX(-100%); }
@media (hover: hover) { .u-dark:hover::after { transform: translateX(100%); transition: transform 1.2s var(--ease, cubic-bezier(.22,1,.36,1)); } }

/* auth */
.u-back { display: inline-block; margin: 6px 0 10px; }
.u-auth-card { margin-top: 64px; padding: 22px 18px; }
.u-auth-card label, .u-lbl { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2, #3a404a); margin: 14px 0 8px; }
.u-phone { display: flex; align-items: center; background: #fff; border: 1px solid var(--line, rgba(20,23,28,.08)); border-radius: 16px; padding: 0 14px; }
.u-phone span { color: var(--muted, #6b7480); font-weight: 600; margin-right: 8px; }
.u-phone input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 18px; padding: 14px 0; color: inherit; letter-spacing: .02em; }
.u-phone:focus-within { border-color: var(--ink, #14171c); box-shadow: 0 0 0 3px rgba(20,23,28,.08); }
.u-otp { display: flex; gap: 8px; justify-content: space-between; }
.u-otp input { width: 100%; max-width: 52px; aspect-ratio: 1 / 1.15; text-align: center; font: inherit; font-size: 22px; font-weight: 700;
  border-radius: 14px; border: 1px solid var(--line, rgba(20,23,28,.08)); background: #fff; color: inherit; outline: 0;
  transition: transform .2s var(--spring, cubic-bezier(.34,1.56,.64,1)), border-color .2s; }
.u-otp input:focus { border-color: var(--ink, #14171c); box-shadow: 0 0 0 3px rgba(20,23,28,.08); }
.u-otp input.filled { transform: scale(1.04); border-color: var(--ink-2, #3a404a); }
.u-otp.shake { animation: uShake .4s; }
@keyframes uShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* buttons */
.u-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 16px; padding: 7px 7px 7px 22px;
  border: 0; border-radius: 999px; background: var(--ink, #14171c); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
  box-shadow: 0 12px 26px -12px rgba(20,23,28,.7); transition: transform .2s var(--ease, cubic-bezier(.22,1,.36,1)); }
.u-cta .u-arr { width: 42px; height: 42px; }
.u-cta:active { transform: scale(.98); }
.u-cta:disabled { opacity: .6; cursor: default; }
.u-cta:disabled .u-arr { display: none; }
.u-cta:disabled { padding: 18px 22px; }
.u-btn { width: 100%; padding: 14px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; background: #fff; color: var(--ink, #14171c);
  border: 1px solid var(--line, rgba(20,23,28,.08)); }
.u-btn.danger { color: #c0264b; }
.u-link { display: inline-block; appearance: none; background: none; border: 0; padding: 10px 0; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--ink-2, #3a404a); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* chips */
.u-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(20,23,28,.06); color: var(--ink-2, #3a404a); white-space: nowrap; }
.u-chip.ok { background: #dff5e8; color: var(--ok, #1f9d55); }
.u-chip.warn { background: #fff1d6; color: #9a5b05; }
.u-chip.bad { background: #fde2ea; color: #c0264b; }
.u-dark .u-chip.ok { background: rgba(31,157,85,.2); color: #7ee2a8; }
.u-chip.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: uPulse 1.8s ease-in-out infinite; }
@keyframes uPulse { 50% { opacity: .35; transform: scale(.7); } }

/* pack hero */
.u-pack-h { display: flex; justify-content: space-between; align-items: center; }
.u-pack h2 { color: #fff; }
.u-pack-b { display: flex; align-items: center; gap: 18px; }
.u-ring { position: relative; flex: none; width: 128px; height: 128px; }
.u-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.u-ring-bg { stroke: rgba(255,255,255,.12); stroke-width: 10; }
.u-ring-fg { stroke: #fff; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.3s var(--ease, cubic-bezier(.22,1,.36,1)) .15s; }
.u-ring.go .u-ring-fg { stroke-dashoffset: calc(100 - var(--p, 0)); }
.u-ring-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; }
.u-ring-c b { font-size: 16px; line-height: 1.15; }
.u-ring-c small { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 2px; }
.u-gx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.u-gx small { color: rgba(255,255,255,.6); font-size: 12px; }
.u-gx .u-num { font-size: 26px; letter-spacing: -.03em; }
.u-bar { position: relative; height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 8px; }
.u-bar i { position: absolute; inset: 0; border-radius: inherit; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--m1, #5bb7ea), #fff); transition: transform 1.2s var(--ease, cubic-bezier(.22,1,.36,1)) .2s; }
.u-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); transform: translateX(-100%); }
.u-bar.go i { transform: scaleX(calc(var(--p, 0) / 100)); }
.u-bar.go i::after { animation: uSheen 1.1s 1.2s var(--ease, cubic-bezier(.22,1,.36,1)) 1 both; }
@keyframes uSheen { to { transform: translateX(100%); } }
.u-meta { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.u-meta li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.u-meta small { color: rgba(255,255,255,.55); font-size: 12px; }
.u-meta b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.u-pack.none h3 { color: #fff; margin-top: 18px; }

/* steps */
.u-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.u-steps li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; font-size: 14px; }
.u-stepn { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700;
  background: #fff; color: var(--ink, #14171c); }
.u-steps.light .u-stepn { background: var(--ink, #14171c); color: #fff; }

/* tiles */
.u-sec { margin: 8px 0 10px; }
.u-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.u-tile { background: var(--glass-2, rgba(255,255,255,.78)); border: 1px solid rgba(255,255,255,.75); border-radius: 18px; padding: 14px; }
.u-tile small { display: block; font-size: 12px; color: var(--muted, #6b7480); }
.u-tile .u-num { display: block; font-size: 24px; letter-spacing: -.03em; margin-top: 4px; }

/* chart */
.u-chart-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.u-chart-h h3 { margin-bottom: 2px; color: var(--muted, #6b7480); font-size: 13px; }
.u-chart-h .u-num { font-size: 26px; letter-spacing: -.03em; }
.u-legend { display: flex; gap: 10px; font-size: 12px; color: var(--muted, #6b7480); }
.u-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; background: var(--ink, #14171c); }
.u-legend .k2::before { background: var(--steel, #9aa4b1); height: 3px; vertical-align: 3px; }
.u-chart { display: block; width: 100%; height: auto; overflow: visible; }
.u-grid { stroke: var(--line, rgba(20,23,28,.08)); stroke-dasharray: 2 4; }
.u-cbar { fill: var(--ink, #14171c); opacity: .85; transform-box: fill-box; transform-origin: bottom; transform: scaleY(0);
  transition: transform .7s var(--spring, cubic-bezier(.34,1.56,.64,1)); transition-delay: calc(var(--i, 0) * 45ms + 100ms); }
.u-cbar.last { fill: var(--m2, #2b4fa8); opacity: 1; }
.u-chart-w.go .u-cbar { transform: scaleY(1); }
.u-cline { stroke: var(--steel, #9aa4b1); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.2s var(--ease, cubic-bezier(.22,1,.36,1)) .5s; }
.u-chart-w.go .u-cline { stroke-dashoffset: 0; }
.u-cdot { fill: #fff; stroke: var(--steel, #9aa4b1); stroke-width: 1.5; opacity: 0; transition: opacity .3s; transition-delay: calc(var(--i, 0) * 50ms + 900ms); }
.u-chart-w.go .u-cdot { opacity: 1; }
.u-clbl { font-size: 10px; fill: var(--muted, #6b7480); }

/* lists */
.u-list { list-style: none; margin: 0; padding: 0; }
.u-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line, rgba(20,23,28,.08)); }
.u-list li:first-child { border-top: 0; }
.u-tile-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fff; font-weight: 700; color: var(--ink-2, #3a404a); }
.u-row-m { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.u-row-m b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-row-m small, .u-empty { font-size: 12.5px; color: var(--muted, #6b7480); }
.u-row-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 14px; }
.u-list li.u-empty { justify-content: center; }

/* plans */
.u-note { padding: 12px 14px; border-radius: 16px; background: var(--ink, #14171c); color: #fff; font-size: 13.5px; line-height: 1.5; margin: 0 0 14px; }
.u-plan-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.u-plan-h b { font-size: 17px; }
.u-price { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.u-plan-f { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.u-plan-f li { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ink-2, #3a404a); }

/* settings */
.u-kv { list-style: none; margin: 0; padding: 0; }
.u-kv li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 14px; }
.u-kv span { color: var(--muted, #6b7480); }
.u-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(20,23,28,.06); }
.u-seg button { border: 0; background: transparent; font: inherit; font-weight: 600; padding: 8px 18px; border-radius: 999px; cursor: pointer; color: var(--ink-2, #3a404a); }
.u-seg button[aria-pressed="true"] { background: var(--ink, #14171c); color: #fff; box-shadow: 0 4px 12px rgba(20,23,28,.25); }

/* user bottom nav */
.u-nav { position: fixed; z-index: 20; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  display: flex; gap: 4px; padding: 6px; border-radius: 999px; width: min(440px, calc(100% - 24px));
  background: var(--glass-2, rgba(255,255,255,.78)); border: 1px solid rgba(255,255,255,.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3); box-shadow: 0 16px 40px -14px rgba(20,23,28,.4); }
.u-nav[hidden] { display: none; }
.u-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 999px; text-decoration: none;
  color: var(--ink-2, #3a404a); font-size: 11.5px; transition: background .3s var(--ease, cubic-bezier(.22,1,.36,1)), color .3s; }
.u-nav a svg { width: 22px; height: 22px; }
.u-nav a b { font-weight: 600; }
.u-nav a[aria-current="page"] { background: var(--ink, #14171c); color: #fff; box-shadow: 0 6px 16px -6px rgba(20,23,28,.6); }

/* skeletons */
.u-view .sk { position: relative; overflow: hidden; border-radius: var(--r, 22px); background: rgba(20,23,28,.07); margin-bottom: 14px; }
.u-view .sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.65) 50%, transparent 75%); animation: uSk 1.4s ease-in-out infinite; }
@keyframes uSk { to { transform: translateX(100%); } }
.u-view .sk-hero { height: 290px; background: rgba(29,32,38,.16); }
.u-view .sk-tile { height: 74px; border-radius: 18px; margin: 0; }
.u-view .sk-line { height: 16px; border-radius: 8px; width: 70%; }
.u-view .sk-line.w40 { width: 40%; }
.u-view .sk-row { height: 44px; border-radius: 12px; margin: 10px 0 0; }
.u-view .sk-chart { height: 210px; }
.u-view .sk-plan { height: 108px; }

body.u-mode { padding-bottom: 0; }

@media (min-width: 900px) {
  .u-view { max-width: 640px; padding-top: 36px; }
  .u-start-hero { margin-top: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .u-view.u-enter, .rv, .u-otp.shake, .u-chip.live::before, .u-view .sk::after { animation: none !important; }
  .u-ring-fg, .u-bar i, .u-cbar, .u-cline, .u-cdot, .u-choice, .u-cta { transition: none !important; }
  .u-bar.go i::after { animation: none; }
}
