/* 사이트에 없는 한글(사용자 이름 등)용. 아래 기본 글꼴에 없는 글자가 나올 때만 내려받는다
   (같은 이름의 글꼴은 뒤에 선언한 것부터 찾는다) */
@font-face {
  font-family: "ChubbyEdu Sans";
  src: url("./assets/pretendard-ko-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+AC00-D7A3;
}
@font-face {
  font-family: "ChubbyEdu Sans";
  src: url("./assets/pretendard-ko.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}


:root {
  color-scheme: light;
  --page: #f8f7fb;
  --surface: #fff;
  --ink: #211b2f;
  --muted: #625b6f;
  --line: #e8e4ee;
  --violet: #5f46bf;
  --violet-dark: #49328f;
  --focus: #674cd1;
  --radius: 20px;
  --max-width: 1200px;
  --gutter: clamp(20px, 4.2vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.5 "ChubbyEdu Sans", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden], [data-enhanced="false"] .enhanced { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: #ded4fb; color: #271350; }

.wrap {
  width: min(calc(100% - var(--gutter) * 2), var(--max-width));
  margin-inline: auto;
}

.icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--surface);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid #eeeaf2; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  width: fit-content;
  gap: 10px;
  align-items: center;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: #6751c8;
  color: white;
}
.brand-mark .icon { width: 25px; height: 25px; }
.wordmark {
  font-size: 26px;
  font-weight: 870;
  line-height: 1;
  letter-spacing: -.075em;
}
.wordmark span { font-weight: 680; }
.wordmark b { color: #7459cc; margin-left: 1px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link, .nav-plans, .language-switch, .nav-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
  white-space: nowrap;
}
.nav-link:hover { background: #f0edf7; color: var(--violet-dark); }
.nav-link[aria-current] { background: #eee9f8; color: #53389e; }
.header-actions {
  display: flex;
  justify-self: end;
  gap: 8px;
}
.language-switch {
  gap: 7px;
  border: 1px solid #e6ddf3;
  background: #f0ebfa;
  color: #523993;
}
.language-switch:hover { border-color: #c6b6eb; background: #e8def9; }
.language-switch .icon { width: 17px; height: 17px; }
.nav-plans {
  gap: 8px;
  border: 1px solid #e4ddef;
  background: #fcfbfe;
  color: #4b356f;
}
.nav-plans:hover { border-color: #c6b6eb; background: #f0eafa; }
.nav-plans .icon { width: 17px; height: 17px; }
.nav-account {
  gap: 8px;
  max-width: 200px;
  border: 1px solid #6a4fc4;
  background: #6a4fc4;
  color: #fff;
  box-shadow: 0 1px 2px rgb(60 30 130 / 18%);
}
.nav-account:hover { border-color: #5a3fb3; background: #5a3fb3; }
.nav-account .icon { width: 17px; height: 17px; flex: none; }
.nav-account span { overflow: hidden; text-overflow: ellipsis; }
.nav-account[data-signed-in] { border-color: #e4ddef; background: #fcfbfe; color: #4b356f; box-shadow: none; }
.nav-account[data-signed-in]:hover { border-color: #c6b6eb; background: #f0eafa; }
.card-header-end { display: flex; align-items: center; gap: 0; }
.card-header-end .save-tool { width: 38px; height: 38px; margin: 0 -9px 0 0; }
.access-badge {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}
.access-badge.is-active { background: #e3f6ee; color: #0e6b47; }
.access-badge.is-paid { background: #fdf1d9; color: #8a5a0b; }
.access-badge.is-free { background: #eef0f4; color: #4a5468; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 386px;
  margin-top: 32px;
  border: 1px solid #3c2c54;
  border-radius: 29px;
  background:
    radial-gradient(ellipse at 81% 61%, #503a70 0%, transparent 58%),
    linear-gradient(115deg, #241a35 13%, #312043 76%, #38254c);
  color: #fbf8ff;
}
.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 42px 0 44px clamp(32px, 4.4vw, 64px);
}
.hero-label {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 11px;
  border: 1px solid #7b6593;
  border-radius: 999px;
  background: #f2e8ff0c;
  color: #f0e6ff;
  font-size: 12px;
  font-weight: 660;
}
.hero-label span {
  width: 6px;
  height: 6px;
  background: #d8c5ff;
  border-radius: 50%;
}
.hero h1 {
  margin: 18px 0 15px;
  font-size: clamp(46px, 5vw, 73px);
  font-weight: 850;
  line-height: 1.095;
  letter-spacing: -.059em;
  word-break: keep-all;
}
.hero h1 em { color: #dac9ff; font-style: normal; }
.hero-description {
  color: #e1d8ed;
  font-size: clamp(15px, 1.24vw, 17px);
  letter-spacing: -.018em;
  word-break: keep-all;
}
html[lang="en"] .hero h1 {
  font-size: clamp(44px, 4.95vw, 70px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
html[lang="en"] .hero-description { max-width: 400px; }
html[lang="en"] .hero-copy { grid-column: 1 / 3; width: 53%; }
html[lang="en"] .tool-card { min-height: 213px; }
html[lang="en"] .plans h2 { letter-spacing: -.047em; }
.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 19px;
  min-height: 49px;
  margin-top: 25px;
  padding: 0 16px 0 18px;
  border-radius: 11px;
  background: #e1d5fd;
  color: #312054;
  font-size: 15px;
  font-weight: 780;
  transition: background-color .16s, transform .16s;
}
.hero-button:hover { background: #f0e8ff; transform: translateY(-2px); }
.hero-button:focus-visible { outline-color: #f9f0ff; }
.hero-button .icon { width: 18px; height: 18px; }

.hero-visual {
  position: absolute;
  inset: 0 0 0 43%;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#e1c7ff 0.75px, transparent 0.75px);
  background-size: 18px 18px;
  opacity: .21;
  mask-image: radial-gradient(ellipse 68% 68% at 57% 50%, #000 5%, transparent 95%);
}
.hero-orbit {
  position: absolute;
  left: 53%;
  top: 52%;
  width: min(76%, 494px);
  aspect-ratio: 1;
  border: 1px solid #c4a8ee38;
  border-radius: 50%;
  transform: translate(-50%, -50%) scaleY(.69) rotate(-7deg);
}
.hero-orbit-inner { width: min(64%, 413px); opacity: .7; }
.hero-visual picture {
  position: absolute;
  left: 13%;
  right: 8%;
  bottom: 8%;
}
.hero-visual img { display: block; width: 100%; height: auto; }

.catalog {
  padding: 45px 0 55px;
  scroll-margin-top: 12px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.section-heading h2, .plans h2 {
  font-size: clamp(30px, 3vw, 41px);
  font-weight: 830;
  line-height: 1.13;
  letter-spacing: -.063em;
  word-break: keep-all;
}
.section-heading p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: -.022em;
}
.search-box {
  display: flex;
  gap: 10px;
  align-items: center;
  width: min(100%, 322px);
  min-height: 46px;
  padding: 2px 8px 2px 13px;
  border: 1px solid #e2dce9;
  border-radius: 11px;
  background: var(--surface);
  color: #665c77;
}
.search-box:focus-within { outline: 2px solid #836bce; outline-offset: 1px; }
.search-box > .icon { width: 18px; height: 18px; }
.search-box input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}
.search-box input::placeholder { color: #746a82; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-shortcut {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 25px;
  border: 1px solid #eae5f1;
  border-radius: 6px;
  background: #f9f7fc;
  color: #645976;
  font: 13px/1 "ChubbyEdu Sans", sans-serif;
}
.clear-search {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 7px;
  background: #f4f0fa;
  color: #584180;
}
.clear-search:hover { background: #eae2f8; }
.clear-search .icon { width: 16px; height: 16px; }

.catalog-controls {
  margin-top: 25px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 43px;
  padding: 0 13px;
  border: 1px solid #e7e1ee;
  border-radius: 10px;
  background: var(--surface);
  color: #5d546d;
  font-size: 14px;
  font-weight: 690;
  white-space: nowrap;
}
.chip .icon { width: 16px; height: 16px; }
.chip:hover { background: #f2edf9; border-color: #dad0eb; color: var(--violet-dark); }
.chip[aria-pressed="true"] {
  background: #eae2fa;
  border-color: #ded2f3;
  color: #503294;
}
.favorite-filter { margin-left: auto; }
.favorite-filter[aria-pressed="true"] .icon { fill: #d5c4f5; }
.result-count {
  margin: 17px 0 9px;
  color: #665e73;
  font-size: 13px;
  letter-spacing: -.015em;
}
.result-count b { color: #3f3354; font-weight: 780; }

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}
[data-enhanced="false"] .tool-grid { margin-top: 24px; }
.tool-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 205px;
  padding: 18px 19px 15px;
  border: 1px solid #e9e4ed;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 2px 4px #30204905;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.tool-card:hover, .tool-card:has(.tool-link:focus-visible) {
  border-color: #b8a5df;
  box-shadow: 0 8px 24px #32204f0d;
  transform: translateY(-2px);
}

.card-header { display: flex; justify-content: space-between; align-items: center; }
.tool-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  background: var(--icon-surface, #eee6ff);
  color: var(--icon-ink, #6549b2);
}
.tool-icon .icon { width: 23px; height: 23px; }
.theme-violet { --icon-surface: #eee6fd; --icon-ink: #6043ad; }
.theme-mint { --icon-surface: #e2f2e9; --icon-ink: #256649; }
.theme-peach { --icon-surface: #fae9e0; --icon-ink: #a04b29; }
.theme-blue { --icon-surface: #e4eefb; --icon-ink: #35629f; }
.theme-yellow { --icon-surface: #f9edce; --icon-ink: #855816; }
.theme-rose { --icon-surface: #f7e5ee; --icon-ink: #a04673; }

.save-tool {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -6px -7px 0 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #797087;
}
.save-tool .icon { width: 19px; height: 19px; }
.save-tool:hover { background: #f3eefb; color: #5e42b1; }
.save-tool[aria-pressed="true"] { color: #6745bd; }
.save-tool[aria-pressed="true"] .icon { fill: #dfcffb; }

.tool-category {
  margin-top: 11px;
  color: #6b5e7b;
  font-size: 12px;
  font-weight: 690;
  line-height: 1.4;
}
.tool-card h3 {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 780;
  line-height: 1.27;
  letter-spacing: -.038em;
  word-break: keep-all;
}
.tool-link::after { position: absolute; z-index: 1; inset: 0; border-radius: var(--radius); content: ""; }
.tool-link:focus-visible { outline: 0; }
.tool-link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 3px; }
.tool-description {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
  letter-spacing: -.017em;
  overflow-wrap: anywhere;
  word-break: keep-all;
}
.card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 13px;
  color: #593c9d;
  font-size: 13px;
  font-weight: 710;
}
.card-action .icon {
  width: 17px;
  height: 17px;
  transition: transform .18s ease;
}
.tool-card:hover .card-action .icon { transform: translate(2px, -2px); }

.empty-state {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 44px 16px;
  border: 1px dashed #ddd3ea;
  border-radius: var(--radius);
  text-align: center;
}
.empty-state h3 { margin-top: 6px; font-size: 21px; letter-spacing: -.03em; }
.empty-state p { max-width: 32ch; color: var(--muted); word-break: keep-all; }
.empty-state button { margin-top: 9px; }

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(26px, 4.2vw, 53px);
  margin-bottom: 55px;
  border: 1px solid #e8def1;
  border-radius: 25px;
  background: #f1eaf9;
  scroll-margin-top: 12px;
}
.plans-label { display: flex; align-items: center; gap: 7px; color: #5e3c8d; font-size: 14px; font-weight: 750; }
.plans-label .icon { width: 17px; height: 17px; }
.plans h2 { margin: 9px 0 13px; }
.plans-intro p {
  max-width: 40ch;
  color: #584c64;
  font-size: 15px;
  letter-spacing: -.025em;
  word-break: keep-all;
}
.plans-redeem {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--violet);
  color: #fff;
  font-size: 15px;
  font-weight: 720;
}
.plans-redeem:hover { background: var(--violet-dark); }
.plans-redeem .icon { width: 17px; height: 17px; }
.plan-options { display: grid; gap: 10px; padding: 0; list-style: none; }
.plan-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid #ebe3f2;
  border-radius: 16px;
  background: #fbf9ff;
}
.plan-option h3 { font-size: 17px; letter-spacing: -.03em; }
.plan-option { position: relative; }
.plan-link { color: inherit; text-decoration: none; }
.plan-go { margin-left: auto; display: inline-flex; color: #6751c8; }
.plan-go svg { width: 18px; height: 18px; }
.plan-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.plan-option:hover { border-color: var(--line-strong, #cfc8e6); }
.plan-link:focus-visible { outline: none; }
.plan-option:has(.plan-link:focus-visible) { outline: 3px solid #6751c8; outline-offset: 2px; }
.plan-option p { margin-top: 2px; color: var(--muted); font-size: 14px; letter-spacing: -.02em; }

.site-footer { border-top: 1px solid #ebe6f1; }
.footer-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 93px;
  color: var(--muted);
}
.footer-inner .brand { color: var(--ink); }
.footer-inner .brand-mark { width: 28px; height: 28px; border-radius: 8px; }
.footer-inner .brand-mark .icon { width: 19px; height: 19px; }
.footer-inner .wordmark { font-size: 21px; }
.footer-inner small { font-size: 12px; }
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin-left: auto;
  font-size: 13px;
  white-space: nowrap;
}
.back-to-top:hover { color: var(--violet); }
.back-to-top .icon { width: 15px; height: 15px; }

@media (max-width: 1000px) {
  .hero { min-height: 357px; }
  .hero-description { max-width: 310px; }
  html[lang="en"] .hero-description { max-width: 320px; }
  html[lang="en"] .hero-copy { width: 55%; }
  .hero-visual picture { left: 5%; right: 2%; bottom: 13%; }
}
@media (max-width: 840px) {
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 55% 45%; }
  .hero-visual { inset-inline-start: 44%; }
}
@media (max-width: 860px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 10px; min-height: 65px; }
  .header-inner .brand { gap: 8px; }
  .header-inner .brand-mark { width: 32px; height: 32px; }
  .header-inner .wordmark { font-size: 22px; }
  .header-actions { gap: 6px; }
  .nav-plans, .language-switch, .nav-account { gap: 6px; padding-inline: 10px; font-size: 13px; }
  html[lang="en"] .hero h1 { font-size: clamp(36px, 6vw, 44px); }
  .nav { display: none; }
}
@media (max-width: 680px) {
  .hero { margin-top: 20px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .search-box { width: 100%; }
  .search-shortcut { display: none; }
  .catalog-controls { margin-top: 17px; }
  .favorite-filter { margin-left: 0; }
  .result-count { margin-top: 15px; }
  .plans { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 599px) {
  .hero { display: block; min-height: 0; border-radius: 22px; }
  .hero-copy { padding: 26px 22px 0; }
  html[lang="en"] .hero-copy { width: auto; }
  html[lang="en"] .hero h1 { font-size: clamp(34px, 9vw, 54px); }
  html[lang="en"] .hero-description { max-width: 37ch; }
  html[lang="en"] .tool-card { min-height: 174px; }
  .hero h1 { margin: 13px 0 11px; font-size: clamp(39px, 10vw, 55px); }
  .hero-description { max-width: none; }
  .hero-button { min-height: 45px; margin-top: 17px; }
  .hero-visual { position: relative; inset: auto; min-height: 140px; height: clamp(146px, 36vw, 190px); }
  .hero-orbit { top: 51%; width: min(76%, 330px); transform: translate(-50%, -50%) scaleY(.54); }
  .hero-orbit-inner { width: min(56%, 250px); }
  .hero-visual picture { left: 50%; right: auto; bottom: 1%; width: clamp(205px, 61vw, 315px); transform: translateX(-46%); }
  .catalog { padding-top: 32px; padding-bottom: 36px; }
  .tool-grid { grid-template-columns: 1fr; gap: 10px; }
  .tool-card { min-height: 169px; padding: 14px 15px; border-radius: 16px; }
  .tool-card h3 { font-size: 19px; }
  .tool-description { margin-top: 4px; }
  .plan-option { padding: 12px; }
  .plans { margin-bottom: 35px; }
  .footer-inner { gap: 11px; min-height: 78px; }
}
@media (max-width: 475px) {
  .nav-plans, .nav-account { width: 42px; padding-inline: 0; }
  .nav-plans span, .nav-account span { display: none; }
}
@media (max-width: 365px) {
  html[lang="en"] .hero h1 { font-size: clamp(28px, 9.5vw, 34px); }
  .language-switch { padding-inline: 8px; }
  .chip { padding-inline: 10px; }
  .footer-inner small { display: none; }
}
@media (pointer: coarse) {
  .search-shortcut { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* ---- 로그인했을 때: 내 공간 ---- */
body[data-signed-in] .hero, [data-session-pending] .hero { display: none; }
[data-session-pending] .nav-account, [data-session-pending] [data-access] { visibility: hidden; }
.session-placeholder { display: none; margin-top: 28px; }
[data-session-pending] .session-placeholder { display: block; }
.session-placeholder > div:first-child {
  width: min(240px, 65%);
  height: 28px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #ede8f6;
}
.session-placeholder .my-card { min-height: 180px; }
.my-space { margin-top: 28px; }
.my-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.my-eyebrow { color: var(--violet); font-size: 13px; font-weight: 750; letter-spacing: .02em; }
.my-head h1 { margin-top: 2px; font-size: clamp(24px, 3vw, 32px); line-height: 1.25; letter-spacing: -.035em; word-break: keep-all; }
.my-head-links { display: flex; gap: 6px; flex-wrap: wrap; }
.my-head-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); font-size: 13.5px; font-weight: 680; }
.my-head-links a:hover { border-color: #c6b6eb; color: var(--violet-dark); }
.my-head-links .icon { width: 16px; height: 16px; }
.my-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px; }
.my-card { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.my-card h2, .my-more h2 { font-size: 15px; font-weight: 760; letter-spacing: -.01em; }
.pass-list { display: grid; gap: 8px; margin-top: 12px; padding: 0; list-style: none; }
.pass-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #f7f4fd; }
.pass-row .tool-icon { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.pass-row .tool-icon .icon { width: 19px; height: 19px; }
.pass-label { display: grid; gap: 1px; min-width: 0; flex: 1; line-height: 1.3; }
.pass-label b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pass-label small { color: var(--muted); font-size: 12.5px; }
.pass-state { flex: none; padding: 3px 9px; border-radius: 999px; background: #e3f5ea; color: #1d6b41; font-size: 12px; font-weight: 750; }
.pass-empty { margin-top: 12px; padding: 14px; border-radius: 12px; background: #f7f4fd; color: var(--muted); font-size: 14px; line-height: 1.5; word-break: keep-all; }
.pass-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; flex-wrap: wrap; }
.pass-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 15px; border-radius: 10px; font-size: 14px; font-weight: 700; }
.pass-buy { background: #6a4fc4; color: #fff; }
.pass-buy:hover { background: #5a3fb3; }
.pass-buy.is-quiet { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.pass-buy.is-quiet:hover { border-color: #c6b6eb; background: #f7f4fd; }
.pass-redeem { color: var(--muted); }
.pass-redeem:hover { color: var(--violet-dark); text-decoration: underline; }
.mini-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; padding: 0; list-style: none; }
.mini-tool { display: flex; align-items: center; gap: 11px; min-height: 58px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .15s, background .15s; }
.mini-tool:hover { border-color: #c6b6eb; background: #faf8fe; }
.mini-tool .tool-icon { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.mini-tool .tool-icon .icon { width: 19px; height: 19px; }
.mini-text { display: grid; gap: 1px; min-width: 0; flex: 1; line-height: 1.3; }
.mini-text b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-text small { color: var(--muted); font-size: 12px; }
.mini-tool > .icon { width: 16px; height: 16px; flex: none; color: #a79fbb; }
.mini-tool:hover > .icon { color: var(--violet); }
.my-more { margin-top: 22px; }
.my-more-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.my-more-head a { display: inline-flex; align-items: center; gap: 5px; color: var(--violet); font-size: 13.5px; font-weight: 700; }
.my-more-head a .icon { width: 15px; height: 15px; }
.mini-tools-row { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.mini-tool.is-locked { background: transparent; border-style: dashed; }
.mini-tool.is-locked .tool-icon { filter: saturate(.55); opacity: .85; }
.mini-tool.is-locked small { color: #8a6d1e; }
@media (max-width: 880px) {
  .my-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .mini-tools { grid-template-columns: 1fr; }
  .my-head { align-items: flex-start; }
}
