/* SimVision web app: the same look as the bay screen. Dark glass panels on a near-black room lit green
   (bottom left) and gold (top right); gold pill buttons; Michroma for the wordmark, titles and numbers,
   Sora for everything else. Fonts are served from this site (fonts/), never from Google. Phone first. */
@font-face { font-family: "Sora"; font-weight: 300; font-display: swap; src: url(fonts/Sora-Light.woff2) format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 400; font-display: swap; src: url(fonts/Sora-Regular.woff2) format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url(fonts/Sora-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700 800; font-display: swap; src: url(fonts/Sora-Bold.woff2) format("woff2"); }
@font-face { font-family: "Michroma"; font-weight: 400; font-display: swap; src: url(fonts/Michroma-Regular.woff2) format("woff2"); }

:root {
  --void: #030504; --bg: #070908; --text: #f7f7f4; --muted: #8f9a93; --dim: #5d6862;
  --gold: #e0be6c; --gold-hi: #f1d58e; --gold-deep: #b8913a; --green: #43d17a; --green-deep: #0b5a3a; --brand: #00492c;
  --warn: #ff6b4a; --ok: var(--green);
  --glass: linear-gradient(180deg, rgba(30, 46, 37, .62), rgba(18, 28, 22, .56));
  --glass-solid: linear-gradient(180deg, rgba(26, 38, 30, .94), rgba(14, 21, 16, .94));
  --edge: rgba(255, 255, 255, .09); --edge-gold: rgba(224, 190, 108, .55);
  --radius: 22px; --radius-sm: 14px;
  --font: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Michroma", "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { background: var(--void); }
html, body { margin: 0; color: var(--text); font-family: var(--font); font-weight: 400; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; padding-bottom: calc(84px + env(safe-area-inset-bottom)); background:
  radial-gradient(900px 640px at 4% 105%, rgba(11, 90, 58, .55), transparent 70%),
  radial-gradient(760px 520px at 100% -8%, rgba(224, 190, 108, .13), transparent 70%),
  radial-gradient(1200px 800px at 50% 50%, rgba(14, 24, 17, .6), transparent 80%), var(--bg);
  background-attachment: fixed; }
a { color: var(--gold); text-decoration-color: rgba(224, 190, 108, .4); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
::selection { background: rgba(224, 190, 108, .35); }
h1 { font: 400 1.45rem/1.25 var(--display); letter-spacing: .06em; text-transform: uppercase; margin: .4rem 0 1rem; }
h2 { font: 600 .74rem/1 var(--font); margin: 1.8rem 0 .8rem; color: var(--gold); text-transform: uppercase; letter-spacing: .28em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.pad { padding: 2rem 1rem; }
.small { font-size: .85rem; }
.warn { color: var(--warn); }

/* ---- top bar: the mark and the wordmark */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .8rem 1.1rem; background: rgba(5, 8, 6, .72); backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--edge); }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand .mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gold);
  box-shadow: 0 0 12px rgba(224, 190, 108, .55), inset 0 0 6px rgba(224, 190, 108, .35); flex: none; }
.brand .word { font: 400 1rem/1 var(--display); letter-spacing: .42em; }
.brand small { display: none; }
#topnav { display: flex; gap: .35rem; }
#topnav a { color: var(--muted); text-decoration: none; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .55rem .95rem; border-radius: 999px; border: 1px solid transparent; transition: all .2s var(--ease); }
#topnav a:hover { color: var(--text); border-color: var(--edge-gold); }
#topnav a.on { color: var(--text); background: linear-gradient(180deg, rgba(11, 90, 58, .82), rgba(8, 50, 30, .6)); border-color: rgba(67, 209, 122, .5); }

main { max-width: 1020px; margin: 0 auto; padding: 1.1rem 1rem 2rem; position: relative; z-index: 1; }

/* ---- glass */
.card { position: relative; background: var(--glass); border: 1px solid var(--edge); border-radius: var(--radius); padding: 1.15rem;
  margin-bottom: .9rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 40px -24px rgba(0, 0, 0, .8); }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(224, 190, 108, .42), transparent 32%, transparent 68%, rgba(67, 209, 122, .38));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card.gold { border-color: var(--edge-gold); }
.card.ok { border-color: rgba(67, 209, 122, .5); background: linear-gradient(180deg, rgba(11, 90, 58, .55), rgba(8, 40, 26, .5)); }
.card.alert { border-color: rgba(255, 107, 74, .6); display: grid; gap: .4rem; box-shadow: 0 0 40px -10px rgba(255, 107, 74, .35); }
.row { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.row.spread { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.eyebrow { font: 600 .7rem/1 var(--font); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }

/* ---- buttons: pills. primary = gold, the rest glass; every one answers the pointer */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .6rem 1.25rem;
  border-radius: 999px; border: 1px solid var(--edge); background: rgba(255, 255, 255, .045); color: var(--text);
  font: 600 .82rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), border-color .2s, background .2s, color .2s; }
.btn:hover { color: var(--text); border-color: var(--edge-gold); background: rgba(224, 190, 108, .08); box-shadow: 0 0 24px -6px rgba(224, 190, 108, .45); }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn.primary { color: #141008; border: 0; background: linear-gradient(180deg, #f1d58e, var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 10px 30px -10px rgba(224, 190, 108, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.primary:hover { color: #141008; box-shadow: 0 12px 38px -8px rgba(224, 190, 108, .9), inset 0 1px 0 rgba(255, 255, 255, .6); transform: translateY(-1px); }
.btn.danger { border-color: rgba(255, 107, 74, .55); color: #ffcfc2; }
.btn.danger:hover { border-color: var(--warn); background: rgba(255, 107, 74, .1); box-shadow: 0 0 24px -6px rgba(255, 107, 74, .55); }
.btn.small { min-height: 38px; padding: .35rem .95rem; font-size: .72rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: default; transform: none; box-shadow: none; }

/* ---- forms */
label { display: block; font: 600 .68rem/1 var(--font); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 1rem 0 .5rem; }
input, select, textarea { width: 100%; min-height: 50px; padding: .7rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--edge);
  background: rgba(0, 0, 0, .35); color: var(--text); font: 400 1rem var(--font); transition: border-color .2s, box-shadow .2s; }
input:hover, select:hover, textarea:hover { border-color: rgba(224, 190, 108, .35); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(224, 190, 108, .16); }
textarea { min-height: 90px; resize: vertical; }
form .btn { margin-top: 1.1rem; }
.err { color: #ffc4b5; background: rgba(255, 107, 74, .1); border: 1px solid rgba(255, 107, 74, .45); padding: .7rem .9rem; border-radius: var(--radius-sm); margin-top: .9rem; }
.okmsg { color: #c9f5da; background: rgba(67, 209, 122, .09); border: 1px solid rgba(67, 209, 122, .45); padding: .7rem .9rem; border-radius: var(--radius-sm); margin-top: .9rem; }

/* ---- log in, check in: the wordmark over the faint eye */
.auth { max-width: 440px; margin: 1rem auto; position: relative; }
.hero { text-align: center; padding: 9vh 0 6vh; width: min(94vw, 820px); margin-left: 50%; transform: translateX(-50%); }
.wordmark { font: 400 clamp(1.5rem, 6.2vw, 3.2rem)/1.1 var(--display); letter-spacing: .3em; margin-right: -.3em; white-space: nowrap;
  background: linear-gradient(180deg, #fff 20%, var(--gold-hi) 75%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(224, 190, 108, .25)); }
.hero .eyebrow { margin-top: 1.2rem; display: block; }
.tabsw { display: flex; gap: .3rem; margin-bottom: .8rem; padding: .3rem; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid var(--edge); }
.tabsw button { flex: 1; min-height: 42px; padding: .5rem .6rem; letter-spacing: .08em; border-color: transparent; background: transparent; white-space: nowrap; }
.tabsw button.on { background: linear-gradient(180deg, rgba(11, 90, 58, .95), rgba(8, 50, 30, .8)); border-color: rgba(67, 209, 122, .55); }
#eye { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(135vw, 135vh, 1100px); height: min(135vw, 135vh, 1100px);
  pointer-events: none; z-index: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
body.hero-on #eye { opacity: .5; }
.big-check { position: relative; width: 132px; height: 132px; margin: 1.5rem auto 1.4rem; border-radius: 50%; display: grid; place-items: center;
  color: var(--green); font-size: 3.2rem; font-weight: 300;
  background: radial-gradient(circle, rgba(67, 209, 122, .16), transparent 68%); box-shadow: 0 0 60px -10px rgba(67, 209, 122, .5); }
.big-check::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 200deg, var(--gold), var(--green), var(--gold));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

/* ---- lists */
.list { display: grid; gap: .6rem; }
.item { position: relative; display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; background: var(--glass); border: 1px solid var(--edge);
  border-radius: var(--radius-sm); color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .25s, transform .18s var(--ease); }
a.item:hover { color: var(--text); border-color: var(--edge-gold); box-shadow: 0 0 26px -10px rgba(224, 190, 108, .5); transform: translateX(2px); }
.item .big { font-weight: 600; }
.item .chev { color: var(--gold); font-size: 1.4rem; transition: transform .2s var(--ease); }
a.item:hover .chev { transform: translateX(3px); }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .7rem; border-radius: 999px; font: 600 .64rem/1 var(--font); letter-spacing: .16em;
  background: rgba(0, 0, 0, .3); border: 1px solid var(--edge); color: var(--muted); text-transform: uppercase; }
.pill.gold { color: var(--gold); border-color: var(--edge-gold); }
.pill.ok { color: var(--green); border-color: rgba(67, 209, 122, .55); }
.pill.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.day { margin: 1.6rem 0 .7rem; color: var(--muted); font: 600 .68rem/1 var(--font); text-transform: uppercase; letter-spacing: .26em; }
.nums { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }
.nums b { font-size: 1.05rem; }

/* ---- Full Swing numbers: a HUD row, values in the display face */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: .55rem; }
.stat { background: rgba(4, 7, 5, .55); border: 1px solid var(--edge); border-radius: var(--radius-sm); padding: .75rem .85rem; }
.stat .k { font: 600 .6rem/1 var(--font); letter-spacing: .24em; color: var(--gold); }
.stat .v { margin-top: .55rem; font: 400 1.15rem/1 var(--display); letter-spacing: .02em; white-space: nowrap; }
.stat .u { font: 600 .58rem var(--font); letter-spacing: .14em; color: var(--muted); margin-left: .35rem; }

/* ---- swing player: video in a frame with HUD corners, controls in a glass dock */
.player { position: relative; background: #000; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--edge);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(224, 190, 108, .08); }
.player video { display: block; width: 100%; max-height: 70vh; background: #000; }
.vwrap { position: relative; }
.vwrap::after { content: ""; position: absolute; inset: 12px; pointer-events: none; opacity: .85;
  background: linear-gradient(var(--gold), var(--gold)) top left / 22px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) top left / 2px 22px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / 22px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) top right / 2px 22px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 22px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) bottom left / 2px 22px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 22px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) bottom right / 2px 22px no-repeat; }
.cmppane:nth-child(2) .vwrap::after { --gold: #43d17a; }
.pctl { display: grid; gap: .7rem; padding: .9rem; background: var(--glass-solid); border-top: 1px solid var(--edge); }
.pctl.card { padding: .9rem; }
.pctl .readout { display: flex; justify-content: space-between; gap: .6rem; font: 600 .66rem/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.pctl .readout b { color: var(--text); font-weight: 600; }
.pctl input[type=range] { -webkit-appearance: none; appearance: none; min-height: 30px; padding: 0; background: transparent; border: 0; box-shadow: none; }
.pctl input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--green)); opacity: .9; }
.pctl input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--green)); }
.pctl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--gold);
  border: 5px solid #1a211c; box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(224, 190, 108, .8); cursor: grab; }
.pctl input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 5px solid #1a211c; box-shadow: 0 0 18px rgba(224, 190, 108, .8); }
.pbtns { display: grid; grid-template-columns: 1fr 1fr 1.5fr 1fr 1fr 1.1fr; gap: .4rem; align-items: center; }
.pbtns .btn { padding: 0; min-height: 50px; letter-spacing: .06em; font-size: .74rem; }
.pbtns .btn svg { width: 20px; height: 20px; fill: currentColor; }
.pbtns [data-a="play"] { min-height: 56px; color: #141008; border: 0; background: linear-gradient(180deg, #f1d58e, var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 8px 26px -8px rgba(224, 190, 108, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.pbtns [data-a="play"]:hover { color: #141008; box-shadow: 0 10px 34px -6px rgba(224, 190, 108, 1), inset 0 1px 0 rgba(255, 255, 255, .6); }
.pbtns [data-a="play"] svg { width: 24px; height: 24px; }
.pbtns [data-a="impact"] { color: var(--green); }
.camtabs { display: flex; gap: .4rem; padding: .7rem .8rem 0; background: var(--glass-solid); }

.notes .note { border-top: 1px solid var(--edge); padding: .8rem 0; }
.notes .note:first-child { border-top: 0; padding-top: 0; }
.notes .who { font: 600 .66rem/1.4 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* ---- phone tab bar: a floating glass dock */
.tabs { position: fixed; left: .7rem; right: .7rem; bottom: calc(.6rem + env(safe-area-inset-bottom)); z-index: 5; display: flex; gap: .3rem;
  padding: .35rem; border-radius: 999px; background: rgba(12, 18, 14, .78); border: 1px solid var(--edge);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .9); }
.tabs[hidden], .toast[hidden] { display: none; }
.tabs a { flex: 1; text-align: center; padding: .8rem .2rem; color: var(--muted); text-decoration: none; font: 600 .66rem/1 var(--font);
  letter-spacing: .14em; text-transform: uppercase; border-radius: 999px; transition: all .2s var(--ease); }
.tabs a.on { color: var(--text); background: linear-gradient(180deg, rgba(11, 90, 58, .95), rgba(8, 50, 30, .8)); box-shadow: inset 0 0 0 1px rgba(67, 209, 122, .5); }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 9;
  background: var(--glass-solid); border: 1px solid var(--edge-gold); border-radius: 999px; padding: .75rem 1.3rem; max-width: 90vw;
  font-size: .9rem; box-shadow: 0 0 30px -8px rgba(224, 190, 108, .5); }
.code { font: 400 1.5rem/1.2 var(--display); letter-spacing: .18em; color: var(--gold); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
td, th { padding: .6rem .4rem; border-bottom: 1px solid var(--edge); text-align: left; vertical-align: middle; }
th { color: var(--muted); font: 600 .64rem/1 var(--font); text-transform: uppercase; letter-spacing: .2em; }
tr:hover td { background: rgba(224, 190, 108, .03); }
@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .tabs { display: none !important; }
  h1 { font-size: 1.8rem; }
}
@media (max-width: 759px) {
  #topnav { display: none; }
  .top { justify-content: center; }
}

/* ---- swing grid: cards lead with the club */
.gridbar { margin: .3rem 0 .4rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: .7rem; }
.thumb { display: block; border-radius: 18px; overflow: hidden; background: var(--glass); border: 1px solid var(--edge);
  color: var(--text); text-decoration: none; position: relative; transition: transform .2s var(--ease), border-color .2s, box-shadow .25s; }
.thumb:hover { color: var(--text); border-color: var(--edge-gold); box-shadow: 0 0 28px -8px rgba(224, 190, 108, .55); transform: translateY(-2px); }
.thumb .media { position: relative; aspect-ratio: 16 / 9; background: #000; display: grid; place-items: center; }
.thumb .media img, .thumb .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.thumb:hover .media img { transform: scale(1.04); }
.thumb .cap { padding: .6rem .75rem .75rem; font-size: .82rem; }
.thumb .cap .lead { display: block; font: 400 .92rem/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .3rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb .cap .meta { color: var(--muted); font-size: .74rem; letter-spacing: .04em; }
.thumb.sel { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 0 30px -4px rgba(224, 190, 108, .6); }
.badge { position: absolute; top: .45rem; left: .45rem; min-width: 1.75rem; height: 1.75rem; border-radius: 50%; display: none;
  place-items: center; background: linear-gradient(180deg, #f1d58e, var(--gold-deep)); color: #111; font: 400 .8rem/1 var(--display); z-index: 1; }
.thumb.sel .badge, .badge.on { display: grid; }
/* favorites */
.star { font: 700 1.2rem/1 system-ui, sans-serif; color: var(--gold); background: rgba(4, 7, 5, .6); border: 1px solid var(--edge);
  border-radius: 999px; width: 2.4rem; height: 2.4rem; display: inline-grid; place-items: center; cursor: pointer; padding: 0;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .2s, box-shadow .25s, transform .18s var(--ease); }
.star.on { border-color: var(--edge-gold); box-shadow: 0 0 18px -2px rgba(224, 190, 108, .6); }
.star:hover:not(.ro) { border-color: var(--gold); transform: scale(1.08); }
.star:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.star.ro { cursor: default; }
.star.corner { position: absolute; top: .4rem; right: .4rem; z-index: 2; }
.star.big { width: 2.8rem; height: 2.8rem; font-size: 1.45rem; }
.thumb .pick { position: absolute; bottom: .4rem; left: .4rem; z-index: 2; background: rgba(4, 7, 5, .7); }
/* compare */
.cmpwrap { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.cmppane { position: relative; }
.cmppane video { max-height: 62vh; }
.cmplabel { display: flex; align-items: center; gap: .5rem; padding: .55rem .75rem; font-size: .82rem; background: var(--glass-solid); }
.cmplabel .badge { position: static; }
.cmppane:nth-child(2) .badge { background: linear-gradient(180deg, #7fe6a4, #1f9a55); }
.cmppane:nth-child(2) { border-color: rgba(67, 209, 122, .3); }
.cmpstats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) {
  .cmpwrap, .cmpstats { grid-template-columns: 1fr; }
  .cmppane video { max-height: 34vh; }
}
.item > select { width: auto; flex: 0 1 15rem; min-width: 9rem; }
.item > .grow { min-width: 9rem; }
/* Tapping a button quickly (Frame +1 several times) must never zoom the page: no double-tap zoom on
   buttons and the video players. Pinch-to-zoom still works everywhere. */
button, .btn, a.btn, .player, .pctl, .cmpwrap, .star, .thumb, input[type="range"] { touch-action: manipulation; }
.pctl, .pbtns, .camtabs { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* instructor: student folders and lessons */
.fold { position: relative; flex: none; width: 34px; height: 26px; margin-top: 4px; border-radius: 3px 7px 7px 7px;
  background: linear-gradient(180deg, rgba(224, 190, 108, .9), rgba(184, 145, 58, .9)); box-shadow: 0 0 16px -4px rgba(224, 190, 108, .6); }
.fold::before { content: ""; position: absolute; left: 0; top: -5px; width: 14px; height: 7px; border-radius: 3px 3px 0 0; background: rgba(224, 190, 108, .9); }
.fold::after { content: ""; position: absolute; inset: 7px 0 0; border-radius: 4px 7px 7px 7px; background: linear-gradient(180deg, #f1d58e, var(--gold)); }
.lessons .fold { width: 28px; height: 22px; }
.lesson .pill { flex: none; }
#sharecard p { margin: .5rem 0; }
