:root{--theme-fontFamily: "SF Pro Display", "SF Pro Text", "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;--theme-brandPrimary: #2f8f5b;--theme-brandPrimaryText: #ffffff;--theme-neutralBackground: #fcfcfd;--theme-neutralSurface: #ffffff;--theme-neutralSurfaceStrong: #f7f9fc;--theme-neutralBorder: #d8e0e8;--theme-neutralText: #18212b;--theme-neutralMutedText: #607081;--theme-neutralInput: #fafbfc;--theme-neutralInputText: #18212b;--theme-dangerBase: #d84f5f;--theme-warningBase: #d6a13b;--theme-textColor: #18212b;--theme-mutedTextColor: #607081;--theme-seedTextColor: #768596;--theme-pageBackgroundStart: #fcfcfd;--theme-pageBackgroundEnd: #eef2f6;--theme-pageGlowWarm: rgba(229, 93, 93, .12);--theme-pageGlowCool: rgba(71, 168, 118, .1);--theme-surfaceColor: rgba(255, 255, 255, .82);--theme-surfaceColorStrong: rgba(255, 255, 255, .94);--theme-surfaceBorderColor: rgba(24, 33, 43, .08);--theme-inputColor: rgba(250, 251, 252, .96);--theme-inputBorderColor: rgba(24, 33, 43, .12);--theme-inputTextColor: #18212b;--theme-selectMenuColor: #ffffff;--theme-selectMenuTextColor: #18212b;--theme-primaryColor: #2f8f5b;--theme-primaryTextColor: #ffffff;--theme-secondaryButtonColor: #f3f5f8;--theme-secondaryButtonTextColor: #18212b;--theme-skipButtonColor: #eef2f6;--theme-skipButtonTextColor: #243241;--theme-likeButtonColor: #2f8f5b;--theme-likeButtonTextColor: #ffffff;--theme-dangerColor: rgba(216, 79, 95, .1);--theme-dangerTextColor: #a33645;--theme-dangerBorderColor: rgba(216, 79, 95, .22);--theme-warningColor: rgba(214, 161, 59, .16);--theme-warningTextColor: #6e5318;--theme-warningBorderColor: rgba(214, 161, 59, .32);--theme-tagColor: rgba(47, 143, 91, .08);--theme-tagBorderColor: rgba(47, 143, 91, .18);--theme-tagTextColor: #235a3d;--theme-cardGradientStart: rgba(255, 255, 255, .98);--theme-cardGradientEnd: rgba(247, 249, 252, .92);--theme-shadowColor: rgba(15, 23, 42, .12);--theme-errorColor: #b33d4b;--theme-ratingFace1Color: #d84f5f;--theme-ratingFace2Color: #ea7b62;--theme-ratingFace3Color: #c7a85d;--theme-ratingFace4Color: #73a86b;--theme-ratingFace5Color: #2f8f5b;--theme-darkFontFamily: var(--theme-fontFamily);--theme-darkTextColor: #f3f6fa;--theme-darkMutedTextColor: #b8c4cf;--theme-darkSeedTextColor: #91a0ad;--theme-darkPageBackgroundStart: #0d1117;--theme-darkPageBackgroundEnd: #151b23;--theme-darkPageGlowWarm: rgba(216, 79, 95, .18);--theme-darkPageGlowCool: rgba(47, 143, 91, .16);--theme-darkSurfaceColor: rgba(20, 26, 33, .78);--theme-darkSurfaceColorStrong: rgba(23, 31, 40, .92);--theme-darkSurfaceBorderColor: rgba(255, 255, 255, .08);--theme-darkInputColor: rgba(15, 21, 28, .92);--theme-darkInputBorderColor: rgba(255, 255, 255, .12);--theme-darkInputTextColor: #f3f6fa;--theme-darkSelectMenuColor: #121821;--theme-darkSelectMenuTextColor: #f3f6fa;--theme-darkPrimaryColor: #45b574;--theme-darkPrimaryTextColor: #06110b;--theme-darkSecondaryButtonColor: rgba(255, 255, 255, .08);--theme-darkSecondaryButtonTextColor: #f3f6fa;--theme-darkSkipButtonColor: rgba(255, 255, 255, .08);--theme-darkSkipButtonTextColor: #f3f6fa;--theme-darkLikeButtonColor: #45b574;--theme-darkLikeButtonTextColor: #06110b;--theme-darkDangerColor: rgba(216, 79, 95, .16);--theme-darkDangerTextColor: #ffd9dd;--theme-darkDangerBorderColor: rgba(216, 79, 95, .28);--theme-darkWarningColor: rgba(214, 161, 59, .18);--theme-darkWarningTextColor: #f7e4b0;--theme-darkWarningBorderColor: rgba(214, 161, 59, .34);--theme-darkTagColor: rgba(69, 181, 116, .14);--theme-darkTagBorderColor: rgba(69, 181, 116, .24);--theme-darkTagTextColor: #dff7e7;--theme-darkCardGradientStart: rgba(31, 40, 50, .96);--theme-darkCardGradientEnd: rgba(18, 24, 31, .92);--theme-darkShadowColor: rgba(0, 0, 0, .38);--theme-darkErrorColor: #ff9aa5;--theme-darkRatingFace1Color: #f06b7a;--theme-darkRatingFace2Color: #f08d70;--theme-darkRatingFace3Color: #d3b061;--theme-darkRatingFace4Color: #85bd79;--theme-darkRatingFace5Color: #45b574;--fontFamily: var(--theme-fontFamily);--textColor: var(--theme-textColor);--mutedTextColor: var(--theme-mutedTextColor);--seedTextColor: var(--theme-seedTextColor);--pageBackgroundStart: var(--theme-pageBackgroundStart);--pageBackgroundEnd: var(--theme-pageBackgroundEnd);--pageGlowWarm: var(--theme-pageGlowWarm);--pageGlowCool: var(--theme-pageGlowCool);--surfaceColor: var(--theme-surfaceColor);--surfaceColorStrong: var(--theme-surfaceColorStrong);--surfaceBorderColor: var(--theme-surfaceBorderColor);--inputColor: var(--theme-inputColor);--inputBorderColor: var(--theme-inputBorderColor);--inputTextColor: var(--theme-inputTextColor);--selectMenuColor: var(--theme-selectMenuColor);--selectMenuTextColor: var(--theme-selectMenuTextColor);--primaryColor: var(--theme-primaryColor);--primaryTextColor: var(--theme-primaryTextColor);--secondaryButtonColor: var(--theme-secondaryButtonColor);--secondaryButtonTextColor: var(--theme-secondaryButtonTextColor);--skipButtonColor: var(--theme-skipButtonColor);--skipButtonTextColor: var(--theme-skipButtonTextColor);--likeButtonColor: var(--theme-likeButtonColor);--likeButtonTextColor: var(--theme-likeButtonTextColor);--dangerColor: var(--theme-dangerColor);--dangerTextColor: var(--theme-dangerTextColor);--dangerBorderColor: var(--theme-dangerBorderColor);--warningColor: var(--theme-warningColor);--warningTextColor: var(--theme-warningTextColor);--warningBorderColor: var(--theme-warningBorderColor);--tagColor: var(--theme-tagColor);--tagBorderColor: var(--theme-tagBorderColor);--tagTextColor: var(--theme-tagTextColor);--cardGradientStart: var(--theme-cardGradientStart);--cardGradientEnd: var(--theme-cardGradientEnd);--shadowColor: var(--theme-shadowColor);--errorColor: var(--theme-errorColor);--ratingFace1Color: var(--theme-ratingFace1Color);--ratingFace2Color: var(--theme-ratingFace2Color);--ratingFace3Color: var(--theme-ratingFace3Color);--ratingFace4Color: var(--theme-ratingFace4Color);--ratingFace5Color: var(--theme-ratingFace5Color);color-scheme:light;font-family:var(--fontFamily);color:var(--textColor);background:radial-gradient(circle at top,var(--pageGlowWarm),transparent 28%),radial-gradient(circle at bottom right,var(--pageGlowCool),transparent 24%),linear-gradient(180deg,var(--pageBackgroundStart) 0%,var(--pageBackgroundEnd) 100%)}@media (prefers-color-scheme: dark){:root{--fontFamily: var(--theme-darkFontFamily);--textColor: var(--theme-darkTextColor);--mutedTextColor: var(--theme-darkMutedTextColor);--seedTextColor: var(--theme-darkSeedTextColor);--pageBackgroundStart: var(--theme-darkPageBackgroundStart);--pageBackgroundEnd: var(--theme-darkPageBackgroundEnd);--pageGlowWarm: var(--theme-darkPageGlowWarm);--pageGlowCool: var(--theme-darkPageGlowCool);--surfaceColor: var(--theme-darkSurfaceColor);--surfaceColorStrong: var(--theme-darkSurfaceColorStrong);--surfaceBorderColor: var(--theme-darkSurfaceBorderColor);--inputColor: var(--theme-darkInputColor);--inputBorderColor: var(--theme-darkInputBorderColor);--inputTextColor: var(--theme-darkInputTextColor);--selectMenuColor: var(--theme-darkSelectMenuColor);--selectMenuTextColor: var(--theme-darkSelectMenuTextColor);--primaryColor: var(--theme-darkPrimaryColor);--primaryTextColor: var(--theme-darkPrimaryTextColor);--secondaryButtonColor: var(--theme-darkSecondaryButtonColor);--secondaryButtonTextColor: var(--theme-darkSecondaryButtonTextColor);--skipButtonColor: var(--theme-darkSkipButtonColor);--skipButtonTextColor: var(--theme-darkSkipButtonTextColor);--likeButtonColor: var(--theme-darkLikeButtonColor);--likeButtonTextColor: var(--theme-darkLikeButtonTextColor);--dangerColor: var(--theme-darkDangerColor);--dangerTextColor: var(--theme-darkDangerTextColor);--dangerBorderColor: var(--theme-darkDangerBorderColor);--warningColor: var(--theme-darkWarningColor);--warningTextColor: var(--theme-darkWarningTextColor);--warningBorderColor: var(--theme-darkWarningBorderColor);--tagColor: var(--theme-darkTagColor);--tagBorderColor: var(--theme-darkTagBorderColor);--tagTextColor: var(--theme-darkTagTextColor);--cardGradientStart: var(--theme-darkCardGradientStart);--cardGradientEnd: var(--theme-darkCardGradientEnd);--shadowColor: var(--theme-darkShadowColor);--errorColor: var(--theme-darkErrorColor);--ratingFace1Color: var(--theme-darkRatingFace1Color);--ratingFace2Color: var(--theme-darkRatingFace2Color);--ratingFace3Color: var(--theme-darkRatingFace3Color);--ratingFace4Color: var(--theme-darkRatingFace4Color);--ratingFace5Color: var(--theme-darkRatingFace5Color);color-scheme:dark}}*{box-sizing:border-box}body{position:relative;margin:0;min-height:100vh;min-height:100dvh;color:var(--textColor);background:transparent;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden;-webkit-tap-highlight-color:transparent}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at top,var(--pageGlowWarm),transparent 28%),radial-gradient(circle at bottom right,var(--pageGlowCool),transparent 24%),linear-gradient(180deg,var(--pageBackgroundStart) 0%,var(--pageBackgroundEnd) 100%);pointer-events:none;z-index:-1}#root{min-height:100vh;min-height:100dvh}.app-shell{max-width:560px;margin:0 auto;padding:max(1rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) calc(1.2rem + env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left))}.app-shell-wide{max-width:1280px}.page-transition{animation:page-fade-slide .24s cubic-bezier(.22,1,.36,1);transform-origin:top center}.discover-card-transition{animation:discover-card-swap .28s cubic-bezier(.22,1,.36,1);transform-origin:center center}@keyframes page-fade-slide{0%{opacity:0;transform:translateY(10px) scale(.992)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes discover-card-swap{0%{opacity:0;transform:translateY(16px) scale(.985);filter:saturate(.94)}to{opacity:1;transform:translateY(0) scale(1);filter:saturate(1)}}.app-header h1,.profile-card h2,.status-card h2,.auth-shell h2{margin:0}.app-header p{margin-top:.35rem;color:var(--mutedTextColor);font-size:.95rem}.app-header{position:sticky;top:0;z-index:10;margin-bottom:1rem;padding:.25rem 0 .9rem;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.header-controls,.mode-toggle,.button-row,.stepper,.auth-step-actions{margin-top:.8rem;display:flex;gap:.5rem;flex-wrap:wrap}.step-pill{background:var(--surfaceColorStrong);color:var(--mutedTextColor);border:1px solid var(--surfaceBorderColor)}.step-pill.active{background:var(--primaryColor);color:var(--primaryTextColor)}.auth-step-actions{justify-content:space-between}button,input,select,textarea{font:inherit}button{border:1px solid transparent;border-radius:14px;padding:.6rem .8rem;min-height:2.9rem;font-weight:700;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease,color .14s ease;touch-action:manipulation}.ui-icon{width:1.1rem;height:1.1rem;display:block;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.icon-button{display:inline-grid;place-items:center;min-width:2.9rem;padding-inline:.75rem}.details-toggle.icon-button,.details-toggle-secondary.icon-button,.header-controls .icon-button{min-width:2.9rem;position:relative}button:disabled{cursor:wait;opacity:.65}button:hover:not(:disabled){transform:translateY(-1px)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb,var(--primaryColor) 22%,transparent);outline-offset:2px}button.active,button.primary{background:var(--primaryColor);color:var(--primaryTextColor)}input,select,textarea{width:100%;border:1px solid var(--inputBorderColor);border-radius:10px;background:var(--inputColor);color:var(--inputTextColor);padding:.55rem .65rem;min-height:2.9rem;margin-top:.25rem}textarea{min-height:7rem;resize:vertical}select,select option,select optgroup{color:var(--selectMenuTextColor)}select{background-color:var(--inputColor)}select option,select optgroup{background:var(--selectMenuColor)}label{display:block;margin-top:.65rem}label small,.interest-picker small,.interest-selector small{display:block;margin-top:.3rem;color:var(--mutedTextColor);font-size:.8rem}.auth-shell,.status-card,.profile-editor,.history,.empty-state{background:var(--surfaceColor);border-radius:24px;padding:1rem;border:1px solid var(--surfaceBorderColor);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 24px 64px -44px var(--shadowColor)}.card-stack{display:grid;gap:1rem}.seed-note{display:block;margin-top:.8rem;color:var(--seedTextColor)}.error-msg{color:var(--errorColor);margin:.55rem 0}.error-card{margin-bottom:1rem;border-color:var(--dangerBorderColor)}.stats-row{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;margin:1rem 0}.stats-row article{background:var(--surfaceColorStrong);border:1px solid var(--surfaceBorderColor);border-radius:14px;padding:.8rem}.label{display:block;font-size:.72rem;color:var(--mutedTextColor);text-transform:uppercase;letter-spacing:.06em}.preference-grid{display:grid;gap:.8rem;margin-top:.8rem}.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:.6rem;margin-bottom:1rem}.gallery.compact{grid-template-columns:repeat(3,1fr);margin-bottom:1rem}.gallery img,.gallery-empty{width:100%;aspect-ratio:3 / 4;object-fit:cover;border-radius:22px;border:1px solid var(--surfaceBorderColor);background:var(--surfaceColor)}.gallery-empty{display:grid;place-items:center;color:var(--mutedTextColor);padding:1rem}.gallery-empty.compact{margin-bottom:1rem}.profile-card{background:linear-gradient(160deg,var(--cardGradientStart),var(--cardGradientEnd));border-radius:30px;padding:1.1rem;border:1px solid var(--surfaceBorderColor);box-shadow:0 32px 80px -52px var(--shadowColor);transition:padding .22s ease,box-shadow .22s ease,border-color .22s ease}.profile-card-expanded{box-shadow:0 36px 90px -54px var(--shadowColor)}.profile-card p{color:var(--textColor)}.profile-card-summary{display:flex;justify-content:space-between;align-items:flex-start;gap:.9rem;margin-top:1rem}.profile-glance-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.7rem}.profile-glance-pill{display:inline-flex;align-items:center;padding:.45rem .8rem;border-radius:999px;background:var(--secondaryButtonColor);border:1px solid var(--surfaceBorderColor);color:var(--secondaryButtonTextColor);font-size:.88rem;font-weight:600}.details-toggle{background:var(--secondaryButtonColor);color:var(--secondaryButtonTextColor);border-color:var(--surfaceBorderColor);white-space:nowrap}.details-toggle-secondary{width:100%}.profile-details-panel{margin-top:1rem;display:grid;gap:.9rem;max-height:0;overflow:hidden;opacity:0;transform:translateY(-.35rem);padding-top:0;border-top:1px solid transparent;transition:max-height .3s cubic-bezier(.22,1,.36,1),opacity .18s ease,transform .22s ease,padding-top .22s ease,border-top-color .22s ease}.profile-details-panel.expanded{max-height:32rem;opacity:1;transform:translateY(0);padding-top:1rem;border-top-color:var(--surfaceBorderColor)}.profile-bio{margin:0;color:var(--textColor)}.profile-meta{margin:.8rem 0;color:var(--mutedTextColor);display:grid;gap:.35rem}.rating-panel{margin-top:1.1rem;padding:1rem;border-radius:24px;background:linear-gradient(180deg,var(--surfaceColorStrong),var(--surfaceColor));border:1px solid var(--surfaceBorderColor)}.rating-copy h3{margin:.25rem 0 0}.rating-copy p{margin:.45rem 0 0;color:var(--mutedTextColor)}.rate-controls{display:grid;grid-template-columns:repeat(5,1fr);gap:.5rem;margin:1rem 0}.face-rating-button{display:grid;justify-items:center;gap:.2rem;min-height:8.8rem;padding:.85rem .4rem .7rem;background:linear-gradient(180deg,color-mix(in srgb,var(--face-accent) 10%,var(--surfaceColorStrong)),var(--surfaceColorStrong));border-color:color-mix(in srgb,var(--face-accent) 35%,var(--surfaceBorderColor));color:var(--secondaryButtonTextColor)}.face-rating-button:hover:not(:disabled),.face-rating-button:focus-visible{box-shadow:0 16px 36px -28px color-mix(in srgb,var(--face-accent) 42%,transparent)}.face-icon{width:3rem;height:3rem;stroke:var(--face-accent);fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.face-rating-value{font-size:.8rem;font-weight:700;color:var(--mutedTextColor)}.face-rating-label{font-size:.78rem;font-weight:700;line-height:1.15}.swipe-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.7rem;margin-top:1rem}.skip{background:var(--skipButtonColor);color:var(--skipButtonTextColor);border-color:var(--surfaceBorderColor)}.history{margin-top:1.1rem}.history ul{margin:.4rem 0 0;padding-left:1rem}.history li{margin:.2rem 0}.report-card{margin-top:1rem;padding:1rem;border-radius:18px;border:1px solid var(--dangerBorderColor);background:linear-gradient(180deg,color-mix(in srgb,var(--dangerColor) 85%,var(--surfaceColorStrong)),color-mix(in srgb,var(--dangerColor) 35%,var(--surfaceColor)))}.report-card h3{margin:0}.report-card-success{border-color:var(--accentColor);background:linear-gradient(180deg,color-mix(in srgb,var(--accentColor) 78%,var(--surfaceColorStrong)),color-mix(in srgb,var(--accentColor) 24%,var(--surfaceColor)))}.empty-state{text-align:center}.empty-state button{margin-top:.7rem}.image-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.7rem;margin:1rem 0}.media-tile{display:grid;gap:.45rem;text-align:left;background:var(--surfaceColor);color:var(--textColor);border:1px solid var(--surfaceBorderColor);border-radius:22px;padding:.7rem;box-shadow:0 18px 44px -34px var(--shadowColor);transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease}.media-tile:hover{transform:translateY(-1px);box-shadow:0 22px 48px -34px var(--shadowColor)}.media-tile.selected{outline:2px solid var(--primaryColor);background:color-mix(in srgb,var(--tagColor) 65%,var(--surfaceColorStrong))}.media-preview{width:100%;aspect-ratio:3 / 4;border-radius:18px;border:1px solid var(--surfaceBorderColor);object-fit:cover}.media-tile span{color:var(--mutedTextColor);font-size:.88rem}.interest-picker,.interest-selector{margin-top:.8rem;padding:.9rem;border:1px solid var(--surfaceBorderColor);border-radius:14px;background:var(--surfaceColor)}.interest-picker legend,.interest-selector legend{padding:0 .3rem;font-weight:700}.interest-selected-list,.interest-suggestion-list{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.75rem}.interest-selected-chip,.interest-suggestion-chip{display:inline-flex;align-items:center;gap:.45rem;margin:0;padding:.55rem .8rem;border-radius:999px;border:1px solid var(--surfaceBorderColor);background:var(--surfaceColorStrong);color:var(--textColor);font:inherit}.interest-selected-chip{border-color:var(--primaryColor);background:var(--tagColor)}.interest-selected-chip strong{line-height:1}.interest-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.65rem;align-items:center;margin-top:.75rem}.interest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin-top:.7rem;max-height:18rem;overflow:auto}.interest-chip{display:flex;align-items:center;gap:.5rem;margin:0;padding:.55rem .7rem;border-radius:999px;border:1px solid var(--surfaceBorderColor);background:var(--surfaceColorStrong)}.interest-chip.selected{border-color:var(--primaryColor);background:var(--tagColor)}.interest-chip input{width:auto;margin:0}.survey-section{display:grid;gap:1rem}.survey-stack{display:grid;gap:.9rem}.survey-section-block{display:grid;gap:.7rem}.survey-card{display:grid;gap:.8rem;padding:1rem;border-radius:20px;border:1px solid var(--surfaceBorderColor);background:color-mix(in srgb,var(--surfaceColorStrong) 86%,transparent)}.survey-section-priority{display:grid;gap:.8rem;padding:.95rem 1rem;border-radius:20px;border:1px dashed color-mix(in srgb,var(--primaryColor) 45%,var(--surfaceBorderColor));background:linear-gradient(180deg,color-mix(in srgb,var(--tagColor) 26%,var(--surfaceColorStrong)),color-mix(in srgb,var(--surfaceColorStrong) 92%,transparent));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primaryColor) 10%,transparent)}.priority-field-group{display:grid;gap:.7rem;padding:.85rem;border-radius:20px;border:1px solid color-mix(in srgb,var(--primaryColor) 18%,var(--surfaceBorderColor));background:linear-gradient(180deg,color-mix(in srgb,var(--tagColor) 34%,var(--surfaceColorStrong)),color-mix(in srgb,var(--surfaceColorStrong) 92%,transparent));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primaryColor) 8%,transparent)}.priority-field-group>label{margin:0}.priority-field-group input[type=range]{width:100%;margin-top:.55rem}.priority-inline-control{padding:.8rem;border-style:dashed;border-color:color-mix(in srgb,var(--primaryColor) 35%,var(--surfaceBorderColor));background:color-mix(in srgb,var(--surfaceColor) 82%,var(--tagColor))}.survey-card-copy{display:grid;gap:.25rem}.likert-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.55rem}.likert-pill{display:grid;gap:.2rem;align-content:center;justify-items:center;min-height:4rem;padding:.65rem .45rem;border-radius:18px;border:1px solid var(--surfaceBorderColor);background:var(--surfaceColorStrong);color:var(--textColor);transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.likert-pill.active{border-color:var(--primaryColor);background:var(--primaryColor);color:var(--primaryTextColor);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primaryColor) 24%,transparent)}.likert-pill small{color:var(--mutedTextColor)}.likert-pill.active small{color:color-mix(in srgb,var(--primaryTextColor) 88%,transparent)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:color-mix(in srgb,var(--shadowColor) 76%,transparent);display:grid;place-items:center;padding:1rem;z-index:40}.match-modal{width:min(32rem,100%);border-width:2px;box-shadow:0 1.5rem 3rem color-mix(in srgb,var(--shadowColor) 78%,transparent)}.safety-modal-copy{display:grid;gap:.35rem}.modal-actions,.modal-form-stack{margin-top:.9rem}.modal-form-stack{display:grid;gap:.85rem}.messages-shell{display:grid;grid-template-columns:minmax(16rem,22rem) minmax(0,1fr);gap:1rem}.messages-sidebar,.messages-detail{min-height:22rem}.messages-list{display:grid;gap:.65rem}.messages-list-item{display:grid;gap:.2rem;text-align:left;padding:.9rem 1rem;border-radius:18px;border:1px solid var(--surfaceBorderColor);background:var(--surfaceColorStrong);color:var(--textColor)}.messages-list-item span{color:var(--mutedTextColor)}.messages-list-heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.messages-list-item.active{border-color:var(--primaryColor);background:color-mix(in srgb,var(--tagColor) 72%,var(--surfaceColorStrong))}.unread-dot,.nav-unread-dot{width:.6rem;height:.6rem;border-radius:999px;background:var(--primaryColor);box-shadow:0 0 0 3px color-mix(in srgb,var(--primaryColor) 18%,transparent);flex:none}.nav-unread-dot{position:absolute;top:.5rem;right:.45rem}.toast-stack{position:fixed;top:max(1rem,env(safe-area-inset-top));left:50%;transform:translate(-50%);z-index:45;display:grid;gap:.75rem;width:min(28rem,calc(100vw - 2rem))}.toast-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;text-align:left;border-width:2px;border-color:color-mix(in srgb,var(--primaryColor) 30%,var(--surfaceBorderColor));background:linear-gradient(180deg,color-mix(in srgb,var(--surfaceColorStrong) 92%,var(--tagColor)),var(--surfaceColor))}.toast-card-copy{display:grid;gap:.28rem}.toast-card-copy span:last-child{color:var(--mutedTextColor)}.toast-dismiss{color:var(--mutedTextColor);font-size:.82rem}.settings-grid{display:grid;gap:.85rem;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr))}.settings-toggle-list{display:grid;gap:.75rem;margin-bottom:1rem}.settings-toggle{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border-radius:18px;border:1px solid var(--surfaceBorderColor);background:var(--surfaceColorStrong)}.messages-summary{display:flex;flex-wrap:wrap;gap:.55rem;margin-bottom:1rem}.messages-thread{display:grid;gap:.75rem;margin-bottom:1rem;padding:1rem;border-radius:24px;border:1px solid var(--surfaceBorderColor);background:color-mix(in srgb,var(--surfaceColorStrong) 86%,transparent);min-height:16rem;max-height:26rem;overflow-y:auto}.messages-empty{display:grid;place-items:center;min-height:12rem;color:var(--mutedTextColor);text-align:center}.message-bubble{max-width:min(32rem,82%);display:grid;gap:.35rem;padding:.85rem 1rem;border-radius:22px;border:1px solid var(--surfaceBorderColor);background:var(--surfaceColorStrong)}.message-bubble p,.message-bubble small{margin:0}.message-bubble small{color:var(--mutedTextColor)}.message-bubble.outgoing{margin-left:auto;border-color:color-mix(in srgb,var(--primaryColor) 28%,var(--surfaceBorderColor));background:color-mix(in srgb,var(--tagColor) 78%,var(--surfaceColorStrong))}.message-bubble.incoming{margin-right:auto}.message-bubble-system{margin:0 auto;max-width:100%;border-style:dashed;background:color-mix(in srgb,var(--surfaceColorStrong) 70%,transparent)}.reveal-result-card{gap:.55rem}.discover-quota-card,.premium-insights-card,.reveal-card{padding:1rem}.reveal-card-pending{border-style:dashed}.reveal-section-pill{background:transparent;cursor:pointer}.reveal-section-pill.active{background:var(--primaryColor);color:var(--primaryTextColor);border-color:var(--primaryColor)}.tag-row{display:flex;gap:.45rem;flex-wrap:wrap;margin:.8rem 0}.gallery-carousel{display:grid;gap:.8rem}.gallery-frame{position:relative}.gallery-carousel-image{width:100%;aspect-ratio:3 / 4;object-fit:cover;border-radius:28px;border:1px solid var(--surfaceBorderColor);background:var(--surfaceColorStrong);box-shadow:inset 0 1px color-mix(in srgb,var(--surfaceColorStrong) 82%,var(--textColor))}.gallery-nav{position:absolute;top:50%;transform:translateY(-50%);width:2.8rem;height:2.8rem;border-radius:999px;padding:0;display:inline-flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--surfaceColorStrong) 88%,transparent);color:var(--textColor);border-color:var(--surfaceBorderColor);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.gallery-nav:hover:not(:disabled){transform:translateY(-50%) scale(1.02)}.gallery-nav-prev{left:.85rem}.gallery-nav-next{right:.85rem}.gallery-nav span{font-size:1.5rem;line-height:1}.gallery-footer{display:flex;align-items:center;justify-content:space-between;gap:.8rem}.gallery-dots{display:flex;flex-wrap:wrap;gap:.45rem}.gallery-dot{width:.7rem;height:.7rem;border-radius:999px;padding:0;background:color-mix(in srgb,var(--textColor) 16%,transparent);border-color:transparent}.gallery-dot.active{width:1.65rem;background:linear-gradient(90deg,var(--ratingFace1Color),var(--ratingFace5Color))}.gallery-counter{color:var(--mutedTextColor);font-size:.82rem;font-weight:600}.pill-row{display:flex;flex-wrap:wrap;gap:.45rem}.tag{padding:.35rem .65rem;border-radius:999px;background:var(--tagColor);border:1px solid var(--tagBorderColor);color:var(--tagTextColor);font-size:.82rem}.admin-shell{display:grid;gap:1.15rem}.admin-hero{display:grid;gap:1rem;padding:1.1rem;border-radius:24px;border:1px solid var(--surfaceBorderColor);background:linear-gradient(145deg,color-mix(in srgb,var(--surfaceColorStrong) 96%,transparent),color-mix(in srgb,var(--surfaceColor) 88%,transparent)),radial-gradient(circle at top right,var(--pageGlowWarm),transparent 38%);box-shadow:0 24px 60px -30px var(--shadowColor)}.admin-eyebrow{margin:0 0 .35rem;text-transform:uppercase;letter-spacing:.14em;font-size:.72rem;color:var(--seedTextColor)}.admin-hero-grid,.appearance-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}.admin-hero-card,.appearance-preview-card{padding:1rem;border-radius:24px;background:var(--surfaceColor);border:1px solid var(--surfaceBorderColor);box-shadow:0 20px 48px -36px var(--shadowColor)}.admin-hero-card strong,.appearance-preview-card strong{display:block;margin-top:.25rem;font-size:1.05rem}.admin-hero-card p,.appearance-preview-card p{margin:.45rem 0 0;color:var(--mutedTextColor)}.appearance-preview-surface{margin-top:.75rem;padding:1rem;border-radius:24px;border:1px solid var(--surfaceBorderColor);background:linear-gradient(160deg,var(--cardGradientStart),var(--cardGradientEnd)),var(--surfaceColorStrong)}.appearance-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.appearance-preview-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.admin-tabs{display:flex;gap:.6rem;flex-wrap:wrap}.admin-tabs button,.header-controls button{flex:1 1 auto}.admin-toolbar,.admin-user-heading{display:flex;justify-content:space-between;gap:.8rem;align-items:flex-start}.admin-toolbar p,.admin-user-heading p{margin:.3rem 0 0;color:var(--mutedTextColor)}.admin-sidebar-header{display:flex;justify-content:space-between;gap:.75rem;align-items:flex-start}.admin-sidebar-header h3{margin:0}.admin-sidebar-header p{margin:.3rem 0 0;color:var(--mutedTextColor)}.admin-metrics,.admin-summary-grid,.admin-inline-grid,.admin-form-grid,.diagnostics-grid{display:grid;gap:.75rem}.admin-metrics,.admin-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-metrics article,.admin-summary-grid article{background:var(--surfaceColor);border:1px solid var(--surfaceBorderColor);border-radius:16px;padding:.9rem}.admin-layout{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:1rem;align-items:start}.admin-sidebar{position:sticky;top:1rem;display:grid;gap:1rem}.admin-create-card{display:grid;gap:.85rem}.admin-directory-card{display:grid;gap:.9rem}.admin-directory-controls{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(120px,.5fr);align-items:end}.admin-directory-summary{gap:.55rem}.admin-user-list{display:grid;gap:.65rem;max-height:75vh;overflow:auto}.admin-user-card{display:grid;gap:.7rem;text-align:left;width:100%;background:var(--surfaceColor);color:var(--textColor);border:1px solid var(--surfaceBorderColor);border-radius:18px;padding:.9rem;transition:transform .14s ease,border-color .14s ease,background .14s ease}.admin-user-card:hover{transform:translateY(-1px)}.admin-user-card.selected{border-color:var(--primaryColor);background:var(--tagColor)}.admin-user-card-top{display:flex;align-items:flex-start;gap:.8rem}.admin-user-card-copy{min-width:0;display:grid;gap:.25rem}.admin-user-card-copy span{overflow-wrap:anywhere;color:var(--mutedTextColor)}.admin-user-meta{display:flex;flex-wrap:wrap;gap:.4rem .75rem;color:var(--seedTextColor);font-size:.82rem}.admin-avatar{width:2.6rem;height:2.6rem;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;font-weight:800;background:linear-gradient(135deg,var(--primaryColor),var(--likeButtonColor));color:var(--primaryTextColor);box-shadow:0 12px 24px -18px var(--shadowColor);flex-shrink:0}.admin-detail{display:grid;gap:1rem}.admin-section-copy{margin:0 0 1rem;color:var(--mutedTextColor)}.admin-inline-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1rem}.admin-inline-grid .status-card{padding:1rem}.admin-inline-grid h4{margin:0 0 .5rem}.admin-inline-grid p{margin:.35rem 0}.admin-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.appearance-group-list{display:grid;gap:1rem;margin-top:1rem}.appearance-workbench{display:grid;gap:1rem}.appearance-workbench-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.appearance-workbench-head h3{margin:0}.appearance-workbench-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.8fr);gap:1rem;align-items:start}.appearance-main-column,.appearance-side-column{display:grid;gap:1rem}.appearance-side-column{position:sticky;top:1rem}.appearance-group-card{padding:1rem;border-radius:22px}.appearance-group-header h4{margin:0}.theme-asset-group-list,.theme-asset-group,.theme-asset-slot-list{display:grid;gap:.85rem}.theme-asset-slot-card{display:grid;grid-template-columns:auto 1fr;gap:.85rem;align-items:center;padding:.9rem;border-radius:18px;border:1px solid var(--surfaceBorderColor);background:var(--surfaceColorStrong)}.theme-asset-slot-preview{display:grid;place-items:center;width:3.5rem;min-height:3.5rem;border-radius:16px;border:1px solid var(--surfaceBorderColor);background:var(--surfaceColor);color:var(--textColor)}.theme-asset-slot-copy{display:grid;gap:.2rem}.theme-asset-slot-copy strong,.theme-asset-slot-copy p{margin:0}.theme-asset-upload{display:inline-flex;align-items:center;gap:.5rem;font-size:.92rem;color:var(--mutedTextColor)}.theme-asset-upload input[type=file]{max-width:100%;color:var(--mutedTextColor)}.appearance-preview-hero{grid-column:span 2}.appearance-preview-modes{margin:.85rem 0 0}.appearance-preview-modes button{flex:1 1 0}.appearance-mock-card,.appearance-mock-auth,.appearance-mock-moderation,.appearance-mock-admin{display:grid;gap:.85rem;margin-top:.9rem;padding:1rem;border-radius:20px;border:1px solid var(--surfaceBorderColor);background:color-mix(in srgb,var(--surfaceColor) 84%,transparent)}.appearance-mock-auth input{margin-top:.45rem}.appearance-mock-admin .admin-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.appearance-status-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1rem}.appearance-preset-form{grid-template-columns:1fr}.appearance-field{margin-top:0;padding:.85rem;border-radius:18px;background:color-mix(in srgb,var(--surfaceColorStrong) 78%,transparent);border:1px solid color-mix(in srgb,var(--surfaceBorderColor) 72%,transparent)}.appearance-color-stack{display:grid;gap:.55rem}.appearance-color-controls{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:.6rem;align-items:center}.appearance-swatch{width:2rem;height:2rem;border-radius:12px;border:1px solid var(--surfaceBorderColor);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--surfaceColorStrong) 82%,var(--textColor))}.appearance-color-picker{width:3.2rem;min-width:3.2rem;padding:.2rem;margin-top:0;cursor:pointer}.appearance-alpha-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.75rem;align-items:center;color:var(--mutedTextColor);font-size:.86rem}.appearance-alpha-row input{margin-top:0}.admin-action-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;padding:1rem 1.1rem;border-radius:18px;background:var(--surfaceColorStrong);border:1px solid var(--surfaceBorderColor)}.admin-action-bar p{margin:.25rem 0 0;color:var(--mutedTextColor)}.appearance-action-bar{position:sticky;bottom:1rem;z-index:2;box-shadow:0 22px 42px -34px var(--shadowColor);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.admin-subsection{margin-top:1rem}.admin-diagnostic-card,.admin-note-card,.admin-confirm-card{padding:.95rem;border-radius:16px;border:1px solid var(--surfaceBorderColor);background:var(--surfaceColor)}.admin-diagnostic-card p,.admin-note-card p,.admin-confirm-card p{margin:.55rem 0 0;color:var(--mutedTextColor)}.admin-note-list,.admin-bar-list{display:grid;gap:.75rem}.admin-note-meta,.admin-bar-copy{display:flex;align-items:center;justify-content:space-between;gap:.8rem}.admin-note-meta span,.admin-bar-copy span{color:var(--mutedTextColor);font-size:.84rem}.admin-bar-row{display:grid;gap:.45rem}.admin-bar-track{width:100%;height:.65rem;border-radius:999px;background:var(--surfaceColorStrong);overflow:hidden}.admin-bar-fill{display:block;height:100%;border-radius:inherit;min-width:.4rem}.admin-bar-fill.tone-pass{background:var(--likeButtonColor)}.admin-bar-fill.tone-neutral,.admin-bar-fill.tone-muted{background:var(--primaryColor)}.admin-bar-fill.tone-warn{background:var(--warningColor);box-shadow:inset 0 0 0 1px var(--warningBorderColor)}.admin-bar-fill.tone-danger{background:var(--dangerColor)}.admin-confirm-card{display:grid;gap:.75rem;margin-top:1rem;background:var(--surfaceColorStrong)}.admin-confirm-card.danger{border-color:var(--dangerBorderColor);background:color-mix(in srgb,var(--dangerColor) 18%,var(--surfaceColorStrong))}.admin-pagination{display:flex;align-items:center;justify-content:space-between;gap:.8rem;color:var(--mutedTextColor);font-size:.9rem}.admin-audit-list{display:grid;gap:.85rem}.admin-audit-card{padding:1rem;border-radius:18px;border:1px solid var(--surfaceBorderColor);background:var(--surfaceColor)}.admin-audit-head,.admin-audit-meta{display:flex;justify-content:space-between;gap:.9rem;align-items:flex-start}.admin-audit-head p{margin:.35rem 0 0;color:var(--mutedTextColor)}.admin-audit-meta{flex-wrap:wrap;margin-top:.8rem;color:var(--mutedTextColor);font-size:.9rem}.checkbox-card{padding:.85rem .9rem;border-radius:14px;background:var(--surfaceColorStrong);border:1px solid var(--surfaceBorderColor)}.checkbox-card>span{display:block;font-weight:700}.checkbox-row{display:flex;align-items:center;gap:.7rem;margin-top:.65rem}.checkbox-row input{width:auto;margin:0}.checkbox-row span{color:var(--mutedTextColor);font-size:.92rem}.moderation-details-card p{margin:.4rem 0 0;color:var(--textColor)}.moderation-context-card p{margin:.4rem 0 0}.moderation-thread-preview{margin-top:.9rem;max-height:24rem;overflow:auto}.admin-doc-card h4{margin:0 0 .6rem}.admin-doc-list{margin:.75rem 0 0;padding-left:1.1rem}.admin-doc-list li{margin:.45rem 0;color:var(--mutedTextColor)}.diagnostics-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1rem}.diagnostic-card{background:var(--surfaceColor);border:1px solid var(--surfaceBorderColor);border-radius:16px;padding:.9rem}.diagnostic-card p{margin:.45rem 0 0;color:var(--mutedTextColor)}.diagnostic-list{margin:.75rem 0 0;padding-left:1rem}.diagnostic-list li{margin:.35rem 0;color:var(--mutedTextColor)}.diagnostic-log{margin:.75rem 0 0;padding:.8rem;border-radius:12px;overflow:auto;white-space:pre-wrap;word-break:break-word;background:color-mix(in srgb,var(--surfaceColorStrong) 92%,var(--pageBackgroundEnd));border:1px solid var(--surfaceBorderColor);color:var(--textColor)}.diagnostic-pass{border-color:color-mix(in srgb,var(--primaryColor) 40%,var(--surfaceBorderColor))}.diagnostic-warn{border-color:var(--warningBorderColor)}.diagnostic-fail{border-color:var(--dangerBorderColor)}.diagnostic-pill-pass{background:color-mix(in srgb,var(--primaryColor) 16%,var(--surfaceColorStrong));color:var(--textColor);border-color:color-mix(in srgb,var(--primaryColor) 32%,var(--surfaceBorderColor))}.diagnostic-pill-warn{background:var(--warningColor);color:var(--warningTextColor);border-color:var(--warningBorderColor)}.diagnostic-pill-fail{background:color-mix(in srgb,var(--dangerColor) 92%,var(--surfaceColorStrong));color:var(--dangerTextColor);border-color:var(--dangerBorderColor)}.pill{display:inline-flex;align-items:center;justify-content:center;padding:.25rem .6rem;border-radius:999px;background:var(--surfaceColorStrong);color:var(--mutedTextColor);font-size:.75rem;border:1px solid var(--surfaceBorderColor)}.pill-neutral{background:var(--surfaceColorStrong)}.pill-muted{color:var(--seedTextColor)}.pill-pass{background:color-mix(in srgb,var(--primaryColor) 16%,var(--surfaceColorStrong));color:var(--textColor);border-color:color-mix(in srgb,var(--primaryColor) 32%,var(--surfaceBorderColor))}.pill-warn{background:var(--warningColor);color:var(--warningTextColor);border-color:var(--warningBorderColor)}.danger{background:var(--dangerColor);color:var(--dangerTextColor);border:1px solid var(--dangerBorderColor)}.admin-empty-card{padding:1rem;border-radius:16px;border:1px dashed var(--surfaceBorderColor);color:var(--mutedTextColor);background:var(--surfaceColor)}.admin-empty-card strong,.admin-empty-card p{display:block;margin:0}.admin-empty-card p{margin-top:.35rem}@media (max-width: 540px){.app-shell{max-width:none;padding:max(.85rem,env(safe-area-inset-top)) max(.85rem,env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom)) max(.85rem,env(safe-area-inset-left))}.app-header{padding-bottom:.8rem}.app-header h1{font-size:1.65rem}.header-controls,.mode-toggle,.button-row,.admin-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.header-controls button,.mode-toggle button,.button-row button,.admin-tabs button{width:100%}.stats-row,.swipe-controls,.image-grid{grid-template-columns:1fr}.gallery,.gallery.compact{grid-template-columns:repeat(2,1fr)}.rate-controls{display:flex;gap:.65rem;overflow-x:auto;margin-inline:-.1rem;padding-bottom:.25rem;scroll-snap-type:x proximity}.face-rating-button{min-width:4.7rem;min-height:8.1rem;flex:0 0 auto;scroll-snap-align:start}.profile-card-summary,.gallery-footer,.admin-toolbar,.admin-user-heading,.admin-sidebar-header{flex-direction:column;align-items:stretch}.gallery-counter{text-align:center}.admin-action-bar{align-items:stretch}.admin-action-bar,.admin-user-card-top,.appearance-preview-header,.messages-shell{flex-direction:column}.messages-shell{display:grid;grid-template-columns:1fr}.appearance-color-controls,.admin-directory-controls{grid-template-columns:1fr}.appearance-workbench-head,.appearance-status-actions,.appearance-preview-modes{flex-direction:column;align-items:stretch}.checkbox-row{align-items:flex-start}.interest-grid,.interest-search-row{grid-template-columns:1fr}.admin-user-list{max-height:none}.gallery-nav{width:2.55rem;height:2.55rem}.profile-card,.auth-shell,.status-card,.profile-editor,.history,.empty-state{border-radius:22px}}@media (max-width: 960px){.admin-hero-grid,.appearance-preview-grid,.appearance-workbench-grid,.admin-layout,.admin-metrics,.admin-summary-grid,.admin-inline-grid,.admin-form-grid,.diagnostics-grid{grid-template-columns:1fr}.admin-sidebar,.appearance-side-column,.appearance-action-bar{position:static}.likert-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.likert-pill{min-height:4.8rem;padding:.8rem .75rem;justify-items:start;text-align:left}.likert-pill small{line-height:1.3}}@media (max-width: 460px){.header-controls,.mode-toggle,.button-row,.admin-tabs,.likert-row{grid-template-columns:1fr}.profile-glance-pill{width:100%;justify-content:center}.gallery-carousel-image{border-radius:24px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.page-transition,.discover-card-transition{animation:none}}
