*{box-sizing:border-box}
:root{--paper:#fcf6ec;--ink:#282e24;--muted:#676b5b;--pine:#315342;--gold:#bc863c;--line:#e9dcc6;--script:KaiTi,STKaiti,"DFKai-SB",FangSong,"Songti SC",serif;--shadow:0 3px 10px #6a481014}
html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 50% 5%,#fffdf8,transparent 70%),var(--paper);color:var(--ink);font:16px/1.5 "Microsoft YaHei","PingFang SC",sans-serif}
button,input,select{font:inherit;color:inherit}a,button{color:inherit;text-decoration:none}button{cursor:pointer;background:none;border:0;padding:0}button:hover,a:hover{color:var(--pine)}:focus-visible{outline:3px solid #bc8135;outline-offset:3px}
h1,h2,h3,p,fieldset,ol{margin:0}h1,h2,h3,.brand,.motto,.shortcut strong,.styles strong,.namegrid strong,.poem strong,.story strong,.catalog-card strong,.large-name{font-family:var(--script)}
.wrap{width:min(94%,1360px);margin:auto}.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:68px}header{background:#fbf4e8;border-bottom:1px solid #e9dcc699}.brand{display:inline-flex;align-items:center;gap:9px;font-size:clamp(23px,2.3vw,33px);font-weight:bold;white-space:nowrap;letter-spacing:2px}.brand canvas{width:51px;height:51px}
nav,.account{display:flex;gap:clamp(12px,2vw,32px);align-items:center}nav a,nav button,.account button,.account a{font-size:14px;font-weight:600;white-space:nowrap}nav a{padding:10px 0;position:relative}nav .active:after{content:"";background:#638361;position:absolute;bottom:0;height:2px;inset-inline:0}.account{gap:17px}
.hero{position:relative;height:clamp(286px,25vw,370px);background:#eee7d3 url("assets/hero.webp") center 45%/cover no-repeat}
.hero-copy{width:min(62%,880px);padding-top:clamp(22px,2.5vw,44px);text-align:center;margin-left:2vw}.hero h1{font-size:clamp(68px,7.3vw,110px);letter-spacing:.06em;line-height:1.26;color:#173e2b;text-shadow:0 1px 10px #fff3dc}.motto{font-weight:700;letter-spacing:.1em;font-size:clamp(16px,1.7vw,25px)}.motto:before,.motto:after{content:"";display:inline-block;width:24px;height:1px;background:var(--gold);vertical-align:middle;margin:0 9px}.qualities{display:flex;justify-content:center;gap:14px;margin:12px 0;font-size:13px;font-weight:600}.qualities i{font:12px/16px sans-serif;color:white;background:#b37d30;border-radius:50%;display:inline-block;width:16px;margin-right:4px}
#naming{position:absolute;left:50%;transform:translateX(-50%);bottom:12px;display:flex;align-items:center;gap:14px;width:min(83%,1040px);padding:10px 16px;border-radius:40px;background:#fff9efef;border:1px solid #fff9ea;box-shadow:0 4px 15px #67491930}.surname{display:flex;align-items:center;gap:6px;min-width:0;flex:1}.surname canvas{width:34px;height:34px}.surname input,.text-input{background:#fffdf8;border:1px solid var(--line);border-radius:9px;padding:10px 12px;min-width:0;width:100%}fieldset{border:0;padding:0;display:flex;gap:4px}fieldset label{position:relative;cursor:pointer}fieldset input{position:absolute;opacity:0}fieldset span,.filter{display:inline-block;border-radius:24px;background:#f3eadb;padding:5px 12px;font-size:14px}fieldset input:focus-visible+span{outline:2px solid var(--pine)}fieldset input:checked+span,.filter.selected{background:var(--pine);color:white}.start,.cta{padding:8px 25px;background:linear-gradient(115deg,#d99f45,#b77725);color:white;border-radius:28px;font-weight:bold;letter-spacing:.06em}.start{min-width:18%;font-size:19px}.start:hover,.cta:hover{color:white;filter:brightness(1.06)}
.body{padding-top:18px}.shortcuts,.styles,.poems,.bottom,.selections,.namegrid,.chips,.catalog{display:grid;gap:12px}.shortcuts{grid-template-columns:repeat(6,1fr);border:1px solid var(--line);border-radius:19px;background:linear-gradient(#fffaf2,#f8eddb);box-shadow:var(--shadow);padding:12px 0;gap:0}.shortcut{display:flex;position:relative;align-items:center;justify-content:center;flex-direction:column;line-height:1.4}.shortcut+.shortcut:before{content:"";position:absolute;left:0;height:66%;width:1px;background:linear-gradient(transparent,#c7af89,transparent)}.medal{width:57px;height:57px;border-radius:50%;border:1px solid #d9b985;background:radial-gradient(circle at 32% 25%,#fffef8,#f1dfc4);box-shadow:0 3px 5px #856b4133;display:grid;place-items:center;margin-bottom:4px}.medal canvas{width:46px;height:46px}.shortcut strong,.style strong{font-size:21px}.shortcut small,.poem small{font-size:13px;color:var(--muted)}
.selections{grid-template-columns:repeat(3,1fr);margin:23px 0 15px}.choice{border-radius:16px;padding:13px 16px 16px;background-position:center;background-size:cover;box-shadow:var(--shadow);overflow:hidden}.panel0{background-image:linear-gradient(110deg,#e4f0f6ab,#f1f5f4b8),url("assets/lake.webp")}.panel1{background-image:linear-gradient(110deg,#ffdfd8a6,#fff2e9ab),url("assets/blossom.webp")}.panel2{background-image:linear-gradient(110deg,#e9edd09e,#f1edd7b3),url("assets/bamboo.webp")}.choice-title,.heading{display:flex;align-items:center;gap:8px}.choice-title h2,.heading h2,.bottom h2{display:flex;align-items:center;gap:7px;font-size:clamp(18px,1.75vw,25px);line-height:1.3}.choice-title i{font:24px/32px Georgia,serif;text-align:center;width:32px;border-radius:50%;background:#bad4e5;color:#375c70}.panel1 i{background:#ecc0b8;color:#a34440}.panel2 i{background:#ccd8b3;color:#4e6944}.more{font-size:13px;white-space:nowrap;margin-left:auto}.namegrid{grid-template-columns:repeat(2,1fr);gap:8px;margin:10px 0 0 15%}.namegrid a,.namegrid button,.poem span{display:grid;justify-items:center;align-content:center;background:#fffcf5d9;border-radius:11px;min-height:66px}.namegrid strong,.poem strong,.story strong{font-size:25px;line-height:1.3}.namegrid small,.story em{font-size:12px;border-radius:20px;background:#dce4db;padding:1px 10px;font-style:normal}.panel1 .namegrid small{background:#f5dbd1}.panel2 .namegrid small{background:#e1e4ca}
.heading{margin:23px 0 13px}.heading h2 canvas,.bottom h2 canvas{width:32px;height:32px}.caption{font-size:13px;color:#777360}.caption:before{content:"—";color:var(--gold);margin-right:5px}.poems{grid-template-columns:repeat(4,1fr)}.poem{display:grid;place-items:center;min-height:104px;background:center/cover url("assets/pavilion.webp");border-radius:12px;box-shadow:var(--shadow)}.poem1{background-image:url("assets/blossom.webp")}.poem2{background-image:url("assets/lake.webp")}.poem3{background-image:url("assets/bamboo.webp")}.poem span{padding:8px 22px;min-width:45%;background:#fff8e9e8;gap:2px}.poem strong{letter-spacing:.1em}.diamond{color:#bf9658}.styles{grid-template-columns:repeat(7,1fr);gap:9px}.styles a,.styles button{display:grid;justify-items:center;align-content:center;gap:4px;border:1px solid #e9d6b5;background:radial-gradient(ellipse at center,#fffaf2,#f7ead8);border-radius:13px;min-height:99px;box-shadow:var(--shadow)}.styles canvas{width:46px;height:46px}.styles strong{font-size:18px}.styles a:hover,.poem:hover,.namegrid a:hover,.catalog-card:hover{box-shadow:0 3px 14px #8f6e4138;transform:translateY(-2px)}
.bottom{grid-template-columns:1.12fr 1.08fr 1fr;margin:23px 0 30px;gap:18px}.bottom section{border-bottom:1px solid var(--line);padding:9px 12px 12px;border-radius:14px;background:#faf0e0;box-shadow:var(--shadow)}.bottom h2{margin-bottom:10px}.chips{grid-template-columns:repeat(4,1fr);gap:6px}.chips a,.chips button{font-size:14px;padding:10px 1px;text-align:center;background:#f3e5ce;border-radius:7px}.story{display:flex;align-items:stretch;gap:14px;text-align:left}.story-art{width:42%;min-height:100px;border-radius:8px;background:center right/cover url("assets/pavilion.webp")}.story small,.foot a,.foot button{display:block}.story small{margin-top:8px}.details{color:var(--muted);font-size:12px}ol{list-style:none;padding:0;display:grid;grid-template-rows:repeat(3,1fr);grid-auto-flow:column;gap:6px}li b{display:inline-grid;place-items:center;background:#eacb9a;border-radius:5px;width:20px;font-size:13px;margin-right:12px}
footer{color:#faf2de;background:radial-gradient(at top left,#486953,#2a483b 75%);border-top:3px solid #c4a16a;padding:26px 0 12px}footer button:hover,footer a:hover{color:#ffe1a9}.foot{display:flex;justify-content:space-evenly;gap:16px}.foot p,.foot a,.foot button,footer>small{font-size:13px;color:#e8e5d6;margin-top:5px}.foot p{margin-bottom:10px}footer>small{display:block;text-align:center;border-top:1px solid #ffffff26;margin-top:18px;padding-top:10px}
.inner{min-height:62vh;padding:17px 0 45px}.crumb{display:flex;gap:8px;font-size:13px;color:var(--muted);margin-bottom:14px}.page-banner{border-radius:18px;overflow:hidden;background:linear-gradient(90deg,#fff7e8ee,#fff6e5ad 55%,transparent),url("assets/pavilion.webp") center/cover;padding:26px clamp(16px,4vw,54px);margin-bottom:20px}.page-banner h1,.large-name{font-size:clamp(33px,4vw,51px);color:var(--pine);margin:0}.page-banner p{font-size:15px;margin-top:5px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0 20px}.filter{border:1px solid var(--line);padding:7px 15px}.catalog{grid-template-columns:repeat(auto-fit,minmax(min(218px,100%),1fr));align-items:stretch}.catalog-card,.sheet{border:1px solid var(--line);border-radius:16px;background:#fffaf1;padding:21px;box-shadow:var(--shadow)}.catalog-card{display:grid;gap:8px;align-content:start}.catalog-card strong{color:var(--pine);font-size:27px}.catalog-card small,.muted{color:var(--muted);font-size:14px}.sheet{max-width:900px;margin:15px auto}.sheet h2{margin:0 0 8px}.sheet p{margin:7px 0}.sheet input,.sheet select{max-width:330px}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.nameform{display:flex;gap:9px;flex-wrap:wrap}.compare{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left}td,th{border-bottom:1px solid var(--line);padding:10px}.tab{display:inline-block;padding:6px 0;margin-right:20px}.tab[aria-current]{border-bottom:2px solid var(--gold)}.route-form{display:grid;gap:12px;justify-items:start}.route-form label{display:grid;gap:4px}button:disabled{opacity:.55;cursor:default}
@media(max-width:1000px){.nav{flex-wrap:wrap;gap:0 12px;padding-top:4px}.nav nav{order:3;width:100%;justify-content:space-between}.nav .account{margin-left:auto}.hero-copy{width:65%;margin-left:0}.choice{padding:12px}.namegrid{margin-left:0}.bottom{gap:9px}.chips{grid-template-columns:repeat(2,1fr)}#naming{width:94%;gap:6px}.choice-title{flex-wrap:wrap}.choice-title .more{font-size:12px}.motto:after,.motto:before{width:12px}}
@media(max-width:700px){.wrap{width:93%}.brand{font-size:23px}.brand canvas{width:40px;height:40px}.account{gap:10px}.account a{font-size:12px}.nav nav{overflow-x:auto;gap:16px;justify-content:flex-start;padding-bottom:1px}.nav nav a{font-size:13px}.hero{height:275px;background-position:59% 28%;background-size:auto 255px}.hero-copy{padding-top:20px;width:66%;text-shadow:0 0 8px #fff7e4}.hero h1{font-size:clamp(40px,9vw,60px)}.motto{font-size:13px;letter-spacing:0}.motto:before,.motto:after{display:none}.qualities{margin:9px auto;gap:3px 8px;max-width:190px;flex-wrap:wrap;font-size:11px}.qualities i{font-size:10px;width:13px;line-height:13px}#naming{bottom:5px;display:grid;grid-template-columns:1fr auto;gap:6px;border-radius:16px;padding:8px}.surname{grid-column:1/3}.surname input{padding:6px 9px}.start{padding:5px 11px;font-size:15px}fieldset span{font-size:12px;padding:4px 8px}.shortcuts{grid-template-columns:repeat(3,1fr);gap:12px 0}.shortcut:nth-child(4):before{display:none}.shortcut strong{font-size:18px}.medal{width:45px;height:45px}.medal canvas{width:36px;height:36px}.selections,.bottom{grid-template-columns:1fr}.selections{gap:10px}.choice{padding:10px 12px 13px}.namegrid{grid-template-columns:repeat(4,1fr);gap:5px}.namegrid strong{font-size:21px}.namegrid small{font-size:10px;padding:1px 5px}.namegrid a{min-height:57px}.heading{flex-wrap:wrap}.heading h2{font-size:21px}.caption{display:none}.poems{grid-template-columns:repeat(2,1fr);gap:8px}.poem{min-height:86px}.styles{grid-template-columns:repeat(4,1fr);gap:6px}.styles a{min-height:77px}.styles strong{font-size:15px}.styles canvas{width:36px;height:36px}.bottom section{padding:12px}.chips{grid-template-columns:repeat(4,1fr)}.foot{display:grid;grid-template-columns:1fr 1fr}.catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.catalog-card{padding:14px}.catalog-card strong{font-size:23px}.catalog-card small{font-size:12px}.page-banner{padding:20px}.sheet{padding:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.styles a:hover,.poem:hover,.catalog-card:hover{transform:none}}

/* 名字推荐 */
.inner.recommendation {
  width: 100%;
  padding: 0 0 44px;
  color: #233c34;
  background: radial-gradient(ellipse at 25% 70%, #fffdf4 0, transparent 70%), #faf5e7;
}

.rec-banner {
  min-height: 278px;
  padding: 36px 0 100px;
  text-align: center;
  background:
    linear-gradient(180deg, #faf4e520, #faf4e500 64%, #faf5e7bb),
    linear-gradient(90deg, #fff4d600, #fffaedec 35%, #fffaedf0 65%, #fff4d600),
    url("assets/pavilion.webp") center 56% / cover no-repeat,
    #f5edd9;
}

.rec-banner h1 {
  color: #214438;
  font-size: clamp(38px, 4.2vw, 63px);
  line-height: 1.25;
  letter-spacing: .035em;
}
.rec-banner h1::before,
.rec-banner h1::after {
  content: "";
  display: inline-block;
  width: clamp(21px, 3.5vw, 50px);
  height: 1px;
  margin: 0 15px;
  vertical-align: middle;
  background: linear-gradient(90deg, transparent, #bd9551);
}
.rec-banner h1::after { transform: scaleX(-1); }
.rec-banner p {
  margin-top: 9px;
  font: 600 clamp(16px, 1.75vw, 23px)/1.5 var(--script);
}

.rec-form {
  position: relative;
  width: min(87%, 1230px);
  margin: -111px auto 26px;
  padding: 19px clamp(14px, 2.35vw, 34px);
  border: 1px solid #ede4ce;
  border-radius: 13px;
  background: #fdf8ebf7;
  box-shadow: 0 3px 13px #64553212;
}
.rec-controls, .rec-field, .rec-genders {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rec-controls { justify-content: space-between; gap: 15px; }
.rec-field, .rec-genders { color: #272b23; font-weight: 600; }
.rec-genders { flex-wrap: wrap; gap: 6px; }
.rec-genders legend { float: left; margin-right: 4px; }
.rec-field input,
.rec-field select,
.rec-list-heading select {
  min-width: 0;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid #ddd2b9;
  border-radius: 13px;
  background: #fcf8ec;
  font-size: 14px;
  font-weight: normal;
  color: #283b30;
}
.rec-field input { width: clamp(125px, 16vw, 225px); }
.rec-field select { min-width: 122px; }
.rec-genders span, .rec-chips button {
  min-width: 58px;
  padding: 7px 13px;
  border: 1px solid #e3d9c2;
  border-radius: 999px;
  background: #f9f4e6;
  color: #29382e;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.rec-genders input:checked + span, .rec-chips button[aria-pressed="true"] {
  border-color: #315345;
  background: #244b3d;
  color: white;
}
.rec-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 39px;
  padding: 7px 17px;
  border-radius: 11px;
  background: #244b3d;
  color: #fffaf0;
  font-weight: 600;
  white-space: nowrap;
}
.rec-submit:hover { background: #34624e; color: white; }
.rec-submit i {
  position: relative;
  width: 13px;
  height: 13px;
  border: 2px solid;
  border-radius: 50%;
}
.rec-submit i::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 2px;
  background: currentColor;
  right: -5px;
  bottom: -2px;
  transform: rotate(45deg);
}
.rec-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px clamp(8px, 1.4vw, 20px);
  margin-top: 21px;
}
.rec-chips button { padding-inline: 17px; }
.rec-chips button:hover, .rec-genders span:hover { border-color: #9caa83; }

.rec-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(259px, 25%);
  align-items: start;
  gap: clamp(16px, 2vw, 27px);
}
.rec-list-heading, .rec-card-name, .rec-detail-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rec-list-heading {
  justify-content: space-between;
  min-height: 39px;
  margin-bottom: 16px;
}
.rec-list-heading h2, .rec-detail h2 {
  font-size: clamp(22px, 2.25vw, 32px);
  color: #233f35;
  line-height: 1.25;
}
.rec-list-heading h2 span, .rec-detail h2 span { color: #56704c; }
.rec-list-heading strong { color: #a46517; }
.rec-list-heading select { padding: 3px 8px; min-height: 33px; border-radius: 20px; }
.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px 17px;
}
.rec-card {
  position: relative;
  border: 1px solid #eae1ce;
  border-radius: 10px;
  background: linear-gradient(130deg, #fffcf5, #faf4e5);
  box-shadow: 0 2px 6px #5a502010;
}
.rec-card:hover, .rec-card.is-selected {
  border-color: #b9c1a2;
  background: linear-gradient(130deg, #fefff5, #f3f2df);
  box-shadow: 0 2px 10px #5b654b20;
}
.rec-select {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 111px;
  padding: 14px 17px;
  border-radius: inherit;
  color: #283630;
  text-align: left;
}
.rec-card-name { flex-wrap: wrap; gap: 4px 10px; padding-right: 21px; }
.rec-card-name strong {
  font: bold clamp(25px, 2.7vw, 37px)/1.06 var(--script);
  color: #1f3e33;
  overflow-wrap: anywhere;
}
.rec-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  line-height: 1.2;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.rec-badge-0 { background: #dce9f4; color: #1d577f; }
.rec-badge-1 { background: #f8ded7; color: #8d3732; }
.rec-badge-2 { background: #f2e4c7; color: #76521c; }
.rec-card-meaning {
  display: -webkit-box;
  overflow: hidden;
  color: #4e5146;
  font: 500 clamp(15px, 1.5vw, 20px)/1.35 var(--script);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.rec-save-card {
  position: absolute;
  top: 9px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #657765;
  font: 24px/1 Georgia, serif;
}
.rec-save-card:hover { background: #e9e7d6; }
.rec-save-card[aria-pressed="true"], .rec-save-detail[aria-pressed="true"] { color: #a05f1e; }

.rec-detail {
  padding: 19px clamp(16px, 1.8vw, 25px) 21px;
  border: 1px solid #eee5d1;
  border-radius: 12px;
  background: linear-gradient(140deg, #fefaf0, #faf1dd);
  box-shadow: 0 2px 10px #5b49211a;
  scroll-margin-top: 12px;
}
.rec-detail h2 { font-size: clamp(22px, 2.15vw, 31px); }
.rec-detail-name { margin: 19px 0 5px; flex-wrap: wrap; }
.rec-detail-name h3 {
  color: #204739;
  font-size: clamp(37px, 4vw, 55px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.rec-pronunciation { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.rec-speak {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #e7ebda;
  color: #254a3d;
  font: 600 13px/1 sans-serif;
}
.rec-breakdown { margin: 14px 0 9px; font-size: 14px; }
.rec-breakdown dt { margin: 11px 0 3px; font-weight: 700; color: #285243; }
.rec-breakdown dt::before { content: "❖"; margin-right: 5px; font-size: 11px; color: #467951; }
.rec-breakdown dd { margin: 0; color: #383d31; }
.rec-text-link { text-decoration: underline; text-underline-offset: 3px; }
.rec-style-tag { display: inline-block; padding: 3px 10px; border-radius: 16px; background: #e7e7d2; color: #314b39; }
.rec-detail-link { display: inline-block; margin: 7px 0 12px; color: #8f4c1d; font-size: 14px; font-weight: 600; }
.rec-detail-link:hover, .rec-text-link:hover { text-decoration: underline; }
.rec-save-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-height: 43px;
  border: 1px solid #bb7d31;
  border-radius: 10px;
  color: #995717;
  font-weight: 600;
}
.rec-save-detail:hover { background: #f8e9cb; color: #995717; }
.rec-save-detail span { font: 23px/1 Georgia, serif; }
.rec-notice { margin-top: 5px; color: #66695a; font-size: 12px; }

.rec-pagination {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}
.rec-pagination a, .rec-pagination span {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 7px;
  border-radius: 50%;
}
.rec-pagination a:hover { background: #e9e9d7; }
.rec-pagination a[aria-current="page"] { background: #244b3d; color: white; }
.rec-pagination a[aria-current="page"]::after { display: none; }
.rec-pagination span { color: #9e9c89; }
.rec-empty { padding: 28px; border: 1px solid #eee5d1; border-radius: 12px; }
.rec-empty p { margin: 6px 0 15px; }

.has-recommendation footer {
  position: relative;
  border-top: 0;
  background: radial-gradient(ellipse at 14% -15%, #476357 0, transparent 50%), #23453a;
}
.has-recommendation footer::before {
  position: absolute;
  content: "";
  top: -19px;
  left: 0;
  right: 0;
  height: 28px;
  background: #315446;
  clip-path: ellipse(57% 88% at 52% 120%);
  pointer-events: none;
}
@media (max-width: 1100px) {
  .rec-controls { flex-wrap: wrap; justify-content: center; }
  .rec-form { width: 91%; }
}
@media (max-width: 900px) {
  .rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rec-select { min-height: 105px; padding-inline: 12px; }
}
@media (max-width: 760px) {
  .rec-banner { min-height: 192px; padding: 30px 0 66px; }
  .rec-banner h1 { font-size: clamp(28px, 6vw, 44px); }
  .rec-banner h1::before, .rec-banner h1::after { display: none; }
  .rec-banner p { font-size: clamp(13px, 3vw, 17px); }
  .rec-form { margin-top: -61px; margin-bottom: 17px; padding: 13px; }
  .rec-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .rec-field input, .rec-field select { width: 100%; min-width: 0; }
  .rec-field:first-child, .rec-genders { grid-column: 1 / -1; }
  .rec-field { font-size: 14px; }
  .rec-genders legend { font-size: 14px; }
  .rec-genders span { min-width: 43px; padding: 6px 9px; }
  .rec-submit { font-size: 14px; padding-inline: 12px; }
  .rec-chips { justify-content: flex-start; margin-top: 13px; gap: 6px; }
  .rec-chips button { min-width: 0; padding: 6px 9px; font-size: 12px; }
  .rec-body { grid-template-columns: minmax(0, 1fr); }
  .rec-list-heading { gap: 5px; margin-bottom: 10px; }
  .rec-list-heading h2 { font-size: clamp(19px, 5vw, 23px); }
  .rec-detail { padding: 17px; }
}
@media (max-width: 350px) {
  .rec-save-card { right: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .has-recommendation { scroll-behavior: auto; }
}
