/* New icons apply only to items positively recognized in the side menu. */
.th-menu-icon {
  width: 39px; height: 39px; min-width: 39px; flex: 0 0 39px;
  display: inline-flex; align-items: center; justify-content: center;
  vertical-align: middle; border-radius: 12px; margin-right: 3px;
  background: linear-gradient(145deg, var(--th-icon-hi), var(--th-icon-lo));
  border: 1px solid rgba(255,255,255,.40);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 0 rgba(31,78,115,.12), 0 5px 10px rgba(19,45,84,.12);
  color: white; box-sizing: border-box;
}
.th-menu-icon svg { display: block; width: 23px; height: 23px; stroke: currentColor; stroke-width: 2.15; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.th-menu-icon[data-kind="home"] { --th-icon-hi: #47a9f5; --th-icon-lo: #1675c5; }
.th-menu-icon[data-kind="ships"] { --th-icon-hi: #34bdca; --th-icon-lo: #168aab; }
.th-menu-icon[data-kind="board"] { --th-icon-hi: #437ed9; --th-icon-lo: #225aaf; }
.th-menu-icon[data-kind="map"] { --th-icon-hi: #7e8ee9; --th-icon-lo: #4e60bb; }
.th-menu-icon[data-kind="shared"] { --th-icon-hi: #e9ad59; --th-icon-lo: #c38125; }
.th-menu-icon[data-kind="about"] { --th-icon-hi: #ae8ada; --th-icon-lo: #7853bb; }
.th-menu-row { gap: 11px !important; align-items: center !important; }
.th-menu-row .th-menu-icon { order: -1; }

/* About: standalone accessible information dialog, not the previous small popup. */
#th-about-backdrop { position: fixed; z-index: 2147483600; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12,28,48,.64); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); padding: 14px; box-sizing: border-box; }
#th-about-panel { position: relative; width: min(660px,100%); max-height: min(860px, calc(100dvh - 28px));
  overflow: auto; overscroll-behavior: contain; background: #f8fbff; border-radius: 25px;
  box-shadow: 0 24px 80px rgba(6,21,42,.36); border: 1px solid #d2e0ec;
  color:#263c55; font-family: inherit; box-sizing: border-box; }
#th-about-panel * { box-sizing: border-box; }
#th-about-panel .th-about-hero { position: relative; padding: 31px 27px 25px;
  background: linear-gradient(132deg, #153b62 0%, #23618c 65%, #3182ad 100%); color:#fff; }
#th-about-panel .th-about-eyebrow { display: inline-block; margin-bottom: 11px;
  color:#c5e7fa; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
#th-about-panel h2 { margin: 0 45px 12px 0; font-size: clamp(24px, 5.1vw, 32px);
  line-height: 1.13; font-weight: 800; color: white; }
#th-about-panel .th-about-lead { margin:0; font-size: 16px; line-height:1.57; color:#e1f1fc; }
#th-about-panel .th-about-close { position: absolute; top:17px; right:17px;
  border: 1px solid rgba(255,255,255,.26); border-radius: 12px; width: 39px; height:39px;
  display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.16);
  color:#fff; font-size:25px; cursor:pointer; }
#th-about-panel .th-about-close:hover { background:rgba(255,255,255,.30); }
#th-about-panel .th-about-body { padding: 25px 27px 28px; }
#th-about-panel .th-about-body > p { margin:0 0 20px; font-size:15px; line-height:1.72; }
#th-about-panel h3 { margin:23px 0 12px; font-size:18px; line-height:1.25; color:#153b60; }
#th-about-panel .th-about-cards { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:14px; }
#th-about-panel .th-about-card { background:#fff; border:1px solid #d9e5ef; padding:18px;
  border-radius:17px; box-shadow:0 4px 14px rgba(23,65,97,.045); }
#th-about-panel .th-about-card .th-card-symbol { width:37px; height:37px; display:flex;
  align-items:center; justify-content:center; background:#e6f3fc; border-radius:11px;
  color:#276c9f; margin-bottom:12px; }
#th-about-panel .th-about-card svg { width:23px; height:23px; fill:none; stroke:currentColor;
  stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
#th-about-panel .th-about-card b { display:block; margin-bottom:7px; font-size:15px; color:#1e456c; }
#th-about-panel .th-about-card p { margin:0; color:#5a6f83; font-size:14px; line-height:1.54; }
#th-about-panel .th-about-note { background:#eef5fa; border-left:4px solid #489ac8;
  border-radius:11px; padding:13px 15px; margin-top:21px; font-size:13px;
  color:#526a80; line-height:1.65; }
#th-about-panel .th-about-contacts { display:flex; flex-wrap:wrap; gap:9px; margin-top:12px; }
#th-about-panel .th-about-contacts a { display:inline-flex; text-decoration:none; color:#195e91;
  background:#e8f4fc; border:1px solid #cfe5f5; padding:10px 14px; border-radius:11px;
  font-size:14px; font-weight:750; }
#th-about-panel .th-about-contacts a:hover { background:#d8edf9; }
#th-about-panel .th-about-bottom { border:0; border-radius:12px; background:#183b62;
  color:white; font:inherit; font-weight:750; width:100%; padding:14px; margin-top:23px; cursor:pointer; }
#th-about-panel .th-about-bottom:hover { background:#245989; }
@media (max-width: 500px) {
  #th-about-backdrop { padding: 10px; }
  #th-about-panel { border-radius: 21px; max-height:calc(100dvh - 20px); }
  #th-about-panel .th-about-hero { padding:27px 20px 22px; }
  #th-about-panel .th-about-body { padding:22px 20px 23px; }
  #th-about-panel .th-about-cards { grid-template-columns:1fr; gap:10px; }
  #th-about-panel .th-about-card { padding:15px; }
}
@media (prefers-reduced-motion: reduce) { #th-about-backdrop { backdrop-filter:none; } }
