
    * { box-sizing:border-box; }
    [hidden] { display:none!important; }
    html,body { height:100%; margin:0; }
    body { color:#f2eee4; background:#142027; font:16px/1.5 "Microsoft YaHei","PingFang SC",system-ui,sans-serif; }
    .harbor { width:100%; height:100%; height:100dvh; container-type:size; background:linear-gradient(0deg,#091317a8,#11202330),url('/games/saltline/harbor.jpg') center/cover; }
    main { display:flex; width:100%; height:100%; overflow:auto; overscroll-behavior:contain; padding:16px;
      padding-inline:max(12px,var(--sal,0px),var(--sar,0px)); padding-block:max(8px,var(--sat,0px),var(--sab,0px)); }
    .card { width:min(100%,440px); margin:auto; padding:24px 30px; border:1px solid #85918b; border-radius:6px; background:#111d23f5; box-shadow:0 15px 70px #0007; }
    header { display:flex; align-items:baseline; justify-content:space-between; gap:10px; padding-bottom:12px; margin-bottom:14px; border-bottom:1px solid #455359; }
    h1,h2,p { margin:0; }
    h1 { color:#f1d39c; font-size:23px; letter-spacing:.06em; line-height:1.2; }
    header span,.small { font-size:13px; }
    header span { color:#b9c6c9; }
    h2 { margin-bottom:12px; font-size:26px; line-height:1.2; }
    p { color:#c5cecc; }
    .actions { display:flex; gap:8px; flex-wrap:wrap; }
    .actions { align-items:center; }
    button,a.button { font:inherit; font-weight:650; border:1px solid #84908b; background:#293940; color:#f3f3ee; cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:6px 14px; border-radius:3px; }
    .actions .primary { flex:1; }
    button.small { font-size:13px; }
    .primary { background:#e6bd75; color:#142027; border-color:#f7d79e; }
    button:focus-visible,a:focus-visible { outline:3px solid #fff3a0; outline-offset:2px; }
    button:disabled { opacity:.65; }
    #address { font:15px/1.5 monospace; overflow-wrap:anywhere; color:#d7dfdf; }
    #login p,#lobby p { margin:7px 0 11px; }
    footer { display:flex; align-items:center; gap:12px; justify-content:space-between; margin-top:10px; }
    .notice { color:#efc98a; font-size:13px; }
    footer .mobile-only { flex-shrink:0; background:transparent; font-size:13px; padding:4px 10px; min-height:32px; }
    [data-screen-help] { margin-top:7px; font-size:13px; color:#e8c993; }
    @container (max-height:500px) and (min-width:480px) {
      .card { width:min(100%,540px); padding:12px 20px; }
      header { padding-bottom:6px; margin-bottom:8px; } h1 { font-size:19px; } h2 { font-size:21px; margin-bottom:8px; }
      button,a.button { min-height:36px; } footer { margin-top:6px; }
    }
    @container (max-height:345px) and (min-width:480px) {
      .card { width:min(100%,570px); padding:8px 16px; }
    }
  