@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(assets/jetbrains-mono-400.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url(assets/jetbrains-mono-700.woff2) format("woff2"); }
:root {
  color-scheme: light;
  --pic: url(assets/tux.jpg);
  --kitty: url(assets/kitty.png);
}
* { box-sizing: border-box; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
html, body { margin: 0; padding-left: 0; padding-right: 0; }
body { padding-top: 0; padding-bottom: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
html, body { background: #2f6fce; }
body { color: #1e1e1e; font: 13px/1.4 "Segoe UI", Tahoma, Verdana, sans-serif; }
:focus-visible { outline: 1px dotted #000; outline-offset: 1px; }

.defs { position: absolute; }
.wall {
  position: fixed; inset: 0; z-index: 0;
  background: url(assets/bg.jpg) center / cover no-repeat;
}
.stage {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; justify-items: center;
  min-height: 100vh; min-height: 100dvh;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 20px;
  overflow: hidden; overflow: clip;
}
.slot { width: 100%; max-width: 396px; min-width: 0; }
.slot.terminal-slot { max-width: 520px; }
@media (min-width: 960px) {
  .stage { grid-template-columns: auto minmax(0, 520px); gap: 36px; align-content: center; justify-content: start; justify-items: start; align-items: center; }
  .slot { width: 396px; margin-left: clamp(0px, 7vw, 120px); }
  .slot.terminal-slot, .slot.vr-slot { width: 100%; margin-left: 0; }
}
@media (min-width: 960px) and (max-width: 1239px) {
  .stage { row-gap: 16px; }
  .slot.card-slot { grid-column: 1; grid-row: 1; }
  .slot.compass-slot { grid-column: 1; grid-row: 2; }
  .slot.terminal-slot { grid-column: 2; grid-row: 1; }
  .slot.vr-slot { grid-column: 2; grid-row: 2; max-width: 520px; }
  .vr-list { columns: 2; column-gap: 8px; }
}
@media (min-width: 1240px) {
  .stage { grid-template-columns: auto minmax(0, 520px) 300px; gap: 16px 24px; }
  .slot { margin-left: clamp(0px, calc(7vw - 70px), 120px); }
  .slot.card-slot { grid-row: 1 / span 2; }
  .slot.terminal-slot { grid-column: 2; grid-row: 1; }
  .slot.compass-slot { grid-column: 2; grid-row: 2; width: 100%; margin-left: 0; max-width: none; }
  .slot.vr-slot { grid-column: 3; grid-row: 1 / span 2; }
}
@supports (-webkit-touch-callout: none) {
  .stage { cursor: pointer; -webkit-tap-highlight-color: transparent; }
}

.window {
  position: relative; z-index: 1; width: 100%; padding: 0 7px 7px; border-radius: 7px;
  background: linear-gradient(180deg, rgba(235, 245, 252, .68), rgba(190, 220, 240, .42) 64px, rgba(190, 220, 240, .5));
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  border: 1px solid rgba(10, 30, 50, .62);
  box-shadow: 0 8px 26px rgba(0, 20, 10, .5), inset 0 0 0 1px rgba(255, 255, 255, .55);
}
.title {
  display: flex; align-items: flex-start; gap: 6px; min-height: 28px;
  cursor: default; touch-action: none; -webkit-user-select: none; user-select: none;
}
.ico { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 6px; background: var(--pic) center / cover; }
.cap { min-width: 0; margin-top: 6px; font-size: 12px; line-height: 16px; color: #000; text-shadow: 0 0 6px #fff, 0 0 6px #fff, 0 0 2px #fff; }
.controls { display: flex; flex: 0 0 auto; margin-left: auto; margin-top: -1px; }
.shade {
  display: grid; place-items: center; width: 29px; height: 19px; padding: 0; cursor: pointer; color: #16242f;
  border: 1px solid rgba(10, 30, 50, .62); border-top: 0; border-right: 0; border-radius: 0 0 0 3px;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.3) 49%, rgba(150,180,200,.35) 50%, rgba(255,255,255,.4));
}
.shade i { display: block; width: 9px; height: 2px; margin-top: 6px; background: currentColor; }
.shade[aria-expanded="false"] i { height: 8px; margin-top: 0; background: none; border: 1px solid currentColor; border-top-width: 2px; }
.shade.close {
  width: 47px; border-right: 1px solid rgba(10, 30, 50, .62); border-radius: 0 0 3px 0; color: #fff;
  background: linear-gradient(180deg, #eca99a, #d96a5c 49%, #bd3a2a 50%, #d65f4e);
}
.close svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; }
.client { border: 1px solid rgba(10, 30, 50, .62); background: #fff; --service: 84px; }
.window:not(.active) {
  background: linear-gradient(180deg, rgba(235, 240, 245, .5), rgba(205, 215, 225, .32));
  box-shadow: 0 4px 16px rgba(0, 20, 10, .35), inset 0 0 0 1px rgba(255, 255, 255, .4);
}
.window:not(.active) .cap { color: #3c3c3c; }
.window:not(.active) .shade.close {
  color: #5a4040;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(240,225,225,.35) 49%, rgba(205,175,175,.4) 50%, rgba(240,225,225,.45));
}

.vr .head span:first-child { flex: 1 1 auto; border-right: 0; }
.vr-list { list-style: none; margin: 0; padding: 2px; }
.vr-list li {
  display: flex; align-items: center; gap: 7px; min-height: 23px; padding: 1px 6px; break-inside: avoid;
  border: 1px solid transparent; border-radius: 2px;
}
.vr-list svg { flex: 0 0 auto; width: 16px; height: 16px; }
.items { padding: 3px 8px; font-size: 12px; color: #1f2d38; border-top: 1px solid #b4c3cf; background: linear-gradient(180deg, #f7fafc, #e7eef3); }
.ico.vr-art, .shortcut.vr-art, .ico.compass-art, .shortcut.compass-art { background: none; border: 0; box-shadow: none; }
.shortcut.vr-art, .shortcut.compass-art { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.compass { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 10px 12px 12px; background: linear-gradient(180deg, #eaf3fa, #fff 70%); }
.chart { display: block; flex: 3 1 240px; min-width: 0; max-width: 304px; height: auto; aspect-ratio: 304 / 276; }
.axis-label { font-size: 12.5px; fill: #33475b; }
.scale-label { font-size: 10px; font-style: italic; fill: #12305a; stroke: #fff; stroke-opacity: .65; stroke-width: 2.5px; paint-order: stroke; }
.marker { filter: drop-shadow(0 1.5px 2px rgba(40, 0, 0, .55)); }
.scores { flex: 1 1 100px; min-width: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 16px; }
.scores div { flex: 1 1 100px; min-width: 0; }
.scores dt { font-size: 12px; line-height: 1.3; color: #5b5b5b; }
.scores dd { margin: 0; font-size: 22px; line-height: 1.2; color: #003399; font-variant-numeric: tabular-nums; }
.terminal { background: #1e1e2e; color: #cdd6f4; }
.screen {
  min-height: calc(1.35em * 19 + 12px); padding: 6px; overflow-x: auto; cursor: text;
  font: 13px/1.35 "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
  font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0;
}
.screen pre { margin: 0; font: inherit; }
.fetch { display: flex; flex-wrap: wrap; }
.art { padding: 1.35em 3ch 0 2ch; color: #89b4fa; }
.art b { font-weight: 400; color: #74c7ec; }
.user-name { font-weight: 700; color: #89b4fa; }
.k-os { color: #89b4fa; }
.k-term { color: #74c7ec; }
.k-sh { color: #cba6f7; }
.path { color: #89b4fa; }
.arrow { color: #cba6f7; }
.dots i { font-style: normal; }
.dots i:nth-child(1) { color: #45475a; }
.dots i:nth-child(2) { color: #f38ba8; }
.dots i:nth-child(3) { color: #a6e3a1; }
.dots i:nth-child(4) { color: #f9e2af; }
.dots i:nth-child(5) { color: #89b4fa; }
.dots i:nth-child(6) { color: #f5c2e7; }
.dots i:nth-child(7) { color: #94e2d5; }
.dots i:nth-child(8) { color: #bac2de; }
.cursor { display: inline-block; width: 1ch; height: 1.2em; vertical-align: text-bottom; background: #89b4fa; }
.window:not(.active) .cursor { background: transparent; box-shadow: inset 0 0 0 1px #89b4fa; }
@media (prefers-reduced-motion: no-preference) {
  .window.active .cursor { animation: blink 1s steps(1) 15; }
  @keyframes blink { 50% { opacity: 0; } }
}

.reopen {
  display: grid; justify-items: center; gap: 4px; width: 88px; padding: 6px 2px; cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: 3px;
  color: #fff; font: inherit; font-size: 12px; text-shadow: 0 1px 2px #000, 0 0 3px #000;
}
.shortcut { width: 40px; height: 40px; background: var(--pic) center / cover; border: 1px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.shortcut.kitty-art { border: 0; box-shadow: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.ico.kitty-art, .shortcut.kitty-art { background-image: var(--kitty); }
.icons { display: flex; flex-wrap: wrap; gap: 4px; justify-self: start; }
@media (min-width: 960px) {
  .icons { position: absolute; top: 20px; left: max(16px, env(safe-area-inset-left, 0px)); z-index: 0; }
}

.who { display: flex; align-items: center; gap: 12px; padding: 11px 12px; background: linear-gradient(180deg, #eaf3fa, #fff 75%); }
.pic {
  flex: 0 0 auto; width: 56px; height: 56px; background: var(--pic) center / cover;
  border: 1px solid #fff; box-shadow: 0 0 0 1px #8ba7b9, 0 1px 3px rgba(0, 0, 0, .35); border-radius: 2px;
}
.id { min-width: 0; }
h1 { margin: 0; font-size: 18px; font-weight: 400; line-height: 1.25; color: #003399; overflow-wrap: anywhere; }
.count { margin: 0; font-size: 12px; color: #5b5b5b; }

.head {
  display: flex; align-items: center; height: 22px; font-size: 12px; color: #4c607a;
  background: linear-gradient(180deg, #fff, #f2f4f7);
  border-top: 1px solid #dfe5ec; border-bottom: 1px solid #dfe5ec;
}
.head span:first-child { flex: 0 0 calc(28px + var(--service)); padding-left: 8px; line-height: 20px; border-right: 1px solid #dfe5ec; }
.head span:last-child { padding-left: 4px; }
.accounts { list-style: none; margin: 0; padding: 2px; display: grid; }
.row { display: flex; align-items: center; min-height: 30px; border: 1px solid transparent; border-radius: 2px; }
.main { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; padding: 3px 0 3px 5px; color: inherit; text-decoration: none; }
.logo { flex: 0 0 auto; display: grid; place-items: center; width: 20px; height: 20px; }
.logo svg, .logo img { display: block; width: 18px; height: 18px; }
.service { flex: 0 0 var(--service); padding-left: 7px; font-size: 12px; color: #5b5b5b; }
.user { flex: 1 1 auto; min-width: 0; padding-left: 4px; overflow-wrap: anywhere; }
a.main .user { color: #0066cc; }
.copy {
  flex: 0 0 auto; min-width: 56px; height: 22px; margin-right: 3px; padding: 0 6px; cursor: pointer;
  color: #000; font: inherit; font-size: 12px; line-height: 1;
  border: 1px solid #8e8f8f; border-radius: 3px;
  background: linear-gradient(180deg, #f3f3f3, #ebebeb 49%, #dddddd 50%, #cfcfcf);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}
.copy:active { border-color: #2c628b; background: linear-gradient(180deg, #e5f4fc, #c4e5f6 49%, #98d1ef 50%, #68b3db); }
@media (hover: hover) {
  .copy { opacity: 0; }
  .row:hover .copy, .row:focus-within .copy { opacity: 1; }
}

.stage.dialog { grid-template-columns: minmax(0, 1fr); align-content: center; justify-content: center; justify-items: center; }
.dialog .window { max-width: 380px; }
.notice { padding: 16px 16px 18px; }
.notice h1 { font-size: 16px; }
.notice p { margin: 8px 0 0; }
.buttons { display: flex; justify-content: flex-end; padding: 9px 10px; border-top: 1px solid #dfdfdf; background: #f0f0f0; }
.button {
  display: inline-block; min-width: 86px; padding: 3px 12px; text-align: center; text-decoration: none;
  color: #000; font-size: 12px; line-height: 16px;
  border: 1px solid #8e8f8f; border-radius: 3px;
  background: linear-gradient(180deg, #f3f3f3, #ebebeb 49%, #dddddd 50%, #cfcfcf);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}
.button:active { border-color: #2c628b; background: linear-gradient(180deg, #e5f4fc, #c4e5f6 49%, #98d1ef 50%, #68b3db); }

.player {
  display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 4px 10px 4px 6px;
  border-top: 1px solid #b4c3cf;
  background: linear-gradient(180deg, #f7fafc, #e7eef3 50%, #d9e3ea 51%, #e7eef3);
}
.play {
  position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; overflow: hidden; cursor: pointer;
  color: #fff; border: 1px solid #123f6b; border-radius: 50%;
  background: radial-gradient(circle at 50% 118%, #8fdcff, #1f7cc4 58%, #0d4379);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}
.play::before {
  content: ""; position: absolute; top: 1px; left: 3px; right: 3px; height: 45%; border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.08));
}
.play:disabled { filter: grayscale(1); cursor: default; }
.play svg { position: relative; width: 13px; height: 13px; fill: currentColor; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); }
.status { flex: 1 1 0; min-width: 0; font-size: 12px; line-height: 1.2; color: #1f2d38; }
#volume { flex: 0 0 auto; width: 72px; height: 20px; margin: 0; padding: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
#volume::-webkit-slider-runnable-track {
  box-sizing: border-box; height: 4px;
  background: linear-gradient(180deg, #9aa8b2, #e8eef2); border: 1px solid #84939e; border-radius: 1px;
}
#volume::-webkit-slider-thumb {
  box-sizing: border-box; width: 9px; height: 16px; margin-top: -7px; -webkit-appearance: none; appearance: none;
  background: linear-gradient(180deg, #ffffff, #e2eef6 49%, #bcd8ea 50%, #dcecf7);
  border: 1px solid #5d7d94; border-radius: 2px;
}
#volume::-moz-range-track {
  box-sizing: border-box; height: 4px;
  background: linear-gradient(180deg, #9aa8b2, #e8eef2); border: 1px solid #84939e; border-radius: 1px;
}
#volume::-moz-range-thumb {
  box-sizing: border-box; width: 9px; height: 16px;
  background: linear-gradient(180deg, #ffffff, #e2eef6 49%, #bcd8ea 50%, #dcecf7);
  border: 1px solid #5d7d94; border-radius: 2px;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (hover: hover) {
  .button:hover { border-color: #3c7fb1; background: linear-gradient(180deg, #eaf6fd, #d9f0fc 49%, #bee6fd 50%, #a7d9f5); }
  .shade:hover { background: linear-gradient(180deg, #d9f1ff, #9fd6f5 49%, #62b6e6 50%, #a8def8); }
  .shade.close:hover { background: linear-gradient(180deg, #f8c3b5, #ee8171 49%, #dc4632 50%, #f07a66); }
  .window:not(.active) .shade.close:hover { color: #fff; background: linear-gradient(180deg, #f8c3b5, #ee8171 49%, #dc4632 50%, #f07a66); }
  .vr-list li:hover { background: linear-gradient(180deg, #f8fbfe, #e6f2fb); border-color: #b8d6fb; }
  .reopen:hover { background: rgba(190, 230, 255, .3); border-color: rgba(255, 255, 255, .6); }
  .row:hover { background: linear-gradient(180deg, #f8fbfe, #e6f2fb); border-color: #b8d6fb; }
  a.main:hover .user { text-decoration: underline; }
  .copy:hover { border-color: #3c7fb1; background: linear-gradient(180deg, #eaf6fd, #d9f0fc 49%, #bee6fd 50%, #a7d9f5); }
  .play:hover { filter: brightness(1.15); }
}

@media (max-width: 760px) {
  body { font-size: 14px; }
  .title { min-height: 32px; }
  .row { min-height: 42px; }
  .copy { min-width: 60px; height: 30px; }
  .shade { width: 38px; height: 27px; }
  .shade i { margin-top: 10px; }
  .play { width: 36px; height: 36px; }
  .screen { font-size: 12px; }
}
@media (max-width: 359px) {
  .client { --service: 70px; }
  #volume { display: none; }
}
