.trailer-button { display:inline-flex; align-items:center; justify-content:center; gap:7px; }
.trailer-button small { color:#d8dbc5; font-size:10px; }
.driver-trailer { display:block; width:100%; max-height:min(65dvh,520px); background:#0d1925; border:1px solid #658777; border-radius:14px; }

.ride-talk {
  z-index:5;
  width:min(352px,calc(100vw - 164px));
  max-width:none;
  pointer-events:none;
  padding:6px;
  background:#152b27f4;
  border-color:#98c2996b;
  color:#f0f3d9;
}
.ride-talk:has(#ride-caption[hidden]) { width:max-content; }
.ride-toolbar { display:flex; flex-wrap:wrap; gap:5px; }
.ride-toolbar button,.ride-type button { pointer-events:auto; }
.ride-toolbar button { display:inline-flex; align-items:center; gap:5px; font-weight:800; }
.ride-toolbar svg { width:15px; height:15px; }
.ride-caption { margin:6px 0 1px; padding:6px 7px; border-radius:8px; background:#17241fa0; }
.ride-talk .ride-speaker { color:#c8efb1; }
.ride-talk .ride-caption p { font-size:12px; line-height:1.35; margin:3px 0 0; }
.ride-type { display:flex; gap:6px; margin-top:8px; }
.ride-type input { flex:1; min-width:0; padding:6px 8px; border:1px solid #8aaa91; border-radius:8px; background:#0e2320; color:#f1f6ec; font-size:16px; pointer-events:auto; }
.ride-type button { flex:none; }
@media(max-width:700px) {
  .ride-talk { width:min(315px,calc(100vw - 122px)); }
  .nav-card:not([hidden])~.ride-talk { top:calc(var(--top) + 115px); }
}
@media(max-height:490px) and (orientation:landscape) {
  .ride-talk { max-height:calc(100dvh - 177px); overflow:auto; }
}
@media(max-width:360px) {
  .ride-talk .ride-caption p { font-size:11px; }
}

.phone-off-card .phone-off-mark { display:grid; place-items:center; width:48px; height:48px; border-radius:14px; background:#523c37; color:#ffd7af; }
.phone-off-card .phone-off-mark svg { width:26px; height:26px; }
.phone-off-card h3 { margin-top:14px; }

.phone-game-lobby,.phone-game-play { color:#f2eedc; }
.phone-game-cover { display:flex; gap:12px; align-items:center; padding:16px 13px; margin-bottom:11px; background:linear-gradient(135deg,#263e45,#284035 66%,#323249); border:1px solid #7c9c8e; border-radius:17px; }
.phone-game-cover>span,.phone-game-icon { flex:none; display:grid; place-items:center; border-radius:13px; width:39px; height:39px; background:#bcdfb9; color:#17352c; }
.phone-game-cover h3,.phone-game-cover p,.phone-game-tile h3,.phone-game-tile p { margin:0; }
.phone-game-cover p { margin-top:4px; font-size:11px; color:#d5e2d4; }
.phone-game-tile { display:grid; grid-template-columns:auto minmax(0,1fr); gap:10px; align-items:start; margin-bottom:9px; padding:11px; border:1px solid color-mix(in srgb,var(--game-accent) 44%,#263b38); border-radius:13px; background:linear-gradient(115deg,#22372f,#172821); }
.phone-game-icon { background:var(--game-accent); color:#23362e; }
.phone-game-tile h3 { color:var(--game-accent); font-size:14px; line-height:1.22; }
.phone-game-tile p { font-size:11px; line-height:1.34; margin:3px 0; color:#d1dbcc; }
.phone-game-tile small { color:#bdd1c3; font-size:10px; }
.phone-game-tile button { grid-column:2; justify-self:start; padding:5px 14px; min-height:34px; }
.phone-game-top { display:flex; gap:7px; align-items:center; margin-bottom:8px; }
.phone-game-top button { display:inline-flex; flex:none; align-items:center; gap:4px; min-height:36px; padding:4px 6px; font-size:10px; }
.phone-game-top button svg { transform:rotate(180deg); width:13px; height:13px; }
.phone-game-top h3 { margin:0; font-size:15px; color:var(--game-accent); line-height:1.15; }
.phone-game-hud { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 9px; padding:6px 8px; margin-bottom:6px; background:#284238; border-radius:8px; font-size:11px; }
.phone-game-hud strong { color:var(--game-accent); font-size:13px; }
.phone-game-hud time { margin-left:auto; }
.phone-game-hud small { flex-basis:100%; color:#c7ddd0; font-size:10px; }
.phone-game-screen { position:relative; isolation:isolate; border:1px solid color-mix(in srgb,var(--game-accent) 48%,#223a31); border-radius:12px; overflow:hidden; background:#192e31; }
.phone-game-screen canvas { display:block; width:100%; height:auto; }
.phone-game-overlay { position:absolute; inset:0; display:grid; place-items:center; padding:8px; text-align:center; background:#0c1e22c9; }
.phone-game-overlay>div { width:min(100%,270px); padding:8px; border:1px solid #b9d5a88c; border-radius:11px; background:#172f29ef; }
.phone-game-overlay svg { color:var(--game-accent); width:20px; height:20px; }
.phone-game-overlay h3,.phone-game-overlay p { margin:3px 0 5px; }
.phone-game-overlay h3 { font-size:14px; }
.phone-game-overlay p { font-size:11px; color:#e0ead7; }
.phone-game-overlay .action-row { justify-content:center; flex-wrap:wrap; gap:5px; margin:5px 0 0; }
.phone-game-overlay button { min-height:34px; padding:4px 8px; font-size:11px; }
.phone-recipe { margin:7px 0; color:#f6e6ad; font-size:11px; line-height:1.35; }
.phone-game-controls { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin-top:8px; }
.phone-game-controls[data-game="claw"] { grid-template-columns:repeat(5,minmax(0,1fr)); }
.phone-game-controls button { display:grid; justify-items:center; align-content:center; min-height:42px; min-width:0; padding:4px 2px; font-size:11px; line-height:1.15; }
.phone-game-controls kbd { opacity:.64; margin-top:3px; font-size:9px; }
.touch-mode .phone-game-controls kbd { display:none; }
.phone-collection { padding:9px 11px; margin-top:11px; border-radius:11px; border:1px solid #8f729c; background:#272d3a; }
.phone-collection h3 { margin:0 0 6px; font-size:13px; color:#f4c8fb; }
.phone-collection div { display:grid; grid-template-columns:13px 1fr auto; align-items:center; gap:5px; padding:4px 0; font-size:11px; }
.phone-collection i { width:9px; height:9px; border-radius:50%; }

.snow-phase340 { display:inline-flex; align-items:center; gap:5px; margin-top:8px; padding:5px 8px; border-radius:7px; background:#2c474b; color:#daefff; }
.snow-phase340 svg { width:14px; height:14px; }
