
  /* Route switching */
  /* Views */
  #appView{ display:block; }
  #legalView{ display:none; }

  body.route-legal #appView{ display:none; }
  body.route-legal #legalView{ display:block; }

  /* Legal layout (no cards / no boxes) */
  .legalInner{
    width:100%;
    max-width:860px;
    margin:0 auto;
    padding:12px 0 28px;
  }
  .legalTopRow{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin-top:6px;
  }
  .legalBack{
    font-size:12px;
    font-weight:900;
    color:rgba(15,23,42,.60);
    text-decoration:none;
    letter-spacing:.01em;
    -webkit-tap-highlight-color:transparent;
  }
  .legalBack:hover{ text-decoration:underline; }

  .legalMiniNav{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
  }
  .legalMiniLink{
    font-size:12px;
    font-weight:900;
    color:rgba(15,23,42,.60);
    text-decoration:none;
    -webkit-tap-highlight-color:transparent;
    white-space:nowrap;
  }
  .legalMiniLink:hover{ text-decoration:underline; }
  .legalMiniLink.isActive{
    color:rgba(15,23,42,.88);
    text-decoration:underline;
  }

  .legalContent{
    margin-top:16px;
  }
  .legalContent h1{
    font-size:clamp(28px, 4.2vw, 44px);
    line-height:1.06;
    letter-spacing:-.02em;
    margin:10px 0 10px;
    color:rgba(15,23,42,.94);
  }
  .legalSubtitle{
    font-size:clamp(14px, 2.1vw, 18px);
    line-height:1.45;
    margin:0 0 10px;
    color:rgba(15,23,42,.68);
    font-weight:700;
  }
  .legalMeta{
    font-size:12px;
    line-height:1.35;
    margin:0 0 20px;
    color:rgba(15,23,42,.50);
    font-weight:800;
  }
  .legalContent h2{
    font-size:clamp(16px, 2.3vw, 22px);
    line-height:1.2;
    margin:22px 0 8px;
    color:rgba(15,23,42,.92);
    letter-spacing:-.01em;
  }
  .legalContent p,
  .legalContent li{
    font-size:clamp(14px, 1.9vw, 16px);
    line-height:1.6;
    color:rgba(15,23,42,.82);
  }
  .legalContent ul{
    margin:10px 0 8px;
    padding-left:18px;
  }
  .legalContent a{
    color:rgba(10,132,255,.95);
    font-weight:850;
    text-decoration:none;
  }
  .legalContent a:hover{
    text-decoration:underline;
  }
