:root { color-scheme: dark; --pink: #ff7eb6; --gold: #ffc65c; --ink: #f6eaf0; --dim: #a58b9a; --bg: #150d14; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: #e6d8e0; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; -webkit-tap-highlight-color: transparent; }
a { color: var(--pink); }
b { color: var(--ink); }
#app { max-width: 820px; margin: 0 auto; padding: 0 14px 40px; }
.topbar { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; padding: 20px 2px 10px; }
.brand { font-weight: 700; font-size: 20px; color: var(--pink); }
.brand-sub { font-size: 12px; color: var(--dim); }
.hidden { display: none; }
.card { background: linear-gradient(180deg, rgba(255,126,182,.07), rgba(21,13,20,.4)); border: 1px solid rgba(255,126,182,.18); border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; }
h2 { margin: 0 0 8px; font-size: 15px; color: var(--ink); }
.fine { font-size: 12px; color: var(--dim); }
.lbl { display: block; font-size: 12px; color: var(--dim); margin-bottom: 4px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
input, select, button { font: inherit; padding: 9px 11px; border-radius: 9px; border: 1px solid rgba(255,126,182,.3); background: #1d1220; color: var(--ink); }
input { flex: 1 1 200px; min-width: 0; }
button { background: var(--pink); color: #2a0f1d; font-weight: 700; cursor: pointer; border: 0; }
.msg { color: #ff9a9a; min-height: 1em; font-size: 13px; }
.meter { height: 8px; background: #2a1a2a; border-radius: 4px; overflow: hidden; margin-top: 10px; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pink), var(--gold)); transition: width .2s; }
.who { display: flex; gap: 14px; align-items: center; }
.who img { width: 56px; height: 56px; border-radius: 50%; background: #2a1a2a; }
.who .nm { font-size: 17px; color: var(--ink); font-weight: 700; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 16px; }
.tile { background: #1d1220; border: 1px solid rgba(255,126,182,.15); border-radius: 12px; padding: 12px; }
.tile b { display: block; font-size: 22px; }
.tile span { font-size: 11px; color: var(--dim); }
#flowerWrap svg, #monthChart svg, #heat svg { width: 100%; height: auto; display: block; }
.petal { cursor: pointer; transition: opacity .15s; }
.petal:hover { opacity: .75; }
.petal-info { min-height: 3em; font-size: 13px; color: var(--dim); text-align: center; }
.share { text-align: center; margin-top: 8px; font-size: 13px; }
.bar { display: flex; height: 26px; border-radius: 8px; overflow: hidden; margin: 8px 0; }
.bar div { display: flex; align-items: center; justify-content: center; font-size: 12px; color: #1a0d16; font-weight: 700; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { text-align: left; padding: 6px 6px; border-bottom: 1px solid rgba(255,255,255,.07); vertical-align: top; }
th { color: var(--dim); font-weight: 400; }
td.n, th.n { text-align: right; white-space: nowrap; }
td img { width: 20px; height: 20px; border-radius: 50%; vertical-align: middle; margin-right: 6px; }
.more { margin-top: 10px; background: transparent; color: var(--pink); border: 1px solid rgba(255,126,182,.4); }
footer { font-size: 12px; color: var(--dim); text-align: center; padding: 10px; }
