.cdwmg-match-wrap {
max-width: 480px;
margin: 0 auto;
padding: 36px 16px 64px;
font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.cdwmg-match-card {
position: relative;
background: #faf5e9;
border: 1px solid #d9cba8;
border-radius: 18px;
padding: 32px 26px;
box-shadow: 0 18px 44px -18px rgba(28, 27, 24, 0.28);
text-align: center;
color: #1c1b18;
}
.cdwmg-match-compass { font-size: 52px; line-height: 1; margin-bottom: 14px; }
.cdwmg-match-spinner {
width: 44px;
height: 44px;
margin: 6px auto 20px;
border-radius: 50%;
border: 4px solid rgba(31, 77, 58, 0.15);
border-top-color: #E8590C;
animation: cdwmg-match-spin 0.9s linear infinite;
}
@keyframes cdwmg-match-spin {
to { transform: rotate(360deg); }
}
.cdwmg-match-intro h2 { margin: 0 0 12px; font-size: 26px; font-weight: 900; }
.cdwmg-match-intro p { margin: 0 0 26px; font-size: 14.5px; color: #57534e; line-height: 1.8; }
.cdwmg-match-count { display: block; margin-top: 16px; font-size: 12px; color: #9c8d70; }
.cdwmg-match-btn {
display: inline-block;
padding: 13px 34px;
border: 0;
border-radius: 999px;
background: linear-gradient(135deg, #E8590C, #c74a08);
color: #fff;
font-size: 15.5px;
font-weight: 800;
cursor: pointer;
box-shadow: 0 10px 22px -8px rgba(232, 89, 12, 0.55);
transition: transform 0.12s ease;
}
.cdwmg-match-btn:hover { transform: translateY(-1px); }
.cdwmg-match-btn:disabled { opacity: 0.6; cursor: wait; }
.cdwmg-match-btn.is-ghost {
background: transparent;
color: #1F4D3A;
border: 1.5px solid rgba(31, 77, 58, 0.45);
box-shadow: none;
}
.cdwmg-match-progress {
height: 5px;
border-radius: 99px;
background: #e7ddc4;
overflow: hidden;
margin-bottom: 10px;
}
.cdwmg-match-progress i {
display: block;
height: 100%;
background: linear-gradient(90deg, #d9a94a, #E8590C);
transition: width 0.25s ease;
}
.cdwmg-match-step { font-size: 12px; color: #9c8d70; letter-spacing: 0.1em; }
.cdwmg-match-card h3 {
margin: 14px 0 22px;
font-size: 19px;
font-weight: 800;
line-height: 1.5;
}
.cdwmg-match-opts { display: flex; flex-direction: column; gap: 12px; }
.cdwmg-match-opt {
padding: 15px 18px;
border: 1.5px solid #d9cba8;
border-radius: 12px;
background: #fffdf7;
font-size: 15px;
color: #1c1b18;
cursor: pointer;
text-align: center;
transition: border-color 0.12s ease, background 0.12s ease, transform 0.12s ease;
}
.cdwmg-match-opt:hover {
border-color: #E8590C;
background: rgba(232, 89, 12, 0.06);
transform: translateY(-1px);
}
.cdwmg-match-back {
margin-top: 18px;
border: 0;
background: transparent;
color: #9c8d70;
font-size: 13px;
cursor: pointer;
}
.cdwmg-match-back:hover { color: #57534e; }
.cdwmg-match-computing p { color: #57534e; font-size: 14.5px; } .cdwmg-match-eyebrow {
display: inline-block;
padding: 5px 14px;
border-radius: 999px;
background: rgba(31, 77, 58, 0.1);
color: #1F4D3A;
font-size: 12.5px;
font-weight: 700;
letter-spacing: 0.06em;
margin-bottom: 16px;
}
.cdwmg-match-photo {
margin: 0 -26px;
height: 210px;
overflow: hidden;
}
.cdwmg-match-photo img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.cdwmg-match-cityname {
margin: 18px 0 4px;
font-size: 44px;
font-weight: 900;
font-family: "Songti SC", "STSong", "SimSun", serif;
letter-spacing: 0.08em;
}
.cdwmg-match-fit { font-size: 15px; color: #57534e; margin-bottom: 10px; }
.cdwmg-match-fit b { color: #E8590C; font-size: 22px; }
.cdwmg-match-line {
margin: 0 0 22px;
font-size: 14.5px;
color: #57534e;
font-style: italic;
}
.cdwmg-match-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.cdwmg-match-links { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.cdwmg-match-links a {
color: #1F4D3A !important;
font-size: 13.5px;
font-weight: 700;
text-decoration: none !important;
}
.cdwmg-match-links a:hover { text-decoration: underline !important; }
.cdwmg-match-wish {
padding: 9px 20px;
border: 1.5px dashed rgba(212, 160, 23, 0.6);
border-radius: 999px;
background: rgba(212, 160, 23, 0.1);
color: #9a6a00;
font-size: 13px;
font-weight: 700;
cursor: pointer;
}
.cdwmg-match-wish.is-wished { border-style: solid; background: rgba(212, 160, 23, 0.2); color: #7c5600; }
.cdwmg-match-toast {
position: fixed;
left: 50%;
bottom: 46px;
transform: translate(-50%, 16px);
padding: 11px 22px;
border-radius: 999px;
background: rgba(28, 27, 24, 0.9);
color: #f3ecdc;
font-size: 13.5px;
opacity: 0;
transition: opacity 0.25s ease, transform 0.25s ease;
z-index: 99999;
pointer-events: none;
}
.cdwmg-match-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) {
.cdwmg-match-compass.is-spinning { animation: none; }
.cdwmg-match-btn, .cdwmg-match-opt { transition: none; }
}