:root {
  --page-bg: #fafafa;
  --surface: #ffffff;
  --text-main: #000000;
  --text-primary: #111111;
  --text-secondary: #555555;
  --link-color: #4270ed;
  --app-width-mobile: 375px;
  --app-width-tablet: 768px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  font-family: "PingFang TC", "Noto Sans TC", sans-serif;
  color: var(--text-main);
}

.app {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--page-bg);
  overflow-x: hidden;
  overflow-y: hidden;
}

.top {
  background: var(--surface);
}

.header-bar {
  width: 100%;
  height: 40px;
  display: grid;
  grid-template-columns: 41px minmax(0, 1fr);
  align-items: center;
  background: var(--surface);
}

.header-logo {
  width: 40px;
  height: 40px;
  display: block;
}

.header-title-wrap {
  width: 100%;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  overflow: hidden;
}

.header-title {
  margin: 0;
  font-family: "SF Pro Text", "PingFang TC", sans-serif;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.5px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.content {
  flex: 1;
  padding: 60px 25px 20px;
  display: flex;
  justify-content: center;
}

.notice {
  width: min(560px, calc(100vw - 50px));
  min-width: 325px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.notice h1 {
  margin: 0;
  text-align: center;
  font-size: 21px;
  font-weight: 600;
  line-height: 29px;
}

.notice-body {
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--text-secondary);
}

.notice-body p {
  margin: 0;
  white-space: pre-line;
}

.highlight {
  color: var(--text-main);
}

.notice-body a {
  display: block;
  color: var(--link-color);
  text-decoration: underline;
}

.footer {
  background: transparent;
  padding: 0;
}

@media (min-width: 768px) {
  .app {
    min-height: 1133px;
  }

  .header-logo {
    width: 41px;
    height: 40px;
  }
}
