/* Windmill Fan Owner's Guide additions on top of ../styles.css, ../lite/lite.css and ../owners/owners.css.
   Brand accents from the fan guide: the sun-yellow highlight chip (#ffd333) and pale periwinkle number discs. */

.fn-chip { display: inline-block; margin: 0 0 12px; padding: 2px 10px; border-radius: 8px; background: var(--lw-yellow); font-weight: 700; font-size: 14.5px; line-height: 1.5; }
.fn-chip.lg { font-size: 17px; line-height: 1.2; padding: 8px 12px; }
.fn-hl { background: var(--lw-yellow); border-radius: 6px; padding: 0 5px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.fn-k { font-weight: 700; margin: 0 0 6px; }
.fn-lede { margin: -14px 0 22px; font-size: 17px; color: var(--ink-70); }
.fn-cols { columns: 2; column-gap: 40px; }
.fn-cols li { break-inside: avoid; }

/* Let's chat safety */
.fn-high { margin-top: 28px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 32px; align-items: start; background: var(--lw-panel); border-radius: 16px; padding: 24px 26px; }
.fn-high .lw-list { margin: 0; font-size: 14.5px; }

/* Numbered safety rules, two columns read top-to-bottom like the printed page */
.fn-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(var(--rows), auto); grid-auto-flow: column; gap: 18px 48px; }
.fn-rules li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; font-size: 14.5px; color: var(--ink-70); }
.fn-rules p { margin: 3px 0 0; }
.fn-rules .num, .fn-parts .num, .fn-clean .num { width: 28px; height: 28px; font-size: 15px; background: var(--lw-line); }

/* Did you know? */
.fn-dyk { text-align: left; border: 1px solid rgba(14, 34, 64, .55); border-radius: 22px; padding: 20px 24px 22px; margin-top: 22px; background: #fff; font-size: 14px; color: var(--ink-70); }
.fn-dyk-h { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.fn-bulb { width: 34px; height: 34px; flex: none; border-radius: 50%; background: #fff4c4; color: var(--navy); display: grid; place-items: center; }
.fn-bulb svg { width: 20px; height: 20px; }
.fn-dyk .fn-chip { margin: 0; color: var(--navy); }
.fn-dyk p { margin: 0; }
.fn-dyk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.fn-dyk-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.fn-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--lw-yellow); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 13px; color: var(--navy); }
.ow-welcome .fn-dyk { max-width: 560px; width: 100%; }
.ow-welcome .fn-dyk p { color: var(--ink-70); }
.fn-unit { width: min(360px, 70%); margin: 10px 0 14px; filter: none; } /* the photo brings its own floor shadow */

/* FCC module location */
.fn-module { margin: 4px 0 16px; display: flex; align-items: center; gap: 12px; }
.fn-module img { width: 150px; height: auto; mix-blend-mode: multiply; }
.fn-module figcaption { font-size: 12px; color: var(--ink-50); max-width: 12ch; line-height: 1.4; }

/* Fan 101: the figure with tap-to-find pins */
.fn-101 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: clamp(24px, 3.5vw, 52px); align-items: start; }
.fn-fig { position: relative; margin: 10px 14px 18px; }
.fn-fig img { width: 100%; height: auto; }
.fn-pin {
  position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; border-radius: 50%;
  border: 2px solid #fff; background: var(--lw-line); color: var(--navy); font-size: 11.5px; font-weight: 700;
  display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(14, 34, 64, .55);
  transition: background .25s, color .25s, transform .3s var(--spring);
  animation: pinIn .6s var(--spring) both; animation-delay: calc(var(--k) * 60ms + 500ms);
}
@keyframes pinIn { from { opacity: 0; transform: scale(.3); } }
.fn-pin:hover { transform: scale(1.12); }
.fn-pin.is-on { background: var(--navy); color: #fff; z-index: 2; }
.fn-pin.is-on::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--line); animation: ripple 2.2s var(--ease-out) infinite; pointer-events: none; }
.fn-parts .kicker { margin-bottom: 10px; }
.fn-parts ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fn-part {
  width: 100%; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; text-align: left;
  padding: 8px 10px; border: 1px solid transparent; border-radius: 12px; background: none; font-size: 13.5px; line-height: 1.45;
  transition: background .25s, border-color .25s;
}
.fn-part:hover { background: var(--blob); }
.fn-part b { display: block; color: var(--navy); }
.fn-part i { display: block; color: var(--ink-70); }
.fn-part .fn-up { display: block; font-style: normal; }
.fn-part.is-on { background: var(--lw-panel); border-color: var(--line); }
.fn-part.is-on .num { background: var(--navy); color: #fff; }
.fn-part .num { transition: background .3s, color .3s; }

/* Using the fan: button + remote simulator */
.fs {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px 28px; align-items: center;
  padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--ink-08); box-shadow: 0 30px 60px -40px rgba(14, 34, 64, .4);
}
.fs-fan { position: relative; padding-left: 18%; }
.fs-fan img { width: 100%; height: auto; position: relative; z-index: 1; transition: transform .6s var(--ease-out); }
/* air leaves from behind the grille (the fan faces front-left) and blows off to the left */
.fs-air { position: absolute; z-index: 0; left: 0; top: 16%; width: 40%; height: 42%; overflow: visible; pointer-events: none; }
.fs-air path { fill: none; stroke: var(--line); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 26 74; stroke-dashoffset: 100; opacity: 0; vector-effect: non-scaling-stroke; }
.fs[data-on="1"] .fs-air path { opacity: calc(.35 + var(--sp) * .13); animation: airflow var(--dur) linear infinite; animation-delay: calc(var(--dl) * var(--dur) * -1); }
@keyframes airflow { to { stroke-dashoffset: 0; } }
.fs { --sp: 1; --dur: 2.6s; }
.fs[data-speed="2"] { --sp: 2; --dur: 2s; }
.fs[data-speed="3"] { --sp: 3; --dur: 1.5s; }
.fs[data-speed="4"] { --sp: 4; --dur: 1.05s; }
.fs[data-speed="5"] { --sp: 5; --dur: .7s; }
.fs[data-on="1"] .fs-fan img { animation: hum .18s linear infinite alternate; }
@keyframes hum { to { transform: translateY(.4px); } }

.fs-panel { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 22px 36px; }
.fs-unit { display: grid; justify-items: center; gap: 10px; }
.fs-unit .fn-chip { margin: 0; font-size: 12.5px; }
.fs-base { position: relative; width: 200px; height: 200px; border-radius: 50%; border: 1.5px solid #c6c9d6; background: #fff; }
.fs-neck { position: absolute; left: 50%; top: 32%; width: 42px; height: 42px; margin-left: -21px; border-radius: 50%; background: #a8bde3; }
.fs-btn {
  position: absolute; left: 50%; top: 62%; width: 40px; height: 40px; margin: -20px 0 0 -20px; padding: 0; border-radius: 50%;
  border: 1.5px solid #c6c9d6; background: #fff; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: transform .15s var(--ease-out), border-color .2s, background .2s;
}
.fs-btn:hover { border-color: var(--navy); background: var(--blob); }
.fs-btn.holding { transform: scale(.93); }
.fs-ring { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); transform: rotate(-90deg); pointer-events: none; overflow: visible; }
.fs-ring circle { fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0 100; opacity: 0; }
.fs-btn.holding .fs-ring circle { opacity: 1; }
.fs-btn.holding .fs-ring circle { animation: holdFill 5s linear forwards; }
@keyframes holdFill { 20% { stroke-dasharray: 20 100; stroke: #e9792b; } 20.01% { stroke: var(--navy); } to { stroke-dasharray: 100 100; } }
/* five speed lights in an arc under the button, 1 (left) to 5 (right) */
.fs-leds { position: absolute; left: 50%; top: 62%; width: 0; height: 0; }
.fs-leds i { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #2a2e3a; opacity: .85; transition: background .25s, box-shadow .25s, opacity .8s; }
.fs-leds i:nth-child(1) { transform: translate(-31px, 0); }
.fs-leds i:nth-child(2) { transform: translate(-22px, 22px); }
.fs-leds i:nth-child(3) { transform: translate(0, 31px); }
.fs-leds i:nth-child(4) { transform: translate(22px, 22px); }
.fs-leds i:nth-child(5) { transform: translate(31px, 0); }
.fs-leds i.lit { background: #5aa0ff; box-shadow: 0 0 8px #5aa0ff; opacity: 1; }
.fs.faded .fs-leds i.lit { opacity: .12; }
.fs.pairing .fs-leds i { background: #5aa0ff; box-shadow: 0 0 8px #5aa0ff; opacity: 1; animation: blink .5s steps(2, end) infinite; }
.fs.dance .fs-leds i { background: #5aa0ff; animation: dance 1.2s var(--ease-io) 2; animation-delay: calc(var(--n) * 120ms); }
.fs-leds i:nth-child(1) { --n: 0; } .fs-leds i:nth-child(2) { --n: 1; } .fs-leds i:nth-child(3) { --n: 2; } .fs-leds i:nth-child(4) { --n: 3; } .fs-leds i:nth-child(5) { --n: 4; }
@keyframes dance { 0%, 100% { opacity: .2; box-shadow: none; } 40% { opacity: 1; box-shadow: 0 0 10px #5aa0ff; } }
.fs-hold { margin: 0; min-height: 2.8em; max-width: 220px; text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-70); }

.fs-remote { width: 92px; height: 200px; border: 1.5px solid #c6c9d6; border-radius: 10px; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 0 12px; }
.fs-remote button { width: 36px; height: 36px; padding: 7px; border-radius: 50%; border: 1.5px solid #c6c9d6; background: #fff; color: #8b90a3; transition: border-color .2s, color .2s, transform .15s var(--ease-out); }
.fs-remote button:hover { border-color: var(--navy); color: var(--navy); }
.fs-remote button:active { transform: scale(.9); }
.fs-remote svg { width: 100%; height: 100%; display: block; }
.fs-brand { margin-top: auto; width: 44px; color: var(--navy); }
.fs-brand svg { width: 100%; height: auto; display: block; }

.fs-bar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; font-size: 13px; }
.fs-use { color: var(--ink-50); font-weight: 600; }
.fs .ctl-toast { top: -16px; right: 24px; max-width: calc(100% - 48px); }
.fn-use { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 36px; margin-top: 26px; align-items: start; }
.fn-use .lw-list { margin-bottom: 16px; }
.fn-use .fn-dyk { margin-top: 12px; }

/* Wi-Fi */
.fn-wifi { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.fn-qr { width: min(220px, 70%); height: auto; }
.fn-badges { width: min(220px, 70%); height: auto; margin: 8px 0 20px; }
.fn-note { font-size: 14px; }
.fn-note p { margin: 0 0 10px; }
.fn-note p:last-child { margin: 0; }

/* Get the most: the guide's three scenes */
.fn-seasons { display: grid; gap: 26px; max-width: 900px; }
.fn-season { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px 30px; align-items: start; font-size: 14.5px; color: var(--ink-70); }
.fn-season p { margin: 0 0 10px; }
.fn-season .fn-k { color: var(--navy); font-size: 15px; }
.fn-frame .art-host { border: 1px solid rgba(14, 34, 64, .55); border-radius: 14px; overflow: hidden; background: #fff; }
.fn-frame .art-host svg { display: block; width: 100%; height: auto; }

/* Cleaning */
.fn-important { margin-top: 0; }
.fn-important .lw-list { margin: 0; }
.fn-need { display: flex; flex-wrap: wrap; gap: 14px 26px; font-size: 14px; }
.fn-need span { display: inline-flex; align-items: center; gap: 10px; }
.fn-need svg { width: 38px; height: 38px; flex: none; }
.fn-pliers svg { color: var(--navy); }
/* three steps side by side: the step cards share one row height and the figures line up beneath them */
.fn-clean { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.fn-clean > li { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.fn-clean .lw-step { height: 100%; align-items: start; padding: 16px 16px 16px 14px; line-height: 1.55; }
.fn-clean .lw-step .box { margin-top: 1px; }
.fn-cfig { margin: 14px auto 0; width: min(240px, 100%); }
.fn-cwrap { position: relative; }
.fn-cfig img { width: 100%; height: auto; mix-blend-mode: multiply; }
.fn-cfig figcaption { font-size: 12.5px; color: var(--ink-70); margin-top: 4px; }
.fn-ring { position: absolute; width: 0; height: 0; }
.fn-ring::before, .fn-ring::after { content: ""; position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--navy); }
.fn-ring::after { border-color: var(--line); animation: ripple 2.2s var(--ease-out) infinite; }
.fig-2 img { transform-origin: 62% 40%; animation: twist 3.2s var(--ease-io) infinite; }
@keyframes twist { 0%, 30% { transform: none; } 50%, 70% { transform: rotate(-6deg) translateX(-3%); } 100% { transform: none; } }

/* Troubleshooting */
.fn-trouble { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.fn-issues { display: grid; gap: 6px; }
.fn-issues .kicker { margin: 0 0 6px; }
.fn-issues button { text-align: left; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--ink-08); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-70); transition: background .25s, color .25s, border-color .25s; }
.fn-issues button:hover { border-color: var(--line); }
.fn-issues button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.fn-causes { background: var(--lw-panel); border-radius: 18px; padding: 22px 26px; min-height: 280px; }
.fn-causes .kicker { margin: 0 0 6px; color: var(--ink-50); }
.fn-sol { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 12px; font-size: 14.5px; color: var(--ink-70); }
.fn-sol li::marker { color: var(--navy); }
.fn-foot { margin-top: 22px; }

/* Warranty */
.screen-inner.ow-two { align-content: start; } /* stacked on phones, rows must not stretch to fill the screen */
.fn-wphoto { position: relative; padding-top: 30px; }
.fn-wphoto .fan { position: relative; z-index: 1; width: 100%; height: auto; }
.fn-wphoto { max-width: 560px; }
.fn-wphoto .cl { position: absolute; z-index: 0; height: auto; opacity: .28; animation: drift 40s ease-in-out infinite alternate; } /* as pale as the printed page's clouds */
.fn-wphoto .cl.a { right: 6%; top: 0; width: 30%; --dx: 22px; }
.fn-wphoto .cl.b { right: 0; top: 22%; width: 20%; --dx: -16px; animation-duration: 32s; }

.fn-sign { margin-top: 28px; font-size: 13px; color: rgba(255, 255, 255, .7); }

@media (max-width: 1180px) {
  .fn-use { grid-template-columns: 1fr 1fr; }
  .fn-use .fn-dyk { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .fn-rules, .fn-101, .fn-wifi, .fn-seasons, .fn-clean, .fn-trouble, .fn-use, .fs { grid-template-columns: 1fr; }
  .fn-rules { grid-auto-flow: row; grid-template-rows: none; }
  .fn-clean { row-gap: 22px; }
  .fn-high { grid-template-columns: 1fr; }
  .fn-high .fn-chip { justify-self: start; }
  .fn-cols { columns: 1; }
  .fn-dyk-list { grid-template-columns: 1fr; }
  .fs { padding: 18px 14px; }
  .fs-fan { max-width: 360px; justify-self: center; width: 100%; }
  .fn-seasons .fn-season { grid-template-columns: 1fr; }
  .fn-fig { margin: 6px 12px 16px; }
  .fn-pin { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: 10px; }
  .fn-causes { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fs-air path, .fs .fs-fan img, .fig-2 img, .fn-wphoto .cl { animation: none !important; }
  .fs[data-on="1"] .fs-air path { stroke-dasharray: none; }
}
