.matchmaker{max-width:1100px;margin:35px auto 70px;padding:clamp(18px,4vw,50px);background:radial-gradient(ellipse at top,#402448,#241727 52%,#17121b);border:double 5px #a88753;color:#f4e8d4}.match-heading{text-align:center;margin-bottom:30px}.match-oracle{font-size:45px;color:#dfbf81;letter-spacing:.2em}.match-heading h1{font:normal clamp(34px,6vw,62px) Georgia,serif;margin:15px 0}.match-heading em{color:#dfbf81}.matchmaker form{max-width:800px;margin:auto;padding:clamp(14px,3vw,30px);border:1px solid #a88753;background:#1d1423}.match-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:25px 0}.match-fields label{display:flex;flex-direction:column;gap:7px;color:#dfbf81}.match-fields label[hidden]{display:none}.match-fields select{width:100%;padding:12px;background:#30233a;color:#fff;border:1px solid #a88753;border-radius:3px;font:inherit}.match-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:18px;margin:30px 0}.match-card{padding:16px;border:1px solid #a88753;background:#211522;text-align:center}.match-card img{height:210px;max-width:100%;object-fit:contain}.match-card h2{font:normal 23px Georgia,serif;color:#e5c68b;margin:10px 0}.match-card p{font-size:14px}.match-note{text-align:center;font-size:13px;color:#d6c3d0}.matchmaker button{margin-bottom:8px}@media(max-width:600px){.matchmaker{margin:15px 8px}.match-fields{grid-template-columns:1fr}}

/* Readable, explicitly styled Matchmaker controls. */
.matchmaker #matchForm button.btn{appearance:none;min-height:46px;padding:12px 20px;border:1px solid #d9b982;border-radius:3px;font-weight:700;cursor:pointer;opacity:1;box-shadow:none}
.matchmaker #matchForm button.btn-primary{background:#d9b982;color:#211525}
.matchmaker #matchForm button.btn-quiet{background:#30233a;color:#f4e8d4}
.matchmaker #matchForm button.btn-primary:hover:not(:disabled){background:#f0d49d;color:#211525}
.matchmaker #matchForm button.btn-quiet:hover{background:#45314e;color:#fff}
.matchmaker #matchForm button.btn:focus-visible{outline:2px solid #fff;outline-offset:3px}
.matchmaker #matchForm button.btn:disabled{background:#594938;color:#f4e8d4;cursor:not-allowed}

.match-tropes{grid-column:1/-1;min-width:0;border:1px solid #a88753;padding:12px;color:#f4e8d4}.match-tropes legend{color:#dfbf81}.match-tropes p{font-size:13px}.match-tropes #matchTrope{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:8px;max-height:230px;overflow:auto;padding:5px}.match-tropes #matchTrope label{flex-direction:row;align-items:center;color:#f4e8d4;font-size:14px}.match-tropes input{accent-color:#d9b982;flex:none;width:16px;height:16px}.match-fields select:disabled{opacity:.65}
.personal-matches{margin:30px auto;padding:clamp(15px,3vw,28px);border:1px solid #b69259;background:#241725;color:#f4e8d4;text-align:center;max-width:1000px}.personal-matches h2,.manual-title{font:normal 30px Georgia,serif;color:#dfbf81;text-align:center}.personal-matches .btn-primary{background:#d9b982;color:#211525;border:1px solid #d9b982;padding:12px 18px;cursor:pointer}.personal-matches .btn[hidden]{display:none!important}.personal-matches a{color:#dfbf81}.personal-matches .match-results:empty{display:none}.personal-matches h3{color:#dfbf81;font-family:Georgia,serif}.personal-matches .match-results{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}
.personal-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin:18px auto 0}.personal-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0;padding:12px 20px;border-radius:3px;box-sizing:border-box;font-weight:700;text-decoration:none;white-space:normal}.personal-actions .personal-account{background:#30233a;color:#f4e8d4;border:1px solid #d9b982}.personal-actions .btn:focus-visible{outline:2px solid white;outline-offset:3px}.personal-actions .btn[hidden]{display:none!important}.personal-matches{box-sizing:border-box;min-width:0;overflow-wrap:anywhere}.personal-actions .btn:disabled{opacity:.65;cursor:wait}@media(max-width:480px){.personal-actions{flex-direction:column}.personal-actions .btn{width:100%}}
