.sj-portal-home {
  padding: 10px 0 12px;
}
.sj-portal-home .sj-portal-search {
  margin-top: 12px;
  margin-bottom: 0;
}
.sj-portal-home .sj-portal-hints {
  margin-top: 14px;
  margin-bottom: 12px;
}
.sj-portal-search {
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  margin: 12px 16px 0;
  padding: 6px 6px 6px 16px;
  border: 1px solid #e3e8ef;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(28, 40, 87, 0.08);
}
.sj-portal-search input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1c2430;
  font-size: 16px;
  font-family: 's-core-dream-medium', 'Noto Sans KR', sans-serif;
  outline: none;
}
.sj-portal-search input::placeholder { color: #8b95a1; }
.sj-portal-search button {
  flex: 0 0 auto;
  height: 36px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #0057ff;
  color: #fff;
  font-size: 14px;
  font-family: 's-core-dream-bold', 'Noto Sans KR', sans-serif;
  cursor: pointer;
}
.sj-portal-hints {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 10px 16px 14px;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.sj-portal-hints::-webkit-scrollbar { display: none; }
.sj-portal-hints a {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f6fa;
  color: #1c2857;
  font-size: 13px;
  text-decoration: none;
}
.sj-portal-page {
  box-sizing: border-box;
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 0 96px;
}
.sj-portal-title {
  margin: 16px 16px 0;
  font-size: 20px;
  font-family: 's-core-dream-bold', 'Noto Sans KR', sans-serif;
}
.sj-portal-block {
  margin: 16px;
  padding: 16px;
  border: 1px solid #e6ebf1;
  border-radius: 16px;
  background: #fff;
}
.sj-portal-block h1,
.sj-portal-block h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-family: 's-core-dream-bold', 'Noto Sans KR', sans-serif;
}
.sj-portal-block ul { margin: 0; padding: 0; list-style: none; }
.sj-portal-blogs {
  margin: 16px 16px 0;
}
.sj-portal-blogs > h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-family: 's-core-dream-bold', 'Noto Sans KR', sans-serif;
}
.sj-portal-blog-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sj-portal-blog-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 10px;
  border: 1px solid #e6ebf1;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}
.sj-portal-blog-row__thumb {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 10px;
  background: #f3f4f6 center/cover no-repeat;
}
.sj-portal-blog-row__thumb.is-empty {
  background: linear-gradient(160deg, #e5e7eb, #f9fafb);
}
.sj-portal-blog-row__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
}
.sj-portal-blog-row time {
  font-size: 12px;
  color: #6b7280;
}
.sj-portal-blog-row strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sj-portal-blog-row p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sj-portal-block li + li { border-top: 1px solid #f0f3f7; }
.sj-portal-block a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  color: #1c2430;
  font-size: 15px;
  text-decoration: none;
}
.sj-portal-block a b {
  flex: 0 0 auto;
  color: #0057ff;
  font-size: 12px;
  font-weight: 500;
}
.sj-portal-block p { margin: 0; color: #5c6770; font-size: 14px; }
.sj-portal-more { margin-top: 8px !important; }
.sj-portal-more a { padding: 8px 0 0; color: #0057ff; }
.sj-portal-blind {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.sj-portal-brief {
  margin: 14px 16px 0;
  padding: 16px;
  border-radius: 16px;
  background: #f4f7ff;
}
.sj-portal-brief-label {
  margin: 0 0 8px;
  color: #0057ff;
  font-size: 13px;
  font-family: 's-core-dream-bold', 'Noto Sans KR', sans-serif;
}
.sj-portal-brief-text {
  margin: 0;
  color: #1c2430;
  font-size: 15px;
  line-height: 1.55;
  word-break: keep-all;
}
.sj-portal-brief-note {
  margin: 10px 0 0;
  color: #7b8794;
  font-size: 12px;
}
.sj-portal-sites {
  margin-top: 14px;
  padding-top: 4px;
  border-top: 1px solid #e1e8f5;
}
.sj-portal-sites-label {
  margin: 10px 0 4px;
  color: #5c6770;
  font-size: 12px;
  font-family: 's-core-dream-bold', 'Noto Sans KR', sans-serif;
}
.sj-portal-sites ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.sj-portal-sites li + li {
  border-top: 0;
}
.sj-portal-sites a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border: 1px solid #d7e3ff;
  border-radius: 12px;
  background: #fff;
  color: #1c2430;
  text-decoration: none;
}
.sj-portal-go-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sj-portal-sites a b {
  color: #1c2857;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.sj-portal-go-copy span {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
.sj-portal-sites a em {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: #0057ff;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}
.sj-portal-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 16px 0;
  padding: 14px 12px;
  border: 1px solid #cfe0ff;
  border-radius: 14px;
  background: #f4f8ff;
  color: #1c2430;
  text-decoration: none;
}
.sj-portal-home .sj-portal-plan {
  margin-top: 12px;
}
.sj-portal-plan .sj-portal-go-copy span {
  color: #5c6770;
  font-size: 13px;
  font-weight: 500;
}
.sj-portal-plan em {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: #0057ff;
  color: #fff;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}
.sj-plan-card h1 {
  margin: 0 0 8px;
  font-size: 20px;
}
.sj-plan-lead {
  margin: 8px 0 0;
  color: #1c2857;
  font-weight: 700;
}
.sj-plan-card fieldset {
  margin: 14px 0 0;
  padding: 0;
  border: 0;
}
.sj-plan-card legend {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1c2857;
}
.sj-plan-card label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 10px 8px 0;
  font-size: 14px;
}
.sj-plan-card button {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: 8px;
  border: 0;
  border-radius: 12px;
  background: #0057ff;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.sj-plan-login {
  margin-top: 12px;
}
.sj-plan-login a { color: #0057ff; }
.sj-portal-price-note {
  margin: 0 0 8px;
  color: #5c6770;
  font-size: 13px;
  line-height: 1.45;
}
.sj-portal-prices { margin: 0; padding: 0; list-style: none; }
.sj-portal-prices a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
}
.sj-portal-prices img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex: 0 0 auto;
}
.sj-portal-price-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sj-portal-price-copy b {
  color: #1c2430;
  font-size: 15px;
  font-weight: 500;
}
.sj-portal-price-copy i,
.sj-portal-price-copy em {
  color: #5c6770;
  font-style: normal;
  font-size: 12px;
  line-height: 1.35;
}
.sj-portal-prices strong {
  flex: 0 0 auto;
  color: #0057ff;
  font-size: 16px;
  font-family: 's-core-dream-bold', 'Noto Sans KR', sans-serif;
}
.sj-portal-prices strong small {
  font-size: 12px;
  font-weight: 500;
}
