.intro-310 .intro-city { inset:-3%;background-image:url("./intro-city.svg?v=315");background-position:60% center; }
.intro-310 .intro-film-bars { background:linear-gradient(0deg,#061722de,transparent 55%),linear-gradient(90deg,#04131d7d,transparent 62%); }
.intro-310 .intro-title { justify-self:start;align-self:end;justify-items:start;text-align:left;margin:0 0 clamp(68px,12vh,120px) clamp(24px,8vw,132px); }
.intro-310 .intro-title strong { font-size:clamp(40px,7.4vw,100px); }
.intro-310 .intro-title img { width:clamp(42px,6vw,68px); }
.film-subtitles { min-height:82px; }
.film-subtitles strong:empty { display:none; }

.device-cards { display:grid;gap:11px;margin:13px 0; }
.device-card { display:grid;grid-template-columns:48px minmax(0,1fr) 20px;align-items:center;gap:13px;min-height:89px;padding:13px;color:#f2f9ec;text-align:left;background:linear-gradient(123deg,#244a3c,#18312b);border:1px solid #6a947e;border-radius:15px; }
.device-card:hover,.device-card[aria-pressed="true"] { background:#315a47;border-color:#b6e6a4; }
.device-card>svg { width:40px;height:40px;padding:8px;background:#102b23;color:#c6eca2;border-radius:11px; }
.device-card>span { display:grid;gap:5px; }
.device-card>span:last-child { color:#9ec4a7; }
.device-card strong { font-size:16px; }
.device-card small { color:#cbded1;font-size:12px;line-height:1.4; }
.device-card:focus-visible { outline:2px solid #e6f9ce;outline-offset:2px; }

.desktop-controls { position:absolute;inset:auto var(--right) calc(var(--bottom) + 81px) var(--side);display:flex;align-items:end;justify-content:space-between;gap:6px; }
.desktop-deck { display:flex;align-items:end;gap:6px; }
.desktop-pad { display:grid;grid-template-columns:repeat(3,minmax(54px,auto));gap:5px; }
.desktop-pad .forward-key { grid-column:2; }
.desktop-pad button:nth-child(2) { grid-column:1; }
.desktop-extras { display:grid;gap:5px; }
.desktop-right { display:grid;justify-items:end;gap:6px; }
.desktop-vehicle { display:grid;grid-template-columns:repeat(4,1fr);gap:5px; }
.desktop-hint { color:#ddeadc;font-size:11px;font-weight:720;padding:6px 9px;background:#102820e6;border:1px solid #4d7766;border-radius:8px; }
.desktop-key { position:relative;display:grid;gap:3px;place-items:center;min-width:52px;min-height:53px;padding:4px 8px;color:#f2f9eb;background:#17352dec;border:1px solid #79a48a;border-radius:10px;font-size:12px;font-weight:780;white-space:nowrap;touch-action:none;user-select:none; }
.desktop-key kbd { height:16px;font-size:9px;padding:1px 4px;color:#c6e2d1;background:#11261f;border-color:#58836d; }
.desktop-pad .desktop-key { font-size:14px; }
.desktop-key.accelerate { background:#416f4c;color:#f6ffe8; }
.desktop-key:is(.is-held,[aria-pressed="true"]) { background:#b8eb98;color:#172d21;border-color:#d4ffbb; }
.desktop-mode .hud .drive-action { min-height:51px;padding:8px 12px;font-size:13px; }
.desktop-mode .hud .icon-button { min-height:50px;width:50px; }
.desktop-mode .hud .view-key { width:69px; }
.desktop-mode .hud .crawl-key { display:inline-grid;font-size:10px;padding:4px; }
.desktop-mode .hud .horn-key { display:none; }
.desktop-mode .hud .map-card { min-height:72px; }
.desktop-mode .context p:not(:empty) { display:block;max-width:30vw; }
.desktop-mode .bottom { grid-template-columns:auto minmax(0,1fr) auto; }
.desktop-mode .context { min-width:0; }
.desktop-mode .context-actions { gap:5px; }
.desktop-mode .shortcuts { gap:5px; }
@media(max-width:730px) {
  .desktop-controls { bottom:calc(var(--bottom) + 99px); }
  .desktop-vehicle { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:530px) {
  .intro-310 .intro-title { justify-self:center;justify-items:center;text-align:center;margin:0 0 max(105px,14vh); }
  .intro-310 .intro-title strong { font-size:clamp(35px,10vw,52px); }
  .intro-310 .intro-city { background-position:60% center; }
  .desktop-pad { grid-template-columns:repeat(3,minmax(38px,auto)); }
  .desktop-key { min-width:38px;min-height:44px;padding:4px;font-size:10px; }
  .desktop-pad .desktop-key { font-size:11px; }
  .desktop-mode .hud .icon-button { width:41px;min-height:45px; }
  .desktop-mode .hud .view-key { width:49px; }
  .desktop-mode .hud .drive-action { min-height:44px;padding:5px 6px;font-size:10px; }
  .desktop-controls { bottom:calc(var(--bottom) + 126px); }
  .desktop-mode .context-actions { flex-wrap:wrap; }
  .desktop-mode .context-actions kbd { display:none; }
  .desktop-hint { font-size:9px; }
  .desktop-mode .instrument { padding:7px 5px; }
}
@media(max-height:470px) {
  .desktop-controls { bottom:calc(var(--bottom) + 72px); }
  .desktop-key { min-height:41px; }
  .film-subtitles { min-height:50px; }
}
