@charset "UTF-8";
:root {
  --bg:#121314;
  --rail:#18191a;
  --panel:#1c1d1f;
  --ink:#f4f0e9;
  --soft:#b0afa9;
  --dim:#918f89;
  --line:#343537;
  --accent:#ffae76;
  --accentbg:#392b23;
  --danger:#ff958c;
  --radius:17px;
  font:15px/1.5 Inter,"Segoe UI","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
  color-scheme:dark;
}

* {
  box-sizing:border-box;
}

html,body {
  margin:0;
  min-height:100%;
  background:var(--bg);
  color:var(--ink);
}

body {
  min-width:280px;
}

button,input,select {
  font:inherit;
  color:inherit;
}

button,select,label[for=files] {
  cursor:pointer;
}

button:disabled {
  opacity:.42;
  cursor:default;
}

button {
  border:0;
  background:none;
}

button:focus-visible,input:focus-visible,select:focus-visible,.drop:focus-within {
  outline:2px solid var(--accent);
  outline-offset:4px;
}

input,select {
  background:#18191a;
  border:1px solid #454548;
  border-radius:9px;
  padding:9px 12px;
}

select {
  min-height:40px;
}

input[type=range] {
  padding:0;
  accent-color:var(--accent);
  cursor:pointer;
}

input[type=checkbox] {
  accent-color:var(--accent);
}

h1,h2,h3,p {
  margin:0;
}

h1 {
  font-size:clamp(27px,3vw,40px);
  line-height:1.15;
  letter-spacing:-.065em;
}

h2 {
  font-size:20px;
  letter-spacing:-.04em;
}

h3 {
  font-size:16px;
}

p {
  line-height:1.7;
}

small,.fine,.muted {
  color:var(--soft);
}

small {
  display:block;
  font-size:12px;
}

.fine {
  font-size:13px;
  overflow-wrap:anywhere;
  white-space:pre-line;
}

.ico {
  width:20px;
  height:20px;
  flex-shrink:0;
  vertical-align:middle;
}

b,strong {
  font-weight:650;
}

.primary,.secondary,.danger,.textbtn,.iconbtn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  line-height:1.2;
}

.primary,.secondary,.danger {
  padding:11px 17px;
  border-radius:9px;
  font-weight:650;
  font-size:14px;
  min-height:41px;
}

.primary {
  background:var(--accent);
  color:#241b15;
}

.primary:hover {
  background:#ffbd90;
}

.secondary {
  border:1px solid #484747;
  background:#292a2b;
}

.secondary:hover,.iconbtn:hover {
  background:#353537;
}

.danger {
  color:var(--danger);
  background:#392728;
}

.textbtn {
  color:var(--accent);
  padding:6px 3px;
  font-size:13px;
}

.iconbtn {
  width:40px;
  height:40px;
  border-radius:9px;
}

.sr {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  clip-path:inset(50%);
  overflow:hidden;
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#f4f0e9;
}

.brand img {
  flex:none;
}

.brand b {
  font-family:"Arial",sans-serif;
  font-size:27px;
  line-height:1;
  letter-spacing:-1.7px;
  font-weight:750;
}

.boot {
  display:grid;
  place-items:center;
  height:100dvh;
  font-size:36px;
  letter-spacing:-2px;
}

.shell {
  min-height:100dvh;
}

.rail {
  position:fixed;
  inset:0 auto 0 0;
  width:218px;
  display:flex;
  flex-direction:column;
  padding:32px 17px 25px;
  border-right:1px solid var(--line);
  background:var(--rail);
  z-index:2;
}

.rail>.brand {
  padding:0 8px;
}

.nav-label {
  color:var(--dim);
  font-size:12px;
  font-weight:600;
  margin:51px 12px 11px;
}

.rail nav {
  display:grid;
  gap:5px;
}

.rail nav button {
  display:flex;
  gap:13px;
  align-items:center;
  text-align:left;
  font-weight:550;
  border-radius:9px;
  padding:13px 12px;
  min-height:45px;
  color:var(--soft);
}

nav button[aria-current=page] {
  color:var(--accent);
  background:var(--accentbg);
}

.rail nav button[aria-current=page] {
  color:var(--accent);
}

.rail nav button:hover {
  color:var(--ink);
  background:#282727;
}

.rail-foot {
  margin-top:auto;
  border:1px solid var(--line);
  border-radius:12px;
  padding:13px 14px;
  background:#1d1e1f;
}

.disk-heading {
  font-size:12px;
  display:flex;
  gap:8px;
  align-items:center;
}

.disk-heading .ico {
  width:16px;
  height:16px;
}

.rail-foot small {
  font:11px/1.5 ui-monospace,Consolas,monospace;
  color:var(--soft);
}

progress {
  width:100%;
  height:5px;
  vertical-align:middle;
  appearance:none;
  border:0;
  border-radius:8px;
  overflow:hidden;
  background:#383839;
  accent-color:var(--accent);
}

progress::-webkit-progress-bar {
  background:#383839;
  border-radius:8px;
}

progress::-webkit-progress-value {
  background:var(--accent);
  border-radius:8px;
}

progress::-moz-progress-bar {
  background:var(--accent);
}

.mobile-brand,.bottom-nav {
  display:none;
}

#main {
  margin-left:218px;
  padding:clamp(24px,4.3vw,62px) clamp(22px,4.4vw,70px) 28px;
  max-width:1900px;
}

.heading,.section-title,.line,.actions,.card-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.heading {
  margin-bottom:27px;
  align-items:end;
}

.heading p {
  margin-top:8px;
  color:var(--soft);
  font-size:14px;
}

.segments {
  display:inline-flex;
  gap:3px;
  border:1px solid var(--line);
  background:#191a1b;
  border-radius:11px;
  padding:4px;
  white-space:nowrap;
}

.segments button {
  font-size:13px;
  padding:7px 12px;
  color:var(--soft);
  border-radius:7px;
}

.segments .ico {
  width:15px;
  height:15px;
  vertical-align:-2px;
}

.segments button[aria-pressed=true] {
  background:#363330;
  color:#ffd1af;
}

.stage {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  width:100%;
  height:clamp(340px,calc(100dvh - 246px),840px);
  border:1px solid #38383a;
  border-radius:var(--radius);
  background:#090a0b;
  touch-action:pan-x pinch-zoom;
}

.stage.expanded,.stage:fullscreen {
  position:fixed;
  inset:0;
  z-index:12;
  width:100%;
  height:100dvh;
  max-height:none;
  border:0;
  border-radius:0;
}

.stage #canvas,.stage #canvas video,#overlay {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.stage video {
  object-fit:contain;
  display:block;
  cursor:pointer;
}

.stage #overlay {
  z-index:1;
  display:grid;
  place-content:center;
  text-align:center;
  overflow:hidden;
  background:#141313;
}

.stage #overlay[hidden],[hidden] {
  display:none!important;
}

.overlay-text {
  position:relative;
  z-index:1;
  padding:26px;
  max-width:520px;
  text-shadow:0 2px 14px #0009;
}

.overlay-text h2 {
  font-size:clamp(23px,3vw,37px);
  letter-spacing:-.06em;
}

.overlay-text p {
  font-size:14px;
  color:#d1c5bb;
  line-height:1.7;
  margin:10px auto 18px;
}

.film-top,.stage-actions,.player-bar {
  position:absolute;
  z-index:2;
}

.film-top {
  top:15px;
  left:15px;
  pointer-events:none;
}

.mode-pill,.duration {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 10px;
  background:#141414a8;
  color:#f4eee7;
  border:1px solid #ffffff29;
  border-radius:20px;
  font-size:12px;
  backdrop-filter:blur(10px);
}

.mode-pill .ico {
  width:13px;
  height:13px;
  color:var(--accent);
}

.stage-actions {
  right:14px;
  bottom:78px;
  display:grid;
  gap:7px;
}

.stage-actions .iconbtn,.player-bar .iconbtn {
  color:#fff;
  background:#191a1bad;
  border:1px solid #ffffff26;
  backdrop-filter:blur(6px);
}

.hearted,.hearted .ico {
  color:var(--accent)!important;
}

.hearted .ico {
  fill:currentColor;
}

.player-bar {
  bottom:0;
  left:0;
  right:0;
  display:flex;
  align-items:center;
  gap:12px;
  padding:25px 16px 13px;
  background:linear-gradient(transparent,#000c);
  color:#fafafa;
}

.player-bar .iconbtn {
  border:none;
  background:#18181a91;
  width:35px;
  height:35px;
}

.player-bar .time {
  font:12px/1.1 ui-monospace,Consolas,monospace;
  white-space:nowrap;
}

.player-bar #seek {
  min-width:20px;
  flex:1;
}

.player-bar #volume {
  width:65px;
}

.player-caption {
  display:flex;
  align-items:center;
  gap:13px;
  padding:17px 1px;
}

.player-caption h2 {
  font-size:18px;
  overflow-wrap:anywhere;
}

.player-caption small {
  overflow-wrap:anywhere;
}

.caption-icon,.file-icon,.login-mark {
  width:39px;
  height:39px;
  border-radius:10px;
  display:grid;
  place-items:center;
  color:var(--accent);
  border:1px solid #4b392d;
  background:#2a2420;
  flex:none;
}

.key-strip {
  display:flex;
  gap:22px;
  justify-content:flex-end;
  color:var(--dim);
  font-size:12px;
}

.key-strip span {
  display:flex;
  align-items:center;
  gap:5px;
}

kbd {
  border:1px solid #444547;
  border-bottom-width:2px;
  padding:1px 5px;
  border-radius:4px;
  font:11px/1.35 Consolas,monospace;
  color:var(--soft);
}

.film-art {
  position:absolute;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  background:radial-gradient(ellipse at 90% 6%,#9f4c2f55,transparent 48%),radial-gradient(ellipse at 12% 90%,#703c3566,transparent 63%),linear-gradient(135deg,#211e1e,#111214 48%,#35231b);
}

.film-art:after {
  content:"";
  position:absolute;
  inset:0;
  opacity:.18;
  background:repeating-linear-gradient(0deg,transparent 0 3px,#1d100d 3px 4px);
}

.art-ring {
  position:absolute;
  width:115%;
  height:190%;
  border:1px solid #f8a97950;
  border-radius:50%;
  transform:rotate(-39deg);
  box-shadow:inset -8px 2px 19px #ff9f5433,12px 10px 27px #4f212899;
}

.ring-a {
  left:8%;
  top:-104%;
}

.ring-b {
  left:11%;
  top:-97%;
  border-width:10px;
  border-color:#d7825055;
  box-shadow:inset -24px 0 27px #ec83502b,13px 10px 24px #7c4436;
}

.ring-c {
  left:16%;
  top:-89%;
  border-color:#f6a0686b;
  border-width:2px;
}

.film-frame {
  position:absolute;
  width:59%;
  height:31%;
  border:1px solid #e5aa7a48;
  box-shadow:0 0 1px 6px #1a1418a8,inset 12px 2px 40px #95583d44;
  border-radius:8px;
  transform:rotate(-39deg);
  background:linear-gradient(159deg,#1a1316aa,#56322a5c 52%,#eba17166);
  mask-image:linear-gradient(90deg,transparent,#000 20%,#000 90%,transparent);
}

.film-frame:before,.film-frame:after {
  content:"";
  position:absolute;
  top:9px;
  width:8px;
  bottom:9px;
  border-radius:2px;
  background:repeating-linear-gradient(to bottom,#dba37d66 0 9px,transparent 9px 21px);
}

.film-frame:before {
  left:7px;
}

.film-frame:after {
  right:7px;
}

.frame-one {
  top:16%;
  right:-23%;
}

.frame-two {
  left:-27%;
  bottom:3%;
}

.art-light {
  position:absolute;
  inset:0;
  background:linear-gradient(12deg,#141314bb,transparent 60%),radial-gradient(ellipse at 50% 58%,#151314e6 1%,#1614159c 33%,transparent 74%);
}

.panel {
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px 22px;
  margin-bottom:17px;
}

.panel h2 {
  display:flex;
  gap:9px;
  align-items:center;
  font-size:17px;
}

.panel h2 .ico {
  color:var(--accent);
  width:18px;
}

.panel p {
  font-size:14px;
  color:var(--soft);
  margin:10px 0 14px;
}

.section-title {
  margin-bottom:9px;
}

.section-title>span {
  color:var(--dim);
  font-size:13px;
}

.drop {
  position:relative;
  text-align:center;
  border:1px dashed #895e42;
  background:linear-gradient(120deg,#24201e,#1d1c1c);
  border-radius:var(--radius);
  padding:32px 18px;
  margin-bottom:18px;
}

.drop.drag {
  background:#3b2c23;
  border-color:var(--accent);
}

.drop>.ico {
  color:var(--accent);
  width:34px;
  height:34px;
  margin-bottom:8px;
}

.drop p {
  font-size:14px;
  color:var(--soft);
  margin:7px 0 17px;
}

.queue-item {
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 0;
  border-top:1px solid var(--line);
}

.queue-item .grow {
  flex:1;
  min-width:0;
  overflow-wrap:anywhere;
}

.q-actions {
  display:grid;
  text-align:right;
  font-size:12px;
  color:var(--soft);
}

.tools {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:19px;
}

.search {
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--panel);
  padding:0 11px;
  gap:8px;
  flex:1;
  color:var(--dim);
}

.search input {
  background:none;
  border:0;
  min-width:20px;
  width:100%;
  padding-left:0;
}

.grid {
  display:grid;
  gap:24px 17px;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,205px),1fr));
}

.card {
  min-width:0;
}

.card-cover {
  position:relative;
  overflow:hidden;
  aspect-ratio:16/10;
  border-radius:10px;
  border:1px solid #38383a;
  background:linear-gradient(145deg,#39312a,#212225);
}

.cover-button {
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  padding:0;
  color:var(--dim);
}

.cover-button img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.cover-play {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  width:35px;
  height:35px;
  display:grid;
  place-items:center;
  background:#09090988;
  color:white;
  opacity:0;
}

.cover-button:is(:hover,:focus-visible) .cover-play {
  opacity:1;
}

.duration {
  position:absolute;
  right:6px;
  bottom:6px;
  font:11px ui-monospace,Consolas,monospace;
  border-radius:5px;
  padding:4px 6px;
}

.fav-card {
  position:absolute;
  right:7px;
  top:7px;
  width:32px;
  height:32px;
  border-radius:50%;
  background:#10101097;
  color:#fff;
}

.fav-card .ico {
  width:16px;
  height:16px;
}

.card-title {
  gap:4px;
  margin:5px 0 0;
}

.card-title .iconbtn {
  width:28px;
  height:28px;
  flex:none;
}

.titlebtn {
  font-weight:650;
  padding:0;
  text-align:left;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.card small {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
}

.more {
  display:flex;
  margin:22px auto;
}

.collection-empty {
  grid-column:1/-1;
  border:1px dashed var(--line);
  border-radius:var(--radius);
  text-align:center;
  padding:65px 16px;
}

.collection-empty>.ico {
  width:34px;
  height:34px;
  color:var(--accent);
  margin-bottom:10px;
}

.collection-empty p {
  font-size:14px;
  color:var(--soft);
  margin-top:7px;
}

.settings-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:18px;
}

.settings-grid .panel {
  margin:0;
}

.line {
  padding:11px 0;
  border-top:1px solid var(--line);
  font-size:14px;
}

.line>div {
  min-width:0;
  overflow-wrap:anywhere;
}

.line small {
  margin-top:3px;
}

.switch {
  appearance:none;
  width:39px;
  height:23px;
  padding:0;
  border-radius:15px;
  background:#444;
  position:relative;
  border:0;
  flex:none;
  cursor:pointer;
}

.switch:before {
  content:"";
  position:absolute;
  top:4px;
  left:4px;
  width:15px;
  height:15px;
  background:white;
  border-radius:100%;
}

.switch:checked {
  background:var(--accent);
}

.switch:checked:before {
  left:20px;
  background:#281c14;
}

.usage-big {
  margin:15px 0 4px;
}

.usage-big strong {
  font:650 28px/1.2 system-ui;
}

.usage-big span {
  color:var(--soft);
}

.facts {
  font-size:13px;
  margin:14px 0 0;
}

.facts>div {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:4px 0;
}

.facts dt {
  color:var(--soft);
  flex:none;
}

.facts dd {
  margin:0;
  overflow-wrap:anywhere;
  text-align:right;
}

.dialog {
  width:min(calc(100vw - 30px),480px);
  max-height:85dvh;
  padding:22px;
  background:#222324;
  color:var(--ink);
  border:1px solid #48494a;
  border-radius:15px;
  box-shadow:0 16px 70px #0008;
}

.dialog::backdrop {
  background:#050505b8;
  backdrop-filter:blur(3px);
}

.dialog p {
  font-size:14px;
  color:var(--soft);
  margin:10px 0 17px;
}

.dialog .actions {
  justify-content:flex-end;
  margin-top:19px;
}

.dialog label,.login label {
  display:grid;
  gap:7px;
  margin:13px 0;
  font-size:13px;
  font-weight:600;
}

.dialog label input {
  width:100%;
}

.dialog h3 {
  margin:15px 0 6px;
}

.dialog #editError,.err {
  color:var(--danger);
}

#notices {
  position:fixed;
  bottom:20px;
  left:50%;
  z-index:20;
  max-width:min(90vw,620px);
  border:1px solid #60554b;
  padding:10px 16px;
  border-radius:10px;
  background:#292623;
  color:var(--ink);
  opacity:0;
  transform:translate(-50%,12px);
  pointer-events:none;
  transition:.15s;
}

#notices.on {
  opacity:1;
  transform:translate(-50%,0);
}

.login {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  min-height:100dvh;
  padding:22px;
  gap:24px;
}

.login-art {
  isolation:isolate;
  position:relative;
  overflow:hidden;
  border:1px solid #514139;
  background:#251d18;
  border-radius:22px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:clamp(22px,4.5vw,72px);
}

.login-art .film-art {
  z-index:-1;
}

.login-art .art-light {
  background:linear-gradient(10deg,#171414f2,transparent 65%);
}

.login-art .ring-a {
  top:-67%;
  left:10%;
}

.login-art .ring-b {
  top:-61%;
  left:19%;
}

.login-art .ring-c {
  top:-60%;
  left:26%;
}

.login-art .film-frame {
  height:23%;
  width:70%;
}

.login-art .frame-one {
  right:-8%;
  top:26%;
}

.login-copy span {
  font-size:13px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#e6cebb;
}

.login-copy span .ico {
  width:14px;
}

.login-copy h1 {
  font-size:clamp(44px,5.8vw,92px);
  line-height:1.04;
  margin:16px 0 20px;
  letter-spacing:-.075em;
}

.login-copy i {
  font-style:normal;
  color:#ffc695;
}

.login-copy p,.login-panel p {
  color:var(--soft);
}

.login-panel {
  display:grid;
  align-items:center;
  justify-items:center;
  padding:24px;
}

.login-panel form {
  width:min(100%,350px);
}

.login-mark {
  width:45px;
  height:45px;
  margin-bottom:25px;
}

.login-panel h2 {
  font-size:32px;
}

.login-panel p {
  font-size:14px;
  margin:7px 0 28px;
}

.pass-wrap {
  display:flex;
  background:var(--panel);
  border:1px solid #444;
  border-radius:9px;
  align-items:center;
}

.pass-wrap input {
  width:100%;
  border:0;
  background:transparent;
  min-height:46px;
}

.pass-wrap button {
  color:var(--soft);
  padding:10px;
}

.login-submit {
  display:flex;
  justify-content:space-between;
  width:100%;
  min-height:47px;
  margin-top:12px;
}

.err {
  min-height:1em;
  margin-top:7px;
  font-size:13px;
}

@media(max-width:1080px) {
  .rail {
    width:185px;
    padding-inline:13px;
  }
  #main {
    margin-left:185px;
    padding-inline:25px;
  }
  .settings-grid {
    grid-template-columns:1fr;
  }
  .rail>.brand {
    padding:0 3px;
  }
}

@media(max-width:720px) {
  .rail,.key-strip {
    display:none;
  }
  .shell {
    padding-bottom:calc(69px + env(safe-area-inset-bottom));
  }
  .mobile-brand {
    display:flex;
    padding:13px 16px;
    border-bottom:1px solid var(--line);
    height:55px;
  }
  .mobile-brand .brand img {
    width:26px;
    height:26px;
  }
  .mobile-brand .brand b {
    font-size:22px;
  }
  .bottom-nav {
    display:flex;
    align-items:stretch;
    position:fixed;
    inset:auto 0 0;
    background:#19191a;
    z-index:5;
    border-top:1px solid var(--line);
    padding:4px 3px calc(4px + env(safe-area-inset-bottom));
    justify-content:space-around;
  }
  .bottom-nav button {
    flex:1;
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    border-radius:8px;
    padding:7px 1px;
    font-size:10px;
    line-height:1.2;
    color:var(--soft);
  }
  .bottom-nav .ico {
    width:20px;
    height:20px;
  }
  .bottom-nav button[aria-current=page] {
    color:var(--accent);
    background:none;
  }
  #main {
    margin:0;
    padding:19px 15px 12px;
  }
  .heading {
    margin-bottom:16px;
    gap:6px;
  }
  .heading h1 {
    font-size:27px;
  }
  .heading p {
    font-size:12px;
    margin-top:4px;
  }
  .segments button {
    font-size:11px;
    padding:6px 7px;
  }
  .segments .ico {
    width:13px;
  }
  .view-feed .heading {
    align-items:center;
  }
  .view-feed .stage {
    height:calc(100dvh - 241px - env(safe-area-inset-bottom));
    min-height:290px;
    border-radius:12px;
  }
  .view-feed .stage:fullscreen,.view-feed .stage.expanded {
    height:100dvh;
  }
  .view-feed .player-caption {
    padding:9px 0;
  }
  .player-caption .caption-icon {
    width:30px;
    height:30px;
  }
  .player-caption h2 {
    font-size:15px;
  }
  .player-caption small {
    font-size:10px;
  }
  .stage-actions {
    right:7px;
    bottom:54px;
    gap:5px;
  }
  .stage-actions .iconbtn {
    width:32px;
    height:32px;
  }
  .stage .film-top {
    top:8px;
    left:8px;
  }
  .mode-pill {
    font-size:10px;
  }
  .player-bar {
    gap:6px;
    padding:17px 6px 6px;
  }
  .player-bar .iconbtn {
    width:29px;
    height:30px;
  }
  .player-bar .ico {
    width:16px;
    height:16px;
  }
  .player-bar .time {
    font-size:10px;
  }
  .player-bar #volume {
    width:35px;
  }
  .overlay-text {
    padding:17px;
  }
  .overlay-text h2 {
    font-size:25px;
  }
  .overlay-text p {
    font-size:12px;
  }
  .tools {
    flex-wrap:wrap;
    gap:7px;
  }
  .search {
    flex-basis:100%;
  }
  .tools>button,.tools>select {
    font-size:13px;
  }
  .grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:17px 10px;
  }
  .panel {
    padding:16px;
  }
  .queue-item {
    gap:7px;
  }
  .file-icon {
    display:none;
  }
  .q-actions {
    max-width:91px;
  }
  .settings-grid {
    gap:12px;
  }
  #notices {
    bottom:calc(70px + env(safe-area-inset-bottom));
    width:max-content;
    font-size:13px;
  }
  .login {
    grid-template-columns:1fr;
    grid-template-rows:auto 1fr;
    padding:12px;
    gap:8px;
  }
  .login-art {
    min-height:28dvh;
    border-radius:15px;
    padding:18px 21px;
  }
  .login-copy {
    margin-top:28px;
  }
  .login-copy span {
    display:none;
  }
  .login-copy h1 {
    font-size:32px;
    margin:0 0 5px;
  }
  .login-copy h1 br {
    display:none;
  }
  .login-copy p {
    font-size:12px;
  }
  .login-panel {
    align-items:start;
    padding:24px 12px;
  }
  .login-mark {
    display:none;
  }
  .login-panel h2 {
    font-size:25px;
  }
  .login-panel p {
    margin:5px 0 18px;
  }
  .login-art .brand img {
    width:27px;
    height:27px;
  }
  .login-art .brand b {
    font-size:23px;
  }
}

@media(max-height:560px) and (orientation:landscape) {
  .view-feed .stage {
    height:65dvh;
    min-height:170px;
  }
  .view-feed .stage:fullscreen,.view-feed .stage.expanded {
    height:100dvh;
  }
  .login-art {
    min-height:240px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    transition:none!important;
  }
}
