* { box-sizing: border-box; }

html {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: #f5f6f8;
  color: #222;
}

.container {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.notice {
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgb(0 0 0 / 8%);
}

h1 { margin-top: 0; font-size: clamp(2rem, 5vw, 3rem); }
h2 { margin-top: 32px; font-size: 1.3rem; }
.intro { font-size: 1.15rem; line-height: 1.6; }

.new-address {
  margin: 30px 0;
  padding: 20px;
  background: #f1f5f9;
  border-radius: 8px;
}

.new-address span { display: block; margin-bottom: 6px; font-weight: 600; }
.new-address a { font-size: 1.2rem; overflow-wrap: anywhere; }
.instructions { line-height: 1.6; }
.instructions li { margin-bottom: 12px; }

.redirect-box {
  margin-top: 36px;
  padding: 24px;
  text-align: center;
  background: #f1f5f9;
  border-radius: 8px;
}

#countdown {
  display: inline-block;
  min-width: 2ch;
  margin: 0 4px;
  font-size: 1.4em;
}

.button {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 22px;
  color: #fff;
  background: #1769aa;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.button:hover, .button:focus { background: #10558c; }

.language-selector {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.language-selector > span { margin-right: 4px; }

.language-button {
  padding: 7px 10px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
}

.language-button:hover { border-color: #777; }
.language-button.active { border-color: #1769aa; box-shadow: 0 0 0 2px rgb(23 105 170 / 15%); }

noscript { display: block; padding: 1rem; text-align: center; }

@media (max-width: 600px) {
  .container { width: calc(100% - 20px); margin: 10px auto; }
  .notice { padding: 24px 20px; }
  .language-selector { justify-content: center; flex-wrap: wrap; }
}
