:root {
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#e9edf0;
  background:#101719;
  color-scheme:dark;
  font-synthesis:none;
  --muted:#93a3a8;
  --line:#314044;
  --accent:#e7bd70
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
button,input {
  font:inherit
}
button,a,input {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
button:disabled {
  cursor:default;
  opacity:.42
}
a {
  color:inherit
}
button:focus-visible,a:focus-visible,input:focus-visible {
  outline:3px solid #f2d39b;
  outline-offset:4px
}
[hidden] {
  display:none!important
}
.topbar {
  height:82px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 5vw;
  background:#121c1f
}
.brand {
  font-size:20px;
  font-weight:850;
  letter-spacing:2px;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:9px
}
.brand>span:last-child {
  font-weight:350;
  color:var(--muted)
}
.brand-icon {
  height:34px;
  width:34px;
  display:grid;
  place-items:center;
  background:var(--accent);
  color:#172023;
  border-radius:7px;
  margin-right:4px;
  font-size:24px
}
.edition {
  font-size:10px;
  letter-spacing:2px;
  color:var(--muted)
}
.edition b {
  display:inline-block;
  color:var(--accent);
  padding:7px 9px;
  border:1px solid var(--line);
  margin-left:18px
}
main {
  max-width:1460px;
  padding:42px 5vw 20px;
  margin:auto
}
.heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:32px
}
.eyebrow {
  font-size:10px;
  letter-spacing:1.7px;
  color:var(--accent);
  font-weight:650;
  margin:0 0 13px
}
h1 {
  font-size:clamp(25px,2.6vw,38px);
  letter-spacing:-1px;
  line-height:1.2;
  margin:0 0 12px;
  font-weight:650
}
.intro {
  font-size:14px;
  color:var(--muted);
  margin:0;
  line-height:1.6
}
.phase {
  font-size:11px;
  color:#bbc9c4;
  white-space:nowrap;
  border:1px solid #3f514c;
  padding:9px 12px;
  border-radius:30px
}
.source-form {
  margin-bottom:27px
}
.source-form label {
  display:block;
  font-size:13px;
  font-weight:600;
  margin-bottom:10px
}
.source-form label span {
  font-size:10px;
  color:var(--muted);
  font-weight:400;
  margin-left:12px
}
.input-row {
  display:flex;
  gap:10px
}
.input-row input {
  min-width:0;
  flex:1;
  border:1px solid var(--line);
  background:#1a2528;
  border-radius:7px;
  padding:15px 17px;
  font-size:14px;
  color:#fff
}
.input-row input::placeholder {
  color:#7c8e94
}
.primary {
  border:0;
  border-radius:6px;
  background:var(--accent);
  color:#202522;
  font-size:13px;
  font-weight:700;
  padding:15px 22px
}
.input-row button span {
  margin-left:25px
}
.helper {
  font-size:11px;
  color:var(--muted);
  margin:9px 0 0;
  min-height:16px
}
.workspace {
  display:grid;
  grid-template-columns:minmax(0,1.85fr) minmax(290px,1fr);
  gap:22px;
  align-items:start
}
.video-card,.marks-card {
  border:1px solid var(--line);
  background:#172225;
  border-radius:10px;
  overflow:hidden
}
.card-label {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:17px 20px;
  font-size:10px;
  letter-spacing:1.3px;
  color:#b9c5c9
}
.card-label>span {
  display:flex;
  align-items:center;
  gap:8px
}
.card-label a {
  font-size:10px;
  letter-spacing:0;
  text-decoration:none;
  color:var(--muted)
}
.dot {
  width:6px;
  height:6px;
  background:var(--accent);
  border-radius:50%
}
#video-shell {
  aspect-ratio:16/9;
  min-height:205px;
  position:relative;
  background:#0e1719
}
#player-host,#player-host iframe {
  width:100%;
  height:100%;
  border:0
}
#placeholder {
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:radial-gradient(ellipse at center,#233b36 0,transparent 70%)
}
#placeholder h2 {
  font-size:17px;
  font-weight:500;
  z-index:1;
  margin:20px 15px 8px;
  text-align:center
}
#placeholder p {
  font-size:12px;
  color:var(--muted);
  margin:0 18px;
  text-align:center
}
.field {
  width:65%;
  height:110px;
  border:1px solid #48625766;
  transform:perspective(250px) rotateX(24deg);
  display:flex;
  justify-content:space-evenly;
  align-items:center;
  position:relative
}
.field i {
  height:100%;
  border-left:1px solid #48625766
}
.field span {
  position:absolute;
  width:50px;
  height:50px;
  border:1px solid #a1b09c66;
  display:grid;
  place-items:center;
  color:var(--accent);
  border-radius:50%;
  background:#23312c
}
.transport {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:20px
}
.clock span {
  display:block;
  font-size:9px;
  letter-spacing:1.3px;
  color:var(--muted);
  margin-bottom:5px
}
.clock output {
  font-size:26px;
  font-variant-numeric:tabular-nums;
  letter-spacing:1px
}
.mark-button {
  padding:14px 18px;
  display:flex;
  align-items:center;
  gap:7px
}
.mark-button span {
  font-size:23px;
  font-weight:400
}
.player-status {
  font-size:11px;
  color:var(--muted);
  margin:0 20px 18px;
  line-height:1.6
}
.marks-heading {
  padding:22px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  border-bottom:1px solid var(--line)
}
.marks-heading .eyebrow {
  margin-bottom:9px;
  font-size:9px
}
h2 {
  font-size:21px;
  margin:0;
  font-weight:600
}
#count {
  font-size:12px;
  color:var(--muted);
  margin-left:8px;
  background:#263336;
  border-radius:4px;
  padding:3px 7px
}
.export-button {
  border:1px solid #445356;
  border-radius:6px;
  background:transparent;
  color:#bdc9cb;
  padding:8px 10px;
  font-size:11px
}
.empty {
  padding:50px 25px;
  min-height:265px;
  text-align:center;
  color:var(--muted)
}
.empty>span {
  font-size:25px;
  color:#778d86;
  width:45px;
  height:45px;
  margin:0 auto 20px;
  display:grid;
  place-items:center;
  border:1px dashed #486257;
  border-radius:50%
}
h3 {
  font-weight:500;
  font-size:14px;
  color:#dce3e3;
  margin:0 0 10px
}
.empty p {
  font-size:12px;
  line-height:1.8;
  max-width:240px;
  margin:auto
}
#marks {
  list-style:none;
  padding:8px 12px;
  margin:0;
  max-height:365px;
  overflow:auto
}
#marks:empty {
  display:none
}
.mark-row {
  width:100%;
  border:1px solid transparent;
  background:none;
  border-radius:6px;
  color:inherit;
  padding:16px 10px;
  display:flex;
  align-items:center;
  gap:12px;
  text-align:left
}
.mark-row:hover,.mark-row.active {
  background:#263633;
  border-color:#465848
}
.mark-row .number {
  font-size:10px;
  color:var(--muted);
  width:20px
}
.mark-row .name {
  font-size:13px;
  flex:1
}
.mark-row time {
  font-size:13px;
  color:var(--accent);
  font-variant-numeric:tabular-nums
}
.mark-row .play {
  font-size:10px;
  color:var(--muted);
  margin-left:5px
}
.save-area {
  border-top:1px solid var(--line);
  padding:16px 20px;
  font-size:11px;
  color:var(--muted);
  line-height:1.6
}
.save-area p {
  margin:0
}
.text-button {
  color:var(--accent);
  background:none;
  border:0;
  padding:8px 0;
  text-decoration:underline;
  font-size:12px
}
#retry-player {
  margin:0 20px 12px
}
.error {
  color:#ffb4a4!important
}
footer {
  display:flex;
  gap:24px;
  align-items:center;
  margin-top:28px;
  font-size:10px;
  color:#7a908d;
  line-height:1.6
}
footer b {
  font-weight:400;
  color:#b8c7c4;
  margin-left:6px
}
footer p {
  margin-left:auto;
  text-align:right;
  max-width:330px
}
@media(min-width:1500px) {
  main {
  padding-left:50px;
  padding-right:50px
}

}
@media(max-width:850px) {
  .workspace {
  grid-template-columns:1fr
}
.phase {
  display:none
}
main {
  padding-top:28px
}
.marks-card {
  min-height:0
}
.empty {
  min-height:190px;
  padding:30px
}
.edition {
  font-size:8px;
  letter-spacing:1px
}
footer {
  flex-wrap:wrap;
  gap:12px 20px
}
footer p {
  margin:0;
  max-width:none;
  width:100%;
  text-align:left
}

}
@media(max-width:480px) {
  .topbar {
  height:66px
}
.edition {
  display:none
}
.input-row {
  flex-direction:column
}
.input-row button {
  align-self:stretch
}
.heading {
  margin-bottom:22px
}
.transport {
  padding:16px;
  gap:8px
}
.mark-button {
  font-size:11px;
  padding:12px
}
.clock output {
  font-size:23px
}
.clock span {
  font-size:8px
}
.card-label {
  padding:14px
}
.card-label a {
  font-size:9px
}
.marks-heading {
  padding:18px
}
.source-form {
  margin-bottom:20px
}
h1 {
  letter-spacing:-.6px
}

}
