Spaces:
Running on Zero
Running on Zero
| :root { | |
| --ink: #17213a; | |
| --muted: #3f4b64; | |
| --line: #e3e7f1; | |
| --purple: #6b4df6; | |
| --purple-soft: #efeaff; | |
| --green: #48b95e; | |
| --green-soft: #e8f8ea; | |
| --orange: #ff7a34; | |
| --blue: #4387f4; | |
| --panel: rgba(255,255,255,.92); | |
| --shadow: 0 18px 45px rgba(74, 61, 128, .12); | |
| font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |
| } | |
| html, | |
| body, | |
| gradio-app, | |
| .gradio-container, | |
| .main, | |
| .wrap, | |
| .contain { | |
| background: #fbfcff ; | |
| } | |
| html, | |
| body { | |
| min-height: 100%; | |
| margin: 0; | |
| color: var(--ink); | |
| } | |
| .gradio-container { | |
| max-width: none ; | |
| min-height: 100vh ; | |
| padding: 0 ; | |
| } | |
| footer, | |
| .footer { | |
| display: none ; | |
| } | |
| .whistle-app, | |
| .whistle-app * { | |
| box-sizing: border-box; | |
| } | |
| .whistle-app { | |
| --wc-page-pad: clamp(16px, 1.65vw, 30px); | |
| --wc-gap: clamp(14px, 1.15vw, 22px); | |
| width: 100%; | |
| max-width: none; | |
| min-height: 100vh; | |
| margin: 0; | |
| display: grid; | |
| grid-template-rows: auto 1fr; | |
| color: var(--ink) ; | |
| padding: var(--wc-page-pad); | |
| overflow: visible; | |
| background: radial-gradient(circle at 18% 8%, rgba(126, 96, 255, .10), transparent 27%), radial-gradient(circle at 86% 18%, rgba(77, 185, 94, .10), transparent 26%), #fbfcff; | |
| } | |
| .wc-header { width: min(100%, 1800px); margin: 0 auto clamp(18px, 2vh, 28px); display: flex; justify-content: flex-start; align-items: center; gap: 22px; } | |
| .brand-lockup { display: flex; align-items: center; gap: 18px; min-width: 0; } | |
| .brand-mark { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 20px; background: linear-gradient(145deg, #8c6bff, #5945e8); color: #121c33; box-shadow: 0 18px 32px rgba(91, 69, 232, .28); } | |
| .brand-mark svg { width: 42px; height: 42px; } | |
| .brand-lockup h1 { color: var(--ink); margin: 0 0 4px; font-size: 30px; line-height: 1.05; letter-spacing: 0; } | |
| .brand-lockup p { margin: 0; color: #38435c ; font-size: 17px; font-weight: 650; } | |
| .wc-layout { width: min(100%, 1800px); margin: 0 auto; display: grid; grid-template-columns: minmax(250px, .78fr) minmax(460px, 1.75fr) minmax(270px, .86fr); gap: var(--wc-gap); align-items: stretch; min-height: 0; overflow: visible; } | |
| .left-rail, .right-rail { min-width: 0; display: grid; gap: 16px; align-content: start; overflow: visible; padding-bottom: 4px; } | |
| .center-stage { min-width: 0; overflow: visible; } | |
| .side-card, .listening-panel, .garden-panel { color: var(--ink); border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); } | |
| .whistle-app .side-card, | |
| .whistle-app .listening-panel, | |
| .whistle-app .garden-panel { | |
| opacity: 1 ; | |
| } | |
| .side-card h2, | |
| .side-card strong, | |
| .side-card p, | |
| .side-card li, | |
| .listening-panel strong, | |
| .listening-panel p, | |
| .indicator-name, | |
| .indicator-score, | |
| .garden-panel h3, | |
| .garden-panel strong, | |
| .garden-panel small { | |
| opacity: 1 ; | |
| } | |
| .side-card h2, | |
| .panel-heading strong, | |
| .indicator-name, | |
| .garden-panel h3 { | |
| color: var(--ink) ; | |
| } | |
| .whistle-app .card-kicker, | |
| .whistle-app .panel-heading strong, | |
| .whistle-app .indicator-name, | |
| .whistle-app .indicator-name span, | |
| .whistle-app .indicator-score, | |
| .whistle-app .journey-row strong, | |
| .whistle-app .steps-progress strong { | |
| color: #111a33 ; | |
| opacity: 1 ; | |
| } | |
| .whistle-app .indicator-card .indicator-topline, | |
| .whistle-app .indicator-card .indicator-topline * { | |
| opacity: 1 ; | |
| } | |
| .side-card p, | |
| .flow-list li, | |
| .panel-heading p, | |
| .indicator-detail, | |
| .technical-status, | |
| .garden-step, | |
| .melody-card { | |
| color: #36425c ; | |
| } | |
| .side-card { padding: clamp(18px, 1.4vw, 24px) clamp(16px, 1.25vw, 22px); } | |
| .current-card { background: linear-gradient(145deg, rgba(246,241,255,.96), rgba(255,255,255,.94)); } | |
| .card-kicker { margin: 0 0 18px; font-size: 13px; font-weight: 900; letter-spacing: .08em; color: #17213a; } | |
| .current-card h2 { margin: 0 0 12px; font-size: 22px; color: #111a33 ; letter-spacing: 0; } | |
| .step-copy { margin: 0 0 18px; font-size: 18px; line-height: 1.45; color: #344061 ; } | |
| .focus-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: #e7ddff; color: #5a3ce7 ; font-weight: 900; } | |
| .flow-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; } | |
| .flow-list li { min-height: 31px; display: grid; grid-template-columns: 28px 1fr 20px; align-items: center; gap: 10px; color: #36425c; font-weight: 800; border-radius: 15px; padding: 3px 7px; } | |
| .flow-list li span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #f0f2f6; color: #1b243a; font-size: 13px; font-weight: 900; } | |
| .flow-list li.done::after { content: "✓"; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #ddf4e3; color: #38a750; } | |
| .flow-list li.active { background: #ebe4ff; color: #5a3ce7 ; } | |
| .flow-list li.active span { background: var(--purple); color: white; } | |
| .flow-list li:not(.done):not(.active)::after { content: ""; width: 12px; height: 12px; border: 2px solid #9faabd; border-radius: 50%; justify-self: center; } | |
| .steps-progress { display: flex; align-items: center; gap: 16px; margin-top: 18px; color: #35415a; } | |
| .steps-progress span { flex: 1; height: 7px; background: #e7e9ef; border-radius: 999px; overflow: hidden; } | |
| .steps-progress i { display: block; width: 57%; height: 100%; background: var(--purple); border-radius: inherit; } | |
| .journey-row { display: grid; grid-template-columns: minmax(68px, 86px) minmax(0, 1fr) 56px; align-items: center; gap: 14px; } | |
| .progress-ring { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--green) 0deg, var(--green) 0deg, #e9edf3 0deg); border: 9px solid #eef1f5; color: var(--green); font-size: 20px; transition: background .3s ease; } | |
| .journey-row p { margin: 8px 0 0; line-height: 1.45; color: #35415a; font-weight: 750; } | |
| .plant-pot { | |
| --stem-growth: .08; | |
| --leaf-growth: .1; | |
| --leaf-opacity: 0; | |
| --flower-growth: 0; | |
| --flower-opacity: 0; | |
| position: relative; | |
| width: 58px; | |
| height: 76px; | |
| justify-self: center; | |
| } | |
| .plant-stem { | |
| position: absolute; | |
| left: 50%; | |
| bottom: 20px; | |
| width: 8px; | |
| height: 50px; | |
| border-radius: 999px; | |
| background: linear-gradient(#93dd45, #3aa85d); | |
| transform: translateX(-50%) scaleY(var(--stem-growth)); | |
| transform-origin: bottom; | |
| transition: transform .35s ease; | |
| } | |
| .plant-leaf { | |
| position: absolute; | |
| left: 50%; | |
| bottom: 39px; | |
| width: 30px; | |
| height: 17px; | |
| border-radius: 999px 0 999px 0; | |
| background: linear-gradient(135deg, #afe85b, #58bd43); | |
| opacity: var(--leaf-opacity); | |
| transition: opacity .25s ease, transform .35s ease; | |
| } | |
| .plant-leaf-left { | |
| transform: translateX(-95%) rotate(200deg) scale(var(--leaf-growth)); | |
| transform-origin: right center; | |
| } | |
| .plant-leaf-right { | |
| transform: translateX(-6%) rotate(-20deg) scale(var(--leaf-growth)); | |
| transform-origin: left center; | |
| } | |
| .plant-flower { | |
| position: absolute; | |
| left: 50%; | |
| top: 1px; | |
| width: 30px; | |
| height: 30px; | |
| opacity: var(--flower-opacity); | |
| transform: translateX(-50%) scale(var(--flower-growth)); | |
| transition: opacity .25s ease, transform .35s ease; | |
| } | |
| .plant-flower::before { | |
| content: ""; | |
| position: absolute; | |
| inset: 0; | |
| border-radius: 50%; | |
| background: | |
| radial-gradient(circle at 50% 50%, #8d5b20 0 18%, transparent 19%), | |
| radial-gradient(ellipse at 50% 8%, #ffd95f 0 24%, transparent 25%), | |
| radial-gradient(ellipse at 92% 50%, #ff8a65 0 24%, transparent 25%), | |
| radial-gradient(ellipse at 50% 92%, #f05a9b 0 24%, transparent 25%), | |
| radial-gradient(ellipse at 8% 50%, #87d8ff 0 24%, transparent 25%); | |
| } | |
| .plant-soil { | |
| position: absolute; | |
| left: 50%; | |
| bottom: 3px; | |
| width: 42px; | |
| height: 24px; | |
| border-radius: 24px 24px 6px 6px; | |
| background: linear-gradient(145deg, #8f594f, #65443f); | |
| transform: translateX(-50%); | |
| box-shadow: inset 0 3px 8px rgba(255, 255, 255, .12); | |
| } | |
| .plant-pot[data-growth-stage="bloom"] .plant-flower { | |
| filter: drop-shadow(0 5px 8px rgba(240, 90, 155, .25)); | |
| } | |
| .camera-card { position: relative; height: clamp(500px, calc(100vh - 170px), 720px); min-height: 0; overflow: hidden; border-radius: 22px; border: 1px solid #d7dce7; background: linear-gradient(145deg, #f8fbff, #eaf4ef); box-shadow: var(--shadow); cursor: pointer; } | |
| @supports (height: 100svh) { | |
| .camera-card { height: clamp(500px, calc(100svh - 170px), 720px); } | |
| } | |
| .camera-card::before { | |
| content: ""; | |
| position: absolute; | |
| inset: 0; | |
| z-index: 2; | |
| pointer-events: none; | |
| opacity: 0; | |
| background: | |
| linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(246, 252, 248, .1)), | |
| radial-gradient(circle at 50% 58%, rgba(255, 255, 255, .2), transparent 42%); | |
| transition: opacity .25s ease; | |
| } | |
| .camera-card:focus-visible { outline: 4px solid rgba(107, 77, 246, .32); outline-offset: 4px; } | |
| .camera-card[data-active="true"] { cursor: default; } | |
| .camera-card[data-active="true"]::before { opacity: 1; } | |
| #practice-video, #mouth-overlay, #garden-canvas, .camera-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; } | |
| #practice-video { z-index: 0; object-fit: cover; filter: grayscale(.82) contrast(.96) brightness(1.12); display: none; transform: scaleX(-1); } | |
| #mouth-overlay, #garden-canvas { pointer-events: none; z-index: 4; } | |
| #garden-canvas { opacity: 0; transition: opacity .35s ease; } | |
| #garden-canvas[data-visible="true"] { opacity: .94; } | |
| .camera-placeholder { display: grid; place-items: center; color: #14203a; background: linear-gradient(135deg, #f7f9ff, #e9f7ef); z-index: 3; text-align: center; padding: clamp(24px, 4vh, 42px) clamp(20px, 3vw, 34px) 88px; } | |
| .start-panel { width: min(520px, 92%); display: grid; justify-items: center; gap: clamp(10px, 1.4vh, 14px); } | |
| .placeholder-face { | |
| position: relative; | |
| width: min(190px, 42vw); | |
| height: min(220px, 30vh); | |
| min-height: 150px; | |
| border-radius: 48% 48% 42% 42%; | |
| background: linear-gradient(#dce4ee, #9baabd); | |
| opacity: .92; | |
| filter: grayscale(1); | |
| } | |
| .placeholder-face::after { | |
| content: ""; | |
| position: absolute; | |
| left: 50%; | |
| top: 67%; | |
| width: 76px; | |
| height: 46px; | |
| border: 4px dashed rgba(107, 77, 246, .72); | |
| border-radius: 50%; | |
| transform: translate(-50%, -50%); | |
| } | |
| .whistle-app .camera-placeholder .start-panel strong { color: #111a33 ; font-size: clamp(28px, 4vw, 44px); line-height: 1.05; font-weight: 950; text-shadow: none ; } | |
| .whistle-app .camera-placeholder .start-panel span { max-width: 460px; color: #33405a ; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.45; font-weight: 800; text-shadow: none ; } | |
| .center-start-button { | |
| min-width: 148px; | |
| height: 54px; | |
| margin-top: 8px; | |
| border: 0; | |
| border-radius: 999px; | |
| color: white; | |
| background: linear-gradient(145deg, #7f62ff, #4d38db); | |
| box-shadow: 0 14px 28px rgba(0, 0, 0, .28); | |
| font: inherit; | |
| font-size: 18px; | |
| font-weight: 900; | |
| cursor: pointer; | |
| } | |
| .center-start-button:focus-visible { outline: 3px solid rgba(255, 255, 255, .62); outline-offset: 3px; } | |
| .live-guide { | |
| position: absolute; | |
| left: 50%; | |
| bottom: 28px; | |
| z-index: 8; | |
| width: min(480px, calc(100% - 48px)); | |
| padding: 14px 18px; | |
| border: 1px solid rgba(107, 77, 246, .24); | |
| border-radius: 18px; | |
| background: rgba(255, 255, 255, .98); | |
| color: #101a31 ; | |
| text-align: center; | |
| pointer-events: none; | |
| opacity: 0; | |
| transform: translateX(-50%) translateY(8px); | |
| transition: opacity .2s ease, transform .2s ease; | |
| backdrop-filter: blur(12px); | |
| box-shadow: 0 16px 32px rgba(34, 43, 72, .18); | |
| text-shadow: none ; | |
| } | |
| .whistle-app .camera-card .live-guide, | |
| .whistle-app .camera-card .live-guide * { | |
| color: #101a31 ; | |
| text-shadow: none ; | |
| } | |
| .whistle-app .camera-card .live-guide strong { | |
| display: block; | |
| font-size: 20px; | |
| line-height: 1.2; | |
| font-weight: 950; | |
| } | |
| .whistle-app .camera-card .live-guide span { | |
| display: block; | |
| margin-top: 6px; | |
| color: #24304a ; | |
| line-height: 1.35; | |
| font-weight: 850; | |
| } | |
| .camera-card[data-active="true"] .live-guide { | |
| opacity: 1; | |
| transform: translateX(-50%) translateY(0); | |
| } | |
| .camera-card[data-mouth-in-oval="true"] .live-guide { | |
| opacity: 0 ; | |
| transform: translateX(-50%) translateY(8px); | |
| visibility: hidden ; | |
| } | |
| .live-chip { position: absolute; top: 24px; left: 24px; z-index: 8; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.9); color: #14203a; font-weight: 900; backdrop-filter: blur(16px); box-shadow: 0 10px 24px rgba(31, 42, 68, .14); } | |
| .live-chip i { width: 13px; height: 13px; border-radius: 50%; background: #32d45d; box-shadow: 0 0 0 7px rgba(50,212,93,.16); } | |
| .camera-rule { position: absolute; top: 24px; right: 20px; z-index: 8; padding: 10px 13px; border-radius: 999px; background: rgba(30,30,30,.62); color: white; font-weight: 800; backdrop-filter: blur(12px); } | |
| .camera-rule b { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 9px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; font-size: 13px; } | |
| .coach-bubble { position: absolute; z-index: 8; top: 48px; left: 50%; transform: translateX(-50%); width: min(560px, 68%); min-height: 105px; padding: 20px 30px; display: grid; place-items: center; text-align: center; border-radius: 28px; border: 3px solid #84e295; background: linear-gradient(145deg, rgba(39,119,49,.94), rgba(23,92,42,.94)); color: white; font-size: 26px; line-height: 1.28; box-shadow: 0 14px 28px rgba(21, 52, 30, .28); text-shadow: 0 1px 2px rgba(0,0,0,.22); } | |
| .coach-bubble span { position: absolute; top: -20px; font-size: 31px; } | |
| .permission-note { position: absolute; left: 24px; bottom: 138px; z-index: 7; color: #17213a; background: rgba(255,255,255,.9); border: 1px solid rgba(107,77,246,.16); padding: 9px 12px; border-radius: 14px; font-weight: 800; box-shadow: 0 10px 24px rgba(31,42,68,.1); } | |
| .camera-card:not([data-active="true"]) .permission-note { left: 50%; bottom: 22px; width: min(520px, calc(100% - 48px)); transform: translateX(-50%); text-align: center; } | |
| .mouth-tips { position: absolute; z-index: 8; left: 28px; top: 285px; display: grid; gap: 14px; } | |
| .mouth-tips span { width: 170px; height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-radius: 14px; background: rgba(255,255,255,.22); color: white; border: 1px solid rgba(255,255,255,.58); font-weight: 800; backdrop-filter: blur(10px); } | |
| .mouth-tips i { width: 23px; height: 23px; border-radius: 50%; border: 3px solid #7de785; box-shadow: inset 0 0 0 4px rgba(92,83,221,.58); } | |
| .mouth-tips .face-dot::after { content: ""; display: block; width: 5px; height: 5px; margin: 6px auto; border-radius: 50%; background: #7de785; } | |
| .practice-dock { position: absolute; z-index: 9; left: 9%; right: 9%; bottom: 22px; min-height: 108px; display: grid; grid-template-columns: 88px minmax(170px, 1fr) 300px 146px 58px; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 25px; background: rgba(20,22,27,.80); color: white; backdrop-filter: blur(16px); box-shadow: 0 18px 35px rgba(0,0,0,.35); } | |
| .mic-orb { width: 76px; height: 76px; border: 10px solid rgba(117,95,236,.42); border-radius: 50%; background: linear-gradient(145deg, #8565ff, #5d43de); color: white; font-size: 33px; cursor: pointer; } | |
| .dock-copy strong { display: block; font-size: 22px; margin-bottom: 8px; } | |
| .dock-copy p { margin: 0; color: rgba(255,255,255,.95); font-weight: 650; } | |
| .pulse-wave { height: 44px; display: flex; align-items: center; justify-content: center; gap: 5px; } | |
| .pulse-wave span { width: 4px; height: 12px; border-radius: 999px; background: #7b5dff; animation: pulse 1s ease-in-out infinite; } | |
| .pulse-wave span:nth-child(2n) { height: 24px; animation-delay: .1s; } | |
| .pulse-wave span:nth-child(3n) { height: 34px; animation-delay: .2s; } | |
| .rest-pill, .reset-button { height: 50px; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; background: rgba(255,255,255,.09); color: white; font-size: 15px; font-weight: 900; cursor: pointer; } | |
| .rest-pill:disabled { opacity: .55; cursor: not-allowed; } | |
| .reset-button { width: 58px; font-size: 12px; } | |
| @keyframes pulse { 50% { transform: scaleY(1.8); opacity: .72; } } | |
| .listening-panel { padding: clamp(18px, 1.35vw, 22px) clamp(14px, 1vw, 16px); display: grid; gap: 12px; align-content: start; overflow: visible; } | |
| .panel-heading { display: flex; gap: 12px; align-items: start; padding: 0 10px 8px; } | |
| .panel-heading > span { color: var(--purple); font-weight: 900; } | |
| .panel-heading strong { letter-spacing: .06em; } | |
| .panel-heading p { margin: 7px 0 0; color: #35415a; font-weight: 700; } | |
| .indicator-card { padding: 20px 18px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 8px 20px rgba(32,41,75,.04); } | |
| .indicator-topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; } | |
| .indicator-name { min-width: 0; display: flex; align-items: center; gap: 9px; font-size: clamp(17px, 1.25vw, 18px); font-weight: 900; } | |
| .indicator-score { flex: 0 0 auto; font-size: clamp(21px, 1.6vw, 24px); color: var(--green); } | |
| .indicator-score small { font-size: 14px; color: #4b5871; margin-left: 3px; font-weight: 850; } | |
| .score-track { height: 12px; background: #e8ebf1; border-radius: 999px; overflow: hidden; margin: 18px 0 12px; } | |
| .score-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--green); transition: width .25s ease; } | |
| .indicator-card.orange .indicator-score { color: var(--orange); } | |
| .indicator-card.orange .score-fill { background: var(--orange); } | |
| .indicator-card.purple .indicator-score { color: var(--purple); } | |
| .indicator-card.purple .score-fill { background: var(--purple); } | |
| .indicator-card.blue .indicator-score { color: var(--blue); } | |
| .indicator-card.blue .score-fill { background: var(--blue); } | |
| .indicator-detail { margin: 0; color: #303c56; line-height: 1.45; min-height: 22px; font-weight: 750; } | |
| .stack-note { margin-top: 8px; display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 17px; border: 1px solid #e3dcff; border-radius: 16px; background: #f7f3ff; color: #33405a; line-height: 1.45; font-weight: 700; } | |
| .stack-note span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #efe8ff; color: var(--purple); } | |
| .stack-note p, .technical-status { margin: 0; } | |
| .technical-status { color: #46526a; padding: 0 10px; font-size: 13px; font-weight: 650; } | |
| .garden-panel { margin-top: 18px; padding: 25px 30px; max-width: calc(100% - 366px); margin-left: 342px; } | |
| .garden-panel h3 { margin: 0 0 20px; font-size: 15px; letter-spacing: .06em; } | |
| .garden-line { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: end; } | |
| .garden-line::before { content: ""; position: absolute; left: 7%; right: 7%; top: 52px; height: 3px; background: #cbd2dd; } | |
| .garden-step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; color: #414c64; } | |
| .garden-step i { font-style: normal; font-size: 42px; filter: grayscale(.55); opacity: .7; } | |
| .garden-step small { font-size: 15px; font-weight: 800; } | |
| .garden-step .soil { width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; color: transparent; background: #c5ccd7; border: 3px solid white; box-shadow: 0 0 0 2px #c5ccd7; order: 2; } | |
| .garden-step.reached i, .garden-step.active i { filter: none; opacity: 1; } | |
| .garden-step.reached .soil, .garden-step.active .soil { background: var(--green); box-shadow: 0 0 0 2px var(--green); } | |
| .melody-card { margin-top: 16px; display: flex; align-items: center; gap: 14px; color: #34405a; font-weight: 700; } | |
| .melody-card button, .melody-card a { border: 1px solid var(--line); background: white; color: var(--purple); border-radius: 999px; padding: 8px 14px; font-weight: 900; text-decoration: none; } | |
| .melody-card button:disabled { color: #667187; } | |
| .hidden-meter { display: none ; } | |
| @media (max-width: 1500px) { | |
| .wc-layout { | |
| grid-template-columns: minmax(240px, .72fr) minmax(440px, 1.58fr) minmax(260px, .82fr); | |
| } | |
| .flow-list li { grid-template-columns: 26px minmax(0, 1fr) 18px; } | |
| .journey-row { grid-template-columns: 74px minmax(0, 1fr) 48px; gap: 12px; } | |
| .progress-ring { width: 70px; height: 70px; font-size: 18px; } | |
| .plant-pot { width: 50px; } | |
| .indicator-card { padding: 18px 16px; } | |
| } | |
| @media (max-height: 760px) and (min-width: 901px) { | |
| .whistle-app { --wc-page-pad: clamp(12px, 1.3vw, 22px); --wc-gap: clamp(12px, 1vw, 18px); } | |
| .wc-header { margin-bottom: 14px; } | |
| .brand-mark { width: 58px; height: 58px; border-radius: 17px; } | |
| .brand-mark svg { width: 34px; height: 34px; } | |
| .brand-lockup h1 { font-size: 25px; } | |
| .brand-lockup p { font-size: 15px; } | |
| .camera-card { height: clamp(430px, calc(100vh - 112px), 600px); } | |
| .side-card { padding: 16px 15px; } | |
| .flow-list { gap: 4px; } | |
| .flow-list li { min-height: 28px; } | |
| .listening-panel { padding: 16px 14px; gap: 10px; } | |
| .indicator-card { padding: 16px 14px; } | |
| .score-track { margin: 12px 0 10px; } | |
| } | |
| @media (max-width: 1280px) { | |
| .wc-layout { grid-template-columns: minmax(260px, 300px) minmax(420px, 1fr); align-items: start; overflow-y: auto; } | |
| .right-rail { grid-column: 1 / -1; } | |
| .listening-panel { height: auto; min-height: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); } | |
| .panel-heading, .stack-note, .technical-status { grid-column: 1 / -1; } | |
| .garden-panel { max-width: none; margin-left: 0; } | |
| .camera-card { height: clamp(480px, calc(100vh - 160px), 680px); } | |
| } | |
| @media (max-width: 900px) { | |
| .whistle-app { | |
| height: auto; | |
| min-height: 0; | |
| max-height: none; | |
| overflow: visible; | |
| padding: 18px; | |
| } | |
| .wc-header, .wc-layout { display: grid; grid-template-columns: 1fr; } | |
| .wc-layout { min-height: 0; align-items: start; overflow: visible; padding-bottom: 18px; } | |
| .left-rail, | |
| .right-rail, | |
| .center-stage { | |
| overflow: visible; | |
| } | |
| .brand-lockup { min-width: 0; } | |
| .brand-mark { width: 60px; height: 60px; } | |
| .camera-card { height: clamp(420px, 62vh, 540px); } | |
| .camera-placeholder { padding-bottom: 82px; } | |
| .practice-dock { left: 14px; right: 14px; grid-template-columns: 64px 1fr 112px; } | |
| .pulse-wave, .reset-button { display: none; } | |
| .mic-orb { width: 58px; height: 58px; border-width: 7px; font-size: 24px; } | |
| .listening-panel { height: auto; overflow: visible; grid-template-columns: 1fr; } | |
| .garden-line { gap: 6px; } | |
| } | |
| @media (max-width: 620px) { | |
| .whistle-app { --wc-page-pad: 12px; } | |
| .brand-lockup { gap: 12px; } | |
| .brand-mark { width: 52px; height: 52px; border-radius: 15px; } | |
| .brand-mark svg { width: 31px; height: 31px; } | |
| .brand-lockup h1 { font-size: 24px; } | |
| .brand-lockup p { font-size: 14px; } | |
| .side-card, | |
| .listening-panel { border-radius: 18px; } | |
| .journey-row { grid-template-columns: 68px minmax(0, 1fr); } | |
| .plant-pot { display: none; } | |
| .camera-card { height: clamp(390px, 68vh, 500px); border-radius: 18px; } | |
| .placeholder-face { width: min(150px, 48vw); height: min(176px, 28vh); } | |
| .camera-card:not([data-active="true"]) .permission-note { width: calc(100% - 28px); bottom: 14px; } | |
| } | |
| @media (max-height: 760px) and (min-width: 901px) { | |
| .camera-card { height: clamp(430px, calc(100vh - 112px), 600px); } | |
| } | |