:root {
  --ink: #1b1b1e;
  --muted: #78787f;
  --canvas: #f4f5f6;
  --paper: #ffffff;
  --line: #e3e4e7;
  --yellow: #ffe66d;
}

* {
  box-sizing: border-box;
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

html {
  background: var(--canvas);
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f6f8;
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: -3%;
  background-image: url("./assets/background.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  position: relative;
  z-index: 1;
}

.hub {
  width: min(100%, 560px);
  padding: 42px 30px 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(27, 27, 30, 0.1);
}

.site-header {
  text-align: center;
}

.site-logo {
  width: min(100%, 250px);
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

h2,
p {
  margin: 0;
}

.member-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.group-social {
  margin-top: 20px;
}

.group-x-link {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.group-x-link:hover {
  background: rgba(255, 255, 255, 0.58);
}

.group-x-link:focus-visible {
  outline: 3px solid #bfa300;
  outline-offset: 3px;
}

.group-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  object-fit: contain;
  object-position: center;
  padding: 2px;
}

.group-channel-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 7px;
  object-fit: cover;
}

.group-x-link span:nth-child(3) {
  min-width: 0;
  flex: 1 1 auto;
}

.group-x-link strong,
.group-x-link small {
  display: block;
}

.group-x-link strong {
  font-size: 16px;
}

.group-x-link small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.member {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.member-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--line);
}

.member-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  background: var(--yellow);
}

.member-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.member h2 {
  font-size: 19px;
}

.member-heading p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.channel-list {
  display: grid;
}

.channel-link {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
}

.channel-link:first-child {
  border-top: 0;
}

.channel-link:hover {
  background: rgba(255, 255, 255, 0.58);
}

.channel-link:focus-visible {
  outline: 3px solid #bfa300;
  outline-offset: -3px;
}

.channel-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.channel-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 7px;
  object-fit: cover;
}

.channel-link strong,
.channel-link small {
  display: block;
}

.channel-link strong {
  font-size: 16px;
}

.channel-link small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.external {
  flex: 0 0 auto;
  color: #5e5200;
  font-size: 11px;
  font-weight: 800;
}

footer {
  margin-top: 28px;
  color: #a0a0a6;
  text-align: center;
  font-size: 11px;
}

@media (max-width: 560px) {
  .site-shell {
    display: block;
    padding: 0;
  }

  .hub {
    min-height: 100svh;
    width: 100%;
    padding: 38px 20px 24px;
    background: rgba(255, 255, 255, 0.52);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
