:root {
  color-scheme: light;
  font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.55;
  color: #17283a;
  background: #f1f5fa;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #13529c; }

.shell { width: min(64rem, calc(100% - 2.5rem)); margin-inline: auto; }
.site-header { background: #10233b; color: #fff; }
.header-inner { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-size: 1.15rem; font-weight: 700; letter-spacing: .025em; }
.header-link { color: #fff; font-weight: 600; text-underline-offset: .25em; }
main { padding-block: clamp(2rem, 6vw, 4.5rem); }
h1 { font-size: clamp(1.9rem, 6vw, 3.15rem); line-height: 1.18; margin: 0 0 1.75rem; }

.stores {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
}
.store {
  display: grid;
  align-content: center;
  gap: .3rem;
  min-height: 5.75rem;
  height: 100%;
  border: 1px solid #d0dce9;
  border-radius: .7rem;
  background: #fff;
  padding: 1rem 1.15rem;
  color: #12325b;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.store:hover { background: #eaf2ff; border-color: #4474bb; }
.store-name { font-weight: 700; font-size: 1.06rem; }
.store-host { font-size: .875rem; color: #465b73; }
.empty { color: #465b73; margin: 0; }

.panel {
  max-width: 36rem;
  padding: clamp(1.15rem, 5vw, 2rem);
  display: grid;
  gap: .6rem;
  background: #fff;
  border: 1px solid #d0dce9;
  border-radius: .8rem;
}
label { font-weight: 650; }
input, button { font: inherit; border-radius: .4rem; }
input { min-width: 0; padding: .65rem .75rem; border: 1px solid #8c9eb5; color: #17283a; margin-bottom: .5rem; }
button { justify-self: start; padding: .65rem 1.05rem; background: #174c8f; color: #fff; font-weight: 700; border: 0; cursor: pointer; }
button:hover { background: #123b73; }
:focus-visible { outline: .18rem solid #387bce; outline-offset: .2rem; }
.notice { padding: .65rem .75rem; border-radius: .4rem; margin: 0 0 .55rem; color: #09503a; background: #e4f5ec; }
.notice.error { color: #821f28; background: #fff0f1; }
