.a {
  text-align: center;
}

.b {
  background: var(--container-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  text-align: center;
}

.c {
  padding: var(--board-padding);
  width: var(--board-width);
  height: var(--board-width);
  background: var(--board-bg);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  box-sizing: border-box;
}

.d {
  justify-content: flex-end;
  flex-wrap: wrap;
  display: flex;
  gap: 8px;
}

.e {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-color);
  cursor: pointer;
  border-radius: 8px;
  text-decoration: none;
  font-family: inherit;
  font-weight: normal;
  line-height: 1;
  font-size: 1rem;
  transition: background 0.2s, border 0.2s;
  padding: var(--a-a);
}

.e:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: var(--board-bg);
}

.e svg {
  width: 20px;
  height: 20px;
  display: block;
}

.f {
  width: 1px;
  height: 24px;
  background: var(--board-bg);
  opacity: 0.25;
  align-self: center;
}

.g {
  display: grid;
  grid-template-columns: repeat(var(--grid-cols), 1fr);
  grid-template-rows: repeat(var(--grid-rows), 1fr);
  gap: var(--board-gap);
  width: 100%;
  height: 100%;
}

.h {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--tile-size);
  font-weight: bold;
  color: #222;
  background: #FFB93B;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.h:focus-visible {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

.i {
  color: var(--text-color);
  margin-bottom: 20px;
  font-size: var(--title-size);
}

.j {
  margin-top: 15px;
  text-align: center;
  color: var(--text-color);
  font-size: var(--body-size);
}

.k {
  font-weight: bold;
  color: var(--text-color);
}

.l {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.4);
}

.m {
  text-align: center;
  background: var(--container-bg);
  color: var(--text-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  max-width: 90vw;
}

.n {
  padding: 10px 30px;
  font-size: var(--button-size);
  background: var(--button-bg);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 15px;
}

.o {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: var(--bg-gradient);
  font-family: var(--font-family);
}

.p {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 0;
  width: 100%;
}

.q {
  text-align: center;
  color: var(--text-color);
  font-size: var(--footer-size);
  padding: 8px 0 4px;
}

.q::before {
  content: "";
  display: block;
  width: 80%;
  height: 1px;
  margin: 0 auto 8px;
  background: var(--footer-line-color);
}

.q a {
  color: var(--link-color);
}

.r {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 12px 20px;
  z-index: 100;
  box-sizing: border-box;
}