:root {
  --bg: #fff;
  --ink: #8b6f60;
  --accent: #708e99;
  --accent-2: #e7cdae;
  --outline: #e2e2e2;
  --shadow: #888888;
  --warn: #ffb5e3;
}

h2 {
  font-size: 17px;
  margin: 4px 0;
  padding: 0px 0;
  line-height: 1.2;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "MS UI Gothic", "MS PGothic", "Yu Gothic", Meiryo, system-ui,
    -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  image-rendering: pixelated;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ===== layout ===== */
.wrap {
  max-width: 700px;
  margin: 24px auto;
  padding: 0 12px;
}

hr {
  border: none;
  border-top: 1px dashed var(--outline);
  margin: 12px 0;
}

header {
  width: 100%;
  height: 50px;
  background: linear-gradient(to right, #fff3f5 0%, #fff 95%);
  padding: 3px;
  padding-left: 7px;
  border: #fff 2px dashed;
}

.gw {
  -webkit-animation: pop 1s ease-in-out infinite alternate;
  animation: pop 1s ease-in-out infinite alternate;
  -moz-animation: pop 1s ease-in-out infinite alternate;
}

@keyframes pop {
  from {
    transform: scale(0.95);
  }

  50% {
    transform: scale(1);
  }

  to {
    transform: scale(0.95);
  }
}

@-webkit-keyframes pop {
  from {
    -webkit-transform: scale(0.95);
  }

  50% {
    -webkit-transform: scale(1);
  }

  to {
    -webkit-transform: scale(0.95);
  }
}

header h1 {
  margin: 0 0 6px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

h1 {
  color: #fff;
  text-shadow: #c27c7c 1px 1px 2px;
  font-size: 29px;
  margin: 0;
}
.tag {
  font-size: 12px;
  opacity: 0.8;
}

nav {
  background: #fff;
  border: 1px dashed rgb(92, 119, 92);
  border-radius: 8px;
  padding: 8px;
  margin: 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: left;
}
.nav-btn {
  padding: 4px 5px;
  font-size: 15px;
}
.nav-btn:hover {
  color: rgb(100, 212, 100);
  border-radius: 4px;
}

main {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 800px) {
  main {
    grid-template-columns: 1fr;
  }
}

.panel-left {
  border: 0.15em dotted #e4e68a;
  border-radius: 8px;
  padding: 10px;
  background: linear-gradient(#f7fafc 42%, #fff 0%);
}

.panel-right {
  border: 1px solid #accab5;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.panel h2 {
  font-size: 15px;
  margin: 0 0 8px;
  border-bottom: 1px dashed var(--outline);
  padding-bottom: 4px;
}

.ticker {
  font-family: monospace;
  background: #000;
  color: #0f0;
  padding: 6px 8px;
  border-radius: 6px;
}

.updates li,
.microblog li {
  margin-bottom: 6px;
}
.button-wall {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.button {
  width: 88px;
  height: 31px;
  border: 1px solid var(--outline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: #eaf3ff;
}

footer {
  margin: 16px 0;
  text-align: center;
  font-size: 15px;
  opacity: 0.8;
}

.pill {
  display: inline-block;
  background: #fffbe6;
  border: 1px solid var(--warn);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 15px;
}
