:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #0f1115;
  --panel-soft: #151821;
  --line: #282c36;
  --text: #f1f5f9;
  --muted: #8f99aa;
  --muted-strong: #b5bfcc;
  --accent: #e8f0ff;
  --danger: #ffb4b4;
  --good: #c8ffd4;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(91, 124, 255, 0.16), transparent 30%),
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.08), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
textarea {
  font: inherit;
}

.ad-page {
  width: min(1136px, calc(100% - 28px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 160px minmax(0, 760px) 160px;
  gap: 28px;
  align-items: start;
}

.page-shell {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.ad-rail {
  position: sticky;
  top: 24px;
  padding-top: 48px;
}

.root-ad-slot {
  overflow: hidden;
  border-radius: 0;
}

.root-ad-slot[hidden],
.root-ad-slot.ad-off {
  display: none;
}

.root-ad-slot-top,
.root-ad-slot-bottom {
  width: 100%;
  min-height: 90px;
  margin: 0 auto 18px;
}

.root-ad-slot-bottom {
  margin: 22px auto 0;
}

.root-ad-slot-side {
  width: 160px;
  min-height: 600px;
}

.root-ad-slot-square {
  width: min(300px, 100%);
  min-height: 250px;
  margin: 22px auto;
}

.root-ad-slot .adsbygoogle,
.root-ad-slot .kakao_ad_area {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.namecard {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(15, 17, 21, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
}

.namecard h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 6vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.namecard p:last-child {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.feed-shell {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(10, 12, 16, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.rule-panel {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent);
}

.rule-panel summary,
.score-details summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.rule-panel summary::-webkit-details-marker,
.score-details summary::-webkit-details-marker {
  display: none;
}

.rule-panel summary {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px 22px;
  color: var(--muted-strong);
}

.toggle-label {
  color: var(--accent);
  font-weight: 750;
}

.summary-title {
  font-weight: 750;
}

.rule-copy {
  padding: 0 22px 20px;
  color: var(--muted-strong);
  line-height: 1.7;
  font-size: 14px;
}

.rule-copy p {
  margin: 10px 0;
}

.rule-copy code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #090b10;
  color: var(--accent);
}

.composer {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #171b24;
  color: var(--accent);
  font-weight: 800;
}

.compose-body textarea {
  width: 100%;
  resize: vertical;
  min-height: 84px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 21px;
  line-height: 1.45;
}

.compose-body textarea::placeholder {
  color: #626c7c;
}

.compose-actions,
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.turnstile-wrap {
  margin-top: 14px;
  min-height: 65px;
}

.char-counter,
.mode-badge {
  color: var(--muted);
  font-size: 13px;
}

button {
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--accent);
  color: #06070a;
  font-weight: 850;
  cursor: pointer;
}

button:disabled {
  opacity: 0.5;
  cursor: wait;
}

.ghost-button {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.toolbar {
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.status {
  min-height: 0;
  padding: 0 22px;
  color: var(--muted-strong);
  font-size: 14px;
}

.status:not(:empty) {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.feed-list {
  min-height: 120px;
}

.empty {
  padding: 38px 22px;
  color: var(--muted);
  text-align: center;
}

.tweet-card {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.005);
}

.tweet-card:last-child {
  border-bottom: 0;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #121620;
  color: var(--accent);
  font-weight: 850;
}

.ad-badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--muted-strong);
}

.message-text {
  margin: 0 0 12px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.score-details {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #0b0d12;
}

.score-details summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--muted-strong);
  font-size: 13px;
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.score-table th,
.score-table td {
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.score-table th {
  color: var(--muted);
  font-weight: 650;
  width: 36%;
}

.score-table td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-weight: 800;
}

.powered {
  padding: 16px 22px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 560px) {
  .ad-page {
    display: block;
    width: min(100% - 16px, 760px);
  }

  .page-shell {
    width: min(100% - 16px, 760px);
    padding-top: 18px;
  }

  .ad-rail {
    display: none;
  }

  .root-ad-slot-top,
  .root-ad-slot-bottom {
    min-height: 100px;
    border-radius: 0;
  }

  .root-ad-slot-square {
    min-height: 250px;
  }

  .namecard,
  .feed-shell {
    border-radius: 22px;
  }

  .composer {
    grid-template-columns: 1fr;
  }

  .avatar {
    display: none;
  }

  .compose-body textarea {
    font-size: 18px;
  }

  .card-top {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 561px) and (max-width: 1179px) {
  .ad-page {
    display: block;
    width: min(760px, calc(100% - 28px));
  }

  .ad-rail {
    display: none;
  }
}


/* eff0rtchung.kr style home block */
.site-home {
  padding: 30px 34px;
}

.site-home h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 7vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.home-links {
  margin: 0;
  padding-left: 0;
  display: grid;
  gap: 12px;
  color: var(--muted-strong);
  list-style: none;
}

.home-links li {
  margin: 0;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration-color: rgba(241, 245, 249, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.home-link:hover,
.home-link:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.link-icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  color: currentColor;
  opacity: 0.88;
  transform: translateY(1px);
}

.github-icon {
  fill: currentColor;
}

.doc-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-link:hover .link-icon,
.home-link:focus-visible .link-icon {
  opacity: 1;
}

@media (max-width: 560px) {
  .site-home {
    padding: 24px 22px;
  }

  .home-links {
    gap: 10px;
  }
}
