/* Numerology */
.bdn { --maroon: #5b1212; --orange: #fb4d14; --ink: #241a15; --muted: #6b5f58; --line: #efe2d6; --cream: #fdf6ee; --gold: #c8902f;
	max-width: 1080px; margin: 0 auto; padding: 22px 16px 40px; color: var(--ink); font-family: "Roboto", "Poppins", Arial, sans-serif; }
.bdn *, .bdn *::before, .bdn *::after { box-sizing: border-box; }
.bdn h1, .bdn h2, .bdn h3 { font-family: "Lora", Georgia, serif; color: var(--maroon); margin: 0; }
.bdn p { margin: 0; }
.bdn [hidden] { display: none !important; }
.bdn-hero { position: relative; text-align: center; padding: 26px 16px 22px; border-radius: 22px; overflow: hidden; color: #fff;
	background: radial-gradient(120% 140% at 50% 0%, #7a2a12, #3b0d08 60%, #1c0705); box-shadow: 0 12px 34px rgba(60, 20, 5, .25); }
.bdn-hero__nums { position: absolute; inset: 0; display: flex; justify-content: space-around; align-items: center; pointer-events: none; }
.bdn-hero__nums span { font: 700 120px/1 "Lora", Georgia, serif; color: rgba(255, 200, 120, .07); }
.bdn-hero > *:not(.bdn-hero__nums) { position: relative; }
.bdn-kicker { display: inline-block; font-weight: 600; font-size: 13px; color: #ffcf9e; background: rgba(255, 255, 255, .1); padding: 6px 12px; border-radius: 999px; }
.bdn-hero h1 { color: #ffe2b0; font-size: clamp(30px, 4vw, 42px); margin: 10px 0 6px; }
.bdn-hero p { max-width: 640px; margin: 0 auto; opacity: .92; line-height: 1.55; }

.bdn-form { margin: -14px auto 0; position: relative; max-width: 900px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px;
	display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; box-shadow: 0 10px 28px rgba(90, 50, 20, .1); }
.bdn-f { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--muted); }
.bdn-f em { font-style: normal; opacity: .75; }
.bdn-f input, .bdn-f select { height: 46px; border: 1px solid #ead8ca; border-radius: 12px; padding: 0 12px; font-size: 16px; background: #fff; color: var(--ink); }
.bdn-f input:focus, .bdn-f select:focus { outline: 0; border-color: #f3a079; box-shadow: 0 0 0 3px rgba(251, 77, 20, .12); }
.bdn-f--partner { grid-column: 1 / 3; }
.bdn-f--partner summary { cursor: pointer; font-size: 14px; color: var(--maroon); padding: 8px 0; }
.bdn-f--partner label { display: flex; flex-direction: column; gap: 5px; max-width: 280px; }
.bdn-form > .bdn-btn { grid-column: 3; align-self: end; }
.bdn-err { grid-column: 1 / -1; color: #c92a2a; font-size: 14px; }
.bdn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font: 500 15px "Roboto", Arial, sans-serif; cursor: pointer; text-decoration: none; }
.bdn-btn--primary { background: linear-gradient(90deg, #fd5a1e, #fb3d10); color: #fff; box-shadow: 0 4px 12px rgba(251, 61, 16, .25); }
.bdn-btn--primary.is-busy { opacity: .7; cursor: wait; }
.bdn-btn--ghost { background: #fff; color: var(--maroon); border-color: #ead8ca; }

.bdn-report { margin-top: 22px; display: grid; gap: 14px; }
.bdn-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 2px 10px rgba(90, 50, 20, .04); }
.bdn-card h2 { font-size: 21px; margin-bottom: 10px; }
.bdn-card h3 { font-size: 17px; margin: 14px 0 8px; }
.bdn-card > p { font-size: 15px; line-height: 1.6; }
.bdn-card > p + p { margin-top: 8px; }
.bdn-muted { color: var(--muted); font-size: 13.5px !important; line-height: 1.55; margin-top: 10px !important; }
.bdn-top header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bdn-top header span { color: var(--muted); font-size: 14px; }
.bdn-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 6px; }
.bdn-tile { border-radius: 16px; padding: 14px; text-align: center; background: linear-gradient(160deg, #fff7ec, #fde9d4); border: 1px solid #f3dcc2; display: flex; flex-direction: column; gap: 3px; }
.bdn-tile small { font-weight: 700; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #9a6a1c; }
.bdn-tile b { font: 700 56px/1 "Lora", Georgia, serif; color: var(--maroon); margin: 4px 0; }
.bdn-tile span { font-size: 14px; color: var(--ink); font-weight: 500; }
.bdn-tile em { font-size: 12px; color: var(--muted); font-style: normal; }
.bdn-rel { margin-top: 12px !important; font-size: 14px !important; }
.bdn-chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; vertical-align: 1px; }
.bdn-chip--best { background: #2b8a3e; } .bdn-chip--good { background: #1c7ed6; } .bdn-chip--ok { background: #b7791f; } .bdn-chip--avoid { background: #c92a2a; }
.bdn-dl { margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bdn-dl div { background: var(--cream); border-radius: 12px; padding: 10px 12px; }
.bdn-dl dt { font-weight: 600; color: var(--maroon); font-size: 13.5px; }
.bdn-dl dd { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }
.bdn-letters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.bdn-letters span { width: 40px; border-radius: 10px; border: 1px solid #f0d9c0; background: #fffaf3; text-align: center; padding: 5px 0; display: flex; flex-direction: column; }
.bdn-letters b { font-size: 16px; color: var(--maroon); } .bdn-letters i { font-style: normal; font-size: 12px; color: var(--orange); font-weight: 700; }
.bdn-letters .bdn-gap { width: 12px; border: 0; background: none; }
.bdn-mini3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.bdn-mini3 > div { background: var(--cream); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 3px; }
.bdn-mini3 small { font-size: 12px; color: var(--muted); }
.bdn-mini3 b { font: 700 30px/1 "Lora", Georgia, serif; color: var(--maroon); }
.bdn-mini3 span { font-size: 13.5px; line-height: 1.45; }
.bdn-sugg { margin-top: 12px; padding: 12px; border-radius: 12px; border: 1px dashed #e8c9a6; background: #fffaf3; font-size: 14px; }
.bdn-sugg ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.bdn-loshu__wrap { display: grid; grid-template-columns: 260px 1fr; gap: 18px; align-items: start; }
.bdn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; aspect-ratio: 1; padding: 8px; border-radius: 16px; background: linear-gradient(160deg, #5b1212, #3b0d08); }
.bdn-grid > div { position: relative; border-radius: 10px; display: grid; place-items: center; background: #fff7ec; }
.bdn-grid > div.is-miss { background: rgba(255, 255, 255, .12); }
.bdn-grid b { font: 700 24px/1 "Lora", Georgia, serif; color: var(--maroon); letter-spacing: 1px; }
.bdn-grid small { position: absolute; right: 6px; bottom: 4px; font-size: 10px; color: #b08a6a; }
.bdn-grid .is-miss small { color: rgba(255, 220, 180, .6); font-size: 13px; right: 50%; bottom: 50%; transform: translate(50%, 50%); }
.bdn-loshu__txt ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; line-height: 1.5; }
.bdn-miss { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bdn-miss li { display: flex; gap: 10px; background: var(--cream); border-radius: 12px; padding: 10px 12px; font-size: 14px; line-height: 1.45; }
.bdn-miss li > b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid #f0d9c0; font: 700 17px "Lora", Georgia, serif; color: var(--maroon); }
.bdn-miss em { display: block; font-style: normal; color: #7a4a12; margin-top: 4px; font-size: 13px; }
.bdn-lucky { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.bdn-lucky > div { background: var(--cream); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 3px; }
.bdn-lucky small { font-size: 12px; color: var(--muted); } .bdn-lucky b { font-size: 16px; color: var(--maroon); } .bdn-lucky em { font-size: 11px; color: var(--muted); font-style: normal; }
.bdn-meter { height: 12px; border-radius: 8px; background: #f3e6da; overflow: hidden; margin-bottom: 10px; }
.bdn-meter span { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #f59f00, #e8364d); }
.bdn-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.bdn-note { text-align: center; }
.bdn-disclaimer { margin-top: 22px; text-align: center; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

@media (max-width: 820px) {
	.bdn-form { grid-template-columns: 1fr 1fr; margin-top: 12px; }
	.bdn-f--name { grid-column: 1 / -1; }
	.bdn-f--partner { grid-column: 1 / -1; }
	.bdn-form > .bdn-btn { grid-column: 1 / -1; }
	.bdn-loshu__wrap { grid-template-columns: 1fr; }
	.bdn-grid { max-width: 280px; width: 100%; margin: 0 auto; }
	.bdn-lucky { grid-template-columns: 1fr 1fr; }
	.bdn-miss { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.bdn-form { grid-template-columns: 1fr; }
	.bdn-dl, .bdn-mini3 { grid-template-columns: 1fr; }
	.bdn-tile b { font-size: 46px; }
	.bdn-hero__nums span { font-size: 70px; }
}
@media print {
	.bd-header, .bd-footer, .bd-bottomnav, .bdn-form, .bdn-actions, .bdn-hero { display: none !important; }
	.bdn-card { break-inside: avoid; box-shadow: none; }
}
