.ws #tour .screen{ border-radius: 11px; overflow: hidden; background: #21163d; color: #f5efff; box-shadow: 0 14px 27px -17px #080511; }
.ws #tour .menubar{ height: 28px; background: #151125; display: flex; align-items: center; gap: 9px; padding: 0 9px; font-size: .67rem; color: #eee7fb; }
.ws #tour .menubar img{ width: 16px; height: 16px; margin-left: auto; }
.ws #tour .wallpaper{ display: grid; place-items: center; position: relative; overflow: hidden; padding: 12px; min-height: 220px; background: linear-gradient(147deg,#251943 12%,#40286d 69%,#6443a0 100%); }
.ws #tour .eq{ border-radius: 5px; background: #241a36; padding: 6px 8px 5px; }
.ws #tour .eq svg{ display: block; width: 100%; height: 43px; }
.ws #tour .eq .baseline,.ws #tour .eq .tuned{ fill: none; stroke: #d3b9ff; stroke-width: 2; transition: opacity .3s ease; }
.ws #tour .eq .tuned,.ws #tour [data-played="true"] .eq .baseline{ opacity: 0; }
.ws #tour [data-played="true"] .eq .tuned{ opacity: 1; }
.ws #tour .keycap{ display: inline-block; padding: 2px 6px; border-radius: 4px; border: 1px solid #a58bbd; color: #f4eaff; background: #39284e; }
.ws #tour .mock{width:100%;max-width:330px;border-radius:8px;overflow:hidden;background:#1c162a;font-size:.74rem}
.ws #tour .mock-head{font-weight:800;background:#302542;padding:8px 10px}
.ws #tour .mock-body{display:grid;gap:6px;padding:9px 10px}
.ws #tour .mock-row{display:flex;align-items:center;justify-content:space-between;gap:6px 10px;flex-wrap:wrap;min-height:26px;padding:5px 7px;border-radius:5px;background:#2b223c;color:#efe6ff}
.ws #tour .mock-row b{color:#ddcaff}
.ws #tour .mock-row .dim{color:#c1b3d5}
.ws #tour .ready{background:#502c93}
.ws #tour .scene-window{width:100%;max-width:460px;height:clamp(148px,43vw,188px);position:relative}
.ws #tour .mock-window{width:48%;height:85%;position:absolute;top:7%;padding:0;border-radius:7px;overflow:hidden;background:#211930;box-shadow:0 12px 20px -10px #0f0a1f;transition:transform .68s cubic-bezier(.19,1,.22,1)}
.ws #tour .mock-window.notes-window{left:0;transform:translate(46%,10%)}
.ws #tour .mock-window.calendar-window{right:0;transform:translate(-32%,-6%)}
.ws #tour [data-played="true"] .mock-window{transform:none}
.ws #tour .window-title{display:flex;align-items:center;gap:7px;padding:6px;font-size:.65rem;font-weight:800;background:#36264f}
.ws #tour .window-dots{display:flex;gap:2px}
.ws #tour .window-dots i{width:4px;height:4px;border-radius:50%;background:#bda6ea}
.ws #tour .window-dots i + i{opacity:.65}
.ws #tour .window-content{padding:9px 7px;color:#eadff8;font-size:.67rem}
.ws #tour .lines{display:grid;gap:5px;margin-top:9px}
.ws #tour .lines i{height:3px;border-radius:3px;background:#75628f}
.ws #tour .lines i:nth-child(2){width:73%}
.ws #tour .lines i:nth-child(3){width:84%}
.ws #tour .appointment{margin-top:9px;padding:4px;background:#51338c;border-radius:3px;font-size:.62rem}
.ws #tour .levels{height:24px;display:flex;gap:3px;align-items:center}
.ws #tour .levels i{height:4px;flex:1;background:#8864cb;border-radius:2px;transform:scaleY(var(--size));transition:transform .55s cubic-bezier(.2,.8,.2,1)}
.ws #tour [data-played="true"] .levels i{transform:scaleY(var(--even))}
.ws #tour .brightness{height:5px;background:#513969;border-radius:4px;margin-block:6px}
.ws #tour .brightness i{display:block;height:100%;width:100%;background:#c09dff;transform:scaleX(.86);transform-origin:left;transition:transform .6s ease-out;border-radius:inherit}
.ws #tour [data-played="true"] .brightness i{transform:scaleX(.44)}
.ws #tour [data-demo="display"] .wallpaper{transition:box-shadow .55s ease-out}
.ws #tour [data-demo="display"] [data-played="true"] .wallpaper{box-shadow:inset 0 0 0 900px #10071d68}
.ws #tour {
  width: min(1080px, 100% - 32px);
  margin: clamp(24px, 5vw, 58px) auto 15px;
  scroll-margin-top: 12px;
  border-radius: 16px;
  background: var(--ground-2);
  --guide-inset: clamp(16px, 3.5vw, 36px);
}
.ws #tour .wg-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: center; }
.ws #tour .wg-copy { min-width: 0; padding: var(--guide-inset); }
.ws #tour .wg-intro-art, .ws #tour .demo { padding: var(--guide-inset); min-width: 0; }
.ws #tour .wg-list { max-width: 650px; margin-inline: auto; }
.ws #tour h2 { font-size: clamp(1.65rem,4vw,2.9rem); }
.ws #tour h3 { font-size: 1rem; }
.ws #tour .wg-copy p, .ws #tour .wg-detail p { color: var(--muted); margin-top: 9px; }
.ws #tour .demo-meta { color: var(--muted); margin-top: 9px; font-size: .83rem; min-height: 2.55em; }
.ws #tour .wg-options { display: grid; gap: 6px; margin-top: 15px; }
.ws #tour .wg-options + .wg-options { margin-top: 22px; }
.ws #tour .wg-option {
  display: grid; grid-template-columns: 20px minmax(0,1fr) 15px; align-items: center; gap: 9px; min-height: 48px;
  border: 1px solid var(--line); border-radius: 9px; color: var(--text); padding: 7px 10px; background: var(--ground);
  font: 800 .94rem/1.25 var(--display); text-decoration: none; scroll-margin: 8px;
}
.ws #tour .wg-option:hover { border-color: var(--accent); }
.ws #tour .wg-option small { display: block; color: var(--muted); font: 400 .8rem/1.3 var(--body); margin-top: 2px; }
.ws #tour .wg-icon, .ws #tour .wg-chevron { display: grid; place-items: center; color: var(--accent); }
.ws #tour .wg-icon svg { width: 18px; height: 18px; }
.ws #tour .wg-chevron svg { width: 14px; height: 14px; }
.ws #tour .wg-text-button { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font: 800 .93rem var(--display); scroll-margin: 8px; }
.ws #tour .wg-copy > .wg-text-button { margin-top: 7px; }
.ws #tour .wg-copy > .ws-btn { margin-top: 14px; min-height: 48px; }
.ws #tour .wg-footer { border-top: 1px solid var(--line); padding: 8px var(--guide-inset) 14px; }
.ws #tour .wg-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 15px; }
.ws #tour .wg-links .ws-btn { margin-left: auto; min-height: 44px; }
.ws #tour .wg-detail { margin-top: 8px; }
.ws #tour .wg-detail summary { min-height: 44px; align-content: center; width: fit-content; color: var(--accent); cursor: pointer; }
.ws #tour .wg-detail select { margin-block: 5px 3px; min-height: 44px; font: inherit; color: var(--text); background: var(--ground); border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; }
.ws #tour .wg-photo img { width: min(100%,740px); margin-top: 12px; border-radius: 9px; }
.ws #tour .wg-photo figcaption { color: var(--muted); margin-top: 5px; font-size: .83rem; }
.ws #tour .only-after { display: none; }
.ws #tour [data-played="true"] .only-after { display: revert; }
.ws #tour [data-played="true"] .only-before { display: none; }
@container ws (max-width: 640px) {
  .ws #tour .wg-grid { grid-template-columns: 1fr; }
  .ws #tour .wg-intro-art { display: none; }
  .ws #tour .demo { padding-top: 0; }
  .ws #tour .wallpaper { min-height: 167px; }
  .ws #tour .wg-links .ws-btn { margin-left: 0; }
}

.ws #tour [data-demo="recipes"] [data-played="true"] .apply-row { animation: wg-restore .38s cubic-bezier(.19,1,.22,1) both; }
.ws #tour [data-demo="recipes"] [data-played="true"] .apply-row:last-child { animation-delay: .08s; }
@keyframes wg-restore { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .ws #tour [data-demo="recipes"] [data-played="true"] .apply-row { animation: none; }
}
