:root{color-scheme:light;--ou-navy:#1a2340;--ou-lime:#c6ef3d;--ou-lime-soft:#eef8a8;--ou-bg:#f3f4f6;--ou-surface:#ffffff;--ou-ink:#171e2e;--ou-muted:#6b7385;--ou-line:#e6e9ef;--ou-blue:#2f6fed;--ou-blue-soft:#e8f0ff;--ou-high:#1f9d55;--ou-high-bg:#e5f8ec;--ou-mid:#c79100;--ou-mid-bg:#fff4c7;--ou-low:#d14343;--ou-low-bg:#ffe3e3;--ou-warn-bg:#fff8d6;--ou-warn-ink:#5c4a1d;--ou-radius:18px;--ou-topbar-h:56px;--ou-tab-h:72px;--ou-font:"Sarabun","Noto Sans Thai",system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body,html{margin:0;min-height:100%;background:var(--ou-bg);color:var(--ou-ink);font-family:var(--ou-font)}a{color:inherit;text-decoration:none}button,input,select{font:inherit;color:inherit}img{max-width:100%;display:block}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:focus-visible{outline:3px solid var(--ou-lime);outline-offset:2px}.ou-app{min-height:100dvh;padding:calc(var(--ou-topbar-h) + env(safe-area-inset-top)) 0 calc(var(--ou-tab-h) + env(safe-area-inset-bottom));background:var(--ou-bg)}.ou-app:has(.ou-screen-flush){padding-top:env(safe-area-inset-top)}.ou-topbar{position:fixed;inset:0 0 auto;z-index:40;display:grid;grid-template-columns:auto 1fr auto;align-items:center;grid-gap:10px;gap:10px;min-height:var(--ou-topbar-h);padding:calc(8px + env(safe-area-inset-top)) 12px 8px;background:var(--ou-surface);border-bottom:1px solid var(--ou-line)}.ou-logo{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:10px;background:linear-gradient(145deg,#d4e600,#8fd400);color:#163000;font-weight:900;font-size:.95rem;letter-spacing:-.04em}.ou-coin{justify-self:center;display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:4px 12px;border-radius:999px;background:var(--ou-bg);border:1px solid var(--ou-line);font-weight:750;font-size:.92rem}.ou-coin-dot{width:12px;height:12px;border-radius:50%;background:var(--ou-lime);border:1px solid #9bbb00}.ou-top-actions{display:flex;align-items:center;gap:2px}.ou-icon-btn{display:inline-grid;place-items:center;width:40px;height:40px;border:0;border-radius:12px;background:transparent;color:var(--ou-navy)}.ou-avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(145deg,#cfd8e6,#8ea0bb)}.ou-avatar-initial{display:grid;place-items:center;background:var(--ou-navy);color:#fff;font-size:.85rem;font-weight:800}.ou-avatar-photo{display:block;object-fit:cover}.ou-avatar-photo,.ou-tabs{background:var(--ou-surface)}.ou-tabs{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:2px;gap:2px;min-height:var(--ou-tab-h);padding:8px 4px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--ou-line);box-shadow:0 -6px 20px rgb(26 35 64/6%)}.ou-tab{display:grid;justify-items:center;align-content:center;grid-gap:4px;gap:4px;min-height:56px;padding:4px 2px;color:var(--ou-muted);font-size:.68rem;font-weight:700}.ou-tab-orb{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:transparent}.ou-tab.is-active{color:var(--ou-navy)}.ou-tab.is-active .ou-tab-orb{background:var(--ou-lime)}.ou-tab-label{line-height:1.1;text-align:center}.ou-tab-icon{width:22px;height:22px;border:2px solid;border-radius:6px}.ou-tab-icon-feed{border-radius:50% 50% 45% 45%;box-shadow:7px 0 0 -3px currentColor}.ou-tab-icon-data{border:0;background:linear-gradient(currentColor,currentColor) 3px 12px /3px 8px no-repeat,linear-gradient(currentColor,currentColor) 9px 8px /3px 12px no-repeat,linear-gradient(currentColor,currentColor) 15px 4px /3px 16px no-repeat}.ou-tab-icon-workout{position:relative;border-radius:3px}.ou-tab-icon-workout:after,.ou-tab-icon-workout:before{content:"";position:absolute;top:3px;width:3px;height:12px;border-radius:2px;background:currentColor}.ou-tab-icon-workout:before{left:2px}.ou-tab-icon-workout:after{right:2px}.ou-tab-icon-food{border-radius:50%;border-style:dashed}.ou-tab-icon-services{border:0;background:linear-gradient(currentColor,currentColor) 0 0 /8px 8px no-repeat,linear-gradient(currentColor,currentColor) 12px 0 /8px 8px no-repeat,linear-gradient(currentColor,currentColor) 0 12px /8px 8px no-repeat,linear-gradient(currentColor,currentColor) 12px 12px /8px 8px no-repeat}.ou-screen{max-width:480px;margin:0 auto;padding:12px 14px 24px}.ou-screen-flush{padding:0 0 24px;max-width:none}.ou-banner{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:var(--ou-warn-bg);color:var(--ou-warn-ink);font-size:.82rem;line-height:1.45}.ou-panel{display:grid;grid-gap:12px;gap:12px;margin:0 0 14px;padding:14px;border:1px solid var(--ou-line);border-radius:var(--ou-radius);background:var(--ou-surface);box-shadow:0 8px 24px rgb(26 35 64/5%)}.ou-panel h1,.ou-panel h2{margin:0;font-size:1.05rem}.ou-primary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;border:0;border-radius:12px;background:var(--ou-lime);color:var(--ou-navy);font-weight:800}.ou-primary-block{width:100%}.ou-ghost{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid var(--ou-line);border-radius:12px;background:var(--ou-surface);font-weight:700}.ou-splash{min-height:100dvh;display:grid;grid-template-rows:minmax(280px,58vh) auto;background:var(--ou-navy);color:#fff}.ou-splash-hero{position:relative;display:grid;align-content:end;padding:28px 20px 36px;background:linear-gradient(180deg,transparent 30%,rgb(26 35 64/88%)),linear-gradient(145deg,#2a3558,#12182b)}.ou-splash-hero:before{content:"พื้นที่ภาพฮีโร่ตามคู่มือ · ยังไม่มีไฟล์ต้นฉบับ";position:absolute;inset:18% 12% auto;text-align:center;color:rgb(255 255 255/55%);font-size:.85rem;line-height:1.5}.ou-brand-mark{position:relative;z-index:1;margin:0;font-size:clamp(2.4rem,10vw,3.4rem);font-weight:900;letter-spacing:-.04em}.ou-brand-mark span{position:relative;display:inline-block}.ou-brand-mark span:after{content:"";position:absolute;left:0;right:0;bottom:2px;height:6px;border-radius:999px;background:var(--ou-lime)}.ou-splash-tag{position:relative;z-index:1;margin:12px 0 0;max-width:16ch;font-size:1.15rem;font-weight:700;line-height:1.35}.ou-splash-panel{display:grid;grid-gap:12px;gap:12px;padding:20px 16px 28px;background:var(--ou-bg);color:var(--ou-ink);border-radius:24px 24px 0 0}.ou-splash-panel p{margin:0;color:var(--ou-muted);line-height:1.5}.ou-onboard{max-width:480px;margin:0 auto;padding:16px 14px 28px}.ou-step-kicker{margin:0 0 8px;color:var(--ou-muted);font-size:.8rem;font-weight:750}.ou-role-list{display:grid;grid-gap:12px;gap:12px;margin:16px 0}.ou-role-card{display:grid;grid-template-columns:88px minmax(0,1fr) auto;grid-gap:12px;gap:12px;align-items:center;min-height:96px;padding:10px;border:1px solid var(--ou-line);border-radius:16px;background:var(--ou-surface);text-align:left;box-shadow:0 8px 20px rgb(26 35 64/5%)}.ou-role-card.is-selected{border-color:var(--ou-navy);box-shadow:0 0 0 2px var(--ou-lime)}.ou-role-thumb{width:88px;height:76px;border-radius:12px;background:linear-gradient(145deg,#dfe5ef,#b7c2d4)}.ou-role-card strong{display:block;margin-bottom:4px}.ou-role-card small{color:var(--ou-muted);line-height:1.4}.ou-role-chevron{width:28px;height:28px;border-radius:50%;background:var(--ou-bg);display:grid;place-items:center;color:var(--ou-navy);font-weight:800}.ou-form-grid{display:grid;grid-gap:12px;gap:12px}.ou-field{display:grid;grid-gap:6px;gap:6px}.ou-field label{font-weight:700;font-size:.9rem}.ou-field input,.ou-field select{min-height:48px;padding:10px 12px;border:1px solid var(--ou-line);border-radius:12px;background:var(--ou-surface)}.ou-chip-row{display:flex;flex-wrap:wrap;gap:8px}.ou-chip{min-height:40px;padding:8px 14px;border:1px solid var(--ou-line);border-radius:999px;background:var(--ou-surface);font-weight:650}.ou-chip.is-active{background:var(--ou-navy);color:#fff;border-color:var(--ou-navy)}.ou-wizard-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin-top:18px}.ou-feed{display:grid;grid-gap:12px;gap:12px}.ou-stories{display:flex;gap:10px;overflow-x:auto;padding:2px 0 4px}.ou-story{flex:0 0 auto;display:grid;justify-items:center;grid-gap:6px;gap:6px;min-width:72px;color:var(--ou-ink);font-size:.75rem;font-weight:700}.ou-story-orb{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:var(--ou-lime);color:var(--ou-navy);font-size:1.4rem;font-weight:900;border:3px solid #fff;box-shadow:0 0 0 2px var(--ou-lime-soft)}.ou-story-orb.is-muted{background:#dfe5ef;box-shadow:0 0 0 2px #edf0f5;color:var(--ou-muted)}.ou-nearby{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:10px 12px;border-radius:14px;background:var(--ou-surface);border:1px solid var(--ou-line)}.ou-nearby small{color:var(--ou-muted)}.ou-composer{display:grid;grid-template-columns:44px minmax(0,1fr);grid-gap:10px;gap:10px;align-items:center;padding:12px;border-radius:16px;background:var(--ou-surface);border:1px solid var(--ou-line)}.ou-composer-avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--ou-lime);color:var(--ou-navy);font-weight:900}.ou-composer-field{min-height:44px;display:flex;align-items:center;padding:0 14px;border-radius:999px;background:var(--ou-bg);color:var(--ou-muted);font-weight:650}.ou-post{display:grid;grid-gap:10px;gap:10px;padding:14px;border-radius:16px;background:var(--ou-surface);border:1px solid var(--ou-line)}.ou-post-head{display:flex;align-items:center;gap:10px}.ou-post-avatar{width:40px;height:40px;border-radius:50%;background:#7c5cff;color:#fff;display:grid;place-items:center;font-weight:800}.ou-sample{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;background:var(--ou-blue-soft);color:var(--ou-blue);font-size:.72rem;font-weight:750}.ou-post-actions{display:flex;flex-wrap:wrap;gap:8px}.ou-ring-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.ou-ring-card{display:grid;grid-gap:6px;gap:6px;padding:12px;border:1px solid var(--ou-line);border-radius:14px;background:var(--ou-surface);text-align:center}.ou-ring-card p{margin:0;color:var(--ou-muted);font-size:.8rem}.ou-ring{width:52px;height:52px;margin:0 auto;border-radius:50%;background:conic-gradient(var(--ou-navy) var(--ring),#e4e8ef 0);mask:radial-gradient(circle 17px,transparent 98%,#000 100%);-webkit-mask:radial-gradient(circle 17px,transparent 98%,#000 100%)}.ou-day-row{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}.ou-day{display:grid;grid-gap:4px;gap:4px;min-width:104px;min-height:84px;padding:10px;border:1px solid var(--ou-line);border-radius:14px;background:var(--ou-surface)}.ou-day.is-active{background:var(--ou-navy);color:#fff;border-color:var(--ou-navy)}.ou-scan{display:grid;grid-gap:10px;gap:10px;padding:16px;border-radius:14px;background:#f3f8d5;text-align:center}.ou-food-row,.ou-simple-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:10px 0;border-bottom:1px solid var(--ou-line)}.ou-food-row small,.ou-simple-row small{color:var(--ou-muted)}.ou-add{display:inline-grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:var(--ou-navy);color:#fff;font-weight:800}.ou-shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.ou-shop-card{grid-gap:8px;gap:8px;padding:12px;border:1px solid var(--ou-line);background:var(--ou-surface);min-height:96px}.ou-map,.ou-shop-card{display:grid;border-radius:14px}.ou-map{place-items:center;grid-gap:10px;gap:10px;min-height:160px;padding:16px;background:linear-gradient(180deg,#d9e3f2,#eef2f7);color:#445066;text-align:center}.ou-profile-hero{display:flex;align-items:center;gap:14px}.ou-profile-hero-copy{min-width:0}.ou-profile-hero-copy h1{margin:0 0 4px;font-size:1.15rem;line-height:1.25;word-break:break-word}.ou-profile-email{margin:0 0 4px;color:var(--ou-ink);font-size:.9rem;word-break:break-all}.ou-profile-meta{margin:0;color:var(--ou-muted);font-size:.86rem}.ou-profile-avatar{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;overflow:hidden;background:var(--ou-navy);color:var(--ou-lime);font-size:1.4rem;font-weight:800;flex-shrink:0}.ou-profile-avatar-img{width:100%;height:100%;object-fit:cover;display:block}.ou-profile-actions{display:grid;grid-gap:8px;gap:8px;margin-top:4px}.ou-logout-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:10px 14px;border:1px solid #c45b5b;border-radius:12px;background:#fff5f5;color:#9b2c2c;font-weight:750}.ou-logout-btn:disabled{opacity:.65}.ou-pwa-install{display:grid;grid-gap:8px;gap:8px}.ou-pwa-install-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:10px 14px;border:1px solid var(--ou-navy);border-radius:12px;background:var(--ou-navy);color:#fff;font-weight:750}.ou-pwa-install-btn:disabled{opacity:.65}.ou-pwa-hint{margin:0;color:var(--ou-muted);font-size:.86rem;line-height:1.45}.ou-profile-list{list-style:none;margin:0;padding:0;display:grid;grid-gap:10px;gap:10px}.ou-profile-list li{display:grid;grid-gap:2px;gap:2px;padding-bottom:10px;border-bottom:1px solid var(--ou-line)}.ou-profile-list li:last-child{padding-bottom:0;border-bottom:0}.ou-profile-list strong{font-size:.92rem}.ou-profile-list span{color:var(--ou-muted);font-size:.86rem;word-break:break-word}.ou-muted-copy{margin:0;color:var(--ou-muted);font-size:.9rem}.ou-stat-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.ou-stat-row div{display:grid;grid-gap:4px;gap:4px;padding:12px;border:1px solid var(--ou-line);border-radius:12px;text-align:center;background:var(--ou-surface)}.ou-stat-row dt{color:var(--ou-muted);font-size:.75rem}.ou-stat-row dd{margin:0;font-size:1.2rem;font-weight:800}.ou-switcher{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px;gap:8px}.ou-switcher button{min-height:72px;border:1px solid var(--ou-line);border-radius:12px;background:var(--ou-surface);font-weight:700;font-size:.75rem}.ou-switcher button.is-active{background:var(--ou-blue-soft);border-color:#b7cdff}.ou-list{margin:0;padding:0;list-style:none}.ou-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px;margin-bottom:16px}.ou-kpi{display:grid;grid-gap:6px;gap:6px;min-height:78px;padding:10px 8px;border:1px solid var(--ou-line);border-radius:12px;background:var(--ou-surface);text-align:center}.ou-kpi strong{font-size:1.15rem}.ou-kpi span{color:var(--ou-muted);font-size:.68rem}.ou-section-title{margin:0 0 8px;font-size:.95rem;font-weight:800}.ou-badge{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:6px;font-size:.72rem;font-weight:750}.ou-badge-high{background:var(--ou-high-bg);color:var(--ou-high)}.ou-badge-mid{background:var(--ou-mid-bg);color:var(--ou-mid)}.ou-badge-low{background:var(--ou-low-bg);color:var(--ou-low)}.ou-usage{display:grid;grid-gap:8px;gap:8px;padding:12px 0;border-bottom:1px solid var(--ou-line)}.ou-usage-head{display:flex;justify-content:space-between;gap:8px}.ou-bar{height:8px;border-radius:999px;background:#edf0f5;overflow:hidden}.ou-bar>span{display:block;height:100%;background:var(--ou-navy)}.ou-usage-meta{margin:0;color:var(--ou-muted);font-size:.72rem}.ou-search-miss{display:flex;justify-content:space-between;gap:12px;padding:12px;margin-top:8px;border-radius:10px;background:var(--ou-mid-bg);font-size:.85rem}.ou-tester{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name clicks" "meta clicks";grid-gap:4px 12px;gap:4px 12px;padding:14px 2px;border-bottom:1px solid var(--ou-line)}.ou-tester-name{grid-area:name;display:flex;align-items:center;gap:8px;margin:0;font-size:1rem;font-weight:750}.ou-tester-meta{grid-area:meta;margin:0;color:var(--ou-muted);font-size:.78rem;line-height:1.45}.ou-tester-clicks{grid-area:clicks;align-self:center;margin:0;font-weight:800;white-space:nowrap}.ou-tag{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;background:var(--ou-blue-soft);color:var(--ou-blue);font-size:.72rem;font-weight:750}.ou-home-links{display:grid;grid-gap:8px;gap:8px;margin-top:12px}.ou-home-links a{display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:10px 12px;border:1px solid var(--ou-line);border-radius:12px;background:var(--ou-surface);font-weight:700}.ou-auth{min-height:100dvh;display:grid;align-content:start;grid-gap:0;gap:0;background:var(--ou-navy)}.ou-auth-hero{padding:calc(20px + env(safe-area-inset-top)) 18px 20px;color:#fff}.ou-auth-hero h1{margin:12px 0 6px;font-size:clamp(1.45rem,5.5vw,1.85rem);letter-spacing:-.03em}.ou-auth-hero p:last-child{margin:0;color:rgb(255 255 255/78%);line-height:1.5;max-width:32ch;font-size:.92rem}.ou-auth-card-social{margin-top:0;border-radius:0;min-height:0;padding-top:4px}.ou-auth-card{display:grid;grid-gap:10px;gap:10px;margin:0;padding:18px 16px 16px;border-radius:20px 20px 0 0;background:var(--ou-bg);color:var(--ou-ink);min-height:0}.ou-auth .ou-field{gap:4px}.ou-auth .ou-field label{font-size:.82rem;font-weight:650}.ou-auth .ou-field input,.ou-auth .ou-field select{min-height:40px;padding:8px 10px;border-radius:10px;font-size:.95rem}.ou-auth .ou-primary{min-height:42px;padding:8px 14px;border-radius:10px;font-size:.95rem}.ou-auth .ou-social{gap:8px}.ou-auth .ou-social-btn{min-height:40px;gap:8px;border-radius:10px;font-size:.9rem;font-weight:700}.ou-auth-divider{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;grid-gap:10px;gap:10px;color:var(--ou-muted);font-size:.82rem}.ou-auth-divider:after,.ou-auth-divider:before{content:"";height:1px;background:var(--ou-line)}.ou-social{display:grid;grid-gap:10px;gap:10px}.ou-social-btn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;border:1px solid var(--ou-line);border-radius:12px;background:var(--ou-surface);font-weight:750}.ou-social-btn:disabled{opacity:.55;cursor:not-allowed}.ou-social-g{place-items:center;width:24px;height:24px;color:#4285f4}.ou-social-g,.ou-social-line{display:inline-grid;border-radius:6px;font-weight:900}.ou-social-line{place-items:center;min-width:40px;height:24px;padding:0 6px;background:#06c755;color:#fff;font-size:.62rem}.ou-auth-note{margin:0;color:var(--ou-muted);font-size:.82rem;line-height:1.45}.ou-auth-switch{margin:4px 0 0;text-align:center;color:var(--ou-muted)}.ou-auth-switch a{color:var(--ou-navy);font-weight:800;text-decoration:underline}.ou-auth-loading{min-height:100dvh;display:grid;place-items:center;padding:24px;background:var(--ou-bg)}.ou-auth-loading-card{display:grid;justify-items:center;grid-gap:14px;gap:14px;text-align:center;color:var(--ou-muted);font-weight:600}.ou-auth-loading-card p{margin:0}.ou-check{display:flex;align-items:flex-start;gap:10px;font-size:.9rem;line-height:1.45}.ou-check input{width:18px;height:18px;margin-top:2px;accent-color:var(--ou-navy)}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;transition-duration:.01ms!important}}