/* Dicaia Web – "Woran viele Webseiten Kunden verlieren": problem tabs + live phone preview (upgrade.js) */

.ug__head { margin-bottom: clamp(40px, 5vw, 64px); }
.ug__head .lead { max-width: 34em; }
.ug__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(32px, 6vw, 96px); align-items: start; max-width: 1080px; margin-inline: auto; }

/* ---------- problem tabs ---------- */
.ug__tabs { display: grid; gap: 12px; }
.ug-tab {
  position: relative; display: grid; grid-template-columns: auto auto 1fr; gap: 16px; align-items: start; width: 100%;
  padding: 20px 22px; border-radius: var(--r-m); border: 1px solid var(--line); background: #0f1012;
  color: var(--ink); font: inherit; text-align: left; cursor: pointer; overflow: hidden;
  transition: border-color 220ms var(--ease), background-color 220ms var(--ease), box-shadow 300ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .ug-tab:hover { border-color: rgba(255,255,255,.2); } }
.ug-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.ug-tab[aria-selected="true"] {
  border-color: rgba(120,146,255,.55); background: linear-gradient(180deg, rgba(120,146,255,.09), rgba(120,146,255,.03)), #0f1012;
  box-shadow: 0 0 0 1px rgba(120,146,255,.18), 0 18px 50px -24px rgba(120,146,255,.55);
}
.ug-tab__num { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--dim); padding-top: 3px; font-variant-numeric: tabular-nums; transition: color 220ms var(--ease); }
.ug-tab[aria-selected="true"] .ug-tab__num { color: var(--brand); }
.ug-tab__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--muted); transition: background-color 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease); }
.ug-tab__icon svg { width: 17px; height: 17px; }
.ug-tab[aria-selected="true"] .ug-tab__icon { background: rgba(120,146,255,.14); border-color: rgba(120,146,255,.3); color: var(--brand); }
.ug-tab__body { display: grid; gap: 0; padding-top: 6px; }
.ug-tab__body b { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; color: #c9ccd3; transition: color 220ms var(--ease); }
.ug-tab[aria-selected="true"] .ug-tab__body b { color: var(--ink); }
/* the description opens for the active tab only (grid rows, so nothing jumps) */
.ug-tab__text { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ease); }
.ug-tab__text > span { min-height: 0; overflow: hidden; color: var(--muted); font-size: 15px; line-height: 1.55; opacity: 0; transition: opacity 240ms var(--ease); }
.ug-tab[aria-selected="true"] .ug-tab__text { grid-template-rows: 1fr; }
.ug-tab[aria-selected="true"] .ug-tab__text > span { opacity: 1; padding-top: 8px; transition-delay: 120ms; }
/* auto-preview progress */
.ug-tab__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; opacity: 0; }
.ug.is-auto .ug-tab[aria-selected="true"] .ug-tab__bar { opacity: .8; animation: ugBar var(--ug-dur, 6000ms) linear forwards; }
.ug.is-paused .ug-tab__bar { animation-play-state: paused !important; }
@keyframes ugBar { to { transform: scaleX(1); } }

/* ---------- phone ---------- */
.ug__device { position: sticky; top: 104px; display: grid; justify-items: center; gap: 22px; }
.ug-phone { width: min(100%, 320px, calc((100vh - 190px) * .47)); }
.ug-phone__frame {
  position: relative; aspect-ratio: 9 / 19.2; padding: 10px; border-radius: 52px;
  background: linear-gradient(145deg, #4a4c52, #1d1e21 30%, #2c2d31 70%, #55585f);   /* titanium edge */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 50px 90px -40px rgba(0,0,0,.95), 0 40px 120px -60px rgba(120,146,255,.45);
}
.ug-phone__frame::before { content: ""; position: absolute; inset: 3px; border-radius: 49px; background: #060607; }
.ug-phone__screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: #fff; container-type: inline-size; isolation: isolate; }
.ug-phone__island { position: absolute; z-index: 6; left: 50%; top: 3.2%; width: 32%; height: 3.6%; transform: translateX(-50%); border-radius: 99px; background: #000; }

/* segmented before/after toggle, floating under the island */
.ug-seg { position: absolute; z-index: 5; left: 50%; top: 9%; transform: translateX(-50%); display: grid; grid-template-columns: 1fr 1fr; width: 88%; padding: 3px; border-radius: 99px; background: rgba(18,19,22,.82); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 24px -10px rgba(0,0,0,.6); }
.ug-seg button { position: relative; z-index: 1; min-height: 34px; border: 0; border-radius: 99px; background: none; color: #a3a7b0; font: 600 12.5px/1 var(--font); cursor: pointer; transition: color 220ms var(--ease); }
.ug-seg button[aria-pressed="true"] { color: var(--on-brand); }
.ug-seg button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ug-seg i { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 99px; background: #e9eaee; transition: transform 320ms var(--ease), background-color 320ms var(--ease); }
.ug-phone[data-state="after"] .ug-seg i { transform: translateX(100%); background: var(--brand); }

/* screens: all stacked, the matching one fades in */
.ug-screens { position: absolute; inset: 0; }
.ug-s { position: absolute; inset: 0; padding: 38cqw 6cqw 8cqw; overflow: hidden; opacity: 0; transform: scale(.985); transition: opacity 380ms var(--ease), transform 480ms var(--ease); pointer-events: none; font: 400 4cqw/1.4 var(--font); text-align: left; }
.ug-phone[data-problem="1"][data-state="before"] [data-p="1"][data-s="before"],
.ug-phone[data-problem="1"][data-state="after"] [data-p="1"][data-s="after"],
.ug-phone[data-problem="2"][data-state="before"] [data-p="2"][data-s="before"],
.ug-phone[data-problem="2"][data-state="after"] [data-p="2"][data-s="after"],
.ug-phone[data-problem="3"][data-state="before"] [data-p="3"][data-s="before"],
.ug-phone[data-problem="3"][data-state="after"] [data-p="3"][data-s="after"],
.ug-phone[data-problem="4"][data-state="before"] [data-p="4"][data-s="before"],
.ug-phone[data-problem="4"][data-state="after"] [data-p="4"][data-s="after"] { opacity: 1; transform: none; }
.ug-s svg { width: 1em; height: 1em; flex: none; }

/* 01 before – directory listing */
.ug-s--dir { background: #f1f3f4; color: #202124; display: grid; align-content: start; gap: 4cqw; }
.dir__search { display: flex; align-items: center; gap: 2.4cqw; padding: 3cqw 4cqw; border-radius: 99px; background: #fff; color: #5f6368; font-size: 3.6cqw; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.dir__card { display: grid; gap: 1.2cqw; padding: 4cqw; border-radius: 4cqw; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.dir__card b { font-size: 5cqw; font-weight: 600; }
.dir__img { height: 26cqw; border-radius: 3cqw; background: #e8eaed; display: grid; place-content: center; justify-items: center; gap: 1cqw; color: #9aa0a6; font-size: 3.2cqw; margin-bottom: 1.6cqw; }
.dir__img svg { width: 7cqw; height: 7cqw; }
.dir__muted { color: #70757a; font-size: 3.4cqw; }
.dir__row { font-size: 3.4cqw; color: #5f6368; padding-top: 1.4cqw; border-top: 1px solid #eceef0; }
.dir__row--warn { color: #c5221f; font-weight: 600; }
.dir__btns { display: flex; gap: 2cqw; margin-top: 1.6cqw; }
.dir__btns span { flex: 1; text-align: center; padding: 2cqw 0; border-radius: 99px; border: 1px solid #dadce0; color: #1a73e8; font-size: 3.2cqw; font-weight: 600; }
.dir__btns .is-off { color: #bdc1c6; border-style: dashed; }
.dir__card--ghost { opacity: .9; }
.dir__link { color: #1a73e8; font-size: 3.4cqw; font-weight: 600; }

/* 01 after – studio homepage */
.ug-s--home { padding: 0; background: #2a2725; color: #f4eee4; display: grid; grid-template-rows: 1fr auto; }
.home__hero { position: relative; display: grid; align-content: end; padding: 40cqw 6cqw 7cqw; background: linear-gradient(180deg, rgba(20,18,16,.55), rgba(20,18,16,.15) 40%, rgba(42,39,37,.98)), var(--img) center 35% / cover no-repeat; }
.home__brand { position: absolute; top: 22cqw; left: 6cqw; font: italic 400 4.4cqw/1 "Iowan Old Style", Georgia, serif; opacity: 0; }
.home__hero small { display: block; font-size: 3cqw; letter-spacing: .18em; text-transform: uppercase; color: #d9c9a8; }
.home__hero b { display: block; margin-top: 2cqw; font: italic 400 9cqw/1.02 "Iowan Old Style", Georgia, serif; }
.home__stars { display: inline-flex; gap: 1.6cqw; align-items: baseline; margin-top: 3cqw; color: #e2b75e; font-size: 4cqw; letter-spacing: .05em; }
.home__stars em { font-style: normal; color: #cfc6b8; font-size: 3.2cqw; letter-spacing: 0; }
.home__body { padding: 0 6cqw 8cqw; display: grid; gap: 4cqw; }
.home__cta { display: block; text-align: center; padding: 4cqw; border-radius: 99px; background: #c5a059; color: #1f1c1a; font-weight: 700; font-size: 4.2cqw; }
.home__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.home__facts span { display: grid; gap: .6cqw; padding: 2.6cqw 2cqw; border-radius: 3cqw; background: #34302d; color: #b7aea2; font-size: 2.8cqw; text-align: center; }
.home__facts b { color: #f4eee4; font-size: 3.6cqw; }

/* 02 before – 2000s */
.ug-s--y2k { background: #ffffcc repeating-linear-gradient(45deg, rgba(255,0,0,.04) 0 6px, transparent 6px 12px); color: #000; font-family: "Times New Roman", Times, serif; display: grid; align-content: start; gap: 2.6cqw; }
.y2k__head { padding: 3cqw; text-align: center; background: #0000cc; color: #ffff00; font: 700 5cqw/1.1 "Comic Sans MS", "Chalkboard SE", cursive; border: 1.2cqw outset #6666ff; }
.y2k__ticker { white-space: nowrap; overflow: hidden; color: #ff0000; font: 700 3.4cqw/1.2 Arial, sans-serif; background: #000; padding: 1.4cqw; }
.y2k__welcome { text-align: center; color: #ff00ff; font: 700 6cqw/1.1 "Comic Sans MS", "Chalkboard SE", cursive; text-decoration: underline; text-shadow: .5cqw .5cqw 0 #00ffff; }
.y2k__row { display: grid; grid-template-columns: 30cqw 1fr; gap: 3cqw; align-items: start; font-size: 3.6cqw; text-align: justify; }
.y2k__img { aspect-ratio: 1; border: 1.4cqw ridge #b8860b; background: url(/assets/img/photo-f116530486-500.jpg) center / cover; filter: saturate(.5) contrast(.8); }
.y2k__links { display: flex; flex-wrap: wrap; gap: 2cqw 4cqw; color: #0000ee; font-size: 3.6cqw; }
.y2k__wip { padding: 2cqw; text-align: center; font: 700 3.6cqw/1 Arial, sans-serif; color: #fff; text-shadow: 0 0 2px #000, 0 0 2px #000; background: repeating-linear-gradient(-45deg, #ffd400 0 3cqw, #111 3cqw 6cqw); }
.y2k__counter { justify-self: center; padding: 1.6cqw 3cqw; background: #000; color: #0f0; font: 3.4cqw/1 "Courier New", monospace; border: .6cqw inset #888; }

/* 03 before – desktop page squeezed into the phone */
.ug-s--tiny { background: #fff; color: #333; padding-left: 3cqw; padding-right: 0; }
.tiny__page { width: 180cqw; transform-origin: 0 0; font: 2.2cqw/1.35 Verdana, Arial, sans-serif; }
.tiny__nav { display: flex; gap: 3cqw; align-items: baseline; padding: 1.4cqw 2cqw; background: #336699; color: #fff; }
.tiny__nav b { font-size: 3.2cqw; }
.tiny__text { padding: 2cqw; max-width: 110cqw; }
.tiny__table { border-collapse: collapse; margin: 1cqw 2cqw; font-size: 2.1cqw; }
.tiny__table th, .tiny__table td { border: 1px solid #999; padding: .8cqw 1.4cqw; white-space: nowrap; }
.tiny__table th { background: #ddd; }
.tiny__scroll { position: absolute; left: 3cqw; right: 3cqw; bottom: 6cqw; height: 1.6cqw; border-radius: 99px; background: rgba(0,0,0,.08); }
.tiny__scroll i { display: block; width: 46%; height: 100%; border-radius: inherit; background: rgba(0,0,0,.35); }
.tiny__pinch { position: absolute; left: 50%; bottom: 12cqw; transform: translateX(-50%); padding: 2cqw 4cqw; border-radius: 99px; background: rgba(0,0,0,.75); color: #fff; font: 600 3.2cqw/1 var(--font); white-space: nowrap; }

/* 04 before – wall of text */
.ug-s--wall { background: #fff; color: #555; display: grid; align-content: start; gap: 3cqw; font: 3.2cqw/1.5 Georgia, serif; text-align: justify; }
.ug-s--wall b { font-size: 5cqw; color: #333; }

/* ---------- the three redesigned "after" screens: same warm salon brand as 01 (anthracite, cream, brass) ---------- */
.ug-s--edit, .ug-s--thumb, .ug-s--info { --sa-bg: #1f1c1a; --sa-card: #2b2724; --sa-ink: #f4eee4; --sa-mute: #b7aea2; --sa-gold: #c9a45e; --sa-serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif; background: var(--sa-bg); color: var(--sa-ink); }
.ug-s--edit em, .ug-s--thumb em, .ug-s--info em { font-style: normal; }

/* 02 after – modern editorial: framed photo, big serif headline, work strip */
.ug-s--edit { padding: 0; display: grid; grid-template-rows: 54% 1fr; }
.edit__photo { position: relative; margin: 34cqw 5cqw 0; border-radius: 6cqw 6cqw 2cqw 2cqw; background: linear-gradient(180deg, transparent 55%, rgba(31,28,26,.55)), var(--img) 40% 30% / cover no-repeat; }
.edit__badge { position: absolute; left: 3.6cqw; bottom: 3.6cqw; display: inline-flex; align-items: center; gap: 1.8cqw; padding: 1.8cqw 3.2cqw; border-radius: 99px; background: rgba(31,28,26,.72); border: 1px solid rgba(244,238,228,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 3cqw; font-weight: 600; }
.edit__badge i { width: 2cqw; height: 2cqw; border-radius: 50%; background: var(--sa-gold); box-shadow: 0 0 0 1cqw rgba(201,164,94,.25); }
.edit__body { display: grid; align-content: start; gap: 2.6cqw; padding: 5cqw 6cqw 6cqw; }
.edit__body small { font-size: 2.7cqw; letter-spacing: .22em; text-transform: uppercase; color: var(--sa-gold); }
.edit__title { font: 400 10.4cqw/.98 var(--sa-serif); letter-spacing: -0.01em; }
.edit__title em { font-style: italic; color: var(--sa-gold); }
.edit__body p { color: var(--sa-mute); font-size: 3.6cqw; }
.edit__btns { display: flex; gap: 2.4cqw; margin-top: 1cqw; }
.edit__btns span { padding: 3cqw 5cqw; border-radius: 99px; border: 1px solid rgba(244,238,228,.25); font-size: 3.5cqw; font-weight: 600; }
.edit__btns .is-main { background: var(--sa-gold); border-color: transparent; color: #1f1c1a; }
.edit__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; margin-top: 2cqw; }
.edit__strip i { aspect-ratio: 1; border-radius: 3cqw; background: var(--img) var(--pos, center) / cover no-repeat; }
.edit__strip .edit__more { display: grid; place-items: center; background: var(--sa-card); color: var(--sa-mute); font-style: normal; font-size: 4cqw; font-weight: 600; }

/* 03 after – built for the thumb: photo header, one big action, two secondary, next slot, tab bar */
.ug-s--thumb { padding: 0; display: grid; grid-template-rows: auto 1fr auto; }
.thumb__hero { display: grid; align-content: end; gap: 1.6cqw; min-height: 112cqw; padding: 34cqw 6cqw 5cqw; background: linear-gradient(180deg, rgba(31,28,26,.35), rgba(31,28,26,0) 30%, rgba(31,28,26,.2) 60%, var(--sa-bg)), var(--img) center 25% / cover no-repeat; }
.thumb__title { font-size: 10.4cqw; }
.thumb__title { font: italic 400 9cqw/1 var(--sa-serif); }
.thumb__open { display: inline-flex; align-items: center; gap: 2cqw; color: #a8e0b4; font-size: 3.4cqw; font-weight: 600; }
.thumb__open i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #4cc26b; box-shadow: 0 0 0 1.2cqw rgba(76,194,107,.22); }
.thumb__body { display: grid; align-content: start; gap: 3cqw; padding: 2cqw 6cqw; }
.thumb__main { display: flex; align-items: center; justify-content: space-between; min-height: 15cqw; padding: 0 6cqw; border-radius: 5cqw; background: var(--sa-gold); color: #1f1c1a; font-size: 4.8cqw; font-weight: 700; box-shadow: 0 3cqw 6cqw -3cqw rgba(201,164,94,.7); }
.thumb__main svg { width: 5cqw; height: 5cqw; }
.thumb__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.thumb__duo span { display: flex; align-items: center; justify-content: center; gap: 2cqw; min-height: 13cqw; border-radius: 4.4cqw; background: var(--sa-card); font-size: 4cqw; font-weight: 600; }
.thumb__duo svg { width: 4.4cqw; height: 4.4cqw; color: var(--sa-gold); }
.thumb__next { display: flex; justify-content: space-between; align-items: center; padding: 3.6cqw 4.4cqw; border-radius: 4cqw; border: 1px dashed rgba(201,164,94,.45); font-size: 3.4cqw; color: var(--sa-mute); }
.thumb__next b { color: var(--sa-ink); }
.thumb__tabbar { display: grid; grid-template-columns: repeat(4, 1fr); padding: 3cqw 4cqw 6cqw; border-top: 1px solid rgba(244,238,228,.08); background: rgba(31,28,26,.96); }
.thumb__tabbar span { display: grid; justify-items: center; gap: 1.2cqw; font-size: 2.6cqw; color: var(--sa-mute); }
.thumb__tabbar i { width: 5cqw; height: 5cqw; border-radius: 1.6cqw; border: .5cqw solid currentColor; }
.thumb__tabbar .is-on { color: var(--sa-gold); }
.thumb__tabbar .is-on i { background: currentColor; }

/* 04 after – everything findable: chips, price rows with photos, live hours, contact bar */
.ug-s--info { padding-bottom: 0; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 4cqw; }
.info__head { display: grid; gap: 3cqw; }
.info__title { font: italic 400 8.4cqw/1.02 var(--sa-serif); }
.info__chips { display: flex; gap: 2cqw; }
.info__chips span { padding: 1.8cqw 4cqw; border-radius: 99px; border: 1px solid rgba(244,238,228,.18); font-size: 3.2cqw; font-weight: 600; color: var(--sa-mute); }
.info__chips .is-on { background: var(--sa-ink); color: #1f1c1a; border-color: transparent; }
.info__list { display: grid; gap: 2.4cqw; }
.info__list p { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 3cqw; padding: 2.4cqw; border-radius: 4cqw; background: var(--sa-card); }
.info__thumb { width: 12cqw; height: 12cqw; border-radius: 3cqw; background: var(--img) var(--pos, center) / cover no-repeat; }
.info__list b { display: block; font-size: 3.8cqw; }
.info__list em { display: block; color: var(--sa-mute); font-size: 2.8cqw; margin-top: .6cqw; }
.info__list strong { color: var(--sa-gold); font-size: 4.4cqw; padding-right: 1.6cqw; }
.info__hours { display: grid; gap: .6cqw; padding: 3.6cqw 4.4cqw; border-radius: 4cqw; border: 1px solid rgba(244,238,228,.12); }
.info__live { display: inline-flex; align-items: center; gap: 2cqw; color: #a8e0b4; font-size: 3.2cqw; font-weight: 600; margin-bottom: 1cqw; }
.info__live i { width: 2cqw; height: 2cqw; border-radius: 50%; background: #4cc26b; box-shadow: 0 0 0 1cqw rgba(76,194,107,.22); }
.info__hours p { display: flex; justify-content: space-between; font-size: 3.5cqw; color: var(--sa-mute); }
.info__hours b { color: var(--sa-ink); }
.info__bar { align-self: end; display: grid; grid-template-columns: 1fr auto auto; gap: 2.4cqw; margin: 0 -6cqw; padding: 3.6cqw 6cqw 7cqw; background: rgba(31,28,26,.96); border-top: 1px solid rgba(244,238,228,.08); }
.info__bar span { display: grid; place-items: center; min-width: 13cqw; min-height: 13cqw; border-radius: 4cqw; background: var(--sa-card); }
.info__bar svg { width: 5cqw; height: 5cqw; color: var(--sa-gold); }
.info__bar .is-main { display: flex; gap: 2.4cqw; background: var(--sa-gold); color: #1f1c1a; font-size: 4.2cqw; font-weight: 700; }
.info__bar .is-main svg { color: #1f1c1a; }

/* ---------- trust pills ---------- */
.ug-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ug-trust li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: #c9ccd3; font-size: 13.5px; font-weight: 500; }
.ug-trust svg { width: 14px; height: 14px; color: var(--brand); }

/* ---------- phones and tablets: compact, everything within about one screen ---------- */
@media (max-width: 959px) {
  .ug__grid { grid-template-columns: 1fr; gap: 20px; }
  .ug__tabs { grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 2px 2px 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .ug__tabs::-webkit-scrollbar { display: none; }
  .ug-tab { scroll-snap-align: start; grid-template-columns: auto 1fr; gap: 10px; padding: 14px 16px; }
  .ug-tab__icon { display: none; }
  .ug-tab__body { padding-top: 0; }
  .ug-tab__body b { font-size: 15px; }
  .ug-tab__num { padding-top: 1px; }
  .ug-tab__text { display: none; }
  .ug__device { position: static; }
  .ug-phone { width: min(64vw, 260px, calc((100svh - 300px) * .47)); }
  .ug__device { gap: 14px; }
  .ug-trust li { padding: 6px 11px; font-size: 12.5px; }
  .ug-phone__frame { border-radius: 44px; padding: 8px; }
  .ug-phone__frame::before { border-radius: 41px; }
  .ug-phone__screen { border-radius: 36px; }
}
/* the active problem's sentence, shown under the tabs on small screens (filled by upgrade.js) */
.ug-caption { display: none; }
@media (max-width: 959px) { .ug-caption { display: block; color: var(--muted); font-size: 15px; text-align: center; max-width: 34em; margin: 0 auto; min-height: 3.1em; } }

@media (prefers-reduced-motion: reduce) {
  .ug-s { transition: opacity 200ms ease; transform: none; }
  .ug-tab__text, .ug-seg i { transition: none; }
}
