:root { --ink: #29231f; --muted: #a81394; --line: rgba(73, 54, 43, .25); --paper: rgba(231, 86, 250, 0.253); --accent: #8c5b4b; --accent-dark: #694238; --gold: #7a5314; --shadow: 0 18px 45px rgba(44, 29, 20, .20); } * { box-sizing: border-box; } html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; } body { background-size: cover; background-position: center center; background-repeat: no-repeat; background-attachment: fixed; } .app { width: 100%; height: 100%; } .screen { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-repeat: no-repeat; background-position: center center; background-size: 100% 100%; } .start-screen { background-image: url("images/partne-image.png"); } .question-screen, .profile-screen, .dog-screen { background-image: url("images/partne-select.png"); } .partner-screen { background-image: url("images/partne-select2.png"); } button, .answer-btn, .partner-card { -webkit-tap-highlight-color: transparent; touch-action: manipulation; } .hidden { display: none !important; } .start-panel, .question-card, .result-wrap{ width: min(920px, 100%); background: var(--paper); border: 1px solid rgba(255,255,255,.72); box-shadow: var(--shadow); backdrop-filter: blur(2px); border-radius: 20px; } .start-panel { margin-top: 15%; max-width: 460px; padding: 6px 20px; text-align: center; background: rgba(255, 255, 255, 0.432); border: 1px solid rgba(255, 255, 255, 0.55); box-shadow: var(--shadow); backdrop-filter: blur(2px); border-radius: 20px; } .eyebrow { letter-spacing: .18em; font-size: .74rem; font-weight: 700; color: var(--gold); margin-bottom: 10px; } h1, h2, p { margin-top: 0; } .start-panel h1 { letter-spacing: .08em; margin-bottom: 2px; } .start-copy { color: var(--muted); line-height: 1.9; font-weight: bold; text-shadow:0 2px 2px #dad8d8,0 0 2px #fafafa; margin-bottom: 18px; } .main-btn, .sub-btn, .next-btn { border: 0; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease; } .main-btn { min-width: 240px; padding: 15px 30px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; letter-spacing: .08em; box-shadow: 0 8px 18px rgba(91, 55, 43, .25); } .main-btn:hover, .sub-btn:hover, .next-btn:not(:disabled):hover { transform: translateY(-2px); } .sub-btn { min-width: 190px; padding: 13px 24px; border-radius: 999px; color: var(--accent-dark); background: rgba(255,255,255,.72); border: 1px solid var(--line); font-weight: 700; } .question-wrap { width: min(1000px, 100%); margin-left: clamp(-5vw, -40px, 0px); } .progress { margin-bottom: 12px; padding: 0 4px; } #progressText { font-size: .82rem; letter-spacing: .12em; color: #09147c; text-shadow: 0 1px 5px rgba(0,0,0,.45); } .progress-track { height: 5px; margin-top: 7px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.48); } .progress-bar { height: 100%; width: 4%; background: var(--gold); transition: width .3s ease; } .question-card { padding: clamp(28px, 5vw, 54px); } .question-number { color: var(--gold); font-weight: 800; letter-spacing: .12em; font-size: 1.4rem; } .question-card h2 { margin: 9px 0 27px; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.55; } .answers { display: flex; flex-wrap: wrap; gap: 12px; max-width: 850px; } .answer-btn { appearance: none; border: 2px solid rgba(92, 68, 55, .42); background: rgba(255,255,255,.55); color: var(--ink); border-radius: 12px; padding: 15px 22px; min-height: 56px; flex: 0 1 auto; font-weight: 700; line-height: 1.55; text-align: left; cursor: pointer; transition: .16s ease; } .answer-btn:hover { border-color: var(--accent); background: rgba(255,255,255,.82); transform: translateY(-1px); } .answer-btn.selected { color: #fff; border-color: var(--accent-dark); background: var(--accent); box-shadow: 0 7px 15px rgba(80, 47, 37, .22); } .question-footer { margin-top: 30px; display: flex; justify-content: space-between; align-items: center; gap: 16px; } #selectionHint { color: #141414; text-shadow: 2px 2px 2px #f0f0f0; font-size: 1rem; } .next-btn { min-width: 140px; padding: 13px 25px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; } .next-btn:disabled { opacity: .38; cursor: not-allowed; } .result-wrap { width: min(1120px, calc(100% - 40px)); max-height: calc(100vh - 40px); padding: clamp(20px, 3vw, 40px); overflow-y: auto; overflow-x: hidden; background: rgba(255, 251, 246, .91); border: 1px solid rgba(255,255,255,.72); box-shadow: var(--shadow); backdrop-filter: blur(4px); border-radius: 20px; } .result-heading { text-align: center; margin-bottom: 25px; } .result-heading h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); margin-bottom: 8px; } .result-heading p { color: var(--muted); } .answer-table { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); } .answer-row { display: grid; grid-template-columns: minmax(120px, .7fr) 1fr; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 58px; } .answer-question, .answer-value { padding: 12px 14px; line-height: 1.55; } .answer-question { background: rgba(140,91,75,.08); font-size: .82rem; font-weight: 700; } .answer-value { font-weight: 700; } .analysis-message, .match-comment { margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: rgba(234, 233, 235, 0.884); border: 1px solid rgba(180,138,72,.25); line-height: 1.8; text-align: center; font-weight: 700; color: #e701c1; } .result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; color: #4f513f; margin-top: 27px; } .partner-wrap { width: min(1120px, 100%); } .partner-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; } .partner-card { overflow: hidden; border-radius: 18px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; background: rgba(255,255,255,.85); border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(50, 34, 25, .12); } .partner-image { height: 330px; width: 100%; object-fit: cover; display: block; background: #ddd; } .partner-image-fallback { height: 330px; display: grid; place-items: center; background: linear-gradient(145deg, #eee5dc, #d5c5b8); font-size: 5rem; } .partner-info { padding: 18px; } .partner-name { font-size: 1.25rem; font-weight: 800; } .partner-meta { margin-top: 4px; color: var(--muted); font-size: .84rem; } .score { margin-top: 12px; font-size: 1.55rem; color: var(--accent); font-weight: 900; } .reasons { margin: 12px 0 0; padding-left: 1.15rem; color: #51483f; line-height: 1.7; font-size: .9rem; } .dog-screen { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 20px; overflow: auto; } .dog-panel { width: min(680px, 92vw); max-height: calc(100vh - 40px); padding: clamp(18px, 3vh, 32px); text-align: center; background: rgba(255, 251, 246, .88); border: 1px solid rgba(255,255,255,.72); box-shadow: var(--shadow); backdrop-filter: blur(3px); border-radius: 20px; overflow-y: auto; } .dog-frame { margin: clamp(10px, 2vh, 20px) auto; width: min(360px, 55vh, 80vw); aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: #eee5dc; border: 1px solid var(--line); } .dog-frame img { width: 100%; height: 100%; object-fit: cover; display: block; } .dog-panel h2 { margin-bottom: 8px; line-height: 1.3; } .dog-message { margin: 10px 0; line-height: 1.5; } .dog-name { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.2; margin-top: 8px; } .dog-panel .result-actions { margin-top: 12px; } .image-fallback { height: 100%; display: grid; place-items: center; align-content: center; color: var(--muted); } .fallback-dog { font-size: 6rem; } code { background: rgba(0,0,0,.06); padding: 2px 5px; border-radius: 4px; } .partner-wrap { width: min(1120px, calc(100% - 40px)); max-height: calc(100vh - 40px); overflow-y: auto; padding: 20px 28px; } .partner-wrap .result-heading { margin-bottom: 12px; } .partner-wrap .result-heading h2 { margin-bottom: 4px; line-height: 1.25; } .partner-wrap .result-heading p { margin-bottom: 0; line-height: 1.4; } .partner-wrap .partner-cards { gap: 12px; } .partner-wrap .partner-info { padding: 12px 15px; } .partner-wrap .partner-name { line-height: 1.25; } .partner-wrap .partner-meta { margin-top: 2px; line-height: 1.3; } .partner-wrap .score { margin-top: 6px; line-height: 1.2; } .partner-wrap .reasons { margin-top: 6px; line-height: 1.4; } .partner-wrap .match-comment { margin-top: 12px; padding: 10px 14px; line-height: 1.5; } .partner-wrap .result-actions { margin-top: 12px; gap: 8px; } .answer-btn.answer-disabled { opacity: .68; cursor: not-allowed; background: rgba(120, 110, 100, .12); border-color: rgba(59, 27, 238, 0.911); color: #3d0499; text-decoration: line-through; } .answer-btn.answer-disabled:hover { transform: none; border-color: rgba(120, 110, 100, .20); background: rgba(120, 110, 100, .12); } .chosen-partner-screen { width: 100%; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: clamp(15px, 3vh, 35px) 15px; background-image: linear-gradient( rgba(0, 0, 0, .25), rgba(0, 0, 0, .25) ), url("images/partne-select.png"); background-size: cover; background-position: center center; background-repeat: no-repeat; } .chosen-partner-image-frame { width: min(460px, 100%); margin: 0 auto; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 18px; background: #eee5dc; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(50, 34, 25, .16); } .chosen-partner-image-frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center center; } .chosen-partner-panel { width: min(720px, 100%); max-height: calc(100vh - 30px); max-height: calc(100dvh - 30px); overflow-y: auto; padding: clamp(20px, 4vw, 45px); text-align: center; background: rgba(255, 251, 246, .88); border: 1px solid rgba(255,255,255,.72); border-radius: 20px; box-shadow: var(--shadow); backdrop-filter: blur(7px); } .chosen-partner-panel h2 { margin: 8px 0 22px; text-align: center; font-size: clamp(1.4rem, 4vw, 2.3rem); line-height: 1.3; } .strict-screen { width: 100%; min-height: 100vh; min-height: 100dvh; display: flex; align-items: flex-start; justify-content: center; padding: clamp(20px, 4vh, 50px) clamp(12px, 3vw, 30px); background-image: linear-gradient( rgba(0, 0, 0, .40), rgba(0, 0, 0, .40) ), url("images/partne-select.png"); background-size: cover; background-position: center center; background-repeat: no-repeat; overflow-x: hidden; overflow-y: auto; } .strict-panel { width: min(720px, 100%); padding: clamp(20px, 4vw, 45px) clamp(18px, 5vw, 50px); text-align: center; background: rgba(255, 251, 246, .90); border: 1px solid rgba(255,255,255,.72); border-radius: 20px; box-shadow: var(--shadow); backdrop-filter: blur(7px); overflow: hidden; } .strict-panel h2 { font-size: 1.5rem !important; line-height: 1.4; color: var(--accent-dark); } .strict-message { width: 100%; max-width: 620px; margin: 0 auto; color: var(--ink); font-size: clamp(.82rem, 1.8vw, 1.05rem); line-height: 1.65; } .strict-message p { margin: 0 0 clamp(10px, 1.8vw, 18px); } .strict-message p:last-child { margin-bottom: 0; } .strict-message strong { font-weight: 900; } .strict-panel .result-actions { margin-top: clamp(18px, 3vw, 28px); } .strict-panel { width: min(720px, 100%); padding: clamp(28px, 5vw, 55px); text-align: center; background: rgba(255, 251, 246, .90); border: 1px solid rgba(255,255,255,.72); border-radius: 20px; box-shadow: var(--shadow); backdrop-filter: blur(7px); } .strict-panel h2 { margin: 10px 0 30px; font-size: clamp(1.5rem, 4vw, 2.3rem); line-height: 1.45; color: var(--accent-dark); } .strict-message { max-width: 600px; margin: 0 auto; color: var(--ink); font-size: clamp(.95rem, 2vw, 1.1rem); line-height: 2; } .strict-message p { margin-bottom: 20px; } .strict-message p:last-child { margin-bottom: 0; } .start-screen { position: relative; } .start-shibainu { position: absolute; top: 2%; right: 4%; width: clamp(120px, 18vw, 100px); height: auto; object-fit: contain; z-index: 2; pointer-events: none; } @media (max-width: 800px) { .screen { padding: 22px 14px; } .question-wrap { margin-left: 0; } .answer-table { grid-template-columns: 1fr; } .partner-cards { grid-template-columns: 1fr; } .partner-card { max-width: 520px; margin: auto; width: 100%; } .partner-image, .partner-image-fallback { height: min(65vw, 420px); } .question-footer { align-items: stretch; flex-direction: column; } .next-btn { width: 100%; } .main-btn, .sub-btn { width: 100%; } } @media (max-width: 800px) { .question-screen { height: 100%; overflow: hidden; align-items: flex-start; } .question-wrap { width: 100%; height: 100%; overflow-y: auto; overflow-x: auto; padding-bottom: 40px; } .question-wrap { scrollbar-width: none; -ms-overflow-style: none; } .question-wrap::-webkit-scrollbar { display: none; width: 0; height: 0; } } @media (max-width: 480px) { .start-panel, .question-card, .result-wrap, .dog-panel { padding: 25px 18px; } .answer-btn { width: 100%; } .answer-row { grid-template-columns: 1fr; } .answer-question { padding-bottom: 6px; } .answer-value { padding-top: 5px; } } @media (max-width: 600px) { .strict-screen { align-items: center; padding: 10px; } .strict-panel { width: 100%; padding: 20px 16px; border-radius: 16px; } .strict-panel h2 { font-size: 1.3rem; } .strict-message { font-size: .82rem; line-height: 1.55; } .strict-message p { margin-bottom: 9px; } .strict-panel .main-btn { width: 100%; } .strict-panel h2 { font-size: 1.2rem !important; } } .confetti-container { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 9999; } .confetti { position: absolute; top: -30px; width: 10px; height: 16px; opacity: 0.9; animation: confettiFall linear forwards; } @keyframes confettiFall { 0% { transform: translate3d(0, -30px, 0) rotate(0deg); } 100% { transform: translate3d(var(--fall-x), 110vh, 0) rotate(var(--rotate)); } } html, body, .screen, .start-panel, .question-card, .result-wrap, .partner-wrap, .partner-screen, .dog-panel, .chosen-partner-screen, .chosen-partner-panel, .strict-screen, .strict-panel { scrollbar-width: none; -ms-overflow-style: none; } html::-webkit-scrollbar, body::-webkit-scrollbar, .screen::-webkit-scrollbar, .start-panel::-webkit-scrollbar, .question-card::-webkit-scrollbar, .result-wrap::-webkit-scrollbar, .partner-wrap::-webkit-scrollbar, .partner-screen::-webkit-scrollbar, .dog-panel::-webkit-scrollbar, .chosen-partner-screen::-webkit-scrollbar, .chosen-partner-panel::-webkit-scrollbar, .strict-screen::-webkit-scrollbar, .strict-panel::-webkit-scrollbar { display: none; width: 0; height: 0; } 