/* V17：手机表单纠偏、姓名文化卡片、生肖视觉强化 */
#bazi .v15-field,#bazi .v15-form-grid,#bazi #baziForm{max-width:100%;min-width:0}
#bazi .v15-field input,#bazi .v15-field select{box-sizing:border-box;max-width:100%;font-family:inherit}
@media(max-width:760px){
 #bazi .v15-form-grid{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}
 #bazi .v15-field-wide{grid-column:auto}
 #bazi .v15-field input,#bazi .v15-field select{width:100%;font-size:16px!important;min-height:47px;height:47px}
 #bazi .v15-form-head{flex-wrap:wrap}
 #bazi .v15-form-panel{width:100%;min-width:0}
 #bazi .v15-heading h3{overflow-wrap:anywhere}
 #bazi .v15-bazi-content{max-width:100%;overflow-x:clip}
}
.gx17-name-study{margin:0 0 17px;padding:19px;border:1px solid #cbb98f;border-radius:13px;background:linear-gradient(140deg,#fffdf8,#f2f0e5);color:#244a3c;box-shadow:0 7px 20px #24452f0c}
.gx17-name-title{display:flex;gap:10px;align-items:center}.gx17-name-title>span{background:#1e5241;border:2px solid #cfb37a;color:#f4dba7;width:42px;height:42px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;font-size:23px}
.gx17-name-title small{font-size:10px;letter-spacing:.7px;color:#957745}.gx17-name-title h3{font-size:19px;line-height:1.35;margin:3px 0 0;color:#1e4a3c}
.gx17-name-lead{font-size:13px;line-height:1.7;color:#687a6a;margin:14px 0}
.gx17-name-chars{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}.gx17-name-char{border-radius:10px;border:1px solid #e5d5b9;background:#fffbf0;display:flex;gap:10px;align-items:center;padding:10px 11px}
.gx17-name-char b{font-size:27px;color:#275a47;flex:0 0 auto}.gx17-name-char span{font-size:12px;color:#647365;line-height:1.6}.gx17-name-char em{font-size:10px;font-style:normal;background:#e1ede2;padding:2px 6px;border-radius:10px;color:#31664b;white-space:nowrap}
.gx17-name-foot{display:flex;gap:9px;justify-content:space-between;align-items:center;margin:13px 0;color:#876c44;font-size:12px;flex-wrap:wrap}.gx17-to-naming{color:#215d46;text-decoration:underline;text-underline-offset:3px;font-weight:bold}.gx17-name-study details{font-size:11px;color:#738477;margin-top:7px;line-height:1.7}.gx17-name-study summary{cursor:pointer;color:#866e4e}.gx17-name-study details p{margin:5px 0}
/* Zodiac: illustrated story / traditional pairing placed inside the existing result, not a duplicate section */
.gx17-profile{display:grid;grid-template-columns:138px minmax(0,1fr);gap:15px;padding:16px 0 15px;border-bottom:1px solid #e2d5bd}
.gx17-emblem{min-height:170px;background:radial-gradient(circle at 35% 25%,#fff4d5,#e9dfca 70%);border:1px solid #c8b281;border-radius:80px 80px 14px 14px;box-shadow:inset 0 0 0 5px #faf7eb,0 6px 13px #2e4d3511;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.gx17-emblem>span{font-size:62px;line-height:1.15;filter:drop-shadow(0 2px 2px #886d304a)}.gx17-emblem>b{color:#805b28;font-size:23px;margin-top:4px}.gx17-emblem>small{font-size:11px;color:#947e5d}
.gx17-profile-text h4{font-size:19px!important;margin:1px 0 6px!important;color:#204a3a}.gx17-profile-text>p{font-size:12px!important;line-height:1.7!important;margin:0 0 12px!important}.gx17-pair-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.gx17-pair-grid>div{padding:8px 5px;border:1px solid #decda9;border-radius:9px;background:#fffaf0;min-width:0;text-align:center}.gx17-pair-grid span{display:block;color:#957b58;font-size:10px}.gx17-pair-grid strong{display:block;color:#265a44;font-size:14px;margin-top:3px}.gx17-profile-text>small{font-size:10px;color:#9b9488;line-height:1.6;display:block;margin-top:9px}
@media(max-width:520px){.gx17-profile{grid-template-columns:1fr;gap:10px}.gx17-emblem{margin:0 auto;width:min(210px,100%);min-height:178px}.gx17-profile-text h4{text-align:center}.gx17-profile-text>p{font-size:13px!important}.gx17-pair-grid strong{font-size:13px}.gx17-name-chars{grid-template-columns:1fr 1fr}.gx17-name-char{padding:8px;gap:6px}.gx17-name-char b{font-size:23px}.gx17-name-char span{font-size:10px}}
.gx17-result-overline{font-size:12px;color:#947c56;border-bottom:1px solid #dfd4c3;padding:9px 0 12px;font-weight:700;letter-spacing:.03em}
