:root {
  color: #1a1a1a;
  font-family: "Segoe UI", sans-serif;
  --ink: #1c1c1c;
  --paper: rgba(255, 255, 255, 0.62);
  --line: rgba(28, 28, 28, 0.08);
  --green: #1f8a5b;
  --red: #d24b4b;
  --orange: #e07a2f;
  --violet: #7a4dff;
  --magenta: #c43d8c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(122, 77, 255, 0.18), transparent 60%),
    radial-gradient(700px 380px at 100% 0%, rgba(224, 122, 47, 0.16), transparent 55%),
    radial-gradient(800px 500px at 70% 110%, rgba(31, 138, 91, 0.12), transparent 50%),
    linear-gradient(180deg, #f7f5f2 0%, #ece8e2 100%);
}

.shell { min-height: 100vh; }

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px 16px;
  padding: 10px 18px 6px;
  background: rgba(247, 245, 242, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.title {
  grid-column: 2;
  margin: 0;
  text-align: center;
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-shadow: 0 0 18px rgba(122, 77, 255, 0.55), 0 0 28px rgba(31, 138, 91, 0.35);
}

.session {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.who { margin: 0; color: #3c3834; }
.who span { display: block; color: #6d675f; font-size: 12px; }

nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(31, 138, 91, 0.08);
  border: 1px solid rgba(31, 138, 91, 0.16);
}

nav a, button.quiet {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 999px;
  padding: 6px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

nav a.active, nav a:hover {
  background: rgba(31, 138, 91, 0.22);
  border-color: rgba(31, 138, 91, 0.45);
  box-shadow: 0 0 16px rgba(31, 138, 91, 0.28);
}

button.quiet { color: #6d675f; }

main { padding: 4px 16px 24px; max-width: 1280px; }
main.full { max-width: none; }
.card.devices { width: 100%; max-width: none; }
.card.devices th,
.card.devices td {
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
}
.card.devices td.device-drop,
.card.devices th.device-drop {
  width: 1%;
  text-align: right;
  padding-right: 4px;
}
.photo-actions { white-space: nowrap; }
.photo-actions button + button { margin-left: 6px; }
.fav-count { margin-left: 8px; color: #6d675f; font-size: 12px; white-space: nowrap; }
.geo-mark {
  position: relative;
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  border-bottom: none;
  cursor: pointer;
}
.geo-mark.empty { font-size: 12px; color: #6d675f; cursor: default; }
.geo-tip {
  display: none;
  position: absolute;
  z-index: 30;
  left: 50%;
  top: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 6px 8px;
  border-radius: 8px;
  background: #1c1b19;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  pointer-events: none;
  text-align: left;
}
.geo-mark:hover .geo-tip { display: block; }
.photo-actions button.drop-device,
.device-drop button.drop-device {
  padding: 4px 12px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
}
.photo-actions button.drop-device.holding,
.device-drop button.drop-device.holding { animation: holdfill 1.5s linear forwards; }
.photo-actions button:hover:not(:disabled):not(.drop-device) {
  background: var(--violet);
  color: white;
  border-color: transparent;
}
.photo-actions button:disabled { opacity: 0.38; cursor: default; }

h1 { margin: 0 0 6px; font-size: 22px; font-weight: 650; }
h2 { margin: 0 0 8px; font-size: 16px; }

.muted { color: #6d675f; font-size: 13px; }
.empty-note { margin: 18px 4px; max-width: 520px; color: #6d675f; font-size: 15px; line-height: 1.5; }
.flash {
  background: rgba(31, 138, 91, 0.12);
  border: 1px solid rgba(31, 138, 91, 0.35);
  border-radius: 12px;
  padding: 10px 12px;
}

.glass, form.card, .card {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(28, 28, 28, 0.05);
  backdrop-filter: blur(16px);
  border-radius: 18px;
}

.card, form.card { padding: 10px 12px; margin: 6px 0; }
.card.tight, form.card.tight { padding: 8px 10px; width: fit-content; max-width: 100%; }

label, legend { display: block; margin: 4px 0 2px; font-size: 12px; font-weight: 650; }

input[type="text"], input[type="password"], input[type="search"], input[type="date"], input[type="file"], select, textarea {
  width: 100%;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  font: inherit;
  font-size: 13px;
}

input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); }

fieldset { border: 1px solid var(--line); border-radius: 12px; margin: 12px 0; padding: 8px 12px 12px; }

button, .button {
  background: var(--green);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

button.quiet {
  background: rgba(255, 255, 255, 0.45);
  color: #1c1c1c;
  border: 1px solid var(--line);
}

button.danger { background: var(--red); }
button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid var(--line);
}
.chips button.on { background: var(--violet); color: white; border-color: transparent; }

.builder, .studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
  align-items: start;
}

.top-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 153px;
  gap: 8px;
  align-items: center;
  width: 100%;
}
.top-fields > div { width: auto; min-width: 0; }
#maker.card { width: 100%; padding: 4px 12px; margin: 4px 0; }
#maker input[type="text"] { padding: 4px 8px; }
.icon-line { display: flex; align-items: center; gap: 8px; }
.icon-line input { width: auto; max-width: 180px; }
.icon-preview { width: 28px; height: 28px; object-fit: cover; border-radius: 6px; }

.head-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.head-line select { width: 88px; }

.template-row { display: flex; gap: 8px; align-items: center; overflow-x: auto; padding: 2px 0 4px; }
.tmpl {
  display: inline-flex;
  align-items: stretch;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(122, 77, 255, 0.28);
}
.tmpl a {
  display: flex;
  align-items: center;
  background: var(--violet);
  color: white;
  text-decoration: none;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}
.tmpl a:hover { background: #9a74ff; }
.tmpl.on { box-shadow: 0 0 0 2px #5b32d6, 0 0 16px rgba(122, 77, 255, 0.45); }
.tmpl button.danger {
  width: 22px;
  min-width: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--red);
  color: white;
  font-size: 12px;
  line-height: 1;
}
.tmpl button.danger:hover { background: #e36b6b; }
.save-line { text-align: center; margin: 8px 0; }

.rail {
  max-height: calc(100vh - 150px);
  overflow: auto;
  padding: 12px;
}
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rail-head h2 { margin: 0; font-size: 15px; }
.rail-head form { margin: 0; }
.rail-head button {
  padding: 3px 8px;
  font-size: 11px;
  line-height: 1.2;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.job {
  margin: 8px 0 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}
.job .meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 3px;
  font-size: 12px;
}
.job .lab { color: #6d675f; }
.job .val {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 650;
}
.job .side {
  margin-left: auto;
  max-width: 52%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
  font-size: 11px;
  color: #6d675f;
}
.act { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.job .dl {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: auto;
  min-width: 0;
  height: 32px;
  margin-top: 0;
  padding: 0 8px;
  text-align: center;
  background-color: var(--orange);
  background-image: linear-gradient(rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.38));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  color: white;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  overflow: hidden;
}
.job .dl.holding { animation: holdfill 2s linear forwards; }
@keyframes holdfill { to { background-size: 100% 100%; } }
.job .dl.err { background-color: var(--red); }
.job .dl:hover { filter: brightness(1.08); }
.apk-ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(28, 28, 28, 0.22);
  background: rgba(255, 255, 255, 0.75);
  flex: 0 0 auto;
  display: inline-flex;
  overflow: hidden;
  box-sizing: border-box;
}
.apk-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.err-veil {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(28, 28, 28, 0.35);
}
.err-veil[hidden] { display: none; }
.err-card { width: min(640px, 100%); max-height: min(70vh, 520px); overflow: auto; padding: 16px 18px 18px; position: relative; }
.err-card h2 { margin: 0 28px 0 0; }
.err-card pre {
  margin: 10px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  font: 12px/1.45 Consolas, monospace;
  color: #3c3834;
}
.job p { margin: 0 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job .fail-log {
  margin: 0 0 6px;
  max-height: 240px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  text-overflow: clip;
  font: 11px/1.35 Consolas, monospace;
  color: #6d2b2b;
}
.bar { height: 6px; border-radius: 99px; background: rgba(28,28,28,.08); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--green); }
.bar.done i { width: 100%; }
.bar.bad i { width: 100%; background: var(--red); }
@keyframes load { from { transform: translateX(-120%); } to { transform: translateX(260%); } }

.screen-tools { display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; margin-top: 6px; }
.screen-tools label { display: flex; align-items: center; gap: 4px; margin: 0; white-space: nowrap; font-size: 12px; }
.screen-tools select, .screen-tools input[type="number"] { width: auto; padding: 2px 6px; }
.screen-tools input[type="number"] { width: 52px; }
.screen-tools select { width: 118px; }
.percent-tools { display: flex; align-items: center; gap: 4px; margin: 4px 0 0; font-size: 12px; flex-wrap: wrap; }
.bar-settings { display: inline-flex; align-items: center; gap: 4px; }
.bar-settings[hidden] { display: none !important; }
.percent-tools select { width: 108px; padding: 2px 4px; }
.percent-tools input[type="number"] { width: 46px; padding: 2px 4px; }
.phone .txt {
  white-space: pre-wrap;
  overflow: hidden;
  line-height: 1.15;
}
.phone .go {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1f8a5b;
  color: #fff;
  border-radius: 999px;
  text-align: center;
  overflow: hidden;
  cursor: text;
  user-select: text;
}

.phone .txt, .phone .meter, .phone .spin {
  position: absolute;
  cursor: grab;
  user-select: none;
}
.phone .txt { color: #111; border: 1px solid rgba(122, 77, 255, 0.9); border-radius: 10px; background: rgba(255,255,255,0.35); padding: 4px 6px; overflow: hidden; resize: none; }
.phone .meter { position: absolute; border-radius: 99px; background: rgba(0,0,0,0.28); overflow: hidden; }
.phone .meter .fill { position: absolute; left: 0; top: 0; height: 100%; width: 62%; background: #1f8a5b; }
.phone .spin-box .spin {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.55);
  border-top-color: #1f8a5b;
  animation: spin 0.8s linear infinite;
  box-sizing: border-box;
}
.phone .bg {
  position: absolute;
  inset: -8%;
  background: center/cover no-repeat;
}
.phone.live .bg { animation: ken 7s ease-in-out infinite alternate; }
.phone .txt, .phone .meter, .phone .spin { position: absolute; }
.phone .txt { color: #111; min-width: 40px; min-height: 18px; resize: both; overflow: auto; }
.phone.has-photo .txt { color: white; text-shadow: 0 1px 6px rgba(0,0,0,.75); }
.phone .meter { min-width: 36px; min-height: 8px; border-radius: 99px; background: rgba(255,255,255,.45); overflow: visible; }
.phone .meter i.fill { display: block; height: 100%; width: 60%; background: #1f8a5b; border-radius: 99px; }
.phone .meter b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 2px);
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  color: #111;
  text-shadow: 0 0 2px #fff;
  pointer-events: none;
  z-index: 3;
  white-space: nowrap;
}
.phone.has-photo .meter b {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}
.phone .meter b[hidden] { display: none !important; }
.phone .spin {
  width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.45); border-top-color: #1f8a5b;
  animation: spin 0.8s linear infinite;
}
.grip {
  position: absolute; right: -4px; bottom: -4px; width: 10px; height: 10px;
  background: #7a4dff; border-radius: 2px; cursor: nwse-resize;
}
.screen-box { display: flex; align-items: flex-start; gap: 6px; flex: 0 0 auto; }
.screen-main { width: auto; }
.bg-slot { width: 200px; }
.bg-split {
  display: flex;
  width: 200px;
  margin: 0 auto 6px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(31, 138, 91, 0.35);
}
.bg-split button {
  flex: 1;
  width: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 6px 4px;
  font-size: 12px;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}
.bg-split .bg-btn { box-shadow: inset -2px 0 0 rgba(28, 28, 28, 0.35); }
.bg-split .web-btn.ready { background: var(--violet); color: white; }
.bg-split button.off { background: #d5d1cb; color: #8d877f; }
.phone .web {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
  background: #fff;
  display: none;
  pointer-events: none;
}
.phone .web.on { display: block !important; }
.web-actions { display: flex; gap: 8px; margin-top: 10px; }
#web-url { width: 100%; margin-top: 8px; }
.phone-line { display: flex; align-items: flex-start; gap: 6px; }
.side-tools { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; }
.side-tools button { width: 28px; height: 28px; min-width: 28px; padding: 0; line-height: 1; }
.bg-btn {
  display: block;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 138, 91, 0.45);
}
.bg-btn.ready { background: var(--green); color: white; border-color: transparent; }
.screen-tools[hidden], .percent-tools[hidden] { display: none !important; }
.count-btns { display: flex; align-items: center; gap: 4px; }
.count-label { font-size: 12px; margin-right: 4px; }
.count-btns button {
  width: 24px;
  height: 24px;
  min-width: 24px;
  padding: 0;
  border-radius: 6px;
  background: #d5d1cb;
  color: #6d675f;
}
.count-btns button.on { background: var(--violet); color: white; }
.side-tools button.on {
  background: rgba(31, 138, 91, 0.9);
  color: white;
  border-color: transparent;
  box-shadow: 0 0 10px rgba(31, 138, 91, 0.45);
}
.phone .txt {
  border: 1px solid rgba(122, 77, 255, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.28);
  padding: 4px 6px;
  overflow: hidden;
  white-space: pre-wrap;
  line-height: 1.15;
  resize: none;
  z-index: 2;
  cursor: text;
  user-select: text;
}
.phone .meter {
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.25);
  overflow: visible;
  z-index: 2;
}
.phone .meter .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; background: #1f8a5b; border-radius: 99px; }
.phone .spin-box { position: absolute; aspect-ratio: 1; z-index: 2; }
.phone .spin-box .spin {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.45);
  border-top-color: #1f8a5b;
  animation: spin 0.8s linear infinite;
}
.phone .bg { z-index: 0; }
.phone .txt, .phone .meter, .phone .spin-box { z-index: 2; }
.assemble-btn { padding: 4px 18px; font-size: 13px; }
@keyframes ken { from { background-size: 100%; } to { background-size: 118%; } }
@keyframes spin { to { transform: rotate(360deg); } }
.screen-box.off { display: none; }

.phones { display: flex; gap: 12px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 8px 0; }
.phone {
  width: 200px;
  height: 400px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #f7f7f7;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  border: 8px solid #1c1c1c;
}
.phone span.cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 16px;
  color: white;
  font-size: 13px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}
.phone.fade { animation: fade 1.1s ease; }
.phone.slide { animation: slide 1.1s ease; }
.phone.zoom { animation: zoom 1.1s ease; }
@keyframes fade { from { opacity: 0.35; } to { opacity: 1; } }
@keyframes slide { from { transform: translateY(18px); } to { transform: none; } }
@keyframes zoom { from { transform: scale(1.06); } to { transform: none; } }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 4px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 12px; }
table.slim th, table.slim td { padding: 2px 6px; line-height: 1.2; }
th { font-size: 12px; color: #6d675f; font-weight: 650; }
tbody tr:hover { background: rgba(255, 255, 255, 0.45); }

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
}
.dot.on { background: var(--green); box-shadow: 0 0 0 4px rgba(31, 138, 91, 0.2); }
.dot.off { background: var(--red); }

.key { font-family: Consolas, monospace; letter-spacing: 0.04em; color: var(--violet); }
.copy { cursor: pointer; border-bottom: 1px dashed #b7b0a6; }

.filters.slim { margin: 4px 0 6px; gap: 6px; }
.filters.slim input { padding: 3px 8px; font-size: 12px; min-width: 160px; }
.filters.slim button { padding: 3px 10px; font-size: 12px; }

.user-list { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.user-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 4px 8px;
}
.user-line form { display: flex; gap: 4px; margin: 0; align-items: center; }
.user-line input { width: 118px; padding: 3px 6px; }
.user-line button { padding: 3px 8px; font-size: 12px; }
.user-card { width: min(380px, 100%); margin: 0; }
.filters, form.inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filters input, form.inline input { width: auto; min-width: 160px; }

.veil {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.46);
  backdrop-filter: blur(8px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.veil[hidden] { display: none; }
.veil-card {
  width: min(1100px, 100%);
  height: min(720px, 100%);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  padding: 16px;
  position: relative;
}
.veil-grid { overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; align-content: start; }
.veil-grid img, .focus img { width: 100%; height: 92px; object-fit: cover; border-radius: 10px; cursor: pointer; }
.focus { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.focus img {
  height: min(520px, 70vh);
  object-fit: contain;
  object-position: center;
  background: rgba(28, 28, 28, 0.06);
  cursor: default;
}
.turn-row { display: flex; gap: 8px; }
.turn-row button { padding: 4px 12px; }
.x { position: absolute; top: 10px; right: 10px; background: var(--ink); }

.words {
  position: absolute;
  z-index: 6;
  min-width: 220px;
  max-width: 320px;
  padding: 12px;
  border-radius: 14px;
}
.solo { max-width: 420px; margin: 10vh auto; padding: 0 16px; }

@media (max-width: 980px) {
  .top { grid-template-columns: 1fr; }
  .title, .session, nav { grid-column: auto; }
  .session { justify-self: center; }
  .top, .builder, .studio, .veil-card { grid-template-columns: 1fr; }
  .top-fields { width: 100%; }
  main { padding: 16px 12px 48px; }
  .phone { width: 180px; height: 360px; }
  .bg-slot { width: 180px; }
  .rail { max-height: none; }
}
