:root{--bg: #ffffff;--surface: #f2f4f6;--text: #191f28;--sub: #4e5968;--muted: #8b95a1;--line: #e5e8eb;--blue: #3182f6;--blue-soft: #e8f3ff;--red: #f04452;--radius: 16px;color-scheme:light}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;background:var(--bg)}body{color:var(--text);font:16px/1.5 -apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Pretendard,Noto Sans KR,sans-serif;-webkit-font-smoothing:antialiased;touch-action:manipulation}button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}h1,h2,h3,p{margin:0}.muted{color:var(--muted)}.page{padding:20px 20px 140px;max-width:560px;margin:0 auto}.hero{padding:8px 0 24px}.hero h1{font-size:26px;line-height:1.35;font-weight:700;letter-spacing:-.02em}.sub{margin-top:8px;color:var(--sub);font-size:15px}.grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tile{width:100%;height:100%;padding:16px 4px 14px;border-radius:var(--radius);background:var(--tint, var(--surface));display:flex;flex-direction:column;align-items:center;gap:8px;transition:transform .08s}.tile:active{transform:scale(.96)}.tile-emoji{font-size:34px;line-height:1}.tile-title{font-weight:700;font-size:15px;letter-spacing:-.02em;word-break:keep-all;text-align:center;line-height:1.3}.tile-desc{color:var(--sub);font-size:13px;line-height:1.4}.grid>.wide{grid-column:1 / -1}.tile.wide{flex-direction:row;align-items:center;gap:12px;padding:14px 16px;text-align:left}.tile.wide .tile-emoji{font-size:30px}.tile.wide .tile-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.tile.wide .tile-title{text-align:left;font-size:16px}.badge-new{font-size:11px;font-weight:700;color:#fff;background:var(--red);border-radius:6px;padding:2px 6px}.link-row{margin-top:16px;width:100%;display:flex;justify-content:space-between;align-items:center;padding:16px 4px;border-top:1px solid var(--line);font-weight:600}.home-btn{margin:0 0 12px -4px;padding:6px 4px;color:var(--sub);font-size:15px;font-weight:600}.section-head{display:flex;align-items:center;gap:8px;padding:4px 0 20px}.section-head .tile-emoji{margin:0}.section-head h2{font-size:22px;font-weight:700}.section-head .tile-desc{margin-top:2px}.notice{display:flex;align-items:center;gap:12px;background:var(--blue-soft);border-radius:12px;padding:12px 14px;margin-bottom:20px}.notice p{flex:1;color:var(--sub);font-size:14px;line-height:1.45}.notice b{color:var(--text)}.notice-btn{flex:none;color:var(--blue);font-weight:700;font-size:14px;padding:6px 2px}.field{margin-bottom:24px}.field-label{font-size:15px;font-weight:600;color:var(--sub);margin-bottom:10px;display:flex;align-items:center;gap:6px}.field-hint{font-size:12px;font-weight:600;color:var(--muted);background:var(--surface);border-radius:6px;padding:1px 6px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{padding:9px 14px;border-radius:999px;background:var(--surface);font-size:15px;font-weight:500}.chip.on{background:var(--blue);color:#fff;font-weight:600}.input{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 14px;font:inherit;font-size:16px;resize:none;background:#fff;color:var(--text)}.input:focus{outline:none;border-color:var(--blue)}.counter{text-align:right;color:var(--muted);font-size:12px;margin-top:4px}.error{color:var(--red);font-size:14px;margin-bottom:16px}.result-head{padding:4px 0 20px}.result-head h2{font-size:22px;font-weight:700;line-height:1.35;letter-spacing:-.02em;word-break:keep-all}.result-meta{margin-top:6px;color:var(--sub);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.result-detail{color:var(--muted)}.empty{color:var(--sub);font-size:15px;line-height:1.6;padding:24px 0;word-break:keep-all}.card{background:var(--surface);border-radius:var(--radius);padding:16px;margin-bottom:10px}.card-tags{display:flex;gap:6px;margin-bottom:8px}.approach{font-size:12px;font-weight:700;color:var(--text);background:#fff;border-radius:6px;padding:2px 8px}.ai-badge{font-size:12px;font-weight:700;color:var(--blue);background:var(--blue-soft);border-radius:6px;padding:2px 8px}.skeleton{display:flex;flex-direction:column;gap:10px}.sk-line{display:block;height:14px;border-radius:7px;background:linear-gradient(90deg,#e5e8eb 25%,#eef0f3,#e5e8eb 75%);background-size:200% 100%;animation:shimmer 1.2s infinite linear}.sk-line.short{width:22%;height:18px}.sk-line.mid{width:64%}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.card-text{white-space:pre-wrap;word-break:keep-all;font-size:16px;line-height:1.6}.card-actions{display:flex;gap:8px;margin-top:14px}.card-btn{flex:1;padding:10px 0;border-radius:10px;background:#fff;font-size:15px;font-weight:600;color:var(--sub)}.card-btn.primary{color:var(--blue)}.card-btn:active{opacity:.7}.ghost{padding:8px 14px;border-radius:10px;background:#fff;font-size:14px;font-weight:600;color:var(--sub)}.ad-slot{width:100%;margin:20px 0 10px}.history{margin-bottom:20px}.history-meta{font-size:14px;color:var(--sub);margin-bottom:8px;font-weight:600}.bottom{position:fixed;left:0;right:0;bottom:0;background:linear-gradient(transparent,#fff 24%);padding:20px 20px calc(16px + env(safe-area-inset-bottom))}.bottom>*{max-width:520px;margin-left:auto;margin-right:auto}.quota{text-align:center;color:var(--muted);font-size:13px;margin-bottom:8px}.cta{display:block;width:100%;padding:16px;border-radius:14px;background:var(--blue);color:#fff;font-size:17px;font-weight:700}.cta:disabled{background:#b0d0fb}.cta-row{display:flex;gap:8px}.cta-row .cta{flex:2}.cta-row .cta.secondary{flex:1;background:var(--surface);color:var(--sub)}.toast{position:fixed;left:50%;bottom:120px;transform:translate(-50%);background:#191f28eb;color:#fff;padding:10px 16px;border-radius:12px;font-size:14px;font-weight:600;z-index:10;white-space:nowrap}.topbar{display:flex;justify-content:flex-end;margin:-8px -4px 4px}.topbar-btn{padding:8px 12px;border-radius:10px;font-size:14px;font-weight:600;color:var(--sub);background:var(--surface)}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:flex-end;justify-content:center;z-index:20}.sheet{width:100%;max-width:560px;background:#fff;border-radius:20px 20px 0 0;padding:24px 20px calc(20px + env(safe-area-inset-bottom))}.sheet h2{font-size:20px;font-weight:700}.sheet .sub{margin:6px 0 20px}.social{display:block;width:100%;padding:14px;border-radius:14px;font-size:16px;font-weight:700;border:1px solid var(--line);background:#fff}.social:disabled,.cta.inline:disabled{opacity:.5}.divider{display:flex;align-items:center;gap:10px;margin:18px 0;color:var(--muted);font-size:13px}.divider:before,.divider:after{content:"";flex:1;height:1px;background:var(--line)}.cta.inline{margin-top:10px;padding:14px;font-size:16px}.sent{background:var(--blue-soft);border-radius:12px;padding:14px;font-size:14px;color:var(--sub)}.fine{margin-top:14px;font-size:12px;color:var(--muted);text-align:center}.fine a{color:var(--sub)}.sheet .error{margin:12px 0 0}.close{display:block;margin:8px auto 0;background:none}.account-email{font-size:17px;font-weight:700;margin-bottom:4px;word-break:break-all}.account-actions{margin-top:24px}.account-actions .link-row{margin-top:0;color:inherit;text-decoration:none}.link-row.danger span:first-child{color:var(--red)}.stats-range{margin-bottom:16px}.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stat-tile{background:var(--surface);border-radius:var(--radius);padding:14px;display:flex;flex-direction:column;gap:2px;min-width:0}.stat-label{font-size:13px;color:var(--sub);font-weight:600}.stat-value{font-size:24px;font-weight:700;letter-spacing:-.02em}.stat-sub{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stats-h{font-size:16px;font-weight:700;margin:28px 0 10px}.stats-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}.stats-table th,.stats-table td{padding:8px 4px;text-align:right;border-bottom:1px solid var(--line)}.stats-table th:first-child{text-align:left;font-weight:600}.stats-table thead th{color:var(--muted);font-size:12px;font-weight:600}.stats-list{list-style:none;margin:0;padding:0}.stats-list li{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}.stats-list span{color:var(--sub)}.stats-bars{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:14px}.stats-bars li{display:grid;grid-template-columns:112px 1fr 40px;align-items:center;gap:8px}.stats-bars b{text-align:right;font-variant-numeric:tabular-nums}.bar-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bar-track{height:8px;background:var(--surface);border-radius:4px;overflow:hidden}.bar{display:block;height:100%;background:var(--blue);border-radius:4px}
