
@font-face { font-family: 'Pretendard'; font-weight: 400; font-display: swap; src: url(fonts/Pretendard-Regular.woff2) format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 500; font-display: swap; src: url(fonts/Pretendard-Medium.woff2) format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 600; font-display: swap; src: url(fonts/Pretendard-SemiBold.woff2) format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 700; font-display: swap; src: url(fonts/Pretendard-Bold.woff2) format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 800; font-display: swap; src: url(fonts/Pretendard-ExtraBold.woff2) format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 900; font-display: swap; src: url(fonts/Pretendard-Black.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-mono-latin-700-normal.woff2) format('woff2'); }

:root {
    --ink: #111;
    --paper: #f4f2ec;
    --accent: #ffe14d;
    --muted: #6b6b6b;
}

body {
    font-family: 'Pretendard', sans-serif;
    background: var(--paper);
    color: var(--ink);
}
.mono { font-family: 'IBM Plex Mono', monospace; }
.muted { color: var(--muted); }

.logo-box { height: 56px; width: 86px; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-box img { height: 90px; width: auto; max-width: none; }

.card { display: block; background: #fff; border: 2px solid var(--ink); transition: transform .12s, box-shadow .12s; }
a.card:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--ink); }
.thumb { aspect-ratio: 1 / 1; border-bottom: 2px solid var(--ink); display: flex; flex-direction: column; justify-content: space-between; padding: 14px; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.box { background: #fff; border: 2px solid var(--ink); }
.box-shadow { box-shadow: 5px 5px 0 var(--ink); }

.tag { display: inline-block; border: 1.5px solid var(--ink); padding: 1px 6px; font-size: 11px; font-weight: 700; line-height: 1.5; background: #fff; }
.tag-ink { background: var(--ink); color: #fff; }
.tag-accent { background: var(--accent); }
.tag-red { border-color: #c62828; color: #c62828; }
.tag-amber { border-color: #b26a00; color: #b26a00; }

.btn { display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--ink); font-weight: 800; padding: 10px 16px; transition: background .12s, color .12s; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--ink); color: var(--accent); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #333; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.note { border: 2px dashed var(--ink); padding: 12px; text-align: center; font-weight: 700; font-size: 14px; background: #fff; }

.field { width: 100%; background: #fff; border: 2px solid var(--ink); padding: 10px 12px; font-size: 14px; outline: none; }
.field:focus { box-shadow: 3px 3px 0 var(--accent); }
.label { display: block; font-size: 12px; font-weight: 800; margin-bottom: 6px; }

.cat-btn { padding: 14px 2px; margin-right: 22px; color: var(--muted); font-weight: 700; border-bottom: 3px solid transparent; white-space: nowrap; }
.cat-btn:hover { color: var(--ink); }
.cat-btn.on { color: var(--ink); border-color: var(--ink); }

.tab { padding: 12px 16px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; }
.tab-active { color: var(--ink); border-color: var(--ink); }

.cat-excel { background: #e8f3e4; }
.cat-web   { background: #e4eef7; }
.cat-image { background: #efe8f6; }
.cat-rank  { background: #f7efdc; }
.cat-other { background: #ececec; }

.code { font-family: 'IBM Plex Mono', monospace; font-size: 12px; line-height: 1.55; }
.code .ln { color: #999; user-select: none; display: inline-block; width: 3.5em; text-align: right; margin-right: 1em; }
.code .hit { background: var(--accent); }

.doc h2 { font-weight: 900; font-size: 17px; margin: 28px 0 8px; }
.doc p, .doc li, .doc td, .doc th { font-size: 14px; line-height: 1.8; }
.doc ol { list-style: decimal; padding-left: 20px; }
.doc ul { list-style: disc; padding-left: 20px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.doc th, .doc td { border: 1.5px solid #111; padding: 6px 8px; text-align: left; vertical-align: top; }
.doc th { background: #f4f2ec; }

.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.or-line { display: flex; align-items: center; gap: 8px; }
.or-line::before, .or-line::after { content: ""; flex: 1; border-top: 1.5px solid #d6d3cc; }

.sns-img-btn { display: block; border-radius: 8px; }
.sns-img-btn img { display: block; width: 100%; height: auto; }
.sns-img-btn:focus-visible { outline: 2px solid #111; outline-offset: 2px; }

.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 10px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}

.gsi-material-button .gsi-material-button-icon svg { display: block; }
.gsi-wide { display: block; width: 100%; max-width: none; height: 50px; text-decoration: none; }

.beta-bar { background: var(--accent); color: var(--ink); text-align: center; font-size: 13px; font-weight: 700; padding: 6px 12px; border-bottom: 2px solid var(--ink); }
