.pawfect-name-tool {
      --green: #103632;
      --orange: #EF6905;
      --burgundy: #8B2626;
      --yellow: #F1E5A1;
      --cream: #FFF9EE;
      --ink: #26312F;
      --white: #FFFFFF;
      --muted: #6F7774;
      --line: rgba(16,54,50,.14);
      --shadow: 0 22px 55px rgba(16,54,50,.10);
    }
    .pawfect-name-tool * { box-sizing: border-box; }
    .pawfect-name-tool { scroll-behavior: smooth; }
    .pawfect-name-tool {
      margin: 0;
      color: var(--ink);
      background: var(--cream);
      font-family: Inter, ui-rounded, "SF Pro Rounded", "PingFang SC", "Microsoft YaHei", sans-serif;
      -webkit-font-smoothing: antialiased;
    }
    .pawfect-name-tool button, .pawfect-name-tool input, .pawfect-name-tool select { font: inherit; }
    .pawfect-name-tool button { color: inherit; text-transform: none; letter-spacing: normal; }
    .pawfect-name-tool button:focus-visible, .pawfect-name-tool select:focus-visible, .pawfect-name-tool .photo-upload:focus-within { outline: 3px solid rgba(239,105,5,.34); outline-offset: 3px; }
    .pawfect-name-tool [hidden] { display: none !important; }
    .pawfect-name-tool .page-shell { min-height: 100vh; overflow: hidden; position: relative; }
    .pawfect-name-tool .page-shell::before, .pawfect-name-tool .page-shell::after {
      content: ""; border-radius: 50%; position: fixed; z-index: -1; filter: blur(1px);
    }
    .pawfect-name-tool .page-shell::before { width: 430px; height: 430px; background: rgba(241,229,161,.55); top: -180px; left: -170px; }
    .pawfect-name-tool .page-shell::after { width: 360px; height: 360px; background: rgba(239,105,5,.06); right: -180px; bottom: -120px; }
    .pawfect-name-tool .site-header {
      width: min(1180px, calc(100% - 36px)); margin: 0 auto; height: 82px;
      display: flex; align-items: center; justify-content: space-between;
    }
    .pawfect-name-tool .brand { display: flex; align-items: center; gap: 11px; color: var(--green); font-weight: 900; letter-spacing: -.02em; }
    .pawfect-name-tool .brand-home { border: 0; background: transparent; padding: 0; cursor: pointer; text-align: left; }
    .pawfect-name-tool .brand-home:focus-visible { outline: 3px solid rgba(239,105,5,.34); outline-offset: 5px; border-radius: 10px; }
    .pawfect-name-tool .brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--yellow); background: var(--green); border-radius: 13px 13px 16px 16px; transform: rotate(-4deg); }
    .pawfect-name-tool .brand-mark svg { width: 20px; height: 20px; transform: rotate(4deg); stroke-width: 2.4; }
    .pawfect-name-tool .brand small { display: block; margin-top: -3px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
    .pawfect-name-tool .header-note { color: var(--green); font-size: 13px; font-weight: 750; display: flex; align-items: center; gap: 7px; }
    .pawfect-name-tool .header-note i { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 5px rgba(239,105,5,.12); }
    .pawfect-name-tool .home-btn { border: 1px solid rgba(16,54,50,.18); background: rgba(255,255,255,.64); color: var(--green); min-height: 38px; padding: 0 13px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 850; }
    .pawfect-name-tool .home-btn:hover { background: var(--green); border-color: var(--green); color: var(--white); }
    .pawfect-name-tool .home-btn svg { width: 15px; height: 15px; stroke-width: 2.5; }
    .pawfect-name-tool .tool-main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 38px 0 110px; }
    .pawfect-name-tool .view { position: relative; }
    @keyframes pawfect-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

    /* Intro */
    .pawfect-name-tool .hero { min-height: calc(100vh - 150px); display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 68px; }
    .pawfect-name-tool .kicker { margin: 0 0 20px; display: inline-flex; align-items: center; gap: 9px; color: var(--burgundy); font-size: 13px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
    .pawfect-name-tool .kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
    .pawfect-name-tool h1 { margin: 0; color: var(--green); font-family: Georgia, "Songti SC", serif; font-size: clamp(54px, 5.5vw, 78px); line-height: .98; letter-spacing: -.055em; font-weight: 700; }
    .pawfect-name-tool h1 em { color: var(--green); font-style: italic; position: relative; white-space: nowrap; }
    .pawfect-name-tool h1 em::after { content: ""; height: 10px; background: var(--yellow); border-radius: 50%; position: absolute; left: 0; right: 0; bottom: 1px; z-index: -1; transform: rotate(-2deg); }
    .pawfect-name-tool .hero-copy { max-width: 590px; margin: 26px 0 30px; color: #59625F; font-size: 18px; line-height: 1.85; }
    .pawfect-name-tool .hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
    .pawfect-name-tool .resume-actions { width: 100%; display: flex; align-items: center; gap: 13px; }
    .pawfect-name-tool .resume-btn { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(16,54,50,.18); color: var(--green); background: rgba(255,255,255,.72); cursor: pointer; font-weight: 800; }
    .pawfect-name-tool .resume-btn:hover { border-color: var(--green); background: var(--white); }
    .pawfect-name-tool .resume-note { color: var(--muted); font-size: 12px; }
    .pawfect-name-tool .primary-btn, .pawfect-name-tool .secondary-btn, .pawfect-name-tool .mini-btn {
      border: 0; cursor: pointer; border-radius: 999px; font-weight: 850; transition: .2s ease; min-height: 52px; padding: 0 24px;
    }
    .pawfect-name-tool .primary-btn { background: var(--green); color: var(--white); box-shadow: 0 12px 25px rgba(16,54,50,.18); }
    .pawfect-name-tool .primary-btn:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(16,54,50,.24); }
    .pawfect-name-tool .secondary-btn { background: transparent; color: var(--green); border: 1.5px solid rgba(16,54,50,.34); }
    .pawfect-name-tool .secondary-btn:hover { background: var(--green); color: white; }
    .pawfect-name-tool .time-note { color: var(--muted); font-size: 13px; }
    .pawfect-name-tool .time-note strong { color: var(--green); }
    .pawfect-name-tool .hero-visual { position: relative; min-height: 545px; isolation: isolate; }
    .pawfect-name-tool .hero-question { position: absolute; z-index: 3; top: 78px; left: 50%; transform: translateX(-50%); margin: 0; color: var(--green); font: italic 700 clamp(24px, 2.5vw, 35px)/1 Georgia, serif; white-space: nowrap; }
    .pawfect-name-tool .hero-question::before, .pawfect-name-tool .hero-question::after { content: ""; position: absolute; top: 50%; width: 20px; height: 2px; background: var(--orange); }
    .pawfect-name-tool .hero-question::before { left: -36px; transform: rotate(9deg); }
    .pawfect-name-tool .hero-question::after { right: -36px; transform: rotate(-9deg); }
    .pawfect-name-tool .identity-card { position: absolute; z-index: 2; left: 4%; right: 0; top: 145px; height: 310px; padding: 18px; border-radius: 25px; color: var(--white); background: linear-gradient(135deg, #0d4038, var(--green)); box-shadow: 0 25px 55px rgba(16,54,50,.18); }
    .pawfect-name-tool .identity-head { height: 36px; display: flex; align-items: flex-start; justify-content: space-between; padding: 0 6px; font-size: 13px; font-weight: 900; letter-spacing: .04em; }
    .pawfect-name-tool .identity-head span:first-child { color: var(--yellow); }
    .pawfect-name-tool .identity-head span:last-child { color: rgba(255,255,255,.34); }
    .pawfect-name-tool .identity-body { height: 235px; display: grid; grid-template-columns: 42% 58%; overflow: hidden; color: var(--green); background: var(--cream); border-radius: 18px; }
    .pawfect-name-tool .identity-symbol { display: grid; place-items: center; color: var(--green); background: radial-gradient(circle at 50% 50%, #F6EAA8, var(--yellow)); }
    .pawfect-name-tool .identity-symbol svg { width: 94px; height: 94px; fill: currentColor; stroke-width: 1.35; }
    .pawfect-name-tool .identity-details { padding: 24px 25px; }
    .pawfect-name-tool .identity-label { color: #71807c; font-size: 11px; font-weight: 900; letter-spacing: .05em; }
    .pawfect-name-tool .identity-name { margin: 4px 0 15px; color: var(--green); font: 700 47px/1 Georgia, serif; letter-spacing: -.04em; }
    .pawfect-name-tool .identity-rule { height: 1px; margin-bottom: 18px; background: rgba(16,54,50,.16); }
    .pawfect-name-tool .identity-row { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0; font-size: 12px; font-weight: 900; }
    .pawfect-name-tool .identity-row strong { color: var(--burgundy); text-align: right; font-weight: 800; }
    .pawfect-name-tool .name-chip { position: absolute; z-index: 4; min-width: 92px; padding: 12px 18px; border-radius: 999px; text-align: center; color: var(--green); background: var(--white); border: 1px solid rgba(16,54,50,.07); box-shadow: 0 13px 28px rgba(16,54,50,.11); font: italic 700 20px/1 Georgia, serif; }
    .pawfect-name-tool .name-chip.yellow { background: var(--yellow); }
    .pawfect-name-tool .name-chip.green { color: var(--white); background: var(--green); }
    .pawfect-name-tool .name-chip.red { color: var(--white); background: var(--burgundy); }
    .pawfect-name-tool .chip-milo { left: 3%; top: 23px; transform: rotate(-12deg); }
    .pawfect-name-tool .chip-bean { left: 55%; top: 10px; transform: rotate(9deg); }
    .pawfect-name-tool .chip-scout { right: -1%; top: 48px; transform: rotate(10deg); }
    .pawfect-name-tool .chip-poppy { left: 12%; bottom: 8px; transform: rotate(-8deg); }
    .pawfect-name-tool .chip-luna { left: 53%; bottom: -4px; transform: rotate(-12deg); }
    .pawfect-name-tool .chip-coco { right: -1%; bottom: 12px; transform: rotate(10deg); }
    .pawfect-name-tool .hero-heart { position: absolute; z-index: 3; left: -1%; top: 104px; color: var(--burgundy); transform: rotate(-9deg); }
    .pawfect-name-tool .hero-heart svg { width: 29px; height: 29px; stroke-width: 2.3; }

    /* Quiz */
    .pawfect-name-tool .quiz-wrap { max-width: 900px; margin: 25px auto 0; }
    .pawfect-name-tool .progress-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 13px; }
    .pawfect-name-tool .progress-label { color: var(--green); font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
    .pawfect-name-tool .progress-count { color: var(--muted); font-family: Georgia, serif; font-style: italic; }
    .pawfect-name-tool .progress-track { height: 8px; border-radius: 20px; background: rgba(16,54,50,.11); overflow: hidden; }
    .pawfect-name-tool .progress-fill { height: 100%; width: 14.285%; border-radius: inherit; background: var(--orange); transition: width .45s cubic-bezier(.2,.8,.2,1); }
    .pawfect-name-tool .question-card { margin-top: 32px; background: white; border: 1px solid rgba(16,54,50,.09); border-radius: 36px; box-shadow: var(--shadow); padding: clamp(28px, 5vw, 58px); min-height: 540px; }
    .pawfect-name-tool .question-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; background: var(--yellow); color: var(--green); transform: rotate(-4deg); }
    .pawfect-name-tool .question-badge svg { width: 25px; height: 25px; stroke-width: 2; }
    .pawfect-name-tool .question-card h2 { color: var(--green); margin: 23px 0 9px; font-family: Georgia, "Songti SC", serif; font-size: clamp(30px, 4.3vw, 47px); line-height: 1.16; letter-spacing: -.025em; }
    .pawfect-name-tool .question-hint { margin: 0 0 30px; color: var(--muted); }
    .pawfect-name-tool .answer-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
    .pawfect-name-tool .answer-option { min-height: 82px; padding: 16px 18px; background: var(--cream); border: 1.5px solid transparent; border-radius: 19px; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 15px; transition: .18s ease; }
    .pawfect-name-tool .answer-option:hover { border-color: rgba(239,105,5,.45); transform: translateY(-2px); background: #fffaf1; }
    .pawfect-name-tool .answer-option.selected { color: white; background: var(--green); border-color: var(--green); }
    .pawfect-name-tool .answer-emoji { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; color: var(--green); background: white; border: 1px solid rgba(16,54,50,.08); border-radius: 13px; }
    .pawfect-name-tool .answer-emoji svg { width: 22px; height: 22px; stroke-width: 2; }
    .pawfect-name-tool .answer-copy strong { display: block; margin-bottom: 3px; font-size: 15px; }
    .pawfect-name-tool .answer-copy small { color: var(--muted); font-size: 12px; }
    .pawfect-name-tool .selected .answer-copy small { color: rgba(255,255,255,.68); }
    .pawfect-name-tool .quiz-nav { margin-top: 30px; display: flex; justify-content: space-between; align-items: center; }
    .pawfect-name-tool .back-btn { border: 0; background: transparent; cursor: pointer; color: var(--muted); font-weight: 750; padding: 12px 0; }
    .pawfect-name-tool .back-btn:hover { color: var(--green); }

    /* Match reveal */
    .pawfect-name-tool .matching-wrap { min-height: calc(100vh - 160px); display: grid; place-items: center; text-align: center; }
    .pawfect-name-tool .matching-card { width: min(560px, 100%); padding: 56px 28px; }
    .pawfect-name-tool .match-orbit { width: 126px; height: 126px; margin: 0 auto 30px; border-radius: 50%; position: relative; display: grid; place-items: center; color: var(--green); background: var(--yellow); }
    .pawfect-name-tool .match-orbit::before { content: ""; position: absolute; inset: -11px; border: 2px dashed var(--orange); border-radius: 50%; animation: pawfect-spin 5s linear infinite; }
    .pawfect-name-tool .match-orbit svg { width: 45px; height: 45px; stroke-width: 1.7; }
    @keyframes pawfect-spin { to { transform: rotate(360deg); } }
    .pawfect-name-tool .matching-card h2 { margin: 0 0 10px; color: var(--green); font-family: Georgia, serif; font-size: clamp(36px, 7vw, 56px); letter-spacing: -.04em; }
    .pawfect-name-tool .matching-card p { color: var(--muted); margin: 0; }
    .pawfect-name-tool .match-steps { width: min(360px,100%); margin: 34px auto 0; text-align: left; display: grid; gap: 12px; }
    .pawfect-name-tool .match-step { display: flex; align-items: center; gap: 11px; color: rgba(38,49,47,.38); font-size: 13px; font-weight: 800; transition: .3s ease; }
    .pawfect-name-tool .match-step i { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: rgba(16,54,50,.08); font-style: normal; font-size: 11px; }
    .pawfect-name-tool .match-step.active { color: var(--green); }
    .pawfect-name-tool .match-step.active i { color: white; background: var(--green); }

    /* Results */
    .pawfect-name-tool .results-wrap { max-width: 1040px; margin: 16px auto 0; }
    .pawfect-name-tool .results-hero { text-align: center; max-width: 720px; margin: 0 auto 36px; }
    .pawfect-name-tool .eyebrow { color: var(--burgundy); font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
    .pawfect-name-tool .results-hero h2 { margin: 13px 0 12px; color: var(--green); font-family: Georgia, "Songti SC", serif; font-size: clamp(40px, 6vw, 67px); line-height: 1.05; letter-spacing: -.04em; }
    .pawfect-name-tool .results-hero p { color: var(--muted); line-height: 1.75; }
    .pawfect-name-tool .recommend-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; align-items: start; }
    .pawfect-name-tool .name-card { background: white; border: 1px solid rgba(16,54,50,.11); border-radius: 26px; overflow: hidden; box-shadow: 0 12px 38px rgba(16,54,50,.06); transition: .2s ease; }
    .pawfect-name-tool .name-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
    .pawfect-name-tool .name-card.featured { margin-top: -12px; border: 2px solid var(--green); background: #fffdf4; }
    .pawfect-name-tool .card-stripe { height: 9px; background: var(--green); }
    .pawfect-name-tool .featured .card-stripe { background: var(--yellow); }
    .pawfect-name-tool .card-body { padding: 23px; }
    .pawfect-name-tool .card-top { display: flex; align-items: center; justify-content: space-between; }
    .pawfect-name-tool .role-label { font-size: 11px; color: var(--burgundy); font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
    .pawfect-name-tool .heart-btn { appearance: none; -webkit-appearance: none; box-sizing: border-box; flex: 0 0 39px; width: 39px !important; min-width: 39px !important; max-width: 39px !important; height: 39px !important; min-height: 39px !important; padding: 0 !important; line-height: 1 !important; border-radius: 50% !important; border: 1px solid rgba(139,38,38,.2); background: #fff7f4; color: var(--burgundy); font-family: Arial, sans-serif; font-size: 20px; cursor: pointer; display: grid; place-items: center; transition: .15s ease; }
    .pawfect-name-tool .heart-btn:hover, .pawfect-name-tool .heart-btn.active { color: white; background: var(--burgundy); transform: scale(1.06); }
    .pawfect-name-tool .name-en { margin: 18px 0 1px; color: var(--green); font-family: Georgia, serif; font-size: 37px; line-height: 1; letter-spacing: -.03em; }
    .pawfect-name-tool .name-cn { color: var(--green); opacity: .62; font-size: 13px; font-weight: 850; letter-spacing: .06em; }
    .pawfect-name-tool .reason { min-height: 76px; margin: 17px 0 12px; color: #606865; font-size: 13px; line-height: 1.7; }
    .pawfect-name-tool .evidence-list { display: grid; gap: 7px; margin: 0 0 17px; padding: 0; list-style: none; }
    .pawfect-name-tool .evidence-list li { display: flex; align-items: center; gap: 7px; color: var(--green); font-size: 11px; font-weight: 750; }
    .pawfect-name-tool .evidence-list li::before { content: "✓"; flex: 0 0 auto; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); font-size: 10px; }
    .pawfect-name-tool .match-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
    .pawfect-name-tool .match-tags span { background: var(--cream); color: var(--green); padding: 6px 9px; border-radius: 999px; font-size: 11px; font-weight: 750; }
    .pawfect-name-tool .score-row { border-top: 1px dashed var(--line); padding-top: 16px; display: flex; justify-content: space-between; align-items: center; }
    .pawfect-name-tool .score-row span { color: var(--muted); font-size: 11px; }
    .pawfect-name-tool .score-row strong { color: var(--green); font-size: 14px; }
    .pawfect-name-tool .dot-score { display: flex; gap: 4px; }
    .pawfect-name-tool .dot-score i { width: 8px; height: 8px; border-radius: 50%; background: rgba(16,54,50,.18); }
    .pawfect-name-tool .dot-score i.on { background: var(--orange); }
    .pawfect-name-tool .card-actions { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 15px; }
    .pawfect-name-tool .save-name, .pawfect-name-tool .not-vibe { min-height: 39px; border-radius: 11px; cursor: pointer; font-size: 11px; font-weight: 850; }
    .pawfect-name-tool .save-name { color: white; background: var(--green); border: 0; }
    .pawfect-name-tool .save-name.saved { color: var(--green); background: var(--yellow); }
    .pawfect-name-tool .not-vibe { color: var(--muted); background: white; border: 1px solid var(--line); padding: 0 11px; }
    .pawfect-name-tool .result-actions { margin: 30px 0 45px; display: flex; justify-content: center; gap: 11px; flex-wrap: wrap; }
    .pawfect-name-tool .mini-btn { min-height: 44px; padding: 0 18px; background: white; border: 1px solid var(--line); color: var(--green); font-size: 13px; }
    .pawfect-name-tool .mini-btn:hover { border-color: var(--green); transform: translateY(-1px); }

    /* Filters and library */
    .pawfect-name-tool .library { padding-top: 10px; }
    .pawfect-name-tool .section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
    .pawfect-name-tool .section-head h3 { color: var(--green); font-family: Georgia, "Songti SC", serif; font-size: clamp(29px, 4vw, 42px); margin: 0 0 5px; }
    .pawfect-name-tool .section-head p { margin: 0; color: var(--muted); font-size: 13px; }
    .pawfect-name-tool .quality-note { margin: 10px 0 0; display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 11px; font-weight: 750; }
    .pawfect-name-tool .quality-note::before { content: "✓"; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-size: 10px; }
    .pawfect-name-tool .filter-toggle { border: 0; border-bottom: 2px solid var(--orange); color: var(--green); background: transparent; cursor: pointer; padding: 8px 0; font-weight: 850; }
    .pawfect-name-tool .filter-panel { background: var(--yellow); border: 1px solid rgba(16,54,50,.08); border-radius: 24px; padding: 24px; margin-bottom: 22px; animation: pawfect-enter .25s ease both; }
    .pawfect-name-tool .filter-groups { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 20px; }
    .pawfect-name-tool .filter-group label { display: block; margin-bottom: 11px; color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: .05em; }
    .pawfect-name-tool .filter-pills { display: flex; flex-wrap: wrap; gap: 7px; }
    .pawfect-name-tool .filter-pill { border: 1px solid rgba(16,54,50,.16); background: rgba(255,255,255,.55); border-radius: 999px; padding: 7px 11px; cursor: pointer; font-size: 11px; font-weight: 750; }
    .pawfect-name-tool .filter-pill.active { background: var(--green); color: white; border-color: var(--green); }
    .pawfect-name-tool .library-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: var(--muted); font-size: 12px; }
    .pawfect-name-tool .library-tools { display: flex; align-items: center; gap: 12px; }
    .pawfect-name-tool .sort-select { min-height: 36px; border: 1px solid var(--line); border-radius: 10px; padding: 0 30px 0 11px; color: var(--green); background: white; font-size: 11px; font-weight: 750; }
    .pawfect-name-tool .clear-link { color: var(--burgundy); border: 0; background: none; cursor: pointer; font-weight: 800; }
    .pawfect-name-tool .name-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .pawfect-name-tool .list-row { min-height: 225px; padding: 20px; position: relative; background: white; border: 1px solid var(--line); border-radius: 19px; transition: .18s ease; }
    .pawfect-name-tool .list-row:hover { transform: translateY(-3px); box-shadow: 0 13px 30px rgba(16,54,50,.07); }
    .pawfect-name-tool .list-name { padding-right: 42px; }
    .pawfect-name-tool .list-name strong { display: block; color: var(--green); font-family: Georgia, serif; font-size: 27px; }
    .pawfect-name-tool .list-name small { display: block; margin-top: 3px; color: var(--green); opacity: .58; font-size: 10px; letter-spacing: .08em; font-weight: 800; }
    .pawfect-name-tool .list-meaning { min-height: 68px; margin: 15px 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
    .pawfect-name-tool .list-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
    .pawfect-name-tool .list-style, .pawfect-name-tool .syllable-tag { color: var(--green); background: var(--yellow); border-radius: 999px; padding: 5px 8px; font-size: 9px; font-weight: 800; }
    .pawfect-name-tool .syllable-tag { background: var(--cream); border: 1px solid var(--line); }
    .pawfect-name-tool .review-pending { color: var(--burgundy); background: #fff4ed; border-color: rgba(139,38,38,.14); }
    .pawfect-name-tool .list-row > .heart-btn { position: absolute; right: 16px; top: 16px; }
    .pawfect-name-tool .empty-state { padding: 50px 20px; text-align: center; color: var(--muted); }
    .pawfect-name-tool .load-more-wrap { display: flex; justify-content: center; margin-top: 18px; }

    /* Favorite dock & modal */
    .pawfect-name-tool .favorite-dock { position: fixed; z-index: 20; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(130%); width: min(620px, calc(100% - 28px)); min-height: 66px; padding: 10px 12px 10px 19px; border-radius: 22px; background: var(--green); color: white; box-shadow: 0 18px 45px rgba(16,54,50,.28); display: flex; align-items: center; justify-content: space-between; gap: 15px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
    .pawfect-name-tool .favorite-dock.visible { transform: translateX(-50%) translateY(0); }
    .pawfect-name-tool .dock-copy { display: flex; align-items: center; gap: 11px; min-width: 0; }
    .pawfect-name-tool .dock-heart { width: 38px; height: 38px; border-radius: 13px; background: var(--burgundy); display: grid; place-items: center; font-size: 18px; }
    .pawfect-name-tool .dock-copy strong { display: block; font-size: 13px; }
    .pawfect-name-tool .dock-names { display: block; max-width: 280px; margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: rgba(255,255,255,.62); font-size: 11px; }
    .pawfect-name-tool .dock-btn { border: 0; background: var(--yellow); color: var(--green); border-radius: 14px; min-height: 44px; padding: 0 17px; cursor: pointer; font-weight: 850; font-size: 12px; }
    .pawfect-name-tool .overlay { position: fixed; inset: 0; z-index: 40; background: rgba(16,35,32,.68); backdrop-filter: blur(9px); display: grid; place-items: center; padding: 18px; }
    .pawfect-name-tool .modal { width: min(760px, 100%); max-height: min(740px, calc(100vh - 36px)); overflow: auto; background: var(--cream); border-radius: 29px; box-shadow: 0 25px 90px rgba(0,0,0,.25); animation: pawfect-enter .3s ease both; }
    .pawfect-name-tool .modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 23px; border-bottom: 1px solid var(--line); }
    .pawfect-name-tool .modal-head h3 { margin: 0; color: var(--green); font-family: Georgia, "Songti SC", serif; font-size: 24px; }
    .pawfect-name-tool .close-btn { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; font-size: 19px; }
    .pawfect-name-tool .modal-content { padding: 24px; }
    .pawfect-name-tool .favorite-items { display: grid; gap: 8px; margin-bottom: 20px; }
    .pawfect-name-tool .favorite-item { display: flex; justify-content: space-between; align-items: center; background: white; border-radius: 15px; padding: 12px 15px; }
    .pawfect-name-tool .favorite-item strong { color: var(--green); }
    .pawfect-name-tool .favorite-item small { color: var(--muted); margin-left: 7px; }
    .pawfect-name-tool .remove-fav { border: 0; background: transparent; color: var(--burgundy); cursor: pointer; font-weight: 850; }
    .pawfect-name-tool .share-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
    .pawfect-name-tool .share-action { min-height: 58px; border: 1px solid var(--line); border-radius: 16px; background: white; cursor: pointer; color: var(--green); font-weight: 850; }
    .pawfect-name-tool .share-action.highlight { grid-column: 1 / -1; background: var(--green); color: white; border-color: var(--green); }
    .pawfect-name-tool .id-preview { width: min(440px, 100%); aspect-ratio: 4/5; margin: 0 auto 20px; position: relative; overflow: hidden; background: var(--green); color: white; border-radius: 27px; padding: 34px; box-shadow: var(--shadow); }
    .pawfect-name-tool .id-preview::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -90px; top: -70px; background: var(--yellow); }
    .pawfect-name-tool .id-brand { position: relative; z-index: 1; font-size: 11px; font-weight: 900; letter-spacing: .13em; }
    .pawfect-name-tool .id-paw { position: absolute; z-index: 1; right: 28px; top: 26px; color: var(--burgundy); }
    .pawfect-name-tool .id-paw svg { width: 30px; height: 30px; stroke-width: 2.2; }
    .pawfect-name-tool .id-type { position: relative; z-index: 1; margin-top: 68px; color: var(--yellow); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
    .pawfect-name-tool .id-name { position: relative; z-index: 1; margin: 8px 0 5px; font-family: Georgia, serif; font-size: clamp(48px, 12vw, 72px); line-height: .95; letter-spacing: -.05em; }
    .pawfect-name-tool .id-cn { position: relative; z-index: 1; color: var(--yellow); font-size: 17px; font-weight: 800; }
    .pawfect-name-tool .id-rule { width: 56px; height: 4px; margin: 25px 0; background: var(--orange); border-radius: 9px; }
    .pawfect-name-tool .id-meaning { position: relative; z-index: 1; max-width: 300px; line-height: 1.7; font-size: 14px; }
    .pawfect-name-tool .id-tags { position: absolute; z-index: 1; left: 34px; right: 34px; bottom: 32px; display: flex; gap: 7px; flex-wrap: wrap; }
    .pawfect-name-tool .id-tags span { padding: 7px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); font-size: 10px; }
    .pawfect-name-tool .id-actions { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; }
    .pawfect-name-tool .toast { position: fixed; z-index: 80; left: 50%; top: 20px; transform: translate(-50%,-120px); background: var(--green); color: white; border-radius: 14px; padding: 13px 20px; box-shadow: var(--shadow); font-size: 13px; font-weight: 750; transition: transform .3s ease; }
    .pawfect-name-tool .toast.show { transform: translate(-50%,0); }
    .pawfect-name-tool .demo-note { margin-top: 16px; color: var(--muted); text-align: center; font-size: 11px; }
    .pawfect-name-tool .feedback-intro { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0 0 18px; }
    .pawfect-name-tool .feedback-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }
    .pawfect-name-tool .feedback-option { min-height: 56px; padding: 0 15px; text-align: left; color: var(--green); background: white; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 800; }
    .pawfect-name-tool .feedback-option:hover { background: var(--yellow); border-color: transparent; }
    .pawfect-name-tool .photo-upload { margin: 0 auto 18px; width: min(440px,100%); display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px dashed rgba(16,54,50,.32); border-radius: 16px; color: var(--green); background: white; cursor: pointer; font-size: 12px; font-weight: 800; }
    .pawfect-name-tool .photo-upload svg { width: 20px; height: 20px; }
    .pawfect-name-tool .photo-upload input { position: absolute; opacity: 0; pointer-events: none; }
    .pawfect-name-tool .id-photo { position: absolute; z-index: 1; right: 26px; bottom: 25px; width: 104px; height: 104px; object-fit: cover; border: 5px solid var(--yellow); border-radius: 50%; background: var(--cream); }
    .pawfect-name-tool .id-preview.has-photo .id-tags { right: 138px; }

    @media (max-width: 820px) {
      .pawfect-name-tool .site-header { height: 70px; }
      .pawfect-name-tool .tool-main { padding-top: 14px; }
      .pawfect-name-tool .hero { min-height: auto; grid-template-columns: 1fr; gap: 35px; padding: 45px 0 70px; }
      .pawfect-name-tool .hero { gap: 18px; }
      .pawfect-name-tool .hero-visual { min-height: 475px; margin-top: 22px; }
      .pawfect-name-tool .hero-question { top: 67px; font-size: clamp(21px, 6.5vw, 29px); }
      .pawfect-name-tool .identity-card { left: 0; top: 125px; height: 278px; padding: 14px; border-radius: 21px; }
      .pawfect-name-tool .identity-body { height: 213px; grid-template-columns: 38% 62%; }
      .pawfect-name-tool .identity-symbol svg { width: 68px; height: 68px; }
      .pawfect-name-tool .identity-details { padding: 20px 17px; }
      .pawfect-name-tool .identity-name { font-size: 39px; }
      .pawfect-name-tool .identity-row { font-size: 10px; }
      .pawfect-name-tool .name-chip { min-width: 72px; padding: 9px 12px; font-size: 16px; }
      .pawfect-name-tool .chip-milo { left: 2%; top: 8px; }
      .pawfect-name-tool .chip-bean { left: 48%; top: 0; }
      .pawfect-name-tool .chip-scout { right: 0; top: 20px; }
      .pawfect-name-tool .chip-poppy { left: 2%; bottom: 5px; }
      .pawfect-name-tool .chip-luna { left: 43%; bottom: -2px; }
      .pawfect-name-tool .chip-coco { right: 0; bottom: 8px; }
      .pawfect-name-tool .hero-heart { left: 2%; top: 79px; }
      .pawfect-name-tool h1 { font-size: clamp(51px, 14.8vw, 78px); }
      .pawfect-name-tool .question-card { min-height: 0; }
      .pawfect-name-tool .recommend-grid { grid-template-columns: 1fr; }
      .pawfect-name-tool .name-card.featured { margin-top: 0; order: -1; }
      .pawfect-name-tool .filter-groups { grid-template-columns: repeat(2,1fr); gap: 18px; }
      .pawfect-name-tool .name-list { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 560px) {
      .pawfect-name-tool .tool-main, .pawfect-name-tool .site-header { width: min(100% - 26px, 1180px); }
      .pawfect-name-tool .brand small { display: none; }
      .pawfect-name-tool .hero { text-align: left; }
      .pawfect-name-tool .hero-copy { font-size: 16px; }
      .pawfect-name-tool .hero-visual { min-height: 430px; }
      .pawfect-name-tool .identity-card { top: 112px; height: 250px; padding: 11px; }
      .pawfect-name-tool .identity-head { height: 31px; font-size: 10px; }
      .pawfect-name-tool .identity-body { height: 196px; }
      .pawfect-name-tool .identity-details { padding: 17px 12px; }
      .pawfect-name-tool .identity-label { font-size: 9px; }
      .pawfect-name-tool .identity-name { font-size: 34px; margin-bottom: 12px; }
      .pawfect-name-tool .identity-rule { margin-bottom: 13px; }
      .pawfect-name-tool .identity-row { gap: 6px; margin: 8px 0; font-size: 8px; }
      .pawfect-name-tool .identity-symbol svg { width: 56px; height: 56px; }
      .pawfect-name-tool .hero-question { top: 58px; }
      .pawfect-name-tool .name-chip { min-width: 62px; padding: 8px 10px; font-size: 14px; }
      .pawfect-name-tool .chip-poppy, .pawfect-name-tool .chip-luna, .pawfect-name-tool .chip-coco { bottom: 5px; }
      .pawfect-name-tool .answer-grid { grid-template-columns: 1fr; }
      .pawfect-name-tool .question-card { border-radius: 25px; padding: 25px 19px; }
      .pawfect-name-tool .question-card h2 { font-size: 31px; }
      .pawfect-name-tool .question-hint { margin-bottom: 20px; font-size: 13px; }
      .pawfect-name-tool .answer-option { min-height: 72px; }
      .pawfect-name-tool .section-head { align-items: start; flex-direction: column; }
      .pawfect-name-tool .share-actions { grid-template-columns: 1fr; }
      .pawfect-name-tool .name-list { grid-template-columns: 1fr; }
      .pawfect-name-tool .library-status { align-items: flex-start; flex-direction: column; }
      .pawfect-name-tool .feedback-grid { grid-template-columns: 1fr; }
      .pawfect-name-tool .filter-groups { grid-template-columns: 1fr; }
      .pawfect-name-tool .modal-content { padding: 17px; }
      .pawfect-name-tool .id-preview { padding: 27px; }
      .pawfect-name-tool .id-tags { left: 27px; right: 27px; bottom: 25px; }
      .pawfect-name-tool .dock-names { max-width: 145px; }
    }
    @media (prefers-reduced-motion: reduce) { .pawfect-name-tool *, .pawfect-name-tool *::before, .pawfect-name-tool *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* WordPress theme isolation */
.pawfect-name-tool, .pawfect-name-tool * { text-transform: none; }
.pawfect-name-tool button, .pawfect-name-tool input, .pawfect-name-tool select { font-family: inherit; }
.pawfect-name-tool button { margin: 0; box-shadow: none; }

/* Candidate presentation layer: the generator logic is unchanged. */
.pawfect-name-tool .hero h1 { max-width:610px; font-size:clamp(52px,5.2vw,76px); }
.pawfect-name-tool .hero-subtitle { max-width:610px; margin:12px 0 0; color:var(--green); font:italic 700 clamp(34px,4.2vw,61px)/1.03 Georgia,serif; letter-spacing:-.045em; }
.pawfect-name-tool .hero-subtitle em { position:relative; font-style:italic; white-space:nowrap; }
.pawfect-name-tool .hero-subtitle em::after { content:""; position:absolute; z-index:-1; left:0; right:0; bottom:2px; height:8px; border-radius:50%; background:var(--yellow); }
@media (max-width:1050px) { .pawfect-name-tool .hero { min-height:auto; grid-template-columns:1fr; gap:18px; padding:45px 0 70px; } .pawfect-name-tool .hero-visual { min-height:475px; margin-top:22px; } }

/* 1.4 UX hierarchy */
.pawfect-name-tool .hero { min-height:auto; padding:64px 0 84px; }
.pawfect-name-tool .hero h1 { max-width:620px; font-size:clamp(48px,5vw,72px); line-height:1.01; }
.pawfect-name-tool .hero-copy { max-width:580px; margin:22px 0 26px; font-size:17px; line-height:1.7; }
.pawfect-name-tool .resume-actions { margin-top:-6px; }
.pawfect-name-tool .resume-btn { min-height:auto; padding:5px 0; border:0; border-bottom:1px solid rgba(16,54,50,.32); border-radius:0; background:transparent; font-size:12px; }
.pawfect-name-tool .resume-btn:hover { color:var(--orange); border-color:var(--orange); background:transparent; }
.pawfect-name-tool .hero-visual { min-height:390px; }
.pawfect-name-tool .identity-card { left:8%; top:38px; height:308px; }
.pawfect-name-tool .identity-head { align-items:center; height:45px; }
.pawfect-name-tool .identity-body { height:227px; }
.pawfect-name-tool .identity-details { display:flex; flex-direction:column; justify-content:center; }
.pawfect-name-tool .identity-waiting { color:var(--burgundy); font-size:13px; font-weight:850; }
.pawfect-name-tool .name-card.featured { margin-top:0; border-color:rgba(239,105,5,.38); box-shadow:0 18px 45px rgba(16,54,50,.12); }
.pawfect-name-tool .name-card.featured .card-stripe { background:var(--orange); }
.pawfect-name-tool .reason { min-height:92px; }
.pawfect-name-tool .why-details { margin-top:15px; border-top:1px dashed var(--line); }
.pawfect-name-tool .why-details summary { padding:14px 0 9px; color:var(--green); cursor:pointer; font-size:12px; font-weight:850; }
.pawfect-name-tool .why-details .evidence-list { margin:2px 0 8px; }
.pawfect-name-tool .browse-more-btn { flex:0 0 auto; }
.pawfect-name-tool .library-controls { display:flex; justify-content:flex-end; margin:0 0 15px; }
.pawfect-name-tool .library > .section-head { padding:28px; border:1px solid var(--line); border-radius:22px; background:#fff; }
@media (max-width:1050px) { .pawfect-name-tool .hero-visual { min-height:360px; margin-top:4px; } .pawfect-name-tool .identity-card { top:20px; left:0; } }
@media (max-width:560px) {
  .pawfect-name-tool .hero { padding:40px 0 58px; }
  .pawfect-name-tool .hero h1 { font-size:clamp(43px,13vw,61px); }
  .pawfect-name-tool .hero-visual { min-height:292px; }
  .pawfect-name-tool .identity-card { top:10px; height:270px; }
  .pawfect-name-tool .identity-body { height:204px; }
  .pawfect-name-tool .identity-waiting { font-size:11px; }
  .pawfect-name-tool .results-hero h2 br { display:none; }
  .pawfect-name-tool .library > .section-head { padding:22px; }
  .pawfect-name-tool .browse-more-btn { width:100%; }
  .pawfect-name-tool .favorite-dock { min-height:58px; bottom:10px; padding:8px 9px 8px 12px; border-radius:17px; }
  .pawfect-name-tool .dock-heart { width:34px; height:34px; border-radius:11px; }
  .pawfect-name-tool .dock-btn { min-height:39px; padding:0 13px; }
}
