/* 햇빛바라기 웹 데모. 하늘색 바탕에 해바라기, 앱 오늘 화면과 같은 구성. */
.demo-card { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: center; }
.sun-stage { background: linear-gradient(#8ccff5, #cdeefd); border-radius: var(--r-inner); padding: var(--s5); text-align: center; }
.sun-flower { width: min(220px, 70%); height: auto; display: block; margin: 0 auto; overflow: visible; }
.sun-flower .stem { fill: none; stroke: #4c9a2a; stroke-width: 7; stroke-linecap: round; }
.sun-flower .leaf { fill: #5cb338; }
.sun-flower .head { transform-box: view-box; transition: transform .8s var(--ease), filter .8s var(--ease); }
.sun-flower .petals { fill: #ffc21a; stroke: #f29d00; stroke-width: 2; }
.sun-flower .disc { fill: #8a5a24; }
.sun-flower .eye { fill: #2b1a08; }
.sun-flower .mouth { fill: none; stroke: #2b1a08; stroke-width: 3; stroke-linecap: round; }
.sun-state { font-weight: 700; color: #10314a; margin: var(--s3) 0 var(--s2); font-variant-numeric: tabular-nums; }
.sun-bar { height: 10px; border-radius: 999px; background: rgb(255 255 255 / .6); overflow: hidden; }
.sun-bar i { display: block; height: 100%; background: #3fae3a; border-radius: inherit; transition: width .8s var(--ease); }
.sun-stage[data-state="2"] .sun-bar i { background: #f28c00; }
.sun-stage[data-state="3"] .sun-bar i { background: #e0433a; }

.sun-places { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-bottom: var(--s4); }
.chip { font: inherit; font-weight: 600; color: var(--text); background: var(--bg); border: 2px solid transparent;
        border-radius: var(--r-inner); padding: var(--s2) var(--s3); min-height: 56px; cursor: pointer; text-align: left;
        display: flex; flex-direction: column; justify-content: center; transition: border-color .15s var(--ease); }
.chip small { font-weight: 400; color: var(--muted); font-size: .8125rem; }
.chip[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.sun-time { display: grid; gap: var(--s1); font-weight: 600; margin-bottom: var(--s2); }
.sun-time input { width: 100%; min-height: 44px; accent-color: var(--accent); }
.sun-row { display: flex; justify-content: space-between; gap: var(--s3); }
.sun-gain { color: var(--accent); font-variant-numeric: tabular-nums; }
.sun-none { min-height: 1.5em; margin-bottom: var(--s2); }
.sun-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s2); }
.act { font: inherit; font-weight: 600; min-height: 44px; padding: 0 var(--s4); border-radius: 999px; border: 0; cursor: pointer;
       background: var(--accent); color: var(--on-accent); transition: transform .15s var(--ease), opacity .15s var(--ease); }
.act:active { transform: scale(.96); }
.act:disabled { opacity: .4; cursor: default; }
.act.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--line); }
.sun-battery { background: var(--bg); border-radius: var(--r-inner); padding: var(--s3) var(--s4); margin-bottom: var(--s3);
               font-weight: 600; font-variant-numeric: tabular-nums; }
.sun-battery .sun-bar { margin-top: var(--s2); height: 8px; background: color-mix(in srgb, #3fae3a 15%, transparent); }

@media (prefers-reduced-motion: reduce) {
  .sun-flower .head, .sun-bar i { transition: none; }
}
@media (max-width: 760px) { .demo-card { grid-template-columns: 1fr; } }
