:root {
  color-scheme: dark;
  --bg: #090d15;
  --bg-soft: #0d131e;
  --panel: #111925;
  --panel-2: #151f2d;
  --text: #f4f7ef;
  --muted: #98a49b;
  --faint: #667169;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --accent: #c8f760;
  --cyan: #78e7d8;
  --orange: #ffa65a;
  --shadow: 0 28px 90px rgba(0, 0, 0, .35);
  --radius: 24px;
  --max: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f1f3ed;
  --bg-soft: #e7ebe2;
  --panel: #fafcf7;
  --panel-2: #ffffff;
  --text: #11160e;
  --muted: #606b60;
  --faint: #879087;
  --line: rgba(14, 20, 13, .10);
  --line-strong: rgba(14, 20, 13, .18);
  --shadow: 0 28px 75px rgba(44, 55, 38, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 7%, rgba(120, 231, 216, .09), transparent 29rem),
    radial-gradient(circle at 86% 16%, rgba(200, 247, 96, .10), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: .22;
  pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(#000, transparent 80%);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
::selection { color: #10150b; background: var(--accent); }
:focus-visible { outline: 3px solid rgba(200, 247, 96, .46); outline-offset: 4px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }


.notice {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 7px 20px;
  background: var(--accent);
  color: #10150b;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}
.notice-dot { width: 6px; height: 6px; border-radius: 50%; background: #10150b; animation: blink 1.8s infinite; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 13, 21, .78);
  backdrop-filter: blur(20px) saturate(1.2);
}
[data-theme="light"] .site-header { background: rgba(241, 243, 237, .82); }
.header-inner { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--accent); color: #10150b; box-shadow: 0 0 0 5px rgba(200, 247, 96, .08); font: 900 20px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.brand-mark.has-logo { overflow: hidden; padding: 0; background: var(--panel-2); }
.brand-logo { width: 100%; height: 100%; display: block; object-fit: cover; }
.brand-logo[hidden] { display: none; }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-size: 14px; letter-spacing: .04em; }
.brand-text small { margin-top: 7px; color: var(--faint); font: 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; }
.top-nav { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.top-nav a { padding: 9px 12px; border-radius: 10px; color: var(--muted); font-size: 12px; font-weight: 700; transition: .2s ease; }
.top-nav a:hover { color: var(--text); background: var(--line); }
.theme-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); cursor: pointer; transition: .2s ease; }
.theme-button:hover { transform: translateY(-2px); border-color: var(--line-strong); }

.hero { position: relative; min-height: 700px; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.17fr .83fr; align-items: center; gap: clamp(55px, 9vw, 120px); padding-block: 82px; }
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(4px); }
.orb-one { width: 440px; height: 440px; top: -290px; left: 22%; border: 1px solid rgba(120, 231, 216, .18); }
.orb-two { width: 680px; height: 680px; right: -470px; bottom: -360px; border: 1px solid rgba(200, 247, 96, .16); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font: 750 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; }
.eyebrow i { width: 28px; height: 1px; background: currentColor; }
.hero h1 { margin: 25px 0 23px; font-size: clamp(55px, 7vw, 88px); line-height: .94; letter-spacing: -.06em; }
.hero h1 span { color: var(--muted); font-weight: 520; }
.hero-copy > p { max-width: 640px; margin: 0; color: var(--muted); font-size: clamp(15px, 1.8vw, 18px); }
.hero-search { max-width: 590px; height: 60px; display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; margin-top: 35px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(17, 25, 37, .88); box-shadow: 0 15px 50px rgba(0,0,0,.18); transition: .25s ease; }
[data-theme="light"] .hero-search { background: rgba(255,255,255,.8); }
.hero-search:focus-within { border-color: rgba(200,247,96,.6); box-shadow: 0 0 0 5px rgba(200,247,96,.07); }
.search-icon { color: var(--accent); font-size: 25px; transform: translateY(-2px); }
.hero-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; }
.hero-search input::placeholder { color: var(--faint); }
.hero-search kbd { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--faint); background: var(--line); font: 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.hero-stats { display: flex; gap: 36px; margin-top: 34px; padding-top: 23px; border-top: 1px solid var(--line); }
.hero-stats strong, .hero-stats span { display: block; }
.hero-stats strong { font: 800 21px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.hero-stats span { margin-top: 8px; color: var(--faint); font-size: 10px; letter-spacing: .07em; }

.bookmark-visual { position: relative; min-height: 475px; overflow: hidden; padding: 27px; border: 1px solid rgba(16,21,11,.18); border-radius: 28px 28px 82px 28px; background: var(--accent); color: #10150b; box-shadow: var(--shadow); transform: rotate(2.5deg); }
.bookmark-visual::before { content: ""; position: absolute; inset: 11px; z-index: 1; border: 1px solid rgba(16,21,11,.13); border-radius: 20px 20px 72px 20px; pointer-events: none; }
.visual-image { position: absolute; left: 27px; right: 27px; top: 270px; z-index: 1; width: calc(100% - 54px); height: 125px; padding: 7px; border: 1px solid rgba(16,21,11,.16); border-radius: 16px; background: rgba(255,255,255,.22); object-fit: contain; }
.visual-image[hidden] { display: none; }
.bookmark-visual.has-image { background: var(--accent); color: #10150b; }
.bookmark-visual.has-image::after { display: none; }
.bookmark-visual.has-image::before { border-color: rgba(16,21,11,.16); }
.visual-top { position: relative; z-index: 2; display: flex; justify-content: space-between; font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.live { display: flex; align-items: center; gap: 6px; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #10150b; animation: blink 1.8s infinite; }
.live span { white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.visual-title { position: relative; z-index: 2; margin-top: 72px; font-size: clamp(43px, 5vw, 63px); font-weight: 900; line-height: .86; letter-spacing: -.07em; }
.visual-title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px #10150b; }
.visual-tags { position: absolute; z-index: 2; left: 27px; bottom: 28px; display: flex; flex-wrap: wrap; gap: 7px; }
.visual-tags span { padding: 7px 9px; border: 1px solid rgba(16,21,11,.24); border-radius: 999px; font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.visual-mark { position: absolute; z-index: 2; right: 27px; bottom: 20px; font: 900 66px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.visual-fold { position: absolute; right: -1px; bottom: -1px; width: 82px; height: 82px; background: var(--bg); clip-path: polygon(100% 0, 0 100%, 100% 100%); }
.visual-fold::after { content: ""; position: absolute; inset: 0; background: rgba(16,21,11,.2); clip-path: polygon(0 100%, 100% 0, 21% 79%); }

.section { padding: 96px 0; }
.featured-section { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); align-items: end; gap: 40px; margin-bottom: 34px; }
.section-heading > div { display: flex; align-items: baseline; gap: 15px; }
.section-index { color: var(--accent); font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 4.4vw, 54px); line-height: 1; letter-spacing: -.045em; }
.section-heading p { margin: 0 0 2px; color: var(--muted); font-size: 13px; }

.featured-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; }
.feature-bookmark, .bookmark-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--panel); transition: transform .3s var(--ease), border-color .25s ease, background .25s ease; }
.feature-bookmark:hover, .bookmark-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--panel-2); }
.feature-bookmark { min-height: 330px; display: flex; flex-direction: column; padding: 27px; border-radius: var(--radius); }
.feature-bookmark:first-child { background: var(--card-color, var(--accent)); color: #10150b; border-color: transparent; }
.feature-bookmark:first-child .bookmark-description, .feature-bookmark:first-child .bookmark-category { color: rgba(16,21,11,.65); }
.bookmark-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--card-color, var(--accent)) 34%, var(--line)); border-radius: 15px; background: color-mix(in srgb, var(--card-color, var(--accent)) 13%, transparent); color: var(--text); font: 800 20px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.feature-bookmark:first-child .bookmark-icon { border-color: rgba(16,21,11,.20); background: rgba(16,21,11,.10); color: #10150b; }
.bookmark-category { margin-top: 25px; color: var(--faint); font: 750 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.bookmark-clicks { position: absolute; top: 27px; right: 27px; display: grid; justify-items: end; gap: 3px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--panel-2) 88%, transparent); color: var(--text); }
.bookmark-clicks strong { font: 850 17px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.bookmark-clicks small { color: var(--faint); font-size: 8px; font-weight: 750; }
.feature-bookmark:first-child .bookmark-clicks { border-color: rgba(16,21,11,.18); background: rgba(255,255,255,.25); color: #10150b; }
.feature-bookmark:first-child .bookmark-clicks small { color: rgba(16,21,11,.62); }
.feature-bookmark h3 { max-width: 360px; margin: 12px 0 9px; font-size: 25px; line-height: 1.12; letter-spacing: -.035em; }
.bookmark-description { margin: 0; color: var(--muted); font-size: 12px; }
.bookmark-open { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 22px; border-top: 1px solid currentColor; border-color: var(--line); font-size: 11px; font-weight: 800; }
.feature-bookmark:first-child .bookmark-open { border-color: rgba(16,21,11,.18); }
.bookmark-open span:last-child { font-size: 18px; transition: transform .2s ease; }
a:hover .bookmark-open span:last-child { transform: translate(3px,-3px); }

.directory-section { padding-bottom: 120px; }
.directory-heading { margin-bottom: 25px; }
.category-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 15px; }
.category-column { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.category-column-heading { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.category-column-title { font-size: 13px; font-weight: 850; letter-spacing: .02em; }
.category-column-count { color: var(--faint); font-size: 9px; }
.compact-bookmark-list { display: grid; gap: 7px; padding: 10px; }
.compact-bookmark { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); transition: border-color .2s ease; }
.compact-bookmark:hover { border-color: var(--line-strong); }
.compact-bookmark-row { width: 100%; min-height: 52px; display: grid; grid-template-columns: 34px minmax(0,1fr) 26px; align-items: center; gap: 10px; padding: 7px 9px; border: 0; background: transparent; color: var(--text); cursor: pointer; text-align: left; }
.compact-bookmark-icon { width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--card-color, var(--accent)) 35%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--card-color, var(--accent)) 13%, transparent); font-size: 14px; }
.compact-bookmark-copy { min-width: 0; display: grid; gap: 3px; }
.compact-bookmark-copy strong, .compact-bookmark-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compact-bookmark-copy strong { font-size: 11px; }
.compact-bookmark-copy small { color: var(--faint); font-size: 8px; }
.compact-bookmark-chevron { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--accent); transition: transform .28s var(--ease); }
.compact-bookmark.open .compact-bookmark-chevron { transform: rotate(180deg); }
.compact-bookmark-details { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s var(--ease), opacity .22s ease; }
.compact-bookmark-inner { min-height: 0; overflow: hidden; }
.compact-bookmark.open .compact-bookmark-details { grid-template-rows: 1fr; opacity: 1; }
.compact-bookmark-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 15px; margin: 0 10px; border-top: 1px solid transparent; }
.compact-bookmark.open .compact-bookmark-inner { padding: 11px 0 12px; border-top-color: var(--line); }
.compact-bookmark-inner p { margin: 0; color: var(--muted); font-size: 10px; }
.compact-bookmark-inner a { min-width: max-content; padding: 7px 9px; border-radius: 8px; background: var(--accent); color: #10150b; font-size: 9px; font-weight: 800; }
.category-skeleton { height: 56px; border-radius: 16px; background: linear-gradient(100deg, var(--panel) 20%, var(--panel-2) 38%, var(--panel) 56%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.bookmark-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.bookmark-card { min-height: 250px; display: flex; flex-direction: column; padding: 22px; border-radius: 20px; }
.bookmark-card::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 140px; height: 140px; border: 1px solid color-mix(in srgb, var(--card-color, var(--accent)) 34%, transparent); border-radius: 50%; transition: transform .4s var(--ease); }
.bookmark-card:hover::after { transform: scale(1.12); }
.bookmark-card .bookmark-icon { width: 43px; height: 43px; border-radius: 13px; font-size: 17px; }
.bookmark-card .bookmark-category { margin-top: 23px; }
.bookmark-card h3 { position: relative; z-index: 1; margin: 10px 0 7px; font-size: 17px; line-height: 1.18; }
.bookmark-card .bookmark-description { position: relative; z-index: 1; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bookmark-card .bookmark-open { position: relative; z-index: 1; margin-top: auto; padding-top: 15px; }
.skeleton { min-height: 250px; border-radius: var(--radius); background: linear-gradient(100deg, var(--panel) 20%, var(--panel-2) 38%, var(--panel) 56%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.featured-grid .skeleton { min-height: 330px; }
.empty-state { padding: 70px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; color: var(--muted); }
.empty-state > span { color: var(--accent); font-size: 50px; }
.empty-state h3 { margin: 5px 0; color: var(--text); }
.empty-state p { margin: 0; font-size: 12px; }
.empty-state button { margin-top: 18px; padding: 10px 15px; border: 0; border-radius: 11px; background: var(--accent); color: #10150b; cursor: pointer; font-size: 11px; font-weight: 800; }

.callout { padding: 95px 0; overflow: hidden; background: var(--accent); color: #10150b; }
.callout-inner { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 70px; }
.callout .eyebrow { color: #10150b; }
.callout h2 { margin: 23px 0 0; font-size: clamp(40px, 6vw, 70px); line-height: .98; letter-spacing: -.055em; }
.callout-copy { padding-bottom: 6px; }
.callout-copy p { margin: 0 0 24px; color: rgba(16,21,11,.68); font-size: 13px; }
.primary-link { display: inline-flex; align-items: center; gap: 14px; padding: 13px 17px; border-radius: 13px; background: #10150b; color: #f4f7ef; font-size: 11px; font-weight: 800; }
.primary-link span { font-size: 17px; }
.callout-note { display: inline-flex; padding: 10px 13px; border: 1px solid rgba(16,21,11,.24); border-radius: 999px; font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }

footer { background: var(--bg-soft); border-top: 1px solid var(--line); }
.footer-inner { min-height: 175px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.footer-inner p, .footer-inner > a:last-child { color: var(--faint); font-size: 10px; }
.footer-inner > a:last-child:hover { color: var(--accent); }

.pet-walker { --look-x: 0px; --look-y: 0px; position: fixed; top: 0; left: 0; z-index: 60; width: 92px; height: 125px; display: grid; justify-items: center; pointer-events: none; transition-property: transform; transition-timing-function: var(--ease); will-change: transform; }
.site-pet { position: relative; width: 96px; height: 108px; padding: 0; border: 0; background: transparent; cursor: grab; pointer-events: auto; touch-action: none; filter: drop-shadow(0 13px 15px rgba(0,0,0,.24)); }
.site-pet:active, .pet-walker.dragging .site-pet { cursor: grabbing; }
.pet-svg { display: block; width: 100%; height: 100%; overflow: visible; transition: transform .3s ease; }
.site-pet.facing-left .pet-svg { transform: scaleX(-1); }
.pet-shadow { fill: rgba(0,0,0,.20); transform-origin: 55px 113px; }
.pet-character { transform-box: fill-box; transform-origin: center bottom; }
.pet-ear { fill: #b8c5d4; stroke: #405064; stroke-width: 2.7; stroke-linejoin: round; }
.pet-ear-inner { fill: #ffc3cb; }
.pet-body { fill: #b7c5d5; stroke: #405064; stroke-width: 2.7; }
.pet-belly { fill: #fff6e9; stroke: #405064; stroke-width: 2; }
.pet-eye { transform-box: fill-box; transform-origin: center; animation: pet-blink 5.4s ease-in-out infinite; }
.pet-eye-right { animation-delay: .03s; }
.pet-eye-white { fill: #fffefb; stroke: #405064; stroke-width: 2.2; }
.pet-pupil { fill: #405064; }
.pet-pupil, .pet-glint { transform: translate(var(--look-x), var(--look-y)); transition: transform .08s linear; }
.pet-glint { fill: #fff; pointer-events: none; }
.pet-cheek { fill: #ff9eae; opacity: .74; }
.pet-nose { fill: #405064; }
.pet-mouth { fill: none; stroke: #405064; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pet-note { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.pet-walker.playing .pet-note { opacity: 1; animation: float-note 1.4s ease-in-out infinite; }
.pet-walker.playing .note-two { animation-delay: .65s; }
.pet-walker.is-hopping .pet-character { animation: hop 1.85s ease-in-out infinite; }
.pet-walker.is-hopping .pet-shadow { animation: hop-shadow 1.85s ease-in-out infinite; }
.pet-walker.dragging { transition: none !important; }
.pet-walker.dragging .site-pet { animation: pet-drag .35s ease-in-out infinite alternate; }
.pet-walker.reacting .site-pet { animation: pet-react .45s var(--ease) 2 alternate; }
.pet-particles { position: absolute; inset: 0; pointer-events: none; }
.pet-particles i { position: absolute; color: #ff829d; font-style: normal; opacity: 0; }
.pet-particles i:first-child { left: 4px; top: 25px; }
.pet-particles i:nth-child(2) { right: 2px; top: 12px; color: var(--accent); }
.pet-particles i:nth-child(3) { right: 7px; top: 47px; }
.pet-walker.reacting .pet-particles i { animation: pet-particle .9s var(--ease) forwards; }
.pet-walker.reacting .pet-particles i:nth-child(2) { animation-delay: .12s; }
.pet-walker.reacting .pet-particles i:nth-child(3) { animation-delay: .22s; }
.pet-mini-svg { display: none; width: 100%; height: 100%; overflow: visible; }
.mini-ear, .mini-body { fill: #b7c5d5; stroke: #405064; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mini-eye-white { fill: #fffefb; stroke: #405064; stroke-width: 1.4; }
.mini-eye { fill: #405064; }
.mini-glint { fill: #fff; }
.mini-mouth { fill: none; stroke: #405064; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pet-status { position: absolute; right: 4px; bottom: 10px; width: 23px; height: 23px; display: grid; place-items: center; border: 1.5px solid #405064; border-radius: 50%; background: var(--cyan); color: #24323d; font: 900 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.pet-collapse { position: absolute; top: 3px; right: -6px; z-index: 4; width: 22px; height: 22px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--panel-2); color: var(--muted); box-shadow: 0 5px 14px rgba(0,0,0,.15); cursor: pointer; pointer-events: auto; font: 900 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; transition: .2s ease; }
.pet-collapse:hover { color: var(--text); transform: scale(1.08); }
.pet-name { margin-top: -5px; padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--panel); color: var(--text); box-shadow: 0 6px 20px rgba(0,0,0,.18); font-size: 9px; font-weight: 800; pointer-events: none; }
.pet-bubble { position: absolute; right: 78px; top: -10px; width: max-content; max-width: 230px; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 12px 12px 2px 12px; background: var(--panel-2); color: var(--text); box-shadow: 0 12px 35px rgba(0,0,0,.22); font-size: 10px; opacity: 0; transform: translateY(7px); transition: .25s var(--ease); }
.pet-walker:hover .pet-bubble, .pet-bubble.show { opacity: 1; transform: none; }
.pet-walker.collapsed { width: 48px; height: 48px; }
.pet-walker.collapsed .site-pet { width: 48px; height: 48px; border-radius: 50%; filter: drop-shadow(0 8px 12px rgba(0,0,0,.22)); }
.pet-walker.collapsed .pet-svg, .pet-walker.collapsed .pet-status, .pet-walker.collapsed .pet-particles, .pet-walker.collapsed .pet-name, .pet-walker.collapsed .pet-bubble { display: none; }
.pet-walker.collapsed .pet-mini-svg { display: block; }
.pet-walker.collapsed .pet-collapse { top: -7px; right: -8px; width: 20px; height: 20px; font-size: 11px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; max-width: calc(100% - 30px); padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--panel-2); color: var(--text); box-shadow: var(--shadow); font-size: 11px; opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes blink { 50% { opacity: .28; transform: scale(.75); } }
@keyframes shimmer { to { background-position-x: -200%; } }
@keyframes hop {
  0%, 100% { transform: translateY(0) scale(1.03, .97) rotate(0deg); }
  12% { transform: translateY(1px) scale(1.08, .92) rotate(0deg); }
  38% { transform: translateY(-17px) scale(.97, 1.04) rotate(-2deg); }
  55% { transform: translateY(-20px) scale(.98, 1.03) rotate(2deg); }
  76% { transform: translateY(0) scale(1.09, .91) rotate(0deg); }
  88% { transform: translateY(-5px) scale(.99, 1.01) rotate(-1deg); }
}
@keyframes hop-shadow {
  0%, 12%, 76%, 100% { transform: scaleX(1); opacity: .2; }
  48%, 58% { transform: scaleX(.66); opacity: .1; }
}
@keyframes pet-blink { 0%, 43%, 47%, 100% { transform: scaleY(1); } 45% { transform: scaleY(.12); } }
@keyframes pet-drag { to { transform: rotate(5deg) scale(1.04); } }
@keyframes pet-react { to { transform: translateY(-10px) scale(1.07) rotate(-4deg); } }
@keyframes pet-particle { 0% { opacity: 0; transform: translateY(8px) scale(.5); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(-22px) scale(1.25); } }
@keyframes float-note { 0% { transform: translateY(7px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-8px); opacity: 0; } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .bookmark-visual { width: min(100%, 570px); min-height: 420px; transform: rotate(1deg); }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .feature-bookmark:first-child { grid-column: 1 / -1; }
  .bookmark-grid { grid-template-columns: repeat(3, 1fr); }
  .category-columns { grid-template-columns: 1fr; }
  .callout-inner { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .notice { font-size: 9px; }
  .header-inner { height: 64px; }
  .brand-text small, .top-nav { display: none; }
  .theme-button { margin-left: auto; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 64px; gap: 50px; }
  .hero h1 { font-size: clamp(49px, 15vw, 70px); }
  .hero-search { height: 56px; }
  .hero-stats { gap: 18px; justify-content: space-between; }
  .hero-stats strong { font-size: 18px; }
  .hero-stats span { font-size: 8px; }
  .bookmark-visual { min-height: 360px; padding: 22px; border-radius: 24px 24px 68px 24px; }
  .visual-title { margin-top: 60px; font-size: clamp(39px, 14vw, 56px); }
  .visual-image { top: 220px; height: 100px; }
  .visual-tags { left: 22px; }
  .section { padding: 73px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 15px; }
  .section-heading > div { gap: 10px; }
  .featured-grid { grid-template-columns: 1fr; }
  .feature-bookmark:first-child { grid-column: auto; }
  .feature-bookmark { min-height: 290px; }
  .bookmark-grid { grid-template-columns: 1fr; }
  .compact-bookmark-inner { grid-template-columns: 1fr; align-items: start; }
  .compact-bookmark-inner a { justify-self: start; }
  .bookmark-card { min-height: 220px; }
  .callout { padding: 72px 0; }
  .callout h2 { font-size: 44px; }
  .footer-inner { grid-template-columns: 1fr; align-content: center; gap: 17px; padding: 40px 0 125px; }
  .pet-walker { transform: translate(10px, calc(100vh - 135px)); }
  .pet-bubble { right: auto; left: 75px; border-radius: 12px 12px 12px 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .pet-walker.is-hopping .pet-character { animation: hop 1.85s ease-in-out infinite !important; }
  .pet-walker.is-hopping .pet-shadow { animation: hop-shadow 1.85s ease-in-out infinite !important; }
}
