:root {
--th-bg: #fffaf5;
--th-surface: #ffffff;
--th-surface-soft: #fff8ef;
--th-surface-muted: #f7f8fb;
--th-border: rgba(28, 37, 46, 0.08);
--th-border-strong: rgba(237, 168, 54, 0.5);
--th-text: #1d2630;
--th-text-soft: #5d6976;
--th-text-muted: #7b8792;
--th-accent: #eda836;
--th-accent-2: #f5bd5b;
--th-accent-soft: #fff0d5;
--th-shadow-sm: 0 10px 30px rgba(27, 38, 49, 0.05);
--th-shadow-md: 0 18px 50px rgba(27, 38, 49, 0.08);
--th-shadow-lg: 0 28px 80px rgba(27, 38, 49, 0.12);
--th-radius-xl: 32px;
--th-radius-lg: 24px;
--th-radius-md: 18px;
--th-radius-pill: 999px;
}
.th-dog-name-quiz-wrap {
max-width: 1120px;
margin: 0 auto;
padding: 24px 16px 36px;
}
.th-dog-name-quiz-root,
.th-results-shell {
display: grid;
gap: 24px;
}
.th-quiz-card,
.th-after-quiz-card {
position: relative;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
border: 1px solid var(--th-border);
border-radius: var(--th-radius-xl);
box-shadow: var(--th-shadow-md);
backdrop-filter: blur(10px);
}
.th-quiz-card::before,
.th-after-quiz-card::before {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
pointer-events: none;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.th-quiz-card {
padding: 30px;
}
.th-after-quiz-card {
overflow: hidden;
background:
radial-gradient(circle at top right, rgba(245, 189, 91, 0.18) 0, rgba(245, 189, 91, 0) 28%),
linear-gradient(180deg, #fff9f1 0%, #ffffff 100%);
}
.th-after-quiz-inner {
padding: 30px;
}
.th-quiz-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 18px;
margin-bottom: 18px;
}
.th-quiz-title {
margin: 0 0 10px;
font-size: clamp(30px, 4vw, 46px);
line-height: 1.02;
letter-spacing: -0.03em;
color: var(--th-text);
text-wrap: balance;
}
.th-quiz-subtitle,
.th-result-description,
.th-after-quiz-inner p,
.th-after-quiz-trust {
margin: 0;
color: var(--th-text-soft);
font-size: 16px;
line-height: 1.7;
}
.th-quiz-progress {
white-space: nowrap;
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
padding: 10px 16px;
border-radius: var(--th-radius-pill);
background: linear-gradient(180deg, #fff7e8 0%, #fff1d6 100%);
border: 1px solid rgba(237, 168, 54, 0.18);
color: #8a6420;
font-size: 13px;
font-weight: 800;
letter-spacing: 0.01em;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}
.th-quiz-progressbar {
width: 100%;
height: 10px;
background: #edf1f5;
border-radius: var(--th-radius-pill);
overflow: hidden;
margin-bottom: 28px;
}
.th-quiz-progressbar span {
display: block;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, var(--th-accent-2) 0%, var(--th-accent) 100%);
box-shadow: 0 2px 10px rgba(237, 168, 54, 0.35);
transition: width 280ms ease;
}
.th-quiz-kicker {
display: inline-flex;
align-items: center;
margin-bottom: 14px;
padding: 9px 13px;
border-radius: var(--th-radius-pill);
background: var(--th-surface-muted);
color: var(--th-text-muted);
font-size: 12px;
font-weight: 800;
letter-spacing: 0.05em;
text-transform: uppercase;
}
.th-quiz-question {
margin: 0 0 20px;
font-size: clamp(24px, 3vw, 34px);
line-height: 1.15;
letter-spacing: -0.02em;
color: var(--th-text);
text-wrap: balance;
}
.th-quiz-options {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}
.th-quiz-option,
.th-nav-btn,
.th-link-btn,
.th-cta-button {
appearance: none;
border: 0;
font: inherit;
cursor: pointer;
}
.th-quiz-option {
position: relative;
display: flex;
align-items: center;
width: 100%;
min-height: 68px;
padding: 18px 20px;
background: linear-gradient(180deg, #fcfdff 0%, #f7f9fb 100%);
border: 1px solid #e7edf2;
border-radius: 20px;
text-align: left;
font-weight: 700;
font-size: 18px;
line-height: 1.35;
color: var(--th-text);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
transition:
transform 0.2s ease,
box-shadow 0.2s ease,
border-color 0.2s ease,
background 0.2s ease,
color 0.2s ease;
}
.th-quiz-option:hover,
.th-quiz-option:focus-visible {
transform: translateY(-2px);
border-color: var(--th-border-strong);
background: linear-gradient(180deg, #fffaf2 0%, #fff5e8 100%);
color: var(--th-text) !important;
box-shadow: 0 16px 34px rgba(27, 38, 49, 0.08);
outline: none;
}
.th-quiz-option.is-selected,
.th-quiz-option[aria-pressed="true"],
.th-quiz-option[aria-current="true"] {
border-color: rgba(237, 168, 54, 0.8);
background: linear-gradient(180deg, #fffaf1 0%, #fff2de 100%);
box-shadow: 0 16px 36px rgba(237, 168, 54, 0.12);
color: var(--th-text) !important;
}
.th-result-name-card {
margin: 22px 0;
padding: 30px;
border-radius: 26px;
background:
radial-gradient(circle at top right, rgba(245, 189, 91, 0.12) 0, rgba(245, 189, 91, 0) 24%),
linear-gradient(180deg, #fffefb 0%, #ffffff 100%);
border: 1px solid rgba(237, 168, 54, 0.2);
box-shadow: var(--th-shadow-sm);
}
.th-result-name {
font-size: clamp(38px, 6vw, 60px);
line-height: 0.98;
letter-spacing: -0.04em;
font-weight: 900;
color: var(--th-text);
margin-bottom: 12px;
}
.th-result-nav {
display: flex;
gap: 12px;
margin-top: 18px;
}
.th-nav-btn,
.th-link-btn,
.th-cta-button {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: var(--th-radius-pill);
text-decoration: none;
transition:
opacity 0.18s ease,
transform 0.18s ease,
box-shadow 0.18s ease,
background 0.18s ease,
color 0.18s ease,
border-color 0.18s ease;
}
.th-nav-btn {
min-height: 52px;
padding: 14px 20px;
background: linear-gradient(180deg, #f3f6f9 0%, #edf2f6 100%);
color: var(--th-text);
border: 1px solid rgba(28, 37, 46, 0.06);
font-weight: 800;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.th-nav-btn-primary,
.th-cta-button {
background: linear-gradient(135deg, #f6bd5a 0%, #eda836 52%, #ea9727 100%);
color: #1c2630 !important;
box-shadow: 0 14px 30px rgba(237, 168, 54, 0.28);
}
.th-nav-btn[disabled] {
cursor: default;
opacity: 0.42;
box-shadow: none;
}
.th-result-actions {
margin-top: 20px;
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.th-link-btn {
min-height: 48px;
padding: 11px 16px;
background: var(--th-surface);
color: var(--th-text-soft);
font-weight: 800;
border: 1px solid #e4eaef;
}
.th-link-btn:hover,
.th-link-btn:focus-visible,
.th-cta-button:hover,
.th-cta-button:focus-visible,
.th-nav-btn:hover:not([disabled]),
.th-nav-btn:focus-visible:not([disabled]) {
transform: translateY(-2px);
box-shadow: 0 16px 30px rgba(27, 38, 49, 0.1);
outline: none;
}
.th-link-btn:hover,
.th-link-btn:focus-visible {
background: #fbfcfd;
color: var(--th-text);
border-color: rgba(28, 37, 46, 0.12);
}
.th-cta-button:hover,
.th-cta-button:focus-visible,
.th-nav-btn-primary:hover:not([disabled]),
.th-nav-btn-primary:focus-visible:not([disabled]) {
background: linear-gradient(135deg, #f8c56b 0%, #efab3d 52%, #e89120 100%);
color: #1c2630 !important;
}
.th-after-quiz-inner h3,
.th-after-quiz-box h4 {
margin: 0 0 14px;
color: var(--th-text);
line-height: 1.15;
}
.th-after-quiz-inner h3 {
font-size: clamp(28px, 3.2vw, 38px);
letter-spacing: -0.03em;
}
.th-after-quiz-dynamic {
margin: 16px 0 !important;
padding: 16px 18px;
border-radius: 18px;
background: rgba(255, 255, 255, 0.9);
border: 1px solid rgba(237, 168, 54, 0.2);
color: #8a6420 !important;
font-weight: 800;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}
.th-after-quiz-box {
margin: 18px 0;
padding: 22px;
border-radius: 24px;
background: rgba(255, 255, 255, 0.94);
border: 1px solid var(--th-border);
box-shadow: var(--th-shadow-sm);
}
.th-after-quiz-box ul {
margin: 0;
padding-left: 0;
list-style: none;
display: grid;
gap: 12px;
color: #33424f;
}
.th-after-quiz-box li {
position: relative;
padding-left: 30px;
line-height: 1.55;
}
.th-after-quiz-box li::before {
content: "•";
position: absolute;
left: 10px;
top: 0;
color: var(--th-accent);
font-size: 20px;
line-height: 1.2;
}
.th-after-quiz-emotion {
margin: 20px 0 18px !important;
font-size: 22px !important;
line-height: 1.4 !important;
letter-spacing: -0.02em;
color: var(--th-text) !important;
font-weight: 900 !important;
text-wrap: balance;
}
.th-cta-button {
min-height: 58px;
min-width: 280px;
padding: 16px 28px;
font-weight: 900;
font-size: 18px;
letter-spacing: -0.01em;
}
.th-after-quiz-trust {
margin-top: 16px !important;
font-size: 14px !important;
color: var(--th-text-muted) !important;
}
.th-quiz-option:focus-visible,
.th-link-btn:focus-visible,
.th-nav-btn:focus-visible,
.th-cta-button:focus-visible {
box-shadow:
0 0 0 4px rgba(237, 168, 54, 0.18),
0 14px 32px rgba(27, 38, 49, 0.08);
}
@media (min-width: 900px) {
.th-results-shell {
grid-template-columns: 1.08fr 0.92fr;
align-items: start;
}
}
@media (max-width: 767px) {
.th-dog-name-quiz-wrap {
padding: 18px 12px 28px;
}
.th-quiz-card,
.th-after-quiz-inner {
padding: 22px;
}
.th-quiz-header {
flex-direction: column;
align-items: stretch;
}
.th-quiz-progress {
align-self: flex-start;
}
.th-quiz-options {
grid-template-columns: 1fr;
}
.th-result-name-card {
padding: 24px;
}
.th-result-nav,
.th-result-actions {
flex-direction: column;
}
.th-nav-btn,
.th-cta-button,
.th-link-btn {
width: 100%;
}
.th-cta-button {
min-width: 0;
}
}