/* Splash uses the pool photograph. Role selection keeps its original swimmer photograph and controls. */
.aq-loading {
  --aq-deep: #052d35;
  --aq-text: #f5f5ee;
  --aq-gold: #efdfbc;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(8px, 1.8vmin, 15px);
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--aq-text);
  background: linear-gradient(180deg, #052d351c, #052d3545 52%, #031c2375),
    var(--aq-deep) url('/branding/aquapka-5b055f317fb6/basen.webp') center / cover no-repeat;
}
.aq-loading img { display:block; width:clamp(84px,45vmin,232px); height:auto; aspect-ratio:467 / 535; object-fit:contain; }
.aq-loading b { font-size:clamp(26px,10.6vmin,62px); font-style:italic; line-height:1.05; letter-spacing:-.04em; color:var(--aq-gold); }
.aq-loading small { font-size:clamp(10px,1.8vmin,14px); letter-spacing:.36em; color:var(--aq-gold); }
.aq-loading .sr-only { width:1px; height:1px; overflow:hidden; clip-path:inset(50%); position:absolute; }

.immersion-app .immersion-app-icon, .immersion-discover .immersion-app-icon {
  object-fit:contain; border:0; border-radius:0; box-shadow:none; background:none;
}
.im-brand > .aq-name, .discover-brand > .aq-name {
  color:#e9d2a3; letter-spacing:-.035em; font-style:italic; font-weight:700;
}
.im-brand > .aq-name small, .discover-brand > .aq-name small {
  color:#e9d2a3; letter-spacing:.18em; font-style:normal; white-space:nowrap; font-size:8px;
}
.scene-heading .aq-scene-title { display:inline-flex; max-width:100%; vertical-align:middle; }
.aq-scene-title > span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.aq-scene-title > img { flex:none; }

.aq-start-history a { display: block; text-decoration: underline; }

.aq-styles{display:flex;gap:5px;max-width:100%;overflow-x:auto}
.aq-styles button{flex:0 1 64px;min-width:42px;aspect-ratio:1;display:grid;align-content:center;justify-items:center;gap:3px;padding:2px;border:1px solid #79abaf;border-radius:12px;background:#16343ee8;color:#edffff;font:600 clamp(10px,2.6vw,12px)/1.15 inherit;font-family:inherit;font-size:clamp(10px,2.6vw,12px)}
.aq-styles button[aria-pressed=true]{background:#23565f;border-color:#ffda99;color:#ffdfaa}
.aq-styles button:disabled{opacity:.52}
.aq-styles svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.aq-style-picker select{margin-top:4px;width:100%;min-height:32px;background:#183a43;color:white;border:1px solid #719fa6;border-radius:8px;padding:4px 9px}
.scene-standings .results-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 8px}
.scene-standings .results-heading p{grid-column:1/-1;margin:0}
.scene-standings .aq-replay-action{border:1px solid #ffda93;border-radius:12px;background:#ffdfa6;color:#16343d;padding:9px 12px;font-weight:750;min-height:42px}
.scene-starts .start-empty{align-self:center;padding:clamp(12px,3vh,28px);min-height:0}

.aq-water-touch{position:fixed;z-index:9999;pointer-events:none;width:46px;height:46px;border-radius:50%;border:2px solid #c7faff;box-shadow:0 0 0 4px #76d6eb60,inset 0 0 5px #a9efff;background:radial-gradient(circle,transparent 43%,#a4edff77 47%,transparent 58%);animation:aq-tap-ring .58s ease-out both}
@keyframes aq-tap-ring{from{transform:translate(-50%,-50%) scale(.15);opacity:.95}to{transform:translate(-50%,-50%) scale(1.8);opacity:0}}
.aq-styles button{border-radius:22px 22px 9px 9px}
.aq-styles button svg{box-sizing:border-box;background:#e9d9b0;color:#123844;border-radius:50%;width:clamp(26px,6vw,38px);height:clamp(26px,6vw,38px);padding:5px;stroke-width:2.7}
.aq-distances{display:flex;align-items:stretch;gap:5px;overflow-x:auto;margin-top:5px}
.aq-distances button{flex:none;min-width:48px;min-height:38px;padding:4px 9px;border:1px solid #719fa6;border-radius:10px;background:#183a43;color:#edffff;font:inherit;font-size:14px;cursor:pointer}
.aq-distances button[aria-pressed=true]{color:#ffdfaa;border-color:#ffda99;background:#23565f}

.scene-analysis .analysis-history-surface{
  background:#10323be8;border:1px solid #81958c;border-radius:22px 22px 10px 10px;
  overflow:hidden;color:#eff4ee;
}
.scene-analysis .analysis-history-heading{background:#193b43;padding:8px 12px;border-bottom:1px solid #d5bf8d55}
.scene-analysis .analysis-history-heading h2{display:flex;align-items:center;gap:8px;color:#efdfbc}
.scene-analysis .analysis-history-heading h2::before{
  content:"";flex:none;width:25px;height:25px;border-radius:50%;
  background:#e9d9b0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123844' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='13' r='7'/%3E%3Cpath d='M12 13l3-3M10 3h4m-2 0v3'/%3E%3C/svg%3E") center/19px no-repeat;
}
.scene-analysis .analysis-history-scroll{scrollbar-color:#a99e81 #12343b}
.scene-analysis .analysis-history-scroll th{background:#15363e;color:#e9d9b0;border-color:#cfbc8a55}
.scene-analysis .analysis-history-scroll td{background:#12343c;color:#e8efec;border-color:#72908e55}
.scene-analysis .analysis-history-scroll tr:nth-child(even) td{background:#193c44}
.scene-analysis .analysis-history-scroll .current-start td{background:#244951}
.scene-analysis .analysis-history-scroll td strong{display:inline-block;padding:2px 8px;border:1px solid #c8b78488;border-radius:14px;color:#f1dfb8;font-variant-numeric:tabular-nums}
.scene-analysis .analysis-history-scroll .im-empty{color:#c8d7d4;background:transparent}
.scene-standings .results-toolbar .aq-style-picker{min-width:0;width:100%}
.scene-standings .results-surface{border:1px solid #81958c;border-radius:22px 22px 10px 10px;background:#10323be8;color:#eff4ee;overflow:hidden}
.scene-standings .results-table-scroll{background:transparent;scrollbar-color:#a99e81 #12343b}
.scene-standings .results-table-scroll th{background:#15363e;color:#e9d9b0;border-color:#cfbc8a55}
.scene-standings .results-table-scroll td{background:#12343c;color:#e8efec;border-color:#72908e55}
.scene-standings .results-table-scroll tr:nth-child(even) td{background:#193c44}
.scene-standings .results-table-scroll tr.observed td{background:#244951;border-color:#cfbc8a88}
.scene-standings .results-table-scroll .aq-place{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:50%;background:#e9d9b0;color:#123844;font-size:12px;font-weight:700}
.scene-standings .results-table-scroll td:last-child strong{display:inline-block;padding:2px 7px;border:1px solid #c8b78488;border-radius:14px;color:#f1dfb8;font-variant-numeric:tabular-nums}
